Skip to content

Instantly share code, notes, and snippets.

@sternenseemann
Created December 12, 2019 11:24
Show Gist options
  • Save sternenseemann/b3868a9d35bfb43eaeb3a912f9540190 to your computer and use it in GitHub Desktop.
Save sternenseemann/b3868a9d35bfb43eaeb3a912f9540190 to your computer and use it in GitHub Desktop.
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 80fdb8a95e6..4a52ba40e39 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -394,6 +394,22 @@ self: super: {
Random123 = dontCheck super.Random123;
systemd = dontCheck super.systemd;
+ # use the correct version of network
+ systemd_2_2_0 = dontCheck (super.systemd_2_2_0.override {
+ network = self.network_3_1_1_1;
+ });
+
+ spacecookie = overrideCabal (super.spacecookie.override { systemd = self.systemd_2_2_0; }) (drv: {
+ version = "0.2.1.1";
+ src = pkgs.fetchFromGitHub {
+ owner = "sternenseemann";
+ repo = "spacecookie";
+ rev = "0.2.1.1";
+ sha256 = "13pcd814001xlib1qam7m56qfqkdr50h92fh7dnafaybq1a4lw0k";
+ };
+ broken = false;
+ });
+
# https://github.com/eli-frey/cmdtheline/issues/28
cmdtheline = dontCheck super.cmdtheline;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment