chaoszone.cz/default.nix

8 lines
210 B
Nix
Raw Permalink Normal View History

2023-12-16 05:42:53 +00:00
{ pkgs ? import <nixpkgs> {}
, self ? ./., packageName ? "chaoszone"
}:
2023-12-16 05:30:30 +00:00
let
gitignore = dir: pkgs.nix-gitignore.gitignoreSource [] dir;
in
pkgs.haskellPackages.callCabal2nix packageName (gitignore self) {}