on iko/ghcjs-patch-master help sign in
bump nixpkgs (#131)
commit2e354e343150134aaad03cf0c2eced61d48f0599 authorMoritz Angermann <moritz.angermann@gmail.com> dateSat 18 May 2019, 14:33 (7 years ago) parentd99a7ad
2 files changed+10−10
nixpkgs/default.nix+5−6 nixpkgs/github.json+5−4
nixpkgs/default.nix+5−6
@@ -1,7 +1,6 @@
11let
2− fetchFromGitHub = { owner, repo, rev, sha256, ... }:
3− builtins.fetchTarball {
4− inherit sha256;
5− url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
6− };
7−in import (fetchFromGitHub (builtins.fromJSON (builtins.readFile ./github.json)))
2+ fetch = jsonFile:
3+ with builtins;
4+ let spec = fromJSON (readFile jsonFile);
5+ in fetchTarball { inherit (spec) sha256; url = "${spec.url}/archive/${spec.rev}.tar.gz"; };
6+in import (fetch ./github.json)
nixpkgs/github.json+5−4
@@ -1,6 +1,7 @@
11{
2− "owner": "NixOS",
3− "repo": "nixpkgs",
4− "rev": "43ba99fa0354421dace7072ea4639d14bbb94f50",
5− "sha256": "124w60i6rwj91l0vlz6vklmk82mbw7v30rqqs17rj6wqn57948wx"
2+ "url": "https://github.com/nixos/nixpkgs",
3+ "rev": "db85ded4aae63508934dc42064c7fbff16e0ec21",
4+ "date": "2019-05-17T15:35:26+02:00",
5+ "sha256": "0b91n0s5zaamxh9842ns11s40678sv4pbpxaxdqnrnkrkp8pn9gy",
6+ "fetchSubmodules": false
67}