From f22183002c78847180a5953b59849e712a74f6b7 Mon Sep 17 00:00:00 2001 From: IvarWithoutBones Date: Wed, 2 Jun 2021 11:59:04 +0200 Subject: [PATCH] yafetch: unstable-2021-05-13 -> unstable-2021-06-01 --- pkgs/tools/misc/yafetch/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/misc/yafetch/default.nix b/pkgs/tools/misc/yafetch/default.nix index cfdc0219eef..c3bea1d9e8c 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";