about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2024-02-19 15:50:14 +0100
committerFrancesco Gazzetta <fgaz@fgaz.me>2024-03-05 09:50:10 +0100
commit0fad8ebe948f8f07190403338cd383b73722079d (patch)
tree895e5ab06b231e20ecad651a3074d82cfdadaf68 /pkgs/applications
parent8591c5902a64f5512cfcbaa3fd3e5c9250fd8b6b (diff)
libresprite: use finalAttrs pattern
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/editors/libresprite/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/editors/libresprite/default.nix b/pkgs/applications/editors/libresprite/default.nix
index 3db7185bf1982..70ce1fe48052c 100644
--- a/pkgs/applications/editors/libresprite/default.nix
+++ b/pkgs/applications/editors/libresprite/default.nix
@@ -27,14 +27,14 @@
 , nixosTests
 }:
 
-stdenv.mkDerivation rec {
+stdenv.mkDerivation (finalAttrs: {
   pname = "libresprite";
   version = "1.0";
 
   src = fetchFromGitHub {
     owner = "LibreSprite";
     repo = "LibreSprite";
-    rev = "v${version}";
+    rev = "v${finalAttrs.version}";
     fetchSubmodules = true;
     sha256 = "sha256-d8GmVHYomDb74iSeEhJEVTHvbiVXggXg7xSqIKCUSzY=";
   };
@@ -118,4 +118,4 @@ stdenv.mkDerivation rec {
     # https://github.com/LibreSprite/LibreSprite/issues/308
     broken = stdenv.isDarwin;
   };
-}
+})