diff options
author | Aycan iRiCAN <iricanaycan@gmail.com> | 2015-08-15 10:35:36 +0300 |
---|---|---|
committer | Aycan iRiCAN <iricanaycan@gmail.com> | 2015-08-15 10:35:36 +0300 |
commit | 482c29f8c6077a8ecba9c7d6ee5035451fc78396 (patch) | |
tree | 2ec3105cf22fdded21ca13fe4c4cc181654453f3 /pkgs/development | |
parent | c4c2ee0d527d878571c009aea7092f1ed179bd5b (diff) | |
download | nixpkgs-482c29f8c6077a8ecba9c7d6ee5035451fc78396.tar nixpkgs-482c29f8c6077a8ecba9c7d6ee5035451fc78396.tar.gz nixpkgs-482c29f8c6077a8ecba9c7d6ee5035451fc78396.tar.bz2 nixpkgs-482c29f8c6077a8ecba9c7d6ee5035451fc78396.tar.lz nixpkgs-482c29f8c6077a8ecba9c7d6ee5035451fc78396.tar.xz nixpkgs-482c29f8c6077a8ecba9c7d6ee5035451fc78396.tar.zst nixpkgs-482c29f8c6077a8ecba9c7d6ee5035451fc78396.zip |
haskell-hans: disable building example webserver which includes double main.
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 2 | ||||
-rw-r--r-- | pkgs/development/haskell-modules/patches/hans-disable-webserver.patch | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 61e45edf8f2..758397de1ab 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -925,4 +925,6 @@ self: super: { elm-server = markBroken super.elm-server; elm-yesod = markBroken super.elm-yesod; + # https://github.com/GaloisInc/HaNS/pull/8 + hans = appendPatch super.hans ./patches/hans-disable-webserver.patch; } diff --git a/pkgs/development/haskell-modules/patches/hans-disable-webserver.patch b/pkgs/development/haskell-modules/patches/hans-disable-webserver.patch new file mode 100644 index 00000000000..14f7e51fdf2 --- /dev/null +++ b/pkgs/development/haskell-modules/patches/hans-disable-webserver.patch @@ -0,0 +1,11 @@ +diff -Naur hans-2.5.0.0/hans.cabal hans-2.5.0.1/hans.cabal +--- hans-2.5.0.0/hans.cabal 2015-08-06 14:48:45.453072822 +0300 ++++ hans-2.5.0.1/hans.cabal 2015-08-06 14:49:13.044391528 +0300 +@@ -30,6 +30,7 @@ + description: Build the example program + + flag web-server ++ default: False + description: Build a simple web-server example + + flag word32-in-random |