1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-08 18:11:02 +01:00

Move /src to /subprojects

This will facilitate breaking up Nix into multiple packages for each
component with Meson.
This commit is contained in:
John Ericson 2024-06-03 13:59:53 -04:00
parent 4db9487823
commit 84e2963f8e
737 changed files with 504 additions and 505 deletions

View file

@ -171,7 +171,7 @@ in {
./doc
./misc
./precompiled-headers.h
(fileset.difference ./src ./src/perl)
(fileset.difference ./subprojects ./subprojects/perl)
./COPYING
./scripts/local.mk
] ++ lib.optionals enableManual [
@ -316,7 +316,7 @@ in {
# Work around weird bug where it doesn't think there is a Makefile.
installCheckPhase = if (!doBuild && doInstallCheck) then ''
runHook preInstallCheck
mkdir -p src/nix-channel
mkdir -p subprojects/nix-channel
make installcheck -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES
'' else null;
@ -324,7 +324,7 @@ in {
# built Nix.
preInstallCheck =
lib.optionalString (! doBuild) ''
mkdir -p src/nix-channel
mkdir -p subprojects/nix-channel
'';
separateDebugInfo = !stdenv.hostPlatform.isStatic;