1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

use nixpkgs.json

This commit is contained in:
Kierán Meinhardt
2019-04-11 15:06:03 +02:00
parent ad51b6af33
commit 4d7ed73795
4 changed files with 14 additions and 6 deletions

View File

@@ -8,12 +8,12 @@ let
};
lib = import "${krops}/lib";
pkgs = import "${krops}/pkgs" {};
importJson = (import <nixpkgs> {}).lib.importJSON;
source = name: path: lib.evalSource [{
nixpkgs.git = {
url = https://github.com/NixOS/nixpkgs-channels;
# ref = "6a3f5bcb061e1822f50e299f5616a0731636e4e7"; # 18.09
ref = builtins.readFile ./NIXPKGS_VERSION;
ref = (importJson ./nixpkgs.json).rev;
};
nix-writers.git = {
url = https://cgit.krebsco.de/nix-writers/;