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 # 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
@ -66,7 +60,6 @@
# ]; # ];
# inputsFrom = builtins.attrValues self.packages.${system}; # inputsFrom = builtins.attrValues self.packages.${system};
#}; #};
};
}); });
} }