lol

Merge pull request #222002 from marsam/update-dash

authored by

Bernardo Meurer and committed by
GitHub
bd4e35e1 24f22a58

+4 -24
+4 -24
pkgs/shells/dash/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , buildPackages 4 - , autoreconfHook 5 4 , pkg-config 6 5 , fetchurl 7 - , fetchpatch 8 6 , libedit 9 7 , runCommand 10 8 , dash ··· 12 10 13 11 stdenv.mkDerivation rec { 14 12 pname = "dash"; 15 - version = "0.5.11.5"; 13 + version = "0.5.12"; 16 14 17 15 src = fetchurl { 18 16 url = "http://gondor.apana.org.au/~herbert/dash/files/${pname}-${version}.tar.gz"; 19 - sha256 = "sha256-23eBEIkfeTeYXym/I0EP4cXWaVAnYPWE5U4OeynhI70="; 17 + sha256 = "sha256-akdKxG6LCzKRbExg32lMggWNMpfYs4W3RQgDDKSo8oo="; 20 18 }; 21 19 22 - hardeningDisable = [ "format" ]; 23 - 24 - patches = [ 25 - (fetchpatch { 26 - # Dash executes code when noexec ("-n") is specified 27 - # https://www.openwall.com/lists/oss-security/2020/11/11/3 28 - url = "https://git.kernel.org/pub/scm/utils/dash/dash.git/patch/?id=29d6f2148f10213de4e904d515e792d2cf8c968e"; 29 - sha256 = "0aadb7aaaan6jxmi6icv4p5gqx7k510yszaqsa29b5giyxz5l9i1"; 30 - }) 31 - 32 - # aarch64-darwin fix from upstream; remove on next release 33 - (fetchpatch { 34 - url = "https://git.kernel.org/pub/scm/utils/dash/dash.git/patch/?id=6f6d1f2da03468c0e131fdcbdcfa9771ffca2614"; 35 - sha256 = "16iz2ylkyhpxqq411ns8pjk8rizh6afhavvsf052wvzsnmmlvfbw"; 36 - }) 37 - ]; 38 - 39 20 strictDeps = true; 40 - # configure.ac patched; remove on next release 41 - nativeBuildInputs = [ autoreconfHook ] 42 - ++ lib.optionals stdenv.hostPlatform.isStatic [ pkg-config ]; 21 + 22 + nativeBuildInputs = lib.optionals stdenv.hostPlatform.isStatic [ pkg-config ]; 43 23 44 24 depsBuildBuild = [ buildPackages.stdenv.cc ]; 45 25 buildInputs = [ libedit ];