Skip to content

Commit

Permalink
haskellPackages.streamly: fix darwin override
Browse files Browse the repository at this point in the history
fixes
```
error: querying available packages failed
caused by: nix-env failed with error: nix-env failed with exit code 1:
error: attribute 'streamly_0_8_1_1' missing

       at /nix/store/lw6gp8rrhd7lpi81dk9wr1l09a7za523-source/pkgs/development/haskell-modules/configuration-darwin.nix:259:6:

          258|     ] ++ (drv.libraryFrameworkDepends or []);
          259|   }) super.streamly_0_8_1_1;
             |      ^
          260|
```

PR NixOS#160733 didn't catch this it seems.
  • Loading branch information
Artturin committed May 4, 2022
1 parent e982910 commit c52b904
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkgs/development/haskell-modules/configuration-darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,6 @@ self: super: ({
# Otherwise impure gcc is used, which is Apple's weird wrapper
c2hsc = addTestToolDepends [ pkgs.gcc ] super.c2hsc;

# streamly depends on Cocoa starting with 0.8.0
streamly_0_8_1_1 = overrideCabal (drv: {
libraryFrameworkDepends = [
darwin.apple_sdk.frameworks.Cocoa
] ++ (drv.libraryFrameworkDepends or []);
}) super.streamly_0_8_1_1;

http-client-tls = overrideCabal (drv: {
postPatch = ''
# This comment has been inserted, so the derivation hash changes, forcing
Expand Down

0 comments on commit c52b904

Please sign in to comment.