* Function `writeScript' which is like writeText but makes its output executable.
* Latest unstable Nix. svn path=/nixpkgs/trunk/; revision=9123
This commit is contained in:
parent
e00feaaad1
commit
6f1ad6fd79
@ -4,13 +4,12 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "nix-0.11pre8816";
|
name = "nix-0.11pre9121";
|
||||||
|
|
||||||
src =
|
src = fetchurl {
|
||||||
fetchurl {
|
url = http://nix.cs.uu.nl/dist/nix/nix-0.11pre9121/nix-0.11pre9121.tar.bz2;
|
||||||
url = http://nix.cs.uu.nl/dist/nix/nix-unstable-latest/nix-0.11pre9063.tar.bz2;
|
sha256 = "0yd84g8gyl1xnb0ki0ssy270ff6bs4xy3mjf2ixa7xj9ch3hbyhm";
|
||||||
sha256 = "0fxsvam0ihzcfg694d28d6b3vkx5klh25jvf3y5igyyqszmmhnxj";
|
};
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [perl curl openssl];
|
buildInputs = [perl curl openssl];
|
||||||
|
|
||||||
|
@ -220,6 +220,8 @@ rec {
|
|||||||
# derivations, e.g., "... ${somePkg}/bin/foo ...".
|
# derivations, e.g., "... ${somePkg}/bin/foo ...".
|
||||||
writeText = name: text: runCommand name {inherit text;} "echo -n \"$text\" > $out";
|
writeText = name: text: runCommand name {inherit text;} "echo -n \"$text\" > $out";
|
||||||
|
|
||||||
|
writeScript = name: text: runCommand name {inherit text;} "echo -n \"$text\" > $out; chmod +x $out";
|
||||||
|
|
||||||
stdenvNewSetupScript = overrideSetup stdenv ../stdenv/generic/setup-new.sh;
|
stdenvNewSetupScript = overrideSetup stdenv ../stdenv/generic/setup-new.sh;
|
||||||
|
|
||||||
substituteAll = import ../build-support/substitute/substitute-all.nix {
|
substituteAll = import ../build-support/substitute/substitute-all.nix {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user