about summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2021-06-03 01:49:38 +0100
committerGitHub <noreply@github.com>2021-06-03 01:49:38 +0100
commit64026f5fb8c20d3db2cf73167b273c7bc0b0d409 (patch)
tree82e31e1518220d784d0662a5ebe77fc6d5dd823a /pkgs/tools/misc
parentb1926fc77e096d9d1d3939ca5c4392082155854f (diff)
parentf22183002c78847180a5953b59849e712a74f6b7 (diff)
downloadnixlib-64026f5fb8c20d3db2cf73167b273c7bc0b0d409.tar
nixlib-64026f5fb8c20d3db2cf73167b273c7bc0b0d409.tar.gz
nixlib-64026f5fb8c20d3db2cf73167b273c7bc0b0d409.tar.bz2
nixlib-64026f5fb8c20d3db2cf73167b273c7bc0b0d409.tar.lz
nixlib-64026f5fb8c20d3db2cf73167b273c7bc0b0d409.tar.xz
nixlib-64026f5fb8c20d3db2cf73167b273c7bc0b0d409.tar.zst
nixlib-64026f5fb8c20d3db2cf73167b273c7bc0b0d409.zip
Merge pull request #125356 from IvarWithoutBones/bump/yafetch
yafetch: unstable-2021-05-13 -> unstable-2021-06-01
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/yafetch/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/tools/misc/yafetch/default.nix b/pkgs/tools/misc/yafetch/default.nix
index cfdc0219eef2..c3bea1d9e8c5 100644
--- a/pkgs/tools/misc/yafetch/default.nix
+++ b/pkgs/tools/misc/yafetch/default.nix
@@ -2,22 +2,23 @@
 
 stdenv.mkDerivation rec {
   pname = "yafetch";
-  version = "unstable-2021-05-13";
+  version = "unstable-2021-06-01";
 
   src = fetchFromGitLab {
     owner = "cyberkitty";
     repo = pname;
-    rev = "627465e6bf0192a9bc10f9c9385cde544766486f";
-    sha256 = "1r8jnzfyjs5ardq697crwysclfm3k8aiqvfbsyhsl251a08yls5c";
+    rev = "d9bbc1e4abca87028f898473c9a265161af3c287";
+    sha256 = "0hyb5k7drnm9li720z1fdvz7b15xgf7n6yajnz1j98day3k88bqk";
   };
 
   # Use the provided NixOS logo automatically
   prePatch = ''
-    echo "#include \"ascii/nixos.h\"" > config.h
+    substituteInPlace ./config.h --replace \
+      "#include \"ascii/tux.h\"" "#include \"ascii/nixos.h\""
   '';
 
   # Fixes installation path
-  DESTDIR = placeholder "out";
+  PREFIX = placeholder "out";
 
   meta = with lib; {
     homepage = "https://gitlab.com/cyberkitty/yafetch";