diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2024-02-19 16:05:10 +0100 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2024-03-05 09:50:11 +0100 |
commit | 7e61e18de8be3e132c172d9f15dd0d7438514606 (patch) | |
tree | 344e2cc8a8a2dc350065a922ffddb0d49ba7cf29 /pkgs/applications | |
parent | 86da15228fb789cd23f6dd9d97b46828ce2d05e2 (diff) |
goxel: use finalAttrs pattern
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/graphics/goxel/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/goxel/default.nix b/pkgs/applications/graphics/goxel/default.nix index 968794ccec666..0b10cda884c7c 100644 --- a/pkgs/applications/graphics/goxel/default.nix +++ b/pkgs/applications/graphics/goxel/default.nix @@ -1,14 +1,14 @@ { lib, stdenv, fetchFromGitHub, scons, pkg-config, wrapGAppsHook , glfw3, gtk3, libpng12 }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "goxel"; version = "0.14.0"; src = fetchFromGitHub { owner = "guillaumechereau"; repo = "goxel"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ueA0YW2n/DXd9AytDzfPtvtXbvuUm4VDwcdvHWObKxc="; }; @@ -38,4 +38,4 @@ stdenv.mkDerivation rec { platforms = platforms.linux; maintainers = with maintainers; [ tilpner fgaz ]; }; -} +}) |