vulkan-tutorial/shell.nix

19 lines
463 B
Nix
Raw Normal View History

2022-01-14 07:59:38 +00:00
{ pkgs ? import <nixpkgs> {} }:
let
vulkanTutorial = pkgs.haskellPackages.callCabal2nix "vulkan-tutorial" (gitignore ./.) {};
gitignore = src: pkgs.nix-gitignore.gitignoreSource [] src;
2022-07-14 09:02:12 +00:00
hpkgs = pkgs.haskellPackages.override {
overrides = final: prev: {
vulkanTutorial = vulkanTutorial;
};
};
2022-01-14 07:59:38 +00:00
in
2022-07-14 09:02:12 +00:00
hpkgs.shellFor {
packages = p: [
p.vulkanTutorial
];
buildInputs =
vulkanTutorial.buildInputs ++ [ pkgs.shaderc ];
}