move package
This commit is contained in:
parent
ccd18f803b
commit
f873fa7291
1 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue