flake: Use correct input types for dependencies

filtered
Simon Bruder 2023-05-14 14:22:04 +02:00
parent 1aae98c18b
commit f482d0a951
1 changed files with 6 additions and 3 deletions

View File

@ -9,7 +9,7 @@
pkgs = import nixpkgs { inherit system; };
mkNocheck = drv: drv.overrideAttrs (o: {
doCheck = false;
nativeBuildInputs = pkgs.lib.filter (p: p != pkgs.catch2_3) o.nativeBuildInputs;
checkInputs = [ ];
});
in
{
@ -20,7 +20,8 @@
src = ./u01;
nativeBuildInputs = [ catch2_3 cmake ];
nativeBuildInputs = [ cmake ];
checkInputs = [ catch2_3 ];
doCheck = true;
})
@ -32,7 +33,9 @@
src = ./u02;
nativeBuildInputs = [ catch2_3 cmake freeglut libGL libGLU ];
nativeBuildInputs = [ cmake ];
buildInputs = [ freeglut libGL libGLU ];
checkInputs = [ catch2_3 ];
doCheck = true;
})