xprintidle: use finalAttrs pattern
This commit is contained in:
parent
6b1fbdad14
commit
8192981216
1 changed files with 3 additions and 3 deletions
|
@ -7,14 +7,14 @@
|
|||
, xorg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xprintidle";
|
||||
version = "0.2.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "g0hl1n";
|
||||
repo = "xprintidle";
|
||||
rev = version;
|
||||
rev = finalAttrs.version;
|
||||
sha256 = "sha256-bafDUZoSFsJ3g6mtLCRechGizfrWg2qW2vnlfIzj7mQ=";
|
||||
};
|
||||
|
||||
|
@ -38,4 +38,4 @@ stdenv.mkDerivation rec {
|
|||
platforms = platforms.linux;
|
||||
mainProgram = "xprintidle";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue