doublecmd: refactor to new overlay-style overridable attributes
This commit is contained in:
parent
cecc553095
commit
7cac4e5579
1 changed files with 4 additions and 4 deletions
|
@ -11,14 +11,14 @@
|
||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "doublecmd";
|
pname = "doublecmd";
|
||||||
version = "1.0.8";
|
version = "1.0.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "doublecmd";
|
owner = "doublecmd";
|
||||||
repo = "doublecmd";
|
repo = "doublecmd";
|
||||||
rev = "v${version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-kuqleoDoxzOj3baTK0lBJpbDECoHeFubWhLXAVkEqAk=";
|
hash = "sha256-kuqleoDoxzOj3baTK0lBJpbDECoHeFubWhLXAVkEqAk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||||
libqt5pas
|
libqt5pas
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
|
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath finalAttrs.buildInputs}";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs build.sh install/linux/install.sh
|
patchShebangs build.sh install/linux/install.sh
|
||||||
|
@ -70,5 +70,5 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = with platforms; linux;
|
platforms = with platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
# TODO: deal with other platforms too
|
# TODO: deal with other platforms too
|
||||||
|
|
Loading…
Reference in a new issue