about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorIsidor Zeuner <nix@quidecco.pl>2023-11-28 19:01:54 +0100
committerIsidor Zeuner <nix@quidecco.pl>2023-12-06 08:06:49 +0100
commit47d4004a52e309e8b854bd0d32bd8d6cb594b17d (patch)
treee6f03746a1f36e4454189a9f914cc406be2a350e /pkgs/development/haskell-modules/configuration-common.nix
parent4c035af93bd358a4ecf4c27addbd64d9e4506b7b (diff)
haskellPackages.csound-expression-dynamic: unbreak
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 61c2e51b7939e..20ac9ef841af4 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -14,6 +14,12 @@
 let
   inherit (pkgs) fetchpatch fetchpatch2 lib;
   inherit (lib) throwIfNot versionOlder versions;
+  csound_src_git = pkgs.fetchFromGitHub {
+    owner = "spell-music";
+    repo = "csound-expression";
+    rev = "345df2c91c9831dd895f58951990165598504814";
+    hash = "sha256-6qPiKsZwZpqB2kmckKDKyQPTcWPIaVwi+EYs74tRod0=";
+  };
 in
 
 with haskellLib;
@@ -918,6 +924,18 @@ self: super: {
     '';
   }) super.structured-haskell-mode;
 
+  csound-expression-dynamic =
+    assert super.csound-expression-dynamic.version == "0.3.9";
+    overrideCabal (drv: {
+      src = csound_src_git + "/csound-expression-dynamic";
+      editedCabalFile = null;
+      libraryHaskellDepends = drv.libraryHaskellDepends ++ [
+        self.base64-bytestring self.cereal self.cereal-text
+        self.cryptohash-sha256 self.pretty-show self.safe
+        self.unordered-containers self.vector self.wl-pprint-text
+      ];
+    }) super.csound-expression-dynamic;
+
   # Make elisp files available at a location where people expect it.
   hindent = (overrideCabal (drv: {
     # We cannot easily byte-compile these files, unfortunately, because they