1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 12:06: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/args \
@src@/libutil-tests \ @src@/libutil-tests \
@src@/libutil-test-support/tests \ @src@/libutil-test-support/tests \
@src@/nix \ @src@/nix
@src@/nix-env \
@src@/nix-store
# If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names # 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 # 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 # Symbolic links to other dirs
## exes ## exes
./build-remote
./doc ./doc
./nix-build
./nix-channel
./nix-collect-garbage
./nix-copy-closure
./nix-env
./nix-instantiate
./nix-store
## dirs ## dirs
./scripts ./scripts
../../scripts ../../scripts
@ -55,8 +47,8 @@ mkMesonExecutable (finalAttrs: {
../../doc/manual/generate-store-info.nix ../../doc/manual/generate-store-info.nix
# Other files to be included as string literals # Other files to be included as string literals
../nix-channel/unpack-channel.nix ./nix-channel/unpack-channel.nix
../nix-env/buildenv.nix ./nix-env/buildenv.nix
./get-env.sh ./get-env.sh
./help-stores.md ./help-stores.md
../../doc/manual/source/store/types/index.md.in ../../doc/manual/source/store/types/index.md.in
@ -65,24 +57,11 @@ mkMesonExecutable (finalAttrs: {
# Files # Files
] ]
++ ++ [
lib.concatMap (fileset.fileFilter (file: file.hasExt "cc") ./.)
(dir: [ (fileset.fileFilter (file: file.hasExt "hh") ./.)
(fileset.fileFilter (file: file.hasExt "cc") dir) (fileset.fileFilter (file: file.hasExt "md") ./.)
(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
]
); );
buildInputs = [ buildInputs = [