1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

nix-cli: Move nix2 binaries sources properly into nix subproject

There have been prior concerns about reogranizing the repo, but
this seems like a trivial simplification which will not interfere
with either our packaging or the modular builds in nixpkgs.
This commit is contained in:
Sergei Zimmerman 2025-08-05 02:10:21 +03:00
parent 51a32e4645
commit aea312dae3
No known key found for this signature in database
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") ./.)
]
);