doublecmd: refactor to new overlay-style overridable attributes

+4 -4
+4 -4
pkgs/applications/file-managers/doublecmd/default.nix
··· 11 11 , wrapQtAppsHook 12 12 }: 13 13 14 - stdenv.mkDerivation rec { 14 + stdenv.mkDerivation (finalAttrs: { 15 15 pname = "doublecmd"; 16 16 version = "1.0.8"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "doublecmd"; 20 20 repo = "doublecmd"; 21 - rev = "v${version}"; 21 + rev = "v${finalAttrs.version}"; 22 22 hash = "sha256-kuqleoDoxzOj3baTK0lBJpbDECoHeFubWhLXAVkEqAk="; 23 23 }; 24 24 ··· 36 36 libqt5pas 37 37 ]; 38 38 39 - NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}"; 39 + NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath finalAttrs.buildInputs}"; 40 40 41 41 postPatch = '' 42 42 patchShebangs build.sh install/linux/install.sh ··· 70 70 maintainers = with maintainers; [ AndersonTorres ]; 71 71 platforms = with platforms; linux; 72 72 }; 73 - } 73 + }) 74 74 # TODO: deal with other platforms too