Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion modules/flake-parts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
perSystem =
{ pkgs, ... }:
{
apps = lib.mapAttrs (_: f: { program = f pkgs; }) config.flake-file.apps;
packages = lib.mapAttrs (_: f: f pkgs) config.flake-file.apps;
checks.check-flake-file = config.flake-file.check-flake-file pkgs;
};
}
1 change: 1 addition & 0 deletions modules/nixlock/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ let
in
pkgs.writeShellApplication {
name = "write-nixlock";
meta.description = "Generate nixlock.lock.nix via nixlock.";
excludeShellChecks = [
"SC2016"
"SC2086"
Expand Down
1 change: 1 addition & 0 deletions modules/npins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ let
pkgs:
pkgs.writeShellApplication {
name = "write-npins";
meta.description = "Generate/update npins/ directory via npins.";
runtimeInputs = [
pkgs.npins
pkgs.jq
Expand Down
1 change: 1 addition & 0 deletions modules/unflake/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ let
pkgs:
pkgs.writeShellApplication {
name = "write-unflake";
meta.description = "Generate unflake.nix via unflake.";
text = ''
cd ${flake-file.intoPath}
nix-shell "${flake-file.unflake.url}" -A unflake-shell --run "unflake -i ${flake-file.inputsFile pkgs} $*"
Expand Down
1 change: 1 addition & 0 deletions modules/write-flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ let
in
pkgs.writeShellApplication {
name = "write-flake";
meta.description = "Generate a flake.nix file";
text = ''
cd ${config.flake-file.intoPath}
cat ${formatted pkgs} > flake.nix
Expand Down
1 change: 1 addition & 0 deletions modules/write-inputs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ let
pkgs:
pkgs.writeShellApplication {
name = "write-inputs";
meta.description = "Generate an inputs.nix expression (for debugging)";
text = ''
cd ${flake-file.intoPath}
cat ${inputsFile pkgs} > "''${1:-inputs.nix}"
Expand Down
1 change: 1 addition & 0 deletions modules/write-lock.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ let
pkgs:
pkgs.writeShellApplication {
name = "write-lock";
meta.description = "Detect existing lock file and delegate to the appropriate writer.";
runtimeInputs = map (d: apps.${d.app} pkgs) available;
text = dispatch;
};
Expand Down
Loading