jdk updated to 1.5.0.15
updated bleeding edge stuff (should now work for the bulidfarm as well because dist files are stored on my server) moved experimental my_env into its own file svn path=/nixpkgs/trunk/; revision=11026
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/ghc_lambdavm.tar.gz;
|
||||
sha256 = "3d10e839b8226987383e870258ff38b56442ff254688f7c50983850676f992cb";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/happs_data.tar.gz;
|
||||
sha256 = "26aec1571b1c1e69bf5a79fa6b3346e7493e3a4e00efe4c23a57b04e35e8d5a3";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/happs_ixset.tar.gz;
|
||||
sha256 = "80c857775cccdff49c55f28be069b53e14653b2812808ef9b4456aa500431241";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/happs_plugins.tar.gz;
|
||||
sha256 = "ff4ec49f4fcfb835a92ef9ec12ef7d1644d21318ca32a064ba8b72ea083bc103";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/happs_server.tar.gz;
|
||||
sha256 = "76dbb45796c8795f93df39ea3a87cd9028eb4fcdbea1e3c611596298dbbc0f69";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/happs_state.tar.gz;
|
||||
sha256 = "d59f13b2cdcfbf412be0ee973c3824c2035b55c613f293ae98894dc8bd9de9f2";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/happs_util.tar.gz;
|
||||
sha256 = "c5c5b363c79bba39ab7c30a6e7371fec9401e26dea4be82be1e4777acab5b965";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/hsjava.tar.gz;
|
||||
sha256 = "952839e53f63fc43c7c8a760bab97d150c504e148ebdd407be5e642661ed048f";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/hsutils.tar.gz;
|
||||
sha256 = "6d1cc9881fb2684016e52d3ab8e6666c5396da168eb298c3a549294668f6aa52";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/http.tar.gz;
|
||||
sha256 = "3e463fa090c6a7ddb06e88b592b1788a216db7eaf9384850b6d462217ba5be62";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/hypertable.tar.gz;
|
||||
sha256 = "d8a385def778d817415a6dd9d7ce10a60525c3c4a4d4dd8ec3bd8cfd359d2ab4";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/nix_repository_manager.tar.gz;
|
||||
sha256 = "f85846540a88f0c168ab6632a6bcba20fa4a41e263f7183c354e8e913b2c7938";}
|
||||
@@ -0,0 +1,3 @@
|
||||
args: with args; fetchurl {
|
||||
url = http://mawercer.de/~nix/repos/syb_with_class.tar.gz;
|
||||
sha256 = "6893a44c6831b3fd10587c275b82903d24b8a51409eead9ec2c530300f2e6542";}
|
||||
@@ -0,0 +1,35 @@
|
||||
# idea: provide nix environment for your developement actions
|
||||
# experimental
|
||||
|
||||
/*
|
||||
# example for nix itself adding glibc tag file to an env var.
|
||||
# experimental
|
||||
env_nix = my_environment rec {
|
||||
buildInputs = [perl curl bzip2 aterm242fixes db4]
|
||||
++ map (x : sourceWithTagsDerivation ( (addCTaggingInfo x ).passthru.sourceWithTags ) ) [ glibc ];
|
||||
db4 = db44;
|
||||
aterm = aterm242fixes;
|
||||
name = "env_nix";
|
||||
userCmds = ". ~/.bashrc
|
||||
PS1='\033]2;\h:\u:\w\007\\nenv ${name} \[\033[1;32m\][\u@\h: \w ]$\[\033[0m\] '
|
||||
";
|
||||
};
|
||||
*/
|
||||
|
||||
args: stdenv.mkDerivation (
|
||||
{ userCmds =""; } // {
|
||||
phases = "buildPhase";
|
||||
buildPhase = "
|
||||
ensureDir \$out/bin
|
||||
name=${args.name}
|
||||
o=\$out/bin/$name
|
||||
echo -e \"#!/bin/sh --login\\n\" >> \$o
|
||||
export | grep -v HOME= | grep -v PATH= >> \$o
|
||||
echo \"export PATH=\$PATH:\\\$PATH entering $name\" >> \$o
|
||||
echo \"echo entering $name\" >> \$o
|
||||
echo \"$userCmds\" >> \$o
|
||||
echo \"/bin/sh\" >> $o
|
||||
echo \"echo leaving $name\" >> \$o
|
||||
chmod +x $o
|
||||
";
|
||||
} //args);
|
||||
Reference in New Issue
Block a user