mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
6609710409
guidelines violations. * Updated libsamplerate to 0.1.7. svn path=/nixpkgs/trunk/; revision=22782
22 lines
373 B
Nix
22 lines
373 B
Nix
{ stdenv, perl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "shebangfix-0.0";
|
|
|
|
buildInputs = [perl];
|
|
|
|
file = ./shebangfix.pl;
|
|
|
|
phases = "buildPhase";
|
|
|
|
buildPhase = ''
|
|
ensureDir $out/bin
|
|
s=$out/bin/shebangfix
|
|
cp $file $s
|
|
chmod +wx $s
|
|
ls -l $s
|
|
perl $s $s
|
|
'';
|
|
|
|
meta = { description = "replaces the #!executable with $#!correctpath/executable "; };
|
|
}
|