File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 3636 nativeCheckInputs = [
3737 clippy
3838 nix
39+ cargo
3940 ] ;
4041
4142 preCheck = ''
42- ${ lib . getExe cargo } clippy
43+ cargo clippy
4344
4445 # Stop the Nix command from trying to create /nix/var/nix/profiles.
4546 #
5152runCommand "system-manager"
5253 {
5354 nativeBuildInputs = [ makeBinaryWrapper ] ;
54- passthru = {
55- # The unwrapped version takes nix from the PATH, it will fail if nix
56- # cannot be found.
57- # The wrapped version has a reference to the nix store path, so nix is
58- # part of its runtime closure.
59- unwrapped = system-manager-unwrapped ;
60- } ;
55+ # The unwrapped version takes nix from the PATH, it will fail if nix
56+ # cannot be found.
57+ # The wrapped version has a reference to the nix store path, so nix is
58+ # part of its runtime closure.
59+ unwrapped = system-manager-unwrapped ;
6160 }
6261 ''
6362 makeWrapper \
64- ${ system-manager- unwrapped} /bin/system-manager \
63+ $unwrapped/bin/system-manager \
6564 $out/bin/system-manager \
6665 --prefix PATH : ${ lib . makeBinPath [ nix ] }
6766 ''
You can’t perform that action at this time.
0 commit comments