Refactors to nixos-artwork broke system builds with stylix by renaming files. Refactors in nixpkgs independently broke it by modifying the sourceRoot attribute.
logo/white.svg was renamed to nix-snowflake-white.svg
This involves the logo directory being immutable in the patch phase now. Therefore, the previously used approach didn't work, so i've moved the patch phase into applyPatches on src directly rather than using mkDerivation's patchPhase.
I've tested that stuff works fine on my machine and the produced artworks are indeed themed correctly.
Refactors to
nixos-artwork
broke system builds with stylix by renaming files. Refactors innixpkgs
independently broke it by modifying thesourceRoot
attribute.logo/white.svg
was renamed tonix-snowflake-white.svg
Additionally, the source root of the derivation has been moved in the relevant nixpkgs PR
This involves the
logo
directory being immutable in the patch phase now. Therefore, the previously used approach didn't work, so i've moved the patch phase intoapplyPatches
onsrc
directly rather than using mkDerivation'spatchPhase
.I've tested that stuff works fine on my machine and the produced artworks are indeed themed correctly.