Skip to content

Commit

Permalink
templates: fix the flake-parts template
Browse files Browse the repository at this point in the history
Fixes half of #1153.
  • Loading branch information
sandydoo committed Apr 23, 2024
1 parent c4b6e9c commit 2f28173
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions templates/flake-parts/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
# module parameters provide easy access to attributes of the same
# system.

# needed for devenv up
packages.devenv-up = self'.devShells.default.config.procfileScript;

# Equivalent to inputs'.nixpkgs.legacyPackages.hello;
packages.default = pkgs.hello;

Expand All @@ -57,6 +54,8 @@
enterShell = ''
hello
'';

processes.hello.exec = "hello";
};

};
Expand Down
2 changes: 1 addition & 1 deletion templates/simple/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
hello
'';

processes.run.exec = "hello";
processes.hello.exec = "hello";
}
];
};
Expand Down

0 comments on commit 2f28173

Please sign in to comment.