move package

This commit is contained in:
nek0 2023-08-24 17:01:49 +02:00
parent 283d1be22d
commit 7497a4c557

View file

@ -13,7 +13,11 @@
nixos-lib = import (nixpkgs + "/nixos/lib") {};
haskellPackages = pkgs.haskellPackages;
haskellPackages = pkgs.haskellPackages.override {
overrides = final: prev: {
wavefront = jailbreakUnbreak prev.wavefront;
};
};
jailbreakUnbreak = pkg:
pkgs.haskell.lib.doJailbreak (pkg.overrideAttrs (_: { meta = { }; }));
@ -24,7 +28,7 @@
vulkan-tutorial = # (ref:haskell-package-def)
haskellPackages.callCabal2nix packageName self rec {
# Dependency overrides go here
wavefront = jailbreakUnbreak haskellPackages.wavefront;
wavefront = haskellPackages.wavefront;
};
default = vulkan-tutorial;
};