diff options
author | Yann Herklotz <git@yannherklotz.com> | 2019-07-20 19:44:11 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2019-07-20 19:44:11 +0100 |
commit | 003203b33ebac04ee6fc933d444584bb1e81f250 (patch) | |
tree | 60b2df5b8f74422c6cc38d8fb789016513b3c3f8 /release.nix | |
parent | 7d69341adfef072e46098a5b377a22ab4ce610dd (diff) | |
download | verismith-003203b33ebac04ee6fc933d444584bb1e81f250.tar.gz verismith-003203b33ebac04ee6fc933d444584bb1e81f250.zip |
Add nix style build
Diffstat (limited to 'release.nix')
-rw-r--r-- | release.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/release.nix b/release.nix new file mode 100644 index 0000000..d025a5b --- /dev/null +++ b/release.nix @@ -0,0 +1,17 @@ +let + config = { + packageOverrides = pkgs: rec { + haskellPackages = pkgs.haskellPackages.override { + overrides = haskellPackagesNew: haskellPackagesOld: rec { + hedgehog-fn = haskellPackagesNew.callPackage ./nix/hedgehog-fn.nix {}; + tomland = haskellPackagesNew.callPackage ./nix/tomland.nix {}; + parser-combinators = haskellPackagesNew.callPackage ./nix/parser-combinators.nix {}; + }; + }; + }; + }; + pkgs = import <nixpkgs> { inherit config; }; + +in +{ verifuzz = pkgs.haskellPackages.callPackage ./. { }; +} |