mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-09-11 06:55:38 +03:00
Ping nixpkgs in shell.nix
This commit is contained in:
parent
7ddb091965
commit
66c3411f16
10
shell.nix
10
shell.nix
@ -1,4 +1,12 @@
|
||||
{ nixpkgs ? import <nixpkgs> {}, compiler ? "default", doBenchmark ? false }:
|
||||
let
|
||||
hostPkgs = import <nixpkgs> {};
|
||||
pinnedPkgs = hostPkgs.fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "nixpkgs-channels";
|
||||
rev = "ee28e35ba37ab285fc29e4a09f26235ffe4123e2";
|
||||
sha256 = "0a6xrqjj2ihkz1bizhy5r843n38xgimzw5s2mfc42kk2rgc95gw5";
|
||||
};
|
||||
in { nixpkgs ? import pinnedPkgs {}, compiler ? "default", doBenchmark ? false }:
|
||||
|
||||
let
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user