-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flakes: outsource overlays & update distrobox
- Loading branch information
Showing
4 changed files
with
69 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{}: | ||
(final: prev: { | ||
duperemove = prev.duperemove.overrideAttrs (finalAttrs: prevAttrs: { | ||
src = final.fetchFromGitHub { | ||
owner = "markfasheh"; | ||
repo = "duperemove"; | ||
rev = "c389d3d5309ed5641aae8cb5d7a255019396bf86"; | ||
hash = "sha256-5yyeHGttSlVro+j72VUBoscwIPd4scsQ8X2He4xWFJU="; | ||
}; | ||
|
||
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [ final.libbsd final.xxHash ]; | ||
|
||
postPatch = '' | ||
substituteInPlace Makefile --replace "--std=c23" "--std=c2x" | ||
substituteInPlace results-tree.h --replace "// TODO: delete this" "#include \"list.h\"" | ||
substituteInPlace results-tree.h --replace "struct list_head {" "struct list_head_b {" | ||
''; | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ inputs | ||
, system | ||
}: | ||
(final: prev: { | ||
kernel = import inputs.nixpkgs-desktop-kernel { | ||
inherit system; | ||
config = { | ||
allowUnfree = true; | ||
nvidia.acceptLicense = true; | ||
}; | ||
}; | ||
|
||
nbfc-linux = final.callPackage ./pkgs/nbfc-linux { }; | ||
|
||
extest = final.pkgsi686Linux.callPackage ./pkgs/extest { }; | ||
|
||
#mesa-radv-jupiter = final.callPackage ./pkgs/mesa-radv-jupiter { mesa-radv-jupiter' = prev.mesa-radv-jupiter; }; | ||
|
||
steamPackages = prev.steamPackages.overrideScope (finalScope: prevScope: { | ||
steam = prevScope.steam.overrideAttrs (finalAttrs: prevAttrs: { | ||
postInstall = prevAttrs.postInstall + '' | ||
substituteInPlace $out/share/applications/steam.desktop --replace "steam %U" "LD_PRELOAD=${final.extest}/lib/libextest.so steam %U -silent" | ||
''; | ||
}); | ||
}); | ||
|
||
libvirt = prev.libvirt.override (prevAttrs: { enableXen = false; }); | ||
|
||
openvswitch = prev.openvswitch.override { kernel = null; }; | ||
|
||
virtiofsd = final.callPackage ./pkgs/qemu_7/virtiofsd.nix { | ||
qemu = final.callPackage ./pkgs/qemu_7 { | ||
inherit (final.darwin.apple_sdk.frameworks) CoreServices Cocoa Hypervisor vmnet; | ||
inherit (final.darwin.stubs) rez setfile; | ||
inherit (final.darwin) sigtool; | ||
}; | ||
}; | ||
|
||
distrobox = prev.distrobox.overrideAttrs (finalAttrs: prevAttrs: { | ||
version = "git"; | ||
src = final.fetchFromGitHub { | ||
owner = "89luca89"; | ||
repo = "distrobox"; | ||
rev = "3bac964bf0952674848dce170af8b41d743abe57"; | ||
hash = "sha256-uPCnI52PjxZPPzoMqS3ayF+5lqvQqb8WmeP1BxAC2ZE="; | ||
}; | ||
}); | ||
}) |