Skip to content

Commit 3d737d6

Browse files
committed
feat: add build-all-outputs to default devshell (using devour-flake)
Signed-off-by: Reputable2722 <153411261+Reputable2772@users.noreply.github.com>
1 parent b33e922 commit 3d737d6

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Shells/default.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,16 @@
116116
name = "repl";
117117
command = "nixos-rebuild --flake . repl";
118118
}
119+
{
120+
help = "Build all outputs of the flake.";
121+
name = "build-all-outputs";
122+
command = ''
123+
nix build \
124+
${inputs.devour-flake}#packages.${pkgs.stdenv.hostPlatform.system}.default \
125+
--override-input flake ${inputs.self} \
126+
--override-input nixpkgs ${inputs.nixpkgs}
127+
'';
128+
category = "Development";
129+
}
119130
];
120131
}

0 commit comments

Comments
 (0)