fix(tazjin/tverskoy): Forcefully set nix.nixPath

The out-of-sync channel was previously causing OpenGL applications in
nix-shells to fail.

Change-Id: Ie527ef70b49468dfb62091abfa878ba1b361fc6d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2643
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2021-03-23 01:14:10 +02:00 committed by tazjin
parent d053abfd2a
commit 4daa4c1923

View file

@ -22,6 +22,12 @@ in lib.fix(self: {
"${nixpkgs.home-manager.src}/nixos"
];
nix.nixPath = lib.mkForce [
"nixpkgs=${depot.third_party.nixpkgsSrc}"
"nixos=${depot.third_party.nixpkgsSrc}"
"depot=/depot"
];
boot = {
initrd.availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
initrd.kernelModules = [ ];