diff --git a/pkgs/by-name/sw/switch-to-configuration-ng/package.nix b/pkgs/by-name/sw/switch-to-configuration-ng/package.nix index 50694aa1dd94c..2bc473b2f093a 100644 --- a/pkgs/by-name/sw/switch-to-configuration-ng/package.nix +++ b/pkgs/by-name/sw/switch-to-configuration-ng/package.nix @@ -12,7 +12,10 @@ rustPlatform.buildRustPackage { src = ./src; - cargoLock.lockFile = ./src/Cargo.lock; + cargoLock = { + lockFile = ./src/Cargo.lock; + outputHashes."rust-ini-0.21.1" = "sha256-0nSBhme/g+mVsYdiq0Ash0ek9WEdvbf/b9FRxA7sauk="; + }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ dbus ]; diff --git a/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.lock b/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.lock index 9b70ccfe23b3f..56913a9158c34 100644 --- a/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.lock +++ b/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.lock @@ -337,9 +337,8 @@ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "rust-ini" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d625ed57d8f49af6cfa514c42e1a71fadcff60eb0b1c517ff82fe41aa025b41" +version = "0.21.1" +source = "git+https://github.com/zonyitoo/rust-ini?rev=5748ae57a178216a920b88dfac1296618e967447#5748ae57a178216a920b88dfac1296618e967447" dependencies = [ "cfg-if", "ordered-multimap", diff --git a/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.toml b/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.toml index 51d805dcd959d..37ca687b3f1b3 100644 --- a/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.toml +++ b/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.toml @@ -12,7 +12,9 @@ glob = "0.3.1" log = "0.4.21" nix = { version = "0.28.0", features = ["fs", "signal"] } regex = "1.10.4" -rust-ini = "0.21.0" +rust-ini = { git = "https://github.com/zonyitoo/rust-ini", rev = "5748ae57a178216a920b88dfac1296618e967447", features = [ + "inline-comment", +] } syslog = "6.1.1" [build-dependencies]