Skip to content

Commit

Permalink
build(nix): update flake inputs
Browse files Browse the repository at this point in the history
Includes nix-community/poetry2nix#1428 and many other thousands of changes.
  • Loading branch information
yajo committed Nov 27, 2023
1 parent f0b80f0 commit 7ca70a2
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
- run: copier --version

# Run nix checks
- run: nix flake check -L
- run: nix flake check -L --accept-flake-config

publish:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
Expand Down
96 changes: 56 additions & 40 deletions flake.lock

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

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
flake = false;
};
flake-utils.url = github:numtide/flake-utils;
nixpkgs.url = github:NixOS/nixpkgs/release-23.05;
nixpkgs.url = github:NixOS/nixpkgs/release-23.11;
poetry2nix.url = github:nix-community/poetry2nix;
poetry2nix.inputs.nixpkgs.follows = "nixpkgs";
};
Expand All @@ -35,7 +35,7 @@
// flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
inherit system;
overlays = [poetry2nix.overlay];
overlays = [poetry2nix.overlays.default];
};
lastRelease = (pkgs.lib.importTOML ./pyproject.toml).tool.commitizen.version;
version = "${lastRelease}.dev${self.sourceInfo.lastModifiedDate}+nix-git-${self.sourceInfo.shortRev or "dirty"}";
Expand Down

0 comments on commit 7ca70a2

Please sign in to comment.