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:
Generated
+1
-1
@@ -1114,7 +1114,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
||||
|
||||
[[package]]
|
||||
name = "veil_rs"
|
||||
name = "veil-rs"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "veil_rs"
|
||||
name = "veil-rs"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
|
||||
+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";
|
||||
|
||||
@@ -48,9 +48,9 @@
|
||||
#
|
||||
nativeBuildInputs = with pkgs; [pkg-config];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/veil_rs $out/bin/veil-rs
|
||||
'';
|
||||
# postInstall = ''
|
||||
# cp static files
|
||||
# '';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ use std::io::Result;
|
||||
use veil_rs::cli::Cli;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
let args: Cli = Cli::get_args();
|
||||
let _args: Cli = Cli::get_args();
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user