mirror of
https://github.com/NixOS/nix.git
synced 2025-10-20 04:35:02 +08:00

Now that we have applied the [1] patch, the diff is much nicer and less noisy. [1]: https://www.github.com/mesonbuild/meson/pull/14861
21 lines
466 B
Meson
21 lines
466 B
Meson
configure_file(
|
|
input : 'nix-profile.sh.in',
|
|
output : 'nix-profile.sh',
|
|
configuration : {
|
|
'localstatedir' : localstatedir,
|
|
},
|
|
)
|
|
|
|
foreach rc : [ '.sh', '.fish', '-daemon.sh', '-daemon.fish' ]
|
|
configure_file(
|
|
input : 'nix-profile' + rc + '.in',
|
|
output : 'nix' + rc,
|
|
install : true,
|
|
install_dir : get_option('profile-dir'),
|
|
install_mode : 'rw-r--r--',
|
|
configuration : {
|
|
'localstatedir' : localstatedir,
|
|
},
|
|
)
|
|
endforeach
|