Skip to content

Commit 717492a

Browse files
quasicomputationaljwiegley
authored andcommitted
Bump nixpkgs pin and use fetchGit to get it.
1 parent 91262e7 commit 717492a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

default.nix

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@
88

99
, withHoogle ? true
1010

11-
, rev ? "ed1b59a98e7bd61dd7eac266569c294fb6b16300"
12-
, sha256 ? "0b2wdbbaqdqccl7q9gskhfjk7xaqvjwcls4b6218anyc247gscnb"
11+
, rev ? "c4adeddb5f8e945517068968d06ea838b7c24bd3"
1312

1413
, pkgs ?
1514
if builtins.compareVersions builtins.nixVersion "2.0" < 0
1615
then abort "hnix requires at least nix 2.0"
17-
else import (builtins.fetchTarball {
18-
url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
19-
inherit sha256; }) {
16+
else import (builtins.fetchGit {
17+
url = "https://github.com/NixOS/nixpkgs/";
18+
inherit rev; }) {
2019
config.allowUnfree = true;
2120
config.allowBroken = false;
2221
config.packageOverrides = pkgs: rec {

0 commit comments

Comments
 (0)