Use haskellSrc2nix over explicit cabal2nix
Use the (undocumented!) helper function haskellSrc2nix over having to explicitly run cabal2nix all the time when rebuilding
This commit is contained in:
parent
d3f3890dc5
commit
6eba471e24
5 changed files with 21 additions and 34 deletions
9
nixpkgs.nix
Normal file
9
nixpkgs.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
let
|
||||
inherit (import <nixpkgs> {}) fetchFromGitHub;
|
||||
nixpkgs = fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "nixpkgs-channels";
|
||||
rev = "54f385241e6649128ba963c10314942d73245479";
|
||||
sha256 = "0bd4v8v4xcdbaiaa59yqprnc6dkb9jv12mb0h5xz7b51687ygh9l";
|
||||
};
|
||||
in import nixpkgs
|
||||
Loading…
Add table
Add a link
Reference in a new issue