Skip to content

Commit

Permalink
switch-to-configuration-ng: update rust-ini to support multi-line INI…
Browse files Browse the repository at this point in the history
… values
  • Loading branch information
jmbaur committed Sep 21, 2024
1 parent f28e9e6 commit 74a5f77
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 4 additions & 1 deletion pkgs/by-name/sw/switch-to-configuration-ng/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
5 changes: 2 additions & 3 deletions pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 74a5f77

Please sign in to comment.