about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2024-03-05 11:05:28 +0100
committerGitHub <noreply@github.com>2024-03-05 11:05:28 +0100
commit6ffb3618ea014c0a8d72c648a1f8b3b0674441f2 (patch)
treeb53662ee679f1c144a7f5b87c50ee23602bc959a /pkgs/applications/editors
parentb3fc4549045c91e9ae14da4569706b2b8c820e9e (diff)
parent0a6d9c157b7e65c5ef64604d2cdf6872fd2780de (diff)
downloadnixlib-6ffb3618ea014c0a8d72c648a1f8b3b0674441f2.tar
nixlib-6ffb3618ea014c0a8d72c648a1f8b3b0674441f2.tar.gz
nixlib-6ffb3618ea014c0a8d72c648a1f8b3b0674441f2.tar.bz2
nixlib-6ffb3618ea014c0a8d72c648a1f8b3b0674441f2.tar.lz
nixlib-6ffb3618ea014c0a8d72c648a1f8b3b0674441f2.tar.xz
nixlib-6ffb3618ea014c0a8d72c648a1f8b3b0674441f2.tar.zst
nixlib-6ffb3618ea014c0a8d72c648a1f8b3b0674441f2.zip
Merge pull request #289980 from fgaz/treewide/fgaz-finalAttrs
treewide: use finalAttrs in packages maintained by @fgaz
Diffstat (limited to 'pkgs/applications/editors')
-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 3db7185bf198..70ce1fe48052 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;
   };
-}
+})