Remove cluster scripts from nixtools
This commit is contained in:
parent
04328d81ff
commit
05b37aa11d
@ -1,25 +1,17 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, glibc
|
, glibc
|
||||||
, targetCluster
|
|
||||||
, nixPrefix
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nixtools-${targetCluster}";
|
pname = "nixtools";
|
||||||
#version = "${src.shortRev}";
|
version = "${src.shortRev}";
|
||||||
src = ~/nixtools;
|
src = builtins.fetchGit {
|
||||||
|
url = "ssh://git@bscpm02.bsc.es/rarias/nixtools";
|
||||||
|
ref = "master";
|
||||||
|
};
|
||||||
buildInputs = [ glibc.static ];
|
buildInputs = [ glibc.static ];
|
||||||
makeFlags = [ "DESTDIR=$(out)" ];
|
makeFlags = [ "DESTDIR=$(out)" ];
|
||||||
preBuild = "env";
|
preBuild = "env";
|
||||||
dontPatchShebangs = true;
|
dontPatchShebangs = true;
|
||||||
inherit nixPrefix targetCluster;
|
|
||||||
postPatch = ''
|
|
||||||
substituteAllInPlace scripts/cobi/runexp
|
|
||||||
sed -i s:@nixtools@:$out:g scripts/cobi/runexp
|
|
||||||
'';
|
|
||||||
#src = builtins.fetchGit {
|
|
||||||
# url = "ssh://git@bscpm02.bsc.es/rarias/nixtools";
|
|
||||||
# ref = "master";
|
|
||||||
#};
|
|
||||||
}
|
}
|
||||||
|
@ -135,10 +135,7 @@ let
|
|||||||
enableStatic = true;
|
enableStatic = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixtools = callPackage ./bsc/nixtools/default.nix {
|
nixtools = callPackage ./bsc/nixtools/default.nix { };
|
||||||
targetCluster = "mn4";
|
|
||||||
nixPrefix = "/gpfs/projects/bsc15/nix";
|
|
||||||
};
|
|
||||||
|
|
||||||
garlicTools = callPackage ./garlic/tools.nix {};
|
garlicTools = callPackage ./garlic/tools.nix {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user