From b4fb390e46cbeea8b8471d10c0444a3a41bc650e Mon Sep 17 00:00:00 2001 From: cswimr Date: Fri, 24 Jan 2025 09:22:14 -0600 Subject: [PATCH] fix nvidia drivers not building --- flake.lock | 48 ++++++++++++++++++++++++------------------------ flake.nix | 8 +++++--- 2 files changed, 29 insertions(+), 27 deletions(-) diff --git a/flake.lock b/flake.lock index 01fc444..03eacfc 100644 --- a/flake.lock +++ b/flake.lock @@ -409,11 +409,11 @@ ] }, "locked": { - "lastModified": 1737630279, - "narHash": "sha256-wJQCxyMRc4P26zDrHmZiRD5bbfcJpqPG3e2djdGG3pk=", + "lastModified": 1737704314, + "narHash": "sha256-zta8jvOQ2wRCZmiwFEnS5iCulWAh8e+fLUlQxrgOBjM=", "owner": "nix-community", "repo": "home-manager", - "rev": "0db5c8bfcce78583ebbde0b2abbc95ad93445f7c", + "rev": "a0428685572b134f6594e7d7f5db5e1febbab2d7", "type": "github" }, "original": { @@ -431,11 +431,11 @@ ] }, "locked": { - "lastModified": 1737480538, - "narHash": "sha256-rk/cmrvq3In0TegW9qaAxw+5YpJhRWt2p74/6JStrw0=", + "lastModified": 1737704314, + "narHash": "sha256-zta8jvOQ2wRCZmiwFEnS5iCulWAh8e+fLUlQxrgOBjM=", "owner": "nix-community", "repo": "home-manager", - "rev": "4481a16d1ac5bff4a77c608cefe08c9b9efe840d", + "rev": "a0428685572b134f6594e7d7f5db5e1febbab2d7", "type": "github" }, "original": { @@ -585,11 +585,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1737596814, - "narHash": "sha256-hfMz2iTGrM95jvnxgFD3kQmCBr4qvLtoJxT7pU20QN0=", + "lastModified": 1737683312, + "narHash": "sha256-Y3jubm5btIuVzVxfTgtsq8qQbiON0wOg+hwxjUS/N8k=", "owner": "nix-community", "repo": "nix-vscode-extensions", - "rev": "2dc18aa9f519bb9c7f908c38a141562619ce01fb", + "rev": "1f956a973c46701da8366418f2245352586bb4bc", "type": "github" }, "original": { @@ -660,17 +660,17 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1737629725, - "narHash": "sha256-tjAyt92vcvzkoEMQFLK36A72F92J6Z7LhrHNHEFFf88=", - "owner": "NixOS", + "lastModified": 1737699333, + "narHash": "sha256-gHLFSu32uf+O15mUu6QYjSwNbLA+N4B6itT8Bk+YVRA=", + "owner": "Bot-wxt1221", "repo": "nixpkgs", - "rev": "c805021f3a95da44a1811f1235b997f57d893dc3", + "rev": "5ebc7f832c3a2213bf29d19807033c6f79f74a08", "type": "github" }, "original": { - "owner": "NixOS", + "owner": "Bot-wxt1221", "repo": "nixpkgs", - "rev": "c805021f3a95da44a1811f1235b997f57d893dc3", + "rev": "5ebc7f832c3a2213bf29d19807033c6f79f74a08", "type": "github" } }, @@ -689,11 +689,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1737644327, - "narHash": "sha256-gyP1Ds62ySpWszHCL9kzWzdLg2WFIuFcDc1kDIGBgB0=", + "lastModified": 1737726662, + "narHash": "sha256-VlGWJmmb82DNV4L6/UiiVEuFp7kgwyMljIgi0DKNCew=", "owner": "nix-community", "repo": "nixvim", - "rev": "85bef9e19191000db4a13337198266359cefb9b6", + "rev": "16f92ff8a6fe3681a8286e377054296c585935f4", "type": "github" }, "original": { @@ -711,11 +711,11 @@ "treefmt-nix": "treefmt-nix_2" }, "locked": { - "lastModified": 1737647191, - "narHash": "sha256-dAimiNgNK/eIugeRb2PAEYxwruMdUHb+GxScFboRwkM=", + "lastModified": 1737727230, + "narHash": "sha256-139LDeAMEUiTsOLaLbfxsVU7hX0r4Ax81cSMf0hcaj0=", "owner": "nix-community", "repo": "NUR", - "rev": "8f066f1f44bf8d7f99b07aecddd9e2ad42c135d4", + "rev": "83b1a35cf87bc8d478fe026b9062e73468800cc3", "type": "github" }, "original": { @@ -901,11 +901,11 @@ }, "staging-next": { "locked": { - "lastModified": 1737633971, - "narHash": "sha256-38J9QfeGSej341ouwzqf77WIHAScihAKCt8PQJ+NH28=", + "lastModified": 1737720347, + "narHash": "sha256-F5XweBq33TV3y+rcX9eyS4/gssHhe1mXlfoVJ0Fgab4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "773f59ce7fbafc16330372752c76b86b78b89eb4", + "rev": "28b95d785aeb6df101bbdf36f5a797b4206ce4a3", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index b787855..e9b04b0 100644 --- a/flake.nix +++ b/flake.nix @@ -2,10 +2,12 @@ description = "System Configuration @ cswimr 2024"; inputs = { stable.url = "github:NixOS/nixpkgs/nixos-24.11"; - # change this back to nixos-unstable once + # change this back to NixOS/nixpkgs/nixos-unstable once # https://github.com/NixOS/nixpkgs/commit/c805021f3a95da44a1811f1235b997f57d893dc3 - # trickles down to nixos-unstable - nixpkgs.url = "github:NixOS/nixpkgs/c805021f3a95da44a1811f1235b997f57d893dc3"; + # and + # https://github.com/NixOS/nixpkgs/pull/375838 + # trickle down to nixos-unstable + nixpkgs.url = "github:Bot-wxt1221/nixpkgs/5ebc7f832c3a2213bf29d19807033c6f79f74a08"; staging-next.url = "github:NixOS/nixpkgs/staging-next"; home-manager = { url = "github:nix-community/home-manager/master";