move package

This commit is contained in:
nek0 2023-08-24 17:01:49 +02:00 committed by Amedeo Molnár
parent ccd18f803b
commit f873fa7291

View file

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