<clever>
robstr: oh, it might be that the default role changed and createdb doesnt know that
<clever>
robstr: are you able to destroy and re-deploy the aws machine?
<clever>
robstr: cant see any obvious problems with that code
<clever>
is your config on github?
<clever>
robstr: does stateVersion exist anywhere in your config?
<clever>
state cant always be updated
<clever>
robstr: the problem is more that you previously ran an older version on the aws machine
<clever>
so, it needs to know the version of the state, which is defined in the stateVersion
<clever>
but if your upgrading postgresql to a new version, it doesnt like the old state
<clever>
robstr: its more that postgresql works fine if the first time it booted is on the currentl nixos version
<clever>
robstr: if you dont care about the db, you can wipe the postgresql state and it will fix itself
<clever>
robstr: you changed the stateVersion
<clever>
angerman: something else that could help with incremental builds, seperate each library, executable, test, and benchmark into its own derivation
<clever>
that is part of what my qemu.nix module does
<clever>
nix-daemon hasnt been patched&configured to use binfmt-misc
<clever>
Myrl-saki: your trying to do a native arm->arm build, so it expects the cpu to be able to run arm binaries
<clever>
Myrl-saki: pong
<clever>
bgamari: angerman has been working on ghc cross-compile lately
<clever>
you would need some custom c code to even set that to see what happens
<clever>
thats likely also not valid
<clever>
i dont think dups and lacking = is valid
<clever>
sphalerite: vars can be set to nothing, i have seen users often doing `set NIX_REMOTE=` when i tell them to unset, and then it has a totally different effect
<clever>
though its not as obvious how its done
<clever>
hyper_ch2: so you never have scrollbars on your VM
<clever>
hyper_ch2: the gpu inside the virtualbox guest will change its resolution to match the window on the host
<clever>
grafoo: why does it need root?
<clever>
fyuuri: that is only used on the guest side
<clever>
sphalerite: so the client could only query the area a single monitor covers
<clever>
sphalerite: something else i just remembered, is that the vnc protocol allows you to query for changes within a certain region
<clever>
so you just resize the guest window, and the "monitor" shrinks to fit
<clever>
vbox with integrations also resizes the virtual gpu to match the window
<clever>
adisbladis: qemu does have an option to embed an smb share into the nat, but its not as nice as vbox's sharing
<clever>
fyuuri: virtualbox has a dedicated file sharing thing you can enable, which shows up as a drive in the vm
<clever>
i have win 10 in virtualbox
<clever>
srid: only system services
<clever>
srid: ah, it doesnt auto-restart user services
<clever>
srid: and also "${import /path/to/some.nix}"
<clever>
srid: do `import /path/to/some.nix` in nix repl
<clever>
srid: so if you move some.nix, and update the path, it would return the same value, and then systemd doesnt restart, because nothing actually changed
<clever>
srid: it depends on what the import returns, not the path given to it
<clever>
srid: you can also just specify ExecStart = foo;
<clever>
srid: yes
<clever>
and there is an old xorg module that can be loaded into the primary x
<clever>
sphalerite: ah, for that, you have 2 options, x0vncserver will basically screenshot constantly, and serve that up
<clever>
ah
<clever>
and the bash script vncserver deals with launching it for you
<clever>
sphalerite: there is also Xvnc, which is an entirely seperate x server, that uses vnc rather then a gpu
<clever>
nick_l: you have to use the python that pythonWithPackages generates
<clever>
and you cant copy/paste that
<clever>
ctrl+b also works
<clever>
nick_l: can you pastebin your nix expressions?
<clever>
nick_l: pythonWithPackages
<clever>
its not the block size
<clever>
depending on the order you import pools, and if other volumes get created
<clever>
it may
<clever>
2018-04-23 10:32:44 < clever> that number will be different every time you boot
<clever>
and i dont see any fields we can use to key it properly
<clever>
my -a shows it in a different format
<clever>
hyper_ch: also, add -a to the info command
<clever>
but once you find the right one, you will see the constant parts
<clever>
that number will be different every time you boot
<clever>
hyper_ch: now you can just change the 16 at the end and look around for the existing one
<clever>
hyper_ch: udevadm info -q property -p /devices/virtual/block/zd16
<clever>
hyper_ch: and the latency spiked
<clever>
hyper_ch: i saw a video of a guy in a datacenter graphing the latency of the hdd requests, and then he shouted at the server
<clever>
hyper_ch: on, now we need to query a param on that, let me see
<clever>
nick_l: lol
<clever>
nh: the nixos channel contains nixpkgs
<clever>
nick_l: that was for nh
<clever>
nh: thats why its doubling up
<clever>
nh: only one should have nixos
<clever>
nh: on one or both users?
<clever>
hyper_ch: which is why i said to spam-create more volumes, to see what the names look like
<clever>
nick_l: what does nix-channel --list show as both root and not?
<clever>
robstr: and it needs root to work
<clever>
robstr: its in iputils
<clever>
hyper_ch: you need to start with `udevadm monitor` to find the sysfs path when the device is created (spam more volumes? import/export?), then use some other cmd i cant remember to query the params on it, and write a rule based on them
<clever>
but it also cant pass thru a gateway/router/nat
<clever>
arping cant be blocked by firewalls
2018-04-22
<clever>
mikka231: even when dd'd correctly?
<clever>
also, the dd overwrites the filesystem, so it doesnt matter what it was before, and there is no need to mkfs.vfat it
<clever>
kisik21: ive not used the imperative containers, so i dont know how they differ
<clever>
but you can use declarative containers to just push a host image, that contains containers
<clever>
it doesnt support that
<clever>
kisik21: nixops can deploy either to a remote host, or to a local container
<clever>
:D
<clever>
keith_analog: then all of the variables are in one block and you only have a single let .. in ...
<clever>
keith_analog: its also a lot cleaner to do let foo=bar; foo=bar; foo=bar; in stdenv.mkDerivation { ...
<clever>
keith_analog: so bash is running each --flag as its own command
<clever>
keith_analog: line 86, 90, 94 and 98 are each on their own line
<clever>
keith_analog: you have newlines in your installPhase
<clever>
keith_analog: can you pastebin the nix file?
<clever>
kisik21: oops, wrong nick
<clever>
kisik21: can you pastebin the nix file?
<clever>
yep
<clever>
kisik21: thats pretty much how nixops works
<clever>
ragaba: .la files are not static libraries
<clever>
you have to override libXft to enable static libraries there
<clever>
ragaba: only dynamic libraries exist in that directory
<clever>
ls -l /nix/store/vg5sfgsg3kg7kk3081vi3xwxb4zb8ja7-libXft-2.3.2/lib
<clever>
ragaba: what is it not finding?
<clever>
ragaba: you may also need to override each of its inputs to enable static libraries on those
<clever>
once the client has booted, the server is no longer required
<clever>
this configures a netboot server, that runs the clients from a ramdisk