evilpixie: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 16:02:13 +01:00
parent 0fad8ebe94
commit 0b331402e9

View file

@ -12,14 +12,14 @@
, impy
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "evilpixie";
version = "0.3.1";
src = fetchFromGitHub {
owner = "bcampbell";
repo = "evilpixie";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-+DdAN+xDOYxLgLHUlr75piTEPrWpuOyXvxckhBEl7yU=";
};
@ -51,5 +51,4 @@ stdenv.mkDerivation rec {
# https://github.com/bcampbell/evilpixie/issues/28
stdenv.isAarch64;
};
}
})