summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--host/RoryNix/configuration.nix1
-rw-r--r--modules/packages/overlays/haskell/basement/IntWord64.nix17
-rw-r--r--modules/packages/overlays/haskell/basement/IntWord64.patch (renamed from host/RoryNix/patches/haskell/basement/IntWord64.patch)0
3 files changed, 18 insertions, 0 deletions
diff --git a/host/RoryNix/configuration.nix b/host/RoryNix/configuration.nix
index aa079e8..1f86609 100644
--- a/host/RoryNix/configuration.nix
+++ b/host/RoryNix/configuration.nix
@@ -6,6 +6,7 @@
 #       ./hardware-configuration.nix
        ../../modules/packages/vim.nix
        ../../modules/environments/home.nix
+       ../../modules/packages/overlays/haskell/basement/IntWord64.nix
     ];
 
     boot = {
diff --git a/modules/packages/overlays/haskell/basement/IntWord64.nix b/modules/packages/overlays/haskell/basement/IntWord64.nix
new file mode 100644
index 0000000..6cf5b86
--- /dev/null
+++ b/modules/packages/overlays/haskell/basement/IntWord64.nix
@@ -0,0 +1,17 @@
+{ pkgs, ... }:
+{
+  nixpkgs.overlays = [
+    (self: super: {
+        haskellPackages = super.haskellPackages.override {
+          overrides = haskellPackages-self: haskellPackages-super: {
+            basement = haskellPackages-super.basement.overrideAttrs (oldAttrs: {
+              patches = [
+                ./IntWord64.patch
+              ];
+            });
+          };
+        };
+      }
+    )
+  ];
+}
diff --git a/host/RoryNix/patches/haskell/basement/IntWord64.patch b/modules/packages/overlays/haskell/basement/IntWord64.patch
index 0d1cdf7..0d1cdf7 100644
--- a/host/RoryNix/patches/haskell/basement/IntWord64.patch
+++ b/modules/packages/overlays/haskell/basement/IntWord64.patch