flake.nix: extract packages/devshells/modules into smaller files
This commit is contained in:
parent
6f7f3f2461
commit
505e85b9c5
9 changed files with 360 additions and 323 deletions
16
packages/mesa/default.nix
Normal file
16
packages/mesa/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ mesa, lib }:
|
||||
|
||||
(mesa.override {
|
||||
vulkanDrivers = [
|
||||
"amd"
|
||||
"intel"
|
||||
"microsoft-experimental" # removing this breaks the build
|
||||
"nouveau"
|
||||
"swrast"
|
||||
"virtio"
|
||||
"gfxstream" # probably not going to use this though
|
||||
];
|
||||
}).overrideAttrs (new: old: {
|
||||
mesonFlags = old.mesonFlags ++ [ (lib.mesonBool "amdgpu-virtio" true) ];
|
||||
patches = old.patches ++ [ ../../radvmmio.patch ]; # already merged to git
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue