St: Difference between revisions

imported>Lubsch
Added an example using flakes
imported>Lubsch
m currected "prev" to "super"
Line 208: Line 208:
         st = super.st.overrideAttrs (oldAttrs: rec {
         st = super.st.overrideAttrs (oldAttrs: rec {
           patches = [ alpha ];
           patches = [ alpha ];
           configFile = prev.writeText "config.h" (builtins.readFile ./st-config.h);
           configFile = super.writeText "config.h" (builtins.readFile ./st-config.h);
           postPatch = ''
           postPatch = ''
             ${oldAttrs.postPatch}
             ${oldAttrs.postPatch}