about summary refs log tree commit diff
path: root/corepkgs/buildenv
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-03-15T15·23+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-03-15T15·23+0000
commitbeda10f5a2a69ac32ad91c8a80477fde19be6a83 (patch)
tree34fa924bcdf01683e8d6050e19ac868c1a8b84ba /corepkgs/buildenv
parenta5619f1dffbf3600dd16b51e84ae3c999edc439c (diff)
* Make perl a dependency of Nix.
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;