Skip to content

Commit

Permalink
treewide: fix some eval issues
Browse files Browse the repository at this point in the history
Signed-off-by: lucasew <[email protected]>
  • Loading branch information
lucasew committed Jan 7, 2025
1 parent 60b962a commit d4ca92a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pkgs/applications/kde/ark/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ mkDerivation {
gpl2
lgpl3
]
++ optional unfreeEnableUnrar unfree;
++ lib.optional unfreeEnableUnrar unfree;
maintainers = [ lib.maintainers.ttuegel ];
};
}
4 changes: 3 additions & 1 deletion pkgs/development/interpreters/acl2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
runCommandLocal,
makeWrapper,
substituteAll,
sbcl,
bash,
which,
perl,
hostname,
Expand Down Expand Up @@ -192,7 +194,7 @@ stdenv.mkDerivation rec {
# ACL2 itself is bsd3
bsd3
]
++ optionals certifyBooks [
++ lib.optionals certifyBooks [
# The community books are mostly bsd3 or mit but with a few
# other things thrown in.
mit
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/escapism/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
pkgs,
lib,
buildPythonPackage,
fetchPypi,
}:
Expand All @@ -17,7 +17,7 @@ buildPythonPackage rec {
# No tests distributed
doCheck = false;

meta = with pkgs.lib; {
meta = {
description = "Simple, generic API for escaping strings";
homepage = "https://github.com/minrk/escapism";
license = lib.licenses.mit;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/r-modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ let
propagatedBuildInputs = depends;
nativeBuildInputs = depends;
meta.homepage = mkHomepage (args // { inherit name; });
meta.platforms = lib.platforms;
meta.platforms = platforms;
meta.hydraPlatforms = hydraPlatforms;
meta.broken = broken;
meta.maintainers = maintainers;
Expand Down
6 changes: 3 additions & 3 deletions pkgs/tools/typesetting/tex/texlive/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ let
description = "TeX Live environment";
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ veprbl ];
license = lib.licenses.scheme-infraonly;
license = licenses.scheme-infraonly;
};

combined = recurseIntoAttrs (
Expand All @@ -191,15 +191,15 @@ let
}).overrideAttrs {
meta = meta // {
description = "TeX Live environment for ${pname}";
license = lib.licenses.${pname};
license = licenses.${pname};
};
}
)
);

schemes = lib.listToAttrs (map (s: {
name = "texlive" + s;
value = lib.addMetaAttrs { license = lib.licenses.${"scheme-" + (lib.toLower s)}; } (buildTeXEnv { requiredTeXPackages = ps: [ ps.${"scheme-" + (lib.toLower s)} ]; });
value = lib.addMetaAttrs { license = licenses.${"scheme-" + (lib.toLower s)}; } (buildTeXEnv { requiredTeXPackages = ps: [ ps.${"scheme-" + (lib.toLower s)} ]; });
}) [ "Basic" "BookPub" "ConTeXt" "Full" "GUST" "InfraOnly" "Medium" "Minimal" "Small" "TeTeX" ]);

in
Expand Down

0 comments on commit d4ca92a

Please sign in to comment.