mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
Remove dead code in the Meson build system
Identified in https://github.com/NixOS/nix/pull/11224#discussion_r1715056429 Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
This commit is contained in:
parent
0db8ff820b
commit
6594573f3d
@ -1,5 +1,3 @@
|
|||||||
# configures `scripts/nix-profile.sh.in` (and copies the original to the build directory).
|
|
||||||
# this is only needed for tests, but running it unconditionally does not hurt enough to care.
|
|
||||||
configure_file(
|
configure_file(
|
||||||
input : 'nix-profile.sh.in',
|
input : 'nix-profile.sh.in',
|
||||||
output : 'nix-profile.sh',
|
output : 'nix-profile.sh',
|
||||||
@ -8,13 +6,6 @@ configure_file(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
# https://github.com/mesonbuild/meson/issues/860
|
|
||||||
configure_file(
|
|
||||||
input : 'nix-profile.sh.in',
|
|
||||||
output : 'nix-profile.sh.in',
|
|
||||||
copy : true,
|
|
||||||
)
|
|
||||||
|
|
||||||
foreach rc : [ '.sh', '.fish', '-daemon.sh', '-daemon.fish' ]
|
foreach rc : [ '.sh', '.fish', '-daemon.sh', '-daemon.fish' ]
|
||||||
configure_file(
|
configure_file(
|
||||||
input : 'nix-profile' + rc + '.in',
|
input : 'nix-profile' + rc + '.in',
|
||||||
|
Loading…
Reference in New Issue
Block a user