Faust: Difference between revisions

Klinger (talk | contribs)
m Link to Faust added
Lukec (talk | contribs)
m Add lang="nix" to code block for syntax highlighting and change self: super: to final: prev:
 
Line 10: Line 10:
Simply add the following [[Overlays|overlay]]:
Simply add the following [[Overlays|overlay]]:


 
<syntaxhighlight lang="nix">
    (self: super: {
final: prev: {
        faust = super.faust.overrideAttrs (old: {
  faust = prev.faust.overrideAttrs (old: {
          patches = (old.patches or [ ]) ++ [
    patches = (old.patches or [ ]) ++ [
            (super.fetchpatch {
      (prev.fetchpatch {
              url =
        url =
                "https://github.com/grame-cncm/faust/commit/cf80f4c94ac979922892a7f594121358cd178708.patch";
          "https://github.com/grame-cncm/faust/commit/cf80f4c94ac979922892a7f594121358cd178708.patch";
              sha256 = "sha256-MMFgCzAT33kwnBGvydyoqxJmMjWpxyF9Okjk1rMmrcw=";
        sha256 = "sha256-MMFgCzAT33kwnBGvydyoqxJmMjWpxyF9Okjk1rMmrcw=";
            })
          ];
        });
       })
       })
    ];
  });
};
</syntaxhighlight>


[[Category:Languages]]
[[Category:Languages]]