gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
<jtojnar> Where would I find /usr/lib/locale/C.UTF-8? On Debian it is in libc-bin (https://packages.debian.org/stretch/amd64/libc-bin/filelist), on NixOS I see no such thing in glibc or glibcLocales package
coot has joined #nixos
<tertle||eltret> mornin
BlessJah has quit [Ping timeout: 245 seconds]
ryanartecona has quit [Quit: ryanartecona]
<elvishjerricco> Currently, I've got Hydra running in a declarative NixOS container on my system. I _think_ this has buggy behavior with remote builders (not using a Darwin even though its in the "Manage machines" list), so I'm going to try to move the Hydra instance onto the actual machine instead of the container.
<elvishjerricco> What data files do I need to move over? Just the postgres DB, any keys, and the cache folder?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 5 new commits to master: https://git.io/vAPBQ
<NixOS_GitHub> nixpkgs/master 41c1a62 rnhmjoj: mpv: clean up options
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 1ec8eb9 Jörg Thalheim: mpv: also disable x11support on darwin
<NixOS_GitHub> nixpkgs/master ab59f0d rnhmjoj: mpv: add luasocket path
niklob has quit [Ping timeout: 245 seconds]
<mfiano> Can anyone recommend to me a decent deduplication backup package?
gm152 has joined #nixos
<mkaito> mfiano: I'm partial to borg and tarsnap for backup.
<mfiano> I used borg before I switched to Nix a few days ago. I was thinking that or restic
<mfiano> Nice to know others agree
BlessJah has joined #nixos
<samueldr> I personally use borg, for what it's worth :)
<mkaito> borg to rsync.net is really damn good.
kelleyNif has quit [Quit: Leaving.]
<samueldr> (I'm backing up to a distant server I own)
<mkaito> then borg is a good choice tbh
<samueldr> thing I like, is deduplication through backup archives even on multiple computers
Guanin has quit [Quit: Leaving]
<samueldr> I have my laptop and workstation, with shared duplicated files
<samueldr> (which I sync locally using unison)
<Acou_Bass> errm... is there any reason my firefox has become un-launchable by the KDE menu? it gives me a dialog box asking if im sure i want to launch it, then a sorry box saying 'unable to make the service firefox executable, aborting execution'
<mkaito> Acou_Bass: try executing via terminal. at least, it'll give you something more useful to work with.
<Acou_Bass> launching via terminal works fine, output looks like standard firefox output and the browser pops up :P
<mkaito> huh
kelleyNif has joined #nixos
<mkaito> then I don't know. no experience with KDE, no idea if it does something fancy.
<Acou_Bass> firefox.desktop is apparently located in ~/.nix-profile/share/applications which seems correct
<Acou_Bass> well... thats where KDE is looking, *but* that item isnt actually in that directory
<Acou_Bass> that may explain a lot
Sonarpulse_ has quit [Ping timeout: 240 seconds]
<Acou_Bass> i used to have firefox installed under my user profile via nix-env but ive added it to configuration.nix so i guess KDE still thinks its under my user
<mfiano> mkaito: whoa rsync.net is pretty cheap compared to tarsnap etc
<clever> Acou_Bass: read the path inside the extra firefox.desktop and maybe delete it
<mkaito> mfiano: it's awesome :)
<mkaito> could anyone give me advice on creating an overlay to change the version of bundler? (https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/ruby-modules/bundler/default.nix)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda closed pull request #35380: awsebcli: clean up derivation (master...awsebcli-cleanup) https://git.io/vA22I
NixOS_GitHub has left #nixos [#nixos]
<mfiano> I would probably get it if my VPS didn't give me a free 50gb ssd to attach
<Acou_Bass> clever: there isnt an extra firefox.desktop, the KDE menu was looking for my user-installed one under ~/.nix-profile but there wasnt one there - fixed though, ran kbuildsycoca5 which rebuil the applications menu \o/
<clever> Acou_Bass: ah
<clever> Acou_Bass: i dont know much about kde, but xfce seems to automatically detect changes to at least ~/.local/share/applications
<clever> adding files just magically adds them to the menu
ryantrinkle has quit [Ping timeout: 240 seconds]
<Acou_Bass> KDE usually does that too but guess this one was stuck :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda pushed 2 new commits to python-unstable: https://git.io/vAPEu
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable 920ef8a Robert Schütz: pythonPackages.pythondaemon: 2.1.1 -> 2.1.2
<NixOS_GitHub> nixpkgs/python-unstable 3836f79 Robert Schütz: pythonPackages.pythondaemon: move expression
<clever> /home/clever/.local/share/applications/chrome-apdfllckaahabafndbhieahigkjlhalf-Default.desktop
<clever> Acou_Bass: ive also got a number of odd files like this
<Acou_Bass> theyre chrome pinned apps arent they?
<clever> Acou_Bass: and a closer look, reveals that the hash is a chrome extension id
<Acou_Bass> ahhh
<clever> Acou_Bass: this one is to launch the google drive application
<Acou_Bass> weird
<clever> and chrome-gbchcmhmhahfdphkhkmpfmihenigjmpp-Default.desktop is chrome remote desktop
<Acou_Bass> yeah ive got one for skype because the 'real' skype desktop app is godawful so i just pin the chrome one :P
<clever> Name=Chrome Remote Desktop
<clever> Exec=/nix/store/2j0anj185jb0w7zxpp5q3q6cqib956ib-chromium-62.0.3202.62/libexec/chromium/chromium --profile-directory=Default --app-id=gbchcmhmhahfdphkhkmpfmihenigjmpp
michalrus has joined #nixos
<gchristensen> ryantm: I have 9 evaluators running, so when you're ready
erasmas has quit [Quit: leaving]
michalrus has left #nixos [#nixos]
<clever> gchristensen: are they multi-threaded?
<gchristensen> No
<ToxicFrog> Is there a writeTextFile-like function that returns the name of the written file?
<ToxicFrog> I need to write a bunch of one-line config files and refer to them by name and it's aggravating needing to, well, have a bunch of one-line config files lying around
<clever> ToxicFrog: try just writeText ?
digitus has quit [Quit: digitus]
<clever> ToxicFrog: it accepts just 2 arguments, name: contents:
sigmundv has quit [Ping timeout: 240 seconds]
<ToxicFrog> clever: I will give that a shot!
<ottidmes> I am trying to kexec into a different kernel/initrd from the current initrd, everything is working fine, except that I seem to be unable to mount the boot partition. The problem is that I have to re-read the partition table of the disk that contains the boot partition, but /dev/sda1 somehow still refers to the old table (in the old table it only had /dev/sda1), when I try to mount /dev/sda2, that one works
<ottidmes> without issue
jackdk has quit [Remote host closed the connection]
<duncan^> ottidmes: That sort of stuff is handled by the initrd that you load with kexec; after you warm-boot a given kernel and ramdisk, it doesn't care about the old stuff.
<mfiano> mkaito: Do you backup your whole system or just your homedir? I think on Nix the latter only makes sense right?
<ToxicFrog> clever: so where is it? It's not in `lib` or `pkgs`, and the nixpkgs manual uses it in a few examples but doesn't actually document it anywhere
<clever> ToxicFrog: it should be in pkgs
babyflakes has joined #nixos
<clever> nix-repl> pkgs.writeText
<clever> «lambda»
<ottidmes> duncan^: The problem is, in order to tell kexec which kernel and initrd to load, it needs access to the /boot partition (in my use case), but I think I have a fix, I just need to force it to overwrite existing entries (in my case just /dev/sda1) as well, which according to the topic I am reading can be done with partx, so I am trying that now
coot has quit [Ping timeout: 256 seconds]
<duncan^> wouldn't whatever came before you run kexec allow you to access the boot partition in question?
<nkaretnikov> any agda users here? how do i install it, so that it can find its stdlib? fwiw, i have these packages installed via nix: Agda-2.5.3, agda-prelude-0dca24a81d417db2ae8fc871eccb7776f7eae952, agda-stdlib-0.14 cc: copumpkin
<duncan^> It sounds less like a question about kexec tbh
<ToxicFrog> clever: found it, I wasn't editing the file I was nixos-rebuilding >.<
<ottidmes> ToxicFrog: I find the implementation quite understandable, so it might help: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/trivial-builders.nix
<ToxicFrog> ottidmes: I actually found that first and then disregarded it because it was not at all evident that it evaluated to the file path
<ottidmes> duncan^: It isn't a question about kexec, but about the preparation for kexec to work that I am running into problems
kelleyNif has quit [Quit: Leaving.]
kelleyNif has joined #nixos
kelleyNif has quit [Client Quit]
<nkaretnikov> nevermind, just foud my old notes: https://github.com/NixOS/nixpkgs/issues/15617 will try that first
<ryantm> gchristensen: I'm up to 170 that I need to process :)
aarvar has joined #nixos
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #nixos
dan_b has quit [Ping timeout: 245 seconds]
<clever> ottidmes: kexec?
ryanartecona has joined #nixos
sanscoeur has quit [Ping timeout: 252 seconds]
<ottidmes> clever: Yeah, so I am using the native disk encryption of my SSD
aarvar has quit [Remote host closed the connection]
<ottidmes> clever: For which I use sedutil to (un)lock it
<clever> ottidmes: ah
<ottidmes> clever: But I do not like that I have to reboot every time I unlock it (every cold boot)
<ottidmes> clever: Problem is, that because sedutil first use a shadow partition table, I need to unlock it and then re-read the actual partition table, before I can mount /boot to kexec in the actual kernel/initrd
<ottidmes> clever: The idea being that I won't want to reinstall that shadow image every rebuild of nixos (not realistic)
aarvar has joined #nixos
<clever> ottidmes: what happens to the shadow partition table when you unlock?
<ottidmes> clever: If you unlock it, the shadow table goes away, but the kernel still thinks it is there
<clever> ottidmes: ahhh, and then you have zero way to update the shadow
<ottidmes> clever: So most just choose to reboot, but I am trying to refresh the table without rebooting, which works for non-existing partition numbers
<clever> ottidmes: ah, so you want to wipe the read cache and partition table cache
<clever> ottidmes: thats easy
<clever> ottidmes: first, if you `echo 1 > /proc/sys/vm/drop_caches` the kernel will just discard all caches
<clever> partprobe /dev/sdX
<ottidmes> clever: Do tell :P I googled, but all solutions fail in one way or another
<gchristensen> Ryantm any estimate how many total?
<mfiano> I'm a bit confused how I'm supposed to develop Common Lisp on NixOS. I mean, I can no longer dump ELF binaries of my environment.
<clever> ottidmes: and this command will force it to rereat the tables
Otis has joined #nixos
<ottidmes> clever: Yeah, I found partprobe, hdparam -z, partx -a, blockdev --rereadpt, they all basically do the same, re-read the partition of the given device, but partx -a, which I just tried, will fail on that partition 1 that was already there due to the old shadow table
<ottidmes> clever: I haven't seen or tried the /proc thing, will try that now, thanks!
<clever> ottidmes: you also need to ensure you umount the partition before you partprobe
gm152 has quit [Ping timeout: 256 seconds]
MP2E has quit [Remote host closed the connection]
<clever> ottidmes: ive also had an idea for a software i want to write, that does a lot of what your doing
<clever> ottidmes: basically, the rollback options in grub are useless on remote machines
<ottidmes> clever: Weird thing is, I get things like no such device or invalid argument when I try to do things on that /dev/sda1 (the one parititon in the shadow table, which happens to be the boot partition in the new table)
<clever> ottidmes: check /proc/partitions and see if it has updated
<clever> and dmesg
MP2E has joined #nixos
<mfiano> I might have to have a non-NixOS machine for programming/work if this can't be used to test lisp images.
<clever> ottidmes: my idea, is to have a thin OS (like what you have), that reads grub.conf and sets up the network for remote access for 30 seconds
<ottidmes> clever: like: umount /dev/sda1: invalid argument, wut? it exists when I use ls /dev/sda*
<clever> ottidmes: then either boots the default, or gives a network accessible boot menu
<clever> ottidmes: what about cat /proc/mounts ?
<ottidmes> clever: cat /proc/mounts gives me just the special file systems, no disks
<clever> ottidmes: then you dont need to umount it
<clever> ottidmes: and /proc/partitions ?
<ottidmes> clever: shows me the same as what I saw with ls, but I do notice the #blocks giving me the old value, i.e. the size of the shadow partition
<clever> ottidmes: try drop_caches and partprobe again?
judson has quit [Ping timeout: 252 seconds]
jackdk has joined #nixos
<ottidmes> clever: That seems to have fixed the #blocks size! But when I try mount /dev/sda1 /boot, it still errors with invalid argument strangely enough
<clever> ottidmes: what does dmesg say?
<ottidmes> clever: When I give it a fstype, mount -t vfat /dev/sda1 /boot, it gives me: no such device
<clever> ottidmes: ls -l /dev/sda1 shows what major/minor on the block device?
<clever> brw-rw---- 1 root disk 8, 1 Dec 8 00:37 /dev/sda1
<clever> 8,1 in my case
<clever> and does it match up with /proc/partitions ?
<clever> 8 1 76052568 sda1
<ottidmes> brw------ 1 root root 8, <some timestamp> /dev/sda1
<clever> there is a number before that timestamp that is important
<ottidmes> clever: jep, the major and minor where the same
<clever> oh, another idea
<clever> check lsmod, find the driver for sata drives
<clever> rmmod, then modprobe
<ottidmes> clever: Whoops it auto-shutdowned (I implemented that remote access + timeout if you do not unlock in time)
<clever> ottidmes: lets try unloading sd_mod and reloading then
<clever> if it works right, sda should vanish from /proc/partitions
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vAPal
<NixOS_GitHub> nixpkgs/master 79c876b Tim Steinbach: fira-code: 1.204 -> 1.205
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> clever: It rebooted, partprobe was enough to fix the cache, no need for that echo 1 > /proc/..., I am now trying your modprobe suggestion
<clever> i think the modprobe will also eliminate the need for partprobe
<mfiano> I've been staring at this all day wondering how to get actual work done on NixOS :(
<ottidmes> clever: Can confirm, modprobe -r sd_mod removes all entries except ram from /proc/partitions
<clever> ottidmes: and then just reload it with `modprobe sd_mod`
<ottidmes> clever: I did that, it added them back to /proc/partitions, unfortunately it still errors with no such device
<clever> ottidmes: dang :(
<ldlework> clever what's going on in my gist?
<ottidmes> clever: It is unforunate that it does not give me any more to go on than, no such device, since there obviously is such device, it shows up in all lists
<clever> ldlework: are you using the right version of python?
<ldlework> yes..
<clever> ldlework: what are you doing?
<ldlework> just starting python and importing urlparse?
<clever> ldlework: weird
<ldlework> ya
<ottidmes> clever: I still have a lead, when I try to mount the partition of my USB stick, it also gives me: no such device
<clever> ottidmes: weird
ryantm_ has joined #nixos
<ryantm> gchristensen: I'm going to start doing more PRs now.
thc202 has quit [Ping timeout: 256 seconds]
<gchristensen> Ryantm: http://butt.holdings/
ryantrinkle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35907: msilbc: 2.0.3 -> 2.1.2 (master...auto-update/msilbc-2.0.3-to-2.1.2) https://git.io/vAPVn
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> clever: And /dev/sda2 (btrfs partition of re-read table) is doing fine with just: mount /dev/sda2 /boot, so maybe it has to do with fat filesystems, I do not know. I have to go to sleep now. You gave me some great suggestions I would not have thought of, thanks for the help!
<clever> ottidmes: one last thing
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35908: msitools: 0.94 -> 0.97 (master...auto-update/msitools-0.94-to-0.97) https://git.io/vAPV2
NixOS_GitHub has left #nixos [#nixos]
<clever> ottidmes: these commands are for sata hotplug, they let you safely disconnect, and reconnect a sata drive with the machine on
<clever> ottidmes: i would also expect these commands to fully wipe all related caches and re-initialize things
<clever> gchristensen: try -n instead
<clever> gchristensen: if you -n the room, then NixOS_GitHub can msg without joining
<clever> which cuts the spam down to 1/3rd
<gchristensen> we went +n due to spam
<clever> we can +n again after ryan is done with his own spam :P
<gchristensen> mehh...
<mfiano> That bot is always noisy. Would better fit the dev channel I think
jackdk has quit [Ping timeout: 256 seconds]
ryanartecona has quit [Quit: ryanartecona]
<ottidmes> clever: The disconnects works nicely, the hotplug scan does not, but I probably have to use a different channel, not sure how to determine that though
<clever> ottidmes: brute-force is what i do
<clever> ottidmes: just try each one until it works
BombStrike has joined #nixos
<ottidmes> clever: Brute force worked, unfortunately still the same errors, but this should be enough evidence that the error is not caused by refreshing the table, but with some mount issue
<clever> ottidmes: its possible that the drive itself is demanding that you reboot
boomshroom has joined #nixos
<mfiano> where does the minimal installation cd download files to during nixos-install?
<clever> ottidmes: and wants the bios to re-initialize it
<boomshroom> Hello!
<clever> mfiano: the host /nix/store, which is in a tmpfs
<mfiano> It failed running out of space, but /mnt has 18gb free
<clever> gchristensen: heh, i was just thinking it should be added to {^_^}
<mfiano> huh
<clever> mfiano: check df -h and youll see something that is nearly full
<gchristensen> clever: yeah, it should be really easy. This function is literally all I need.
<clever> gchristensen: ah
<gchristensen> I just don't have the time to write it, I guess
<mfiano> clever: Yeah /iso and /nix/store
<boomshroom> I wanted to build another cross-compiler. (I mean, who really wants to build software their current environment can run anyway.) I wanted to thank whoever told me about pkgsi686Linux.stdenv.mkDerivation.
<clever> mfiano: and also .rw-store
<acowley> What's up with travis build failures talking about rake and other ruby-isms on nixpkgs PRs?
<ottidmes> clever: Could be, I based the idea on someone's project on github, so apparently it can be done, but maybe not with my particular SSD, strange though that I can mount my second partition without issue
<mfiano> clever: I'm trying to deploy to a 512mb vps
bsima has joined #nixos
<acowley> Does travis assume a ruby project if there's nothing else to go on?
<clever> mfiano: enable some swap then
<clever> mfiano: and resize the .rw-store tmpfs with `mount /path/to/it -o remount,size=1g`
<mfiano> clever: hmm, i only have 20gb of ssd space. was hoping to have that all available for the store
<clever> mfiano: you can use a swap file on the same partition, and just delete it afterwards
mbrgm has quit [Ping timeout: 240 seconds]
<clever> mfiano: dd if=/dev/zero of=/mnt/swap bs=1024 count=$((1024*1024)) ; mkswap /mnt/swap ; swapon /mnt/swap
<clever> mfiano: that would make a 1gig swap file
<boomshroom> I decided to take a look at `pkgsi686Linux` and found that it calls `forceSystem`. I tried calling it directly at to my surprise, it actually tried to build something to build an stdenv for a foreign cpu! It imediately failed because the environment I was targeting wasn't in platforms.all, but it's a huge step!
<boomshroom> At this point, I'd like to ask if it's possible to run nix-shell and override allowBroken for the one call. Is it?
<mfiano> clever: swapon failed
<mfiano> swapon: swapfile has holes
<clever> mfiano: with what error?, and what FS are you using?
<mfiano> $ swapon /mnt/swap == swapon: /mnt/swap: swapon failed: Invalid argument
<clever> mfiano: what FS are you using?
<mfiano> btrfs
<clever> mfiano: ah, that doesnt support swap files, one min
pxc1 has quit [Ping timeout: 240 seconds]
<boomshroom> It would also work if it could be set while invoking forceSystem.
<clever> mfiano: dang, btrfs has no swap file support, how big is /boot ?
<mfiano> there is no boot
<mfiano> the vps install instructions recommend using all storage for /mnt
<boomshroom> I are an idiot because what is a Google?
<clever> mfiano: dang, you might have to use an older nixos install image
<clever> mfiano: one where nixos-install uses /mnt properly
<mfiano> ugh i am running out of luck today
mbrgm has joined #nixos
acarrico has quit [Ping timeout: 256 seconds]
<ottidmes> clever: modprobe: FATAL: Module vfat not found in directory /lib/modules/4.14.20
<ottidmes> clever: That got to be it, when I check my running system it does have it
acarrico has joined #nixos
<boomshroom> If there's a problem with swap, what's wrong with using a swap partition?
<clever> ottidmes: boot.initrd.supportedFilesystems = [ "vfat" ];
<mfiano> boomshroom: extremely limited remote storage
<clever> ottidmes: nixos has to know which FS drivers to include into the initrd
<boomshroom> You want a remote swap?
<mfiano> i'm deploying to a vps with 512mb of ram and 20gb hd
<clever> mfiano: oh, btrfs supports raid like features, what if you just make a 2gig swap partition, then delete it and raid it into the main volume to regain the space?
<clever> mfiano: JBOD mode
<mfiano> hmm
sanscoeur has joined #nixos
<ottidmes> clever: Yeah I just check and I had boot.supportedFilesystems, not boot.initrd.supportedFilesystems, but, damn, why not give me a proper error message instead of those general errors that could be anything
<boomshroom> Looking into my most recent error, I found that stdenv/native doesn't seem to provide a bintools argument to build-support/cc-wraper.
jtojnar has left #nixos [#nixos]
jtojnar has joined #nixos
Supersonic has quit [Disconnected by services]
sanscoeur has quit [Ping timeout: 245 seconds]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
sanscoeur has joined #nixos
<ottidmes> About security and allowing SSH root access via key files, I tried to prevent the need, but things like nixops and znapzend need it, so I started using them. Is the general idea just that, if e.g. your laptop gets stolen, sure they could access the machines via the stolen ssh key, but that 1) means the thiefs needs to be tech savy, 2) you would immediately change the keys if such a thing were to occur
MP2E has quit [Remote host closed the connection]
d4g has joined #nixos
<duncan^> If your laptop gets stolen and your drive isn't encrypted and you're not storing your keys on the smartcard, immediately change the keys for crying out loud
<boomshroom> Looking at the other stdenvs, it seams like that particular one just hasn't been updated because it's not frequently used.
<duncan^> They don't need to be particularly tech-savvy to look in /home/ whatever user /.ssh/
* simpson . o O "Change the keys, for Godssake!"
<duncan^> So this is actually an argument for storing your keys on smartcards that are kept apart from the laptop, and it stops any random file discolsure bug in your unsandboxed web browser from disclosing your cryptographic keys
<ottidmes> Eh, to be clear, it is hypothetical, if it gets stolen
<duncan^> No it's not.
<duncan^> Laptops can get stolen quite easily
d4g_ has quit [Ping timeout: 245 seconds]
<simpson> I've had a corporate laptop stolen. Had to call into the 24/7 security line and had to rekey all my stuff. Sucked quite hard.
<duncan^> all it takes is some teenager with a knife threateing you
<duncan^> or nicking it while your back is turned
<simpson> I also had a personal laptop pinched when I was at university a decade ago. Very irritating.
<duncan^> Never had a laptop stolen, had money stolen though
<ottidmes> duncan^: But using a smartcard would break the whole reason for using them (the root keys) (for me at least) in the first place, or would they still allow automation (in the case of znapzend for example)
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
<duncan^> I'm sure you could work something out
<duncan^> Not my concern though
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
jtojnar has left #nixos [#nixos]
pkill9 has quit [Ping timeout: 245 seconds]
<mfiano> clever: how do i fix the grub error of my gpt not having a bios boot partition? i left 2mb unallocated
<clever> ottidmes: nixops can work with an ssh agent
<clever> ottidmes: so you can just delete the ~/.ssh/authorized_keys that gave nixops access, and use a password protected key in your agent
<clever> ottidmes: also, i luks every machine that is remotely portable
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/211309626af (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<ottidmes> clever: I encrypt all my machines
<clever> ottidmes: i also have an idea i want to experiment with, i'm thinking i can add a keyfile to my luks volume, and store that on an SD card in the SD reader of my laptop
yegortim1 has quit [Ping timeout: 255 seconds]
<ottidmes> clever: I can see how that would work for nixops, but that won't work for background services that needs root access right?
<clever> ottidmes: when i'm at home, leave the literal key in the laptop, and it boots without any prompt
<clever> ottidmes: when i leave home, take it out, and it becomes password based
yegortim1 has joined #nixos
<ottidmes> clever: Yeah, I have that, I even use a USB stick shaped as a key for that :P
<clever> ottidmes: what background services need root ssh?
<ottidmes> clever: znapzend in my case
<clever> ah
<clever> i think if you chmod and chgrp /dev/zfs, you can run some zfs commands without root
<clever> but that still gives them nearly root level access to a section of zfs
<gchristensen> ryantm: any more? ;)
<ottidmes> clever: I was experimenting with the sudoers file and a special user, it should help, but there will probably be still quite an attack vector left (it needs mount for example)
<clever> ottidmes: ive also seem that setuid and sudo can be very tricky to secure properly
<clever> ottidmes: fuse for example has a setuid binary to aid with mounting fuse FS's
<clever> ottidmes: and if the kernel doesnt support fuse, it will automatically execute `modprobe fuse` as root
<ottidmes> clever: Yeah, I read your comments about them a while back, scary stuff
<clever> ottidmes: it didnt sanitize the env, and modprobe obeys an ENV variable for its config, and the config can say "run this instead of loading fuse"
<clever> ottidmes: and if you just play with ulimit, you can break fuse trying to read /proc/filesystems, causing it to falsely think you dont have fuse
<clever> so now you have 100% root
kelleyNif has joined #nixos
<ottidmes> clever: That is why I gave up on the sudoers approach, although it might make things a little bit more complicated for an attacker, it probably won't do much on the grand scale of things
<clever> ottidmes: sudo does have options to fully wipe the env vars
markus1189 has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
mekeor has quit [Ping timeout: 240 seconds]
<Dezgeg> isn't the fuse module autoloading done by the kernel?
<ottidmes> clever: Yay! Just tried it, still errors (apparently the re-reading does not block, so I mount to early, I will just add a sleep call), but when I then manually mount it seems to work fine, thank you so much for all your help!
markus1199 has quit [Ping timeout: 248 seconds]
<clever> Dezgeg: i cant find it in the source, but the article i remember reading claimed it happened that way
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/211309626af (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<Dezgeg> changelog seems to imply it's done that way since 2005
<boomshroom> Quick question, does fetchFromGitHub initialize submodules?
<clever> boomshroom: it does, if you set fetchSubModules = true;
<boomshroom> clever: Thank you.
<boomshroom> Or not because `fetchurl/default.nix:38:1 called with unexpected argument ‘fetchSubModules’`
<clever> boomshroom: which version of nixpkgs?
<boomshroom> 18.03pre127921.9b25b9347d9 (Impala)
Otis has quit [Quit: Lost terminal]
<clever> boomshroom: ah, lowercase m
<gchristensen> ryantm: https://snapshot.raintank.io/dashboard/snapshot/6llR070nvRSx6bNs6egeQQvFI0wvP7kO I'll leave the extra 7 evaluators up over night in case you get a second wind
<boomshroom> That fixed it.
<boomshroom> Or at least it made it run. It didn't actually do anything. It didn't even notice the source derivation at changed at all.
m3lst4d has joined #nixos
m3lst4d has left #nixos [#nixos]
<mfiano> clever: i deleted swap and btrfs, then recreated btrfs partition to fill the disk, then mounted it and did a online resize to account for the new space and it worked
<boomshroom> `nix-store --delete`ing the old sources fetched the submodules correctly.
<clever> mfiano: ah, that also works
<clever> boomshroom: you have to tweak the hash, its a common issue
<clever> boomshroom: you left the hash unchanged, which is telling nix that the contents are unchanged
<clever> boomshroom: so nix doesnt bother checking for a new version
<boomshroom> clever: Ah, so it's a known issue. Well I got it working anyway, now I just wait for everything to download, and then build.
ottidmes has quit [Ping timeout: 265 seconds]
<mfiano> Is there anyway I can install the terminfo file of a terminal emulator without pulling in all of Xorg?
<mfiano> I can do this on other distributions, but I don't see a package in nixpkgs
<clever> [clever@amd-nixos:~/.local/share/applications]$ realpath /run/current-system/sw/share/terminfo/x/xterm
<clever> /nix/store/069g827lh3hrhp4vkcq3rsh5jh65pm3l-ncurses-6.0-20171125/share/terminfo/x/xterm
<clever> mfiano: its part of the ncurses package
<mfiano> No
<clever> mfiano: and it may already be installed, because you could be experiencing an xterm terminal, via ssh
<mfiano> Not xterm
<fearlessKim[m]> mfiano: I know termite has a terminfo output
<mfiano> I need termite.terminfo. Without it my ssh connection is choking when connecting with the termite terminal emulator
<clever> mfiano: termite.terminfo doesnt depend on anything else, so you should be able to just add it to systemPackages
<mfiano> Ah ok thanks. Hmm, I saw the install pull in xorg anyway, and gtk etc even though afaik systemPackages are all cli applications. How can I find out what is pulling all those in?
<clever> mfiano: run nix-store -q --tree /run/current-system
<clever> mfiano: then use / to search, and follow things up the tree
<mfiano> hmmm looks like gnupg depends on gtk
<clever> nix-repl> gnupg.meta.position
<clever> "/nix/store/pqs6qsjwfrjf0g3gf58drk16q1izby9i-nixos-18.03pre129076.831ef4756e3/nixos/pkgs/tools/security/gnupg/22.nix:56"
<clever> 6 , pinentry ? null, guiSupport ? true
<clever> nix-repl> gnupg.override { guiSupport = false; }
<clever> mfiano: and if you instead use this variant?
<mfiano> yeah and pinentry is the issue
rosa has joined #nixos
<clever> i see a pinentry_ncurses
<clever> you can also make a packageOverride that does pinentry = pkgs.pinentry_ncurses; to force it globally
<mfiano> how do I do `gnupg.override { guiSupport = false; }` in my config?
<clever> mfiano: do you currently have gnupg in a list somewhere?
null_ has joined #nixos
<mfiano> no
<clever> how did you cause gpg to be installed?
<mfiano> programs.gnupg.agent.enable = true;
<clever> mfiano: that installs whatever pkgs.gnupg maps to
<clever> so you can do a packageOverride that sets gnupg = pkgs.gnupg.override { guiSupport = false; };
<mfiano> I have to figure out packageOverride, ok
<clever> nixpkgs.config.packageOverrides = pkgs: { gnupg = pkgs.gnupg.override { guiSupport = false; }; pinentry = pkgs.pinentry_ncurses; };
<mfiano> clever: error: infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/top-level/all-packages.nix:3884:22
Arcaelyx_ has joined #nixos
Arcaelyx has quit [Ping timeout: 245 seconds]
<boomshroom> The git repos have been downloaded. Now to actually build them.
<clever> mfiano: and you did it exactly like i typed?
<clever> mfiano: oh wait, i think i know
<mfiano> yes
<clever> mfiano: change the pinentry one to pinentry = pkgs.pinentry.override { gtk2 = null; };
<wilornel> Hey #nixos! I have a user `bob` with a project ~/foo and a ~/foo/default.nix which declares a set of packages to install. I installed those with `nix-env -f . -iA myNewPackages` . I have a user `alice` with a project ~/bar with ~/bar/default.nix . When I do `nix-env -f . -iA myOtherPackages`, I get conflicts.
<wilornel> collision between ‘/nix/store/qbbmfkwaz32707xspbcym9j9jjxkxwnm-my-human-interface-packages/bin/redis-benchmark’ and ‘/nix/store/nyykx213z4hnrchzizm8mka135krb9ki-my-new-packages/bin/redis-benchmark’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
<wilornel> My expectation was that nixos would install only one package for redis and have the ~/.nix-profile` of each user point to the package correctly (through a series of symbolic links)
<mfiano> clever: that worked. What's a good way to see if i have any trace of X11 left now?
<clever> wilornel: does that file contain a buildEnv?
<wilornel> yes
<clever> mfiano: nix-store -qR /run/current-system | grep xorg
<clever> wilornel: nix treats that as a single package, and doesnt know it contains a copy of redis
<mfiano> clever: Isn't it possible for an x lib to be installed without that name in it?
<clever> mfiano: yeah, youll want to try a few greps
<clever> mfiano: you can also just sort by size, one min
<wilornel> How could I address that? Each buildEnv has a different name
<wilornel> I don't understand how it is a copy of redis
<clever> wilornel: the buildEnv is just a bin directory full of symlinks, pointing to redis
<mfiano> clever: libX11 is installed because of dbus, which is a tree root node
<clever> wilornel: and the 2 buildEnvs both have a symlink called redis-benchmark
<clever> wilornel: so its not that the redis's are colliding, but the buildEnv symlinks
<wilornel> hmmm I'm confused
<wilornel> is there a way to have different buildEnvs?
<wilornel> one for each user?
<clever> mfiano: dbus = pkgs.dbus.override { x11Support = false; };
<wilornel> or one for each named buildEnv?
<clever> wilornel: are they actually different users in linux?
<wilornel> yes
<clever> wilornel: does each user have ~/.nix-profile/ pointing to a unique path?
<wilornel> checking
<mfiano> clever: also password-store seems to depend on xdotool heh
<mfiano> wish it was simple to just tell it not to resolve X dependencies...
garbas has quit [Quit: WeeChat 1.9.1]
<wilornel> ` .nix-profile -> /nix/var/nix/profiles/per-user/bob/profile` and `.nix-profile -> /nix/var/nix/profiles/per-user/alice/profile`
nuncanada has quit [Quit: Leaving]
<mfiano> this is going to make deploying my different package lists rather difficult
<wilornel> so I think yes
<wilornel> clever: Is that what's supposed to happen?
<clever> wilornel: and if you run nix-env -q as each user, do they have different things installed?
<adisbladis> mfiano: I find "nix-store --graph" incredibly helpful for this kind of thing: nix-store -q --graph /run/current-system | dot -Tps > system.ps
<adisbladis> I have never actually used it for a full system, expect it to take a while.
<mfiano> right now it seems to be compiling a bunch of X libraries (as in with configure/make) after I turned X11 support off for dbus...
<mfiano> I'm speachless
<wilornel> clever: they have the same things installed: `my-packages` and `my-new-packages`. `my-packages` is installed in /home/bob/.config/nixpgs/config.nix
<wilornel> I mean it's declared in that `config.nix` file
<wilornel> is that supposed to happen? It's strange. I thought nixos would install those for individual users
<wilornel> is it because each user is running the same nix-env? which is installing things globally?
<clever> wilornel: they should be unique, can you "ls -ltrh /nix/var/nix/profiles/per-user" ?
<clever> wilornel: oh, and what does "env | grep NIX" say, are there any vars pointing under per-user?
<mfiano> well this is going to take a while. looks like it's recompiling binaries for all of Xorg on an underpowered 512mb 1ghz cpu meant for just IRC
kelleyNif has quit [Quit: Leaving.]
<wilornel> These are the outputs: https://paste.ubuntu.com/p/MNxXxrJRrk/ (I like to use paste.ubuntu.com for no particular reason, I'm on NixOS). I'll brb I need to take care of something and I'll evaluate what you said better
<boomshroom> Dang. The build was going so well, and then it errored complaining that a format string wasn't a literal.
fnlkj has joined #nixos
<boomshroom> It mentioned `cc1plus: some warnings being treated as errors` and `[-Werror=format-security]` Are those set by Nix and if so, how do I turn them off? (This is a fork of GCC that I'm building.)
<mfiano> How can telling it to not use X11 for dbus cause it to just recompile all of xorg? Surely there must be a simpler way to install a command line linux than iteratively disable support for packages that depend on X11 one by one
jackdk has joined #nixos
<mfiano> At this rate it'll be done tomorrow only to have to do it all over again for the next package that depends on x11
<null_> Has anyone been able to get another OS's docker image up? I'm using a base archlinux image (archlinux/base) and I've got a couple absolute paths that it's giving me errors about (https://pastebin.com/9v9PLAYx). I don't really have any experience with nix, and I'm not sure how to deal with these dependencies.
acarrico has quit [Ping timeout: 248 seconds]
schoppenhauer has quit [Ping timeout: 268 seconds]
<clever> mfiano: oh, there is also a flag i forget about, elt me find it
<mfiano> clever: well it'll be compiling for a long time on this hardware
<mfiano> if it doesn't run out of ram before then
schoppenhauer has joined #nixos
<clever> mfiano: nixops can help a lot with that kind of thing, build it on one machine, then push it out to the server
<clever> cant find the flag i was thinking of
<mfiano> been stuck on compiling gtk for 15 minutes
<clever> mfiano: let me analyze my router and strip it down...
<clever> [root@router:~]# du --max=0 -hc $(nix-store -qR /run/current-system) | sort -h
<clever> mfiano: this lists every active path, sorted by size
<mfiano> I can't do much until this finishes
<clever> [root@router:~]# du --max=0 -hc $(nix-store -qR /run/current-system) | sort -h | grep -i x11
<clever> 3.4M /nix/store/1yd9g0wl9qgf2iysxizwxn7k936jv439-libX11-1.6.5
<clever> X is present, but its only 3.4mb
<clever> 578M /nix/store/c1lqq2yd6xgk2m940m6ldhlnbwgj0vah-clang-4.0.1
<clever> i have bigger fish, no point in trying to purge the X :P
fragamus has joined #nixos
<mfiano> I'm trying to use this as a backup server, so every bit of the 20gb helps
<clever> mfiano: that wont even store half of my /home partition on the laptop
<mfiano> my home partitions are just textual. i have a nas for binary data such as multimedia
<clever> my laptop has an entire win10 VM in virtualbox, which saves the disk images to $HOME
<mfiano> oh yeah i change my virtualbox data path for that reason
ryanartecona has joined #nixos
ryanarte_ has joined #nixos
<clever> before: 3.0gig, after: 1.7gig
<clever> just removing auto-complete from vim did that, lol
<mfiano> is it safe to cancel this build?
<clever> yes
<clever> nix will just start it again if it has to
<mfiano> oh wait...it might be done soon.
<mfiano> it's compiling bash now
<clever> thats a bit odd
<mfiano> this is only from adding dbus = pkgs.dbus.override { x11Support = false; };
<mfiano> vte-ng now
ryanartecona has quit [Ping timeout: 245 seconds]
<clever> bash shouldnt depend on dbus
<mfiano> like i said, it recompiled a bunch of stuff, like gtk, xorg, etc
<mfiano> instead of grabbing binaries
<mfiano> ok it just finished everything
<mfiano> i just watched it compile gtk for about 30 minutes, and gtk is not found in the graph...wth
<null_> Is there a way around & being an invalid character for fetchurl? I've tried escaping it to no avail
<mfiano> clever: any clue what that was about?
<clever> mfiano: that is weird
<null_> I'm downloading something nonfree which doesn't have any other URL to download from
<wilornel> clever: I'm not sure what the `env | grep NIX` tells us
<clever> null_: set the name attribute inside the fetchurl
<clever> null_: and then it will not care what the url contains
<wilornel> NIX_USER_PROFILE_DIR seems correct
<null_> Oh, thank you clever
<null_> that makes sense
ryanarte_ has quit [Quit: ryanarte_]
<clever> wilornel: so $NIX_USER_PROFILE_DIR is unique for each user?
<wilornel> clever: yes
<clever> wilornel: how did you get a shell for the other users?
<wilornel> `su - alice`
acarrico has joined #nixos
<clever> wilornel: try "sudo -u alice -i"
ryanartecona has joined #nixos
<wilornel> `nix-env -f . -iA myHumanInterfacePackages` throws the same error
<wilornel> (I called that `myOtherPackakges` earlier)
<clever> wilornel: is there any reason you cant just use nix-shell instead of nix-env?
<mfiano> du --max=0 -hc $(nix-store -qR /run/current-system) | sort -h
<mfiano> 1.1G
<mfiano> good enough I guess
<clever> mfiano: my router is at 1.7gig
<clever> so your doing better
<wilornel> clever: the fact that I'm not used to it instead of nix-env
<wilornel> how would I use nix-shell in place of nix-env for a given default.nix?
<wilornel> in this case specifically?
<clever> wilornel: nix-shell -p '(with import ./. {}).myHumanInterfacePackages' would just use your existing buildEnv, but its often a lot better to make a shell.nix with a dummy derivation, and put everything into its buildInputs
<wilornel> `nix-shell default.nix` does some work but then I get `bash: /tmp/env-vars: Permission denied`
<clever> wilornel: thats a bug, the last user to run nix-shell used /tmp/env-vars and left it behind
<clever> and now nobody else can use it until the file is deleted
ryantrinkle has quit [Ping timeout: 256 seconds]
<wilornel> I think there's a typo in the argument to "-p"
<wilornel> ` syntax error, unexpected ')', expecting ';', at (string):1:113`
<clever> oh, oops
<clever> nix-shell -p '(import ./. {}).myHumanInterfacePackages'
<mfiano> ok did an optimize, and it's at 1015M
<mfiano> I'm done. Thanks :)
<wilornel> nooo that `error: attempt to call something which is not a function but a set`
<wilornel> Thanks tons Clever
<clever> wilornel: you may need to strip the {} out
<clever> wilornel: it depends on what your default.nix expects
<ryantm_> Spam done, you can unmute github maybe.
<clever> gchristensen: *poke*
<ryantm_> I got to the end of the alphabet!
hamishmack has quit [Quit: hamishmack]
<clever> ryantm_: :D
<wilornel> clever: oh that worked!
hamishmack has joined #nixos
hamishmack has quit [Client Quit]
jtojnar has joined #nixos
<mfiano> is it strange that `nix-env -u` results in `Killed`?
<wilornel> shell.nix also works nicely
<wilornel> thanks tons clever
yegortim1 has quit [Remote host closed the connection]
<ryantm_> Who else is op besides gc? I think he said he was going asleep.
yegortim1 has joined #nixos
<mfiano> clever: I think this whole process broke my store
<wilornel> how would one install rails properly on nixos?
ryanartecona has quit [Quit: ryanartecona]
mt_caret_ has quit [Ping timeout: 252 seconds]
<wilornel> weird! nix-shell treats my ^P (Ctrl-P) and ^N strangely
<wilornel> it does not show me the previous or next command
<wilornel> it merely prints the ^P or ^N character into the terminal
<wilornel> pressing up prints ^[[A
<clever> wilornel: is bash in the buildEnv?
<clever> mfiano: you ran out of memory
<clever> mfiano: check dmesg
<clever> wilornel: also, try the arrow keys?
<wilornel> no! that's wrong
<wilornel> I ran nix-shell inside a nix-shell
<wilornel> that's why I had my issue
<clever> ah, yeah, that causes lots of problems
<wilornel> sorry about the wrong issue minireport
<mfiano> how much ram does nix-env require?
<wilornel> how would one install rails? get RVM and install it with rvm?
<clever> mfiano: depends on what arguments you give it
<mfiano> clever: -u
muzzy_ has joined #nixos
<clever> mfiano: -u and -i involve scanning the entire nixpkgs
<ryantm_> wilornel: Do you already have a rails project?
<clever> mfiano: -iA uses far less ram
<mfiano> clever: so basically don't upgrade on this hardware
<wilornel> ryantm_: I will start one
<clever> mfiano: you can upgrade using -iA
<clever> mfiano: you just have to know the attr apth
<clever> path*
<mfiano> I'm not sure what that means
<wilornel> mfiano: my guess is `nix-env -f . -iA myPackageName`
<mfiano> I'm reading nix pills and it says to upgrade all derivations i should do nix-env -u
<ryantm_> wilornel: If you make a Gemfile first, you can use bundix to get a bundlerEnv with rails in it.
<wilornel> I'd like to make it easy for other contributors to use the repository without nix installed I think
<clever> mfiano: -u will search everything in all of nixpkgs for things with a matching .name
<clever> mfiano: which consumes a lot of ram
<wilornel> let me try that actually
<ryantm_> wilornel: What I said won't make it hard for other people to use it.
<muzzy_> can someone help me a little? I'm trying to get a new image for raspberry pi 3. https://cache.nixos.org/ doesn't exist it seems
<mfiano> Heh, well I'm unable to use NixOS on this hardware, and I'm unable to use it on my workstation due to not being able to test my lisp core image. Not many devices left for NixOS to work on.
<wilornel> ryantm_: so bundix creates a gems.nix file that I can use with nix-shel
<muzzy_> what hardware are you trying ot use?
<wilornel> nix-shell ?
<ryantm_> wilornel: You need to make the default.nix file too.
<mfiano> muzzy_: a very low ram remote vps that prevents me fro mrunning `nix-env -u`
<ryantm_> mfiano: What was the problem with your workstation?
<mfiano> ryantm_: I'm a Common Lisp developer, and there is no way to dump and test lisp images, since they have ELF headers. All my tools depend on this, so I can't exactly use nix-shell.
<wilornel> thank you ryantm_
<ryantm_> mfiano: I don't see what that has to do with NixOS. Are you also trying to nixify your development workflow?
<mfiano> I'm too new to even know how to do that. I just need my workflow to work, because my job depends on it.
<ryantm_> mfiano: Ok. I'm curious what your problem with ELF headers was.
<mfiano> Well I don't know how to execute them, and I no longer have a roswell package available which is needed to even make them
hamishmack has joined #nixos
rogue_koder has quit [Quit: Konversation terminated!]
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 256 seconds]
<null_> what's a good way to find pkgs exposing certain .so files?
<clever> null_: nix-locate and nix-index
<null_> thanks
alex`` has joined #nixos
rosa has quit [Quit: rosa]
reinzelmann has joined #nixos
<mfiano> clever: Is it normal to get a build failure on the stable channel?
<clever> mfiano: that can happen if the package is broken
<clever> mfiano: which package is it?
Rusty1_ has quit [Quit: Konversation terminated!]
null_ has quit [Ping timeout: 260 seconds]
<clever> plugin.h:24:3: error: unknown type name 'fz_stext_sheet'
<clever> mfiano: i'm guessing a dependency was updated and nobody noticed the breakage
<mfiano> damn
reinzelmann has quit [Quit: Leaving]
robstr has joined #nixos
<Li[m]> is anyone using dhall to create nix expressions?
MP2E has joined #nixos
<Li[m]> so technically we could write a nixpkgs in dhall.. ?
<muzzy_> does anybody else feel completely overwhelmed by Linux sometimes?
<muzzy_> like you're not sure what the problem is and you don't know if what you're trying is right or will end up breaking in the future?
<mfiano> Only on new distributions to me, like NixOS. Never had that problem in my nearly 20 years on Arch or LFS :)
<MP2E> lately I've felt a little overwhelmed by nix cause a couple of bugs have piled up on my workstation. but it's been mostly smooth sailing for years. Hopefully things will calm down a bit soon
<muzzy_> hmm, I suppose experience has something to do with it. I've never had "official" training on linux, So I never learned how Linux works on a deeper level
<muzzy_> I'm really wondering if its worth the time to dive in and learn everything about the kernel and shells and userspaces... Do you guys really know everything about Linux?
<clever> muzzy_: there is a book called LDD3 (linux device drivers 3) that goes into depth on how the kernel works
<clever> muzzy_: as long as you know some c, you can use that book to write kernel drivers for pretty much anything
ryantm_ has quit [Ping timeout: 240 seconds]
<muzzy_> Well, I'm trying to set up a raspberry pi so I can stream music to it. But installing NixOS seems to require the knowledge of a Red Hat certified professional
<clever> muzzy_: the rpi support isnt as good as x86, so it takes more effort to install
jackdk has quit [Ping timeout: 252 seconds]
<muzzy_> I guess I'm just having a crisis. I don't know if the benefits outweigh the struggles. It gets overwhelming sometimes
aarvar has left #nixos [#nixos]
<clever> muzzy_: i use nixos on every piece of hardware i can get it working on
<clever> including my router, lol
<thoughtpolice> mfiano: I use Chez Scheme quite a bit on Nix/NixOS (though I wouldn't call myself a lisper, really). You'd have to be more specific about exactly what your CL implementation is, etc but there's probably nothing that fundamentally prevents it from working... But most package manager tool "things" (like this Roswell seems to be) are going to require work on integration to work properly.
<mfiano> thoughtpolice: I use several implementations, hence the need for roswell.
<muzzy_> how did you get packet routing to work? I just bought a dedicated router because I didn't know if nix was capable. *sigh*
<thoughtpolice> So it's not surprising it doesn't work OOTB, really. How much effort it would take is another question... Realistically speaking, Nix/NixOS is basically still at the level where if you're going to regularly use it, you're practically going to be committing code and contributing patches for what you need.
<mfiano> Yeah, and I'm not ready for that. Lisp occupies more time than I have already. My team is waiting for me to get back to our project.
aarvar has joined #nixos
boomshroom has left #nixos [#nixos]
<clever> muzzy_: line 44 turns on NAT, 45&46 define the LAN and WAN interfaces (see lines 4-6), and 46 defines the LAN network ranges
<simpson> mfiano: No worries. Happens.
<thoughtpolice> muzzy_: Nobody here knows "everything" about Linux, of course. Collectively, a lot of us altogether know a lot about Linux. If you're worried about something breaking, you should ask. That's how you'll learn a bunch.
<thoughtpolice> Luckily NixOS is pretty good as far as "What if it breaks?" goes, because you can, practically speaking, mostly just undo it with a quick command.
<mfiano> Yeah, it's actually pretty resilient. If you remove the nix tools, they are probably still in the store somewhere. It just requires finding out where and installing nix with nix :)
<thoughtpolice> (For example I've written kernel drivers and done things like ARM system integration, written exploits -- but I don't know a damn about most of the Linux networking stack/tools to be honest, for example. And I know relatively little about the graphics architecture, for example.)
<thoughtpolice> So I'd probably just ask here about that stuff :)
<clever> thoughtpolice: ive done package overrides against opengl to debug a problem, lol
<simpson> (I know lots of arcane BS about GPUs and their drivers, but I've never looked at iSCSI and I think HPC stands for "Harry Potter Coolbeans")
<clever> simpson: ive booted my laptop and rpi's over iSCSI with nixos
<simpson> clever: RPis have iSCSI!?
<clever> simpson: and made an attempt at writing drivers for the rpi GPU
* mfiano is also a GPU/OpenGL nerd
<muzzy_> thoughtpolice: thanks, I feel in over my head a lot of the time
<clever> simpson: not directly, but if you can boot a kernel+initrd on the rpi, then linux can just open iSCSI over the network
<adisbladis> simpson: Presumably via initrd
<clever> simpson: and then the rootfs is iSCSI'd
<simpson> Amazing.
<thoughtpolice> clever: lol, that's what I thought
<simpson> Any benefits to that over the alternatives? I guess nobody likes NFS...
<muzzy_> wait what is iSCSI?
<clever> thoughtpolice: this module allows you to set fileSystems."/".iscsi = { enable = true; host = "192.168.2.15"; lun = "something"; };
<clever> and then nixos just automatically connects it at the initrd
<clever> muzzy_: scsi over tcp
<clever> muzzy_: it lets you connect to block devices over the network
<thoughtpolice> muzzy_: SCSI is a standard that is used when low level software wants to move physical data between two devices on the system. In Linux, it looks like a block device. iSCSI just extends SCSI commands to work over a TCP tunnel, as clever said
<thoughtpolice> So it lets you do things like have your tiny Home Theatre PC that sits in front of your TV to have a "hard drive" from a server in another room that's like, A Bajillion Terabytes, or whatever.
<muzzy_> oh, I've heard of that! SCSI is an alternative to SATA right?
<clever> thoughtpolice: i started it with my rpi's booting over iscsi, because its both larger and more reliable then an SD card
<clever> thoughtpolice: and due to how simple nix is, i was able to take that module, almost un-altered, and boot an x86 laptop with it, lol
<clever> thoughtpolice: so i could test nixos out on my laptop, before wiping the gentoo off of it
<muzzy_> omg thats so cool
<clever> and the crazy part, is that grub didnt even know it was network booting
<muzzy_> clever: is there a reason you didn't use NFS?
<clever> muzzy_: nfs has given me trouble, and grub doesnt support it
<clever> muzzy_: but ipxe has a function in it called sanhook, which will hijack the legacy api between dos and the BIOS, for accessing the local hdd's
<simpson> muzzy_: NFS is temperamental. It is quite happy to freeze up or suddenly stop working.
<mfiano> I bought RPI's 1, 2, and 3...and they've all been powered on unused since they came out. Just haven't had a use for such a low powered device when my house has so many capable computers. Maybe i should play around with NixOS on them.
<clever> muzzy_: so when grub tries to read the local hdd, it winds up reading the iSCSI driver instead
<simpson> mfiano: There are dozens of us! I got bored waiting for self-hosted Nix builds last time; maybe I'll try again at some point if there's more interest.
endformationage has quit [Quit: WeeChat 1.9.1]
<muzzy_> clever: thats really cool
<clever> muzzy_: so the disk image on the server, is just bog-standard MBR partition table with grub in the MBR
<clever> and a normal /boot
<mfiano> I agree about NFS. I gave up on it about 10 years ago. Plsu ssh mounts don't suck with today's processors, and you can always change the cipher.
<clever> grub has no clue its network booting and once the initrd is in ram, linux and iscsi-boot.nix can finish the job
<muzzy_> clever: amazing how you get this stuff to work
<clever> muzzy_: ive done more crazy things with ipxe and nix
<thoughtpolice> clever gets the award for "most ridiculous NixOS setups" in here tbqh
<clever> muzzy_: this is an ipxe script that does full signature checking on the kernel/initrd/rootfs
<thoughtpolice> That award was made for clever, in fact
<clever> and has a password prompt protecting the ipxe shell
<simpson> mfiano: I have become quite the fan of sshfs for a variety of situations. I am willing to make the slight sacrifices in throughput for the benefits in flexibility.
<mfiano> simpson: agreed, but i'd like to add security to that, too
<clever> thoughtpolice: and over here, i practically turned nixos into a virus, lol
<clever> you plug almost any machine into the ethernet jack, select network boot, and nixos boots up
<clever> type 'justdoit' into the shell, it wipes the hdd, and now nixos is installed
<clever> muzzy_: this module also sets up packet routing, in a weird direction
<clever> muzzy_: it treats the wifi card as the "modem", and the ethernet jack as the "local network"
<clever> muzzy_: so the computer your taking over, can borrow the wifi temporarily
<thoughtpolice> clever: FWIW I'll probably scrape your modules for iSCSI I think, later on, since I'm probably going to set up my RPis as cams to stream RSTP for my homeserver. And there's no point in having sd cards for them...
<simpson> Yeah, this iSCSI stuff could come upstream, I'd hope. It looks pretty useful.
<clever> thoughtpolice: there is only one minor problem with the network boot on rpi's right now
<clever> thoughtpolice: the rpi still needs a /boot/ on the SD card
<muzzy_> clever: Oh my gosh, that's fantastic. So my question is: How do you manage to do all of this without running into problems and giving up?
<clever> thoughtpolice: there is some limited network boot support in the newer rpi's, but ive only gotten them to work if i had a bootcode.bin on the SD card
<clever> muzzy_: i just dont give up, lol
<thoughtpolice> clever: yeah they announced something for this pretty recently I think (the rpi foundation, that is)
<clever> thoughtpolice: part of the config to support that is in my github repos
rogue_koder has joined #nixos
<thoughtpolice> But I'm on RPi3's anyway, so that isn't an issue. (Plus I do want AArch64 builds from Hydra...)
<thoughtpolice> Though I do need to set up my Jetson TX2 as a remote builder... ugh
<simpson> thoughtpolice: "Raspberry Pi Foundation gives in to Nix-wielding madman's demands for more low-power ARM boards"
<clever> thoughtpolice: you need lines 117 and 132 to even tell the rpi to allow network booting
<clever> thoughtpolice: and i think 125 was also involved
<clever> simpson: they have made firmware changes to support my demands! :P
<clever> and thats before i even knew of nix
<clever> thoughtpolice: and this is fragemnts of what i had on the tftp server, to support netboot
<dhess> thoughtpolice: I am unable to get NixOS booting on a TX2. I haven't tried in awhile, though.
<thoughtpolice> dhess: The BSP is a huge pain in the ass. Sandboxed Nix builds are OK enough for now.
<clever> thoughtpolice: and these document how it works
<thoughtpolice> dhess: Did you actually attempt to port over their Tegra kernel variant, or just do mainline?
<dhess> thoughtpolice: I did. It didn't help.
<dhess> It worked fine on the TX1, though. (But then, so does mainline)
<thoughtpolice> The TX1 isn't as tricky from what I understand
<clever> thoughtpolice: i was only able to get netboot to work via the `Special bootcode.bin-only boot mode
<clever> ` from bootmodes/README.md
markus1189_ has joined #nixos
<clever> thoughtpolice: i suspect it needs a new firmware in the boot rom to solve that problem
<muzzy_> hey clever, what kind of router hardware do you have?
<gillmanash> clever: I am keen on booting NixOS on RPI, I have 1 and 2. I'll have to look over your repos on the weekend
<clever> muzzy_: Supermicro-X6DH8
<gillmanash> I tried a few months ago but ran out of time
<clever> muzzy_: 2 processors (seperate sockets) with Intel(R) Xeon(TM) CPU 3.20GHz
<clever> muzzy_: and 8gigs of ram
<gillmanash> clever: Would your weird reverse network thing allow you to connect a laptop&RPI via ethernet, and share wifi from RPI?
<clever> gillmanash: yep
<clever> gillmanash: line 51 sets up an http server, you probably dont need one
<muzzy_> clever: I want your dedication.
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/211309626af (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<clever> gillmanash: 57 does a dhcp server, you might want to remove the 68-73 area, since its network-boot related
<clever> gillmanash: 77 is an optional tftp server
<clever> gillmanash: 81 supplies dns to the private network
<mfiano> clever: Is that a server mobo?
<clever> gillmanash: and 86 configures a static ip on the LAN port, along with forwarding
<clever> mfiano: yeah, its an old rack-mount server out of an xray machine, has 3 gigabit ethernet ports and ECC ram
robstr has quit [Remote host closed the connection]
<mfiano> nice
robstr has joined #nixos
<muzzy_> ECC RAM vs XRAYs, 3 2 1 fight!
rauno has joined #nixos
<clever> muzzy_: this machine was out of the beam path, in a cabinet on the side of the room
<clever> muzzy_: but there has been problems with the flash memory in FPGA's that are in the beam path
<gillmanash> clever: Awesome, thanks for the info
<clever> muzzy_: after a certain age, they just fail the erase cycle
<clever> gillmanash: yep
<gillmanash> Actually, I have always had WiFi issues on NixOS on my laptop with certain routers
Itkovian has joined #nixos
<gillmanash> A Macbook pro (last one before retina screen). But not on other wifi networks, and not on this network with an older laptop. Some weird combo
<clever> gillmanash: ah, i was trying to help somebody install nixos on a macbook today, but wpa_supplicant cant find any wifi networks in range
<gillmanash> So using RPI as a wifi bridge is a possible solution
robstr has quit [Ping timeout: 256 seconds]
pie_ has quit [Ping timeout: 256 seconds]
<gillmanash> wpa_supplicant works for me, but the network occasinally report positive dB strength, and the connection freezes
<gillmanash> I don't know much network stuff, so never knew how to debug
robstr has joined #nixos
<gillmanash> I might have another crack on the weekend
boxofrox has quit [Ping timeout: 248 seconds]
<muzzy_> Alright, gnight everyone. I'll be back tomorrow for sure!
muzzy_ has quit [Quit: Leaving]
ericsagnes has quit [Ping timeout: 276 seconds]
justan0theruser is now known as justanotheruser
boxofrox has joined #nixos
<adisbladis> gillmanash: Iirc apple puts broadcom chips in everything -.-
<adisbladis> Not the best linux drivers
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
<robstr> morning
rauno has quit [Remote host closed the connection]
ericsagnes has joined #nixos
<gillmanash> adisbladis: yeah from memory BCM4331
pxc1 has joined #nixos
rogue_koder has quit [Read error: Connection reset by peer]
rogue_koder has joined #nixos
<robstr> first time nixos user, I added xmonad and on the login screen, there is a message: "Session: none + xmonad" did I misconfigure something ?
null_ has joined #nixos
MercurialAlchemi has joined #nixos
<null_> So, with nix-locate I get to see every package that uses the so, but it's not clear to me which one is intended to expose it sometime
<null_> so it's obvious for say nss or xorg stuff, but something like libffmpeg.so
<clever> null_: which file are you looking for?
<null_> I'm guessing is electron but I can't really tell
<clever> null_: libffmpeg.so is from ffmpeg
pxc1 has quit [Ping timeout: 252 seconds]
<null_> that doesn't show up for me with nix-locate
<null_> nor does it show up from the package search on the nixos website
<null_> oh wait it does for taht
<null_> the website
rogue_koder has quit [Ping timeout: 248 seconds]
<clever> null_: it might be a config flag thats missing in ffmpeg, or a different version
<null_> ah, hm. Okay
<clever> electron just happens to include its own copy, rather then using the proper one in ffmpeg
rogue_koder has joined #nixos
<sphalerite_> gillmanash: aaaaaaah I hate that number
<clever> null_: what are you trying to package?
chaker has joined #nixos
<null_> discord, it might already exist somewhere
<clever> null_: its already packaged
<null_> okay, well I wanted the learning experience anyway :P where's it packaged?
<clever> null_: nix-env -iA nixos.discord
<null_> ugh, it doesn't show up for me on the website search though
orivej has joined #nixos
<clever> null_: its non-free, so the website doesnt include it
<null_> okay, is there anywhere to find things like that?
<srhb> robstr: Sounds right to me. What's the problem?
<clever> null_: once you enable the option to allow unfree packages, the nix-env based search can see it
<robstr> srhb: I need to enter wrong cred's first and then the correct one, otherwise i get a blackscreen -.-
<null_> ah, okay
<null_> yup and there it is with -q
<null_> I just remembered not finding it so I didn't think about that
<srhb> robstr: Black screen sounds about right for a more or less empty xmonad setup, though? I think we need more debugging information.
<clever> null_: and the actual binary is called Discord, after its installed
<mfiano> how do i override a key in an attrset the was imported from another file without it complaining of duplicates?
<robstr> srhb: yea but otherwise there is a open terminal.
<etu> Huggh, discord. Such a garbage package. If you don't upgrade your minor releases it just don't work :/
chaker has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c1d408e36bd (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> etu: i find that it just looses audio capture if you leave it running for 2 days in a row
<null_> Ah, yup, I know that much
rogue_koder has quit [Ping timeout: 240 seconds]
rauno has joined #nixos
<null_> wait, etu what do you mean?
<null_> oh because they always want you to upgrade, I had the same problem with my last OS too
<etu> null_: If you have the 0.0.2 client and they have released 0.0.3, the client is *unusable* and just prompts you to update.
<etu> They need to start versioning their apis or something.
<null_> Yeah, I remember what you mean. It's really annoying
21WAACK5U has joined #nixos
<21WAACK5U> [nixpkgs] fpletz closed pull request #35971: ponysay: 3.0.2 -> 3.0.3 (master...auto-update/ponysay-3.0.2-to-3.0.3) https://git.io/vAPiR
21WAACK5U has left #nixos [#nixos]
94KAACHYE has joined #nixos
<94KAACHYE> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vAP5X
<94KAACHYE> nixpkgs/master cfdca9d Ryan Mulligan: ponysay: 3.0.2 -> 3.0.3...
94KAACHYE has left #nixos [#nixos]
<clever> and nix makes things read-only, so you have to patch the expression to update
<clever> it cant update itself
<etu> yep
<null_> so what does nix-env -u do for things?
<clever> null_: it will search for any package whose .name is similar to an installed item, and install it
<etu> clever: Garbage design I call that. It's a growing design pattern.
<null_> yeah
<adisbladis> etu: It looks like it can run in the browser though.. So I would just go with that.
<null_> That's an option
<null_> that's what I'm currently doing
* adisbladis really deeply dislikes electron apps
<null_> but at least with my other setup I usually have xmonad with a separate web/chat windows
<etu> adisbladis: Yeah, but then you don't got "all the nice things". But yeah. It's horrible anyways.
<sphalerite_>
<null_> er
<null_> desktops whatever they're called
<null_> I'll be back in a sec
rogue_koder has joined #nixos
sigmundv has joined #nixos
<sphalerite_> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<sphalerite_> -u (and hwy you probably don't want to use it) is also explained ^
<davidak[m]> nix-shell -I ~/code/nixpkgs/ -p 'python36.withPackages([ nikola micawber ])'
<davidak[m]> how does this work with nix 2.0?
<adisbladis> davidak[m]: No different
<sphalerite_> there's no complete nix-shell UI replacement in 2.0 yet
reinzelmann has joined #nixos
null_ has quit [Ping timeout: 260 seconds]
<davidak[m]> it doesn't work anymore :/
null_ has joined #nixos
<clever> adisbladis: what about electron based apps that are just a GUI over an larger binary your running?
<sphalerite_> davidak[m]: oh, maybe you meant nix-shell -I nixpkgs=$HOME/code/nixpkgs ?
<fpletz> ryantm: please do not mention the maintainers in the commits, this causes too much github spam… everyone who rebases nixpkgs and pushes will trigger an email :(
<davidak[m]> maybe, i'll try
rogue_koder has quit [Ping timeout: 245 seconds]
<fpletz> ryantm: getting too much github spam already :/
<adisbladis> clever: Like which ones? I mean I'm against using electron apps like Riot (matrix client) which is just wrapping up the webpage.
<clever> adisbladis: daedalus for example, it has no website version
<sphalerite_> hyper_ch: do you know if it's possible to encrypt zfs snapshots after making them? I have some datasets in a LUKSed zpool which I'd like to move to an unencrypted pool but encrypt within the pool
<sphalerite_> or do I need to put the backup pool on LUKS as well?
<sphalerite_> ryantm: +1 on what fpletz said. It is helpful to put them in the PRs, but the commits… sooo many notifications x)
<adisbladis> clever: Then I think I'd consider it.
<null_> What's wrong with using electron to wrap webpages? I'd rather have my app not be in a web browser so I can use standard process-management and window management tools
<null_> I don't know if it's a bit too much but just using it as a lightweight browser seems like a good use
<adisbladis> null_: I don't want more vulnerable browsers.
<adisbladis> Just let me use my actual browser for displaying webpages.
<sphalerite_> null_: a lot less sharing as well. In a browser all the tabs/windows share memory, while each electron app uses hudnreds of MB of RAM by itself
<clever> adisbladis: daedalus never loads anything over http or https, so how is the exploit going to get in?
Itkovian has quit [Read error: Connection reset by peer]
<clever> adisbladis: the only network it does is against 127.0.0.1
<sphalerite_> null_: surf is nice if you don't want the overhead of browser chrome and want to use standard process/window management tools
<null_> ooh, I'll check that out. Honestly that's really what I want out of it
<null_> I wasn't sure the light or heavy-weightedness of electron
<clever> sphalerite_: neat
leat has quit [Ping timeout: 248 seconds]
<davidak[m]> sphalerite_: i always get error: undefined variable 'Nikola' at (string):1:118
<adisbladis> clever: In that scenario it's OK :)
<sphalerite_> davidak[m]: what is Nikola?
<clever> davidak[m]: nix-shell -p python36Packages.Nikola
<sphalerite_> davidak[m]: oh right. I don't see how this is supposed to have worked before 2.0 either. Try `python3.withPackages (ps: with ps; [Nikola micawber])`
<davidak[m]> sphalerite_: ah, right. i got the wrong line from bash history
<davidak[m]> this works
<davidak[m]> i don't understand this ps: with ps;
<clever> davidak[m]: withPackages wants a function as an argument
<sphalerite_> python36.withPackages takes a function, which gets the entire set of python3 packages
<clever> davidak[m]: and `ps: with ps; [Nikola micawber]` is a function that accepts a set of python packages, then puts all of them into scope for the list
rogue_koder has joined #nixos
<sphalerite_> so we make that function using the `ps:` bit, and bring all the packages into scope using `with ps;`
<clever> davidak[m]: the last bit is identical to `ps: [ ps.Nikola ps.micawber ]`
<sphalerite_> you could also write (ps: [ps.Nikola ps.micawber])
<sphalerite_> damn clever beat me to it :D
<clever> lol
<davidak[m]> haha. thanks
<davidak[m]> so this don't work yet with `nix run`?
<sphalerite_> nix run '(python3.withPackages (ps: with ps; [Nikola micawber]))' …
<sphalerite_> I think
<sphalerite_> not sure if it brings nixpkgs into scope by default so you might need to do nixpkgs.python3 instead of python3
<sphalerite_> er nope, you need import <nixpkgs> {}
<davidak[m]> sphalerite_: how would the whole command look like when nixpkgs master is checked out at ~/code/nixpkgs/ ?
<clever> import ./. {}
xAFFE has joined #nixos
xAFFE has quit [Client Quit]
<gillmanash> Is there a better way to search for binaries from a packages than this?
<gillmanash> ls $(nix-store -q --outputs $(nix-instantiate '<nixpkgs>' -A hello))/bin
<davidak[m]> clever: `nix run '(import ./. {} python3.withPackages (ps: with ps; [Nikola micawber]))'` ?
<davidak[m]> how do you mean that?
<sphalerite_> davidak[m]: nix run '((import ~/code/nixpkgs {}).python3.withPackages (ps: with ps; [Nikola micawber]))' …
<sphalerite_> you should probably just write a shell.nix at this point thugh :p
<davidak[m]> :D
<mfiano> clever: do you know?
<sphalerite_> gillmanash: nix-index
<sphalerite_> gillmanash: I also sometimes use the extremely hacky ls /nix/store/*-hello*/bin
<null_> is there a good explanation of garbage collection and uninstalling? I've looked all over the manual and there's just bits and pieces scattered around that don't actually explain what happens
ThatDocsLady_ has joined #nixos
<null_> I guess there's some stuff about removing old generations of the system and garbage collecting, but what about just removing anything not in the current environment or any generation?
<null_> Does that happen automatically or need to be triggered, there's a daemon but it's not clear whether it does anything on its own. It's really ambiguous to me (it just uses triggered or something similar as the wording).
<sphalerite_> null_: that's exactly what nix-store --gc does
<null_> ah
Itkovian has joined #nixos
<sphalerite_> null_: there are nix options to have it automatically gc when a certain threshold of disk space is reached I think, and I think that gets invoked when a nix command is run and the threshold has been reached
<sphalerite_> null_: there's a nixos option to gc periodically as well I think
<gillmanash> sphalerite_: Ah yes, thank you!
qazxsw has joined #nixos
<sphalerite_> and there's the nix-collect-garbage command which combines nix-store --gc with profile generation deletion which I personally think is an awful idea but hey
<null_> oh, I see, found them in the options search
<null_> thanks
<null_> I probably will never hit the threshold but I like that my system only uses up 8 gigs right now :P
qazxsw has left #nixos [#nixos]
<null_> but I'll set up a periodic one
<sphalerite_> I pesonally keep stuff around until I need the space, because sometimes building stuff needs dependencies that will be removed by a gc
<null_> true
<sphalerite_> which is especially painful on the rare occasions where I don't have an internet connection
<null_> mmm, yeah I had a fun moment when I was first installing
<sphalerite_> an added benefit of that is that you get great satisfaction out of freeing a huge amount of space in one go
<null_> I mistook test for dry-run, and I had edited my configuration to use networkmanager instead of wireless
<null_> the service wasn't up correctly and I wasn't seeing it, and I was having a bit of trouble since my config also didn't include dhcpcd :P
<null_> since I was trying to connect manually
<sphalerite_> aaah fun
<null_> was glad when I realized I could just reboot
<null_> and yeah, but I get the satisfaction of looking at my space usage graphs
<null_> they'll get larger if I fill up home or put other files in there, but for now it's nice
<null_> I never want to keep games installed on here cause they're always the bulk of my space usage
<null_> If I installed Civ6 on here it would literally be 75% of my disk usage by itself, it's 27gigs
<sphalerite_> o.o
<sphalerite_> you didn't even need to reboot fwiw — nixos-rebuild switch --rollback :)
<null_> I know but I had literally just installed it and didn't know enough commands, that and it took me a while before I realized what had happened and I needed the 5 second break
fnlkj has quit [Quit: ?]
vaninwagen_ has joined #nixos
vaninwagen_ has quit [Client Quit]
rogue_koder has quit [Quit: Konversation terminated!]
<mfiano> hello sphalerite_
<mfiano> Thanks for the help so far
orivej has quit [Ping timeout: 256 seconds]
goibhniu1 has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
goibhniu has quit [Ping timeout: 256 seconds]
<joko> Good morning, people. I was wondering if it is possible to execute a sudo command in system.extraSystemBuilderCmds. I have tried with /run/wrappers/bin/sudo, but the wrapper complains
roberth has joined #nixos
cfricke has joined #nixos
zzamboni has joined #nixos
garbas has joined #nixos
<sphalerite_> mfiano: morning
<mfiano> sphalerite_: Hi, actually been trying to figure something out maybe you know the answer to
<sphalerite_> joko: no, it's not. It's a derivation like any other so it runs as a nixbld user and typically in the sandbox
<sphalerite_> joko: what are you trying to achieve?
alex`` has joined #nixos
jtojnar has quit [Ping timeout: 240 seconds]
zzamboni1 has joined #nixos
zzamboni has quit [Remote host closed the connection]
leat has joined #nixos
chaker has joined #nixos
<gillmanash> sphalerite_: a belated thanks
lexcurious has joined #nixos
Arcaelyx_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<gillmanash> oh wait I said thanks already, have another
<sphalerite_> :D
<lexcurious> Hello fellas!
<mfiano> sphalerite_: How do I override an option that was defined in a previous file that I imported? For example, say I have `fonts.fontconfig.dpi = 96` in a base.nix file and I want to set it to 200 for 1 machine that imports base.nix. Normally this results in an error telling me the option is duplicated. Is there a way to solve this?
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
<sphalerite_> also feel free to ask the question into the blue, it's more likely to get answered quickly if you do :)
<mfiano> I did an hour or 2 ago
<mfiano> Thank you
<sphalerite_> oh, heh. I wasn't awake at that time :D
chaker has quit [Ping timeout: 240 seconds]
<mfiano> Does anyone else spend days trying to come up with an ice organization of config files/imports that reduces code duplication for a bunch of machines? :D I've been at this for 3 days now
<sphalerite_> I tend to grow my configs "organically" then refactor as necessary after the fact
<mfiano> Given that I'm new, I want a nice foundation :)
<lexcurious> what happened with the feature of having nix package as file, that end-user could just double click ?
<sphalerite_> They're not as maintainable off the bat, but it leads to the sort of structure that is maintainable because the refactorings address actual rather than hypothetical concerns
<sphalerite_> I did try organising all my configs into one repo early on, but it's a bit of a train wreck and doesn't address what I actually need, so I'm only using that repo on one computer now. WHich kind of defeats the point.
<sphalerite_> I've started a new one which seems to be more useful
<sphalerite_> and I did that by writing the configs separately first then factoring out common parts
<mfiano> on a related note, what about lists? What if I want to add a single element to a list that was previously defined?
<lexcurious> mfiano [ 'list' ] ++ [ 'newelement' ]
<mfiano> Thanks
<sphalerite_> most lists are merged, so if you just define the same one as [a] in one module and as [b] in another, the actual result is [ a b ] or [ b a ] (I'm not sure if the ordering is predictable without any extra stuff, but you can use mkBefore/mkAfter to define it)
<adisbladis> Or mkForce
<sphalerite_> adisbladis: that's not helpful for merging lists
<adisbladis> sphalerite: No it's not but it's worth pointing out the existence.
headfault has joined #nixos
<sphalerite_> I did that 10min ago :P
patrl has joined #nixos
astsmtl has quit [Ping timeout: 276 seconds]
<sphalerite_> lexcurious: I think mfiano was looking for how to merge lists in the context of nixos modules, not the nix language in general?
<lexcurious> idk
<mfiano> Thanks guys. I've been reading pills in my free time, but only on #6 or so
<adisbladis> sphalerite: Sorry then :P
<mfiano> I am going to submit a bunch of PRs for pills just to be a grammar nazi
pkill9 has joined #nixos
<sphalerite_> that would be great, some of the phrasing is rather awkward :)
<sphalerite_> adisbladis: apology accepted. Just this one though! :p
<sphalerite_> once*
* adisbladis better behave
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
rauno has quit [Remote host closed the connection]
alex`` has quit [Ping timeout: 240 seconds]
jensens has joined #nixos
zzamboni1 has quit [Quit: Leaving.]
rauno has joined #nixos
orivej has joined #nixos
zzamboni has joined #nixos
<mfiano> is there a string merge too?
<lexcurious> can anyone show me proof of concept shareware commercial proprietary package that exists in nixpkgs?
ebzzry_ has quit [Ping timeout: 268 seconds]
pie_ has joined #nixos
<Mic92> mfiano: "a" + "b"
<lexcurious> (could be both open source and closed source binary version of packages)
<mfiano> Mic92: I have config.xserver.displayManager.sessionCommands in ''double single-quotes''. Can I use that like that?
<Mic92> sure
asuryawanshi has joined #nixos
kitemikaze has quit [Ping timeout: 248 seconds]
thc202 has joined #nixos
ebzzry_ has joined #nixos
MP2E has quit [Remote host closed the connection]
patrl has quit [Ping timeout: 245 seconds]
asuryawanshi has quit [Remote host closed the connection]
<jonge> hey there. i am using nix on mac. so currently i am reading through the nix 2.0 release notes and i wonder how to obtain the `nix` command via upgrade. or isn't it rolled out yet?
asuryawanshi has joined #nixos
<Mic92> jonge: not yet in nixpkgs
<jonge> ok thx
<joko> sphalerite_: More or less I am trying to create a small NixOS installation on an SD card with the current network (and other) settings
chisui has joined #nixos
cfricke has quit [Ping timeout: 265 seconds]
<fearlessKim[m]> is there a standard function to patch the /bin/pwd present in Makefiles ? I think the kernel hassome but don't see how they are patched
<Mic92> substituteInPlace
<Mic92> sometimes commands can be also overriden in makefiles by setting environment varialbes
<Mic92> s/varialbes/variables/
winem_ has joined #nixos
pie_ has quit [Ping timeout: 248 seconds]
<fearlessKim[m]> in this case they seem hardcoded. I already run substituteInPlace, I am jsut surprised the kernel can get installed without pb even though it doesn't patch these. Might hit just a few modules.
<mfiano> is there a way to get the filename of the .nix file?
spear2 has joined #nixos
<fearlessKim[m]> mfiano: I don't think so
<mfiano> ok
__Sander__ has joined #nixos
jensens has quit [Ping timeout: 240 seconds]
null_ has quit [Ping timeout: 260 seconds]
pie_ has joined #nixos
hask_bee_3 has joined #nixos
MP2E has joined #nixos
<hask_bee_3> nix-env -i postgresql works but nix-env -i postgresql100 doesn't. why?
rauno has quit [Remote host closed the connection]
<adisbladis> hask_bee_3: Are you on the stable channel perhaps?
<adisbladis> Or maybe outdated unstable?
rauno has joined #nixos
<hask_bee_3> I'm on macOS, recently did a fresh Nix 2 install, and just did nix-channel --update
rauno has quit [Read error: Connection reset by peer]
<hask_bee_3> $ nix-env -i postgresql100
<hask_bee_3> error: selector 'postgresql100' matches no derivations
rauno has joined #nixos
ebzzry_ has quit [Ping timeout: 245 seconds]
<LnL> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
ebzzry_ has joined #nixos
<nyberg> still stuck on defining a package
<LnL> hask_bee_3: nix-env -f '<nixpkgs>' -iA postgresql100
<hyper_ch> sphalerite_: if you send the snapshots to a new dataset where its parents has encryption enabled, it will then also be encrypted
<hask_bee_3> LnL: that worked. and interestingly, both -f and -A seem important. Skipping either makes it not work
<hask_bee_3> i thought <nixpkgs> was the default...
<hyper_ch> sphalerite_: encryption is inherited and it's on-creation settings... so if you have make zfs send tank/some/DS#now | zfs receive tank/encrypted/NEW then NEW will be encrypted because of encrypted partend DS
<LnL> without -f it’s nixpkgs.hello
<hyper_ch> but not sure if that's what you were asking
<hask_bee_3> LnL lol whaaat?
<adisbladis> hask_bee_3: It depends on your local channels iirc
<LnL> with nix-env packages are namespaces by channel
<LnL> namespaced*
<adisbladis> Which imho is a bit unfortunate but it is what it is
michalrus_ has joined #nixos
<LnL> yeah, -f '<nixpkgs>' makes more sense as the default
<LnL> all of the new nix commands are a lot more consistent with the <installable> arguments
<hask_bee_3> how do i find the /nix/store path of an installed package?
michalrus_ is now known as michalrus
chrios_ has quit [Ping timeout: 245 seconds]
chrios has joined #nixos
michalrus has left #nixos [#nixos]
<fearlessKim[m]> hask_bee_3: you can use nix-repl '<nixos>', firefox.outPath
<fearlessKim[m]> or nix-locate/nix-index or readlink -f $(which firefox)
<fearlessKim[m]> or zsh autocompletion on /nix/store/*firefox*
<adisbladis> My go-to daily is "readlink"
<fearlessKim[m]> I guess the nest solution would be nix-instantiate but the syntax is too hard for me
jensens has joined #nixos
<adisbladis> fearlessKim[m]: nix-instantiate '<nixpkgs>' -A firefox ?
<hask_bee_3> fearlessKim[m] i like the autocomplete solution :)
<hask_bee_3> simple
<hask_bee_3> works in bash too
<fearlessKim[m]> arf I found the kernel patch I wanted `sed -i "$mf" -e 's|/usr/bin/||g ; s|/bin/||g ; s|/sbin/||g'`
<fearlessKim[m]> that's how /bin/pwd / bin/false becomes pwd/false \o/
noam has quit [Ping timeout: 245 seconds]
<fearlessKim[m]> adisbladis: In my head I imagined more sthg like nix-instantiate -E --eval --instantiate 'import <toto> {}' -A firefox :D
<fearlessKim[m]> guess some parts of the UI traumatized me, but nix 2.0 will be a fresh start :)
periklis has joined #nixos
noam has joined #nixos
alex`` has joined #nixos
civodul has joined #nixos
noam has quit [Ping timeout: 256 seconds]
<cmcdragonkai1> Random question, if tensorflowWithCuda uses cudnn, how does nixpkgs get around the fact that cudnn requires one to register and login to Nvidia to fetch those libraries?
<cmcdragonkai1> Or does tensorflowWithCuda not actually use cudnn?
periklis has quit [Ping timeout: 240 seconds]
<cmcdragonkai1> Oh dw, I just tried it, and out comes the message about me needing to download it out-of-band.
<nyberg> Is it possible to inspect all functions valid within the definition of a package?
<adisbladis> nyberg: What do you mean?
<nyberg> having issues with additional build phases for an idris package so looking for the correct setting to add the command
<nyberg> https://0x0.st/sAUz.nix this is the package
ebzzry_ has quit [Ping timeout: 260 seconds]
<cmcdragonkai1> How does the transition work from nix <2.0 to the new 2.0 commands?
<hyper_ch> sphalerite_ ping
<hyper_ch> he's hiding from me :(
noam has joined #nixos
<mfiano> How would I fold these 2 separate packages into 1 package file to be called in packageOverrides? https://gist.github.com/anonymous/2a6b422ff1994d535d5f4a2a5b22cb1e
<cmcdragonkai1> Is there an alternative to nix-prefetch-url file://
<cmcdragonkai1> When I want to store a file directly into the nix store?
<adisbladis> cmcdragonkai1: Why do you want an alternative?
<cmcdragonkai1> It doesn't work on my system.
<cmcdragonkai1> I think my nix-prefetch-url is too old to support file://
<niksnut> nix-store --add-fixed sha256 <path>
noam_ has joined #nixos
noam has quit [Ping timeout: 268 seconds]
ebzzry_ has joined #nixos
the-kenny has quit [Ping timeout: 240 seconds]
the-kenny has joined #nixos
<LnL> is there a way to get the outputHash for that?
<Izorkin> I have 2 servers, and run "nix build" on them. On one server, I get progress output ( see https://imgur.com/a/D9sKi ), but on the other server output is empty. What can I do to enable progress output?
<LnL> like for any fixed output store path
<fearlessKim[m]> after months of trying to provide some basic lua packaging for nixos, I just realized via testing my laborously written system that such a system existed, but limited to the torch subsystem ! Sergey Mironov you are the devil
headfault has quit [Ping timeout: 245 seconds]
<BlessJah> Is it possible to luks open sdb with file I have on rootfs on sda (opened by luks password)?
ma27 has joined #nixos
TweyII has joined #nixos
TweyII is now known as Guest1860
phdoerfler has joined #nixos
<hask_bee_3> I have this in my foo.nix: with import <nixpkgs> {}; writeText "whaaat.txt" "A great string: ${rofl}" But calling nix-build --argstr rofl hehe foo.nix still gives me error: undefined variable 'rofl' Why?
nyberg has quit [Quit: WeeChat 2.0]
pxc1 has joined #nixos
<hask_bee_3> And calling nix-build --arg rofl hehe foo.nix now gives me error: undefined variable 'hehe' How to get around this?
<the-kenny> BlessJah: Pretty sure it is, yeah. You might need to add `systemd.generator-packages = [ pkgs.systemd-cryptsetup-generator ];` and `environment.etc.crypttab` to your configuration.nix
<BlessJah> the-kenny: I've added boot.initrd.luks.devices with keyFile = "/root/sdb1.key", but it kept waiting for /root to appear instead of mounting it first
pxc1 has quit [Ping timeout: 245 seconds]
<BlessJah> the-kenny: oh, you mean I should use crypttab/systemd instead of initrd.luks.devices
<the-kenny> BlessJah: I'm not sure, depends on your setup
<the-kenny> My setup is actually used for dynamically mounting stuff via udev
<BlessJah> I have rootfs on one drive and data (i.e. home) on other
ottidmes has joined #nixos
<BlessJah> except it's not home, I could even mount it manually after I'v e logged in
<the-kenny> you should be able to specify the dependency "sda must be mounted before sdb" somehow, but I'm not sure where :)
<cmcdragonkai1> niksnut: How does that command interact with garbage collection?
dhess has quit [Ping timeout: 240 seconds]
ajp has quit [Ping timeout: 240 seconds]
<sphalerite_> hyper_ch: I'm here now, I went to uni and back
yann-kaelig has joined #nixos
<hyper_ch> uni... yeah... I used that excuse like 15 years ago ;)
<sphalerite_> went to uni, found everything was closed, and went back
<sphalerite_> the British always unprepared for snow
<hyper_ch> I didn't quite understand what you were asking :) I assume it has to do with native zfs encryption
<sphalerite_> yes
<winem_> hi, I have a problem to understand what it takes to install a custom application on a remote server. what works is that we build the application on server 1 and use nix-copy-closure to copy the closure from this server to a new machine. but this just "satisfies" the dependencies and does not really install the application, right?
<sphalerite_> so if I recv into a child of an encrypted dataset it will be encrypted as well?
<hyper_ch> encrytpion is on-creation setting for a dataset... you can't change it later
<sphalerite_> oh :(
<hyper_ch> sphalerite_: yes
<hyper_ch> dataset, not pool
<winem_> before, we did it with nix-serve on the build machine and then nix-serve /nix/story/.../appxyz --options extra-binary-cache=buildserver:port
<hyper_ch> but new dataset will be needed to create
<sphalerite_> ah so recv counts as creation?
<hyper_ch> when you create a new dataset
<sphalerite_> so if I have an unencrypted filesystem with unencrypted snapshots I can send it and recv it into an encrypted one?
<hyper_ch> either through zfs create or zfs receive
<hyper_ch> yes
<sphalerite_> perfect
<sphalerite_> thanks!
<hyper_ch> on the receiving end, create an encrypted dataset
<hyper_ch> and then send it as childset of that encrypted one
<sphalerite_> right, awesome
<hyper_ch> and you can then easily check if it's encrypted by checking the zfs options: zfs get all tank/encrypted/NEW | grep crypt
<hyper_ch> zfs get all tankSubi/encZFS/Nixos | grep crypt
<hyper_ch> tankSubi/encZFS/Nixos encryption aes-256-gcm -
<hyper_ch> tankSubi/encZFS/Nixos encryptionroot tankSubi/encZFS -
<hyper_ch> and if you want, you could then move the child dataset around and it stays encrypted
dhess has joined #nixos
<hyper_ch> sphalerite_: one thing: the zfs encryption key needs to be loaded for that dataset, otherwise it can't write any data
ajp has joined #nixos
ajmccluskey has joined #nixos
<sphalerite_> that makes sense
<BlessJah> the-kenny: you were right, crypttab and fstab were the way to go
<the-kenny> nice
<hyper_ch> so you probably want to use a key file for the password
<BlessJah> two paralel encryption related discussions can be confusing at a times
<hyper_ch> BlessJah: native zfs encryption is nice
<BlessJah> it's finally released? great
<BlessJah> can I have sub-dataset encrypted or is it per master thing?
<hyper_ch> in master
<hyper_ch> BlessJah: it's dataset based, not pool based
<hyper_ch> so you can have encrypted and unencrypted datasets
* BlessJah tries to remember what dataset exactly was
<sphalerite_> it's an inhabitant of a zpool
<sphalerite_> either a filesystem or a zvol
<sphalerite_> I don't think there are any other kinds?
<hyper_ch> BlessJah: a pool is a zfs storage thing that consists of one or more block devices (e.g. complete hard drive or a partition)... the pool can have various modes (e.g. mirror like raid1 etc)
<BlessJah> hyper_ch: actually pool consists of vdevs and vdevs consist of block devices
<hyper_ch> BlessJah: a dataset is a user visible filesystem that contains files and stuff
<hyper_ch> you have one root dataset that has the same name as the zfs pool
phdoerfler has quit [Quit: Leaving.]
<ma27> hyper_ch: as you've asked me a while ago, there's a nixpkgs PR which aims to finally fix flexget: https://github.com/NixOS/nixpkgs/pull/35557 by rnhmjoj[m]
<hyper_ch> and you can create more child datasets with different properties etc
<hyper_ch> ma27: yey
<BlessJah> yeah, thanks
<hyper_ch> the datasets can also be moved around, e.g. pool/cur/DS --> pool/DS
<BlessJah> I use zfs but don't mess with it on a daily basis, so I didn't knew if encryption is pool dataset level or sub-dataset level thing
iyzsong has joined #nixos
<hyper_ch> it can be the root pool and due to inheritance everything below it will also be encrypted... but upon dataset creation you could also set encryption to no....
<hyper_ch> I currently use pool/encZFS/........
<BlessJah> yep, very appealing option
<hyper_ch> because there was a format change and if another format change comes up, I can easily move things around
<hyper_ch> what's also awesome (once it'll properly work) is encrypted zfs raw sending
<hyper_ch> e.g. you have an encrypted dataset... then you can make a raw send and it will keep all its permissions and encryption and stuff, meaning you could back it up to a public cloud
joepie91 is now known as z
z is now known as joepie91
<sphalerite_> hyper_ch: you can already pipe zfs send into gpg :p
<hyper_ch> sphalerite_: which requires an additional step currently
<hyper_ch> sphalerite_: or you could send it to a remote company that offers also zfs storage for backup
<hyper_ch> you'd just raw send the data
<sphalerite_> fair enough
<hyper_ch> I think raw send is pretty awesome but still has some bugs... although tom did merge some patches... haven't tried since
lugu has joined #nixos
<niksnut> cmcdragonkai1: what command?
<cmcdragonkai1> niksnut: nix-store --add-fixed
<niksnut> ah
<niksnut> the result can be garbage collected
<niksnut> unless you make a root pointing to it
<cmcdragonkai1> So if I initiate a garbage collection command
<cmcdragonkai1> It will be deleted
<cmcdragonkai1> Remind me how to creat a gcroot for this? And really there should be a page that explains these edge cases published somewhere...
sigmundv has quit [Ping timeout: 245 seconds]
<hyper_ch> ma27: it's not merged yet, right?
<ma27> hyper_ch: correct, some people who actually use/need it should test it in the first place
<hyper_ch> how?
<ma27> well, just check out the branch, get it running (IIRC there's a module as well) and see if everything works
<ma27> in the end it's a python package so it might build successfully, but some actual features migh tbe broken
JagaJaga has joined #nixos
<hyper_ch> can't really test it the next 2 weeks or so
<ma27> and someone who knows a bit more about this should test it before we merge it into master
sigmundv has joined #nixos
<hyper_ch> it's very simple
<hyper_ch> run it, add some feed, check if torrents get downloaded if it matches
<ma27> not sure if I find sufficient time, but I can give it a try as well :)
<hyper_ch> I'll see what I can do :)(
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/268d99b1fe4 (from 78 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
phdoerfler has joined #nixos
<ma27> hyper_ch: great! Would be awesome if we could get this working in 18.03 %)
sigmundv_ has joined #nixos
sigmundv has quit [Ping timeout: 260 seconds]
lugu has left #nixos [#nixos]
<hyper_ch> :)
reinzelmann has quit [Quit: Leaving]
ma27 has quit [Ping timeout: 245 seconds]
<ottidmes> When I run nixos-rebuild switch I get: Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
<sphalerite_> cmcdragonkai1: I think you can probably do nix-store -r /nix/store/<path> --add-root foo --indirect
sigmundv__ has joined #nixos
sigmundv_ has quit [Ping timeout: 248 seconds]
JagaJaga has quit [Quit: WeeChat 1.9]
jtojnar has joined #nixos
ma27 has joined #nixos
robstr has quit [Remote host closed the connection]
hask_bee_3 has quit [Quit: Textual IRC Client: www.textualapp.com]
<LnL> yeah, that should work
coot has joined #nixos
chocopuff has joined #nixos
rardiol1 has joined #nixos
TonyTheLion has joined #nixos
headfault has joined #nixos
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #nixos
peacememories has joined #nixos
peacememories has quit [Client Quit]
JagaJaga has joined #nixos
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
xcmw has joined #nixos
infinisil has joined #nixos
<srhb> Is there a good way to rerun a hydra eval with debug information from the command line?
<srhb> Tracking down something not evaluating in restricted mode is not easy.
<ottidmes> This is causing my memory issue, too bad, because I liked the approach: import <nixpkgs-unstable> { config = { allowUnfree = true; }; };
Neo-- has joined #nixos
peacememories has joined #nixos
infinisil has quit [Client Quit]
infinisil has joined #nixos
MP2E has quit [Remote host closed the connection]
infinisil has quit [Client Quit]
infinisil has joined #nixos
<srhb> Is there an easy way to simuate running a nixos test in restricted mode locally?
<LnL> ottidmes: you run out of memory when enabling unfree packages?
<TonyTheLion> I've got this qemu command, 'qemu-system-x86_64 -enable-kvm -m 4G -cdrom ../install/nixos/nixos-17.09.3023.c882c4dd55e-x86_64.iso -initrd ../install/nixos/iso/boot/initrd -kernel ../install/nixos/iso/boot/bzImage -append "console=ttyS0" -boot order=d ./hydra.qcow2 -nographic', but when booting the installer it barfs :(
<TonyTheLion> it says 'Timed out waiting for device /dev/root, trying to mount anyway.'
<TonyTheLion> anyone know how I could make the installer actually run?
knupfer has joined #nixos
<LnL> is that a build-vm-with-bootloarder?
<TonyTheLion> its a nixos.iso I downloaded
<TonyTheLion> and then I mounted the iso so I could access the bzImage and initrd files
<TonyTheLion> 'sudo mount -o loop nixos.iso iso_dir
<TonyTheLion> is there a special iso I should download for this?
<LnL> not sure
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #36094: wxmaxima: 17.10.1 -> 18.02.0 (master...auto-update/wxmaxima-17.10.1-to-18.02.0) https://git.io/vAPyI
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> LnL: No, unrelated to unfree, it fails when I include my unstable checkout, so I can do kexectools = self.unstable.kexectools; in my overlay for example
<ottidmes> LnL: I am trying Nix 2, to see if that helps
<LnL> is there anything else special you have with overlays?
<LnL> or is it just the 2 nixpkgs evals
alexteves has joined #nixos
kelleyNif has joined #nixos
coot has quit [Quit: coot]
<ottidmes> LnL: I have like 20 pkgs defined over 3 overlays, but nothing special, I use a lot of mkMerge's in my configs though, maybe that is expensive?
<LnL> possibly, but I can't really imagine it beeing as expensive as evaluating all of nixpkgs 4 times
Myrl-saki has joined #nixos
JagaJaga has quit [Quit: WeeChat 1.9]
<ottidmes> LnL: When I move it out of the overlay to another overlay it seems to build again
<ottidmes> LnL: 4 times? So it needs to read each twice?
<headfault> how do I install nix-2.0? it's not in the unstable channel, nor does it seem to be in nixpkgs master on github
<LnL> no, you run into similar problems when evaluating all of nixpkgs 4 times in a single expression
<ottidmes> headfault: nix.package = pkgs.nixUnstable;
<LnL> like ofborg and hydra do for multiple platforms
<headfault> ottidmes: it says nix-2.0pre5968....
<ottidmes> LnL: Ah, like so
<headfault> ottidmes: (I tried that version yesterday, with nearly catastrophic effects. not doing it again)
<headfault> the clue is in the title
<ottidmes> headfault: Yeah, it is not in 17.09 yet, to my knowledge at least, we have to wait for 18.03 for it to become the default
<srhb> Where does Hydra set restrict-eval?
<ottidmes> headfault: You might want to use the one on nixos-unstable instead
<headfault> I am on unstable
<ottidmes> headfault: Then I will shut up :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] limeytexan opened pull request #36117: perlPackages.POE: init at 1.367 (master...perlPackages-POE) https://git.io/vAX8Y
NixOS_GitHub has left #nixos [#nixos]
<headfault> ottidmes: in fact, I'm on the bleeding edge github version ;)
<ottidmes> headfault: If you do not really have a need, I think it is best to just wait until 18.03 is released
<headfault> ottidmes: yeah. I was just curious. I really like what has been done
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robstr has joined #nixos
freeman42x]NixOS has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] avnik opened pull request #36118: glm library fix for build with modern gcc, also removed anciet version of it (master...fix/glm) https://git.io/vAX8N
NixOS_GitHub has left #nixos [#nixos]
xAFFE has joined #nixos
chocopuff is now known as XxX_potato_XxX
XxX_potato_XxX is now known as chocopuff
Rusty1_ has joined #nixos
<ottidmes> LnL: I solved my issue, it had to do with <nixpkgs-overlays>. I always try to unify the Nix (nix-* tools) and NixOS (nixos-rebuild) worlds by making sure they both use the same configs, but this caused my overlays to be included twice, once via <nixpkgs-overlays> in impure.nix and once via nixpkgs.overlays
<infinisil> headfault: you're running nixos on master? That's kinda dangerous..
<etu> !channel
<etu> !factiods
<etu> meh
xAFFE has left #nixos [#nixos]
<infinisil> !which channel
<mfiano> How does one manage a git repo of their configs? Is it safe to chown /etc/nixos so a normal user can manage a repo with git, or what's the best thing to do here?
<gchristensen> mfiano: that is probably fine, yeah
<ottidmes> mfiano: I always symlink my /etc/nixos/configuration.nix to my default config in my git repo, and I set nixos-config=/abs/path/to/config/repo/default.nix via nix.nixPath, but there are many different approaches to manage your configs
<mfiano> Thanks
<Izorkin> In nixos possible to install megacli?
coot has joined #nixos
<samueldr> TonyTheLion: does it work if you qemu-system-x86_64 -enable-kvm -m 4G -cdrom result/iso/nixos--18.03.git.831ef47-x86_6
<samueldr> 4-linux.iso -nographic
<samueldr> ugh, didn'T want to send this split
<samueldr> and then add the `console=ttyS0` at the syslinux prompt (by pressing tab)
<Izorkin> nix-env -iA nixos.megacli - not work, nix search megacli - not found
<samueldr> (I have done it successfully, but haven't tried with a .qcow2 and -boot-order=d, but pretty sure using the iso with only `cdrom` should work)
<samueldr> (though you'll need to do that manual step unless you rebuild your own iso with the console parameter)
<headfault> if I install libraries (e.g. zlib or zlib.dev) with nix-env, ~/.nix-profile is practically unaffected, and pkg-config does not pick up anything. Any ideas why?
<ottidmes> Izorkin: nix-env -iA megacli
<manveru> LnL: you gonna push a version of nix-docker with 2.0?
headfault has quit [Remote host closed the connection]
<ottidmes> Izorkin: It could be that you do not have nixpkgs.config.allowUnfree = true; set, which you need apparently
headfault has joined #nixos
<Izorkin> error - Unfortunately, we cannot download file 8.07.07_MegaCLI.zip automatically.
<ottidmes> Izorkin: Yep, that is perfectly fine, do what it says and it should work
<ottidmes> Izorkin: Has to do with licensing and such, some packages like e.g. Oracle's JDK cannot just be downloaded automatically, so you have to import yourself in the nix store so it can be found
lord| has quit [Quit: WeeChat 2.0.1]
<LnL> manveru: oh right! I should do that :)
<manveru> :)
<manveru> thanks
michas_ has joined #nixos
<LnL> I'll try to do it today, should have some time for that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #36118: glm: removed anciet version of glm, it not used anymore (master...fix/glm) https://git.io/vAX8N
NixOS_GitHub has left #nixos [#nixos]
coot has quit [Quit: coot]
coot has joined #nixos
roberth has quit [Quit: Leaving.]
michas_ has quit [Ping timeout: 252 seconds]
alexteves has quit [Remote host closed the connection]
alexteves has joined #nixos
headfault has quit [Ping timeout: 240 seconds]
rauno has quit [Ping timeout: 276 seconds]
rgc has joined #nixos
xcmw has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35162: [RDY] pythonPackages.cmd2: 0.7.7 -> 0.8.0 (master...cmd2) https://git.io/vA89k
tertle||eltret has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
robstr has quit [Remote host closed the connection]
robstr has joined #nixos
<fearlessKim[m]> is torch broken on nixos-unstable ? nix-shell -p torch fails for me
reinzelmann has joined #nixos
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi has joined #nixos
pxc1 has joined #nixos
robstr has quit [Ping timeout: 240 seconds]
YegorTimoshenko[ has joined #nixos
<manveru> fearlessKim[m]: what do you mean with "fails"?
<manveru> nix run -f channel:nixos-unstable torch -c luajit -v #> LuaJIT 2.1.0-beta1 -- Copyright (C) 2005-2015 Mike Pall. http://luajit.org/
<fearlessKim[m]> manveru: right sorrym I meant failed building with 'module torchcwrap not found'
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
Guest1860 has quit [Changing host]
Guest1860 has joined #nixos
Guest1860 is now known as TweyII
pxc1 has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vAXuh
<NixOS_GitHub> nixpkgs/master bd0ff57 Michael Weiss: jekyll: 3.7.2 -> 3.7.3
NixOS_GitHub has left #nixos [#nixos]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgc has left #nixos [#nixos]
coot has quit [Quit: coot]
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAXzc
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e2b58ac Frederik Rietdijk: Merge pull request #36027 from ryantm/auto-update/socket_wrapper-1.1.5-to-1.1.9...
<NixOS_GitHub> nixpkgs/master 0d9aa85 Ryan Mulligan: socket_wrapper: 1.1.5 -> 1.1.9...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAXzl
<NixOS_GitHub> nixpkgs/master 187a8b1 Frederik Rietdijk: Merge pull request #36020 from ryantm/auto-update/shc-3.9.3-to-3.9.6...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 9648aeb Ryan Mulligan: shc: 3.9.3 -> 3.9.6...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAXzB
<NixOS_GitHub> nixpkgs/master d374fca Frederik Rietdijk: Merge pull request #36019 from ryantm/auto-update/shapelib-1.4.0-to-1.4.1...
<NixOS_GitHub> nixpkgs/master 7f2d49c Ryan Mulligan: shapelib: 1.4.0 -> 1.4.1...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 7c11181 Frederik Rietdijk: Merge pull request #36016 from ryantm/auto-update/sec-2.7.7-to-2.7.12...
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAXzR
<NixOS_GitHub> nixpkgs/master 4cb01d3 Ryan Mulligan: sec: 2.7.7 -> 2.7.12...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAXzz
<NixOS_GitHub> nixpkgs/master 10665a9 Ryan Mulligan: sassc: 3.4.5 -> 3.4.8...
<NixOS_GitHub> nixpkgs/master 3ee1423 Frederik Rietdijk: Merge pull request #36010 from ryantm/auto-update/sassc-3.4.5-to-3.4.8...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master a66ee6d Ryan Mulligan: samplv1: 0.8.5 -> 0.8.6...
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAXza
<NixOS_GitHub> nixpkgs/master 38528d6 Frederik Rietdijk: Merge pull request #36009 from ryantm/auto-update/samplv1-0.8.5-to-0.8.6...
hask_bee_3 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36004: rt: 4.4.0 -> 4.4.2 (master...auto-update/rt-4.4.0-to-4.4.2) https://git.io/vAPX1
NixOS_GitHub has left #nixos [#nixos]
<hask_bee_3> How likely would you deem that "bash" will one day refer to something other than Bash 4.4, such as Bash 4.5 or even Bash 5?
<sphalerite_> hask_bee_3: as likely as there being a bash 4.5 or bash 5 :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXzd
<NixOS_GitHub> nixpkgs/master 209825a Ryan Mulligan: telepresence: 0.65 -> 0.67...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXzb
<NixOS_GitHub> nixpkgs/master 006e666 Ryan Mulligan: tintin: 2.01.1 -> 2.01.4...
NixOS_GitHub has left #nixos [#nixos]
headfault has joined #nixos
<hask_bee_3> sphalerite_ well, they use explicit versions for postgresql, such as postgresql100. i don't see a similar bash44 for instance.
<hask_bee_3> I guess you're either supposed to (1) make sure to write solid Bash scripts that will also work with Bash 5, or (2) fix the particular nixpkgs revision you want to use.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36018: shaarli: 0.9.2 -> 0.9.5 (master...auto-update/shaarli-0.9.2-to-0.9.5) https://git.io/vAP1B
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35999: rocksdb: 5.10.2 -> 5.10.3 (master...auto-update/rocksdb-5.10.2-to-5.10.3) https://git.io/vAPX8
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXgC
<NixOS_GitHub> nixpkgs/master 908cf07 Ryan Mulligan: resolv_wrapper: 1.1.3 -> 1.1.5...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXgB
<NixOS_GitHub> nixpkgs/master 365b5c4 Ryan Mulligan: recoll: 1.23.5 -> 1.23.7...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXgz
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master ac7c1c7 Ryan Mulligan: quota: 4.03 -> 4.04...
<gchristensen> FRidh: do you have a wishlist or something I could buy something off?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35983: qgis: 2.18.15 -> 2.18.16 (master...auto-update/qgis-2.18.15-to-2.18.16) https://git.io/vAPix
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35979: pure-ftpd: 1.0.46 -> 1.0.47 (master...auto-update/pure-ftpd-1.0.46-to-1.0.47) https://git.io/vAPiM
NixOS_GitHub has left #nixos [#nixos]
michiel_l has quit [Quit: No Ping reply in 180 seconds.]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXgi
<NixOS_GitHub> nixpkgs/master 4cac5a7 Ryan Mulligan: pshs: 0.3.1 -> 0.3.2...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35973: povray: 3.7.0.4 -> 3.7.0.7 (master...auto-update/povray-3.7.0.4-to-3.7.0.7) https://git.io/vAPiz
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35968: pjsip: 2.7.1 -> 2.7.2 (master...auto-update/pjsip-2.7.1-to-2.7.2) https://git.io/vAPiC
NixOS_GitHub has left #nixos [#nixos]
michiel_l has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch opened pull request #36119: Convert maintainer file entries to attributes, add github handles (master...maintainer-reformat) https://git.io/vAXg5
NixOS_GitHub has left #nixos [#nixos]
roconnor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXgb
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master aad2b5a Ryan Mulligan: peru: 1.1.0 -> 1.1.3...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #36120: mpc-qt: init at 17.11 (master...new.mpc-qt) https://git.io/vAXgx
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXgp
<NixOS_GitHub> nixpkgs/master 38dcb29 Ryan Mulligan: peek: 1.2.0 -> 1.2.2...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAX2v
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b89ef02 Ryan Mulligan: pcapfix: 1.1.0 -> 1.1.1...
07IACK2R1 has joined #nixos
<07IACK2R1> nixpkgs/master 2bcf92a Ryan Mulligan: peco: 0.5.1 -> 0.5.2...
<07IACK2R1> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAX2L
07IACK2R1 has left #nixos [#nixos]
94KAACMY9 has joined #nixos
<94KAACMY9> [nixpkgs] FRidh closed pull request #35955: peco: 0.5.1 -> 0.5.2 (master...auto-update/peco-0.5.1-to-0.5.2) https://git.io/vAPKv
94KAACMY9 has left #nixos [#nixos]
asuryawanshi has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #36114: diceware: 0.9.3 -> 0.9.4 (master...asymmetric/diceware) https://git.io/vAXYq
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAX2O
<NixOS_GitHub> nixpkgs/master 2fe9ca0 Ryan Mulligan: pari: 2.9.3 -> 2.9.4...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roconnor opened pull request #36121: bitcoin: 0.15.1 -> 0.16.0 (master...bitcoin) https://git.io/vAX2G
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35949: pamixer: 1.3 -> 1.3.1 (master...auto-update/pamixer-1.3-to-1.3.1) https://git.io/vAPoQ
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35948: pam_mount: 2.15 -> 2.16 (master...auto-update/pam_mount-2.15-to-2.16) https://git.io/vAPoS
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAX2B
<NixOS_GitHub> nixpkgs/master e74fbed Ryan Mulligan: padthv1: 0.8.5 -> 0.8.6...
NixOS_GitHub has left #nixos [#nixos]
jensens has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35933: opencryptoki: 3.8.1 -> 3.8.2 (master...auto-update/opencryptoki-3.8.1-to-3.8.2) https://git.io/vAPrP
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAX2g
<NixOS_GitHub> nixpkgs/master ffdfd50 Ryan Mulligan: opencollada: 1.6.59 -> 1.6.62...
NixOS_GitHub has left #nixos [#nixos]
hask_bee_3 has quit [Quit: Textual IRC Client: www.textualapp.com]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] leenaars opened pull request #36122: Eduvpn client: init at 1.0rc11 (master...eduvpn-client) https://git.io/vAX2r
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAX2M
<NixOS_GitHub> nixpkgs/master d0eb00c Ryan Mulligan: munge: 0.5.12 -> 0.5.13...
NixOS_GitHub has left #nixos [#nixos]
07IACK2US has joined #nixos
<07IACK2US> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAX2D
07IACK2US has left #nixos [#nixos]
<07IACK2US> nixpkgs/master 69285b5 Ryan Mulligan: tcllib: 1.18 -> 1.19...
94KAACM2B has joined #nixos
<94KAACM2B> [nixpkgs] FRidh closed pull request #36046: tcllib: 1.18 -> 1.19 (master...auto-update/tcllib-1.18-to-1.19) https://git.io/vAPM8
94KAACM2B has left #nixos [#nixos]
<Profpatsch> FRidh is on a roll. :)
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
<Profpatsch> FRidh: Here’s the result of my ~6 hour research yesterday https://github.com/NixOS/nixpkgs/pull/36119
michiel_l has quit [Ping timeout: 240 seconds]
michiel_l has joined #nixos
<Profpatsch> Every github handle in there should actually be a real maintainer, maybe minus half a dozen clashes of handles >=5 characters
<makefu> Stalker-Level: 100
<Profpatsch> makefu: I have git to blame. :P
<YegorTimoshenko[> does anyone perhaps know who is the admin of #nixos:matrix.org room on Riot?
<gchristensen> I tihnk I have admin there
<gchristensen> what's up?
headfault has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] leenaars opened pull request #36123: Update message to reflect nix 2.0 availability of imperative nix-update (master...patch-1) https://git.io/vAXa2
NixOS_GitHub has left #nixos [#nixos]
<ij> manveru, I've more questions about packaging rails apps.
<ryantm> gchristensen: What do you use for your arm builder?
M-manveru has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> ryantm: I have a dual-socketed ThunderX with 96 cores and 128G of ram generously provided by Packet.net and WorksOnArm
<YegorTimoshenko[> gchristensen: nothing urgent, only some small cosmetic considerations. channel is called "#nixos" while most Riot channels have proper names (like "NixOS"), and channel address is capitalized for some reason (i.e. it's #Nixos:matrix.org). both can only be changed if one has admin rights
<manveru> ij: what's up?
<gchristensen> YegorTimoshenko[: there is also the Nix channel ... I wish I could merge the two
xcmw has quit [Ping timeout: 248 seconds]
<ryantm> Woah. I was going to say I have a bunch of Raspberry Pis but that sounds like there is no hope of that helping.
<ij> manveru, How do you combine assets with the application afterwards? Do you copy everything outside of the store, because rails wants to write inside the "${application}/tmp" anyway?
<gchristensen> YegorTimoshenko[: to be honest I don't understand Matrix. I tried really hard to like it, but couldn't actually administer it in any meaningful way that made me want to continue using it.
coot has joined #nixos
peacememories has joined #nixos
<gchristensen> grahamc is my matrix account that I used to use when I was on iOS and couldn't use Weechat on the phone
<YegorTimoshenko[> by the way! NixOS aarch64 works on Scaleway ARM64 servers and installs stuff from gchristensen and Packet's binary cache
<gchristensen> nice!
<gchristensen> ryantm: the problem with the current aarch64 builds seems to be that gcc is broken, so every build tries to ... build a broken gcc ...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] leenaars opened pull request #36124: tribler: 7.0.0rc3 -> 7.0.1 (master...tribler701) https://git.io/vAXVt
NixOS_GitHub has left #nixos [#nixos]
<Mic92> now people combine bazel and nix: https://www.tweag.io/posts/2018-02-28-bazel-haskell.html
<YegorTimoshenko[> gchristensen: i like that it can be bridged with pretty much anything, including slack, and also that it's meaningfully federated (hosting IRC server is more problematic due to spam, which resulted in IRC getting very centralized)
chreekat has joined #nixos
cstrahan has quit [Quit: Connection closed for inactivity]
<YegorTimoshenko[> there is also search, and whatnot... all things considered, this seems to be an improvement over IRC, but i have never administered/moderated a public channel, so i wouldn't know if there's a problem with that in Matrix
<ryantm> nix-update update: I finished the alphabet yesterday. I'm probably going to try to update my bot to handle more types of updates or normalize the expressions of ones that failed. There probably isn't going to be another mass of PRs for a while. I'll try to give more advance warning next time.
<gchristensen> YegorTimoshenko[: my understanding is there is no way to merge two channels, like Nix and #nixos
<gchristensen> nor is there a way to shut one down, or forward one to the other
<ottidmes> Is there a way to determine inside nix, whether it is being run from nixos-rebuild? I want to ignore the overlays defined in <nixpkgs-overlays> (because they might contain outdated paths), but I would rather not have to write a wrapper for nixos-rebuild that removes nixpkgs-overlays from the NIX_PATH
<manveru> ij: well, you need to have a mutable working directory to actually run rails, you can't just cd into your nix store and run it there easily
robstr has joined #nixos
<ij> Okay, I'll do that then. I've some kind of analysis paralysis.
arximboldi has joined #nixos
<gchristensen> ottidmes: I don't think so
<arximboldi> there is still no easy way to reuse the gitignore for filterSource, is there?
<gchristensen> unfortunately not, arximboldi
<gchristensen> that would be a very nice feature
<manveru> ij: you can probably take a look at the gitlab package/service for hints, although it's a massively more complex rails app than the usual ones...
<manveru> but the basics are the same
<arximboldi> gchristensen: there is this, but it does not seem very usable... https://github.com/numtide/nix-gitignore
qmm has quit [Ping timeout: 248 seconds]
<gchristensen> hmm nice
<gchristensen> and builtins.exec is a bit spooky
<gchristensen> I ... wouldn't use that.
<manveru> i use `fetchGit ./.` now :)
<ij> manveru, thank you for helping, I'll try to put all that to good use.
qmm has joined #nixos
<sphalerite_> YegorTimoshenko[: main reason I'm moving away from matrix again is that Riot's performance is horrendous
<sphalerite_> yet it's the only full-featured client :(
<sphalerite_> YegorTimoshenko[: additionally, I suspect that as matrix grows spam will become just as much of a problem as it is with IRC
<gchristensen> especially with federation
<sphalerite_> look at email :p
<sphalerite_> XMPP has spam issues too
<mog> xmpp is dead
coot has quit [Read error: No route to host]
<mog> google killed it
coot has joined #nixos
<mog> im increasingly of the belief irc will out live us all though
<sphalerite_> something something embrace extend extinguish
<robstr> Hey, i have a fresh fresh nixos installation with xmonad - now trying to add vi with solarized colorscheme, but it looks really different, do i need to setup a terminal with more colors or something like this ?
<sphalerite_> robstr: depends on which one you're using (both colour scheme and terminal)
<YegorTimoshenko[> mog: i have a few dozen people in my roster
<manveru> well, i wouldn't say google killed it... at least i use XMPP for it still :)
<shapr> mog: send me code and boards!
<mog> YegorTimoshenko[, they are ghosts and bots clearly
<mog> shapr, !
<mog> yes i need to do these things for you
<shapr> yes plz!
<roconnor> manveru: what client do you use for XMPP?
<manveru> pidgin
<YegorTimoshenko[> and it's also currently undergoing OMEMO switch (end-to-end encryption that properly works with multiple devices)
chreekat has quit [Quit: quitting]
<mog> shapr, are you running nixos yet?
rardiol1 has quit [Ping timeout: 260 seconds]
<robstr> sphalerite_: thank you, got it was terminal. Is there a preferred one ? currently i specified termcolors to be 256
<YegorTimoshenko[> gchristensen: i've asked people at #matrix:matrix.org room and one of the devs told me that while merging two rooms is impossible, one can forward one room to the other by deleting an alias and pointing it to the new room
<gchristensen> really!
<sphalerite_> robstr: it's mostly a matter of personal preference. I use st+tmux and just use standard 256 colors with jellybeans (https://github.com/nanotech/jellybeans.vim ) myself
<sphalerite_> robstr: I don't know which terminal you're using currently, but if you didn't make a conscious decision on that then it's probably xterm which you probably do want to move away from :p
<sphalerite_> I don't really know what the exact issue you're having is, but you might not have TERM set appropriately for vim to detect its colour support. Try `TERM=xterm-256color vim`
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXr1
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master ff00a21 Ryan Mulligan: nxproxy: 3.5.0.32 -> 3.5.0.33...
<srhb> sphalerite_: What's wrong with xterm?
xcmw has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXrA
<NixOS_GitHub> nixpkgs/master abec360 Ryan Mulligan: qca-qt5: 2.1.1 -> 2.1.3...
NixOS_GitHub has left #nixos [#nixos]
<shapr> mog: nah, setting up a VM so I can switch
<mog> dive in shapr
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 901576e Ryan Mulligan: pythia: 8.219 -> 8.226...
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXof
<robstr> sphalerite_: yea i didnt specified one
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAXoU
<NixOS_GitHub> nixpkgs/master 0c69b50 Ryan Mulligan: picard-tools: 2.17.4 -> 2.17.10...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mguentner opened pull request #36126: gawk: 4.2.0 -> 4.2.1 (master...gawk_4_2_0_to_4_2_1) https://git.io/vAXoT
NixOS_GitHub has left #nixos [#nixos]
<shapr> mog: soon as I have my VM setup
erasmas has joined #nixos
jtojnar has quit [Quit: jtojnar]
zzamboni has quit [Quit: Leaving.]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vAXoF
<NixOS_GitHub> nixpkgs/master 0a99152 Jan Tojnar: spidermonkey_52: 52.2.1gnome1 → 52.6.0...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 5555aa8 Jörg Thalheim: Merge pull request #36124 from leenaars/tribler701...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAXoA
<NixOS_GitHub> nixpkgs/master 475adad Michiel Leenaars: tribler: 7.0.0rc3 -> 7.0.1
NixOS_GitHub has left #nixos [#nixos]
schoppenhauer has quit [Ping timeout: 256 seconds]
<robstr> just tried rxvt, looks like 100y old - strange scrollbar
<ottidmes> gchristensen: I could just remove the, pathOverlays = try <nixpkgs-overlays> ""; check from impure.nix in my local checkout, but could I also explicitly set that overlays option somehow via the command line? That would be nicer
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vAXKs
<NixOS_GitHub> nixpkgs/master 150ead9 Jan Tojnar: libgee_0_{6,8}: get rid of legacy libgee...
NixOS_GitHub has left #nixos [#nixos]
<LnL> ottidmes: -I nixpkgs-overlays=./foo
MercurialAlchemi has quit [Ping timeout: 248 seconds]
<sphalerite_> srhb: nothing *really* wrong with it, but it's got a huge amount of code for a bunch of really obscure features that basically nobody needs
<arximboldi> manveru: thanks a lot that is a very good workaround!!
<ToxicFrog> robstr: what DE are you using? GNOME and KDE both have their own terminal emulators (gnome-terminal and konsole) so you might have been using one of those, too.
<manveru> robstr: urxvt is super configurable, try ctrl+middle-mouse-button
<sphalerite_> srhb: if you don't ask much of your terminal something like st or alacritty is more suitable, if you do want a bunch of features something like gnome-terminal, konsole, lxterminal, idk the list goes on
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #35592: spidermonkey_52: 52.2.1gnome1 → 52.6.0 (master...spidermonkey) https://git.io/vArEL
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #35910: libgee_0_{6,8}: get rid of legacy libgee (master...prune-libgee) https://git.io/vAPwZ
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> my impression is that xterm fills a niche that's so niche that nobody cares about it
<ottidmes> LnL: I was thinking about the argument given to nixpkgs, similar to what I did in my nixpkgs-unstable checkout for the config, but then for the regular nixpkgs checkout: import <nixpkgs-unstable> { config = { allowUnfree = true; }; }; but your suggestion should work, thanks!
<robstr> ToxicFrog: I'm using xmonad i dont need all this stuff
schoppenhauer has joined #nixos
<manveru> i use xterm every few months when my urxvtd dies...
<srhb> sphalerite_: Ah, ok. Thanks. :) (I've used it for like 15 years and probably don't know what I'm missing out on.)
szicari has joined #nixos
<ij> manveru, So gitlab's state is all in /run/gitlab and services.gitlab.statePath? But how does it find all the rails files in railspath/{app,config,db} and such?
<ottidmes> robstr: I can recommend xfce4-terminal, if you just want something that works, (zero config needed), great defaults and such, but there are plenty better out there if you are into customizing your terminal
<LnL> ottidmes: ah, { overlays = [ (self: super: {}) ]; } then
<ij> and yeah, services/misc/gitlab.nix is indeed a big one
<ottidmes> LnL: Yeah, that, but how does one set that at nixos-rebuild?
<sphalerite_> srhb: also cd /tmp; tar xf $(nix-build '<nixpkgs>' -A xterm.src); cat xterm-*/README
<LnL> the nixpkgs.overlays option?
<TweyII> robstr: I use xfce4-terminal under xmonad for GTK_IM_MODULES and pango
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michiel_l_ has joined #nixos
<LnL> ottidmes: probably better if you make an example of what you're trying to do
<srhb> sphalerite_: I'm afraid that only encourages me! What can I say, I'm a glutton for punishment.
michiel_l has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 3 new commits to master: https://git.io/vAXiM
<NixOS_GitHub> nixpkgs/master 186a5c5 Jan Tojnar: spaceFM: use udisks2
<NixOS_GitHub> nixpkgs/master c530630 Jan Tojnar: udisks_glue: use udisks1 alias instead of udisks...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0a288a2 Jan Tojnar: udisks: point to udisks2
<sphalerite_> srhb: lol
<arximboldi> manveru: but fetchGit is still not really available in most systems, is it?
<ottidmes> LnL: No, the problem is that it will use my <nixpkgs-overlays> value AND the nixpkgs.overlays (which are the same, the way I have set it up), but your suggestion of setting nixpkgs-overlays to nothing via -I will workaround that probably, I was just wondering if you can also pass it that overlays = [ ... ] at nixos-rebuild
<arximboldi> and the old fetchgit does not seem to cut it :/
<manveru> arximboldi: it's one nix-env away :)
<robstr> TweyII: thank you
cement has joined #nixos
<arximboldi> looking forward to it :)
<TweyII> robstr: You can configure it to turn off the scrollbars and menus and stuff
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #35492: udisks: point to udisks2 (master...udisks2) https://git.io/vAwch
NixOS_GitHub has left #nixos [#nixos]
<manveru> the great thing about nix is that you can control all your versions, including your nix version :)
jtojnar has joined #nixos
<robstr> TweyII: ok, what do i need for testing it ? adding xfce4-terminal to systemPackages and adapt xmonad.hs ?
<LnL> ottidmes: I suspect this might be what you're looking for https://gist.github.com/LnL7/9e3664eb6bef192ded983f4b09b0a293
mk-fg has quit [Ping timeout: 256 seconds]
<ottidmes> LnL: I am trying to get my NixOS config to determine the overlays (so I have created a system.nixpkgsOverlayFiles option that are imported for NixOS in nixpkgs.overlays, and linked into /etc/nixpkgs/overlays for nix-env and others), but if I set <nixpkgs-overlays> to /etc/nixpkgs/overlays, it will include that (basically the config from the prev built, so removed overlays will still be referred to, hence
<ottidmes> erroring) and the new overlays via nixpkgs.overlays, causing that memory issue
Porkepix has left #nixos ["WeeChat 1.9.1"]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #36017: securefs: 0.3.2 -> 0.8.1 (master...auto-update/securefs-0.3.2-to-0.8.1) https://git.io/vAP1l
NixOS_GitHub has left #nixos [#nixos]
<arximboldi> manveru: is there a way to specify a nix version itself as a dependency? when I want to use some new builtin like this? I guess there is a problem because this configuration will be evaluated in the nix of the current system or profile, so I really need to make sure the systrem or profile have the right nix version before trying to install something that uses fetchGit...
coot has quit [Ping timeout: 248 seconds]
<TweyII> robstr: You can also just nix-env -i xfce4-terminal
<TweyII> robstr: And launch it through your launcher to play with it
jensens has joined #nixos
reinzelmann has quit [Quit: Leaving]
markus1189_ has quit [Ping timeout: 245 seconds]
peacememories has quit [Ping timeout: 248 seconds]
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
__monty__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #36127: virtualbox: 5.2.6 -> 5.2.8 (master...update/virtualbox-5.2.8) https://git.io/vAXXV
NixOS_GitHub has left #nixos [#nixos]
<__monty__> I have a ghc with the yaml haskell package installed, ghc-pkg list shows it. In ghci "import Data.Yaml" just works. Cabal new-build errors with "Could not find module 'Data.Yaml'". First thing I tried was cabal update but that doesn't seem to matter.
Sonarpulse_ has joined #nixos
michas_ has joined #nixos
coot has joined #nixos
xcmw has quit [Ping timeout: 256 seconds]
<srhb> __monty__: Did you add the dependency to your cabal file?
<srhb> __monty__: build-depends, that is.
endformationage has joined #nixos
<ottidmes> LnL: Adding -I nixpkgs-overlays= did the trick, since it has to do with the entry point into nixpkgs (its arguments), the alternatives that do not modify the nixpkgs checkout itself will probably still require some argument to it or another, so I am happy with it for now, thanks for the help!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] georgewhewell opened pull request #36128: rtlwifi: 2017-07-18 -> 2018-02-17 (master...rtlwifi) https://git.io/vAX1t
NixOS_GitHub has left #nixos [#nixos]
<__monty__> srhb: /facepalm, thought I did but didn't, thanks : )
peacememories has joined #nixos
<srhb> __monty__: Welcome. :)
<srhb> To be honest there could be a "did you forget to..." hint :-P
<srhb> I do it all the time.
leat has quit [Ping timeout: 260 seconds]
iyzsong has quit [Ping timeout: 245 seconds]
<ottidmes> srhb: The same should happen for the qtbase and the like, where you need to call it not with callPackage but with the one specially made for qt, its in the manual, but a warning would be way better
<srhb> ottidmes: *blank stare* :-)
<srhb> For qtbase in haskellPackages?
amir is now known as amir_
amir_ is now known as amir__
amir__ is now known as amir
<srhb> Oooh
<srhb> Got it
yegortim1 has quit [Remote host closed the connection]
<srhb> In this case I was thinking it ought to be a cabal-install warning, but yes, agreed.
yegortim1 has joined #nixos
<ottidmes> srhb: So unrelated to this Haskell question, but related to, "there should be more warnings when packaging things in nixpkgs"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 4f50cb0 Tim Steinbach: linux: 4.4.118 -> 4.4.119
<NixOS_GitHub> nixpkgs/master c6a227c Tim Steinbach: linux: 4.14.22 -> 4.14.23
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 4 new commits to master: https://git.io/vAX1p
<NixOS_GitHub> nixpkgs/master 24643ac Tim Steinbach: linux: 4.9.84 -> 4.9.85
NixOS_GitHub has left #nixos [#nixos]
coot has quit [Quit: coot]
<sphalerite_> we need nix-lint
<srhb> ottidmes: Right, sorry, I was unable to parse the context initially. :-P
mk-fg has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 b66b03b Tim Steinbach: linux: 4.4.118 -> 4.4.119...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 4 new commits to release-17.09: https://git.io/vAXM8
<NixOS_GitHub> nixpkgs/release-17.09 f13efd5 Tim Steinbach: linux: 4.9.84 -> 4.9.85...
<NixOS_GitHub> nixpkgs/release-17.09 2a73bc6 Tim Steinbach: linux: 4.14.22 -> 4.14.23...
zzamboni has joined #nixos
<YegorTimoshenko[> sphalerite_: (and nix-format)
coot_ has joined #nixos
<genesis> could someone add bjornfor as a reviewer for https://github.com/NixOS/nixpkgs/pull/35463 please ?
<woffs> I wonder why KPTI is not enabled in i686 kernel
<genesis> ho it's perharps not necessary since i mention him
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master e1410a6 Tim Steinbach: linux: Remove 4.13.x
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vAXMx
<NixOS_GitHub> nixpkgs/master 4f6b085 Tim Steinbach: linux-copperhead: 4.15.6.a -> 4.15.7.a
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vAXMh
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 ebe462b Tim Steinbach: linux-copperhead: 4.15.6.a -> 4.15.7.a...
<TweyII> sphalerite_, YegorTimoshenko[: One day, types :þ
<gchristensen> I wrote about how the latest PR spree impacted ofborg (cc ryantm) https://www.patreon.com/posts/17266219
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #36129: bintools-wrapper: fix breakage on aarch64, where "isArm" is false (master...fix/bintools-aarch64) https://git.io/vAXD4
NixOS_GitHub has left #nixos [#nixos]
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
Itkovian_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #36129: bintools-wrapper: fix breakage on aarch64, where "isArm" is false (master...fix/bintools-aarch64) https://git.io/vAXD4
NixOS_GitHub has left #nixos [#nixos]
Itkovian_ has quit [Client Quit]
<jtojnar> YegorTimoshenko[: did you see the new meson rpath patch?
Itkovian has quit [Ping timeout: 256 seconds]
<YegorTimoshenko[> jtojnar: not yet. i've made the first patch so long ago i don't remember the specifics of the issue. i'll go see it now.
coot_ has quit [Quit: coot_]
<jtojnar> thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #36130: icu: fix regression on 32bit, missing parens :) (master...fix/icu-gcc6) https://git.io/vAXyp
NixOS_GitHub has left #nixos [#nixos]
coot_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #35942: openspecfun: 0.4 -> 0.5.3 (master...auto-update/openspecfun-0.4-to-0.5.3) https://git.io/vAPol
NixOS_GitHub has left #nixos [#nixos]
<NinjaTrappeur> Hi! I am confused about nix-channels.
<NinjaTrappeur> oops, sent too soon
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #35735: jsoncpp: 1.8.0 -> 1.8.4 (master...auto-update/jsoncpp-1.8.0-to-1.8.4) https://git.io/vA6td
NixOS_GitHub has left #nixos [#nixos]
<manveru> hehe
<manveru> i just made a neat little hack to replace the buildGoPackage deps.nix with a Gopkg.lock
<NinjaTrappeur> Hi! I am confused about nix-channels: I have added two channels via the nix-channel cli: nixos and nixos-unstable, however $NIX_PATH only points to the default nixos channel. I am a bit confused about this behavior, is there any way to make $NIX_PATH pointing to several channels?
winem_ has quit [Ping timeout: 252 seconds]
pxc1 has joined #nixos
pxc1 has quit [Ping timeout: 256 seconds]
hamishmack_ has joined #nixos
<__monty__> NinjaTrappeur: Are both those channels in ~/.nix-defexpr/channels?
<NinjaTrappeur> __monty__: they are in ~/.nix-defexpr/channels_root/
ghostyyy has joined #nixos
deba5e12_ has joined #nixos
rardiol1 has joined #nixos
<TonyTheLion> trying to crosscompile nix for arm, like so 'nix-build '<nixpkgs>' -A nix --arg crossSystem '(import <nixpkgs/lib>).systems.examples.armv7l-hf-multiplatform' but it says it cannot find 'curl' on configure, even though I have installed 'curl' under nix
<TonyTheLion> configure: error: curl is required
Itkovian has joined #nixos
coot_ has quit [Read error: Connection reset by peer]
<TonyTheLion> `which curl` yields '/home/tony/.nix-profile/bin/curl'
avn_ has joined #nixos
alunduil_ has joined #nixos
niksnut_ has joined #nixos
Willi_Butz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #36131: zuki-themes: 3.24-3 -> 3.26-1 (master...upd.zuki-themes) https://git.io/vAX7G
NixOS_GitHub has left #nixos [#nixos]
barrucad1 has joined #nixos
barrucad1 has quit [Changing host]
barrucad1 has joined #nixos
glines_ has joined #nixos
leat has joined #nixos
<__monty__> NinjaTrappeur: Is this on nixos?
nixer101 has joined #nixos
that_guy_ has joined #nixos
greymalkin_ has joined #nixos
x1n4u- has joined #nixos
<NinjaTrappeur> __monty__: yes, nixos 17.09.
puck1pedia has joined #nixos
mbrgm_ has joined #nixos
<__monty__> NinjaTrappeur: Fwiw, I have my NIX_PATH set to the channels directory so all the channel there are automatically on my NIX_PATH.
Swant_ has joined #nixos
coot_ has joined #nixos
<__monty__> I don't know how you should handle this on nixos, I imagine it would be managed for you.
marcinkuzminski_ has joined #nixos
spear2 has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
hamishmack has quit [*.net *.split]
mbrgm has quit [*.net *.split]
davidcl has quit [*.net *.split]
avn has quit [*.net *.split]
alunduil has quit [*.net *.split]
deba5e12 has quit [*.net *.split]
johnsonav has quit [*.net *.split]
jaeckel has quit [*.net *.split]
Ankhers has quit [*.net *.split]
tobiasBora has quit [*.net *.split]
statusbot has quit [*.net *.split]
hodapp has quit [*.net *.split]
glines has quit [*.net *.split]
marcinkuzminski has quit [*.net *.split]
iMatejC has quit [*.net *.split]
rsa has quit [*.net *.split]
kriztw has quit [*.net *.split]
nliadm has quit [*.net *.split]
WilliButz has quit [*.net *.split]
x1n4u has quit [*.net *.split]
alp has quit [*.net *.split]
puckipedia has quit [*.net *.split]
linuxdaemon has quit [*.net *.split]
frphank_ has quit [*.net *.split]
fleaz has quit [*.net *.split]
greymalkin has quit [*.net *.split]
barrucadu has quit [*.net *.split]
Yaniel has quit [*.net *.split]
Swant has quit [*.net *.split]
niksnut has quit [*.net *.split]
ghostyy has quit [*.net *.split]
lassulus has quit [*.net *.split]
hamishmack_ is now known as hamishmack
mbrgm_ is now known as mbrgm
greymalkin_ is now known as greymalkin
x1n4u- is now known as x1n4u
that_guy_ is now known as nliadm
puck1pedia is now known as puckipedia
<nixer101> hello! I have just installed nixos and updated it. However, the Palemoon browser constantly segfaults with log in terminal. I noticed it has version 27.4.2, but in nixos/nixpkgs there is already 27.7.2, and 27.4.2 is almost a year old. How do I proceed from here? Thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill pushed 2 new commits to master: https://git.io/vAX7S
<NixOS_GitHub> nixpkgs/master 2d786a7 Will Dietz: icu: fix regression on 32bit, missing parens :)
<NixOS_GitHub> nixpkgs/master b70e3f0 Will Dietz: Merge pull request #36130 from dtzWill/fix/icu-gcc6...
NixOS_GitHub has left #nixos [#nixos]
barrucad1 is now known as barrucadu
Swant_ is now known as Swant
alp has joined #nixos
humanoyd has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ankhers has joined #nixos
<NinjaTrappeur> __monty__: yup, I was actually expecting NIX_PATH to point there as well. There's probably a good explanation to that, I'm gonna skim github. Thanks :)
davidcl has joined #nixos
linuxdaemon has joined #nixos
<nixer101> I hope I am not muted on this channel :(
<__monty__> nixer101: That's actually the version in the stable nixos channel: https://nixos.org/nixos/packages.html#palemoon
<NinjaTrappeur> nixer101, I guess you are using the stable channel. Maybe you want to install the unstable version of this package.
coot_ has quit [Client Quit]
<nixer101> __monty__: thank you! Also for letting me know that I am not muted. :)
<nixer101> NinjaTrappeur: could you give me a hint how to do this? Just a general direction would suffice.
peacememories has joined #nixos
MinceR has quit [Ping timeout: 268 seconds]
jtojnar has quit [Quit: jtojnar]
<NinjaTrappeur> nixer101: https://nixos.wiki/wiki/Cheatsheet
astsmtl has quit [Ping timeout: 240 seconds]
<nixer101> NinjaTrappeur: thanks!
<NinjaTrappeur> look at the "Upgrading individual packages to a different channel" section
jtojnar has joined #nixos
MinceR has joined #nixos
<nixer101> Yesterday I discovered a tip, that is perhaps worth adding! In Ubuntu, you add packages. In Nixos, its much better to add option instead.
lassulus has joined #nixos
lassulus has quit [Changing host]
lassulus has joined #nixos
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
spear2 has joined #nixos
rsa has joined #nixos
kriztw has joined #nixos
hodapp has joined #nixos
fleaz has joined #nixos
zzamboni has quit [Read error: Connection reset by peer]
Yaniel has joined #nixos
iMatejC has joined #nixos
tobiasBora has joined #nixos
frphank_ has joined #nixos
justanotheruser has joined #nixos
<elvishjerricco> Nix 2.0 is great, but I'm a tad disappointed in `nix build`. I've always used `alias nix-build="nix-build --no-out-link"`, because I usually prefer to interpolate the out path from stdout rather than place a symlink anywhere. Doesn't seem possible with `nix build` :/
<roconnor> elvishjerricco: yikes!
<__monty__> Reminds me of: https://xkcd.com/1172/
jaeckel has joined #nixos
<Mic92> elvishjerricco: nix eval --raw nixpkgs.hello
<Mic92> maybe you can make it a shell function instead
<dtz> since it's moderately important software to not break, can I get a review/sanity check from someone on this? https://github.com/NixOS/nixpkgs/pull/36127 hopefully just a simple update ... :)
<manveru> elvishjerricco: i'm more disappointed that `nix eval` is broken :P
rogue_koder has joined #nixos
phdoerfler has quit [Quit: Leaving.]
<dtz> broken? You mean now needs parens? :)
<nixer101> elvishjerricco: I am building my own script "nixi", although its more of a shortcut interface than any kind of specific tool.
<manveru> broken like this
statusfa1led is now known as statusfailed
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35821: libxc: 3.0.1 -> 4.0.4 (master...auto-update/libxc-3.0.1-to-4.0.4) https://git.io/vA6Gh
NixOS_GitHub has left #nixos [#nixos]
chreekat has joined #nixos
<lexcurious> excuse me, how can I list and remove system wide old generation that I see in bootloader when booting NixOs? (the nix-env --list-generations doesn't show generations produced by nixos-rebuild switch)
<chreekat> Can I get the name of the build dir in a derivation, the way $src gets me the source dir? It would look like /tmp/nix-build-mypackage-1.2.3.drv-1/ ...
<ottidmes> chreekat: realpath . or pwd, wont they do?
ajp has quit [Ping timeout: 240 seconds]
darlan has joined #nixos
<elvishjerricco> Mic92: `nix eval --raw` doesn't build the package :/
arximboldi has quit [Quit: arximboldi]
<Mic92> elvishjerricco: therefore a shell function to first build and then return the path
<srhb> lexcurious: --profile /nix/var/nix/profiles/system
darlan has quit [Client Quit]
<Mic92> or the other way around
<cransom> hrm. is nix 2.0 going to be marked stable on the 18.03 release?
posco has quit [Ping timeout: 248 seconds]
<Mic92> yes
<srhb> cransom: It is released, and it will be the Nix of 18.03
posco has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cransom> just curious as I don't see it being in nixpkgs-unstable yet.
<chreekat> ottidmes: you're suggesting I shell out then? It's not already something defined?
<srhb> cransom: Huh, yes, that's surprising.
<srhb> cransom: Oh, no, it's still called nixUnstable there.
shachaf has quit [Ping timeout: 240 seconds]
<cransom> right. thats why i asked if it was going to be marked as stable :)
* srhb nods
<lexcurious> srhb thnx
<cransom> or rather, not Unstable.
<sphalerite_> TweyII: I highly doubt that one. I have high hopes for Dhall though!
shachaf has joined #nixos
<dtz> lah, --raw is "strict"
ryanartecona has joined #nixos
<lexcurious> srhb does removal of previous generations automatically remove boot menu entries?
<sphalerite_> lexcurious: no you need to rebuild again afterwards
dhess has quit [Remote host closed the connection]
<sphalerite_> YegorTimoshenko[: well we have hnix for formatting
<lexcurious> sphalerite_ oh ok, np, thnx, that's good
<dtz> https://github.com/NixOS/nix/issues/1763 fwiw, since I found that surprising too
shapr has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<manveru> dtz: oh uh
<mfiano> Well after 5 days I finished my nix config except for 3 applications I need, 2 of which aren't available in nixpkgs, and the third errors during build on the stable channel.
<lexcurious> how safe is nix-store --optimise command? is it 100% safe with garbage collection, generation cleanup, or is it considered expirimental and should be used at own risk?
<dtz> err it being "strict" causes that problem, since it evaluates all recursively ("deep"), which apparently is badness for our derivations
<sphalerite_> lexcurious: I've never seen any warnings about it and havge never had any trouble with it so I think it's safe
<srhb> lexcurious: In my experience totally safe. I have it on by default.
<dtz> very safe AFAIK, use it on all my machines all the time
<lexcurious> thank you, guys
<srhb> lexcurious: The only issue I've ever had was a program that, for some obscure reason, *cared* that its libraries were hardlinked.
<dtz> although generally enable it in nix.conf instead of invoking manually
<srhb> It was no match for the fury of LD_PRELOAD, however.
<lexcurious> srhb lol, funny
<__monty__> Are derivations written with dhall accepted into nixpkgs?
<sphalerite_> ugh, upstream devs. Why are you like this.
<srhb> __monty__: I have yet to see one.
xcmw has joined #nixos
<sphalerite_> __monty__: I don't think so, since the utilities for it rely on IFD
<sphalerite_> AFAIK
<srhb> Arguably you could just include it as a "generator" alongside the generated nix though.
<mfiano> The 2 missing packages I can find alternatives for , but wondering how I can solve the one build failure on the _stable_ channel
<srhb> mfiano: Plenty of things fail building on stable. Feel free to solicit help here or file an issue. :)
<srhb> mfiano: More details are necessary to be of any help though
<sphalerite_> mfiano: which package is it? Is there a github issue for it? Is a maintainer listed?
<mfiano> zathura
<__monty__> IFD? Maybe a one sentence summary? Can only find lengthy discussions about it.
<lassulus> zathura is fixed on stable? since c5bc83b503dfb29eb27c1deb0268f15c1858e7ce
<srhb> mfiano: It builds on unstable, so we can probably just backport.
<srhb> Ah, okay.
<sphalerite_> __monty__: import from derivation. Having an expression that refers to the outputs of a derivation at evaluation time.
<sphalerite_> __monty__: a simple but useless example would be import (writeText "test.nix" ''"hello"'')
dhess has joined #nixos
<sphalerite_> the problem with it is that it breaks the clean separation of evaluation and building, requiring building to complete evaluation.
<mfiano> srhb: AH, I'm a newbie just trying to get the applications I use working on NixOS, or alternatives that aren't too much of a hassle
markus1189_ has joined #nixos
<srhb> mfiano: Looks like you only have to update your channel to get it working :)
michas_ has quit [Ping timeout: 252 seconds]
<mfiano> update stable, or change to unstable?
<srhb> Update stable.
<mfiano> Because I did the former
<srhb> Update harder. :-)
<srhb> What did you do?
<mfiano> nix-env -u?
<srhb> nix-channel --update
ajp has joined #nixos
<srhb> nix-env updates a package to the latest in your current nixpkgs definition. nix-channel --update updates your nixpkgs definition.
<srhb> If you never update the channel, you will always be at the same point in time with respect to available package versions.
<mfiano> srhb: You are correct, thanks!
<srhb> mfiano: yay. :)
<mfiano> So 2 to go
<mfiano> Both not even in nixpkgs I have to find workarounds for
<mfiano> 1 is understandable being a language manager similar to npm etc
<mfiano> The other I wonder if it's in nixpkgs and I'm just not looking hard enough
<srhb> mfiano: Go on...
PMS has joined #nixos
<mfiano> Looking for this https://github.com/carnager/teiler
<srhb> mfiano: grep -r teiler from nixpkgs/pkgs/ does indeed produce nothing
<__monty__> sphalerite_: Thanks.
<nixer101> NinjaTrappeur: thanks! It works!
<nixer101> __monty__: And to you too, sir!
<mfiano> bummer
i-am-the-slime has joined #nixos
zzamboni has joined #nixos
nixer101 has quit [Quit: Konversation terminated!]
<sphalerite_> mfiano: doesn't look too hard to package though
<srhb> mfiano: You can try to request it packaged in an issue as well (or try your own hand perhaps.) Sometimes especially people looking to start contributing find such requests interesting :)
<cransom> teiler shoudln't be too bad to package. assuming the code doesn't make some very poor assumptions about fully qualified paths, bash should be easy.
<mfiano> Ah, I'm still reading the Nix manual else I wouldn't mind subjecting everyone to my terrible code
<ottidmes> chreekat: Maybe $PWD, have not tried, but just go look in nixpkgs, you will see a lot using pwd
<srhb> mfiano: Could be a fun project, and there's often someone around to help. :) But sure, perhaps for later.
<gchristensen> how many build users is "enough"?
<srhb> gchristensen: For your 96 (it's 48 really, isn't it) cores?
<sphalerite_> gchristensen: I usually go for max-jobs × 2
<gchristensen> srhb: it is really 96
<sphalerite_> srhb: it's 2×48
<srhb> :o
<gchristensen> yeah, two CPUs each with 48 cores
<sphalerite_> srhb: 2 CPUs, with 48 cores eahc
<mfiano> srhb: Yeah maybe I'll try soon. Might be a fun exercise
<srhb> Goodness...
<gchristensen> jinx
<sphalerite_> :D
vandenoever has joined #nixos
<srhb> But obviously the answer is 96. :P
<gchristensen> I get "Not enough build user" errors from time to time :/
<srhb> But *obviously* the answer is n(96)
<srhb> Off by a constant factor, I was astronomically in the ballpark.
<mfiano> I'm also thinking how to manage my private files. Not sure how people manage that with Nix...stuff like gpg encrypted passwords, and other things that should be replicated to multiple machines
<sphalerite_> mfiano: the current answer is basically not to manage it within nix
<srhb> mfiano: Adding anything secret to the nix store is mostly a no-go unless ona strictly single user system.
<srhb> mfiano: Since the Nix store will be world readable.
<srhb> mfiano: None secret things, though... Lots of ideas are emerging in that space, home-manager is very interesting.
<sphalerite_> mfiano: nixops has some stuff for deploying keys, but it works outside the nix store because everything is world-readable
orivej has quit [Ping timeout: 240 seconds]
<mfiano> I see
<gchristensen> srhb: luckily I only require my estimates to be correct within on 1AU
<srhb> gchristensen: Phew!
<sphalerite_> gchristensen: so since we're all within 1AU of you (no martians in here yet AFAIK), the estimates do need to be correct?
vandenoever has quit [Quit: ䷴៚]
<gchristensen> lol
markus1189_ has quit [Quit: WeeChat 2.0]
<mfiano> Thank you all for all the help the past week and putting up with my numerous questions. I love Nix and this community is great
<sphalerite_> \o/
<gchristensen> mfiano: :D
<mfiano> Hmm github is down
<mfiano> Right in the middle of making my first nixpkgs issue
<sphalerite_> every time
<chreekat> ottidmes: Indeed, it looks like the best option is someting like : preInstall = "export VAR=$(pwd)/..."
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] leenaars opened pull request #36132: searx: 0.13.1 -> 0.14.0 (master...leaps) https://git.io/vAXpz
NixOS_GitHub has left #nixos [#nixos]
lexcurious has quit [Ping timeout: 260 seconds]
<hyper_ch> ma27: still here?
<mfiano> Are package requests allowed for issues to nixpkgs?
asuryawanshi has joined #nixos
<gchristensen> typically we don't like them, because we want whoever packages it to be invested in maintaining it
<mfiano> Ok, I'll read more then and attempt it myself at a later date.
<simpson> It's also eventually easier to write your own expressions than to get others to do it for you.
<hyper_ch> mfiano: what package would you like?
<mfiano> I'mm not stranger to FP but there's still too much magic in Nix expressions for me to begin with a task like that
<mfiano> hyper_ch: See above; teiler
jensens has quit [Ping timeout: 268 seconds]
<mfiano> and roswell too, but that's doubtful
<hyper_ch> no idea what those are
<mfiano> teiler is a rofi backend for taking/uploading screenshots and screencasts to arbitrary services. roswell is an implementation manager for Common Lisp development.
<gchristensen> srhb: https://i.imgur.com/u0a53iR.png
takeda has joined #nixos
<mfiano> o.O
<simpson> Nice.
jb55 has joined #nixos
<infinisil> Oh no, for some reason a manpage disappeared even though it was there before -.-
<infinisil> Specifically the feh manpage
<gchristensen> a healthy load of 83 :)
<infinisil> # feh --help > See 'man feh' # man feh > No manual entry for feh
<mfiano> what kind of machine is...that?
<gchristensen> mfiano: it is a dual-socketed ARMv8/AArch64 ThunderX server
<gchristensen> mfiano: specifically, this one: https://www.packet.net/bare-metal/servers/type-2a/
hotfuzz has joined #nixos
<mfiano> I think your dual socket beats clever's
<gchristensen> no beating here, this fella is for the good of the community :)
<mfiano> :)
hotfuzz_ has quit [Ping timeout: 245 seconds]
<__monty__> gchristensen: Is this a hydra buildserver for nixpkgs on ARM?
<takeda> Is there an official tutorial how to use nix? I mean something that a person can implement step by step and see it working to get started on using Nix. I mean there's something close to that on the manual page, but it still has some missing pieces.
<sphalerite_> __monty__: it's the community build machine
<mfiano> takeda: Nix Pills is a good introduction
<gchristensen> __monty__: the hydra.nixos.org builder is one of these machines, too, but the screenshot I just posted is the community build box that sphalerite_ linked, and is also used by ofborg
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #36133: keepassxc: 2.2.4 -> 2.3.0 (master...keepassxc-2.3.0) https://git.io/vAXj3
NixOS_GitHub has left #nixos [#nixos]
<takeda> thanks, looking into it
<ma27> hyper_ch: yes
mkoenig has quit [Ping timeout: 268 seconds]
<ma27> for about 2 hours
kelleyNif has quit [Quit: Leaving.]
<ottidmes> mfiano: I packages roswell a few days back for someone, was that not you?
<hyper_ch> ma27: building flexget now
<ma27> hyper_ch: ah nice %)
<mfiano> ottidmes: It probably was...did I miss the link?
PMS has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ebe462bdc94 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #35945: packer: 1.1.3 -> 1.2.0 (master...auto-update/packer-1.1.3-to-1.2.0) https://git.io/vAPo6
NixOS_GitHub has left #nixos [#nixos]
<takeda> mfiano: looks like this might be what I'm looking for, I think it should be emphasized on the main page. I heard the word pills and I thought it was just another nix component like nixops etc.
<hyper_ch> ma27: flexget was built and the daemon started... whether it'll fetch torrents from rss I'll see soon
pxc1 has joined #nixos
<mfiano> takeda: It is on the main page
<mfiano> takeda: click on Support
<ottidmes> mfiano: I just removed it from my config, I managed to find it again, please make a copy yourself, I gave it a lifetime of two weeks, so you better make a copy: https://pastebin.com/uVyLNCeB
coot_ has joined #nixos
Thra11 has joined #nixos
PMS has joined #nixos
PMS has quit [Max SendQ exceeded]
PMS has joined #nixos
PMS has quit [Max SendQ exceeded]
<mfiano> ottidmes: Thank you! :)
PMS has joined #nixos
PMS has quit [Max SendQ exceeded]
<takeda> ok I see :) but I would put it on the front page though :)
PMS has joined #nixos
PMS has quit [Max SendQ exceeded]
PMS has joined #nixos
johnsonav has joined #nixos
xcmw has joined #nixos
<sphalerite_> takeda: you've found the most valuable resource already though :p
evangeline has quit [Ping timeout: 276 seconds]
M-dpetranek has quit [Ping timeout: 248 seconds]
andyjscott[m] has quit [Ping timeout: 248 seconds]
Dirt[m] has quit [Ping timeout: 248 seconds]
Dirt[m] has joined #nixos
andyjscott[m] has joined #nixos
magnap has quit [Ping timeout: 248 seconds]
M-dpetranek has joined #nixos
magnap has joined #nixos
<mfiano> ottidmes: I'm not sure if it will work though. I mean it downloads and manages implementations of Common Lisp, both binaries and from source.
nocoolnametom has quit [Ping timeout: 252 seconds]
Kim has quit [Ping timeout: 240 seconds]
simpson has quit [Ping timeout: 256 seconds]
Mic92 has quit [Ping timeout: 256 seconds]
dpc has quit [Ping timeout: 248 seconds]
reactormonk[m] has quit [Ping timeout: 248 seconds]
matrixkrav has quit [Ping timeout: 248 seconds]
reactormonk[m] has joined #nixos
dpc has joined #nixos
matrixkrav has joined #nixos
<takeda> sphalerite_: yes, and based on what I learned about it it looks like a great tool, I just want it to get more popular, it looks like some people get discouraged too fast
EuAndreh[m] has quit [Ping timeout: 248 seconds]
evangeline has joined #nixos
EuAndreh[m] has joined #nixos
nocoolnametom has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 3b9cf7a Tim Steinbach: docker: 17.12.0 -> 17.12.1
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vA1e0
<sphalerite_> takeda: personally I'd say their loss — and I think it's more worthwhile helping the people who do see its value make the most of it rather than trying to convince people who think it's useless and a terrible idea to change their minds
<ottidmes> mfiano: I am not familiar enough with it to know whether it will work. It will mean that it will work completely outside of the nix ecosystem, if that is fine by you, then it might work as it is right now, if it self contained enough (i.e. does not expect a certain folder structure from the Linux distribution or certain binaries to be readily available at certain points)
<__monty__> takeda: To be fair if not bothering to click on a nix pills link is an indicator of the effort they're willing to put in they're not cut out for the nix life it takes a fair bit of effort to get completely set up.
<sphalerite_> Of course I do want the whole world to use nix, but I feel like getting people who are halfway there the rest of the way there is a much more effective way of spreading it than aiming for anyone who's not willing to invest any effort into it
<gchristensen> ^
<mfiano> ottidmes: Ok, I'll try it tomorrow. Barely awake right now
<gchristensen> people who aren't invested at all in it also make pretty crappy community members
<takeda> but stuff like that might make it harder to get it adapted at some organizations, I think this could solve many issues that docker is pushed to solve
<michaelpj> is it possible to package an application built with stack in nixpkgs itself? There's buildStackProject, but it seems to require network access so won't work with sandboxing, and nothing in nixpkgs actually uses it
<sphalerite_> absolutely, docker showed me the path to the light. I was workign with docker at the job before my last one, and thought all the time I needed something like nix. A few months later I discovered that nix exists
<mfiano> I guess I'm lucky never having used docker
<sphalerite_> michaelpj: I think there's a stack2nix
simpson has joined #nixos
<sphalerite_> michaelpj: I don't know any more than the name though, so…
* sphalerite_ hides from any more questions
PMS has quit [Read error: Connection reset by peer]
orivej has joined #nixos
PMS has joined #nixos
<michaelpj> thanks, that looks plausible
PMS has quit [Max SendQ exceeded]
<sphalerite_> mfiano: I'd say that apart from the resource consumption it's a decent half-step forwards for actually deploying software that doesn't have all its deps handled in traditional distro packages
dnovosel has joined #nixos
<mfiano> I'm going all in with Nix. I'm trying to move every one of about 10 machines with completely different hardware and purpose over to it after moderate success with the first.
<Thra11> Using nix 2.0's 'nix' command, is there a way to override the channel with a local checkout of nixpkgs?
<sphalerite_> but nix is *so* much better
kelleyNif has joined #nixos
SunWuKong has joined #nixos
<sphalerite_> Thra11: pass -I nixpkgs=path/to/nixpkgs
PMS has joined #nixos
<sphalerite_> mfiano: yay! It's always nice to see people so thoroughly convinced :D
<mfiano> By going all in I can hopefully be forced to contribute to the community in some way.
<gchristensen> mfiano: this is how we sucker people in
<Thra11> sphalerite_: ok. same as nixos-rebuild and friends used to be then. thanks.
<gchristensen> give them great tools and then they just want to make them better
__Sander__ has quit [Quit: Konversation terminated!]
sigmundv__ has quit [Ping timeout: 256 seconds]
<sphalerite_> Thra11: if you're operating on the nixpkgs directly -f might be shorter to use, like for example rather than nix build -I nixpkgs=path/to/nixpkgs nixpkgs.hello you can do nix build -f path/to/nixpkgs hello
<mfiano> I was an Arch Linux user since beta days which was 2000, and LFS before that. Both were about doing things manually. I'm old now and need a break. It's just amazing how I can describe a whole system in a concise text file. :)
SunWuKong has quit [Client Quit]
<sphalerite_> yeah we seem to get a lot of former arch and gentoo users
<sphalerite_> I went almost straight from debian to nixos
asuryawanshi has quit [Remote host closed the connection]
<__monty__> I think I did ~10 linux installs before getting sick of it, turned to configuration management as a solution never really got anywhere then found nix.
rihards has joined #nixos
halfbit has joined #nixos
<ottidmes> I am former Arch Linux as well, Windows -> Ubuntu (only shortly) -> Arch Linux -> NixOS, the change from Windows to Ubuntu was the most fun, and NixOS was like finding out about Clojure when all I did before was PHP, Java and C#
<halfbit> anyone know if there's a nix expr for scylladb?
<sphalerite_> I've done tonnes of nixos installations, it's nice because it's so simple and automatable
<sphalerite_> halfbit: afaict there isn't
<halfbit> :(
<mfiano> I have to learn how to use nixops next. Though I have a few machines that requires probably some manual steps because of picky UEFI etc
<sphalerite_> mfiano: just boot everything off the network :D
<mfiano> I really never did that before :)
tmaekawa has joined #nixos
<ottidmes> halfbit: It seems like a bit of work, but there is nothing special being done, so if you are experienced enough with Nix, you might try to port this to nixpkgs: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=scylla
* sphalerite_ starts wondering how feasible a pure-netboot system would be — where even the netboot servers are netbooting
<gchristensen> sphalerite_: the problem there is your disaster recovery story is ... well. not good.
<sphalerite_> clever: this seems like something you might do
Mic92 has joined #nixos
<halfbit> actually the arch pkgbuild failed for me, and I'm tired of centos having yum/rpm issues on my servers
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vA1fq
<NixOS_GitHub> nixpkgs/master 50e99d1 Tim Steinbach: gradle: 4.5 -> 4.6
NixOS_GitHub has left #nixos [#nixos]
<Thra11> 'nix why-depends foo bar' seems to be trying to build foo. Is this normal?
<gchristensen> Thra11: seems normal, it can't know why unless it has been built
<sphalerite_> gchristensen: a battery, a steady hand, and a cut-open ethernet cable
PMS has quit [Read error: Connection reset by peer]
<gchristensen> sphalerite_: jeepers.
asuryawanshi has joined #nixos
<Thra11> gchristensen: I thought it might just explain the chain of dependencies described by nixpkgs.
PMS has joined #nixos
PMS has quit [Max SendQ exceeded]
PMS has joined #nixos
PMS has quit [Max SendQ exceeded]
tmaekawa has quit [Client Quit]
<gchristensen> Thra11: no, because why-depends describes run-time dependencies, not build-time dependencies, and the bulid-time vs run-time deps are potentially very different
ThatDocsLady_ has quit [Quit: Leaving]
reinzelmann has joined #nixos
PMS has joined #nixos
PMS has quit [Max SendQ exceeded]
<sphalerite_> I could see a drv-level why-depends being useful too.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #35548: ocamlPackages.camlp5: 7.03 -> 7.05 (master...camlp5-7.05) https://git.io/vAwhI
NixOS_GitHub has left #nixos [#nixos]
PMS has joined #nixos
<sphalerite_> Thra11: it's not got the fancy new UI but you can use nix-store -q --{graph,tree} for it
<Thra11> gchristensen: is there a way to view a build time dependency tree?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 4ab5d3a Vincent Laporte: ocamlPackages.cohttp: 1.0.0 -> 1.0.2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vA1fE
<sphalerite_> Thra11: nix-store -q --graph $(nix-instantiate '<nixpkgs>' -A foo) then search for bar in the output
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #35483: aspcud: 1.9.1 -> 1.9.4 (master...aspcud-1.9.4) https://git.io/vAwLL
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> Or pipe it to dot and grep visually
<Mic92> sphalerite_: there is nix why-depends though
<sphalerite_> Mic92: yes , that's what Thra11 was asking about
<sphalerite_> Mic92: it covers runtime, not build time dependencies
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #35418: ocamlPackages.ctypes: 0.11.5 -> 0.13.1 (master...ocaml-ctypes-0.13.1) https://git.io/vAa7n
NixOS_GitHub has left #nixos [#nixos]
acuario58 has joined #nixos
acuario58 has quit [Excess Flood]
<hyper_ch> ma27: there's still issues it seems
<Thra11> sphalerite_: thanks, that worked
acuario58 has joined #nixos
acuario58 has quit [Excess Flood]
rummik has joined #nixos
acuario58 has joined #nixos
acuario58 has quit [Max SendQ exceeded]
acuario58 has joined #nixos
<efx[m]> anyone having issues with nix 2.0 on macOS in a multi user install?
acuario58 has quit [Excess Flood]
<efx[m]> I am unable to install things and nix search returns empty
<jonge> hey there. i have a project here where i build stuff with -lasan (g++). in nix running on linux, it's there. on mac it is not. anyone an idea what kind of implicit dependency that is?
acuario58 has joined #nixos
acuario58 has quit [Max SendQ exceeded]
PMS has quit [K-Lined]
<efx[m]> `nix search vim -u`
<efx[m]> jonge: as a far shot, I'd think the stdenv's compiler could have been built different for darwin
<efx[m]> **differently
asuryawanshi has quit [Remote host closed the connection]
<jonge> hm
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #36131: zuki-themes: 3.24-3 -> 3.26-1 (master...upd.zuki-themes) https://git.io/vAX7G
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has joined #nixos
azertyieio has joined #nixos
coot_ has quit [Quit: coot_]
<jonge> efx[m]: thanks for the link!
azertyieio has quit [Client Quit]
<sphalerite_> Thra11: just opened https://github.com/NixOS/nix/issues/1918
<efx[m]> sure thing!
kitemikaze has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<srhb> gchristensen: Just saw the htop. Pretty jelly :P
__monty__ has left #nixos [#nixos]
<sphalerite_> efx[m]: what's your NIX_PATH?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #36135: catch: 1.11.0 -> 1.12.0 (master...upd.catch) https://git.io/vA1JF
NixOS_GitHub has left #nixos [#nixos]
<efx[m]> sphalerite_: /nix/var/nix/profiles/per-user/root/channels
<sphalerite_> srhb: you can use it too! Just find a package that's broken on aarch64 (i.e. an excuse to use the machine) and make a PR giving yourself access! :D
<sphalerite_> efx[m]: and sudo nix-channel --list ?
<efx[m]> I don't actually have sudo access, but as my user:
<efx[m]> disregard last backslash
<efx[m]> I added it like so:
CrazedProgrammer has quit [Ping timeout: 240 seconds]
<sphalerite_> what about ls -l /nix/var/nix/profiles/per-user/root/channels ?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<efx[m]> lrwxr-xr-x 1 root wheel 15 Feb 28 11:29 /nix/var/nix/profiles/per-user/root/channels -> channels-1-link
<sphalerite_> >.< /nix/var/nix/profiles/per-user/root/channels/ ?
<efx[m]> sphalerite_: what is that command supposed to do? not following
<sphalerite_> The >.< was an emoji :p just add a / on the end of channels
<sphalerite_> to see what's inside channels rahter than where it's pointing
ryanartecona has quit [Quit: ryanartecona]
mdedetrich has quit [Quit: Konversation terminated!]
knupfer has quit [Ping timeout: 256 seconds]
<efx[m]> lol, thanks
<efx[m]> `lrwxr-xr-x 1 root wheel 60 Feb 28 11:29 /nix/var/nix/profiles/per-user/root/channels/ -> /nix/store/8ys0m0brhir77xd3w3cncdlz384l6sxp-user-environment`
<efx[m]> https://dpaste.de/mwGR for what is in that directory
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 6303eb5 volth: graalvm8: init at 0.31
<NixOS_GitHub> nixpkgs/master 4f811de volth: graalvm8: more robust hash replace on derivation copy
<NixOS_GitHub> [nixpkgs] dtzWill pushed 6 new commits to master: https://git.io/vA1Tn
<NixOS_GitHub> nixpkgs/master d9d09d8 volth: jvmci8: 0.36 -> 0.41
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hedning opened pull request #36136: programs/bash: install nix-bash-completions if completion is enabled (master...nix-bash-completions-on-enableCompletion) https://git.io/vA1TK
NixOS_GitHub has left #nixos [#nixos]
CrazedProgrammer has joined #nixos
cinimod has joined #nixos
* gchristensen waves to cinimod
xcmw has joined #nixos
robstr has quit [Remote host closed the connection]
<efx[m]> I tried adding master branch of nixpkgs repo under a different channel name, but installs are still broken
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rardiol opened pull request #36137: Hicolor (master...hicolor) https://git.io/vA1kZ
NixOS_GitHub has left #nixos [#nixos]
<cinimod> I am building gsl (gnu scientific library) with debugging turned on
<cinimod> And that works if I use gsl directly
<cinimod> By works I mean I see debug statements
coot_ has joined #nixos
<cinimod> E.g. gcc gslinv.c -lgsl -lgslcblas -o gslinv
<cinimod> But if I use the haskell package hmatrix-gsl I don't see any DEBUG statements
<cinimod> So I think I need to say something in my shell.nix that forces hmatrix-gsl to use my gsl?
muzzy has joined #nixos
<cinimod> Apologies I shouldn't have asked this question just now as I have to go out
<cinimod> I will ask again tomorrow
<cinimod> Sorry for the noise
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #36138: ocaml: 4.06.0 -> 4.06.1 (master...ocaml-4.06.1) https://git.io/vA1IF
NixOS_GitHub has left #nixos [#nixos]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chocopuff298 has joined #nixos
coot_ has quit [Quit: coot_]
coot_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging 34f95d9 Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vA1Lv
<TweyII> What's the reason that I seem to have to do nix-build -A foo '<nixpkgs>' while other people seem to be able to just do nix-build -A foo? ¬.¬
<sphalerite_> TweyII: nix-build will default to default.nix in the cwd
pxc1 has quit [Ping timeout: 240 seconds]
<sphalerite_> TweyII: if you happen to be in a nixpkgs checkout, nix-build -A foo will build the foo in there
<sphalerite_> cinimod: when you do have time — maybe check the closure using nix-store -qR to make sure there isn't more than one copy of gsl in there
<sphalerite_> and -q --graph to find out where it's coming from, if there is more than one
<TweyII> sphalerite_: Hm, okay
chocopuff has quit [Ping timeout: 260 seconds]
<TweyII> sphalerite_: So when people say ‘just do nix-build -A foo’ they're being sneaky and skipping the step of being in a nixpkgs?
<sphalerite_> yes
reinzelmann has quit [Ping timeout: 252 seconds]
<sphalerite_> probably force of habit. I bet about half my terminal sessions are currently cd'd to a nixpkgs checkout
<jtojnar> Mic92: flat structure like triton would be nice
robstr has joined #nixos
ryanartecona has joined #nixos
<TweyII> Hm, okay. Thanks! I just always assumed I was missing some config that caused nix-build to default to <nixpkgs>.
<Mic92> jtojnar: we currently discuss this in #nixos-wiki
<jtojnar> cool
reinzelmann has joined #nixos
sphalerite is now known as sphalerit
hask_bee_3 has joined #nixos
<hask_bee_3> Is there a way to find the "full path this nix file's directory" within a nix file (to be built with nix-build)?
<sphalerite_> hask_bee_3: toString ./.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] LnL7 opened pull request #1920: launchd: enable keepalive for the nix-daemon service (master...darwin-daemon-keepalive) https://git.io/vA1tf
NixOS_GitHub has left #nixos [#nixos]
sphalerite_ is now known as sphalerite
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ebe462bdc94 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
xcmw has joined #nixos
TweyII has quit [Ping timeout: 245 seconds]
<hask_bee_3> sphalerite thanks!
Neo-- has quit [Ping timeout: 252 seconds]
jb55 has quit [Quit: WeeChat 2.0]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vA1t5
<NixOS_GitHub> nixpkgs/master edf0a76 Shea Levy: glibc_2_27: LOCAL_ARCHIVE -> LOCALE_ARCHIVE
NixOS_GitHub has left #nixos [#nixos]
robstr has quit [Remote host closed the connection]
mmlb has joined #nixos
pxc1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to staging: https://git.io/vA1qq
<NixOS_GitHub> nixpkgs/staging cfa63f9 Shea Levy: Merge branch 'master' into staging
NixOS_GitHub has left #nixos [#nixos]
humanoyd has quit [Quit: WeeChat 2.0.1]
vcunat has joined #nixos
muzzy has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/glibc-2.27 f50d0f1 Shea Levy: Merge branch 'staging' into glibc-2.27
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to glibc-2.27: https://git.io/vA1qo
pxc1 has quit [Ping timeout: 252 seconds]
<ottidmes> I think I asked before, but I cannot remember, can I safely assume coreutils and utillinux to be available to me in scripts, or do I need to prefix those as well?
<gchristensen> they're usually there, but sometimes if I'm paranoid I reset PATH explicitly to include them
<vcunat> +1
<sphalerite> yeah, especially utillinux
<sphalerite> I've been running nix on alpine systems where neither of those are present, which has been interesting
<gchristensen> not even just alpine, but an rescue-os version of alpine :P
<sphalerite> I'd also recommend referring to their full paths
<sphalerite> gchristensen: it looks like a pretty normal alpine to me
<gchristensen> oh ok
<gchristensen> just don't reboot I guess
<sphalerite> yep xD
<ottidmes> So basically, just go paranoid mode and assume the worst, and as well for coreutils?
<Mic92> ottidmes: use makeWrapper to add what you need.
<gchristensen> ottidmes: yeah, better to just be explicit about it.
<Mic92> systemd services and login session have certain packages though in theire path
<Mic92> *their
Phillemann has joined #nixos
phdoerfler has joined #nixos
<Phillemann> iirc there is a site displaying how old the major channels (nixos-unstable, ...) are.
<Phillemann> Where is this again?
vandenoever has joined #nixos
<Phillemann> Hm, ok, thanks.
<ottidmes> Mic92: makeWrapper is for existing scripts right, I guess I will just use PATH=${lib.makeBinPath [ hello git ]}
pxc1 has joined #nixos
cinimod has quit [Remote host closed the connection]
<Phillemann> Ah, 5 days. That explains why I still get errors from a package that's been fixed 4 days ago :D
cinimod has joined #nixos
reinzelmann has quit [Quit: Leaving]
<Mic92> ottidmes: makeWrapper is nice, if you intend to use script not just in nixos.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy opened pull request #36141: callCabal2nix: Fix filtering for non-cleanSourceable sources. (master...callCabal2nix-restricted) https://git.io/vA1mb
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> Mic92: Not sure how that link relates, in my use case I would definitely not want to use nix-shell (scripts also needs to be run at initrd time)
xcmw has quit [Ping timeout: 268 seconds]
<Mic92> ottidmes: ah ok
<Mic92> initrd is a complete different beast
pxc has joined #nixos
pxc1 has quit [Ping timeout: 255 seconds]
<Mic92> ottidmes: watchout for examples in nixpkgs for boot.initrd.extraUtilsCommands
<ottidmes> Mic92: Yep, means I am stuck with /bin/sh among other things
<Mic92> ottidmes: you will have busybox there.
<Mic92> by default
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nix/master 05cb8e5 Daiderd Jordan: launchd: enable keepalive for the nix-daemon service...
<NixOS_GitHub> [nix] shlevy pushed 1 new commit to master: https://git.io/vA1YG
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy closed pull request #1920: launchd: enable keepalive for the nix-daemon service (master...darwin-daemon-keepalive) https://git.io/vA1tf
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> Mic92: Yeah, I have written multiple such scripts already, just cleaning up, which let me to my questions
cinimod has quit [Ping timeout: 240 seconds]
<ottidmes> Are lib, pkgs.lib, pkgs.stdenv.lib all the same?
<Mic92> yes
<ottidmes> Mic92: ok :)
Guanin has joined #nixos
<genesis> why i'd quit gentoo for nixos http://nixpaste.lbr.uno/aEcHxj_7?nix
<ottidmes> genesis: Last week when I updated my Arch laptop, it tried to replace some package, but it mean removing things like xorg-server in order for it to succeed with replacing the package... I ended up just forcefully removing the package (it would be replaced anyway), otherwise I would have to remove and add like a third of my system, yikes!
knupfer has joined #nixos
ma27 has quit [Ping timeout: 245 seconds]
<genesis> yes we're all fed up with such case
pxc1 has joined #nixos
<genesis> when i want libvirt, i don't mean i want spend an hour to find a solution to package conflict
<ottidmes> exactly, especially when you know there are alternatives out there that make such problems go away :)
<genesis> i suspect this portage to slow me done testing some nixos image :d
<genesis> s/done/down
pxc1 has quit [Ping timeout: 240 seconds]
ghostyyy is now known as ghostyy
<LnL> heh, I'm running a patched libvirt/qemu with ~5 lines of configuration
orivej has quit [Ping timeout: 240 seconds]
mounty has joined #nixos
<shlevy> \o/ system configuration built for cross-NixOS
<shlevy> now to see if it boots...
cinimod has joined #nixos
<sphalerite> shlevy: out of curiosity, where did this whole RISC-V project come from?
yann-kaelig has quit []
<johnw> RISC-V has a formal foundation, which is something shlevy would like to exploit at some point :)
<sphalerite> trikl[m]: ping
<shlevy> :)
<shlevy> Yeah, got interested in it from that perspective
<shlevy> Then saw the HiFive Unleashed was coming
<shlevy> Then decided to splurge on one :)
<shlevy> So of course I need NixOS working before it gets here!
<sphalerite> ah
<sphalerite> what exactly does the formal foundation bit mean?
<shlevy> There's a formal specification for the ISA
<shlevy> And almost all of the components on the board I'm getting have open-source designs
knupfer has quit [Remote host closed the connection]
<sphalerite> oh that's cool
<sphalerite> ooft, not cheap though
<shlevy> No :)
rauno has joined #nixos
SunWuKong has joined #nixos
headfault has joined #nixos
SunWuKong has quit [Client Quit]
pxc1 has joined #nixos
<sphalerit> Ugh matrix
MichaelRaskin has joined #nixos
<sphalerit> Since my nick change on native IRC, none of my messages from there are going through the bridge
<dtz> o_O :(
<sphalerit> dtz: yeah, shlevy wasn't talking to himself :p
pxc1 has quit [Ping timeout: 240 seconds]
sigmundv_ has joined #nixos
<BlessJah> shlevy: what will be per-core performance of risc-v chips compared to modern intel chips?
coot_ has quit [Quit: coot_]
<gchristensen> shlevy: what will the per-core megabytes-exfiltrated-per-minute-due-to-CPU-bugs be compared to Intel chips?
rauno has quit [Ping timeout: 260 seconds]
<shlevy> :D
<shlevy> BlessJah: Not sure! sorear would be a better person to ask
<BlessJah> gchristensen: that's noobish question and I am fully aware of that
<shlevy> He wasn't making fun of you, he was making fun of Intel :D
<gchristensen> BlessJah: sorry, I couldn't resist. your question was perfectly valid
<shlevy> BlessJah: Anyway at least part of the answer is that you have to compare by market segment, and so far none of the RISC-V chips are in, say, the laptop segment
<MichaelRaskin> I would assume that gchristensen was making fun of entire industry
<BlessJah> router/mobile/embedded?
<BlessJah> calculator? :>
hamishmack has quit [Quit: hamishmack]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #36137: redshift, xarchiver: add hicolor-icon-theme to buildInputs (master...hicolor) https://git.io/vA1kZ
NixOS_GitHub has left #nixos [#nixos]
<shlevy> As far as I know there's nothing in principle preventing them from being similarly performant other than proprietary Intel techniques and Intel's huge existing investment in fab tech etc. (which should definitely not be discounted!)
siel has quit [Remote host closed the connection]
siel has joined #nixos
siel has quit [Changing host]
siel has joined #nixos
<MichaelRaskin> Segments, segments… I think I was learning to program on a computer that had only one benefit over modern high-end HDD controllers. It had less RAM, slower CPU, but could actually control a screen.
<joepie91> I mean, you could probably make a HDD controller control a screen if you /really/ wanted to...
<joepie91> :)
<MichaelRaskin> Not sure there are enough legs
<joepie91> there don't have to be!
<BlessJah> nah, the challenge would be to have HDD control the screen
<joepie91> nobody said you can't add additional circuitry :D
<LnL> manveru: I think the dockerTools are broken right now
<MichaelRaskin> I guess a 100MHz 8-core well-suspendable CPU + eInk could actually be an attractive laptop. For reading and writing, you know.
<MichaelRaskin> Let the dock station contain a faster CPU for plugged-in use…
<BlessJah> I think I once found something like 200 MHz 16 bit cpu on one of dead HDDs
<Dezgeg> 32-bit ARM on even eMMC chips is normal these days
av has joined #nixos
<BlessJah> I've heard SD card has chipset more powerfull than arduinos
disasm has quit [Quit: WeeChat 1.9.1]
<Dezgeg> yes
<gchristensen> at 400GB in microSD cards they must!
rauno has joined #nixos
<Dezgeg> I expect samsung SD cards share mostly the same ARM Cortex-M3 core they have in the eMMCs
<headfault> "nix-shell -p libz libxml2 libxslt --run pkg-config --list-all" shows no sign of any of the dependencies. Any ideas?
<sphalerite> headfault: pkgconfig should also be in the shell, not your user env
<sphalerite> so just add pkgconfig to the list and it should work
<headfault> sphalerite: argh, thanks!
disasm has joined #nixos
<sphalerite> also probably remove it from your user env to avoid future confusion :D
<headfault> sphalerite: excellent idea. damn. this has been bugging me for 2 hours now
<sphalerite> headfault: yeah I wanted to reply to your question like 5 hours ago but you timed out :(
av has quit [Quit: av]
pxc1 has joined #nixos
<headfault> sphalerite: thanks! meetings, meetnings, meeetings
<shlevy> Hmm I wonder if those repo scanners ding us for the private key we use for SSH tests on NixOS :D
<headfault> sphalerite: do you know why the deps dont's show up with nix-env?
<gchristensen> shlevy: I've been emailed ...
<sphalerite> probably I'm guessing?
<sphalerite> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<shlevy> We could do a noop interpolation to trick them
<sphalerite> headfault: basically because purity
<shlevy> I assmue it's just the BEGIN EC PRIVATE KEY bit
<Dezgeg> builtins.rot13
<headfault> thanks! back to hacking :)
<sphalerite> Dezgeg: yesss hahaha
ryanartecona has quit [Quit: ryanartecona]
<BlessJah> random drive I had lingering around: 88i6745n-tfj1
<BlessJah> dual core cortex R4, 600MHz
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #36142: deepin-icon-theme: init at 15.12.52 (master...new.deepin-icon-theme) https://git.io/vA1nS
NixOS_GitHub has left #nixos [#nixos]
pxc1 has quit [Ping timeout: 256 seconds]
<sphalerite> (how?) does the instruction set differ between cortex A, R, and M?
<phdoerfler> Basic NixOS and setuid and wrappers question: My sendmail complains: warning: the Postfix sendmail command has set-uid root file permissions. Is this a common beginner trap? What do I need to change? I don't have the word 'sendmail' in my config even.
<Dezgeg> very little, actually
<Dezgeg> R/M typically lack an FPU and MMU
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/vA1nF
<NixOS_GitHub> nixpkgs/master 8fbfd67 Sander van der Burg: disnix module: make dbus service configurable
NixOS_GitHub has left #nixos [#nixos]
cinimod has quit [Ping timeout: 260 seconds]
<sphalerite> makes sense I guess
ryanartecona has joined #nixos
<BlessJah> I think this one has fpu
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 006d62f Nadrieril: usbguard: 0.7.0 -> 0.7.2
<NixOS_GitHub> [nixpkgs] FRidh pushed 3 new commits to master: https://git.io/vA1np
<NixOS_GitHub> nixpkgs/master 297fac4 Nadrieril: nixos/usbguard: Do not check permissions on rules file (using undocumented -P flag)
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master cf0c20e Frederik Rietdijk: Merge pull request #35892 from Nadrieril/update-usbguard...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/vA1cv
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 3c8ab66 Sander van der Burg: disnix module: make dbus service configurable...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35912: mynewt-newt: 1.0.0 -> 1.3.0 (master...auto-update/mynewt-newt-1.0.0-to-1.3.0) https://git.io/vAPw0
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36079: urh: 1.7.1 -> 1.9.2 (master...auto-update/urh-1.7.1-to-1.9.2) https://git.io/vAPDP
NixOS_GitHub has left #nixos [#nixos]
Mateon3 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vA1cn
<NixOS_GitHub> nixpkgs/master 89fc5c1 Ryan Mulligan: wiggle: 1.0 -> 1.1...
NixOS_GitHub has left #nixos [#nixos]
kelleyNif has quit [Quit: Leaving.]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36078: unixODBC: 2.3.4 -> 2.3.5 (master...auto-update/unixODBC-2.3.4-to-2.3.5) https://git.io/vAPDo
NixOS_GitHub has left #nixos [#nixos]
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon3 is now known as Mateon1
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36087: waf: 1.9.0 -> 2.0.4 (master...auto-update/waf-1.9.0-to-2.0.4) https://git.io/vAPDA
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vA1c4
<NixOS_GitHub> nixpkgs/master 8681d46 Ryan Mulligan: unclutter-xfixes: 1.2 -> 1.3...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36071: tulip: 4.9.0 -> 5.1.0 (master...auto-update/tulip-4.9.0-to-5.1.0) https://git.io/vAPD4
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36068: ts: 0.7.6 -> 1.0 (master...auto-update/ts-0.7.6-to-1.0) https://git.io/vAPDc
NixOS_GitHub has left #nixos [#nixos]
cinimod has joined #nixos
mkoenig has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36058: tilda: 1.3.3 -> 1.4.1 (master...auto-update/tilda-1.3.3-to-1.4.1) https://git.io/vAPMb
NixOS_GitHub has left #nixos [#nixos]
<BlessJah> screw smartphones has more computing power than it was necessary to land on the moon
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vA1cw
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master dac1a53 Ryan Mulligan: tcpkali: 0.9 -> 1.1.1...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36041: swagger-codegen: 2.2.1 -> 2.3.1 (master...auto-update/swagger-codegen-2.2.1-to-2.3.1) https://git.io/vAPMO
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36039: surfraw: 2.2.9 -> 2.3.0 (master...auto-update/surfraw-2.2.9-to-2.3.0) https://git.io/vAPMI
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> BlessJah: to be honest, landing on the Moon is not _that_ computationally intensive once you have realtime scheduling working…
disasm has quit [Quit: WeeChat 1.9.1]
<BlessJah> that's right
<rnhmjoj[m]> how do I found about which library is Qt talking about?`Cannot mix incompatible Qt library (version 0x50a00) with this library (version 0x50a01)`
<gchristensen> even then not crashing is the hard part
FRidh2 has joined #nixos
headfault has quit [Remote host closed the connection]
chreekat has quit [Ping timeout: 276 seconds]
<MichaelRaskin> gchristensen: the hard part of not crashing is making sure that when you calculate the thruster control signal, the thrusters actually carry it out.
<gchristensen> :)
<BlessJah> gchristensen: I think agreeing on set of common units is the hard part
<gchristensen> evidently
disasm has joined #nixos
<gchristensen> though we can't even agree on how to spell words like "virtualisation" and "saviour"
<LnL> :p
<MichaelRaskin> Well, there are two cases: either the country has death penalty and you can shoot for threason everyone who offers to count in feet, or the country uses metric already
pxc1 has joined #nixos
<gchristensen> MichaelRaskin doesn't kid around w.r.t. imperial (ie: UK) measurements
<MichaelRaskin> Continental Europe should just declare that continental English is a different dialect, and offcially declare «X-Xed-Xen» acceptable for all verbs, regular, irregular, to hell with it.
<MichaelRaskin> gchristensen: either Empire or Kingdom.
<gchristensen> :D
<MichaelRaskin> UK has lost the Empire and formally abandoned Imperial.
<sphalerite> I think the worst part of the language is stil lthe pronunciation though.
Ralith__ has quit [Ping timeout: 240 seconds]
disasm has quit [Client Quit]
disasm has joined #nixos
<MichaelRaskin> sphalerite: Well, due to, ahem, variety, continental Europe already has experience of not caring about this part
sigmundv_ has quit [Ping timeout: 240 seconds]
disasm has quit [Client Quit]
Ralith_ has joined #nixos
<sphalerite> I suppose.
<sphalerite> especially France. They just don't pronounce it at all :D
<MichaelRaskin> You are trying to colour the entire France with a single brush?
<MichaelRaskin> Please don't
<FRidh2> would be nice if you could select multiple PR's and just merge all of them
chreekat has joined #nixos
disasm has joined #nixos
<MichaelRaskin> I guess it can be scripted on the command line…
disasm has quit [Client Quit]
<sphalerite> no, just describing the prevalent attitude I've experience in France which is a reluctance to speak English
<MichaelRaskin> Wouldn't try to script the GitHub UI because it has too many interesting failure states.
disasm has joined #nixos
disasm has quit [Client Quit]
<BlessJah> they've got api
disasm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36038: supercollider: 3.8.1 -> 3.9.1 (master...auto-update/supercollider-3.8.1-to-3.9.1) https://git.io/vAPMT
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> sphalerite: well, this is also nonuniform. I thought you meant the fact that there are people who pronounce English with stereotypical French sounds (and in reality there are other French people who don't use these sounds even in French)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36032: squirrel-sql: 3.7.1 -> 3.8.1 (master...auto-update/squirrel-sql-3.7.1-to-3.8.1) https://git.io/vAP15
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vA1Wc
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master df06864 Ryan Mulligan: soundtouch: 1.9.2 -> 2.0.0...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #36023: slurm: 17.02.9 -> 17.11.3 (master...auto-update/slurm-17.02.9-to-17.11.3) https://git.io/vAP16
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> Of course it's non-uniform, but I did experience the general cultural attitude over there of holding the French language in very high regard, including at school
<MichaelRaskin> With ofborg, it would even make sense to want to make the same comment in multiple PRs at once…
<phdoerfler> Is it normal that I can't use sendmail as regular user?
<gchristensen> MichaelRaskin: for example when I need to re-eval a dozen PRs because master was broken
<phdoerfler> is this a nixos thing?
<phdoerfler> it complains about file permissions of the spool directory
<phdoerfler> (postfix's sendmail that is)
<MichaelRaskin> Do you have a setuid wrapper for it?
<sphalerite> and not being keen on the global dominance of English as the language for communicating internationally, and people going to France assuming that they can just go ahead and speak English, etc
<MichaelRaskin> sphalerite: that's true. Fortunately, they accept as French a very rought approximation
<sphalerite> well yes, as long as you try :D
<MichaelRaskin> I don't think it is that much harder to find someone to answer in English here than in Moscow.
mkoenig has quit [Remote host closed the connection]
<MichaelRaskin> sphalerite: on the other hand, in Denmark everyone will speak English, and Cthulhu help you if you need to say a proper noun without a school-taught translation.
<sphalerite> oh yes, it's absolutely not a matter of not being able to speak English, it's more the reluctance.
<BlessJah> sphalerite: is it about english or idea of having lingua franca in general?
<MichaelRaskin> Because in Denmark they speak English, but if you speak Danish it needs to be perfect or they don't understand. And if you want to refer to a name that they only know in Danish, and you cannot pronounce it in perfect Danish (it is hard after all)…·
<sphalerite> Hahaha. Yes my parents have been living in Sweden for a couple years now and they had some difficulties learning Swedish just because everyone would switch to English as soon as they heard difficulty speaking Swedish
<MichaelRaskin> sphalerite: in France I meant it is not htat hard to find someone who will agree to ansswer in English
<sphalerite> from what I've heard Danish is very strange to pronounce for speakers of other languages
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vA1lI
<NixOS_GitHub> nixpkgs/master 87d8652 Ryan Mulligan: sleuthkit: 4.5.0 -> 4.6.0...
NixOS_GitHub has left #nixos [#nixos]
orivej has joined #nixos
<FRidh2> sphalerite: same here. 3rd time I'm living in Sweden...never quite get to learning the language
<sphalerite> BlessJah: I'm not sure really. I think they'd be fine with a lingua franca if it were French ;)
<phdoerfler> MichaelRaskin: As a matter of fact, I do and now I feel dumb. In my defense I had that wrapper so cron could send me mail (the nixos option said it's required). Not that it was working then either…
<MichaelRaskin> Argh. I didn't work there long enough to learn oral Danish (I can read it somewhat), and a few times when I needed to use a proper noun in a shop… Argh. Then they guess what I mean and repeat it in proper pronounciation and I cannot get the difference. Argh.
<phdoerfler> MichaelRaskin: Having removed the setuid wrapper for sendmail I can now use it as an ordinary user, thanks!
<BlessJah> sphalerite: Would esperanto do? I think roman is long dead by now...
<MichaelRaskin> phdoerfler: now that is actually strange.
mkoenig has joined #nixos
<sphalerite> BlessJah: I really don't know.
<MichaelRaskin> I expected that you have the wrapper but it is not in PATH and using the wrapper would work
<sphalerite> Also maybe we should take this OT discussion somehwere else since some people are trying to discuss nixos-related stuff here
<phdoerfler> MichaelRaskin: That's what I expected to when I set up the wrapper. Turns out sendmail doesn't like it when you wrap it
<MichaelRaskin> Interesting…
<MichaelRaskin> Of course, it is different for different mailers
<MichaelRaskin> sphalerite: #nixos-blah?
<phdoerfler> MichaelRaskin: I am using the postfix sendmail. This is how it complains when you use it with a wrapper: https://paste.fedoraproject.org/paste/YJgZaD7LgPAzLDRs6fEErA
<BlessJah> there is #nixos-offtopic
xcmw has joined #nixos
<phdoerfler> MichaelRaskin: And here is how I wrapped it (don't mind the ping in there): https://paste.fedoraproject.org/paste/Cyp~B2e1GGWTyTotkpp~QA
<MichaelRaskin> Just how many offtopic channels there are… blah is older
<MichaelRaskin> Argh. Why people use JS-only pastebins.
<MichaelRaskin> Slow and buggy ones, at that.
<MichaelRaskin> OK, I still don't know why I cannot see the paste, but now I do know paste.fedoraproject.org is absolutely horrible
Itkovian has joined #nixos
<BlessJah> there
mounty has quit [Ping timeout: 268 seconds]
mounty has joined #nixos
<MichaelRaskin> I wonder if it is a recent change
cinimod has quit [Ping timeout: 252 seconds]
<BlessJah> No idea, dpaste.com is my go-to paste.
<genesis> i remember my first kernel driver, isa card , not sure we speak about same isa thing ^^
<MichaelRaskin> Because I do think at some point sendmail was supposed to be installed setuid, and it wrote the mail itself
hamishmack has joined #nixos
<MichaelRaskin> BlessJah: I meant a sendmail change
xcmw has quit [Ping timeout: 260 seconds]
<phdoerfler> MichaelRaskin: Also the nixos options point out that in order for cron jobs to send out mail you need to setuid sendmail (or I'm too dumb to read that)
cinimod has joined #nixos
<MichaelRaskin> Not sure I see it…
<sphalerite> ix.io is nice as a pastebin!
siel has quit [Ping timeout: 240 seconds]
<MichaelRaskin> wgetpaste
<sphalerite> but that requires having wgetpaste :p
<sphalerite> curl ix.io
siel has joined #nixos
siel has quit [Changing host]
siel has joined #nixos
<phdoerfler> MichaelRaskin: "If you want to get the results mailed you must setuid sendmail. See security.wrappers"
<phdoerfler> Also there is a "." missing there
<MichaelRaskin> I wonder _which_ sendmail it expects…
<MichaelRaskin> Where "." is missing? I think setuid is a verb here.
<Mic92> the right one
ryanartecona has quit [Quit: ryanartecona]
<phdoerfler> There: "[...]See security.wrappers If neither /var/cron/cron.deny nor[...]"
<MichaelRaskin> This doesn't answer the question of sendmail choice
<phdoerfler> the If is capitalized
<MichaelRaskin> There are multiple packages with sendmail.
<phdoerfler> it does answer where a dot is missing
<phdoerfler> MichaelRaskin: Aren't all sendmails replacable?
<MichaelRaskin> I guess someone didn't want to put a period right after the dot-separated name.
<MichaelRaskin> Haven't you just found out that not exactly
<phdoerfler> Have I?
<phdoerfler> I assume that no sendmail likes to be setuid-ed
<MichaelRaskin> I think there are sendmails that require setuid to work
<phdoerfler> not just the postfix one
<phdoerfler> hm ok
<phdoerfler> Am I the only one who wants cron job outputs mailed?
Yaniel has quit [Remote host closed the connection]
FRidh2 has quit [Quit: Konversation terminated!]
Yaniel has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dan_b has joined #nixos
<avn_> Personally, I prefer to see no-suid sendmail, which syncronously sumbit to localhost:25
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #36136: programs/bash: install nix-bash-completions if completion is enabled (master...nix-bash-completions-on-enableCompletion) https://git.io/vA1TK
NixOS_GitHub has left #nixos [#nixos]
spear2 has quit [Remote host closed the connection]
<Mic92> like msmtp
<avn_> Mic92: as an option
dan_b has quit [Ping timeout: 248 seconds]
<hask_bee_3> My friends.
<hask_bee_3> When doing sudo systemctl enable /nix/store/woiefjowjfi.service is there a way to specify the symlink name?
<phdoerfler> is there a sendmail-like thing which just hands its stuff in at 25?
<hask_bee_3> (this is not directly a nix question of course)
<sphalerite> hask_bee_3: I think you'd usually want to set a profile to the service file, give the profile the appropriate name, and poitn systemd to that
<sphalerite> or just symlink it into /etc/systemd/system yourself then enable it by name
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hask_bee_3> sphalerite the problem is systemctl doesn't seem to handle calling it on symlinks.
<hask_bee_3> systemctl enable actual_file.service creates all the needed symlinks
alexteves_ has joined #nixos
<sphalerite> yeah but I mean something like using `nix-env -p /etc/systemd/system/my-service.service --set -f path/to/service.nix` and `systemctl enable my-service`
<ottidmes> phdoerfler: I have used https://nixos.org/nixos/options.html#networking.defaultmailserver in the past on NixOS, it allowed me to send mails from a nodejs and PHP application, have not used it from a cronjob though
<genesis> pkgs/development/libraries/asio/default.nix looks weird, no comma at end of line, no maintainers ...
<genesis> ho my bad, anyway , when there is no version, is it not bad since nix rely on name , isn't it ?
<sphalerite> genesis: improvements are always welcome!
alexteves has quit [Ping timeout: 256 seconds]
<phdoerfler> ottidmes: thanks, I'll play around with that!
<sphalerite> it's not the end of the world when it doesn't have a version, but it isn't nice either
<ottidmes> genesis: I did not look at the file, but I believe the version attribute is nothing special, more convention, its about the name
<genesis> yes i'm doing so, but i donno if i've to add me to the maintainer wwhen noone sphalerite
<Mic92> only if you care about the package
<sphalerite> you don't have to. You can if you want to and I'm sure people would appreciate it but you don't have to :)
<symphorien> genesis: being a maintainer just means you receive a mail when the package breaks on hydra, that's not a big committment either
yegortim1 has quit [Ping timeout: 255 seconds]
<hask_bee_3> this is messy lol. man. maybe it's time to ditch everything but NixOS
<hask_bee_3> sigh
<genesis> oki , i don't care so fine
kelleyNif has joined #nixos
<genesis> makes sense, if one people wants take the lead on that, he will be free to do .
<sphalerite> hask_bee_3: I think you've almost got it working rather nicely
orivej has quit [Ping timeout: 245 seconds]
<sphalerite> of course I wont' stop you from moving to nixos ;)
michas_ has joined #nixos
<sphalerite> but what's your concern about it being messy?
siel has quit [Ping timeout: 245 seconds]
yegortim1 has joined #nixos
siel has joined #nixos
<genesis> sf is down ... again
<Mic92> we have a cache
<Mic92> for the source
<genesis> i need latest for my derivation
<genesis> :-)
cinimod has quit [Remote host closed the connection]
Guest98 has joined #nixos
cinimod has joined #nixos
<hask_bee_3> sphalerite, i was hoping i could just call "nix-build service-template.nix", add "result" to systemctl (under a "custom-name" to make it something other than "result"), and from then on just call "nix-build service-template.nix" and "systemctl restart custom-name" again if my template changed.
<hask_bee_3> but now it sounds like i have to run nix-env every time too
<hask_bee_3> hmmm
MP2E has joined #nixos
rihards has quit [Quit: rihards]
kelleyNif has quit [Quit: Leaving.]
kelleyNif has joined #nixos
hiratara has quit [Ping timeout: 245 seconds]
<elvishjerricco> Is there a spec anywhere on what `INSTALLABLES` means in Nix 2.0? It's nice that it's unified, but it's a little cryptic how it works.
hiratara has joined #nixos
dnovosel has quit [Ping timeout: 245 seconds]
asuryawanshi has quit [Ping timeout: 252 seconds]
<hedning[m]> elvishjerricco: it's an attribute path or a store path starting with eg. `./`
orivej has joined #nixos
<elvishjerricco> hedning[m]: Or apparently a Nix expression if you use parens
<hedning[m]> yes, true
yegortim1 has quit [Remote host closed the connection]
yegortim1 has joined #nixos
<elvishjerricco> Do you always have to specify `-f` if you want to build from, say, `default.nix`?
<hedning[m]> yes, else you get the NIX_PATH stuff in the top scope
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy opened pull request #36143: nixos: nix.sshServe: Support ssh-ng. (master...nix-ssh-ng) https://git.io/vA1ua
NixOS_GitHub has left #nixos [#nixos]
<hedning[m]> you can do `-f .` though
kelleyNif has quit [Quit: Leaving.]
<elvishjerricco> just a little frustrating. Definitely use `./.` with `nix-build` far more anything from `NIX_PATH`
<shlevy> Agreed
alex`` has quit [Ping timeout: 240 seconds]
<shlevy> This is why I'm not using nix build yet
<elvishjerricco> shlevy: I also don't like that I can't `alias` away the result link by default with `--no-out-link`, and I really miss outputting the path on stdout :/ I'll stick with `nix-build` and lose the pretty one-line output
<shlevy> --no-link
<elvishjerricco> shlevy: Right, but I have `alias nix-build="nix-build --no-out-link"` because I find myself wanting that almost all the time. I can't alias `--no-link` into `nix build`
<manveru> yeah, but --no-link gives no output at all
<elvishjerricco> that too
<Guest98> new person question. On the nixpkgs github I can see an expression for urxvt, but when I put it in my configuration, or try and install it with nix-env, it says it's not a valid expression. How can I update my repository to have this package?
<MichaelRaskin> Pity
<shlevy> Aaah
<MichaelRaskin> rxvt_unicode
<manveru> shlevy: so the alternative right now is: `$(nix build --no-link -f channel:nixpkgs-unstable htop && nix eval --raw -f channel:nixpkgs-unstable htop)/bin/htop`
<manveru> which is quite a mouthful :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/vA1zn
<NixOS_GitHub> nixpkgs/master bddc23b John Wiegley: recoll: Allow building a non-X/inotify version on Darwin
NixOS_GitHub has left #nixos [#nixos]
Phillemann has left #nixos ["WeeChat 2.0.1"]
<elvishjerricco> manveru: Yea I'm about to just write a bash function that gives me the behavior that I want. Not sure how to properly propagate arguments though...
<Guest98> MichaelRaskin Yeah it says its not a valid expression, I only have regular rxvt when i do a search. I tried nix-channel update but it didnt change anything
<bgamari-> nix's ubiquitous use of wrapper scripts makes use of gdb quite painful
<sphalerite> hask_bee_3: you don't need to run nix-build again if you use nix-env
<bgamari-> does anyone have any tricks for making this easier?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 4de72b9 Shea Levy: nixos: nix.sshServe: Support ssh-ng.
<NixOS_GitHub> nixpkgs/master 5ff15fb Shea Levy: Merge branch 'nix-ssh-ng'
<NixOS_GitHub> [nixpkgs] shlevy pushed 2 new commits to master: https://git.io/vA1zE
NixOS_GitHub has left #nixos [#nixos]
<manveru> elvishjerricco: well, i'd just stick with nix-build, it's not like that's removed from 2.0
<MichaelRaskin> Guest98: what is the command you give? I thought about configuration.nix or nix-env -iA
<manveru> elvishjerricco: and make an issue in the nix repo for your use-case
<elvishjerricco> manveru: But I want the pretty output :P
<manveru> :D
<manveru> i'd like the pretty output, if it gave me more than 10 lines of backtrace in error cases...
<MichaelRaskin> Can nix eval be talked into realising?
<elvishjerricco> That's what `nix log` is for
<elvishjerricco> MichaelRaskin: Maybe with IFD?
<MichaelRaskin> Well, with better nix log that now exists…
<manveru> but that's another command...
<Guest98> I've tried putting it under my environment.systempackages, and also with nix-env -i rxvt_unicode
<MichaelRaskin> Given that the point is to replace nix-build --no-out-link…
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley closed pull request #36143: nixos: nix.sshServe: Support ssh-ng. (master...nix-ssh-ng) https://git.io/vA1ua
NixOS_GitHub has left #nixos [#nixos]
<hask_bee_3> sphalerite i tried your command. unfortunately it's going to require "sudo" (since it's creating a service in a system location)
<MichaelRaskin> nix-env -i is horrible, nix-env -iA is cleaner and faster
<shlevy> Github keeps getting confused
<hask_bee_3> sphalerite and the Nix install script doesn't work with su or sudo
<MichaelRaskin> nix-env -iA rxvt_unicode
<shlevy> johnw got my merge credit :P
<johnw> shlevy: what's that mean?
<sphalerite> hask_bee_3: you could point it elsewhere, no?
<MichaelRaskin> shlevy: «getting» means it was not pre-confused
<MichaelRaskin> At some point in time
<shlevy> johnw: It says you merged that into master
<elvishjerricco> MichaelRaskin> Given that the point is to replace nix-build --no-out-link…
<elvishjerricco> What do you mean by this?
<johnw> shlevy: that's weird, I did not
<shlevy> I know, I did :)
<johnw> how is my name on that? I never wrote that code
<MichaelRaskin> elvishjerricco: the question is how to use new nix build or nix eval in place of old nix-build invocations
mekeor has joined #nixos
yegortim1 has quit [Remote host closed the connection]
<takeda> win 4
athan has quit [Ping timeout: 252 seconds]
yegortim1 has joined #nixos
<Guest98> MichaelRaskin error: attribute 'rxvt_unicode' in selection path 'rxvt_unicode' not found
<MichaelRaskin> Frankly, if the point is to use this derivation as a path, I guess nix run is often the implied replacement
<MichaelRaskin> Hm
<MichaelRaskin> Maybe nixpkgs.rxvt_unicode or nixos.rxvt_unicode
<MichaelRaskin> Haven't used the channels since long time
<sphalerite> I feel like nix build should print the output path at the end though really
<elvishjerricco> Guest98: Using `nix-env -A` means you have to include the channel name in the attr path
<Guest98> Neither of those work either
<sphalerite> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<Guest98> What do you use instead of channels?
<MichaelRaskin> sphalerite: frankly, these are all scriptable-over questions, although I do agree that it would be better
<sphalerite> nix-env -f '<nixpkgs>' -iA rxvt_unicode
<MichaelRaskin> Guest98: I just use checkouts.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 2 new commits to master: https://git.io/vA1gn
<NixOS_GitHub> nixpkgs/master 7f623cf Shea Levy: callCabal2nix: Fix filtering for non-cleanSourceable sources....
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 8a60691 Shea Levy: Merge branch 'callCabal2nix-restricted'
<elvishjerricco> Guest98: What do you get with `nix-channel --list`?
<Guest98> MichaelRaskin How do I go about using that? Is there a manual page?
<clever> sphalerite: one of my old NAS's was network booting
<Guest98> elvishjerricco: Oh, I get nothing. That might be it
<sphalerite> nix-env -f '<nixpkgs>' is our lord and saviour
<elvishjerricco> Guest98: That'll do it :P
<clever> sphalerite: and it was the server for nfs based netboots
<MichaelRaskin> Well, Nix manual says how to build from a file/directory with -f, and checkouts are managed using git
<elvishjerricco> Guest98: What happens when you do `nix-instantiate --eval -E "<nixpkgs>"`?
takeda has quit [Quit: leaving]
<sphalerite> clever: nice!
<MichaelRaskin> sphalerite: what I actually wonder is whether it is better to create a Nix proxy or a patch to Nix for build lock takeover.
<sphalerite> I'm... not sure I get what that would do? The latter bit, not the proxy
<MichaelRaskin> I.e. if you build A dependent on X,Y and B dependent on X,Z and Y fails, X should not be cancelled (for A) and restarted ffor B
<MichaelRaskin> B should just be declared a new owner of the build lock
Neo-- has joined #nixos
<MichaelRaskin> Approximately any way of handling the transition is better than not handling it (but there is work to be done)
<sphalerite> oooh yeah
<Guest98> Checkouts seems nice. Thanks for the help
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #36141: callCabal2nix: Fix filtering for non-cleanSourceable sources. (master...callCabal2nix-restricted) https://git.io/vA1mb
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> I think catern wrote a partial proxy for the nix daemon?
<Guest98> Does anyone have any experience with home-manager? Looks interesting
<elvishjerricco> Guest98: I just started using that this week. Really nice. I use it as a NixOS module, which means my whole system, including home, is reproducible with just a `nixos-rebuild`
<shlevy> sphalerite: You can run nix-daemon --stdio
<shlevy> sphaleritie: That's the basis for ssh-ng stores
athan has joined #nixos
<ottidmes> clever: Just wanted to let you know that after updating kexectools (2.0.14 gives me a long list of errors), my initrd kexec works great, thanks again for the help yesterday!
<sphalerite> shlevy: ooooooh that's awesome!
<MichaelRaskin> (me moved away from NixOS, and moves the home management in the opposite direction form home-manager)
cinimod has quit [Ping timeout: 252 seconds]
<shlevy> :)
<Guest98> elvishjerricco: Oooh that's exactly what I want.
hask_bee_3 has quit [Quit: Textual IRC Client: www.textualapp.com]
<sphalerite> shlevy: wouldn't that also allow using systemd (or xinetd) socket activation more completely?
<sphalerite> i.e. not running an actual nix daemon at all?
<clever> ottidmes: nice
<shlevy> Sure. I mean I'm not sure why per-connection activation is more "complete" than what we currently have, but yeah
<sphalerite> idk, just seems like something that nix could just not care about at all at that point
<shlevy> True
<clever> sphalerite: with the current socket activation, you could just have nix-daemon exit(0) after an hour of inactivity
<clever> and systemd will re-launch it as needed
<sphalerite> but that's very neat, it also makes logging daemon communication nearly trivial
<clever> sphalerite: ssh does have complete socket activation in its nixos module, you can check that as an example
<sphalerite> just pipe it through tee. Then the hard part is parsing the protocol but I'm guessing that shouldn't be too hard either
<shlevy> sphalerite: It's... not pretty :D
<clever> sphalerite: oh, on the subject of parsing the protocol...
<shlevy> Nix has a custom serialization lib
Sonarpulse_ is now known as sonarpulse
<clever> and the only way to parse it is to know what type is next, based on the state and what bytes you have already read
<MichaelRaskin> Hehe
<sphalerite> :/
cinimod has joined #nixos
<sphalerite> still you could at least get logs by just piping it to tee. Then keep them for "later analysis"
isomarcte has joined #nixos
<Mic92> this pull request looks creepy: https://github.com/NixOS/nixpkgs/pull/34975
<clever> sphalerite: nix also saves all logs in /nix/var/log/
<sphalerite> by which I mean eating up space until you give up hope
<sphalerite> clever: yeah but that's just derivation build logs
<sphalerite> clever: logs of interaction with the daemon would be really nice
<clever> ahh
<clever> also, ive wanted more of a repl to the daemon for things
cement has quit [Ping timeout: 252 seconds]
<clever> for example, for x in /nix/store/*; do nix-store --query --size $x ; done is horid slow
<johnw> here's an odd one: in the recoll build, the tarball that it downloads contains an msodump.zip file. The version of that file that ends up /nix/store has 00 bytes removed from it, making it an invalid zip file. This file is needed to index MSOffice documents. What part of mkDerivation is altering the .zip file do you think?
<gchristensen> that is VERY weird, Mic92
isomarcte has left #nixos [#nixos]
<clever> each query process has to connect to the daemon, which initiallized an entire tempdir and a bunch of state, then tears ti down
<sphalerite> https://github.com/NixOS/nix/issues/1710 like this ould be implemented using those logs
<clever> sphalerite: to solve what i just said, i'm thinking there could be a util that accepts queries on stdin, and prints answers to stdout, and keeps its nix-daemon socket open
<sphalerite> gchristensen Mic92: I'm scared now o.o
orivej has quit [Ping timeout: 240 seconds]
<clever> sphalerite: and on the subject of the nix protocol, it will need to be modified to support https://github.com/NixOS/nix/issues/1256
<Mic92> I am pretty sure, I pushed this to master
<gchristensen> I'm betting upon a bug in github?
<gchristensen> or did we hit a hash collision ?:)
fragamus has joined #nixos
<Mic92> maybe.
<Mic92> would be bad thouh
<clever> sphalerite: basically, the nix-daemon will need to setup a listening unix socket in the build sandbox, and proxy multiple bytestreams back to the nix-build process that initiated the build
<gchristensen> would dbe bad
<MichaelRaskin> I would say that GitHub having a bug is waaay more likely
chreekat has quit [Quit: quitting]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adamruzicka opened pull request #36144: hg-git: 0.8.10 -> 0.8.11 (master...hg-git-0.8.11) https://git.io/vA1aR
NixOS_GitHub has left #nixos [#nixos]
mahalel_ has joined #nixos
isomarcte has joined #nixos
rardiol1 has left #nixos [#nixos]
athan has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to staging: https://git.io/vA1aX
<NixOS_GitHub> nixpkgs/staging 4e207ba Matthew Bauer: qt5: install headers on darwin also
NixOS_GitHub has left #nixos [#nixos]
x1n4u has quit [Ping timeout: 240 seconds]
<johnw> ah, found it
x1n4u has joined #nixos
<catern> MichaelRaskin: sphalerite: yeah I wrote a full proxy for the nix-daemon in Python; manipulating how builds happen is definitely something you could do with it
<LnL> Mic92: A few weeks ago there also was a pr that was merged by me according to github, but the merge (in git) was done by somebody else
<isomarcte> I am attempting to create an NixOS installation where the root volume is located on a thin LVM logical volume. The generated initrd seems to be missing the `thin_check` binary. Does anyone have any suggestions on how I might get NixOS to include this binary in the initrd?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dtzWill opened pull request #1927: fetchGit: use "HEAD" as default ref instead of "master" (master...fix/fetchgit-HEAD) https://git.io/vA1VJ
NixOS_GitHub has left #nixos [#nixos]
<electrocat> Am i correct that the 'nix' command has no man page yet? Or did I make a mistake building it or something.
<Mic92> LnL: An error in the Matrix?
<LnL> no github
<ottidmes> isomarcte: https://github.com/NixOS/nixpkgs/blob/8a60691dc6695ce455d3c6de07ceb2e58aa9c0c6/nixos/modules/system/boot/luksroot.nix#L462 Here is an example line of how you copy additional binaries to the initrd
<sphalerite> electrocat: correct
<electrocat> sphalerite: ok tnx
<isomarcte> @ottidmes Thanks. I'll give that a shot.
Guest98 has quit [Remote host closed the connection]
<Mic92> LnL: I was invited to https://github.com/maintainers let's give it a try, if I can reach out to someone
<gchristensen> wow, cool Mic92!
<ottidmes> isomarcte: For example: boot.initrd.extraUtilsCommands = "copy_bin_and_libs ${pkgs.thin_check}/bin/thin_check"; (assuming that is its package name)
chisui has quit [Ping timeout: 260 seconds]
szicari has quit [Quit: szicari]
cinimod has quit [Ping timeout: 240 seconds]
<Mic92> LnL: do you have a link or something?
lord| has joined #nixos
i-am-the-slime has quit [Ping timeout: 256 seconds]
<LnL> if I can find it... somehow
<rnhmjoj[m]> could someone backport this to 17.09? https://github.com/NixOS/nixpkgs/pull/31646/files
jensens has joined #nixos
chocopuff298 has quit [Quit: WeeChat 2.0.1]
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-17.09: https://git.io/vA1wT
<NixOS_GitHub> nixpkgs/release-17.09 fd1d76b Yurii Rashkovskii: fish-foreign-env: suppress additional harmless warnings...
NixOS_GitHub has left #nixos [#nixos]
<Mic92> gchristensen: maybe I can also complain, that github becomes unmanageable, once you hit 800 PRs ;)
sdemos has quit []
<gchristensen> indeed...! also their emails are unusable when you receive approximately 800 of them a day ;)
<Mic92> gchristensen: I unsubscribed from github emails of all nixpkgs updates long ago.
<MichaelRaskin> You mean from commits?
tertle||eltret has joined #nixos
<gchristensen> I ruined my own life, all things grahamcofborg is part of ends up in my inbox
<gchristensen> (todo: change its email address)
<rnhmjoj[m]> grahamc: thank you
takeda has joined #nixos
<MichaelRaskin> Todo: never create a bot without a new email upfront
<Mic92> gchristensen: can your email setup filter by list-id?
<Mic92> I use sieve for that
<gchristensen> it says it can, but google does a terrible job of it. I need to switch back to notmuch
<MichaelRaskin> I am still subscribed to all GitHub notifications (but not all commits)
<Mic92> no, then I miss important things
<Mic92> I only get mentions
<MichaelRaskin> Well, I separately check the mentions.
randallb has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #36145: mkvtoolnix: 20.0.0. -> 21.0.0 (master...mkvtoolnix) https://git.io/vA1rJ
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> Normal procedure of cleaning GitHub notifications: 1. Clear all Borg replies, 2. Clear all Borg requests. 3. Clear all «merged» messages. 4. look through the list of threads and mark all of them read unless something catches my eye. 5. Look at GitHub «Participating tab»
<sonarpulse> MichaelRaskin: I wish there was an easy way to clear all merges
<MichaelRaskin> Because of a stupid argument about text editors, for me there is.
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<MichaelRaskin> But my mail is indexed in PostgreSQL then presented via QueryFS (a FUSE filesystem with an SQL plugin), and removing the file counts as marking the message as read (it is still visible in different directories that do not support deletion)
<MichaelRaskin> And I have a script that shows me the basic summaries of emails including the IDs for marking read.
<MichaelRaskin> And I can just remove the # before rm in every last-line-of-block where the block contains ## Merged #
<Mic92> sounds weired :)
<MichaelRaskin> (the summary of emails happens to be a working shell script)
<gchristensen> I think it would be a real treat to have your laptop, but in a VM that I can play with and experience the world The Way MichaelRaskin Sees It
<MichaelRaskin> Mic92: Yes, but as a result I can quickly filter out Borg replies and merges!
michas_ has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #36147: perlPackages update [staging] (staging...perl-packages-update-3) https://git.io/vA1rS
NixOS_GitHub has left #nixos [#nixos]
<Mic92> MichaelRaskin: https://xkcd.com/1172/
<MichaelRaskin> gchristensen: you do understand that I lack significant chunks of emotions and empathy (I cannot empathise to emotions I cannot imagine) and put these points into maths perception?
<gchristensen> well I guess I mostly meant seeing the world according to your laptop
<MichaelRaskin> Mic92: we-ell, it was funny before #35415
<LnL> Mic92: can't find it anymore, maybe it recovered
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fd1d76bb1a8 (from 16 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<sonarpulse> MichaelRaskin: oh i don't have github emails, but am addicted to refreshing the sight heh
<sonarpulse> the web api isn't so clever as a mail client
<sonarpulse> *web ui
<MichaelRaskin> gchristensen: In a web-based workflow support UI I have developed, a part of access control was that if you don't know something is there, you'll never find it, even if you were mistakenly assigned permissions (if it was not a mistake, there was an email with a link to a dashboard for that kind of task)
<MichaelRaskin> This system had around a hundred privileged users.
<MichaelRaskin> Now imagine how easy it is to understand what to look for on my personal laptop.
<gchristensen> x.x
<MichaelRaskin> A large subset of my configs is actually online, though.
Neo-- has quit [Ping timeout: 240 seconds]
<MichaelRaskin> gchristensen: this is a simplified sample of how I work with stuff that I index in PostgreSQL: https://gitlab.common-lisp.net/cl-fuse/query-fs/blob/master/clsql-queries/browse-table.sql2
michas_ has joined #nixos
coot has joined #nixos
leat has quit [Ping timeout: 256 seconds]
<gchristensen> oh cool
<samueldr> the more you reveal your setup, the more intriguing it seems
luto has quit [Ping timeout: 256 seconds]
<MichaelRaskin> gchristensen: and from «why did I never think of it and never found it»: there are various environments that give you a «mount + launch file manager», but are there any that give you «mount + launch file manager or term + umount when all child processes of FM/Term finish» ?
<MichaelRaskin> (I _now_ have that)
johs has quit [Ping timeout: 256 seconds]
<gchristensen> nice..........
luto has joined #nixos
<MichaelRaskin> Of course, it is not a desktop icon but a command in a Lisp REPL, but that's just my tastes
<samueldr> eh, I have cobbled something like that for my media consumption on my "nas"
<gchristensen> naturally. back in a while, time for supper and a nice cocktail to celebrate the nix core team.
<samueldr> so I see why it's awesome :)
taktoa[c] has quit [Ping timeout: 256 seconds]
ocharles has quit [Ping timeout: 256 seconds]
<symphorien> systemd has an option to auto unmount unused fs
<MichaelRaskin> symphorien: the definition of unused is tricky.
<samueldr> (though I'm sure it's not properly waiting for sub-processes, but the main process waits anyway for what I launch)
nand0p has quit [Ping timeout: 265 seconds]
eacameron has quit [Ping timeout: 260 seconds]
<symphorien> it is quite useful for vfat /boot which tends to corrupt itself
johs has joined #nixos
pingveno has quit [Ping timeout: 256 seconds]
<MichaelRaskin> And systemd is next-to-last piece of software I would tryust with getting tricky definitions right
<MichaelRaskin> The last one is anything from Apple
typetetris has quit [Ping timeout: 265 seconds]
<BlessJah> I'm also curious about checking for child processes to exit.
<MichaelRaskin> Well, I don't do full cgroup fanciness
georgew has quit [Ping timeout: 265 seconds]
dgpratt has quit [Ping timeout: 276 seconds]
r0bby has quit [Ping timeout: 260 seconds]
<MichaelRaskin> But my _default_ mode is launching the main process in screen (and not having wait() access)
jtojnar has quit [Quit: jtojnar]
eacameron has joined #nixos
vcunat has quit [Ping timeout: 248 seconds]
<MichaelRaskin> I just pre-open an RW FD to a pipe.
<MichaelRaskin> Then I read from the pipe.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm closed pull request #35976: prosody: 0.9.12 -> 0.10.0 (master...auto-update/prosody-0.9.12-to-0.10.0) https://git.io/vAPir
NixOS_GitHub has left #nixos [#nixos]
jtojnar has joined #nixos
<MichaelRaskin> As long as someone has an open RW FD, I am blocked.
<BlessJah> You could throw preventing other processes from chdir-ing into mounted filesystem into the mix (namespaces?)
typetetris has joined #nixos
pchiusano has quit [Ping timeout: 260 seconds]
taktoa[c] has joined #nixos
<MichaelRaskin> I use namespaces for other kinds of isolation, but not for this one
feepo has quit [Ping timeout: 256 seconds]
<clever> MichaelRaskin: ive found the systemd auto-mount stuff to not be aware of the working directory for processes
dgpratt has joined #nixos
<MichaelRaskin> But yes, wouldn't be hard.
<MichaelRaskin> Argh
<clever> MichaelRaskin: and nfs doesnt remount cleanly enough to restore that
cbarrett has quit [Ping timeout: 256 seconds]
maingo has quit [Ping timeout: 256 seconds]
harms has quit [Ping timeout: 256 seconds]
<MichaelRaskin> That's even worse than I could believe.
<clever> MichaelRaskin: so shells i leave open on nfs dirs just break randomly
taktoa[c] has quit [Max SendQ exceeded]
nkaretnikov has quit [Ping timeout: 256 seconds]
ocharles has joined #nixos
nand0p has joined #nixos
<MichaelRaskin> I mean, I can believe in any level of badness, but I could believe systemd is a bit better
lightandlight has quit [Ping timeout: 256 seconds]
georgew has joined #nixos
p_l has quit [Ping timeout: 252 seconds]
philips has quit [Ping timeout: 276 seconds]
sjanssen has quit [Ping timeout: 256 seconds]
mekeor has quit [Ping timeout: 240 seconds]
feepo has joined #nixos
bitonic has quit [Ping timeout: 256 seconds]
terrorjack has quit [Ping timeout: 256 seconds]
akl has quit [Ping timeout: 256 seconds]
oscarduignan has quit [Ping timeout: 265 seconds]
zielmicha_ has quit [Ping timeout: 276 seconds]
feepo has quit [Max SendQ exceeded]
ghuntley has quit [Ping timeout: 256 seconds]
wavewave has quit [Ping timeout: 276 seconds]
gridaphobe has quit [Ping timeout: 276 seconds]
Georgyo has quit [Ping timeout: 252 seconds]
sjanssen has joined #nixos
cbarrett has joined #nixos
pchiusano has joined #nixos
akl has joined #nixos
rodarmor has quit [Ping timeout: 240 seconds]
angerman has quit [Ping timeout: 240 seconds]
tazjin has quit [Ping timeout: 256 seconds]
babyflakes has quit [Ping timeout: 252 seconds]
nand0p has quit [Max SendQ exceeded]
sorear has quit [Ping timeout: 256 seconds]
pingveno has joined #nixos
thoughtpolice has quit [Ping timeout: 276 seconds]
smola has quit [Ping timeout: 265 seconds]
mgttlinger has quit [Ping timeout: 260 seconds]
feepo has joined #nixos
philips has joined #nixos
harms has joined #nixos
Guest97367 has joined #nixos
feepo has quit [Max SendQ exceeded]
Guest37084 has quit [Ping timeout: 260 seconds]
mpickering has quit [Ping timeout: 276 seconds]
gridaphobe has joined #nixos
terrorjack has joined #nixos
p_l has joined #nixos
oscarduignan has joined #nixos
maingo has joined #nixos
bmpvieira has quit [Ping timeout: 256 seconds]
dgonyeo has quit [Read error: Connection reset by peer]
nand0p has joined #nixos
johs has quit [Ping timeout: 252 seconds]
philips has quit [Max SendQ exceeded]
p_l has quit [Max SendQ exceeded]
adelbertc has quit [Ping timeout: 255 seconds]
feepo has joined #nixos
ghuntley has joined #nixos
dgonyeo has joined #nixos
lightandlight has joined #nixos
tazjin has joined #nixos
feepo has quit [Max SendQ exceeded]
pauldub has quit [Ping timeout: 276 seconds]
dvim has quit [Ping timeout: 276 seconds]
sorear has joined #nixos
Guest97367 has quit [Max SendQ exceeded]
dgonyeo has quit [Max SendQ exceeded]
zielmicha_ has joined #nixos
dmj` has quit [Ping timeout: 276 seconds]
p_l has joined #nixos
ghuntley has quit [Max SendQ exceeded]
ericbmerritt_ has quit [Ping timeout: 265 seconds]
terrorjack has quit [Max SendQ exceeded]
philips has joined #nixos
pingveno has quit [Max SendQ exceeded]
michas_ has quit [Ping timeout: 252 seconds]
nand0p has quit [Max SendQ exceeded]
taktoa[c] has joined #nixos
bitonic has joined #nixos
feepo has joined #nixos
thoughtpolice has joined #nixos
mudphone has quit [Ping timeout: 260 seconds]
houli has quit [Ping timeout: 255 seconds]
smola has joined #nixos
bitonic has quit [Max SendQ exceeded]
Guest37084 has joined #nixos
Georgyo has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3c8ab66467b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
philips has quit [Max SendQ exceeded]
gleber_ has quit [Ping timeout: 276 seconds]
ajmccluskey has quit [Ping timeout: 240 seconds]
Guest36413 has joined #nixos
feepo has quit [Max SendQ exceeded]
wavewave has joined #nixos
pingveno has joined #nixos
angerman has joined #nixos
thoughtpolice has quit [Max SendQ exceeded]
pkill9 has quit [Ping timeout: 256 seconds]
dgonyeo has joined #nixos
ocharles has quit [Ping timeout: 240 seconds]
georgew has quit [Ping timeout: 252 seconds]
angerman has quit [Max SendQ exceeded]
philips has joined #nixos
Guest97367 has joined #nixos
feepo has joined #nixos
bitonic has joined #nixos
manveru has quit [Ping timeout: 256 seconds]
pingveno has quit [Max SendQ exceeded]
mgttlinger has joined #nixos
bitonic has quit [Max SendQ exceeded]
dmj` has joined #nixos
Guest97367 has quit [Max SendQ exceeded]
terrorjack has joined #nixos
terrorjack has quit [Max SendQ exceeded]
mgttlinger has quit [Max SendQ exceeded]
p_l has quit [Max SendQ exceeded]
ghuntley has joined #nixos
houli has joined #nixos
pauldub has joined #nixos
angerman has joined #nixos
johs has joined #nixos
pingveno has joined #nixos
feepo has quit [Max SendQ exceeded]
philips has quit [Max SendQ exceeded]
houli has quit [Max SendQ exceeded]
mgttlinger has joined #nixos
nand0p has joined #nixos
angerman has quit [Max SendQ exceeded]
gleber_ has joined #nixos
p_l has joined #nixos
pingveno has quit [Max SendQ exceeded]
mgttlinger has quit [Max SendQ exceeded]
houli has joined #nixos
mpickering has joined #nixos
feepo has joined #nixos
philips has joined #nixos
angerman has joined #nixos
p_l has quit [Max SendQ exceeded]
mudphone has joined #nixos
ajmccluskey has joined #nixos
pingveno has joined #nixos
thoughtpolice has joined #nixos
dmj` has quit [Max SendQ exceeded]
bitonic has joined #nixos
Guest97367 has joined #nixos
terrorjack has joined #nixos
angerman has quit [Max SendQ exceeded]
genesis has quit [Ping timeout: 256 seconds]
pingveno has quit [Max SendQ exceeded]
mgttlinger has joined #nixos
adelbertc has joined #nixos
coot has quit [Quit: coot]
p_l has joined #nixos
mgttlinger has quit [Max SendQ exceeded]
angerman has joined #nixos
rodarmor has joined #nixos
pingveno has joined #nixos
georgew has joined #nixos
bitonic has quit [Max SendQ exceeded]
bmpvieira has joined #nixos
leat has joined #nixos
dvim has joined #nixos
dvim has quit [Max SendQ exceeded]
mgttlinger has joined #nixos
angerman has quit [Max SendQ exceeded]
pingveno has quit [Max SendQ exceeded]
rodarmor has quit [Max SendQ exceeded]
mbrock has quit [Ping timeout: 256 seconds]
bitonic has joined #nixos
terrorjack has quit [Max SendQ exceeded]
mgttlinger has quit [Max SendQ exceeded]
dmj` has joined #nixos
bitonic has quit [Max SendQ exceeded]
ericbmerritt_ has joined #nixos
pingveno has joined #nixos
angerman has joined #nixos
dmj` has quit [Max SendQ exceeded]
mgttlinger has joined #nixos
babyflakes has joined #nixos
manveru has joined #nixos
mgttlinger has quit [Max SendQ exceeded]
bitonic has joined #nixos
dvim has joined #nixos
dvim has quit [Max SendQ exceeded]
babyflakes has quit [Max SendQ exceeded]
manveru has quit [Max SendQ exceeded]
bitonic has quit [Max SendQ exceeded]
mbrock has joined #nixos
terrorjack has joined #nixos
mgttlinger has joined #nixos
rodarmor has joined #nixos
bitonic has joined #nixos
manveru has joined #nixos
dvim has joined #nixos
dmj` has joined #nixos
harms has quit [Ping timeout: 276 seconds]
babyflakes has joined #nixos
ocharles has joined #nixos
harms has joined #nixos
mguex has joined #nixos
LysergicDreams has quit [Quit: leaving]
gillmanash has quit [Remote host closed the connection]
xcmw has joined #nixos
Guest97367 has quit []
CrazedProgrammer has quit [Ping timeout: 260 seconds]
Guest97367 has joined #nixos
CrazedProgrammer has joined #nixos
pkill9 has joined #nixos
kelleyNif has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #36148: sc-controller: 0.4.0.2 -> 0.4.1 (master...scc) https://git.io/vA1P3
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master b568a7c Ryan Mulligan: liburcu: 0.9.5 -> 0.10.1...
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vA1Po
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #35810: liburcu: 0.9.5 -> 0.10.1 (master...auto-update/liburcu-0.9.5-to-0.10.1) https://git.io/vA63W
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy pushed 2 new commits to master: https://git.io/vA1PD
<NixOS_GitHub> nix/master e89d02b Will Dietz: fetchGit: use "HEAD" as default ref
<NixOS_GitHub> nix/master 4a000cb Shea Levy: Merge pull request #1927 from dtzWill/fix/fetchgit-HEAD...
NixOS_GitHub has left #nixos [#nixos]
<adelbertc> how do I import a Nix expression from a file in a github repo? i know there is a `fetchGit` but i want to refer to a file `release.nix` in the root of that repo so i can import it
<adelbertc> Mic92: interesting - thanks!
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
<elvishjerricco> Mic92: Doesn't that only work in Nix 2.0?
<Mic92> elvishjerricco: so does fetchGit
mkoenig has quit [Remote host closed the connection]
<Mic92> at least the builtin
<elvishjerricco> Right that's what I'm talking about. adelbertc may have been referring to `pkgs.fetchgit`
<adelbertc> i am on Nix 2.0 but would be interested in a non-Nix 2.0 answer as well
<Mic92> whois is using legacy nix anyway :)
mkoenig has joined #nixos
<MichaelRaskin> Me, me!
<Mic92> Newer is always better.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to staging: https://git.io/vA1X2
<NixOS_GitHub> nixpkgs/staging babb7be Maximilian Güntner: gawk: 4.2.0 -> 4.2.1
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging fbd90af Jörg Thalheim: Merge pull request #36126 from mguentner/gawk_4_2_0_to_4_2_1...
coot has joined #nixos
<Mic92> otherwise, what would be the point of merging nixpkgs updates.
coconnor has quit [Quit: leaving]
zzamboni has quit [Quit: Leaving.]
<MichaelRaskin> When it will become nix in Nixpkgs, we can talk
gillmanash has joined #nixos