diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-11-13 23:26:36 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-11-14 12:52:22 -0300 |
commit | 7cac4e5579179149a4f7f6082f0dd05ae8b129b0 (patch) | |
tree | e41635413a1085aa411884952cb4ac4f47062f89 /pkgs/applications/file-managers | |
parent | cecc553095ea244e516003f7e0714669afb4af70 (diff) |
doublecmd: refactor to new overlay-style overridable attributes
Diffstat (limited to 'pkgs/applications/file-managers')
-rw-r--r-- | pkgs/applications/file-managers/doublecmd/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/file-managers/doublecmd/default.nix b/pkgs/applications/file-managers/doublecmd/default.nix index f9f0dcde28160..46e8e96f2acb1 100644 --- a/pkgs/applications/file-managers/doublecmd/default.nix +++ b/pkgs/applications/file-managers/doublecmd/default.nix @@ -11,14 +11,14 @@ , wrapQtAppsHook }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "doublecmd"; version = "1.0.8"; src = fetchFromGitHub { owner = "doublecmd"; repo = "doublecmd"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-kuqleoDoxzOj3baTK0lBJpbDECoHeFubWhLXAVkEqAk="; }; @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { libqt5pas ]; - NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}"; + NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath finalAttrs.buildInputs}"; postPatch = '' patchShebangs build.sh install/linux/install.sh @@ -70,5 +70,5 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ AndersonTorres ]; platforms = with platforms; linux; }; -} +}) # TODO: deal with other platforms too |