mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 23:06:16 +02:00
21 lines
464 B
Meson
21 lines
464 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
|