generated from GarandPLG/rust-flake-template
Rename crate to veil-rs and update Nix scripts
Change package name from veil_rs to veil-rs. Update Cargo.toml and Cargo.lock accordingly. Update cargoHash in default.nix for the renamed package. Comment out postInstall step that renamed the binary. Rename `args` variable to `_args` in main.rs to silence unused warning.
This commit is contained in:
+4
-4
@@ -21,7 +21,7 @@ in
|
||||
# hash = lib.fakeHash;
|
||||
# };
|
||||
|
||||
cargoHash = "sha256-QV++fXA2+0Irzwtb6jCrphjIKKEtz8jOJURMnSP3YF4=";
|
||||
cargoHash = "sha256-AVFUk9Deq9bPp+UK0fZlRA81S5NxiEHV7HypGGsJ4/0=";
|
||||
|
||||
nativeBuildInputs = [pkg-config];
|
||||
|
||||
@@ -32,9 +32,9 @@ in
|
||||
|
||||
passthru.updateScript = nix-update-script {};
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/veil_rs $out/bin/veil-rs
|
||||
'';
|
||||
# postInstall = ''
|
||||
# cp static files
|
||||
# '';
|
||||
|
||||
meta = {
|
||||
description = "Declarative Tauri wrapper";
|
||||
|
||||
Reference in New Issue
Block a user