summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/graphics
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-11-12 06:02:01 +0000
committerGitHub <noreply@github.com>2021-11-12 06:02:01 +0000
commitfd8fae936e4de2045054cbe6adc90651bdade529 (patch)
tree8f76fc375b68ece8ded0c3bdb8fc26415bed6b1a /pkgs/tools/graphics
parent40a54af0571d90f05e4f8c2e35b1b5c34aa6e0a6 (diff)
parent9a30ed00179b98a555c0cda400e5366228d3ccb0 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r--pkgs/tools/graphics/ldgallery/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/graphics/ldgallery/default.nix b/pkgs/tools/graphics/ldgallery/default.nix
index 84d179374ae8..1b620656ce5a 100644
--- a/pkgs/tools/graphics/ldgallery/default.nix
+++ b/pkgs/tools/graphics/ldgallery/default.nix
@@ -1,7 +1,7 @@
{ lib, pkgs, makeWrapper, haskellPackages, haskell, pandoc, imagemagick, CoreServices }:
with lib;
-with haskell.lib;
+with haskell.lib.compose;
let
ldgallery-viewer = pkgs.callPackage ./viewer { inherit CoreServices; };
@@ -12,7 +12,7 @@ in
# making sure that the versions of the compiler and viewer parts are in sync
assert ldgallery-compiler.version == versions.majorMinor ldgallery-viewer.version;
-justStaticExecutables (overrideCabal ldgallery-compiler (oldAttrs: {
+justStaticExecutables (overrideCabal (oldAttrs: {
pname = "ldgallery"; # bundled viewer + compiler
buildTools = (oldAttrs.buildTools or []) ++ [ makeWrapper pandoc ];
@@ -50,4 +50,4 @@ justStaticExecutables (overrideCabal ldgallery-compiler (oldAttrs: {
# other package metadata (maintainer, description, license, ...)
# are inherited from the compiler package
-}))
+}) ldgallery-compiler)