Commit 83d93099 authored by Valentin Reis's avatar Valentin Reis
Browse files

Adds argonix package.

parent e3c99348
Pipeline #5107 passed with stage
in 6 seconds
{
pkgs ? import ../pin.nix {jsonpath=../nixpkgs-18.03.json;}
, ...
}:
{
time.timeZone = "America/Chicago";
environment.variables.TERM = "xterm";
i18n.defaultLocale = "en_US.UTF-8";
services.ntp.enable = false;
services.openssh.allowSFTP = false;
services.openssh.enable = true;
users.extraUsers.root.openssh.authorizedKeys.keys = [ (pkgs.lib.readFile ./keys/id_buildfarm.pub)];
users.extraUsers.fre.openssh.authorizedKeys.keys = [ (pkgs.lib.readFile ./keys/id_buildfarm.pub)];
}
......@@ -7,7 +7,10 @@ in
stdenv.mkDerivation {
inherit src;
name = "qmcpack";
cmakeFlags = optionals nrmSupport [
cmakeFlags = [
"-DCMAKE_C_COMPILER=${mpich2}/bin/mpicc"
"-DCMAKE_CXX_COMPILER=${mpich2}/bin/mpic++"
] ++ optionals nrmSupport [
"-DQMC_INCLUDE=${libnrm}/include/"
"-DQMC_EXTRA_LIBS=${libnrm}/lib/libnrm.so"
];
......
{
"fetch": {
"args": {
"fetchSubmodules": false,
"rev": "a96162c4a4fed415501b257349f2d0b884262d5f",
"sha256": "1pd3d3amicz38vvy5fpj5saspl7ajkz1mk0cm2n6zn8fwyacqbdd",
"url": "https://xgitlab.cels.anl.gov/argo/argonix.git"
},
"fn": "fetchgit"
},
"rev": "refs/heads/master",
"type": "fetchgit",
"url": "https://xgitlab.cels.anl.gov/argo/argonix.git"
}
\ No newline at end of file
......@@ -96,6 +96,11 @@ let
let fetched = (pkgs.nix-update-source.fetch argotk/master.json).src;
argotkPkgs = import "${fetched}/default.nix" {pkgs=pkgs;};
in argotkPkgs.argotk;
argonix =
let fetched = (pkgs.nix-update-source.fetch argonix/master.json).src;
argonixPkgs = import "${fetched}/default.nix" {pkgs=pkgs;};
in argonixPkgs.argonix;
};
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