Skip to content

Commit 3ab6e19

Browse files
committed
The default.nix must be in a callPackage pattern
1 parent 5ff3652 commit 3ab6e19

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

default.nix

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
{ pkgs ? import ./pkgs.nix }:
1+
{ callPackage
2+
, nix-gitignore
3+
, makeWrapper
4+
, hello
5+
, lib
6+
}:
27

3-
with pkgs;
48
let
5-
drv = (haskellPackages.callPackage ./cabal.nix { inherit hello; });
9+
drv = (callPackage ./cabal.nix { hello = hello; });
610
in
711
drv.overrideAttrs (attrs: {
812
src = nix-gitignore.gitignoreSource [] ./.;

0 commit comments

Comments
 (0)