mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
dev/list-plugins: conditionally create devshell only if devshell input is present
This commit is contained in:
parent
f4b7fd46f6
commit
aaf0fb1663
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ self, ... }:
|
{ inputs, self, ... }:
|
||||||
{
|
{
|
||||||
perSystem =
|
perSystem =
|
||||||
{
|
{
|
||||||
|
@ -33,6 +33,8 @@
|
||||||
list-plugins --root-path ${self} > $out
|
list-plugins --root-path ${self} > $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
}
|
||||||
|
// lib.optionalAttrs (inputs.devshell ? flakeModule) {
|
||||||
devshells.default.commands = [
|
devshells.default.commands = [
|
||||||
{
|
{
|
||||||
name = "list-plugins";
|
name = "list-plugins";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue