From c425f922797fd05f64f69e46ffb908dcfdbe25ef Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 18 Feb 2021 18:43:08 -0300 Subject: default.nix: Add makeFlags and optionally checkInputs --- default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/default.nix b/default.nix index cfcbd43..514b0b6 100644 --- a/default.nix +++ b/default.nix @@ -8,9 +8,11 @@ self: super: { src = fetchTarball { url = https://git.euandreh.xyz/remembering/snapshot/remembering-cca66c6f53e8bce857faae88368c0b07e6ace9e1.tar.gz; - sha256 = "1b90cpnv9p6p1cggiv6kp2q6v6lqhsv2q1zk6djnylfzzc8hszay"; + sha256 = "0bpm73hvpk6x3vs2lkp0kjnfdyb5hq3spl0kzpq0wwmz2ilcvghh"; }; + makeFlags = [ "CC=cc" ]; + doCheck = true; }; autoqemu = pkgs.stdenv.mkDerivation { @@ -20,9 +22,11 @@ self: super: { src = fetchTarball { url = https://git.euandreh.xyz/autoqemu/snapshot/autoqemu-9aff342b2179f990a7c63ee5c7569260a8498709.tar.gz; - sha256 = "0476xq0gd8qbfwvl4vifs5i0x3yzvgr1ff0fnqxm2irjldpklrkp"; + sha256 = "1hqmsvvh8g1dkm88sqkpdd47yrmvkz91jirc2qzkiri4rwp3bx89"; }; + makeFlags = [ "CC=cc" ]; + doCheck = true; }; fallible = pkgs.stdenv.mkDerivation { @@ -32,9 +36,12 @@ self: super: { src = fetchTarball { url = https://git.euandreh.xyz/fallible/snapshot/fallible-2bac4b52f756fce15a4758a3b868bed9de87ff49.tar.gz; - sha256 = "1fwyqqhq4mr0vsmm07iqzkk61i8gaxxyjpmn7g11cvmafhw1acv5"; + sha256 = "0yfpjck84jpy108gdjw9f0qxny4q03n3yrqw9mpd43ch237c56aw"; }; + makeFlags = [ "CC=cc" ]; + + checkInputs = with pkgs; [ valgrind ]; doCheck = true; }; }; -- cgit v1.2.3