about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmily2024-07-21 13:43:41 +0100
committerEmily2024-08-01 17:40:59 +0100
commit2042af5d59426c74cebdd7f43b90bb484da31b12 (patch)
tree92c25e6c4efd758736bc06b72e702547d0c828dc
parente3c7c5525a8dec352011d99b81394605913fcb40 (diff)
harvid: simplify installation
-rw-r--r--pkgs/by-name/ha/harvid/package.nix12
1 files changed, 1 insertions, 11 deletions
diff --git a/pkgs/by-name/ha/harvid/package.nix b/pkgs/by-name/ha/harvid/package.nix
index 35d974a49346..514e53cc5a8c 100644
--- a/pkgs/by-name/ha/harvid/package.nix
+++ b/pkgs/by-name/ha/harvid/package.nix
@@ -28,17 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
     libpng
   ];
 
-  makeFlags = [
-    "DESTDIR=$(out)"
-    "libdir=\"/lib\""
-  ];
-
-  postInstall = ''
-    mkdir -p $out/bin
-    mv $out/usr/local/bin/* $out/bin
-    mv $out/usr/local/share $out/
-    rm -r $out/usr
-  '';
+  makeFlags = [ "PREFIX=$(out)" ];
 
   passthru.updateScript = nix-update-script { };