diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-10 01:01:17 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-10 01:01:17 +0100 |
commit | 596e62a678366c83ea8204316c45e91e1d90b0d8 (patch) | |
tree | 26792f69084f8abc8828f5c4f9fca800e120ca4e /libs.nix | |
parent | fcf18de4a44fcc496837fbb6eedcc01e5f6eb680 (diff) | |
download | Nix-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.nix | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -1,14 +1,6 @@ | |||
1 | let nixpkgs_unstable = import (builtins.fetchTarball { | 1 | { nixpkgs }: |
2 | # FIXME: upgrade to nixpkgs 19 when stable and stick to stable | 2 | with 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 | }) {}; | ||
8 | in | ||
9 | with nixpkgs_unstable; | ||
10 | rec { | 3 | rec { |
11 | inherit nixpkgs_unstable; | ||
12 | fetchedGithub = path: | 4 | fetchedGithub = path: |
13 | let | 5 | let |
14 | json = lib.importJSON path; | 6 | json = lib.importJSON path; |