mirror of
https://github.com/NixOS/nix-pills
synced 2024-11-10 13:54:14 +00:00
Update GNU Hello version to 2.10 in rest of pills
This commit is contained in:
parent
116ea8fae5
commit
28a3c1d93a
5 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
$ nix-instantiate hello.nix
|
||||
/nix/store/z77vn965a59irqnrrjvbspiyl2rph0jp-hello.drv
|
||||
$ nix-store -q --references /nix/store/z77vn965a59irqnrrjvbspiyl2rph0jp-hello.drv
|
||||
/nix/store/0q6pfasdma4as22kyaknk4kwx4h58480-hello-2.9.tar.gz
|
||||
/nix/store/0q6pfasdma4as22kyaknk4kwx4h58480-hello-2.10.tar.gz
|
||||
/nix/store/1zcs1y4n27lqs0gw4v038i303pb89rw6-coreutils-8.21.drv
|
||||
/nix/store/2h4b30hlfw4fhqx10wwi71mpim4wr877-gnused-4.2.2.drv
|
||||
/nix/store/39bgdjissw9gyi4y5j9wanf4dbjpbl07-gnutar-1.27.1.drv
|
||||
|
|
|
@ -75,13 +75,13 @@
|
|||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The working directory is no more a temp directory created by nix-build, but the current directory. Therefore, hello-2.9 has been unpacked there.
|
||||
The working directory is no more a temp directory created by nix-build, but the current directory. Therefore, hello-2.10 has been unpacked there.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>
|
||||
We're able to <command>cd</command> into hello-2.9 and type
|
||||
We're able to <command>cd</command> into hello-2.10 and type
|
||||
<command>make</command>, because now it's available.
|
||||
</para>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ $ pp-aterm -i $(nix-instantiate hello.nix)
|
|||
Derive(
|
||||
[("out", "/nix/store/6flbdbpq6sc1dc79xjx01bz43zwgj3wc-hello", "", "")]
|
||||
, [("/nix/store/8z4xw8a0ax1csa0l83zflsm4jw9c94w2-bash-4.3-p39.drv", ["out"]), ("/nix/store/j0905apmxw2qb4ng5j40d4ghpiwa3mi1-stdenv.drv", ["out"])]
|
||||
, ["/nix/store/0q6pfasdma4as22kyaknk4kwx4h58480-hello-2.9.tar.gz", "/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"]
|
||||
, ["/nix/store/0q6pfasdma4as22kyaknk4kwx4h58480-hello-2.10.tar.gz", "/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"]
|
||||
, "x86_64-linux"
|
||||
, "/nix/store/zmd4jk4db5lgxb8l93mhkvr3x92g2sx2-bash-4.3-p39/bin/bash"
|
||||
, ["-e", "/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"]
|
||||
|
@ -13,7 +13,7 @@ Derive(
|
|||
, ("out", "/nix/store/6flbdbpq6sc1dc79xjx01bz43zwgj3wc-hello")
|
||||
, ("propagatedBuildInputs", "")
|
||||
, ("propagatedNativeBuildInputs", "")
|
||||
, ("src", "/nix/store/0q6pfasdma4as22kyaknk4kwx4h58480-hello-2.9.tar.gz")
|
||||
, ("src", "/nix/store/0q6pfasdma4as22kyaknk4kwx4h58480-hello-2.10.tar.gz")
|
||||
, ("stdenv", "/nix/store/k4jklkcag4zq4xkqhkpy156mgfm34ipn-stdenv")
|
||||
, ("system", "x86_64-linux")
|
||||
]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
with import <nixpkgs> {};
|
||||
stdenv.mkDerivation {
|
||||
name = "hello";
|
||||
src = ./hello-2.9.tar.gz;
|
||||
src = ./hello-2.10.tar.gz;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
$ nix-shell -E 'derivation { name = "fake"; builder = "fake"; system = "x86_64-linux"; }'
|
||||
nix-shell$ unset PATH
|
||||
nix-shell$ source /nix/store/k4jklkcag4zq4xkqhkpy156mgfm34ipn-stdenv/setup
|
||||
nix-shell$ tar -xf hello-2.9.tar.gz
|
||||
nix-shell$ cd hello-2.9
|
||||
nix-shell$ tar -xf hello-2.10.tar.gz
|
||||
nix-shell$ cd hello-2.10
|
||||
nix-shell$ configurePhase
|
||||
...
|
||||
nix-shell$ buildPhase
|
||||
|
|
Loading…
Reference in a new issue