tracer/shell.nix

15 lines
473 B
Nix
Raw Normal View History

2022-02-18 20:33:40 +00:00
{ pkgs ? import <nixpkgs> {}}:
2018-03-27 22:24:38 +00:00
let
2022-02-18 20:33:40 +00:00
# create a modified haskell package set with my package inside it and broken dependencies
# jailbroken.
hpkgs = pkgs.haskellPackages.override {
overrides = hself: hsuper: {
tracer-game = hself.callCabal2nix "tracer-game" (gitignore ./.) {};
affection = hself.callCabal2nix "affection" (gitignore ../affection) {};
};
};
gitignore = dir: pkgs.nix-gitignore.gitignoreSource [] dir;
2018-03-27 22:24:38 +00:00
in
2022-02-18 20:33:40 +00:00
hpkgs.tracer-game.env