[Nix-dev] Function with no arguments in Nix expressions

Roger Qiu roger.qiu at polycademy.com
Mon Aug 18 11:28:43 CEST 2014


Hello,

How does one declare a function with no arguments?

```
x = : 1 + 2
```

doesn't work.

Thanks,
Roger


More information about the nix-dev mailing list