diff options
Diffstat (limited to 'rui.go')
| -rw-r--r-- | rui.go | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -55,6 +55,20 @@ func main() { } }, Suggest: true, + Flags: []cli.Flag{ + &cli.BoolFlag{ + Name: "allow-unfree", + Action: func(c *cli.Context, b bool) error { + state := "0" + + if b { + state = "1" + } + + return os.Setenv("NIXPKGS_ALLOW_UNFREE", state) + }, + }, + }, Commands: []*cli.Command{ { Name: "hs", |