Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argopkgs
Commits
45cd62da
Commit
45cd62da
authored
Jul 27, 2018
by
Valentin Reis
Browse files
pinning fix
parent
85622d75
Pipeline
#3681
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pin.nix
View file @
45cd62da
jsonpath
:
{
hostPkgs
?
import
<
nixpkgs
>
{},
jsonpath
}:
let
hostPkgs
=
import
<
nixpkgs
>
{};
pinnedVersion
=
hostPkgs
.
lib
.
importJSON
jsonpath
;
pinnedPkgs
=
hostPkgs
.
fetchgit
{
inherit
(
pinnedVersion
)
url
rev
sha256
;
...
...
pkgs/default.nix
View file @
45cd62da
{
pkgs
?
import
../pin.nix
../nixpkgs-18.03.json
,
datamovepkgs
?
import
../pin.nix
../datamove.json
,
hostPkgs
?
import
<
nixpkgs
>
{},
pkgs
?
import
../pin.nix
{
inherit
hostPkgs
;
jsonpath
=
../nixpkgs-18.03.json
;
},
datamovepkgs
?
import
../pin.nix
{
inherit
hostPkgs
;
jsonpath
=
../datamove.json
;
},
packagepins
?
import
./pins.nix
{
inherit
(
pkgs
)
stdenv
fetchgit
fetchgitPrivate
;}
}:
let
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment