Skip to content

Commit

Permalink
libsass: add patch for CVE-2018-19827 (PR NixOS#61673)
Browse files Browse the repository at this point in the history
vcunat switched to upstream commit that's reachable from master.
  • Loading branch information
risicle authored and vcunat committed May 18, 2019
1 parent 1377b98 commit f9f3d6b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/libraries/libsass/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "0w6v1xa00jvfyk4b29ir7dfkhiq72anz015gg580bi7x3n7saz28";
};

patches = [
(fetchpatch {
name = "CVE-2018-19827.patch";
url = "https://github.com/sass/libsass/commit/b21fb9f84096d9927780b86fa90629a096af358d.patch";
sha256 = "0ix12x9plmpgs3xda2fjdcykca687h16qfwqr57i5qphjr9vp33l";
})
];

preConfigure = ''
export LIBSASS_VERSION=${version}
'';
Expand Down

0 comments on commit f9f3d6b

Please sign in to comment.