distrobox: Use rec-less, overlay-style overridable recursive attributes

This commit is contained in:
John Garcia 2023-09-17 15:36:09 +01:00
parent bb12353834
commit f00c7e4a56

View file

@ -1,13 +1,13 @@
{ stdenvNoCC, lib, fetchFromGitHub, makeWrapper, wget }:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "distrobox";
version = "1.5.0.2";
src = fetchFromGitHub {
owner = "89luca89";
repo = pname;
rev = version;
repo = finalAttrs.pname;
rev = finalAttrs.version;
sha256 = "sha256-ss8049D6n1V/gDzEMjywDnoke5s2we9j3mO8yta72UA=";
};
@ -44,4 +44,4 @@ stdenvNoCC.mkDerivation rec {
platforms = platforms.linux;
maintainers = with maintainers; [ atila ];
};
}
})