fix flake

This commit is contained in:
nek0 2023-08-24 16:00:27 +02:00 committed by Amedeo Molnár
parent 2ae3daf0f9
commit fe4155d26f

View file

@ -26,17 +26,11 @@
# Dependency overrides go here # Dependency overrides go here
wavefront = jailbreakUnbreak haskellPackages.wavefront; wavefront = jailbreakUnbreak haskellPackages.wavefront;
}; };
test = import ./test.nix {inherit pkgs vulkan-tutorial;}; default = vulkan-tutorial;
defaultPackage = self.packages.${system}.${packageName};
checks = {
test = import ./test.nix {inherit pkgs; vulkan-tutorial = packages.vulkan-tutorial;};
#test = flake-utils.lib.mkApp ({ drv = self.packages.${system}.test; });
}; };
devShell = haskellPackages.shellFor { devShells.${system} = haskellPackages.shellFor {
packages = p: [ defaultPackage ]; packages = p: [ packages.vulkan-tutorial ];
withHoogle = true; withHoogle = true;
buildInputs = (with haskellPackages; [ buildInputs = (with haskellPackages; [
haskell-language-server haskell-language-server
@ -67,7 +61,6 @@
# ]; # ];
# inputsFrom = builtins.attrValues self.packages.${system}; # inputsFrom = builtins.attrValues self.packages.${system};
#}; #};
};
}); });
} }