Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Install Nix
uses: cachix/install-nix-action@v22
uses: cachix/install-nix-action@v31

- uses: actions/checkout@v4

Expand All @@ -55,7 +55,7 @@ jobs:

steps:
- name: Install Nix
uses: cachix/install-nix-action@v22
uses: cachix/install-nix-action@v31

- uses: actions/checkout@v4

Expand Down
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
eachSystem = nixpkgs.lib.genAttrs (import systems);
# the package is called gpg on PyPI and gpgme in nixpkgs
packageOverrides = final: prev: {gpg = final.gpgme;};
version = "0.dev+" + self.shortRev or self.dirtyShortRev or "override";
Comment thread
lucc marked this conversation as resolved.
in {
packages = eachSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
Expand All @@ -27,7 +28,7 @@
};
# overwrite these attributes in the buildPythonApplication call
overrides = {
version = "0.dev+${self.shortRev or self.dirtyShortRev}";
inherit version;
outputs = ["out" "doc" "man"];
postPatch = ''
substituteInPlace alot/settings/manager.py \
Expand Down
Loading