Skip to content

Commit a07eac0

Browse files
fix(nix): resolve build failures in the nix flake (#1068)
This pr resolves two build failures when using the nix flake. ### flake inputs Some pkgs where outdated, thus causing a build failure. Fixed by updating the `flake.lock` file. ### Check phase After building the pkg, the tests are ran in the check phase. This phase failed because it required some pkgs that the flake was not providing: `zoxide` and `exiftool`. Fixed by adding those pkgs to the `nativeCheckInputs`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - Chores - Updated build/check dependencies for the superfile package, adding additional tools to the validation environment. This affects development and CI only and does not alter runtime behavior or the user experience. - Tests - Expanded the check environment with supplementary tools used during package checks. No user-facing changes. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 8b31697 commit a07eac0

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

flake.lock

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

flake.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,14 @@
3030
version = "1.3.3";
3131
src = ./.;
3232
modules = ./gomod2nix.toml;
33-
nativeCheckInputs = [ pkgs.writableTmpDirAsHomeHook ];
33+
34+
nativeCheckInputs = with pkgs; [
35+
zoxide
36+
exiftool
37+
writableTmpDirAsHomeHook
38+
];
3439
};
40+
3541
default = superfile;
3642
};
3743

0 commit comments

Comments
 (0)