aboutsummaryrefslogtreecommitdiff
path: root/libs.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-10 01:01:17 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-10 01:01:17 +0100
commit596e62a678366c83ea8204316c45e91e1d90b0d8 (patch)
tree26792f69084f8abc8828f5c4f9fca800e120ca4e /libs.nix
parentfcf18de4a44fcc496837fbb6eedcc01e5f6eb680 (diff)
downloadNix-596e62a678366c83ea8204316c45e91e1d90b0d8.tar.gz
Nix-596e62a678366c83ea8204316c45e91e1d90b0d8.tar.zst
Nix-596e62a678366c83ea8204316c45e91e1d90b0d8.zip
Make pkg an argument of libs.nix
Diffstat (limited to 'libs.nix')
-rw-r--r--libs.nix12
1 files changed, 2 insertions, 10 deletions
diff --git a/libs.nix b/libs.nix
index 0b5e0c1..a9e1e78 100644
--- a/libs.nix
+++ b/libs.nix
@@ -1,14 +1,6 @@
1let nixpkgs_unstable = import (builtins.fetchTarball { 1{ nixpkgs }:
2 # FIXME: upgrade to nixpkgs 19 when stable and stick to stable 2with nixpkgs;
3 # versions
4 name = "nixos-unstable-2018-12-08";
5 url = https://github.com/nixos/nixpkgs/archive/61c3169a0e17d789c566d5b241bfe309ce4a6275.tar.gz;
6 sha256 = "0qbycg7wkb71v20rchlkafrjfpbk2fnlvvbh3ai9pyfisci5wxvq";
7}) {};
8in
9 with nixpkgs_unstable;
10rec { 3rec {
11 inherit nixpkgs_unstable;
12 fetchedGithub = path: 4 fetchedGithub = path:
13 let 5 let
14 json = lib.importJSON path; 6 json = lib.importJSON path;