Commit 6e21d863 authored by Valentin Reis's avatar Valentin Reis
Browse files

refactor

parent 061ce89c
Pipeline #5243 failed with stage
in 10 seconds
rec {
filter = path:
builtins.filterSource (path: _:
(baseNameOf path != ".hdevtools.sock") &&
(baseNameOf path != ".ghc.environment.x86_64-linux-8.4.4") &&
(baseNameOf path != "_output") &&
(baseNameOf path != "result") &&
(baseNameOf path != "dist")) path;
devInputs = p: with p; [
git
htop
];
devHPackages = p: with p; [
cabal-install
apply-refact
hdevtools
hindent
hlint
shake
brittany
ghcid
];
getHackEnv = pkgs: super: package : super.shellFor {
packages = p: [package];
withHoogle = true;
buildInputs = devInputs pkgs ++ devHPackages super;
};
cabalDevLoader = self: path: set:
(self.callCabal2nix (baseNameOf path) (filter path) set);
}
{
"url": "https://github.com/nixos/nixpkgs-channels.git",
"rev": "d6c6c7fcec6dbd2b8ab14f0b35d56c7733872baa",
"date": "2018-07-20T16:40:00+02:00",
"sha256": "1bq59575b58lmh5w8bh7pwp17c3p2nm651bz1i3q224c4zsj9294",
"fetchSubmodules": true
"rev": "refs/heads/nixos-18.03",
type: "fetchgit"
}
{
"fetch": {
"args": {
"fetchSubmodules": false,
"rev": "09fe8a78baf6ba5eaef7d2804f7b653885d60fee",
"sha256": "1iqdbkg4dm36qskbyfi30w6rw70g2r6mi0qhzavc21338bf4j9hy",
"url": "https://xgitlab.cels.anl.gov/argo/applications/amg.git"
},
"fn": "fetchgit"
},
"rev": "refs/heads/master",
"type": "fetchgit",
"url": "https://xgitlab.cels.anl.gov/argo/applications/amg.git"
}
\ No newline at end of file
{
"url": "https://xgitlab.cels.anl.gov/argo/aml.git",
"rev": "c759c9dfad2b527fe33d1595eba1b66ee425ce88",
"date": "2018-08-27T10:57:55-05:00",
"sha256": "1l51c69mr4bs4p4k03bv2b04cn3dvgc4gls80qfhprifdnpd2dh3",
"fetchSubmodules": true
}
{ stdenv, src, autoreconfHook, fetchgit, pkgconfig, mpich2 }:
stdenv.mkDerivation {
inherit src;
name = "libnrm";
name = "aml";
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ ];
}
{
"fetch": {
"args": {
"fetchSubmodules": false,
"rev": "c759c9dfad2b527fe33d1595eba1b66ee425ce88",
"sha256": "1l51c69mr4bs4p4k03bv2b04cn3dvgc4gls80qfhprifdnpd2dh3",
"url": "https://xgitlab.cels.anl.gov/argo/aml.git"
},
"fn": "fetchgit"
},
"rev": "refs/heads/master",
"type": "fetchgit",
"url": "https://xgitlab.cels.anl.gov/argo/aml.git"
}
\ No newline at end of file
#!/usr/bin/env bash
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/aml.git refs/heads/master > default.json
{
"url": "https://xgitlab.cels.anl.gov/argo/applications/amg.git",
"rev": "09fe8a78baf6ba5eaef7d2804f7b653885d60fee",
"date": "2018-02-07T02:03:46-08:00",
"sha256": "1iqdbkg4dm36qskbyfi30w6rw70g2r6mi0qhzavc21338bf4j9hy",
"fetchSubmodules": false
}
{
"url": "https://xgitlab.cels.anl.gov/argo/applications/amg.git",
"rev": "182582ddd924a0e06d906952e4632c25324a1120",
"date": "2019-02-11T15:51:19-06:00",
"sha256": "16166g7ndlhvy96wg3rr5cf9h7f8lxdpi2xyyrrsls701wiizd09",
"fetchSubmodules": false
}
#!/usr/bin/env bash
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/applications/amg.git refs/heads/master > default.json
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/applications/amg.git refs/heads/progress-nrm > nrm.json
{
"url": "https://xgitlab.cels.anl.gov/argo/applications/lammps.git",
"rev": "b47e49223377d4ff6779e712bae54bbddc3596cf",
"date": "2018-08-22T08:45:41-06:00",
"sha256": "1dlifm9wm1jcw2zwal3fnzzl41ng08c7v48w6hx2mz84zljg1nsj",
"fetchSubmodules": false
}
{
"url": "https://xgitlab.cels.anl.gov/argo/applications/lammps.git",
"rev": "cc84bcdb8157411bb5ac8e654a5e44f76266fde9",
"date": "2019-02-11T16:32:14-06:00",
"sha256": "0a7s1n2swackb9w8h6irfsgbqvp6g3gig0c2bz1f7vhl8sfys6vv",
"fetchSubmodules": false
}
#!/usr/bin/env bash
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/applications/lammps.git refs/heads/stable > default.json
#!/usr/bin/env bash
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/applications/lammps.git refs/heads/progress-nrm > nrm.json
{
"url": "https://xgitlab.cels.anl.gov/argo/applications/openmc.git",
"rev": "455efffdbf6eacbc0b3b93ad61cfeb24490897d8",
"date": "2018-01-08T16:39:36-05:00",
"sha256": "1kd9p06c7336v1na4hhsfmffdv8qky7jqsi9fhwnnaafbsjvr7mj",
"fetchSubmodules": false
}
{
"url": "https://xgitlab.cels.anl.gov/argo/applications/openmc.git",
"rev": "f107d6917c0433d313816c8557a578a544ee2cf9",
"date": "2019-02-14T11:12:04-06:00",
"sha256": "17lkn7nh9rx0jn6glmj22jydn7wm817a1c096phsw9km01dldi3n",
"fetchSubmodules": false
}
#!/usr/bin/env bash
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/applications/openmc.git refs/heads/master > default.json
#!/usr/bin/env bash
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/applications/openmc.git refs/heads/progress-nrm > nrm.json
{
"url": "https://xgitlab.cels.anl.gov/argo/applications/qmcpack.git",
"rev": "1009b07ad6fa873d71a0755747e6a7f610eb169b",
"date": "2018-08-01T17:48:30-05:00",
"sha256": "0fdlvmg0ri4mpwdxx4ky8mxc4rlkrq25smqld8b02lgjw1dvclki",
"fetchSubmodules": true
}
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