diff options
author | Nick Cao <nickcao@nichi.co> | 2022-09-24 14:45:45 +0800 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2022-09-24 14:48:24 +0800 |
commit | 20c9179059924292b575198c3a6b2f0830bc8056 (patch) | |
tree | ee863b7fd59dddb83b749fcbd5d09058d87438e3 | |
parent | 78fa74ccd19336bd52fc07bab1da1ab1594bcd3e (diff) |
umoci: fix cross compilation
-rw-r--r-- | pkgs/applications/virtualization/umoci/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/applications/virtualization/umoci/default.nix b/pkgs/applications/virtualization/umoci/default.nix index 22db5503c0d4..99e8ddf34a51 100644 --- a/pkgs/applications/virtualization/umoci/default.nix +++ b/pkgs/applications/virtualization/umoci/default.nix @@ -26,9 +26,7 @@ buildGoModule rec { nativeBuildInputs = [ go-md2man installShellFiles ]; postInstall = '' - substituteInPlace Makefile --replace \ - '$(shell which bash)' '${lib.getBin bash}/bin/bash' - make docs + make docs SHELL="$SHELL" installManPage doc/man/*.[1-9] ''; |