diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-08 19:11:35 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-08 19:11:35 +0200 |
commit | 3add654f4dda6dbbd5ab979640d3f716d4ced4f5 (patch) | |
tree | 5946caa71a9746a0e7a83002ad58742cf9c2082c | |
parent | works? (diff) | |
download | Rory-Open-Architecture-3add654f4dda6dbbd5ab979640d3f716d4ced4f5.tar.xz |
intword64
-rw-r--r-- | host/RoryNix/configuration.nix | 1 | ||||
-rw-r--r-- | modules/packages/overlays/haskell/basement/IntWord64.nix | 17 | ||||
-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 |