about summary refs log tree commit diff
path: root/pkgs/applications/editors/pixelorama
diff options
context:
space:
mode:
authorFelix Schröter <dev@felschr.com>2023-06-13 19:26:12 +0200
committerFelix Schröter <dev@felschr.com>2023-06-13 19:26:12 +0200
commite0b817ccb706921d8e387eabb1e219ca073ddc30 (patch)
treeb210ed11ab902680ec49d9ab756f20fc3ba97251 /pkgs/applications/editors/pixelorama
parent73b978331520d318d5ca6b4ae0732d09f392603a (diff)
downloadnixlib-e0b817ccb706921d8e387eabb1e219ca073ddc30.tar
nixlib-e0b817ccb706921d8e387eabb1e219ca073ddc30.tar.gz
nixlib-e0b817ccb706921d8e387eabb1e219ca073ddc30.tar.bz2
nixlib-e0b817ccb706921d8e387eabb1e219ca073ddc30.tar.lz
nixlib-e0b817ccb706921d8e387eabb1e219ca073ddc30.tar.xz
nixlib-e0b817ccb706921d8e387eabb1e219ca073ddc30.tar.zst
nixlib-e0b817ccb706921d8e387eabb1e219ca073ddc30.zip
pixelorama: use finalAtts pattern with mkDerivation instead of rec
Diffstat (limited to 'pkgs/applications/editors/pixelorama')
-rw-r--r--pkgs/applications/editors/pixelorama/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/editors/pixelorama/default.nix b/pkgs/applications/editors/pixelorama/default.nix
index 4e862c5ef12a..e883ba36d5fb 100644
--- a/pkgs/applications/editors/pixelorama/default.nix
+++ b/pkgs/applications/editors/pixelorama/default.nix
@@ -7,14 +7,14 @@ let
       else "Linux/X11 32-bit"
     else if stdenv.isDarwin then "Mac OSX"
     else throw "unsupported platform";
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation (finalAttrs: {
   pname = "pixelorama";
   version = "0.11";
 
   src = fetchFromGitHub {
     owner = "Orama-Interactive";
     repo = "Pixelorama";
-    rev = "v${version}";
+    rev = "v${finalAttrs.version}";
     sha256 = "sha256-r4iQJBxXzIbQ7n19Ah6szuIfALmuKlHKcvKsxEzOttk=";
   };
 
@@ -56,4 +56,4 @@ in stdenv.mkDerivation rec {
     platforms = [ "i686-linux" "x86_64-linux" ];
     maintainers = with maintainers; [ felschr ];
   };
-}
+})