Skip to content

Commit

Permalink
Update to nixpkgs 23.11
Browse files Browse the repository at this point in the history
  • Loading branch information
kip93 committed Dec 1, 2023
1 parent cc530e8 commit 3bc8ef9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
30 changes: 15 additions & 15 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@
};
};
home-manager = {
url = "https://flakehub.com/f/nix-community/home-manager/0.1.0.tar.gz";
# TODO Switch back to stable when 23.11 comes out
# url = "https://flakehub.com/f/nix-community/home-manager/*.tar.gz";
url = "https://flakehub.com/f/nix-community/home-manager/*.tar.gz";
inputs = {
nixpkgs.follows = "nixpkgs";
};
Expand Down Expand Up @@ -110,9 +108,7 @@
url = "github:NixOS/nixos-hardware/master";
};
nixpkgs = {
url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz";
# TODO Switch back to stable when 23.11 comes out
# url = "https://flakehub.com/f/NixOS/nixpkgs/*.tar.gz";
url = "https://flakehub.com/f/NixOS/nixpkgs/*.tar.gz";
};
# TODO devenv#745
# poetry2nix = {
Expand Down
8 changes: 6 additions & 2 deletions overlays/overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,18 @@ in
hydra_unstable = hydra;

# Build a nix package that has flake schema support (see nix#8892)
nixSchemas = nix.overrideAttrs ({ patches ? [ ], ... }: {
nixSchemas = final.nixVersions.nix_2_18.overrideAttrs ({ patches ? [ ], ... }: {
pname = "nix-schemas";
patches = patches ++ [
(final.fetchpatch {
url = "https://github.com/NixOS/nix/pull/8892.diff";
hash = "sha256-NfBksfuW1RUWe3O9cyqdM+A4O9ZGvEWg8rfv+24BosA=";
excludes = [ "doc/manual/src/SUMMARY.md.in" "flake.nix" "flake.lock" ];
})
];
doCheck = false; # Schema tests still require internet connection

# Schema tests still require internet connection
doCheck = false;
doInstallCheck = false;
});
}

0 comments on commit 3bc8ef9

Please sign in to comment.