summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-06-10 02:14:31 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-06-10 02:14:31 +0200
commit736e78441ae8b0cffa610de4baa7248f726cf69c (patch)
tree31a0bfec2f2df5e8e483553ae005012110e6cfd6 /default.nix
parent85486c4838e23ca6d8b643c759d4e2a3035ef61d (diff)
download2017-01-16_17:13:37-736e78441ae8b0cffa610de4baa7248f726cf69c.tar
2017-01-16_17:13:37-736e78441ae8b0cffa610de4baa7248f726cf69c.tar.gz
2017-01-16_17:13:37-736e78441ae8b0cffa610de4baa7248f726cf69c.tar.bz2
2017-01-16_17:13:37-736e78441ae8b0cffa610de4baa7248f726cf69c.tar.xz
2017-01-16_17:13:37-736e78441ae8b0cffa610de4baa7248f726cf69c.zip
refactoring & combat rounds
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index c96e43f..4b974c3 100644
--- a/default.nix
+++ b/default.nix
@@ -1,8 +1,9 @@
1{ pkgs ? (import <nixpkgs> {}) 1{ pkgs ? (import <nixpkgs> {})
2, compilerName ? "ghc7103" 2, compilerName ? "ghc801"
3}: 3}:
4 4
5rec { 5rec {
6 # haskellPackages = pkgs.haskell.packages."${compilerName}";
6 haskellPackages = pkgs.haskell.packages."${compilerName}".override { 7 haskellPackages = pkgs.haskell.packages."${compilerName}".override {
7 overrides = self: super: { 8 overrides = self: super: {
8 Shellac = pkgs.haskell.lib.appendPatch super.Shellac (pkgs.writeText "build.patch" '' 9 Shellac = pkgs.haskell.lib.appendPatch super.Shellac (pkgs.writeText "build.patch" ''