From 4daa4c192374a0e6e5596507541d832dd5d02f4d Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 23 Mar 2021 01:14:10 +0200 Subject: 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 Reviewed-by: lukegb Tested-by: BuildkiteCI --- users/tazjin/nixos/tverskoy/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users/tazjin/nixos/tverskoy/default.nix') diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index fb84fd7281eb..066d54899f84 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -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 = [ ]; -- cgit 1.4.1