Specify phases in nix-store-fuzzy-find package expression explicitly

This commit is contained in:
Reinout Meliesie 2025-03-15 13:34:31 +01:00
parent a4a4937cb9
commit a7d6810c93
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -10,14 +10,9 @@ mkDerivation {
pname = "nix-store-fuzzy-find" ;
version = "2025-03-09" ;
dontUnpack = true ;
dontPatch = true ;
dontConfigure = true ;
dontBuild = true ;
phases = [ "installPhase" ] ;
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cat <<- EOF > $out/bin/nix-store-fuzzy-find
@ -28,7 +23,5 @@ mkDerivation {
# TODO: Check if Nix does this for us
chmod +x $out/bin/*
runHook postInstall
'' ;
}