on master help sign in
Add in some more bundles.
36ebf90Matthew Bauer
default.nix+18
@@ -26,6 +26,24 @@ in {
26 run = "/bin/hello";
26 run = "/bin/hello";
27 };
27 };
28
28
29+ firefoxBundle = makebootstrap {
30+ name = "firefox";
31+ target = firefox;
32+ run = "/bin/firefox";
33+ };
34+
35+ nanoBundle = makebootstrap {
36+ name = "nano";
37+ target = nano;
38+ run = "/bin/nano";
39+ };
40+
41+ emacsBundle = makebootstrap {
42+ name = "emacs";
43+ target = emacs;
44+ run = "/bin/emacs";
45+ };
46+
29 nixShellBundle = makebootstrap {
47 nixShellBundle = makebootstrap {
30 name = "nix-bootstrap.sh";
48 name = "nix-bootstrap.sh";
31 target = nix-bootstrap {
49 target = nix-bootstrap {
makedir.nix+1−1
@@ -5,7 +5,7 @@
5 stdenv.mkDerivation {
5 stdenv.mkDerivation {
6 inherit toplevel name;
6 inherit toplevel name;
7 exportReferencesGraph = [ "closure" toplevel ];
7 exportReferencesGraph = [ "closure" toplevel ];
8− buildInputs = [ perl ];
8+ nativeBuildInputs = [ perl ];
9 buildCommand = ''
9 buildCommand = ''
10 mkdir -p $out
10 mkdir -p $out
11 storePaths=$(${perl}/bin/perl ${pathsFromGraph} ./closure)
11 storePaths=$(${perl}/bin/perl ${pathsFromGraph} ./closure)
makeself.nix+1−1
@@ -9,6 +9,6 @@
9 inherit name archive startup;
9 inherit name archive startup;
10 nativeBuildInputs = [ makeself ];
10 nativeBuildInputs = [ makeself ];
11 buildCommand = ''
11 buildCommand = ''
12− ${makeself}/bin/makeself $archive $out $name $startup
12+ ${makeself}/bin/makeself --xz $archive $out $name $startup
13 '';
13 '';
14 }
14 }