2 parents 221b9ba + 0cf2d57 commit 3a1531fCopy full SHA for 3a1531f
1 file changed
exe/Main.hs
@@ -93,6 +93,7 @@ runApp = \cases
93
"nom" ("develop" : args) -> do
94
exitOnFailure =<< runMonitoredCommand defaultConfig{silent = True} (proc "nix" ("develop" : withJSON (replaceCommandWithExit args)))
95
exitWith =<< runProcess (proc "nix" ("develop" : args))
96
+ "nom" ("flake" : args) -> exitWith =<< runMonitoredCommand defaultConfig (proc "nix" ("flake" : withJSON args))
97
"nom" [] -> do
98
finalState <- monitorHandle OldStyleInput defaultConfig{piping = True} stdin
99
if CMap.size finalState.fullSummary.failedBuilds + length finalState.nixErrors == 0
0 commit comments