Commit c7edcdde authored by Valentin Reis's avatar Valentin Reis
Browse files

nrmgen changes

parent f6303d9d
...@@ -50,13 +50,20 @@ let ...@@ -50,13 +50,20 @@ let
(old:{buildInputs=old.buildInputs ++ [ bi ];}); (old:{buildInputs=old.buildInputs ++ [ bi ];});
argopkgs = rec { argopkgs = rec {
# library of nix expressions # library of nix expressions
argolib = import ../lib/utils.nix; argolib = import ../lib/utils.nix;
flatcc = callPackage ./flatcc {};
# Argo components (source overridabel via argument) # Argo components (source overridabel via argument)
aml = callPackage ./aml {src=aml-src; inherit excit; inherit numabench;}; aml = callPackage ./aml {src=aml-src; inherit excit; inherit numabench;};
numabench = callPackage ./numabench {src=numabench-src; hwloc = hwloc2;}; numabench = callPackage ./numabench {src=numabench-src; hwloc = hwloc2;};
excit = callPackage ./excit {src=excit-src;}; excit = callPackage ./excit {src=excit-src;};
nrm = callPackage ./nrm {src=nrm-src;}; nrm = (callPackage ./nrm {src=nrm-src;}).overrideAttrs (o:{
installPhase=o.installPhase+''
cp nrm/*.json $out/lib/python2.7/site-packages/nrm/
'';
});
containers = callPackage ./containers {src=containers-src;}; containers = callPackage ./containers {src=containers-src;};
libnrm = callPackage ./libnrm {src=libnrm-src;}; libnrm = callPackage ./libnrm {src=libnrm-src;};
libnrm-pinned = callPackage ./libnrm {src=fetched libnrm/pin.json;}; libnrm-pinned = callPackage ./libnrm {src=fetched libnrm/pin.json;};
...@@ -473,6 +480,5 @@ let ...@@ -473,6 +480,5 @@ let
bld = bleeding; bld = bleeding;
}; };
# re-exporting a full nixpkgs-like package set # re-exporting a full nixpkgs-like package set
in pkgs // argopkgs in pkgs // argopkgs
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment