flake.nix: fix nix run

This commit is contained in:
2026-01-27 19:42:21 +09:00
parent 1b09a904cb
commit ec43f67e58

View File

@@ -29,11 +29,11 @@
in forAllSystems (system: pkgs: {
default = self.apps.${system}.dibbler;
dibbler = let
app = lib.writeShellApplication {
app = pkgs.writeShellApplication {
name = "dibbler-with-default-config";
runtimeInputs = [ self.packages.${system}.dibbler ];
text = ''
dibbler -c ${./example-config.toml}
dibbler -c ${./example-config.toml} "$@"
'';
};
in mkApp (lib.getExe app) "Run the dibbler cli with its default config against an SQLite database";