commit 8d5f26cebab28148f723ac83763f614884153845 parent f3c506b4e78c7341140877824c0d114744ae7082 Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Mon, 28 Nov 2022 23:13:37 +0300 Fix evaluation Diffstat:
M | pkgs/gpx/gpx-animator/default.nix | | | 2 | +- |
M | pkgs/linguistics/i18n-editor/default.nix | | | 2 | +- |
M | pkgs/suckless/mage/default.nix | | | 2 | +- |
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkgs/gpx/gpx-animator/default.nix b/pkgs/gpx/gpx-animator/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation (finalAttrs: { installPhase = '' install -dm755 $out/bin - install -Dm644 $src $out/share/java/${src.name} + install -Dm644 $src $out/share/java/${finalAttrs.src.name} makeWrapper ${jre}/bin/java $out/bin/gpx-animator \ --add-flags "-jar $out/share/java/gpx-animator-${finalAttrs.version}-all.jar" diff --git a/pkgs/linguistics/i18n-editor/default.nix b/pkgs/linguistics/i18n-editor/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation (finalAttrs: { repo = "i18n-editor"; name = "i18n-editor-${finalAttrs.version}.zip"; hash = "sha256-koJdCmcM9mH4D4JSyyi0i/zRCUeI6pYdMmS7SaC56aY="; - inherit version; + inherit (finalAttrs) version; }; sourceRoot = "."; diff --git a/pkgs/suckless/mage/default.nix b/pkgs/suckless/mage/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation (finalAttrs: { }; configFile = lib.optionalString (conf!=null) (builtins.toFile "config.h" conf); - preBuild = lib.optionalString (conf!=null) "cp ${configFile} config.h"; + preBuild = lib.optionalString (conf!=null) "cp ${finalAttrs.configFile} config.h"; buildInputs = [ fontconfig imlib2 libXft ];