git.iko.soy/typeable/nixpkgs
on master help sign in
svgbob: fix build

loosen lint settings

commita28068a992d3da5156d5594d50fb8ad2444f18b5 authorRobert Scott <code@humanleg.org.uk> dateSun 20 Sep 2020, 15:48 (6 years ago) parent355d255
1 file changed+4−1
pkgs/tools/graphics/svgbob/default.nix+4−1
pkgs/tools/graphics/svgbob/default.nix+4−1
@@ -10,8 +10,11 @@ rustPlatform.buildRustPackage rec {
1010 rev = "0febc4377134a2ea3b3cd43ebdf5ea688a0e7432";
1111 sha256 = "1n0w5b3fjgbczy1iw52172x1p3y1bvw1qpz77fkaxkhrkgfd7vwr";
1212 };
13−
1413 sourceRoot = "source/svgbob_cli";
14+ postPatch = ''
15+ substituteInPlace ../svgbob/src/lib.rs \
16+ --replace '#![deny(warnings)]' ""
17+ '';
1518
1619 cargoSha256 = "1y9jsnxmz51zychmmzp6mi29pb5ks2qww7lk5bshkhp56v51sm8d";
1720