{ hostNixpkgs ? , pkgs ? import ../pin.nix { hostPkgs = import hostNixpkgs {}; jsonpath =../nixpkgs-18.03.json; }, datamovepkgs ? import ../pin.nix { hostPkgs = import hostNixpkgs {}; jsonpath=../datamove.json; }, packagepins ? import ./pins.nix {inherit (pkgs) stdenv fetchgit fetchgitPrivate;} }: let callPackage = pkgs.lib.callPackageWith pkgs; pythonPackages = pkgs.python27Packages; in rec { libnrm = callPackage ./libnrm {}; nrm-containers = callPackage ./containers { inherit pythonPackages; src = packagepins.containers.nix; }; nrm = callPackage ./nrm { inherit pythonPackages nrm-containers; src = packagepins.nrm.bandit; }; applications = { lammps = pkgs.lammps-mpi; amg = callPackage ./amg {}; qmcpack = callPackage ./qmcpack {}; openmc = callPackage ./openmc {}; stream = callPackage ./stream {}; graph500 = callPackage ./graph500 {}; simple = callPackage ./simple {}; }; } # not buildable unless results are present(uses sudo: launch expes in nix-shell) #appli-enforce = callPackage src/experiments/default.nix #{ inherit nrm nrm-containers zymake app target; #application= app; #samplesize = samplesize-enforce; #result_type = "enforce";}; ## not buildable unless results are present(uses sudo: launch expes in nix-shell) #appli-bandit = callPackage src/experiments/default.nix #{ inherit nrm nrm-containers zymake app target; #application= app; #samplesize = samplesize-bandit; #result_type = "bandit";}; #app-analysis-enforce = callPackage src/analysis/default.nix #{ inherit zymake; #input-enforce=appli-enforce; #analysis_type = "enforce"; #target = "dummy"; #}; #app-analysis-bandit = callPackage src/analysis/default.nix #{ inherit zymake; #analysis_type = "bandit"; #input-bandit = appli-bandit; #input-enforce = appli-enforce; #target = "dummy"; #}; #dev = let #conf = pkgs.writeText "hound.conf" '' #{ "max-concurrent-indexers" : 2, #"dbpath" : "${builtins.toPath ./.}/hound", #"repos" : { #"nrm" : { "url" : "file://${builtins.toPath ./nrm}" }, #"containers" : { "url" : "file://${builtins.toPath ./containers}" } } } #''; #in pkgs.stdenv.mkDerivation { ##not buildable #name="nrm-experimental-environment"; #buildInputs = [nrm pkgs.hound]; #shellHook = "${pkgs.hound}/bin/houndd -conf ${conf} &"; #}; #inherit pkgs;