Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
argopkgs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argo
argopkgs
Commits
100e12e1
Commit
100e12e1
authored
Jul 26, 2018
by
Valentin Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pinning changes, readme fix
parent
7c03542b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
14 deletions
+16
-14
README.markdown
README.markdown
+0
-0
pin.nix
pin.nix
+2
-4
pkgs/default.nix
pkgs/default.nix
+5
-4
pkgs/pins.nix
pkgs/pins.nix
+9
-6
No files found.
README.markdown
deleted
100644 → 0
View file @
7c03542b
pin.nix
View file @
100e12e1
...
...
@@ -2,9 +2,7 @@ jsonpath :
let
hostPkgs
=
import
<
nixpkgs
>
{};
pinnedVersion
=
hostPkgs
.
lib
.
importJSON
jsonpath
;
pinnedPkgs
=
hostPkgs
.
fetchFromGitHub
{
owner
=
"NixOS"
;
repo
=
"nixpkgs-channels"
;
inherit
(
pinnedVersion
)
rev
sha256
;
pinnedPkgs
=
hostPkgs
.
fetchgit
{
inherit
(
pinnedVersion
)
url
rev
sha256
;
};
in
import
pinnedPkgs
{}
pkgs/default.nix
View file @
100e12e1
{
pkgs
?
import
../pin.nix
../nixpkgs-18.03.json
,
pins
?
import
./pins.nix
{
inherit
(
pkgs
)
stdenv
fetchgit
fetchgitPrivate
;}
pkgs
?
import
../pin.nix
../nixpkgs-18.03.json
,
datamovepkgs
?
import
../pin.nix
../datamove.json
,
packagepins
?
import
./pins.nix
{
inherit
(
pkgs
)
stdenv
fetchgit
fetchgitPrivate
;}
}:
let
callPackage
=
pkgs
.
lib
.
callPackageWith
pkgs
;
...
...
@@ -9,12 +10,12 @@ in rec {
nrm-containers
=
callPackage
./containers
{
inherit
pythonPackages
;
src
=
p
ins
.
containers
;
src
=
p
ackagepins
.
containers
.
nix
;
};
nrm
=
callPackage
./nrm
{
inherit
pythonPackages
nrm-containers
;
src
=
p
ins
.
nrm
;
src
=
p
ackagepins
.
nrm
.
bandit
;
};
}
# not buildable unless results are present(uses sudo: launch expes in nix-shell)
...
...
pkgs/pins.nix
View file @
100e12e1
...
...
@@ -2,10 +2,13 @@
let
gitpin
=
f
:
fetchgit
{
inherit
(
stdenv
.
lib
.
importJSON
f
)
url
sha256
;};
gitpinpriv
=
f
:
fetchgitPrivate
{
inherit
(
stdenv
.
lib
.
importJSON
f
)
url
sha256
;};
in
let
frehk
=
gitpinpriv
./frehk/src.json
;
in
{
nrm
=
gitpin
./nrm/bandit.json
;
containers
=
gitpin
./containers/nix.json
;
inherit
gitpin
gitpinpriv
;
in
{
nrm
=
{
bandit
=
gitpin
./nrm/bandit.json
;
master
=
gitpin
./nrm/master.json
;
};
containers
=
{
nix
=
gitpin
./containers/nix.json
;
master
=
gitpin
./containers/master.json
;
};
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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