about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-06-18 09:51:13 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-06-18 10:11:38 +0100
commitc9c7c987fdfceaa71338ae7532b7f508585bea76 (patch)
treefb3b83112e73ff63d9ab29857601a022b4075c48
parent0eee2f746f73a0a46faec9f0e6ff14c06359a9af (diff)
downloadnixlib-c9c7c987fdfceaa71338ae7532b7f508585bea76.tar
nixlib-c9c7c987fdfceaa71338ae7532b7f508585bea76.tar.gz
nixlib-c9c7c987fdfceaa71338ae7532b7f508585bea76.tar.bz2
nixlib-c9c7c987fdfceaa71338ae7532b7f508585bea76.tar.lz
nixlib-c9c7c987fdfceaa71338ae7532b7f508585bea76.tar.xz
nixlib-c9c7c987fdfceaa71338ae7532b7f508585bea76.tar.zst
nixlib-c9c7c987fdfceaa71338ae7532b7f508585bea76.zip
hugo: remove $bin/bin/generate
This is used internally for the build process is not meant to be used.
-rw-r--r--pkgs/applications/misc/hugo/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/misc/hugo/default.nix b/pkgs/applications/misc/hugo/default.nix
index f2be640a34d6..110d17492f87 100644
--- a/pkgs/applications/misc/hugo/default.nix
+++ b/pkgs/applications/misc/hugo/default.nix
@@ -15,6 +15,10 @@ buildGoPackage rec {
 
   goDeps = ./deps.nix;
 
+  postInstall = ''
+    rm $bin/bin/generate
+  '';
+
   meta = with stdenv.lib; {
     description = "A fast and modern static website engine.";
     homepage = https://gohugo.io;