Commit 63c8d3fa authored by Valentin Reis's avatar Valentin Reis

Updating the pinning mechanism.

parent 25897568
Pipeline #4775 passed with stage
in 38 seconds
{
argopkgs-src ? (builtins.fetchGit {
url = https://xgitlab.cels.anl.gov/argo/argopkgs.git;
ref = "master";
rev = "86c53fa5ba67edb3994f6ed971cdfa14bf850b4b";
}) ,
pkgs ? (import argopkgs-src {}),
argopkgs-src ?
let
hostPkgs = import <nixpkgs> {};
pinnedVersion = hostPkgs.lib.importJSON ./pin.json;
in
hostPkgs.fetchgit {
inherit (pinnedVersion) url rev sha256;
},
pkgs ? import argopkgs-src {},
nrm-src ? pkgs.nodelevel.nrm.src,
containers-src ? pkgs.nodelevel.containers.src,
libnrm-src ? pkgs.nodelevel.libnrm.src
......
{
"url": "https://xgitlab.cels.anl.gov/argo/argopkgs.git",
"rev": "61beb966b287b9fbc08b977d2825d54ad161dd85",
"date": "2018-12-21T12:26:45-06:00",
"sha256": "0l32pd2viwqj78596v5393s9bhldpykgvb6gsg59i9qr1913x6f6",
"fetchSubmodules": true
}
#! /usr/bin/env sh
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/argopkgs.git refs/heads/master > pin.json
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