Skip to content

Commit e81fd16

Browse files
authored
Merge pull request #1478 from NixOS/nixpkgs-update
tests: Nixpkgs update
2 parents d1d68fe + ff949f7 commit e81fd16

File tree

7 files changed

+43
-36
lines changed

7 files changed

+43
-36
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ assurance is up to *you*.
4848

4949
# For reviewers:
5050

51-
This repository has bors enabled for easier merging after a successfull build:
51+
This repository has [mergify](https://mergify.com/) enabled for easier merging after a successfull build:
5252

53-
* `bors try` - check if the PR builds.
54-
* `bors merge` - same as `bors try` but will also merge the PR if it builds successfully.
55-
* https://bors.tech/documentation/
53+
* `@mergify queue` will add the current pull request to the merge queue and merge when all tests succeed

common/gpu/nvidia/fermi/default.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{ ... }:
2+
{
3+
imports = [ ../. ];
4+
5+
# The open source driver does not support Fermi GPUs.
6+
hardware.nvidia.open = false;
7+
}

dell/xps/15-9530/nvidia/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
imports = [
44
../default.nix
55
../../../../common/gpu/nvidia/prime.nix
6+
../../../../common/gpu/nvidia/ada-lovelace
67
];
78

89
hardware.nvidia.prime = {

lenovo/ideacentre/k330/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
imports = [
44
../../../common/cpu/intel
5-
../../../common/gpu/nvidia # Is it possible/advisable to pin this to the 390.xx driver family in case the user wants to use non-free drivers?
5+
../../../common/gpu/nvidia/fermi # Is it possible/advisable to pin this to the 390.xx driver family in case the user wants to use non-free drivers?
66
../../../common/gpu/amd # The K330 could be bought with AMD GPUs but I don't have that configuration
77
../../../common/pc
88
];
@@ -14,6 +14,6 @@
1414
# What if somebody installs both plasma AND another DE?
1515
# The goal is to prefer x11 over wayland due to compatibility issues with the old hardware
1616

17-
17+
1818
services.displayManager.defaultSession = lib.mkIf config.services.xserver.desktopManager.plasma6.enable (lib.mkDefault "plasmax11");
19-
}
19+
}

tests/build-profile.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
1717
fsType = "btrfs";
1818
};
19-
system.stateVersion = lib.version;
19+
system.stateVersion = config.system.nixos.release;
2020
})
2121
]).config.system.build.toplevel

tests/flake.lock

Lines changed: 27 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/flake.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
description = "Test flake for nixos-hardware";
33

44
inputs = {
5-
nixos-unstable-small.url = "github:NixOS/nixpkgs/nixos-unstable-small";
6-
nixos-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
5+
nixos-unstable-small.url = "git+https://github.com/NixOS/nixpkgs?shallow=1&ref=nixos-unstable-small";
6+
nixos-stable.url = "git+https://github.com/NixOS/nixpkgs?shallow=1&ref=nixos-24.11";
77
# override in the test
88
nixos-hardware.url = "github:NixOS/nixos-hardware";
99
flake-parts.url = "github:hercules-ci/flake-parts";
@@ -23,7 +23,6 @@
2323
system,
2424
lib,
2525
pkgs,
26-
inputs',
2726
...
2827
}:
2928
let

0 commit comments

Comments
 (0)