Merge pull request #249722 from tarc/ncdu-force-pie-darwin
ncdu: pie for darwin builds
This commit is contained in:
commit
1d9c231749
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
, ncurses
|
||||
, zig_0_11
|
||||
, installShellFiles
|
||||
, pie ? stdenv.isDarwin
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
@ -24,6 +25,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
ncurses
|
||||
];
|
||||
|
||||
zigBuildFlags = lib.optional pie "-Dpie=true";
|
||||
|
||||
postInstall = ''
|
||||
installManPage ncdu.1
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue