<clever>
Darwin nixoss-iMac.local 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64
<clever>
angerman: and i'm in!
<clever>
ah yeah, need a darwin box, let me see if i still have ssh to sarov...
<clever>
angerman: i run into a different error on this end
<clever>
error: while evaluating 'assertValidity' at /home/clever/apps/nixpkgs-master/pkgs/stdenv/generic/check-meta.nix:248:20, called from /home/clever/apps/nixpkgs-master/pkgs/stdenv/generic/make-derivation.nix:273:18:
<clever>
while evaluating 'getOutput' at /Users/angerman/Projects/iohk/nixpkgs/lib/attrsets.nix:464:23, called from /Users/angerman/Projects/iohk/nixpkgs/pkgs/development/interpreters/perl/default.nix:22:13:
<clever>
angerman: what happens if you try to build perl with a similar command?
<clever>
angerman: that sounds like a bug with one of the libraries being set wrong, the error at the end should say which
<clever>
angerman: at a glance, i would expect that to work, what error does it have?
<clever>
you can then do baz.foo
<clever>
and then you do let baz = import ./file.nix; in ...
<clever>
localstore: if the file contains { foo = "bar"; }
<clever>
localstore: you just have a naked expr
<clever>
localstore: a let block must be key=expr; pairs
<clever>
that will return whatever the file contains
<clever>
localstore: in a let block
<clever>
localstore: gist also helps a lot in this situation, it supports multiple files, so you can just include the whole thing and the line numbers survive
<clever>
import is a nix primitive, to just load a file and get whatever value is in the file
<clever>
imports is a list of nixos modules
<clever>
localstore: use normal import to load a file, not imports
<clever>
betaboon: stationeers needs a font installed into the prefix, or half the text is just missing
<clever>
the nixpkgs winetricks is a different wine version, and the proton winetricks isnt patched
<clever>
only time its been nixos specific for me, was when i had to run winetricks on the proton prefix from steam
<clever>
ehh, yeah
<clever>
betaboon: maybe write it up on the nixos wiki?
<clever>
they both compress on-demand, and dont know how big the compression will be
<clever>
nix-serve has the same limitation as hydra
<clever>
ivan: what is the url to that faulty narinfo?
<clever>
ivan: hydra cant report the compressed size, because it compresses things on-demand
<clever>
ivan: what is the url to that narinfo?
<clever>
ivan: within there, will be the compressed and uncompressed size
<clever>
ivan: for a given /nix/store/<hash>-<name>, curl https://cache.nixos.org/<hash>.narinfo
<clever>
hpfr[m]: acpid already handled those just fine, in the pre-systemd days
2019-08-24
<clever>
Miyu-chan: id say just make a shell.nix that provides the right nixops, and tell people to run nixops inside nix-shell
<clever>
Miyu-chan: ahh, a bug in the disk image its using
<clever>
vika_nezrimaya: $TMP is already pointing to a temp dir you can use
<clever>
Miyu-chan: how was the machine installed, what actually owns the file?
<clever>
aria: its updated to whatever is defined in nixpkgs, which may not be the very newest
<clever>
Miyu-chan: chown 0:0 -R /nix/store ?
<clever>
aria: it gets updated automatically when nixos-rebuild updates everything else
<clever>
GiGa: you may need to reboot as well, to load the kernel modules
<clever>
GiGa: remove it from systemPackages, the enable does that for you
<clever>
GiGa: how did you enable virtualbox in configuration.nix?
<clever>
GiGa: is virtualbox visible in `lsmod` ?
<clever>
so your not really gaining anything by switching
<clever>
i dont think systemd supports mirroed boots at all?
<clever>
ah, ive never tried the mirrored boots
<clever>
for basic usage, the 1 line above is all you need
<clever>
srhb: grub makes far more sense
<clever>
dont explain anything!
<clever>
it helps when people make the interface ultra-minimal :P
<clever>
no need to reinstall anything
<clever>
madhukar93: that one line should fully switch you over with zero problems
<clever>
matthuszagh: you can also set this, so it wont ask for a pw
<clever>
services = {
<clever>
if you booted it before, then its no longer the initial bootup, and it will persist whatever you set with passwd
<clever>
matthuszagh: you need to delete the nixos.qcow2 file in the current dir, so it recreates root, and obeys initialPassword
<clever>
matthuszagh: what type of vm is it?
<clever>
matthuszagh: initialPassword only works on the first creation of the user
<clever>
> "${./.}"
<clever>
> toString ./.
<clever>
also, toString, and "${ behave differently
<clever>
if its for nix-shell, make a new derivation, that has both python.withPackages and the non-python stuff, in the buildInputs
<clever>
but the dpkg database was lost, so it was imposible to update anything
<clever>
the root disk survived, and the machine could still boot
<clever>
because i abused pvmove too much
<clever>
the main LV, was split into 24 fragments, scattered over 3 PV's
<clever>
funnily enough, i still have a printout of the lvm metadata, on paper
<clever>
gchristensen: for extra fun, it was one drive out of 4 in an lvm array
<clever>
gchristensen: cascading failures!
<clever>
gchristensen: which pushed the aging hdd over the edge
<clever>
gchristensen: linux treated that as holding the break signal, constantly, and spammed the error logs
<clever>
gchristensen: when it failed hard, it left the power led dimly lit, and pulled the serial port lines low
<clever>
gchristensen: the windows machine was tied to the serial console on the linux machine
<clever>
the windows machine eventually died a painful death, it took out its own motherboard, power supply, and the hard-disk of a neighboring linux box!
<clever>
my setup was weird
<clever>
but funnily enough, the mirc script was using tcp to talk to a daemon on linux to trigger the beep