aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/meson.build b/scripts/meson.build
new file mode 100644
index 000000000..4fe584850
--- /dev/null
+++ b/scripts/meson.build
@@ -0,0 +1,14 @@
+configure_file(
+ input : 'nix-profile.sh.in',
+ output : 'nix-profile.sh',
+ configuration : {
+ 'localstatedir': state_dir,
+ }
+)
+
+# https://github.com/mesonbuild/meson/issues/860
+configure_file(
+ input : 'nix-profile.sh.in',
+ output : 'nix-profile.sh.in',
+ copy : true,
+)