<clever>
If a large number of server names are defined, or unusually long server names are defined, tuning the server_names_hash_max_size and server_names_hash_bucket_size directives at the http level may become necessary.
<clever>
Zajcev: nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
<clever>
Zajcev: journalctl -u nginx | tail -n30
<clever>
Zajcev: how are you testing it, and how is it not working?
<clever>
pip3000: looks like nixos-unstable should have 13
<clever>
lfish: when done, you can ./result/bin/switch-to-configuration boot, to update the bootloader
<clever>
lfish: yep
<clever>
lfish: nix-store -r /nix/store/aj8yk779bng82q1z6a0i6mn2sv590dxm-nix-2.0.4 ; /nix/store/aj8yk779bng82q1z6a0i6mn2sv590dxm-nix-2.0.4/bin/nix-build '<nixos/nixos>' -A system
<clever>
infinisil: ah yeah, and i have sorta messed up my laptop before, by installing nix master
<clever>
lfish: you need to use the version {^_^} gave, after applying the variable expansion
<clever>
lfish: can you gist the whole error, and the cmds you ran?
<clever>
samueldr: yeah, it will need to be documented properly, it doesnt matter that much that the nix2 is recent, just that it can parse the nixpkgs
<clever>
samueldr: using the cmd {^_^} just gave, you should be able to upgrade almost anything
<clever>
--fast stops nixos-rebuild from trying to build the "right" nix, and just uses whatever is in PATH
<clever>
gchristensen: but checking the source, i can see that @nix_x86_64_linux@ isnt baked into the nixpkgs, so the cmd i gave lfish above likely wont work
<clever>
but if your nixos-rebuild is too old, it wont have the safety
<clever>
gchristensen: which will just use `nix-store -r` to download a compatible nix
<clever>
`_: what does `ps aux | grep nix-serve` show?
<clever>
`_: nix-serve does not support the signatures managed by `nix sign-paths`, you must give nix-serve the path to the secret, and it will sign things on-demand
2018-08-30
<clever>
kiloreux: probably
<clever>
it allows you to do .foo on the derivation to get the value, but the derivation itself has no clue its there, the value wont impact the computation of $out, and it doesnt have to be a flat string
<clever>
kiloreux: passthru is basically the same as (stdenv.mkDerivation { ... }) // { foo = "bar"; }
2018-08-29
<clever>
-f is a path
<clever>
bgamari: -f tells it to load the expression from a file
<clever>
bgamari: bugs in the `nix build` arg parser not detecting invalid choices
<clever>
-p generates a derivation to shell into, but a path points to one
<clever>
bgamari: you cant mix paths and -p
<clever>
can mostly ignore those
<clever>
kini: try `nixos-rebuild test --fast --option substituters ""`
<clever>
Zajcev: you would use whatever nix file you originally gave to `nixops create`
<clever>
nixops will then save that -I flag in the state file, and you dont have to remember to `export NIX_PATH` every time you deploy
<clever>
Zajcev: i generally do `nixops modify -I nixpkgs=https://nixos.org/channels/nixos-unstable-small/nixexprs.tar.xz ./deployment.nix`
<clever>
jtojnar: you could use LD_LIBRARY_PATH to inject the debug version of it into the search path
<clever>
yeah
<clever>
Lisanna: you uninstall by name, not attributepath
<clever>
Lisanna: once installed, nix-env has no clue what channel or attribute it came from
<clever>
michas: yeah, then you should be on the version you linked from github
<clever>
mpickering: what does `nix-channel --list` show for root?
<clever>
,pills
<clever>
nefix: pop that into shell.nix, and then just run nix-shell with no args
<clever>
with import <nixpkgs> {}; stdenv.mkDerivation { name = "foo"; buildInputs = [ go ]; }
<clever>
nefix: make a shell.nix file
<clever>
--delete-generations just gets rid of the GC root, so you can delete it
<clever>
if you want to actually remove the path from the store
<clever>
yeah, some of the command like stuff is a bit buggy with names
<clever>
then you can `nix-store --delete` it
<clever>
`nix-env --delete-generations 12` will get rid of generation 12
<clever>
nix-env -e /nix/store/hash-foo
<clever>
using the full storepath can make it simpler
<clever>
but .'s in the name can confuse nix-env
<clever>
the name is what is returned by -q
<clever>
d1rewolf: use -e with either the same storepath, or the name
<clever>
check nix-env -q to see it
<clever>
yep
<clever>
its in your current generation, you need to first uninstall it with nix-env -e
<clever>
ls -l /nix/var/nix/profiles/per-user/d1rewolf/profile
<clever>
ah, its in use by a generation of nix-env
<clever>
d1rewolf: and then run `nix-store --delete` on the path?
<clever>
d1rewolf: you want nix-store --query --roots
<clever>
its nearly 7am, i should get back to bed
<clever>
ldlework: *eyes line 8*
<clever>
its how the pkgs arg is even getting passed to you
<clever>
that should work on both nixos and home-manager
<clever>
ldlework: then just { yourthing, pkgs, lib, ... }: everywhere
<clever>
adamantium: mine though has uefi, nvme, and luks support
<clever>
adamantium: it looks like your script has more runtime configurability, while mine needs all inputs to be set in nix and rebuilt with nix-build
<clever>
baimafeima: the livecd has some nonfree firmware enabled, and all of the nonfree stuff is described in nixpkgs, but will only install if you enable unfree
<clever>
baimafeima: if you leave allowUnfree at the default of false, it will only allow you to install free software
<clever>
hyper_ch2: though, that is just how to patch the pre-built firefox, there is a second nix file for actually building it
<clever>
hyper_ch2: i have previously done my own re-encoding to watch things on an android tablet, and i found some of them recently, and they sounded like shit, lol
<clever>
hyper_ch2: it feels like the plex pass would unlock more features, and also avoid the problem of having to buy the app on every platform
<clever>
LnL: one area ive noticed where plex may still require payment, the android app stops playback after 90 seconds
<clever>
,libraries
<clever>
DenialAdams: nix-env -e
2018-08-28
<clever>
koselig: youll want to check for and maybe file a bug on nixpkgs then
<clever>
koselig: it looks like a bug within systemd.network, until its fixed you will want to set its enable to false
<clever>
koselig: and what does `sudo nix-channel --list` report?
<clever>
koselig: what does it output if you use --show-trace and can you pastebin your configuration.nix?
<clever>
Thra11: then why was the version= bumped?
<clever>
leotaku: your nix version is too new, you need to temporarily put the same nix version as the remote end in PATH
<clever>
Thra11: yeah, id say thats wrong, the url doesnt match the version
<clever>
if you try to nix-env -iA a set, it will install every package in the set, and they are installed "normally" so they show up in nix-env -q and can be updated/removed seperately
<clever>
johnny101: just do mystuff = { inherit (pkgs) firefox chromium; }; in your override
<clever>
johnny101: but there is a change you can do to get that data back, use a bare set instead of a buildEnv
<clever>
johnny101: there is no difference between installing and updating