<clever>
WhittlesJr: you either need to setup cross-compiling of nixos (tricky), or just set nixpkgs.system = "aarch64-linux"; i think, and it will build on the pi's
<clever>
ahhh, i see
<clever>
WhittlesJr: then nixops will only ever use that revision, and ignore what the host has
<clever>
WhittlesJr: i prefer doing `nixops modify -d name deployment.nix -I nixpkgs=https://github.com/nixos/nixpkgs/archive/rev.tar.gz`
<clever>
sphalerite: i think domenkozar got some of that stuff working
<clever>
gchristensen: does `nix show-derivation` help?
<clever>
yeah, ~/.config/nixpkgs/config.nix has replaced it
<clever>
kiloreux: are you using .overrideAttrs (drv: { ... ?
<clever>
kiloreux: the drv attribute that overrideAttrs passes you, has the original installPhase
<clever>
so you need to installPhase = drv.installPhase + "\nyour additions";
<clever>
which has the side effect of breaking pre/post install hooks
<clever>
chromium overrode the installPhase
<clever>
kiloreux: oh, and i see your problem
<clever>
kiloreux: chromium is a weird package, because the attribute in pkgs is already a wrapper
<clever>
kiloreux: with overrideAttrs
<clever>
but once built, you can copy it to a less capable machine
<clever>
it needs nix 2.0 fully working, and i think namespaces, to build it
<clever>
symphorien: so a machine with working 2.0 can build a /home/clever/nix/store that is temporarily stored at /home/symphorien/rootfs/home/clever/nix/store
<clever>
symphorien: that mixes nix 2.0's ability to work on a store where / isnt at /, and the vars you mentioned, to make a store that isnt in /nix/store/
<clever>
it has no userland tools to deal with such situations
<clever>
xfs just lacks the ability to recover such a journal
<clever>
and the endianess was flipped from my x86 machines
<clever>
biggest issue i had, is that it just ceaseed booting one day
<clever>
sphalerite: i ran gentoo on sparc a few years ago, and i still have the hardware
<clever>
MoreTea: try [ (import ./default.nix) ];
<clever>
YegorTimoshenko[: i think NIX_CONF_DIR can change where it looks for nix.conf
<clever>
srid: the latest bluetooth stuff has lost its alsa support, and you must run a pulseaudio to get audio
<clever>
oh, lovely, now pulseaudio doesnt work in chrome
<clever>
i think i'm even getting more tabs per process
<clever>
Dezgeg: it somehow feels like chrome started faster
<clever>
Dezgeg: neatly 2000 of them are shm handles
<clever>
Dezgeg: yikes!
<clever>
4753
<clever>
[root@amd-nixos:~]# ls -l /proc/445/fd/ | wc -l
<clever>
but its never affected the master process before
<clever>
i have had problems in the past, that i tracked down to a single renderer process opening so many sockets that it commited suicide
<clever>
i set the limit to 64k,and chrome lowered itself to 8k
<clever>
Max open files 8192 65535 files
<clever>
Limit Soft Limit Hard Limit Units
<clever>
ive been increasing it to 4096 for months, for just chrome
<clever>
security.pam.loginLimits time...
<clever>
gchristensen: and now chrome refuses to launch
<clever>
#6 0x556519b757a5 [17670:17703:0320/101623.355468:ERROR:socket_posix.cc(91)] CreatePlatformSocket() returned an error, errno=24: Too many open files (24)
<clever>
and it is now 10am
<clever>
according to datadog, it froze at 23:40
<clever>
7449 store paths deleted, 7971.25 MiB freed
<clever>
unleash the garbage man!
<clever>
arp was up, but sshd hung mid way thru auth
<clever>
this is likely also why it stopped responding to begin with
<clever>
and it boots!
<clever>
gchristensen: now that i know the issue, i can just manually destroy a few snapshots from the initrd, and reboot
<clever>
but the way nixos boots is a bit special
<clever>
gchristensen: id expect it to fail in a lot of places, not hang hard
<clever>
it always hangs when mounting /
<clever>
if you have 0 bytes free, you cant boot!
<clever>
found a critical problem with zfs on nixos
<clever>
ottidmes: pid 1 will adopt any orphaned processes, which makes it harder to see what started them
<clever>
yeah, that sounds likely
<clever>
pid 1?
<clever>
ottidmes: what is the parent of firefox-wrapped?
<clever>
ottidmes: check `ps -eH x` while firefox is running, and follow the tree up
<clever>
or wrap it with a bash script that redirs to null
<clever>
the only way to not do that, is to run it from a terminal
<clever>
i believe it would inherit the stdio of the window manager, and wind up in display-manager.service's logs anyways
<clever>
cransom: i use zfs for my backend
<clever>
lol
2018-03-19
<clever>
and also modern browsers just not even showing one
<clever>
noobs that cant see the loading bar in a browser
<clever>
infinisil: thats likely what they where thinking of :P
<clever>
and tell you to not to f5 the thing, and that its actually working :P
<clever>
and the parent frame would re-assemble it
<clever>
as each tag came in, the browser would eval the "inline javascript"
<clever>
then relayed that out of an iframe with .sendMessage
<clever>
so they broke the javascript into 1024 byte strings, and did <script>s("....");</script>
<clever>
the core of the game itself was 6mb, and rather then use the progress bar built into the browser, they wanted to re-theme it
<clever>
Dezgeg: a game i used to play implemented its loading ui as javascript inside javascript
<clever>
the minification also makes `grep -r` rather unusable
<clever>
Dezgeg: i think its a map file to allow you to undo the minification effects on a backtrace
<clever>
the files differ in content but have identical length
<clever>
2 massive blobs, 8mb each
<clever>
gchristensen: what would you use?
<clever>
gchristensen: i'm trying to nix-build --repeat 1 something, and ive found a file that differs, but it doesnt have a single \n in it, so all the normal diff utils just fail horribly
<clever>
ah
<clever>
manveru: any reason you cant use fetchFromGitHub?
<clever>
manveru: what is fetchGit doing differently?
<clever>
so it has to download the 32bit versions of everything