1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-18 16:29:36 +01:00

Merge pull request #13687 from xokdvium/move-nix2-sources

nix-cli: Move nix2 binaries sources properly into nix subproject
This commit is contained in:
Jörg Thalheim 2025-08-05 14:06:29 +02:00 committed by GitHub
commit cb84ac203b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 8 additions and 39 deletions

View file

@ -57,9 +57,7 @@ INPUT = \
@src@/libutil/args \
@src@/libutil-tests \
@src@/libutil-test-support/tests \
@src@/nix \
@src@/nix-env \
@src@/nix-store
@src@/nix
# If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names
# in the source code. If set to NO, only conditional compilation will be

View file

@ -1 +0,0 @@
../build-remote

View file

@ -1 +0,0 @@
../nix-build

View file

@ -1 +0,0 @@
../nix-channel

View file

@ -1 +0,0 @@
../nix-collect-garbage

View file

@ -1 +0,0 @@
../nix-copy-closure

View file

@ -1 +0,0 @@
../nix-env

View file

@ -1 +0,0 @@
../nix-instantiate

View file

@ -1 +0,0 @@
../nix-store/

View file

@ -33,15 +33,7 @@ mkMesonExecutable (finalAttrs: {
# Symbolic links to other dirs
## exes
./build-remote
./doc
./nix-build
./nix-channel
./nix-collect-garbage
./nix-copy-closure
./nix-env
./nix-instantiate
./nix-store
## dirs
./scripts
../../scripts
@ -55,8 +47,8 @@ mkMesonExecutable (finalAttrs: {
../../doc/manual/generate-store-info.nix
# Other files to be included as string literals
../nix-channel/unpack-channel.nix
../nix-env/buildenv.nix
./nix-channel/unpack-channel.nix
./nix-env/buildenv.nix
./get-env.sh
./help-stores.md
../../doc/manual/source/store/types/index.md.in
@ -65,23 +57,10 @@ mkMesonExecutable (finalAttrs: {
# Files
]
++
lib.concatMap
(dir: [
(fileset.fileFilter (file: file.hasExt "cc") dir)
(fileset.fileFilter (file: file.hasExt "hh") dir)
(fileset.fileFilter (file: file.hasExt "md") dir)
])
[
./.
../build-remote
../nix-build
../nix-channel
../nix-collect-garbage
../nix-copy-closure
../nix-env
../nix-instantiate
../nix-store
++ [
(fileset.fileFilter (file: file.hasExt "cc") ./.)
(fileset.fileFilter (file: file.hasExt "hh") ./.)
(fileset.fileFilter (file: file.hasExt "md") ./.)
]
);