Hello,
How come the nix-repl allows a freestanding variable assignment, but the
actual Nix expressions don't?
```
# allowed in nix-repl but not in normal nix
x = 5
```
```
# allowed in normal nix and nix-repl
let x = 5; in {}
```
Apparently this has something to do with the purity and lambda
Hello Nicolas,
You mean something like this?
something.enable = mkDefault 101 true; # at 101
something.enable = false; # at 100
Or something like:
something.enable = true; # at 100
something.enable = mkOverride 99 false; # at 99
In both cases the second something.enable has a lower priority
anthy: new package
---
diff --git a/pkgs/tools/inputmethods/anthy/default.nix
b/pkgs/tools/inputmethods/anthy/default.nix
new file mode 100644
index 000..d020146
--- /dev/null
+++ b/pkgs/tools/inputmethods/anthy/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchurl
+}:
+
+let
+ version = 9100h;
Hello,
How does one declare a function with no arguments?
```
x = : 1 + 2
```
doesn't work.
Thanks,
Roger
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
Hi,
On 18/08/14 11:21, Roger Qiu wrote:
How come the nix-repl allows a freestanding variable assignment, but the
actual Nix expressions don't?
Because it's a special feature of nix-repl. It allows assigning the result of an
expression to a variable which is then added to nix-repl's scope.
WOW! O.O I like it!
Can I put it on my personal Nixpkgs fork? :)
2014-08-18 5:28 GMT-03:00 Jack Ryan mixmas...@remailer.cpunk.us:
fluxbox: new package
---
diff --git a/pkgs/applications/window-managers/fluxbox/default.nix
b/pkgs/applications/window-managers/fluxbox/default.nix
new file
It seems that some versions of haskellPackages define ghcWithPackages, and
others do not.
I have been following the approach described at
https://nixos.org/wiki/Haskell#Using_cabal_in_the_direct_installation_scenario
under the heading Local use via Nixpkgs config.
If I use
Hi!
I have been lurking here on the list for a while but haven’t said much (if
anything) yet. I’ve been looking at and toying with Nix(OS) and it appears like
a really nice way forward for our hosting platform for which we currently
leverage Gentoo plus a lot of custom code.
It’s funny that
Dang. The link was the one to the party invitation only.
If you want to join the sprint, we’re organizing on meetup:
http://www.meetup.com/DevOps-Sprint/
Cheers,
Christian
On 18. Aug2014, at 16:27, Christian Theune c...@gocept.com wrote:
Hi!
I have been lurking here on the list for a while
On 08/18/2014 02:43 PM, Tim Barbour wrote:
It seems that some versions of haskellPackages define ghcWithPackages, and
others do not.
I have been following the approach described at
https://nixos.org/wiki/Haskell#Using_cabal_in_the_direct_installation_scenario
under the heading
So go on! It is here now:
https://github.com/NixOS/nixpkgs/pull/3656
2014-08-18 10:18 GMT-03:00 Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk:
On 08/18/2014 01:43 PM, Anderson Torres wrote:
WOW! O.O I like it!
Can I put it on my personal Nixpkgs fork? :)
2014-08-18 5:28 GMT-03:00 Jack Ryan
11 matches
Mail list logo