elvis: unbreak darwin (#400092)

authored by Aleksana and committed by GitHub a2a8afe7 15839077

+9 -1
+9 -1
pkgs/by-name/el/elvis/package.nix
··· 36 36 37 37 buildInputs = [ ncurses ]; 38 38 39 - configureFlags = [ "--ioctl=termios" ]; 39 + configureFlags = [ 40 + "--ioctl=termios" 41 + "--libs=-lncurses" 42 + ]; 40 43 41 44 strictDeps = false; 42 45 ··· 44 47 substituteInPlace configure \ 45 48 --replace-fail '-lcurses' '-lncurses' \ 46 49 --replace-fail 'if [ -f /usr/include/sys/wait.h ]' 'if true' 50 + ''; 51 + 52 + postConfigure = '' 53 + echo >>config.h '#undef NEED_MEMMOVE' 54 + echo >>config.h '#define NEED_IOCTL_H' 47 55 ''; 48 56 49 57 installPhase = ''