about summary refs log tree commit diff
path: root/corepkgs/buildenv
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/buildenv')
-rw-r--r--corepkgs/buildenv/Makefile.am4
-rwxr-xr-xcorepkgs/buildenv/builder.pl.in (renamed from corepkgs/buildenv/builder.pl)2
2 files changed, 4 insertions, 2 deletions
diff --git a/corepkgs/buildenv/Makefile.am b/corepkgs/buildenv/Makefile.am
index f6a14600f3c4..7a5df476d3d8 100644
--- a/corepkgs/buildenv/Makefile.am
+++ b/corepkgs/buildenv/Makefile.am
@@ -1,3 +1,5 @@
+all-local: builder.pl
+
 install-exec-local:
 	$(INSTALL) -d $(DESTDIR)$(datadir)/nix/corepkgs
 	$(INSTALL) -d $(DESTDIR)$(datadir)/nix/corepkgs/buildenv
@@ -6,4 +8,4 @@ install-exec-local:
 
 include ../../substitute.mk
 
-EXTRA_DIST = default.nix builder.pl
+EXTRA_DIST = default.nix builder.pl.in
diff --git a/corepkgs/buildenv/builder.pl b/corepkgs/buildenv/builder.pl.in
index 3bbb178c8570..d9ff73e17d2a 100755
--- a/corepkgs/buildenv/builder.pl
+++ b/corepkgs/buildenv/builder.pl.in
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! @perl@ -w
 
 use strict;
 use Cwd;