Commit 44b9691b authored by Jörg Thalheim's avatar Jörg Thalheim
Browse files

disko: depend on nixos-install rather than nixos-install-tools

this avoids rebuilds.
parent fd81e768
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
  '';