Skip to content

Commit

Permalink
plymouth: remove substituteInPlace to fix build failure (#338)
Browse files Browse the repository at this point in the history
Remove the 'substituteInPlace' function call because the new SVG no
longer contains the matching patterns.

Closes: #337

Updates the SHA due to changed contents of the SVG file:
NixOS/nixos-artwork#120
  • Loading branch information
trueNAHO authored Apr 13, 2024
1 parent 406f793 commit 83866ed
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions modules/plymouth/nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,7 @@ in {
# the entire repository for a single SVG file.
default = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/f84c13adae08e860a7c3f76ab3a9bef916d276cc/logo/nix-snowflake-colours.svg";
# Reduce size
postFetch = ''
substituteInPlace $out \
--replace-fail "141.5919" "70.79595" \
--replace-fail "122.80626" "61.40313"
'';
sha256 = "4+MWdqESKo9omd3q0WfRmnrd3Wpe2feiayMnQlA4izU=";
sha256 = "pHYa+d5f6MAaY8xWd3lDjhagS+nvwDL3w7zSsQyqH7A=";
};
};

Expand Down

0 comments on commit 83866ed

Please sign in to comment.