<clever>
infinisil: it will cache the result of `import <nixpkgs>` but not the result of calling that with {}
<clever>
infinisil: it will use roughly twice the ram and take roughly twice as long, assuming its using identical parts of a and b
<clever>
tobiasBora: if your channel is called nixos, then you need nix-env -iA nixos.raspberrypi-tools instead
<clever>
logzet: my laptop has 3 proper usb ports, and the webcam in the display is also usb based, lsusb only claims 2 root hubs
<clever>
tobiasBora: the vcgencmd binary should allow reading the current clocks
<clever>
tobiasBora: i dont think it causes any underclocking
<clever>
Dezgeg: there are some overclock flags in config.txt that mess with the uart clocks, but linux isnt aware of that, so the uart can run slow or fast
<clever>
115200 is fairly normal
<clever>
tobiasBora: thats still managed by config.txt in the same way
<clever>
its already tied to the bluetooth, the error is because its used by both bluetooth and console=ttyAMA0,115200n8
<clever>
try removing the ttyAMA0 entry
<clever>
tobiasBora: you are using all the serial ports as serial consoles, so the bluetooth one is being messed with
<clever>
console=ttyS0,115200 without any other console='s, is enough to get a shell when under qemu
<clever>
i would expect the above to at least print something, due to the loglevel=7
<clever>
tobiasBora: for each console= on the cmdline, the kernel will print dmesg to it, and the last one that appears will be /dev/console, which is used for a login prompt if systemd enables that
<clever>
the wifi chip in the rpi can transmit arbitrary IQ signals on 2.4 or 5ghz
<clever>
thoughtpolice: for example, if i import 2 different files, and both happen to contain { a = 5; }, how hard would it be to ensure both parse to the same Value* ?
<clever>
thoughtpolice: the tricky part is ensuring every creation of a value does that, and updating the references
<clever>
thoughtpolice: a secondary idea i had, but it would be a decent amount of work, is to store every single Value in a giant hash table, and after a thunk has been forced, check the hash table to see if you just duplicated the result, and optionally merge
<clever>
thoughtpolice: rather then re-computing a giant attrset and duplicating its values (50 times), it can just reuse it
<clever>
thoughtpolice: the memoise branch was able to shave 3.5gig off one of the evals ive been fighting
<clever>
thoughtpolice: but it has to perform a deep equality comparison between lambdas, and that results in infinite recursion in the stdenv
<clever>
thoughtpolice: the change turned out to not work right anyways, i was trying to modify the import function to always call memoise on everything
<clever>
thoughtpolice: it was simpler to reuse the code for parsing a string (used by -E) and take the Expr* it made
<clever>
thoughtpolice: i tried making some "simple" changes with ExprVar and ExprApp, and it just segfaulted endlessly
<clever>
ah
<clever>
tazjin: pkgs.fetchFromGithub ?
<clever>
tobiasBora: yeah, thats a nixos option, seperate from nixpkgs and nix
<clever>
tobiasBora: that is a list of strings containing ssh pubkeys, and it will add them when you re-deploy
<clever>
sir_guy_carleton: those are available by default, but nix-shell --pure will exclude them
<clever>
iqubic: thats a tar file, so you have to unpack the tar file first
<clever>
sir_guy_carleton: yes
<clever>
yes
<clever>
iqubic: check the memtest pages i linked, there is a download page
<clever>
nix-shell is just a shell
<clever>
nothing is stopping you from running vim inside nix-shell
<clever>
iqubic: run the vim inside the shell
<clever>
iqubic: yes
<clever>
yeah
<clever>
iqubic: give you a shell with the things defined in shell.nix
<clever>
iqubic: shell.nix is just the default file that nix-shell reads when given no args
<clever>
and if you need to use python3, use nix-shell -p 'python3.withPackages (ps: [ ps.tkinter ])'
<clever>
2018-07-11 23:53:17 < clever> iqubic: thats why you dont install python or libraries, thats why you put that expression into a shell.nix for each project
<clever>
because you installed python, you are able to run the installed one, which lacks tkinter
<clever>
iqubic: i have 95gig of swap..., but its not on any zfs volume
<clever>
Dezgeg: yep
<clever>
> unrar.meta.license
<clever>
> unrar.meta
<clever>
probably just pkgs.unrar
<clever>
ah
<clever>
,locate unrar
<clever>
,locate bin/unrar
<clever>
iqubic: unrar x
<clever>
gchristensen: xfce has an option in its settings gui for that, dont know about i3
<clever>
gchristensen: the gconf daemon has to be running
<clever>
pie_: shell.nix
<clever>
thats what mine are at
<clever>
GeometryHeight=853
<clever>
GeometryWidth=1073
<clever>
then my xfce directions wont help much
<clever>
gchristensen: what desktop manager are you using?
<clever>
i think the electron side is the broken one
<clever>
chromium
<clever>
one anoying thing ive noticed, is that chrome has a good gtk file diaglog, with previews for images, but electron based apps have the identical dialog, without previews
<clever>
gchristensen: alt and left drag?
<clever>
gchristensen: try alt+space ?
<clever>
2018-07-11 20:18:18 < infinisil> static languages with compilers wouldn't have allowed this
<clever>
infinisil: it would also resolve symbols sooner on, and become a less dynamicaly typed language
<clever>
infinisil: yeah
<clever>
infinisil: so i can just edit configuration.nix, re-compile it, then run it to produce the .drv files
<clever>
infinisil: i dont mean a programming language that looks like nix, but turning nixpkgs into a dynamic library, and then turning configuration.nix into an actual executable
<clever>
infinisil: i'm wondering, could hnix and http://www.stephendiehl.com/llvm/ be jammed together, to translate nix files into ELF binaries?
<clever>
infinisil: the shear volume of data, and the need to perform api queries and deal with github rate limiting to get further data
<clever>
infinisil: i think the mongodb is just to store the raw json of the events, and then another program goes over that, and makes mysql rows
<clever>
description The Impact of Continuous Integration on Other Software Development Practices: A Large-Scale Empirical Study
<clever>
bgamari: you can also use `nix-instantiate --find-file nixpkgs` to see where nix thinks <nixpkgs> is
<clever>
"18.09pre144959.be1461fc0ab"
<clever>
[root@amd-nixos:~]# nix-instantiate --eval '<nixpkgs>' -A lib.version
<clever>
bgamari: yes, one sec
<clever>
infinisil: yeah
<clever>
infinisil: you must remove it from your files
<clever>
infinisil: nixops defines the option itself, so you cant rename it in your own files
<clever>
joehh: what if you run the failing nix command with -vvvvvv, what does it output?
<clever>
joehh: i dont expect nix to prefer v6 in that case, and the test script only hung because the last step forced v6 usage
<clever>
joehh: does `ip addr` show a v6 address not starting with fe80?
<clever>
joehh: and nix is prefering v6 when it shouldnt
<clever>
joehh: it looks like you have ipv6 enabled, but not working
<clever>
CouperinGTRameau: you have to make the derivation with haskellPackages.mkDerivation instead of stdenv
<clever>
joehh: what is the issue you are seeing?
<clever>
just edit configuration.nix on a different machine and nixos-rebuild
<clever>
you can more easily customize the initrd if it still fails
2018-07-11
<clever>
s/oot/boot/
<clever>
logzet: then you will have a non-live usb stick, that has a fully self-contained nixos that can freely be modified with nixos-rebuild, and have all changes persist
<clever>
logzet: partition and format the usb stick as-if you where doing a normal UEFI install, then mount the USB stick partitions under /mnt/ and generate some config, then set oot.loader.grub.efiInstallAsRemovable=true; and finish the nixos-install
<clever>
logzet: do you have nixos on anything else?
<clever>
to get anything more, you would need a proper lspci, which is tricky at this stage
<clever>
logzet: if you check lsmod, does it show ehci and xhci modules being loaded?
<clever>
logzet: they all look pretty standard
<clever>
1e31 7 Series/C210 Series Chipset Family USB xHCI Host Controller
<clever>
1e26 7 Series/C216 Chipset Family USB Enhanced Host Controller #1
<clever>
1e2d 7 Series/C216 Chipset Family USB Enhanced Host Controller #2
<clever>
logzet: it sounds like your missing usb drivers, confirming what devices you have
<clever>
less /nix/store/m2bwx92zkkjm1iwh1as2p23ih4gv0y1a-pciutils-3.5.6/share/pci.ids
<clever>
lol, 8086 is the VID for intel!
<clever>
logzet: what are the vid:pid pairs after each one?
<clever>
logzet: hmmm, and on closer inspection, 0c03 is 1.0, 2.0, and 3.0
<clever>
one is busybox lspci, the other is `lspci -nn` from pciutils
<clever>
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)