Skip to content

Commit

Permalink
checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ramirez7 committed Sep 28, 2023
1 parent 77bccc0 commit 824e074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/haskell-modules/make-package-set.nix
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ in package-set { inherit pkgs lib callPackage; } self // {
# Creates a Haskell package from a source package by calling cabal2nix on the source.
callCabal2nixWithOptions = name: src: opts: args:
let
checkOpts = x@{extraCabal2nixOptions ? "", srcModifier ? null}: x;
checkOpts = x@{extraCabal2nixOptions ? "", srcModifier ? null}: { inherit extraCabal2nixOptions srcModifier; };
checkedOpts = if builtins.isString opts then checkOpts { extraCabal2nixOptions = opts; } else checkOpts opts;
extraCabal2nixOptions = checkedOpts.extraCabal2nixOptions;
srcModifier = checkedOpts.srcModifier;
Expand Down

0 comments on commit 824e074

Please sign in to comment.