mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 06:44:06 +00:00
disko: depend on nixos-install rather than nixos-install-tools
this avoids rebuilds.
This commit is contained in:
parent
fd81e768a7
commit
44b9691b37
@ -4,7 +4,7 @@
|
||||
, fetchFromGitHub
|
||||
, bash
|
||||
, nix
|
||||
, nixos-install-tools
|
||||
, nixos-install
|
||||
, coreutils
|
||||
}:
|
||||
|
||||
@ -27,7 +27,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
for i in disko disko-install; do
|
||||
sed -e "s|libexec_dir=\".*\"|libexec_dir=\"$out/share/disko\"|" "$i" > "$out/bin/$i"
|
||||
chmod 755 "$out/bin/$i"
|
||||
wrapProgram "$out/bin/$i" --prefix PATH : ${lib.makeBinPath [ nix coreutils nixos-install-tools ]}
|
||||
wrapProgram "$out/bin/$i" --prefix PATH : ${lib.makeBinPath [ nix coreutils nixos-install ]}
|
||||
done
|
||||
runHook postInstall
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user