diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-01-05 20:33:46 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-01-05 20:33:46 +0000 |
commit | a7366a764aa8d549a16b58e43181fe4ff7e598ab (patch) | |
tree | 9f6b1b1029fef06b5515ae1b23675811d9989dca /scripts | |
parent | b52966e821b05e0d2e379ed6bbbf748f22453108 (diff) |
* Add a -I flag to the Perl bindings to nix-build and some other
scripts.
* Include the version and architecture in the -I flag so that there is
at least a chance that a Nix binary built for one Perl version will
run on another version.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/copy-from-other-stores.pl.in | 2 | ||||
-rwxr-xr-x | scripts/nix-build.in | 2 | ||||
-rwxr-xr-x | scripts/nix-channel.in | 2 | ||||
-rwxr-xr-x | scripts/nix-collect-garbage.in | 2 | ||||
-rwxr-xr-x | scripts/nix-install-package.in | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/scripts/copy-from-other-stores.pl.in b/scripts/copy-from-other-stores.pl.in index 10130c089..b930b7207 100755 --- a/scripts/copy-from-other-stores.pl.in +++ b/scripts/copy-from-other-stores.pl.in @@ -1,4 +1,4 @@ -#! @perl@ -w +#! @perl@ -w @perlFlags@ use strict; use File::Basename; diff --git a/scripts/nix-build.in b/scripts/nix-build.in index 68c24b75d..a4615e4bd 100755 --- a/scripts/nix-build.in +++ b/scripts/nix-build.in @@ -1,4 +1,4 @@ -#! @perl@ -w -I@libexecdir@/nix +#! @perl@ -w @perlFlags@ use strict; use Nix::Config; diff --git a/scripts/nix-channel.in b/scripts/nix-channel.in index 9bfa04722..e54d0d370 100755 --- a/scripts/nix-channel.in +++ b/scripts/nix-channel.in @@ -1,4 +1,4 @@ -#! @perl@ -w +#! @perl@ -w -I@libexecdir@/nix use strict; use Nix::Config; diff --git a/scripts/nix-collect-garbage.in b/scripts/nix-collect-garbage.in index 00e61a24b..835213226 100755 --- a/scripts/nix-collect-garbage.in +++ b/scripts/nix-collect-garbage.in @@ -1,4 +1,4 @@ -#! @perl@ -w +#! @perl@ -w @perlFlags@ use strict; use Nix::Config; diff --git a/scripts/nix-install-package.in b/scripts/nix-install-package.in index 178b14c74..951c2918f 100755 --- a/scripts/nix-install-package.in +++ b/scripts/nix-install-package.in @@ -1,4 +1,4 @@ -#! @perl@ -w +#! @perl@ -w @perlFlags@ use strict; use File::Temp qw(tempdir); |