about summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-02-06 16:03:45 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-02-06 16:03:45 +0100
commit2ced3e9d3f2eb112105f8ece90485a2f0ee2357a (patch)
tree403349066756565b0477ecdc8c4c1e6b433bf093 /flake.nix
parent5c0f2e953c8cb87bdf8eb76424061ec72b4a6ad9 (diff)
downloadgalier-2ced3e9d3f2eb112105f8ece90485a2f0ee2357a.tar.gz
galier-2ced3e9d3f2eb112105f8ece90485a2f0ee2357a.zip
Add webp
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 5fb1688..4958116 100644
--- a/flake.nix
+++ b/flake.nix
@@ -7,7 +7,7 @@
     with import nixpkgs { system = "x86_64-linux"; };
     stdenv.mkDerivation {
       pname = "gal";
-      version = "0.1";
+      version = "0.2";
 
       src = self;
 
@@ -17,6 +17,7 @@
         cp style.css $out/share/gal
 
         sed -i 's:convert:${imagemagick}/bin/convert:g' $out/bin/gal
+        sed -i 's:cwebp:${libwebp}/bin/cwebp:g' $out/bin/gal
         sed -i "s:cp style.css:cp $out/share/gal/style.css:g" $out/bin/gal
       '';
     };