Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 41413

Questions about Nix, the purely functional package manager and its usage and configuration.

1
vote
I'd suggest to use attribute paths, e.g. nix-env -iA nixpkgs.gcc8 in your case where "nixpkgs" is because you named your channel that way (NixOS users will typically use "nixos" name). The attribute … paths are unambigous, contrary to normal names. How to discover these? One way is e.g. adding -P to nix-env -qa queries. I usually use tab-completion in nix repl or browse the all-packages.nix …
answered Jul 9 by Vladimír Čunát
1
vote
Reading log should work. Did you specify the derivation? /nix/store/fdrm6kbm68vld3bhfjizv684ck725lyf-blog.drv …
answered Feb 8 by Vladimír Čunát
0
votes
The package puts it in ${pkgs.dovecot}/libexec/dovecot/maildirlock, so it's not even in directory that is normally put on $PATH. You can certainly work around it in some ways, e.g. modify your config …
answered Jan 3 '18 by Vladimír Čunát
8
votes
nix-store --delete /path Note that the path might be alive and thus refused to be deleted without --ignore-liveness and root privileges. …
answered Jul 26 '17 by Vladimír Čunát
2
votes
Most packages in nixpkgs don't have static libraries by default. You need to add glibc.static to build inputs to get static -lc, for example.
answered Jun 26 '17 by Vladimír Čunát
2
votes
I think nix-env-installed packages aren't found by systemd even on NixOS – and speaking of system services, I'd consider it a flaw if it were otherwise. (For user services this would make sense but I don't know the status of support.) …
answered Mar 5 '17 by Vladimír Čunát
1
vote
Guesstimate: have you ran nix-channel --update since dropping them? (not tested, etc.) You've dropped all channels from your user, according to the output. …
answered Jan 8 by Vladimír Čunát
3
votes
Nix uses quite a lot of flags for the clone, mainly to detach some linux namespaces. I expect your system doesn't support some of these for unprivileged processes. IIRC some distros chose that because of security concerns. …
answered Jan 16 by Vladimír Čunát
1
vote
I can't see any significant advantage in doing it, but maybe my use cases have been too simple in this respect. I prefer to watch ls -l /nix/var/nix/profiles/ and/or ls -l /nix/var/nix/profiles …
answered Dec 30 '17 by Vladimír Čunát
2
votes
Your expression works for me on current nixpkgs master. I would investigate if your NIX_PATH isn't taking some old <nixpkgs> that you didn't expect, e.g. geopandas isn't present on the 17.09 stable b …
answered Feb 16 '18 by Vladimír Čunát
1
vote
You can simply nix-env -f /path/to/custom/nixpkgs -iA your-package. Almost all dependencies in nixpkgs are pure, so the various versions on your system "don't affect each other". You can then nix-copy-closure that package to other machines, etc. …
answered Sep 10 '16 by Vladimír Čunát
1
vote
I would simply define the variable the way you want it in your ~/.profile.
answered Feb 18 '18 by Vladimír Čunát
2
votes
The problem isn't in firefox build itself but in llvmPackages.compiler-rt. I think it's better to use the issue tracker for this kind of problems: https://github.com/nixos/nixpkgs/issues ... but let …
answered Jun 18 by Vladimír Čunát
6
votes
Yes, just create an expression for the single package. You can get dependencies from nixpkgs by pkgs = import <nixpkgs> {};.
answered Feb 9 '15 by Vladimír Čunát
3
votes
There's no specific tool for this. You may like the system.copySystemConfiguration option (see the docs for "caveats"). You'll get relatively close with nix-store -q --references /run/current … -system/sw – the list of nix store paths directly contained in systemPackages, but note that various NixOS options may add packages in there. …
answered Feb 6 '18 by Vladimír Čunát

15 30 50 per page