fix flake

This commit is contained in:
nek0 2023-08-24 16:00:27 +02:00
parent 88b2516976
commit ddea01c005

View file

@ -26,17 +26,11 @@
# Dependency overrides go here
wavefront = jailbreakUnbreak haskellPackages.wavefront;
};
test = import ./test.nix {inherit pkgs 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; });
default = vulkan-tutorial;
};
devShell = haskellPackages.shellFor {
packages = p: [ defaultPackage ];
devShells.${system} = haskellPackages.shellFor {
packages = p: [ packages.vulkan-tutorial ];
withHoogle = true;
buildInputs = (with haskellPackages; [
haskell-language-server
@ -66,7 +60,6 @@
# ];
# inputsFrom = builtins.attrValues self.packages.${system};
#};
};
});
}