mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
More "make dist" fixes
This commit is contained in:
parent
74ca70da3a
commit
844d83352c
4 changed files with 12 additions and 5 deletions
|
@ -48,14 +48,13 @@ let
|
|||
distPhase =
|
||||
''
|
||||
runHook preDist
|
||||
make dist-gzip
|
||||
make dist-xz
|
||||
make dist
|
||||
mkdir -p $out/tarballs
|
||||
cp *.tar.* $out/tarballs
|
||||
'';
|
||||
|
||||
preDist = ''
|
||||
make install prefix=$out makefiles=doc/manual/local.mk
|
||||
make install docdir=$out/share/doc/nix makefiles=doc/manual/local.mk
|
||||
|
||||
make doc/manual/manual.pdf
|
||||
cp doc/manual/manual.pdf $out/manual.pdf
|
||||
|
@ -98,6 +97,8 @@ let
|
|||
|
||||
makeFlags = "profiledir=$(out)/etc/profile.d";
|
||||
|
||||
preBuild = "unset NIX_INDENT_MAKE";
|
||||
|
||||
installFlags = "sysconfdir=$(out)/etc";
|
||||
|
||||
doInstallCheck = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue