ylwghst has joined #nixos
<ylwghst> clever: its weird
<ylwghst> i cant rebild switch
<clever> ylwghst: cant, or it undoes it at reboot?
markus1199 has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
<adelbertc> clever: shouldnt i just be able to do like (import master).dockerTools
<ylwghst> clever: i dont know but it does show the error when i try build in GUI terminal
<clever> adelbertc: (import master {}).dockerTools
<adelbertc> yea
<adelbertc> cool
<clever> ylwghst: i would just ignore the vconsole error
<ylwghst> clever: i tryied it in shell and the error is gone but generation still on 5 not increased to 6
<clever> ylwghst: do you have a /boot partition?
<ylwghst> clever: i do
<clever> ylwghst: is it currently mounted?
<ylwghst> clever: it is
<ylwghst> i wouldnt be able to boot with out it
<clever> so df -h /boot/ shows the correct contents?
<ylwghst> root is encrypted luks
<clever> can you gist the output of "df -h" ?
<clever> yeah, thats mounted
<ylwghst> sure it is
<clever> what about "fdisk -l /dev/sda" and "blkid /dev/sda*" ?
<clever> ylwghst: what is /dev/sda1 ?
<clever> and that was not blkid on the second command
<ylwghst> there is apple efi bootloader
<clever> if you temporarily mount /dev/sda1 to /mnt, what is inside of it?
<ylwghst> clever: AppleEFI bootloader
<clever> please confirm
<clever> mount -v /dev/sda1 /mnt ; ls -ltrhR /mnt; umount /mnt
erictapen has quit [(Ping timeout: 240 seconds)]
<ylwghst> clever:
<Infinisil> I
<Infinisil> I actually have pretty much the same setup
<Infinisil> an Apple ESP and one for NixOS
<clever> ylwghst: yeah, that is definitely apple only
<ylwghst> clever: sure
<clever> i have seen weird problems from people having 2 /boot's before
<ylwghst> it has nothing with nixos
<ylwghst> i dont have 2 boots
<clever> yeah, we just confirmed that
<ylwghst> it just boots macos
<Infinisil> ylwghst: Is that your problem? that it boots macos but not nixos?
<ylwghst> Infinisil: I had the problem
seppellll has quit [(Ping timeout: 276 seconds)]
<ylwghst> I wasnt able to see nixos efi
rpifan has quit [(Remote host closed the connection)]
<ylwghst> but solved it with this
<ylwghst> i wasnt able to acces it - select it within boot menu..
<ylwghst> added this boot.loader.grub.device = "/dev/sda3";
<Infinisil> ylwghst: So the problem right now is that you can't rebuild still? Because of that vtty error?
<ylwghst> but pointed exatly to /dev/sda3
Wizek_ has quit [(Ping timeout: 260 seconds)]
<ylwghst> Infinisil:
<ylwghst> yes
rpifan has joined #nixos
<ylwghst> its booting well but cannt rebuild now
taktoa has joined #nixos
joepie91_to_go_ has quit [(Ping timeout: 276 seconds)]
newhoggy has quit [(Remote host closed the connection)]
<ylwghst> Infinisil: hm
newhoggy has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
<ylwghst> Infinisil: it is closed bug
roberth has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
filterfish_ has quit [(Ping timeout: 276 seconds)]
<ylwghst> so this cannot be figured without patch
<Infinisil> ylwghst: You should comment on that thread, an issue is still relevant if its closed when people still entounter it
<Infinisil> s/entounter/encounter
gnuhurd has joined #nixos
mudri has quit [(Ping timeout: 248 seconds)]
<Infinisil> s/if/even though
ylwghst has quit [(Quit: Lost terminal)]
<clever> yorick: boot.loader.device is only for legacy booting
<clever> oh, wrong name, he DC'd
<yorick> clever: the people running my vps use pygrub
<clever> Infinisil: it probably fails to rebuild, because he incorrectly setup legacy on a legacy-only machine
<adelbertc> is the `system` attribute in the top level or in `config` ?
<clever> adelbertc: its within config
<clever> adelbertc: there are also 2 system attributes, one is a set, another is a string
filterfish has joined #nixos
<adelbertc> i think i want the string on
<clever> yorick: ah, for pygrub, you would do boot.loader.grub.device = "nodev";
<adelbertc> the one that lets me say build for x86_64-linux
<Infinisil> clever: Apple uses UEFI booting, it's definitely not legacy-only
<clever> Infinisil: meant to say efi only machine
<yorick> clever: yeah, I'm doing it already
<Infinisil> ah
<yorick> I'm not the one you meant to hilight
<clever> yorick: yeah, meant to highlight the guy that DC'd right before then
roberth has joined #nixos
pxc has joined #nixos
roberth has quit [(Ping timeout: 255 seconds)]
xiambax has joined #nixos
Infinisil has quit [(Quit: leaving)]
phinxy has joined #nixos
dbmikus has quit [(Ping timeout: 240 seconds)]
Infinisil has joined #nixos
moet has joined #nixos
eacameron has quit [(Remote host closed the connection)]
Infinisil has quit [(Client Quit)]
Infinisil has joined #nixos
<Infinisil> DAMNIT
<grantwu> Infinisil: ?
<xiambax> You're supposta unplug the toaster before you stick your ____ in it.
<Infinisil> Something is really messed up with my machine, it takes like 5 minutes to boot into a useable state
<Infinisil> well actually just restarting the display-manager
moet has quit [(Quit: leaving)]
<Infinisil> This happens only when the external display is connected
<xiambax> nix-env rebuild?
ylwghst has joined #nixos
<Infinisil> I'm having like 0.1fps when the WM is started, but the lag disappears when i turn off the internal display
<ylwghst> Infinisil: so
<Infinisil> (i'll be going through that process once more, brb)
Infinisil has quit [(Client Quit)]
<ylwghst> Infinisil: the error doesnt abort build process it does build as clever said it can be ignored
Wizek_ has joined #nixos
<ylwghst> Infinisil: that error only occurs while gdm is used as display manager
<ylwghst> Infinisil: while I was switched gdm to lightdm error was gone
Infinisil has joined #nixos
<ylwghst> clever: how can I get .nix-profile/lib/grub/x86_64-efi/
<clever> ylwghst: your not supposed to have grub files in that directory, why do you want to reach them?
<ylwghst> clever: how can I get .nix-profile/lib/grub/x86_64-efi/setpci.* into /boot/EFI/nixos/x86_64-efi/setpci?
<clever> ylwghst: what is currently in /boot/grub/ ?
<ylwghst> these files were installed into .nix-profile after nix-env -iA nixos.grub2_efi
<ylwghst> clever: contains default grub installation
<clever> manualy copying them is fragile and will break horribly next time things upgrade
<clever> and the nix-env copy wont update itself either
<clever> ylwghst: what is currently in /boot/grub/ ?
mbrgm has quit [(Ping timeout: 240 seconds)]
<ylwghst> clever: .nix-profile/lib/grub/x86_64-efi/
<clever> ylwghst: you are using systemd-boot
<clever> so nothing you do with grub will have any effect
<ylwghst> clever: setpci.mod needs to be present in /boot/EFI/nixos/x86_64-efi/
<clever> ylwghst: you dont have grub enabled, so nothing grub related will have any effect
mbrgm has joined #nixos
<ylwghst> in order to load module in grub2 and use setpci
<clever> ylwghst: grub doesnt run on bootup, so all grub config is being ignored
jellowj has quit [(Ping timeout: 276 seconds)]
eschnett has joined #nixos
<ylwghst> clever: the grub does this thing
<clever> only if grub is enabled
<clever> you are currently using systemd-boot
<ylwghst> on my machine is
<ylwghst> it is enabled
<ylwghst> just need to get these files into /boot/EFI/nixos/x86_64-efi and it will work im sure
<Infinisil> This means systemd-boot is enabled, which means grub is disabled
<Infinisil> clever: Heh
<ylwghst> ok
<Infinisil> ylwghst: Honestly I think you have about a 10% chance of it "just working", even if you use grub
<ylwghst> why do you think ?
<adelbertc> clever: hm how sure are you `system` is in `config`? https://nixos.org/nixpkgs/manual/#sec-cross-usage seems to suggest it's outside
<clever> adelbertc: there is a config.system.build (where system is a set), and there is a config.nixpkgs.system (a string that sets the arch for the build)
<ylwghst> should i try it? :)
<clever> adelbertc: and those are both nixos options
<clever> adelbertc: what exactly are you trying to do?
<adelbertc> trigger distributed build
<adelbertc> set it to x86_64-linux so distributed build kicks in
<clever> distributed builds dont rely on any special value of system
<ylwghst> hmm
<clever> adelbertc: although, what is the host?
<ylwghst> i can use boot.loader.grub.extraFiles
<ylwghst> then
<adelbertc> im on darwin
<clever> adelbertc: ahh
<adelbertc> and i have my remote systems conf setup for x86_64-linux
<clever> adelbertc: then that should come into play
<adelbertc> hence the setting of system
<clever> adelbertc: what file did you set system in, and what command are you running?
takle has quit [(Remote host closed the connection)]
hellrazor has joined #nixos
<adelbertc> when im importing <nixpkgs>
<ylwghst> does copy only into /boot ?
takle has joined #nixos
<clever> ylwghst: the entries in boot.loader.grub only have an effect if you set boot.loader.grub.enable = true;
<adelbertc> `import <nixpkgs> { config = { system = ... } }`
<ylwghst> clever: got it
<adelbertc> or `import <nixpkgs> { system = ... }`
<clever> adelbertc: ahhh, system is a sibling of config, so the 2nd one
<adelbertc> where `...` = `x86_64-linux`
<ylwghst> im gonna give it try
<ylwghst> i wish i boot again
<adelbertc> coolio
<clever> adelbertc: another trick you can do: nix-build '<nixpkgs>' -A hello --argstr system x86_64-linux
<adelbertc> that assumes the expr is a function that takes a `system` attr right?
hellrazo1 has quit [(Ping timeout: 260 seconds)]
<clever> adelbertc: that loads the default.nix in <nixpkgs>, which takes a system argument
<adelbertc> hm interesting i recall trying that before and it not quite working. maybe i typo'd
<clever> --arg will try to parse the 2nd part as nix, so it would need double quotes, that are protected from bash eating them
<clever> --arg system '"x86_64-linux"' for ex
* ylwghst holding crossed all fingers
<clever> --argstr says its a string, and saves you the trouble
takle has quit [(Ping timeout: 276 seconds)]
<ylwghst> error hapened :-D
<clever> ylwghst: boot.loader.grub.device must be set to "nodev";
<ylwghst> hm
<clever> ylwghst: and you need to do boot.loader.grub.efiSupport = true;
<Infinisil> and enable grub of course, if you haven't already
<Infinisil> and disable systemd-boot
<ylwghst> grub.device. nodev are you sure?
<clever> Infinisil: the last error is because grub was enabled, and the invalid .device = "/dev/sda3" is now being tried
<clever> ylwghst: yes, grub.device is only for legacy booting, and macbooks dont support legacy
<Infinisil> Ah right
<ylwghst> build success
<clever> ylwghst: now what is in /boot/grub/ ?
<ylwghst> clever: but i want able boot until i set grub.device with systembootd
<ylwghst> i wasnt*
<clever> systemd 100% ignores all grub options
<clever> that option was invalid, and had zero effect on the system
<ylwghst> there werent any menu entries
<ylwghst> strange
gnuhurd has quit [(Remote host closed the connection)]
<clever> ylwghst: now what is in /boot/grub/ ?
<ylwghst> hmm
<ylwghst> but why i386 architecture
<clever> it installed both legacy and efi modules
<clever> ylwghst: and you have setpci under /boot/grub/x86_64-efi
<ylwghst> clever: thats great
<clever> nixos automatically copied it in now that grub is on
<ylwghst> that is really great
* ylwghst is going give it try.
ylwghst has quit [(Quit: Lost terminal)]
<grantwu> So I was told here that instead of branching off of master for developing nixpkgs, I "could branch off the revision of the last channel"
<grantwu> What branch would that be?
<grantwu> staging-17.03?
<clever> grantwu: nixos-version tells you what revision your currently on
<clever> $ nixos-version
<clever> 17.09pre110213.01c3847b9c (Hummingbird)
<clever> i'm on revision 01c3847b9c
<clever> so check that out, then make a branch from there
<grantwu> I'm not using nixos
<clever> ah, one sec
<grantwu> And wouldn't it be more relevant what Hydra is building?
<clever> nix-instantiate --eval -E 'with import <nixpkgs> {}; lib.nixpkgsVersion'
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to staging: https://git.io/v7MZt
<NixOS_GitHub> nixpkgs/staging 5f6fe64 Robin Gloster: audio-recorder: fix makeWrapper call
<NixOS_GitHub> nixpkgs/staging ffd46e9 Robin Gloster: gnuradio: fix makeWrapper calls
NixOS_GitHub has left #nixos []
<clever> grantwu: depends on if your goal is to match up with a given channel, or match what you already have in /nix/store/
<clever> bbl
<grantwu> My goal is to be as recent as possible without needing to rebuild the world
<grantwu> Which happens if I branch off nixpkgs master
ylwghst has joined #nixos
<clever> the branches on here match the channels perfectly
<ylwghst> clever: booted well but havenot loaded setpci module
<clever> all of the ones not ending in -small will have good binary cache coverage
<clever> ylwghst: it may need an insmod setpci in the grub extraConfig
moet has joined #nixos
<grantwu> wait... would nox-review use that
<ylwghst> its there
<ylwghst> clever:
<Infinisil> grantwu: But the nixos-unstable channel hasn't updated in a while, sooo
<clever> ylwghst: and also look at the grub.conf in /boot, and see what it has generated
<ylwghst> hmm
<ylwghst> its there
<clever> ylwghst: but is it in the right spot?
<clever> you may need to use boot.loader.grub.extraEntriesBeforeNixOS to get it inserted sooner
<ylwghst> gmm
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to staging: https://git.io/v7MZF
<NixOS_GitHub> nixpkgs/staging 60418e9 Robin Gloster: edac-utils: fix makeWrapper call
NixOS_GitHub has left #nixos []
<ylwghst> here are 10 generations right?
<ylwghst> i did see only 8
<ylwghst> and booted 8
<ylwghst> v seen
<clever> ylwghst: and you want to put the insmod down a line, to get the indents right
<clever> ls -ltrh /nix/var/nix/profiles
<clever> ylwghst: this will also show what your generations are
<ylwghst> good
johnw has quit [(Ping timeout: 255 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
<grantwu> Infinisil: What is nixos-unstable?
<grantwu> Does that correspond to nixpkgs unstable?
<clever> nixos-unstable only updates when the nixos tests pass
<clever> nixpkgs-unstable ignores those tests, and updates more often
<clever> but nixpkgs-unstable can potentialy break a nixos machine, because it isnt tested
<grantwu> I don't see a nixpkgs-unstable branchin nipxkgs repo
ylwghst has joined #nixos
<ylwghst> clever: something is wrong
<ylwghst> the bootloader menu looks completely identical and there is only 8 generations
<Infinisil> grantwu: Add this as a remote: https://github.com/NixOS/nixpkgs-channels
<ylwghst> i can boot only 8 generation
<clever> ylwghst: its probably still using systemd-boot
<ylwghst> clever: i do think it is
<clever> ylwghst: you need to make sure the efi is updated to run grub now
<ylwghst> how
<clever> ylwghst: try nixos-rebuild switch --install-bootloader
leothrix has quit [(Ping timeout: 260 seconds)]
leothrix has joined #nixos
<grantwu> Infinisil: okay
<ylwghst> notice that there is /boot/EFI/nixos still present where is systemd
<grantwu> And does anyone know if nox-review will actually use what I set as an upstream in Git, or does it always compare to master?
<ylwghst> grub2 updated gonna give it try
ylwghst has quit [(Client Quit)]
Supersonic112 has quit [(Ping timeout: 240 seconds)]
<disasm> did something replace pp-aterm?
<disasm> for pretty printing derivations that is
Supersonic112_ has joined #nixos
<clever> disasm: it was removed several months ago
<Infinisil> grantwu: nox-review can either test against a PR or against the uncommited differences
Supersonic112_ is now known as Supersonic112
<Infinisil> nox-review pr <number of pr> or nox-review wip
ylwghst has joined #nixos
<ylwghst> clever: nothing has changed
<grantwu> okay, so it would be against master then, because my PRs are to merge into master
<grantwu> So none of this actually solves my problems
<ylwghst> should i foramt partion and isntall grub2 ?
<ylwghst> boot partition
<Infinisil> grantwu: Ahh, hmm
<clever> ylwghst: that will likely cause more problems
<disasm> clever: is there another recommended way to print derivations?
<ylwghst> ylwghst: i do think too
pxc has quit [(Ping timeout: 240 seconds)]
<Infinisil> grantwu: you can check out nixos-unstable, then make your changes, nox-review wip (which will be able to use the caches), test it some more, then commit the changes to master and hope Travis builds just fine
<xiambax> Does nixos host on cloudfront?
<clever> ylwghst: what if you set boot.loader.efi.canTouchEfiVariables = true; ?
<Infinisil> grantwu: But if you really wanna be sure it works on master, then yes you'll have to build some stuff yourself, it shouldn't take forever
<clever> ylwghst: and also do nixos-rebuild switch --install-bootloader
<ylwghst> clever: i have set yet
<grantwu> Infinisil: The context of this was that I am updating a package which qtwebengine depends on. So it took hours
<ylwghst> all time booted with efi.canTouchEfiVariables = true
<Infinisil> grantwu: Well, in that case you can't use caches anyways, since it might produce something different (in what case would the caches even be used? nix has a dependency tree which updates everything that may change)
<Infinisil> so it makes sense to rebuild that stuff
<grantwu> Well, I would have to rebuild less stuff
<grantwu> Actually I'm not sure
<grantwu> I think I wasn't updating a package qtwebengine depended on; I was actually updating a package that depended on both qtwebengine and the package I was updating
<ylwghst> in /boot/grub there isn't *.efi
rpifan has quit [(Quit: Leaving)]
<clever> ylwghst: checking the config...
<ylwghst> it has to be in /boot/EFI/nixos
<ylwghst> as there are some but not updated with grub or something...
<clever> Infinisil: do you know how to make nixos-rebuild copy grub to /boot/EFI and re-configure efibootmgr?
<ylwghst> its there
<ylwghst> /boot/EFI/NixOS-boot/grubx64.efi
<clever> ylwghst: and is it listed in the output of "efibootmgr" ?
<ylwghst> /boot/EFI/systemd/systemd-bootx64.efi
<ylwghst> what is efibootmgr??
<clever> its the efi boot manager, just run that command to print its current settings
Infinisil has quit [(Ping timeout: 258 seconds)]
<ylwghst> the program n/c installed install with nix-evn -iA
<ylwghst> should I do it as root?
Infinisil has joined #nixos
<clever> ylwghst: try "nix-shell -p efibootmgr" and then just "efibootmgr"
<Infinisil> (had to force shut down upon disconnecting my external display)
<ylwghst> clever: that is the problem
<ylwghst> bootcurrent has to be 00001
<ylwghst> btw what nix-shell does exatly and -p? Its awesome
<clever> Infinisil: do you know more about efibootmgr?, i dont remember how to make it list more details
<clever> ylwghst: that opens a shell and puts efibootmgr into $PATH
<clever> ylwghst: once you leave the shell, efibootmgr is effectively gone
<ylwghst> awesome
<xiambax> :D
<clever> its great for when you only need something once or twice and dont want to leave garbage around for years
<Infinisil> efibootmgr -v
<Infinisil> couldn't find anything else in the man page
<clever> ylwghst: what does efibootmgr -v say?
<Infinisil> For reference, this is my output for efibootmgr -v: https://gist.github.com/e74ffbf3bbfe488581180b12045efe97
<clever> Infinisil: yeah, that looks much better
<grantwu> how do I build something that's not the default.nix?
<grantwu> i.e. I want to build pkgs/development/libraries/libtorrent-rasterbar/1.0.nix
<ylwghst> clever: same thing but its detailed asi tought NixOS-boot
<ylwghst> is grub
<clever> -n | --bootnext XXXX
<clever> Set BootNext to XXXX (hex)
<ylwghst> order is correct
aloiscochard has quit [(Quit: Connection closed for inactivity)]
<ylwghst> clever: shoul i do that?
<clever> ylwghst: yeah, i think that will fix the problem
<grantwu> nvm, it has an alias in all-packages.nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #28092: adapta-gtk-theme: 3.91.1.47 -> 3.91.2.4 (master...testing) https://git.io/v7MCU
NixOS_GitHub has left #nixos []
<Infinisil> grantwu: And if something doesn't for some reason, you can do nix-build -E '(import <nixpkgs> {}).callPackage path/to/pkg {}'
<Infinisil> usuallly
frankpf has joined #nixos
<grantwu> ah, thanks
<clever> ylwghst: looks good, lets see what happens when you reboot
<Infinisil> ylwghst: Doesn't holding Option on startup let you select the disk to boot from?
<ylwghst> Infinisil:
<ylwghst> it does
<Infinisil> because if that didn't work, I doubt efibootmgr does
<ylwghst> its does work
<ylwghst> there I choose the partition with boot
<Infinisil> Oh it's a different problem, never mind
<ylwghst> it is
<ylwghst> gonna try it
ylwghst has quit [(Quit: Lost terminal)]
<clever> Infinisil: i have also heard of some crappy firmwares, that refuse to let you delete an efi entry with efibootmgr, if the matching efi system partition is MIA
<Infinisil> MBR*
<Infinisil> ?
<clever> Infinisil: so if you delete the partition first, you basicaly ruin the firmware forever
<clever> uefi firmware
<Infinisil> (never mind, I'm tired)
<Infinisil> I see
ylwghst has joined #nixos
<ylwghst> without any change
<ylwghst> still systembootd with only 8 generations
<clever> ylwghst: what if you hold the option button and pick nixos-boot?
<ylwghst> clever: there isnt nixos-boot
<ylwghst> there are only the two partions visible
<ylwghst> the first efi with apple efi
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/055e5c3578 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
<clever> oh, maybe we want to set current, not next
<ylwghst> and second /dev/sda3 with our grub and systemdboot efi
<Infinisil> clever: I think next is implying the next boot
<ylwghst> so i choose second a then it runs systemdboot
<clever> i
<clever> i'm thinking delete systemd, but if it doesnt fall thru to grub, it will cease booting, and you would need the install cd to fix it
<clever> (delete it using efibootmgr)
<Infinisil> clever: I think ylwghst has 2 ESP's, Apple's one and the new one
<clever> Infinisil: yeah
<ylwghst> clever: it was my first idea but im not sure if it will work
<clever> Infinisil: and he also has 2 efi binaries in the second one (systemd-boot and grub)
<ylwghst> becase still is somehow choosing systemdboot.efi
<ylwghst> its totaly diferent location
<ylwghst> propablt it will still seeks for systemd-boot
<Infinisil> Wait, is this still the problem with nvidia drivers?
<ylwghst> will stil be seeiking
<clever> using efibootmgr, you can remove systemd-boot from the config
<ylwghst> Infinisil: right
Cale has left #nixos ["Leaving"]
<Infinisil> ylwghst: Have you tried just deleting /boot and letting nixos reinstall it from scratch?
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grantwwu opened pull request #28093: libtorrentRasterbar_1_0 1.0.10 -> 1.0.11 (master...bump_libtorrentRasterbar_1.0_series) https://git.io/v7MC7
NixOS_GitHub has left #nixos []
<ylwghst> Infinisil: not yet
<ylwghst> -l | --loader name (defaults to \EFI\redhat\grub.efi)
<ylwghst> what about this
<ylwghst> or delete bootnum?
<clever> thats used when modifying or creating a new entry
<clever> brb
<ylwghst> right
<ylwghst> we need change bootcurrent definetely
<ylwghst> force it
<Infinisil> ylwghst: You can't do that
<Infinisil> bootcurrent means the currently booted system
<ylwghst> i see
<ylwghst> ok
<ylwghst> then edit Boot0000* Linux Boot Manager
<ylwghst> and point it to /File(\EFI\NixOS-boot\grubx64.efi
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/767b2ae327 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<Infinisil> ylwghst: You probably want to read through `man efibootmgr` for that
zeus_ has quit [(Remote host closed the connection)]
xiambax has quit [(Quit: leaving)]
zeus_ has joined #nixos
<grantwu> Okay out of curiosity
<grantwu> Do people actually use the nox-review thing?
<grantwu> Because something broke qbittorrent within the past 248 commits to master
<grantwu> I think it's probably 27940
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Infinisil opened pull request #28094: gist: 4.5.0 -> 4.6.1 (master...gist-update) https://git.io/v7MWC
NixOS_GitHub has left #nixos []
<Infinisil> ^^ Fix for gist -s, which shortens the URL to a git.io link
<ylwghst> cool
<clever> Infinisil: oh, that sounds handy
<Infinisil> alias gist="gist -s"
zeus_ has quit [(Ping timeout: 255 seconds)]
<grantwu> urgh, no it's not that
<grantwu> time to learn to use git bisect
<Infinisil> grantwu: The man page is super nice to read, just learned it today
eacameron has joined #nixos
filterfish has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v7MWw
<NixOS_GitHub> nixpkgs/master b224644 Peter Hoeg: unetbootin: 613 -> 655
NixOS_GitHub has left #nixos []
<adisbladis> grantwu: Using nox-review is not a hard requirement but it's a good practice
<adisbladis> Sometimes it's far too many rebuilds to run it
<Infinisil> Actually I just used nox-review, and its failing again. I can't remember it working even onec
<adisbladis> Infinisil: Sometimes it does make you discover that other people didn't run it
<adisbladis> I've been fiddling around with python packages a bit lately and there is so much old cruft in there that does not build
<Infinisil> adisbladis: Ohh, yeah with python packages it's pretty important, lots of dependencies on each other
<adisbladis> Infinisil: And so much that hasn't been touched for a long while. So a lot does not work on python 3 but is not marked as such
<grantwu> adisbladis: Indeed. That's how I got down this rabbit hole.
eacameron has quit [(Ping timeout: 260 seconds)]
filterfish has joined #nixos
filterfish_ has joined #nixos
Fannar has joined #nixos
filterfish has quit [(Ping timeout: 255 seconds)]
<Infinisil> Ah, interesting: <nixpkgs> is equivalent to ((__findFile __nixPath) "nixpkgs")
frankpf has quit [(Quit: Leaving)]
<ylwghst> its totaly diferent locationhm
<ylwghst> hm
<ylwghst> i got it maybe
<ylwghst> the boot0001 is maybe set inactive
<ylwghst> it has 0000*
<ylwghst> 0001*
<ylwghst> Infinisil: i got it
<ylwghst> it was set inactive
phinxy has quit [(Ping timeout: 240 seconds)]
<ylwghst> Infinisil: an inactive entry is labeled with boot0001*
<ylwghst> active with boot0001
<adisbladis> grantwu: I just had a quick look at your issue and I think it's already fixed on staging: https://github.com/NixOS/nixpkgs/issues/27975
<adisbladis> At least that's the same build error I'm getting on master
<Infinisil> ylwghst: From the man page: "(* means active)"
<ylwghst> omg
<grantwu> adisbladis: Er... is that fix not in master?
<ylwghst> right :(
mahalel_ has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
<disasm> What's the best way to get a nix-shell that can build a package using stdenv? For example, if I wanted to get a shell to build pkgs/applications/misc/hello/default.nix
<Infinisil> disasm: nix-shell -A hello
<disasm> Infinisil: right, but that's in top-level, assuming a package isn't already in top-level.
<clever> nix-shell -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<disasm> ah, so it's identical to the nix-build command :) that's easy to remember!
<clever> yep
<clever> you can also make a shell.nix file with that string
<clever> then just nix-shell with no args loads it
<grantwu> adisbladis: ping
<adisbladis> grantwu: Pong.
<Infinisil> There's also nix-call-package in nixpkgs/maintainers/scripts which basically does this
<grantwu> Is that fix not in master?
<Infinisil> so you could add that to your path, then do nix-call-package hello
<adisbladis> I'm not even sure what the bug in master is, don't really have time to track things down
<adisbladis> grantwu: No it seems not
<grantwu> How is something in staging but not in master...
<dmj`> Has haskellPackages recovered from the ghc821 updates
<adisbladis> grantwu: Why is that strange?
<adisbladis> Staging is a staging branch for master, not for channels
<grantwu> ...okay
<grantwu> so am I supposed to be forking off of staging?
<grantwu> And yeah, looking at that fix, that fixes the issue
<grantwu> Since git bisect spat out the commit that it reverts
<grantwu> I don't want to offend anyone here but... why do we have a staging for master if we apparently aren't testing commits on staging before we merge them to master?
<grantwu> Running nox-review for my commit and discovering weird breakage that I spend a while bisect-ing, just to find that it's due to someone else not running nox-review... heck, it seems like people don't run nox-review before getting their PRs reviewed, doesn't seem like I should bother either...
<clever> grantwu: i think staging is mostly used for large changes that people think will break a lot
<clever> grantwu: anything that seems simple is put right into master
<clever> grantwu: in either case, hydra wont let anything broken reach nixos-unstable, so the breakage only makes the channel lag behind
<grantwu> https://github.com/NixOS/nixpkgs/pull/27657/commits/4964b104b946e889587407e27fa11f9412e24c8b looks to me like something that could break a lot of things
<grantwu> Again - the breakage also makes development frustrating for other people
<clever> grantwu: and it says it was merged into staging
<grantwu> clever: Yes, and it's also in master.
<clever> staging must have been merged into master after it was deemed stable
<grantwu> I must then wonder who deemed it stable
<grantwu> Because it is reverted here: https://github.com/NixOS/nixpkgs/pull/28065
<clever> grantwu: 2203908e5fa7529183f43b6a9e7e11559b1fcde6
<clever> grantwu: i think the above commit merged staging into master
<grantwu> That seems to be authored by the same guy who also reported this breakage >.> https://github.com/NixOS/nixpkgs/issues/27975
<grantwu> whatever, I don't have any burning need for my PRs to be merged, I'll just wait a few weeks
Fannar has quit [(Ping timeout: 255 seconds)]
Wizek_ has quit [(Ping timeout: 260 seconds)]
digitalmentat has quit [(Ping timeout: 240 seconds)]
Wharncliffe has quit [(Quit: Lost terminal)]
pxc has quit [(Ping timeout: 260 seconds)]
Fannar has joined #nixos
* Infinisil is currently trying to build his first haskell project ever, with stack + nix
hellrazo1 has joined #nixos
Fannar has quit [(Ping timeout: 248 seconds)]
hellrazor has quit [(Ping timeout: 255 seconds)]
* Infinisil has successfully parsed the nix expression "h" with hnix :D
alx741 has quit [(Quit: alx741)]
newhoggy_ has joined #nixos
reinzelmann has joined #nixos
pxc has joined #nixos
newhoggy has quit [(Ping timeout: 276 seconds)]
root____2 has joined #nixos
<root____2> decided to do clean install with grub2 and we'll see
pxc has quit [(Ping timeout: 255 seconds)]
ylwghst has joined #nixos
root____2 has quit [(Ping timeout: 255 seconds)]
<adisbladis> grantwu: Running nox-review is not a hard requirement
<adisbladis> I sort of wish it was sometimes..
ylwghst has quit [(Remote host closed the connection)]
proteus-guy has quit [(Remote host closed the connection)]
<adisbladis> But lets say you update glibc or binutils, thats a few days of rebuilds on my machine
<Infinisil> adisbladis: Since everything depends on glibc that's an actual full rebuild, right?
<adisbladis> Infinisil: Yes, should be
pxc has joined #nixos
cpennington has quit [(Remote host closed the connection)]
pxc has quit [(Ping timeout: 240 seconds)]
MP2E has joined #nixos
<Infinisil> Alright, how the hell do i use hnix
<Infinisil> I should probably ask this in #haskell
<MP2E> hey, since I updated to the latest nixpkgs master today, i haven't been able to get my qt5 programs to run
<MP2E> anyone else experiencing this? hm
<MP2E> ah guess that wasn't specific
<MP2E> basically it can't find the so's anymore
<MP2E> so i get something like 'error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory'
moet has quit [(Quit: leaving)]
<Infinisil> MP2E: Someone had such a problem too i remember, hold on I'll look at the irc logs
<Infinisil> avn had that problem
eacameron has joined #nixos
<Infinisil> And maybe also cmcdragonkai1
zetok has quit [(Ping timeout: 240 seconds)]
<Infinisil> MP2E: clever once suggested using qt5.full instead
<Infinisil> That's all i have in my logs
<Infinisil> regarding libQt5
lambdael has quit [(Quit: WeeChat 1.7.1)]
pxc has joined #nixos
rpifan has joined #nixos
pxc has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer closed pull request #27897: rgbds: 0.2.4 -> 0.3.2 (master...rgbds-update) https://git.io/v7g0f
NixOS_GitHub has left #nixos []
<Infinisil> So, the answer to how the hell one uses hnix is, you guessed it: Monads
<Infinisil> and Data.Fix
<Infinisil> Which means I'm pretty much stuck until I 'get' it :P
<rpifan> monads?
<simpson> Infinisil: Do you have more precise questions?
pxc has joined #nixos
pxc has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<MP2E> Infinisil: thanks for the pointer!
<Infinisil> simpson: Maybe later ;)
<Infinisil> Actually no, I should really be studying for exams, getting into this too much would only distract me more heh
<Infinisil> simpson: Do you know haskell well?
<simpson> Infinisil: Sure.
wigust has joined #nixos
<Infinisil> Nice! Have you used hnix before?
<simpson> Nope.
MercurialAlchemi has joined #nixos
<Infinisil> simpson: It's nix implemented in Haskell. While I'm not an expert, I feel it's really well done
<simpson> No worries.
<Infinisil> But then again, maybe every Haskell library is like this, it's the first one I'm taking a closer look at
pxc has joined #nixos
<simpson> I can safely say that there exist not-well-done Haskell libraries.
<Infinisil> Heh, I believe that
tdc has joined #nixos
<Infinisil> simpson: Have you had a look at Idris?
pxc has quit [(Ping timeout: 260 seconds)]
_ts_ has joined #nixos
<simpson> Infinisil: Sure.
<Infinisil> I'm really liking it :D
<Infinisil> simpson: Have you read the book Type Driven Development with Idris?
<Infinisil> by any chance?
oida has joined #nixos
<simpson> Nope.
dbmikus has joined #nixos
<Infinisil> simpson: Want to? I can really recommend it
* sphalerite might do so in that case
<Infinisil> sphalerite: Sure! I can mail the pdf
<simpson> Infinisil: Currently trying to finish writing this paper: https://github.com/monte-language/monte-talks/blob/master/corbin-ocap17-monte.pdf
oida_ has quit [(Ping timeout: 260 seconds)]
<Infinisil> simpson: Ohh right, you're developing your own language :D
<sphalerite> Infinisil: I'd quite like to use a physical copy so I'll check if my uni library has it
pxc has joined #nixos
<simpson> I can use other languages. I've looked at Idris before. I'm just not interested in picking up more reading material right now; I have a pile of papers and a pile of books already.
dbmikus has quit [(Ping timeout: 260 seconds)]
<Infinisil> simpson: Sure
<sphalerite> Nope, they don't. :( maybe the CS department has it though
<Infinisil> sphalerite: It would be quite
pxc has quit [(Ping timeout: 246 seconds)]
<Infinisil> a suprise to me
<sphalerite> why?
<sphalerite> I'm at the University of Strathclyde, there's quite a bit of research on programming languages going on over here
<Infinisil> sphalerite: Ahh
<sphalerite> I think there's more Agda stuff going on than Idris stuff, but still
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lo1tuma opened pull request #28096: nodejs: 8.2.1 -> 8.3.0 (master...nodejs-8.3.0) https://git.io/v7Muf
NixOS_GitHub has left #nixos []
<Infinisil> sphalerite: Yeah could have been
<Infinisil> sphalerite: I'll make it available on my website for you
<Infinisil> sphalerite: Something like wget -r https://infinisil.io/TypeDD/ should do it
<Infinisil> Tell me when you've downloaded it, gonna take it down again after that
<sphalerite> "No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in
<sphalerite> any form or by means electronic, mechanical, photocopying, or otherwise, without prior written
<sphalerite> permission of the publisher." :oooo
<Infinisil> sphalerite: I'll let you peek, and if you like it you can pay for the real version, ok?
<sphalerite> thanks, kind of you. Not sure I'll read it though, reading on laptop screens sucks
Wizek has quit [(Quit: Connection closed for inactivity)]
<sphalerite> I'll still see if the department has a copy and probably just buy it if not
<Infinisil> sphalerite: Alright
<Infinisil> sphalerite: So you got it?
* Infinisil has removed it again
proteusguy has joined #nixos
<simpson> Infinisil, sphalerite: Next time, consider magic-wormhole (it's in nixpkgs!) for transferring files securely.
<Infinisil> simpson: Ohh, right, i forgot its name, but i remember it
<Infinisil> I actually considered gpg encrypting it heh
<sphalerite> I tried that the other day with some large files that a friend sent me. It broke because I forgot to plug my laptop in, and all of the transfer was lost
<sphalerite> So in future I'll use syncthing for that sort of thing, in spite of the annoying GUI :p
<Infinisil> sphalerite: i've heard lots about syncthing, but I prefer CLI apps
pxc has joined #nixos
<Infinisil> probably there's a CLI too, but whatever, don't need it
<sphalerite> Me too, but syncthing is good enough that I'll accept the GUI
<sphalerite> There is no working CLI I know of
<Infinisil> sphalerite: What's so good on it?
<Infinisil> I actually do need a sync program, but I think I'll use rsync
newhoggy_ has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
<sphalerite> It's opportunistic and distributed, if I want to keep something in sync between 5 devices it doesn't matter if only 2 of them are ever online at the same time
pxc has quit [(Ping timeout: 255 seconds)]
<sphalerite> It's continuous, which makes it suitable for different use cases from rsync
<Infinisil> sphalerite: Well fuck, that's exactly what I need
<sphalerite> If I take a photo on my phone, it just shows up on my laptop, no further action required
justbeingglad has joined #nixos
<sphalerite> I also use it to put music on my phone
<Infinisil> sphalerite: Android I assume?
<sphalerite> I'll probably add a shared folder with my server as well, exposed via HTTP, so I can just plonk stuff in there from my phone to share it publicly
justbeingglad has left #nixos []
<sphalerite> Without needing to scp/rsync it over
<sphalerite> Yeah
<Infinisil> Something like having a network filesystem of all your machines mounted to /machines/<name> would be sweet
<Infinisil> sphalerite: Can there be merge conflicts with syncthing?
<sphalerite> My main gripes over it are that it's written in Go and that it only has a web UI on desktop, and that the android app's UI is pretty poor
<sphalerite> Yes, in case of a conflict it will just keep both copies
<Infinisil> sphalerite: Go is pretty meh, but as long as it works well I wouldn't mind
reinzelmann has quit [(Quit: Leaving)]
<Infinisil> sphalerite: I should actually totally implement that idea I had some weeks ago
<sphalerite> Yeah, still better than C.
<Infinisil> Since I'm using zfs filesystems on all my machines, I can use its capabilities. This would enable the zfs send / receive commands which can do incremental updates
<Infinisil> And I could set every machines version to read-only except one
<Infinisil> Then I wouldn't have merge conflicts
<Infinisil> But the protocol becomes more complicated
<Infinisil> But that _would_ be pretty cool
Ivanych has joined #nixos
<Infinisil> And since zfs can store arbitrary user properties in the filesystem, I don't even need to implement state handling
<mbrgm> can someone tell me what's the difference between the nixos-unstable and nixos-unstable-small channels?
<Infinisil> mbrgm: -small means that the test set is small, which means that not a lot of things get tested.
<mbrgm> Infinisil: ty!
pxc has joined #nixos
<Infinisil> And I heard this has great potential to break a system, so it's not recommended
<mbrgm> yeah, I'm currently doing quite well with some cherrypicks on nixos-unstable, was just wondering.
<Infinisil> mbrgm: Here are the different channels: https://hydra.nixos.org/project/nixos
<Infinisil> trunk-combined is for nixos-unstable
<Infinisil> unstable-small for nixos-unstable-small
<Infinisil> Clicking on them, then switching to the "Jobs" tab shows you how many jobs they have, and which one succeeded/failed
rpifan has quit [(Ping timeout: 240 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
<mbrgm> ah, cool :)
dpino has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cocreature opened pull request #28097: haskell: remove any extraneous outputs from sdistTarball (master...sdistTarball-doc) https://git.io/v7Mga
NixOS_GitHub has left #nixos []
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 255 seconds)]
lambdael has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
proteusguy has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
bkchr has joined #nixos
proteusguy has joined #nixos
linarcx has joined #nixos
linarcx has quit [(Remote host closed the connection)]
linarcx has joined #nixos
linarcx has quit [(Client Quit)]
johnw has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cocreature opened pull request #28098: [WIP] haskell: fix build of ghcjs and ghcjsHEAD (master...ghcjs) https://git.io/v7M28
NixOS_GitHub has left #nixos []
pxc has joined #nixos
pxc has quit [(Ping timeout: 255 seconds)]
dbe_ has joined #nixos
proteusguy has joined #nixos
roberth has joined #nixos
dbe has quit [(Ping timeout: 240 seconds)]
<sphalerite> mbrgm: no, nixos-small is recommended for servers and such where timely security updates are important
<sphalerite> Infinisil: master is not recommended
<sphalerite> mbrgm: nixos-small's test set being smaller results in it updating faster, but you don't get as many binary packages and may end up building more from source — and those things won't be tested
ylwghst has joined #nixos
<ylwghst> Infinisil: hi
roberth has quit [(Ping timeout: 246 seconds)]
<sphalerite> If you're running a desktop you'll probably want the regular channel, to avoid having your desktop environment break on you unexpectedly when nixos-small has updated while the normal channel is blocked on some tests that discovered the very issue that's breaking yours
<sphalerite> But nixos-small is a good idea for a server which doesn't have a desktop environment and as such doesn't need it tested :)
pxc has joined #nixos
<Infinisil> sphalerite: Ahh, I must've heard wrong then
takle has joined #nixos
Ivanych has quit [(Ping timeout: 260 seconds)]
<ylwghst> Infinisil: I did nixos-install with grub2 but I wasn't able to select boot device efi menu (after holding cmd) there was no entry for grub2 even If I created boot0000 manually using efibootmgr
<ylwghst> device in efi menu*
<Infinisil> ylwghst: what does `sudo blkid /dev/<your boot disk>` give you?
<sphalerite> ylwghst: also efibootmgr -v, mount, and find /boot ?
<ylwghst> Infinisil: i just wiped it and doing nixos-install again
<ylwghst> will show whe it will be done
<Infinisil> ylwghst: What are you using to partition the disk?
takle has quit [(Ping timeout: 255 seconds)]
<ylwghst> Infinisil: gdisk
pxc has quit [(Ping timeout: 246 seconds)]
Tucky has joined #nixos
DutchWolfie has joined #nixos
jonte_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 4 new commits to master: https://git.io/v7MaF
<NixOS_GitHub> nixpkgs/master 4021d4d Matthew Pickering: Make version a parameter in GHC HEAD derivation...
<NixOS_GitHub> nixpkgs/master cf7b262 Matthew Pickering: Boot ghc HEAD with ghc-8.0.2
<NixOS_GitHub> nixpkgs/master 770743b Matthew Pickering: Bump ghc HEAD version ghc-8.3.20170808
NixOS_GitHub has left #nixos []
lambdael has quit [(Quit: WeeChat 1.7.1)]
<sphalerite> ylwghst: you don't need to redo everything every time, it would make sense to at least work out what went wrong before starting over so you don't make the same mistake again
eacameron has quit [(Remote host closed the connection)]
<ylwghst> Infinisil:
newhoggy has quit [(Ping timeout: 258 seconds)]
<Infinisil> sphalerite: He was trying for a long time yesterday with clever, and the problem didn't show itself, I think a redo is worth doing now
<ylwghst> sphalerite: looks there is new entry after install in efibootmgr
<ylwghst> gonna givit it try
ylwghst has quit [(Remote host closed the connection)]
dpino has quit [(Ping timeout: 240 seconds)]
dbmikus has joined #nixos
ylwghst has joined #nixos
<ylwghst> no boot partition in efi menu after cmd
<ylwghst> again
pxc has joined #nixos
takle has joined #nixos
<Infinisil> ylwghst: Do you have a usb stick available?
<ylwghst> Infinisil: i do
ebzzry has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
dbmikus has quit [(Ping timeout: 276 seconds)]
pxc has quit [(Ping timeout: 260 seconds)]
jonte_ has quit [(Ping timeout: 255 seconds)]
arximboldi has joined #nixos
takle has quit [(Remote host closed the connection)]
<Infinisil> ylwghst: Try installing it there instead
takle has joined #nixos
dpino has joined #nixos
tdc has quit [(Read error: Connection reset by peer)]
tdc has joined #nixos
<ylwghst> Infinisil: im usiCd
<ylwghst> Infinisil: im boot live from usb
goibhniu has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<Infinisil> ylwghst: And you don't have another stick?
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
<ylwghst> Infinisil: i have
<ylwghst> Infinisil: how I should I format it? should I use crypt luks?
<ylwghst> Infinisil: I use luks on my machine
<ylwghst> Infinisil: should I make partiton same or it is not necessary?
<ylwghst> partition table
<ylwghst> just unecrypted rootfs and boot
katyucha has joined #nixos
<Infinisil> ylwghst: Since you want to find out what's the problem, you should start with the very minimal, so no encryption, just a vfat /boot and an ext4 root
<Infinisil> Or you could do it the same actually, if it doesn't work, then the disk is the problem
pxc has joined #nixos
elasticdog has quit [(Ping timeout: 245 seconds)]
<Infinisil> I guess bisection is what I'm trying to say, do you know how that works?
MP2E has quit [(Quit: sleep)]
<ylwghst> Infinisil: I can do it without encryption but If it will work what then?
mw has joined #nixos
pxc has quit [(Ping timeout: 255 seconds)]
<Infinisil> ylwghst: Eh, start without encryption, add encryption when you know that grub works
<Infinisil> ylwghst: Well good luck, I'll go to sleep now ;P
<Infinisil> See ya!
<ylwghst> reboot
<ylwghst> cyaa
ylwghst has quit [(Remote host closed the connection)]
<Infinisil> ylwghst: #linux could also help you
<Infinisil> damnit, somebody tell him that all this boot/grub stuff fits very well into #linux when he comes back
Infinisil has quit [(Quit: Zzzz..)]
ennui has joined #nixos
<ennui> is there an idiomatic way to specify nativeBuildInputs that should only be required when doCheck == true?
<symphorien> there is checkInputs
<symphorien> mmh apparently only for buildPythonPackage
<ennui> symphorien: fortunally, i need it for a python package. thanks a lot!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28094: gist: 4.5.0 -> 4.6.1 (master...gist-update) https://git.io/v7MWC
NixOS_GitHub has left #nixos []
pietranera has joined #nixos
__Sander__ has joined #nixos
pxc has joined #nixos
pxc has quit [(Ping timeout: 246 seconds)]
aloiscochard has joined #nixos
jellowj has joined #nixos
gnuhurd has joined #nixos
reinzelmann has joined #nixos
thc202 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v7Min
<NixOS_GitHub> nixpkgs/staging b0c30f4 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
FRidh has quit [(Ping timeout: 240 seconds)]
FRidh has joined #nixos
pietranera has quit [(Quit: Leaving.)]
pxc has joined #nixos
periklis has joined #nixos
pxc has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
zraexy has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
mudri has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
elasticdog has joined #nixos
gnuhurd has joined #nixos
pxc has joined #nixos
elurin has quit [(Ping timeout: 240 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
uw_fluxus has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
phreedom has quit [(Ping timeout: 260 seconds)]
ertes-w has joined #nixos
ThatDocsLady has joined #nixos
ylwghst has joined #nixos
<ylwghst> grub.mirroredBoots.*.devices = [ "" ];
<ylwghst> wha does should be at * place?
<symphorien> look at the description of grub.mirroredBoots
<ylwghst> nothing about it at all
freusque has joined #nixos
<symphorien> here the * stands for "nth element of the list"
<avn> example of mirrored grub-efi
ylwghst has quit [(Ping timeout: 240 seconds)]
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
ylwghst has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
pxc has joined #nixos
elasticdog has quit [(Ping timeout: 260 seconds)]
dbmikus has joined #nixos
pxc has quit [(Ping timeout: 255 seconds)]
gsora has joined #nixos
dbmikus has quit [(Ping timeout: 246 seconds)]
ylwghst has quit [(Remote host closed the connection)]
dywedir has joined #nixos
eacameron has joined #nixos
elurin has joined #nixos
<__Sander__> sigh
<__Sander__> I'm now using the cache API to control NPM's cache
<__Sander__> it seems to work
<__Sander__> but difficult to make a complete implementation
<__Sander__> this, so far, is probably the worst thing I have ever done :(
eacameron has quit [(Ping timeout: 248 seconds)]
elasticdog has joined #nixos
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
pxc has joined #nixos
wigust has quit [(Remote host closed the connection)]
simukis has joined #nixos
dpino has quit [(Ping timeout: 240 seconds)]
wigust has joined #nixos
pxc has quit [(Ping timeout: 260 seconds)]
simukis has quit [(Quit: simukis)]
simukis has joined #nixos
<domenkozar> niksnut: do you think we could backport https://github.com/NixOS/nix/commit/c740c3ce500af2b7eb34651b5eeec01288d79dca to 1.11?
<domenkozar> currently if a build fails you get "unable to link .sb" error
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #28101: gnupg: 2.1.22 -> 2.1.23 (master...update_gnupg21) https://git.io/v7M9B
NixOS_GitHub has left #nixos []
romildo has joined #nixos
<domenkozar> on macOS - I haven't seen this error before multi-user kicked in
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #28102: Semi-automated Emacs package updates (master...emacs-updates) https://git.io/v7M91
NixOS_GitHub has left #nixos []
<romildo> neofetch (a fast, highly customizable system info script) is not working for me. It does not display anything on the terminal when it is run. Can anybody confirm this?
Wizek_ has joined #nixos
freusque has quit [(Ping timeout: 255 seconds)]
<niksnut> domenkozar: sure
pxc has joined #nixos
<domenkozar> niksnut: the codebases diverged a lot, I'm afraid to just stuff it in
<domenkozar> because in a later commit you make TMPDIR non-deterministic on macOS
<domenkozar> as now .sb resides in $TMPDIR
ylwghst-desktop has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #28103: ccacheWrapper: extraConfig does not handle special characters (master...patch-10) https://git.io/v7MHa
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 258 seconds)]
TMVector has joined #nixos
<ylwghst-desktop> any idea how to use setpci from systembootd?
simukis has quit [(Ping timeout: 240 seconds)]
Havvy has quit [(Ping timeout: 260 seconds)]
TMVector has quit [(Quit: Page closed)]
TMVector has joined #nixos
<avn> ylwghst-desktop: you decided switch away from grub?
<ylwghst-desktop> avn: i cant get working grub
<avn> what not works?
<ylwghst-desktop> I only discover boot partition in efi boot menu only when there is systembootd installed elsewhere not
uw_fluxus has left #nixos []
catch22_ has joined #nixos
catch22_ has quit [(Remote host closed the connection)]
catch22_ has joined #nixos
jellowj has quit [(Ping timeout: 258 seconds)]
<avn> gurb-efi need few tricks, including properly mount efi parition(s),
<ylwghst-desktop> I tried everything
pxc has joined #nixos
dywedir has quit [(Remote host closed the connection)]
dywedir has joined #nixos
ylwghst has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
joepie91_to_go_ has joined #nixos
<avn> ylwghst-desktop: gist your config?
ylwghst has quit [(Ping timeout: 260 seconds)]
ylwghst has joined #nixos
gnuhurd has quit [(Ping timeout: 240 seconds)]
tokudan has joined #nixos
gnuhurd has joined #nixos
pxc has joined #nixos
<TMVector> Hey :)
<TMVector> Has anyone tried using unionfs or something similar to bring nix stores from multiple machines together, to be served as a single binary cache?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to staging: https://git.io/v7Mdc
<NixOS_GitHub> nixpkgs/staging 206a4c9 Robin Gloster: Partly revert "python.buildEnv: only wrap executables"...
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 255 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c2ef89aac9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
JagaJaga has joined #nixos
JagaJaga has quit [(Client Quit)]
romildo has quit [(Quit: Leaving)]
ylwghst-desktop has quit [(Ping timeout: 260 seconds)]
pxc has joined #nixos
linarcx has joined #nixos
cpennington has joined #nixos
<linarcx> Hi. i want to switch to specific system-generation.with nix-env it is easy.just passing --switch-generation genNumber, you can switch to arbitary generation.but i want to always use system-profiles and nixos-rebuild.how do this job?
zetok has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
dbmikus has joined #nixos
rauno has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Remote host closed the connection)]
hellrazo1 has quit [(Quit: WeeChat 1.9)]
hellrazor has joined #nixos
dbmikus has quit [(Ping timeout: 240 seconds)]
rauno has joined #nixos
globin has quit [(Ping timeout: 240 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
globin has joined #nixos
pxc has joined #nixos
Ross has quit [(Ping timeout: 260 seconds)]
Ross has joined #nixos
freusque has joined #nixos
eacameron has joined #nixos
pxc has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
snikkers has joined #nixos
iyzsong has joined #nixos
rauno_ has joined #nixos
<rauno_> hi all
<rauno_> where does nixos keep it's interfaces config files ?
Capprentice has quit [(Ping timeout: 255 seconds)]
spear2 has joined #nixos
pxc has joined #nixos
ebzzry has joined #nixos
<sphalerite> rauno_: it's in the system config like everything else
pxc has quit [(Ping timeout: 255 seconds)]
<spear2> is there a way to show the definition of a function from the command line or in nix-repl ?
<rauno_> ah ok
<rauno_> anyone has ideas how to configure vlan1043 over eno1 interface :) ?
<rauno_> so my virtual machines would be able to get public ip from dhcp server (separate from hosts own networking)
dangreu has joined #nixos
<tilpner> spear2 - I always search for "functionName =" in nixpkgs
<tilpner> Not optimal, but always worked so far
cpennington has quit [(Remote host closed the connection)]
<tilpner> (Doesn't account for other methods of assignment, and relies on specific formatting)
linarcx has quit [(Remote host closed the connection)]
linarcx has joined #nixos
roberth has joined #nixos
linarcx has quit [(Remote host closed the connection)]
linarcx has joined #nixos
<spear2> tilpner: how about for built-in functions like `derivation` ?
linarcx has quit [(Remote host closed the connection)]
<spear2> ah, there is this at least: https://nixos.org/nix/manual/#ssec-builtins
linarcx has joined #nixos
linarcx has quit [(Remote host closed the connection)]
pxc has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
tdc_ has joined #nixos
tdc has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] konimex closed pull request #27608: neofetch: 3.0.1 -> 3.2.0 (master...neofetch) https://git.io/v7LM6
NixOS_GitHub has left #nixos []
olejorgenb has quit [(Ping timeout: 248 seconds)]
yegortimoshenko has joined #nixos
ebzzry has quit [(Ping timeout: 260 seconds)]
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] konimex opened pull request #28104: neofetch: 3.0.1 -> 3.2.0 (master...neofetch) https://git.io/v7Dvs
NixOS_GitHub has left #nixos []
<yegortimoshenko> hi, is it possible to extend NixOS config via an overlay?
dpino has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
<tilpner> yegortimoshenko - I think you want to write a module instead: https://nixos.org/nixos/manual/index.html#sec-writing-modules
joepie91_to_go_ has quit [(Changing host)]
joepie91_to_go_ has joined #nixos
rubiest has joined #nixos
<rubiest> hello
<rubiest> i have a question
<rubiest> about metasploit on nixos
<tilpner> spear2 - Builtins are scattered across the repo. For primops, look at https://github.com/NixOS/nix/blob/561e977f51c1d9ec55e4a70791958d4e214df465/src/libexpr/primops.cc
<spear2> ty
<goibhniu> hi rubiest, go for it, maybe someone can help
dbmikus has joined #nixos
dywedir has quit [(Remote host closed the connection)]
<yegortimoshenko> tilpner: sure, i already have a few modules but i use them by adding to imports. what i want instead is to add my nixos options channel via nix-channel and use modules without adding every module to imports
<rubiest> i install msf from source Github
<rubiest> but
catch22_ has quit [(Quit: Leaving)]
<rubiest> when i try rvm install ruby-x.x.x
<tilpner> yegortimoshenko - Oh, that wasn't clear from your initial question. I just put stuff into modules/*.nix, then use readDir to import them automatically. I don't know how to do that with channels though
<rubiest> display an error, cannot compiling C .....
dbmikus has quit [(Ping timeout: 248 seconds)]
<LnL> we have most versions of ruby in nixpkgs, any particular reason you want to compile it yourself with rvm?
<rubiest> hmm, ok
<rubiest> and
<rubiest> how to install package from nixpkgs
<LnL> nix-env -f '<nixpkgs>' -iA ruby_2_4_1
<rubiest> ok
<LnL> or if you just want it in a shell you can use nix-shell -p ruby_2_4_1
pxc has joined #nixos
<rubiest> how about cannot execute bash on nixos?
<rubiest> i try to run script bash
<rubiest> but
<LnL> we don't have /bin/bash, but #!/usr/bin/env bash should work
<rubiest> hmm
<rubiest> done, thx
<rubiest> make me try harder huahahah
<LnL> I recently discovered that fabric uses /bin/bash by default :(
Myrl-saki has joined #nixos
<Myrl-saki> ` nix-shell -E 'callPackage . {}'`
<Myrl-saki> Why is this a parse error?
<Myrl-saki> It says that the second argument `syntax error, unexpected '{', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):1:15`
<LnL> try with ./.
<yegortimoshenko> tilpner: i see, i too have a modules directory (in a github repo that i clone to /etc/nixos/modules). thanks for mentioning readDir. i want to use a channel so that i can use custom packages and custom options at the same time, plus i won't have to `git pull` (and use `nix-channel --upgrade` instead). i'll research this further!
<rubiest> 1 dependencies couldn't be built
<rubiest> what the error mean?
<Myrl-saki> LnL: Ughhhh sorry lmao
<LnL> Myrl-saki: this is valid: let foo = { bar = 42; }; in foo . bar
<rubiest> when i run nixos-rebuild switch
<tilpner> yegortimoshenko - FWIW, I use custom options and custom packages without a channel
<Myrl-saki> LnL: What's the reasoning why . doesn't work?
pxc has quit [(Ping timeout: 240 seconds)]
<tilpner> yegortimoshenko - Why are your modules in their own repo? That sounds weird. I have my entire NixOS config in one repo
<LnL> what I posed is the same as foo.bar, so there's no way to distinguish it from . without adding a slash in there
<Myrl-saki> LnL: Ah.
<Myrl-saki> LnL: How do I pass <nixpkgs> as an argument to shell.nix?
<Myrl-saki> LnL: I was thinking that I *might* want to have a different <nixpkgs>, so I'm not going to be using `with (import <nixpkgs> {});`
<rubiest> -bash: hash: hashing disabled
<symphorien> Myrl-saki: use { pkgs ? import <nixpkgs>, ... } as args
<LnL> Myrl-saki: if you use { pkgs ? import nixpkgs {}, nixpkgs ? <nixpkgs> }: with pkgs; you can use --argstr nixpkgs /path/to/nixpkgs
<Myrl-saki> Ah. Thanks.
rexel has joined #nixos
roberth has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
<yegortimoshenko> tilpner: hardware-configuration.nix is just a cache, and my configuration.nix contains private (Wi-Fi passwords) and/or machine-specific (hostname) stuff that i don't want to store in a repository. i do store /etc/nixos in a separate zfs file system that i autosnapshot & back up. i use modules for storing more general configuration that can be applied to multiple scenarios: hardware descriptions, custom packages, my entire user
<yegortimoshenko> environment that i might want to replicate on another machine. etc.
pietranera has joined #nixos
<tilpner> yegortimoshenko - Oh, but what about modules that provide new options? Those usually aren't personal
<tilpner> (I agree on the personal/private information, still need to figure that out)
<yegortimoshenko> tilpner: i store modules that provide new options in a public github repo (https://github.com/yegortimoshenko/modules, e.g. presets/gateway.nix)
sellout- has joined #nixos
xd1le has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to staging: https://git.io/v7DTk
<NixOS_GitHub> nixpkgs/staging f60fffe Robin Gloster: sawfish: fix wrapProgram call
<NixOS_GitHub> nixpkgs/staging c438fe5 Robin Gloster: system-config-printer: fix wrapProgram call
NixOS_GitHub has left #nixos []
snikkers has quit [(Ping timeout: 248 seconds)]
snikkers has joined #nixos
newhoggy has joined #nixos
pxc has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
arximboldi has quit [(Quit: arximboldi)]
wigust has quit [(Remote host closed the connection)]
ebzzry has joined #nixos
rubiest has quit [(Ping timeout: 240 seconds)]
eschnett has quit [(Quit: eschnett)]
pxc has quit [(Ping timeout: 258 seconds)]
rubiest has joined #nixos
<rubiest> hello
roberth has joined #nixos
<rubiest> how to fix failed depend when nixos-rebuild switch
<tokudan> rubiest, what exactly is failing?
dywedir has joined #nixos
wigust has joined #nixos
ebzzry has quit [(Ping timeout: 248 seconds)]
spear2 has left #nixos []
<rubiest> cannot build derivation for nvidia
rubiest has quit [(Quit: Leaving)]
<tokudan> then that's what needs to be fixed, or you need to change your configuration to exclude that derivation
<Unode> Hi all, is there any md5 checker that can run in parallel in nixpkgs? I read md5deep could be an option but it's not available.
reinzelmann has quit [(Quit: Leaving)]
technoslave has joined #nixos
<tokudan> shouldn't be hard to write a derivation for them, it seems to be standard ./configure; make; make install which is usually very easy to put into a derivation
<tokudan> give me a sec
newhoggy has joined #nixos
wigust has quit [(Remote host closed the connection)]
wigust has joined #nixos
eacameron has joined #nixos
pxc has joined #nixos
<tokudan> well, apparently it's not, it's missing the bootstrap
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 255 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
Rotaerk has quit [(Quit: Leaving)]
<technoslave> hi, I'd like to package https://github.com/erebe/greenclip for nixos (hopefully to upstream it, otherwise for myself). My problem is that it links against a fork of the haskell "Clipboard" library in its subfolder "lib/". As it's a fork, I don't think I should package it but I don't know how to go about it. Also cabal2nix generate a MkDerivation { pname="greenclip"; executableHaskellDepends= [..]; } whereas examples on the net sh
<technoslave> stdenv.mkDerivation {name="haskellPkgName"}. Which one is the best one ?
ylwghst has joined #nixos
ylwghst has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to staging: https://git.io/v7Dqn
<NixOS_GitHub> nixpkgs/staging c3e8d49 Robin Gloster: clerk: fix wrapProgram call
NixOS_GitHub has left #nixos []
eschnett has joined #nixos
<tokudan> Unode, https://gist.github.com/tokudan/fb42e0a977cfc07bc5e794900bf069c5 you can use that gist to build it
newhoggy has quit [(Remote host closed the connection)]
periklis has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
pie_ has quit [(Ping timeout: 276 seconds)]
dangreu has quit [(Quit: WeeChat 1.4)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jensbin opened pull request #28107: Typora: 0.9.29 -> 0.9.31 (master...typora_update) https://git.io/v7DYD
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 248 seconds)]
justan0theruser has quit [(Ping timeout: 260 seconds)]
technoslave has quit [(Ping timeout: 260 seconds)]
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
erasmas has joined #nixos
tg has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
tvon has joined #nixos
digitalmentat has joined #nixos
<Unode> tokudan: thanks!
tvon has quit [(Client Quit)]
newhoggy has quit [(Ping timeout: 240 seconds)]
Phillemann has joined #nixos
<Phillemann> I'd like to use the official nixpkgs repository (nixos-unstable channel), but with a derivation of my own added (globally, not per-user). Is that possible?
pxc has joined #nixos
<tokudan> Phillemann, if you want to add something to environment.systemPackages, then you can just add "(callPackage ./pkgs/mbuffer/default.nix {})" in there to include another derivation
<Phillemann> Ahh, that's not a bad solution, thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to staging: https://git.io/v7DsH
<NixOS_GitHub> nixpkgs/staging b44bed5 Franz Pletz: curl: 7.54.1 -> 7.55.0...
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #28073: curl: 7.54.1 -> 7.55.0 (master...curl_7_55_0) https://git.io/v7X9P
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 255 seconds)]
<disasm> gchristensen: so these nix pills, are we copying them as-is for a first phase and then going through and updating them to match the current state of things (for example pp-aterm no longer existing) in a later phase?
newhoggy has joined #nixos
rpifan has joined #nixos
<grahamc> Probably a good idea.
<grahamc> I had to take sudden vacation and am away from NixOS until tomorrow at the soonest. We'll talk and work on it then.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.03: https://git.io/v7DZZ
<NixOS_GitHub> nixpkgs/release-17.03 771e06e Tim Steinbach: curl: 7.53.1 -> 7.54.0...
<NixOS_GitHub> nixpkgs/release-17.03 713d4b7 Tim Steinbach: curl: 7.54.0 -> 7.54.1...
<NixOS_GitHub> nixpkgs/release-17.03 a9c4ad1 Franz Pletz: curl: 7.54.1 -> 7.55.0...
NixOS_GitHub has left #nixos []
<rexel> hi, does anyone know how to fix errors like : gbm: failed to open any driver (search paths /run/opengl-driver/lib/dri) gbm: Last dlopen error: /run/opengl-driver/lib/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory
<rexel> this is when I try to run wayland compositors
newhoggy has quit [(Ping timeout: 255 seconds)]
simukis has joined #nixos
<avn> rexel: does you turn on global dri support?
newhoggy has joined #nixos
tg has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28104: neofetch: 3.0.1 -> 3.2.0 (master...neofetch) https://git.io/v7Dvs
NixOS_GitHub has left #nixos []
gnuhurd has quit [(Ping timeout: 260 seconds)]
pxc has joined #nixos
gnuhurd has joined #nixos
pie_ has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<globin> niksnut: hydra autoscaling doesn't seem to be working
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/v7DnK
<NixOS_GitHub> nixpkgs/master e204bef Peter Simons: libsoup: update to version 2.59.90.1 to fix CVE-2017-2885
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 246 seconds)]
ylwghst has joined #nixos
<rexel> avn: do you mean hardware.opengl.driSupport? if so then yes
pxc has joined #nixos
ison111 has joined #nixos
newhoggy has joined #nixos
dbmikus has joined #nixos
pxc has quit [(Ping timeout: 246 seconds)]
Sonarpulse has joined #nixos
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
newhoggy has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
mjhoy has joined #nixos
Tucky has quit [(Ping timeout: 255 seconds)]
<avn> rexel: does that paths (/run/opengl-driver/lib/dri) have stuff inside?
<Sonarpulse> I saw there are 3 chromium PRs
<Sonarpulse> one failed so you reverted, OK to merge that?
newhoggy has quit [(Ping timeout: 276 seconds)]
<rexel> avn: there is no opengl-driver folder
<disasm> grahamc: cool, I've gone through the pills twice now, I think I'm finally starting to understand how things work under the hood a little better :)
<avn> curious
<avn> rexel: and it not appear, after rebuild/switch?
freusque has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> globin: you there?
<rexel> avn: no, it is still missing. should it automatically be installed with "sway" in the packages section?
<rexel> or "weston"
mjhoy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
<rexel> it works when I reenable xserver
newhoggy has quit [(Ping timeout: 276 seconds)]
Phillemann has left #nixos ["WeeChat 1.9"]
newhoggy has joined #nixos
yegortimoshenko has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
rpifan has quit [(Ping timeout: 248 seconds)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #28108: babelstone-han: 9.0.2 -> 10.0.0 (master...babelstone-han-10.0.0) https://git.io/v7D4A
NixOS_GitHub has left #nixos []
<Unode> Hi all, Using nix on a non-nixos system. All software using SSL (https) is failing on certificate errors. Is there any way to configure binaries to use nix's own ca-certificate instead of the system's /etc/ssl/certs ?
<Ankhers> gchristensen: Have you had a chance to get started on the pills?
newhoggy has quit [(Ping timeout: 255 seconds)]
<grahamc> No sudden personal leave.
digitalmentat has quit [(Quit: Leaving)]
snikkers has quit [(Ping timeout: 248 seconds)]
<Ankhers> I am sorry to hear that. I hope you are okay.
<joepie91_to_go_> nixos-install is non-destructive, right? in the sense that if I run it on an existing NixOS partition, it won't wipe out /home or other stateful data
<joepie91_to_go_> (trying to repair my bootloader)
mudri has quit [(Ping timeout: 255 seconds)]
<joepie91_to_go_> (UEFI update gone awry)
<disasm> joepie91_to_go_: correct, I've done that a few times when I was getting started :)
<joepie91_to_go_> nixos-install --no-root-passwd --no-channel-copy
<joepie91_to_go_> does that look like the right approach then? :)
<joepie91_to_go_> given my objective of fixing the bootloader
ylwghst_ has joined #nixos
<joepie91_to_go_> also, hm, don't I need to mount the efi partition as well?
newhoggy has joined #nixos
<clever> joepie91_to_go_: you must have a /boot mounted to /mnt/boot/ when doing nixos-install with efi
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix closed pull request #28107: Typora: 0.9.29 -> 0.9.31 (master...typora_update) https://git.io/v7DYD
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 260 seconds)]
et4te has quit [(Ping timeout: 255 seconds)]
ylwghst has quit [(Ping timeout: 246 seconds)]
ylwghst_ has quit [(Ping timeout: 255 seconds)]
jensens has joined #nixos
Ivanych has joined #nixos
newhoggy has joined #nixos
ylwghst has joined #nixos
ylwghst_ has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #28109: mbpfan: 1.9.1 -> 2.0.1 (master...bump/mbpfan-2.0.1) https://git.io/v7Duk
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
et4te has joined #nixos
xd1le has quit [(Quit: Using Circe, the loveliest of all IRC clients)]
newhoggy has quit [(Ping timeout: 260 seconds)]
sellout- has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] neilmayhew closed pull request #28046: chromium: 59.0.3071.115 -> 60.0.3112.90 (stable) (master...update/chromium) https://git.io/v7PYl
NixOS_GitHub has left #nixos []
cpennington has quit [(Ping timeout: 260 seconds)]
evangeline has quit [(Ping timeout: 260 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
ThatDocsLady has quit [(Ping timeout: 255 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
<Myrl-saki> How to nix-copy-closure all packages?
newhoggy has joined #nixos
jensens has joined #nixos
evangeline has joined #nixos
<LnL> depends on what you mean by _all_ packages
<Myrl-saki> LnL: All packages I'm currently using.
<Myrl-saki> I decided to do an ls then nix-copy-closure everything in /nix/store.
<Myrl-saki> s/ls/nix-collect-garbage/
jensens has quit [(Ping timeout: 248 seconds)]
newhoggy has quit [(Ping timeout: 260 seconds)]
Ivanych has quit [(Ping timeout: 276 seconds)]
cpennington has joined #nixos
newhoggy has joined #nixos
drakonis has joined #nixos
__Sander__ has quit [(Quit: Konversation terminated!)]
newhoggy has quit [(Ping timeout: 260 seconds)]
ambro718 has joined #nixos
goibhniu1 has quit [(Ping timeout: 240 seconds)]
bkchr has quit [(Ping timeout: 260 seconds)]
willprice has joined #nixos
newhoggy has joined #nixos
<joepie91_to_go_> I got my bootloader back :)
newhoggy has quit [(Ping timeout: 240 seconds)]
ambro718 has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
_rht has joined #nixos
_ts_ has quit [(Ping timeout: 255 seconds)]
pietranera has quit [(Quit: Leaving.)]
<copumpkin> anyone know about node2nix and nodejs 8?
<joepie91_to_go_> copumpkin: best just ask, I might know, I might not :P
<copumpkin> it just isn't supported
<copumpkin> was wondering if anyone was working on that
<joepie91_to_go_> copumpkin: what do you mean with 'supported', exactly?
<domenkozar> copumpkin: afaik sander is
<domenkozar> complaining on daily basis
<copumpkin> domenkozar: complaining?
<joepie91_to_go_> copumpkin: right, that's about NPM 5 support, not Node 8 support
<joepie91_to_go_> NPM and Node are separate things
<copumpkin> I dunno, everyone seems to describe it in terms of supporting 8 :)
<joepie91_to_go_> and there's no reason why you couldn't use a standard node2nix build with a Node 8 package, it's just that node2nix presumably won't support package lockfiles yet
<copumpkin> I don't know it well enough
<joepie91_to_go_> yeah, but that's because a lot of people don't understand the distinction between Node and NPM :)
<joepie91_to_go_> Node itself has had the exact same module system since... 0.8?
<joepie91_to_go_> even the deduplication change was just an NPM thing really
<joepie91_to_go_> (one exception: symlink behaviour varies between versions)
<copumpkin> you sound like the perfect person to make this work!! :D
ylwghst_ has quit [(Quit: Lost terminal)]
ylwghst has quit [(Quit: Lost terminal)]
<joepie91_to_go_> copumpkin: right now I have a desktop that crashes every half hour or so
<joepie91_to_go_> lol
<copumpkin> pfft
<copumpkin> shouldn't take you more than half an hour
<adisbladis> joepie91_to_go_: Npm has had some pretty big changes lately iirc
<joepie91_to_go_> copumpkin: anyhow, basically, if you specify the right node package (node 8), then it'll work fine from a package.json or shrinkwrap(?)
<joepie91_to_go_> out of the box
<joepie91_to_go_> but if you want lockfile support, node2nix needs to be modified
<joepie91_to_go_> adisbladis: yes, NPM, not Node
<joepie91_to_go_> adisbladis: NPM just drops files in a place where Node expects them
<copumpkin> yeah I think the issue is the lockfiles
<joepie91_to_go_> Node doesn't at any point interact directly with NPM nor is it dependent on how NPM manages packages
newhoggy has joined #nixos
<joepie91_to_go_> you could completely remove NPM from a system and Node would still work fine, you just lose the NPM commands :P
<adisbladis> joepie91_to_go_: I actually install node without npm in production and let the build system worry about packaging the deps
<joepie91_to_go_> right
<joepie91_to_go_> this is not uncommon in eg. embedded setups
<copumpkin> a nix webpack builder?
<joepie91_to_go_> nix webpack builder...?
* joepie91_to_go_ skeptical glance
<anelson-> how do I get flash player working with chromium and/or firefox?
<copumpkin> joepie91_to_go_: a nix function/builder that takes a set of packages and spits out a webpack'd bundle?
<clever> anelson-: why do you need flash working?
Ivanych has joined #nixos
<joepie91_to_go_> anelson-: https://git.cryto.net/joepie91/nixrc/src/master/profiles/environment/common-software.nix#L134-L146 -- however, it breaks with some regularity when Adobe nukes downloads and such
tg has quit [(Quit: Leaving)]
<anelson-> clever: because I want to watch hbonow :) if it makes a difference
digitus has joined #nixos
* joepie91_to_go_ casts an angry glare at Adobe
<joepie91_to_go_> copumpkin: that seems out of scope
<copumpkin> what's frustrating is that they have an iOS HBO app
<copumpkin> so they clearly don't need flash
<copumpkin> joepie91_to_go_: out of what scope?
<joepie91_to_go_> copumpkin: Webpack is specifically for building bundles for execution in non-CommonJS environments like browsers; it's more like a compiler than a package manager
<clever> anelson-: and your sure it needs flash?, the last person that i helped wanted it for netflix (which doesnt use flash)
<joepie91_to_go_> (in fact, Webpack doesn't do any package management whatsoever)
newhoggy has quit [(Ping timeout: 240 seconds)]
<copumpkin> joepie91_to_go_: yeah, you could say the same thing about all the disk image building machinery in nixpkgs
<anelson-> clever: yes, it's telling me it requires flash
<joepie91_to_go_> copumpkin: doesn't that mostly shell out to external tools anyway?
<copumpkin> all of nixpkgs? yeah
<copumpkin> :)
<joepie91_to_go_> anelson-: have you tried making your browser pretend you're an iPad?
<joepie91_to_go_> this works more often than it really should :)
<clever> anelson-: chromium.enablePepperFlash = true; inside the nixpkgs config is one option
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/v7DwH
<NixOS_GitHub> nix/master b6ee5e5 Eelco Dolstra: Style fix
<NixOS_GitHub> nix/master f76e85d Eelco Dolstra: Start of 1.12 release notes
NixOS_GitHub has left #nixos []
<anelson-> can it be built from nixpkgs? I'd rather not drop it in my nixos config
<anelson-> joepie91_to_go_: how does one do that
<clever> anelson-: depends on if your installing chromium in systemPackages or nix-env
<joepie91_to_go_> anelson-: install a user agent switching extension for your browser of choice
<joepie91_to_go_> it usually has an ipad preset
<LnL> Myrl-saki: sorry for the delay, I mean nix-env or the nixos systemPackages
<copumpkin> niksnut: TIL about nix-build --hash, which I've wanted before :)
<copumpkin> niksnut: but I wanted it inside the nix language... :O
<copumpkin> niksnut: I actually have a somewhat legit use case for that, too :)
endformationage has joined #nixos
zeus_ has joined #nixos
<anelson-> joepie91_to_go_: now it's asking me to download the ipad app :P
<joepie91_to_go_> hah
<joepie91_to_go_> well, it was worth a try :)
<joepie91_to_go_> copumpkin: 'somewhat legit' :)
<copumpkin> :D
<anelson-> joepie91_to_go_: yeah that's a good trick to know :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abnerlee opened pull request #28110: correct the sha265 of typora after package update (master...patch-2) https://git.io/v7Dra
NixOS_GitHub has left #nixos []
<copumpkin> joepie91_to_go_: it's for testing new/changed stdenv bootstrap tools
<copumpkin> which is currently a pretty miserable process
<Myrl-saki> LnL: Latter.
<joepie91_to_go_> ah, right :P
metaphysician has joined #nixos
Ivanych has quit [(Ping timeout: 258 seconds)]
<LnL> Myrl-saki: something like this probably works nix-copy-closure --to foo /run/current-system/sw
<Myrl-saki> LnL: Oh cool.
newhoggy has joined #nixos
<Myrl-saki> LnL: Is there a way to bypass the lacking signature?
<clever> Myrl-saki: --to root@foo
<clever> root doesnt check signatures
<Myrl-saki> Oh right.
<LnL> yeah, you'd need to use root
<clever> and if root ssh is blocked, sudo nix-copy-closure --from bar
<clever> move in the same direction, but initiate at the other end, still as root on the receiver
hellrazor has quit [(Quit: WeeChat 1.9)]
newhoggy has quit [(Ping timeout: 248 seconds)]
<anelson-> hmmmm I build chromium with pepper flash enabled, and I can see it in the references to the built object, but I still got "plugin not supported" :(
<nixos-users-wiki> "Installation guide" edited by Mic92 https://git.io/v7DKm
cpennington has quit [(Ping timeout: 255 seconds)]
<clever> anelson-: did you fully quit chromium then re-launch it?
<anelson-> hmm, I didn't quit my existing instances
<anelson-> I'll try that
<Myrl-saki> On second thought, I should have nix-copy-closure'd before nuking my nixpkgs.
<clever> when you run the new chromium, it contacts the old one and spawns a new window
<clever> anelson-: also look in chrome://components/
newhoggy has joined #nixos
mudri has quit [(Ping timeout: 246 seconds)]
<anelson-> clever: it doesn't appear in that list. when I restarted fully hbo stopped complaining about no flash plugin, but it's just spinning/loading forever now
<anelson-> eh this is probably more trouble than it's worth
<clever> ive found that any attempts at drm just drive piracy up
<clever> i cant even help you diagnose the problem, because they say "no dirty canadians allowed" :P
<anelson-> hahaha
<anelson-> yeah I can watch on my mac so that's probably enough
<anelson-> kind of lame but I don't have the patience to debug this
newhoggy has quit [(Ping timeout: 240 seconds)]
<joepie91_to_go_> anelson-: you need to enable Flash from the icon right next to the address bar
<joepie91_to_go_> Chromium default-disables Flash nowadays in many (most/all?) cases
<joepie91_to_go_> even if installed
<joepie91_to_go_> actually, technically it's the icon *in* the address bar
<joepie91_to_go_> :p
<joepie91_to_go_> the lock/page icon
ertes-w has quit [(Read error: Connection reset by peer)]
<joepie91_to_go_> it's probably set to Ask (default), and because a lot of sites use semi-hidden Flash elements, you won't see the prompt
Wizek__ has joined #nixos
ertes-w has joined #nixos
newhoggy has joined #nixos
cpennington has joined #nixos
Wizek_ has quit [(Ping timeout: 255 seconds)]
nmayhew has joined #nixos
Wizek_ has joined #nixos
dpino has quit [(Ping timeout: 240 seconds)]
Wizek__ has quit [(Ping timeout: 276 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<nmayhew> I wan't to set services.locate.prunePaths in my nixos configuration, but don't want to have to repeat the default list of paths. Is there any way to reference the default value so I can append to it?
<nmayhew> I've tried options.services.locate.prunePaths.default but options isn't in scope.
<nmayhew> I've also tried pkgs.nixos.options.services.locate.prunePaths.default but that doesn't seem to work either.
rexel has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
pxc has quit [(Read error: Connection reset by peer)]
<clever> nmayhew: config.services.locale....
pxc has joined #nixos
<nmayhew> clever: nix-repl> config.services.locate.prunePaths
<nmayhew> error: infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/attrsets.nix:199:44
<nmayhew> I have:
<nmayhew> prunePaths = config.services.locate.prunePaths ++ [ "/media" ];
<nmayhew> As I understand it, config is the merged set of all configuration values, hence the recursion
simukis has quit [(Quit: simukis)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v7DPi
<NixOS_GitHub> nixpkgs/master 9f73f22 Frederik Rietdijk: Merge commit 'b1f5305abd7b1b3d7ed180d9d00301da6e323e41' into HEAD
NixOS_GitHub has left #nixos []
simukis has joined #nixos
<clever> nmayhew: ah yeah, thats because of how nixos options work
newhoggy has joined #nixos
<clever> nmayhew: it wants to merge all modules together, so you cant refer to your own value
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v7DPp
<NixOS_GitHub> nixpkgs/master 700f761 Robin Gloster: Partly revert "python.buildEnv: only wrap executables"...
NixOS_GitHub has left #nixos []
amosbird has quit [(Read error: Connection timed out)]
drakonis has quit [(Read error: Connection reset by peer)]
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #28074: atom: 1.18.0 -> 1.19.0 (master...atom_1_19_0) https://git.io/v7XHg
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 255 seconds)]
alx741 has joined #nixos
tdc_ has quit [(Read error: Connection reset by peer)]
amosbird has joined #nixos
tdc_ has joined #nixos
tvon has joined #nixos
aloiscochard has quit [(Quit: Connection closed for inactivity)]
<sauyon> greetings
<sauyon> how would I create a module that is automatically built into a container on my machine from local sources
<sauyon> for dev
<sauyon> or, perhaps, write a container configuration in such a way that on build it would build stuff from a local directory
<clever> sauyon: add the module to the imports list for the container config
<sauyon> but I would have to run rebuild with my version of nixpkgs, presumably
newhoggy has joined #nixos
Arcaelyx has joined #nixos
<nmayhew> clever: The following works:
<nmayhew> prunePaths = [ "/media" ] ++ options.services.locate.prunePaths.default;
<nmayhew> And add options to the list of args at the top of the config
ylwghst has joined #nixos
<nmayhew> ie { config, pkgs, options, ... }:
<clever> nmayhew: ahhh yeah, forgot about that route
<nmayhew> clever: All's well than ends well :-)
<nmayhew> s/than/that/
<ylwghst> hi all
ixxie has joined #nixos
mudri has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<ylwghst> clever: I dont know why but I am still not able to get grub2 working with nixos
<ylwghst> I did everything
newhoggy has joined #nixos
<sauyon> wait I confused myself >>
<clever> ylwghst: what is the current output of efibootmgr -v?
<ylwghst> set custom efibootmgr entries, did clean install only with grub2 configured, sucesffuly installed, efibootmgr entry automatically created
<ylwghst> but when there was only grub2_efi
<clever> that sounds normal
<ylwghst> I wasnt able to select partiton in efi menu to start grub2
<ylwghst> but when I install systembootd again over it its there
<ylwghst> clever: I acutally do have only efibootmgr
<ylwghst> only systembootd
newhoggy has quit [(Ping timeout: 255 seconds)]
<ylwghst> when there is grub2_efi it completely does ignore it
<ylwghst> grub2 installed using other distros like centos works w/o problem
newhoggy has joined #nixos
Capprentice has joined #nixos
<ylwghst> so I forgout about grub2 and decided to try if there is way to execute setpci -s somwhere in stage2 boot
rpifan has joined #nixos
zeus_ has quit [(Ping timeout: 258 seconds)]
<ylwghst> unsuccesfully
newhoggy has quit [(Ping timeout: 240 seconds)]
swoorup has joined #nixos
<swoorup> hello
<swoorup> how do i install the vulkan sdk
zeus_ has joined #nixos
newhoggy has joined #nixos
bennofs has joined #nixos
goibhniu has joined #nixos
tvon_ has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<sauyon> is there a quick way to rebuild a container
tvon has quit [(Ping timeout: 260 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a9c4ad1f49 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
zraexy has joined #nixos
<clever> sauyon: declarative or imperative container?
<sauyon> imperative
<clever> nixos-rebuild switch inside the container
<sauyon> oh well that was easier than I thought ...
<sauyon> thanks
shapr has joined #nixos
<shapr> wow, this is a bunc of people
newhoggy has joined #nixos
<shapr> greetings to the NixOS community! Is there a recommended tutorial or introduction?
Mateon3 has joined #nixos
<shapr> clever: thanks!
Mateon2 has quit [(Ping timeout: 260 seconds)]
<cocreature> I think shapr is stalking me
<shapr> I'm planning to get a NixOS system up and running this weekend, since so many people have told me it's wonderful and amazing.
<shapr> cocreature: don't I know you? ;-)
<shapr> fancy meeting you here!
* shapr pretends to stalk
<cocreature> just after I come here from #haskell, he comes here too :P
<taktoa> shapr: I also recommend the Nix manual (https://nixos.org/nix/manual), the NixOS manual (https://nixos.org/nixos/manual), and the Nixpkgs manual (https://nixos.org/nixpkgs/manual), roughly in that order
<cocreature> coincence? I think not!
<cocreature> *coincidence
<shapr> cocreature: it's just incidence, I'm not coshapr :-P
joepie91 has joined #nixos
joepie91 has quit [(Changing host)]
joepie91 has joined #nixos
Mateon3 is now known as Mateon2
digitus has quit [(Quit: digitus)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<shapr> taktoa: at first glance, those look more like "how" instead of "why". Is the big picture more likely found in the PhD thesis?
digitus has joined #nixos
<shapr> joepie91: that looks good, thanks
<taktoa> shapr: yes, I highly recommend his thesis
ixxie has quit [(Ping timeout: 248 seconds)]
ixxie has joined #nixos
* taktoa just noticed that you retweeted my tweet about eelco's thesis
<shapr> taktoa: ok who's stalking who now? ;-)
<shapr> cocreature: sounds like I'm actually stalking taktoa!
<cocreature> can we make a circle where everybody is stalking each other transitively?
<shapr> works for me!
<clever> shapr: what software where you porting to the C64's?
<shapr> clever: ah that was a joke :-)
<clever> ah, lol
<shapr> I actually bought the C64 so I could go back to the first time I created music on a computer.
<shapr> taktoa: yes, your tweet finally pushed me over the edge.. I got about ten pages into the thesis and wondered why I've waited so long to jump into NixOS
joepie91_to_go_ has quit [(Ping timeout: 260 seconds)]
<shapr> acowley_away has tried to drag me in a bunch of times
<taktoa> shapr: yeah, it's pretty inspirational stuff
<clever> shapr: i still have the old white c64 i had when i was a kid
<shapr> I've also heard that steam on linux doesn't work in NixOS
<taktoa> shapr: nah, it works surprisingly well
<shapr> clever: I've never seen the white c64
<clever> shapr: i have gotten steam to run before, but my GPU drivers dont play well on the desktop
<shapr> that's another good question, nvidia binary drivers in NixOS?
<shapr> How does NixOS relate to distro? I'm still confused on that part
newhoggy has joined #nixos
<clever> shapr: nixos is basically an entire linux distro, written as a single massive nix package
<clever> shapr: the nixos-rebuild command will compile the entire system, based on the current nixos configuration.nix file
<taktoa> shapr: well, to be more precise, it's a giant lambda that takes a configuration and turns it into a nix package
<shapr> ok, so Nix can be an "application" in a linux distro, but NixOS is effectively a distro, right?
<taktoa> yes
<shapr> ok, cool!
<shapr> I speak Haskell, yay lambdas!
<taktoa> yeah, Nix was originally implemented in Haskell (now C++ for bootstrapping reasons) and is also lazy and pure
<shapr> whoa cool
<shapr> Is this the primary forum for nix questions? Is there also a stackexchange site or other forums?
<taktoa> yeah, Nix was originally implemented in Haskell (now C++ for bootstrapping reasons) and is also lazy and pure
<taktoa> oops
<shapr> Is nixos support limited by arch?
<taktoa> this is the best place I know of
<shapr> that is, will it run on my arm systems as well as my x86 systems?
ison111 has joined #nixos
<taktoa> yes, though with some caveats
tdc_ has quit [(Quit: Leaving)]
<taktoa> nix is also the best solution by far for cross-compilation I've ever seen
<clever> i have ran nixos on an armv6 raspberry pi before
<shapr> ok, that's enough to get me started
<shapr> I'm sure I'll spend a bunch of hours here this weekend
newhoggy has quit [(Ping timeout: 240 seconds)]
<taktoa> shapr: I actually got clever into nix, and probably about 4 months into using it he created an SD card that could boot into NixOS when inserted into a raspberry pi, that would ALSO work/boot when inserted into an x86 box
<shapr> wow, how'd you do that?!
<shapr> tell me there's a blog post?
<clever> shapr: basically, the hashes in /nix/store/<hash>-foo include the arch they are built for
<clever> shapr: so arm and x86 binaries of things can co-exist within /nix/store
swoorup has quit [(Ping timeout: 240 seconds)]
swoorup has joined #nixos
<shapr> oh wow
<clever> shapr: and when nixos is booting, everything starts at a root point, like /nix/store/<hash>-nixos-<hostname>-<version>
<clever> but that root point is different for arm and x86 (and also different for every build with new config)
<clever> and because the raspberry pi and x86 use different bootloaders
<clever> they have different bootloader config, pointing to different builds of nixos, and different kernels
<clever> so they always refer to different files, and the names never conflict, so you can just merge them
newhoggy has joined #nixos
<clever> the more complex part, is making sure the raspberry pi doesnt delete the x86 stuff, because nothing says its currently needed
<shapr> huh, neat
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
<bennofs> clever: does it also automatically cross-compile when you change config on x86 and nixos-rebuild, so systems stay synced? :D
<taktoa> shapr: oh, also you may be interested in https://nixcloud.io/tour
<shapr> oh, I do like that!
<clever> bennofs: no cross-compiles where involved, each system had to do a native build with nixos-rebuild
<clever> bennofs: but my configuration.nix was littered with mkIf statements, and it was able to share the same configuration.nix between both arches
elurin has quit [(Ping timeout: 258 seconds)]
Ivanych has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
ylwghst has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v7DQp
<NixOS_GitHub> nixpkgs/master 668007f taku0: flashplayer: 26.0.0.137 -> 26.0.0.151
<NixOS_GitHub> nixpkgs/master 1d6ec29 Tim Steinbach: Merge pull request #28051 from taku0/flashplayer-26.0.0.151...
NixOS_GitHub has left #nixos []
<clever> dual.x86.nix: imports = [ ./dual.common.nix ./snmpd.nix ];
<clever> bennofs: looks like i later redid it to make it simpler
<disasm> I'd never seen that tour... checking it out now.
_rht has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/v7D7O
<NixOS_GitHub> nixpkgs/release-17.03 cc0e511 taku0: flashplayer: 26.0.0.137 -> 26.0.0.151...
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v7D7S
<NixOS_GitHub> nixpkgs/master 8d70d40 AbnerLee: correct the sha265 of typora after package update...
<NixOS_GitHub> nixpkgs/master 3971bd8 Tim Steinbach: Merge pull request #28110 from abnerlee/patch-2...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #28071: idea-ultimate: 2017.1.5 -> 2017.2.1 (master...idea-ultimate-2017.1.2) https://git.io/v7XXS
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #28078: docker-machine: 0.12.0 -> 0.12.2 (master...update_docker_machine) https://git.io/v71YN
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 240 seconds)]
Lisanna has joined #nixos
<Lisanna> Ugh, this is such a simple question but for the life of me I can't figure it out... if I run nix-shell -p <package>, how do I get the actual paths to where that package was installed? Like if I had done ${package} in a Nix expression
<clever> Lisanna: nix-build '<nixpkgs>' -A foo -o foo
Mateon2 has quit [(Remote host closed the connection)]
<Lisanna> nix-build?
<clever> yes
<ylwghst> clever: what does -o?
aristid2_ has quit [(Quit: Connection closed for inactivity)]
newhoggy has joined #nixos
<clever> ylwghst: that tells it to create a symlink called foo, pointing to the result
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/v7Dds
<NixOS_GitHub> nixpkgs/master 0f5cbe4 Franz Pletz: subversion18: 1.8.17 -> 1.8.18 for CVE-2017-9800...
<NixOS_GitHub> nixpkgs/master abd837f Franz Pletz: subversion19: 1.9.5 -> 1.9.6 for CVE-2017-9800...
NixOS_GitHub has left #nixos []
flyingleafe has joined #nixos
<flyingleafe> hey there, I have a problem with `stack runghc` and `nix-shell`.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/v7Ddy
<NixOS_GitHub> nixpkgs/staging 3be89a6 Vladimír Čunát: libsoup: security 2.56.0 -> 2.56.1...
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 260 seconds)]
<ylwghst> clever: whe is this useful?
<ylwghst> when*
<taktoa> ylwghst: it just makes the symlink named "foo" instead of the default name "result"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-17.03: https://git.io/v7Ddh
<NixOS_GitHub> nixpkgs/release-17.03 d5de850 Franz Pletz: subversion18: 1.8.17 -> 1.8.18 for CVE-2017-9800...
<NixOS_GitHub> nixpkgs/release-17.03 6cd9a84 Franz Pletz: subversion19: 1.9.5 -> 1.9.6 for CVE-2017-9800...
NixOS_GitHub has left #nixos []
yegortimoshenko has joined #nixos
<yegortimoshenko> hi! how do i copy a file to a nix-store? i could have used nix-prefetch-url, but now that i have the file in question sitting on my hard drive, i don't want to redownload Mathematica all over again (it's 4GB)... thanks!
<yegortimoshenko> (btw, nix-prefetch-url doesn't seem to support file:// urls)
<clever> yegortimoshenko: nix-store --add-fixed sha256
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/v7DFm
<NixOS_GitHub> nixpkgs/release-17.03 029341b Vladimír Čunát: libsoup: security 2.56.0 -> 2.56.1...
NixOS_GitHub has left #nixos []
<yegortimoshenko> clever: thanks!
newhoggy has joined #nixos
wigust has quit [(Ping timeout: 240 seconds)]
<flyingleafe> The problem is the following. I have some Haskell script `Script.hs`, and it's run by `stack` using `#!/usr/bin/env stack` and full stack command as a comment below in the beginning of a file. Also there's `shell.nix` file, which provides necessary dependencies and env variables. But unfortunately when I run this script inside of `nix-shell` launched with env described in `shell.nix`, `stack` process doesn't
<flyingleafe> see build dependencies and fails because it cannot find necessary libs.
<clever> flyingleafe: have you looked at the documentation for stack --nix?
<flyingleafe> I tried to circumvent this problem by _not_ using `nix-shell` and providing `--nix-packages <packages>` right in launch command, this way it succeeds to be built, but LANG variable which I need isn't set up, which prevents script from working
<flyingleafe> Using `--nix-shell-file <file>` doesn't work with relative path to file (error: Cannot determine project root) and gives the same result as variant with `--nix-packages` if provided absolute path to `shell.nix`
<flyingleafe> My `~/.stack/config.yaml` has `nix: enable: true` by default
<clever> dont know then
newhoggy has quit [(Ping timeout: 260 seconds)]
<flyingleafe> and friend of mine who have same versions of stack and nixos reports that everything works for him =\
Myrl-saki has quit [(Ping timeout: 276 seconds)]
berce has quit [(Quit: leaving)]
<cocreature> any ideas about this issue https://github.com/NixOS/nixpkgs/issues/28112? I can’t even figure out why it links against qt5sensors
<flyingleafe> clever: maybe you can advice how can I clean pre-build dependencies for `stack runghc`? I suspect that they has been built without properly set up LANG (when I used `--nix-packages`), and that breaks everything
yegortimoshenko has quit [(Ping timeout: 260 seconds)]
<clever> flyingleafe: it might be simpler to just run cabal2nix and nix-build, and skip the stack layer
newhoggy has joined #nixos
<flyingleafe> clever: thanks, I'll give it a try
<clever> flyingleafe: which project are you trying to build with stack?, i could have a look at its files and see if its doing anything strange
<mbrock> shapr: hey, welcome (:
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28040: firefox: 54.0.1 -> 55.0 (master...firefox-bin-55.0) https://git.io/v7iWB
NixOS_GitHub has left #nixos []
<flyingleafe> clever: I'm not trying to _build_, actually, I just try to run `stack runghc`. Anyway, here it is: https://github.com/serokell/yt-utilities (you need file `Export.hs`)
yegortimoshenko has joined #nixos
<clever> flyingleafe: ahh, that looks like a variant of runhaskell
<clever> flyingleafe: let me see...
newhoggy has quit [(Ping timeout: 255 seconds)]
ylwghst has quit [(Ping timeout: 240 seconds)]
<clever> flyingleafe: ah, no cabal file, i see why the normal tools dont work right
<flyingleafe> clever: yeah, all dependencies are specified as `--package` args in stack comment in the beginning of `Export.hs`
<flyingleafe> I'd like to make it a common stack project (with stack.yaml and .cabal), but this tool is already used by others in this particular fashion
<clever> flyingleafe: testing a fix here...
newhoggy has joined #nixos
Nyctelos is now known as Nycatelos
silver_hook has quit [(Ping timeout: 276 seconds)]
newhoggy has quit [(Ping timeout: 255 seconds)]
<flyingleafe> clever: thank you very much! will give it a try!
newhoggy has joined #nixos
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28054: ffmpeg-full: enable opencore-amr (master...ffmpeg-opencore) https://git.io/v7Xe7
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 240 seconds)]
ertes-w has quit [(Ping timeout: 240 seconds)]
<copumpkin> niksnut: a while ago you told me about some NixOS option for making sure random stuff is in the store without referencing it anywhere else
<copumpkin> I can't for the life of me remember what it's called
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #28115: Graylog 2.3.0 Update (master...graylog_2.3.0) https://git.io/v7DAY
NixOS_GitHub has left #nixos []
_rvl has joined #nixos
<copumpkin> or does anyone else know what I'm talking about? clever?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9dafe594be (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> copumpkin: strict mode i think, let me find it
nix-gsc-io`bot has quit [(Client Quit)]
newhoggy has joined #nixos
<clever> copumpkin: restrict-eval
<copumpkin> hmm
<copumpkin> no I mean
<copumpkin> a nixos module option that lets me list paths I want to be in the store
<copumpkin> even though I'm not using them anywhere else
<clever> ah
<clever> for a full nixos install or for installer images?
<copumpkin> I guess I could cheat and do something like environment.etc.dummy.source = "${path1}${path2}"
<copumpkin> for images
<clever> images have a special option for that, one second
<copumpkin> I remember proposing it for the image builder but then he told me there was already an option
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
<copumpkin> yeah except this isn't in isoImage
<copumpkin> I was basically proposing doing the same thing for make-disk-image.nix
<clever> copumpkin: storeContents is directly passed to make-squashfs
<clever> ah
<copumpkin> but he told me there was already an option in the standard NixOS modules
<clever> only one i can think of right now is isoImage.storeContents
newhoggy has quit [(Ping timeout: 255 seconds)]
<clever> after that, its just throwing paths in random places like etc so they get hauled along for the ride
colabeer has joined #nixos
<copumpkin> yeah
<copumpkin> dammit
pxc has quit [(Ping timeout: 240 seconds)]
<clever> copumpkin: or just append to the contents argument of make-disk-image.nix
<copumpkin> eh, contents is more like etc
<clever> that would litter a directory like / or /tmp with symlinks to storepaths, that lack GC roots
<clever> etc would keep them rooted, so they cant be GC'd
<copumpkin> for dropping random files all over the filesystem
<clever> id usualy try to avoid contents for anything you want to persist, since nix wont be aware of it and will GC it
yegortimoshenko has quit [(Read error: Connection reset by peer)]
<copumpkin> yeah
<copumpkin> it's mostly about prepopulating an image so it can run offline
<copumpkin> an image that doesn't GC much but needs to do some basic stuff offline
<clever> yeah
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cc0e511427 (from 70 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<cocreature> how do I reference a specific output of a derivation in a nix file
<cocreature> ${name} gives me the default output but I need a different one
<clever> cocreature: ${name.lib}
newhoggy has joined #nixos
<cocreature> clever: duh, that was easy, thanks!
nmayhew has quit [(Quit: Bye y'all)]
newhoggy has quit [(Ping timeout: 260 seconds)]
flyingleafe has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 5 new commits to release-17.03: https://git.io/v7DpH
<NixOS_GitHub> nixpkgs/release-17.03 55caad9 Urban Škudnik: jetbrains.idea-ultimate: 2017.1.4 -> 2017.1.5...
<NixOS_GitHub> nixpkgs/release-17.03 bd13aaa Benno Fünfstück: jetbrains.idea-community: 2017.1.4 -> 2017.1.5...
<NixOS_GitHub> nixpkgs/release-17.03 0175391 Benno Fünfstück: jetbrains.pycharm-{community,professional}: 2017.1.4 -> 2017.1.5...
NixOS_GitHub has left #nixos []
<mbrgm> does someone have a working configuration snippet for systemd.automounts?
newhoggy has joined #nixos
Havvy has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
swoorup has quit [(Read error: Connection reset by peer)]
swoorup has joined #nixos
newhoggy has joined #nixos
technoslave has joined #nixos
<technoslave> hi, I would like to propose a PR for a haskell package that is not on hackage but I don't know where to put it in the nixpkgs file hierarchy (I already have a working default.nix) ? It's a clipboard history program
<_rvl> sorry this is rather uninspired but pkgs/applications/misc/myclipboardapp/default.nix ?
newhoggy has quit [(Ping timeout: 260 seconds)]
<_rvl> clipit "Lightweight GTK+ Clipboard Manager" is there
ison111 has quit [(Ping timeout: 260 seconds)]
swoorup has quit [(Ping timeout: 240 seconds)]
<technoslave> _rvl: yep seems like it, I wonder if there is any extra step though as haskell programs are not in the upper scope (i.e., they are visible in nixos.haskellPackages)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28109: mbpfan: 1.9.1 -> 2.0.1 (master...bump/mbpfan-2.0.1) https://git.io/v7Duk
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v7yeq
<NixOS_GitHub> nixpkgs/master 151fab9 Kranium Gikos Mendoza: mbpfan: 1.9.1 -> 2.0.1...
<NixOS_GitHub> nixpkgs/master 637cea6 Jörg Thalheim: Merge pull request #28109 from womfoo/bump/mbpfan-2.0.1...
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v7yen
<NixOS_GitHub> nixpkgs/master 031eb79 volth: ccacheWrapper: extraConfig does not handle special characters...
<NixOS_GitHub> nixpkgs/master bd41e82 Jörg Thalheim: Merge pull request #28103 from volth/patch-10...
NixOS_GitHub has left #nixos []
<copumpkin> is there a magic systemd.services.foo attribute that stops the service from starting up but otherwise puts all the service files in place?
<clever> copumpkin: enable
<copumpkin> I thought I'd tried that
<copumpkin> maybe I tried .enabled
<clever> ah no, thats something else
<clever> you probably want an mkForce, on second
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v7yeg
<NixOS_GitHub> nixpkgs/master b1ce017 volth: babelstone-han: 9.0.2 -> 10.0.0 (#28108)...
NixOS_GitHub has left #nixos []
hamishmack has quit [(Quit: hamishmack)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<Lisanna> has anyone else had any trouble with the dockerTools? I'm trying to build an image but it gets stuck forever on building one of the dependent derivations when I use dockerTools.pullImage
<copumpkin> ooh
<clever> copumpkin: that unsets the wantedBy, so multi-user.target no longer triggers the startup
<copumpkin> yeah, sounds good
<clever> and that exact line, is why sshd is off, but installed, in iso images
rpifan has quit [(Ping timeout: 276 seconds)]
<copumpkin> thanks!
<clever> copumpkin: and you can always make another override with a higher priority to turn it back on
<copumpkin> great :)
eschnett has quit [(Quit: eschnett)]
newhoggy has joined #nixos
leat has quit [(Ping timeout: 248 seconds)]
<tilpner> Lisanna - pullImage was broken last time I tried
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #28117: gdouros: x.xx -> x.17 (master...patch-12) https://git.io/v7yvu
NixOS_GitHub has left #nixos []
<Lisanna> tilpner: when I turn on verbose I see output like this: https://hastebin.com/yoqogojupu.rb
<Lisanna> it's having trouble connecting to the docker hub or something
<tilpner> Lisanna - Apparently fixed on master, nice. https://github.com/NixOS/nixpkgs/issues/21651
newhoggy has quit [(Ping timeout: 240 seconds)]
technoslave has quit [(Quit: Page closed)]
<Lisanna> tilpner: huh, okay. I'll see if that fixes my problem
<tilpner> Lisanna - It should be in nixos-unstable-small and nixpkgs-unstable, but I don't think any of the other channels have it
<clever> tilpner: there is a neat trick ive found on github, one sec
newhoggy has joined #nixos
<clever> tilpner: it was probably this commit that fixed it
<clever> tilpner: so, we hop over to the channels mirror
<clever> and yep, the exact channels you listed
pxc has joined #nixos
<tilpner> Oh, that's neat, thanks! Is "howoldis" broken for you too?
<clever> tilpner: just a bit slow to load
newhoggy has quit [(Ping timeout: 255 seconds)]
<tilpner> Do the commit links work for you?
<clever> nope
<tilpner> Looks like tx0.co/HKWt for me, and the links are broken
<clever> same
<Lisanna> Is there an easy way to run nix-build with a specific nixpkgs channel?
Infinisil has joined #nixos
frankpf has joined #nixos
<clever> Lisanna: -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz
<Lisanna> OK
<tilpner> Oh, it's already an issue
ambro718 has joined #nixos
rpifan has joined #nixos
bkchr has joined #nixos
<Lisanna> Cool, it looks like unstable has a working docker pull
newhoggy has joined #nixos
ison111 has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 260 seconds)]
cpennington has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
dejanr has joined #nixos
dejanr has quit [(Client Quit)]
tg has joined #nixos
bkchr has quit [(Ping timeout: 240 seconds)]
dejanr has joined #nixos
rpifan has quit [(Ping timeout: 240 seconds)]
tg has quit [(Client Quit)]
colabeer has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
newhoggy has quit [(Ping timeout: 248 seconds)]
tvon_ has quit [(Quit: System is sleeping...)]
<rodarmor> Is it possible to set my channel to track github master? (i.e. more unstable than unstable)
<clever> [clever@amd-nixos:~]$ cat .nix-defexpr/test/foo/default.nix
<clever> import /home/clever/apps/nixpkgs
<clever> rodarmor: i recently read the source of nix-env, and found that you can do things like this, now nix-env -iA foo.hello grabs from a checkout in that dir
silver_hook has quit [(Ping timeout: 260 seconds)]
<clever> rodarmor: you would also need to alter $NIX_PATH, and then just pull on a regular basis until the system stops booting :P
<rodarmor> clever: Even if I'm tracking github master, assuming that grub isn't hosed, can still roll back?
tg has joined #nixos
<clever> rodarmor: yeah
<clever> rodarmor: but nixpkgs-unstable had a bug about a year ago, that hosed grub.conf
newhoggy has joined #nixos
<rodarmor> clever: I'm on unstable now, so caution has already been thrown to the wind
<clever> nixos-unstable has proper testing to prevent such major breakage
<clever> nixpkgs-unstable skips that testing, because its not meant for use on nixos machines
<rodarmor> clever: Ah, gotcha
<Lisanna> ...unfortunately dockerTools.pullImage does not support proxies ):
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
simukis has quit [(Quit: simukis)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b9a041c962 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
hamishmack has joined #nixos
<Enzime> got that as default.nix
<Enzime> and when I run `nix-shell`
<Enzime> getting undefined variable 'buildPythonPackage'
sellout- has joined #nixos
<clever> Enzime: Enzime pythonPackages.buildPythonPackage
Ivanych has quit [(Ping timeout: 240 seconds)]
<Enzime> clever: did it move?
<clever> its always been under pythonPackages
<Enzime> clever: I copied the code from the Python docs :/
<clever> that example was meant to be loaded with pythonPackages.callPackage
<clever> which will pass in attrs from pythonPackages and pkgs
<Enzime> it just said underneath it
<Enzime> "Running nix-shell with no arguments should give you the environment in which the package would be built with nix-build."
newhoggy has quit [(Remote host closed the connection)]
<clever> got a link to that doc?
<clever> ah, that example is probably wrong
<clever> the indentation of it is also a mess
bkchr has joined #nixos
<Enzime> clever: that's definitely not the first issue I've found with an example in there
<Enzime> clever: I'm getting "Failed building wheel for x" for multiple packages
<Enzime> "ValueError: ZIP does not support timestamps before 1980"
<clever> nix sets the timestamps to 1 second after jan 1st 1970
<clever> which is ~10 years before 1980, which zip's dont support
<Enzime> is that because zips were invented in the 80s?
<Enzime> or is it some arbitrary technical detail
<clever> no idea
sellout- has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/v7ytU
<NixOS_GitHub> nixpkgs/master f3f8c58 Dan Peebles: amazon-image: Add disk format option to image builder module
NixOS_GitHub has left #nixos []
tokudan has quit [(Quit: Leaving)]
rpifan has joined #nixos
<Enzime> clever: any idea how to fix this in relation to nix-shell
<clever> pythonPackages.buildPythonPackage would get the function into scope
<Enzime> clever: what do you mean?
<clever> replace buildPythonPackage with pythonPackages.buildPythonPackage
<Enzime> clever: yeah I did that
<Enzime> now I get "ValueError: ZIP does not support timestamps before 1980"
<Enzime> "Failed building wheel for x"
<Enzime> x being various packages
<clever> not sure then, i havent dealt with python stuff much
<Enzime> :/ damn
hiratara has quit [(Ping timeout: 240 seconds)]
<Enzime> thanks for the help now
<Enzime> I'll try figure it out another time
hiratara has joined #nixos
DutchWolfie has quit [(Quit: Konversation terminated!)]
newhoggy has joined #nixos
pikajude has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
pikajude has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
silver_hook has joined #nixos
sigmundv__ has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
bennofs has joined #nixos
bkchr has quit [(Ping timeout: 240 seconds)]
filterfish_ has quit [(Ping timeout: 240 seconds)]
frankpf has left #nixos ["Leaving"]
_rvl has quit [(Quit: Leaving)]
Lisanna has quit [(Ping timeout: 260 seconds)]
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
dpino has joined #nixos
Ridout has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
newhoggy has quit [(Remote host closed the connection)]
hiratara has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos []
Myrl-saki has joined #nixos
justanotheruser has joined #nixos
phreedom has joined #nixos
silver_hook has quit [(Ping timeout: 255 seconds)]
ebzzry has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/v7yGQ
<NixOS_GitHub> nixpkgs/master 5f372ef Dan Peebles: amazon-image: support VPC/VHD as an output format for the builder
NixOS_GitHub has left #nixos []
willprice has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
Myrl-saki has quit [(Quit: WeeChat 1.9)]
dbmikus has quit [(Ping timeout: 240 seconds)]
Wizek has joined #nixos
phdoerfler has joined #nixos
<phdoerfler> Hey! I'm new to nixos and would like to create a file /etc/dovecot/passwd which is of a special format and my imap server dovecot will do the auth with that file. How do I do that declaratively?
Ridout has quit [(Quit: Lost terminal)]
<tilpner> E.g. environment.etc = { "dovecot/passwd".text = ''something''; }
<tilpner> But there seems to be a dovecot module, not sure if it handles this
<tilpner> s/not sure/have no idea/
Ridout has joined #nixos
<phdoerfler> tilpner: thanks! And no it doesn't, not as far as I can see
<Infinisil> phdoerfler: Passwords are generally a bad idea to put into configuration.nix, they go into the nix store which is readable by anybody
<phdoerfler> oh
<phdoerfler> what do I do then?
<Infinisil> phdoerfler: Set it up imperatively, by just writing to this file
<phdoerfler> hmmhm
<Infinisil> There is an issue regarding private nix, but it isn't implemented yet
<Infinisil> phdoerfler: Actually I think hashed passwords might be sucure
<Infinisil> If correctly done
<phdoerfler> ok thanks for the insight
<phdoerfler> ideally I would want dovecot to just somehow use the system auth
<phdoerfler> however that works
<Infinisil> phdoerfler: No idea if dovecot supports that
<phdoerfler> it supports PAM I believe
<Infinisil> I think PAM is the system authentication thing
<Infinisil> Ah
<phdoerfler> but I fail to get it working
ennui has quit [(Ping timeout: 240 seconds)]
<Infinisil> I also have no clue about PAM
<Infinisil> s/also//
<phdoerfler> regarding PAM, this is what dovecot gives me in its log when I try to log in as "nixos": https://nopaste.me/view/413248ab
<phdoerfler> the "user unknown" part worries me
<phdoerfler> but googling that revealed nothing of interest
digitus has quit [(Quit: digitus)]
justanotheruser has quit [(Ping timeout: 260 seconds)]
<phdoerfler> can I get nixos-rebuild switch to restart the affected containers, too?
<Infinisil> phdoerfler: Not sure, does the nixos-container command work?
erasmas has quit [(Quit: leaving)]
<phdoerfler> yes
<phdoerfler> but I am lazy
<Infinisil> then nixos-container stop && nixos-container start
<phdoerfler> nixos-container update does that I believe
<Infinisil> Ah
<Infinisil> The --help page is not really helpful on nixos-container isnt' it
<rodarmor> I was having some trouble with dropbox being stuck updating itself. I think the issue was that it was trying to update itself, but the downloaded update wouldn't work. Does this happen every time the version of dropbox in nixpkgs is stale, or is there something wrong with my system?
<Infinisil> nad no man page either
<rodarmor> The solution that I came up with was adding "0.0.0.0 clientupdates.dropboxstatic.com" to /etc/hosts. which seems, uhh, suboptimal :P
<Infinisil> rodarmor: What a nasty workaround lol
<Infinisil> I think that's pretty normal with apps that try to update themselves
ison111 has quit [(Quit: WeeChat 1.7.1)]
<rodarmor> Infinisil: I know, right? Especially gross because that's where nix itself fetches dropbox, so I had to build dropbox but not start it, add the line, and then start it, and then if I need to install an upgrade, I'll have to remove the line and repeat the process
<Infinisil> rodarmor: Oh damn
<rodarmor> Infinisil: Maybe there's a better way to stop it from auto-updating? There's no official way, sadly.
<Infinisil> rodarmor: You might be able to create a separate network namespace for dropbox with `unshare -n`, read `man unshare`
<clever> Infinisil: network namespaces only affect the listening ports and the ip layer
<clever> Infinisil: dns is entirely seperate
<phdoerfler> is there a site with nixos example .nix files?
<phdoerfler> for newbs like myself
<Infinisil> clever: Ahh
<phdoerfler> there's no way I am the first human to set up a mailserver with nixos
<clever> Infinisil: for dns, there are 2 things i can think of, #1 glibc may read /etc/hosts directly
<clever> Infinisil: #2, nscd acts as a caching resolver, caching real dns and /etc/hosts lookups
<clever> Infinisil: so if dropbox can contact nscd, it will use nscd's view of the dns world
<rodarmor> It might be worth trying to interrupt the auto-update process in a different way. For example, if it tries to download the update somewhere, one might be able to set privs such that it can't write there.
<clever> rodarmor: it does the right thing, a randomly named folder in /tmp
<rodarmor> clever: fooey
<Infinisil> Heh
<rodarmor> clever: Hmm, but then it must move it into place after that
<clever> rodarmor: it runs a dynamic elf in /tmp, that acts as an update installer, i believe
<clever> which installs to somewhere in ~/.dropbox
<Infinisil> Maybe unshare -mr, then bind mount a new /etc/hosts and hoping it works?
<clever> Infinisil: nscd will let it bypass that
<Infinisil> that's why we hope
<Infinisil> ah
<rodarmor> Hmm, guess we've got to break out the big guns: We break into dropbox HQ, kidnap Guido, and hold him hostage until they add a config option to disable auto-updates.
<Infinisil> rodarmor: ++
endformationage has quit [(Quit: WeeChat 1.9)]
<Infinisil> Damn, there seriously is no option to turn that off?
ambro718 has quit [(Ping timeout: 240 seconds)]
<Infinisil> phdoerfler: Examples are kind of lacking tbh
<Infinisil> phdoerfler: Look out for blogs/github repos
<phdoerfler> that's what I did
<phdoerfler> and that's how I got that far in the first place
<rodarmor> Infinisil: Yeah, I did a bit of googling and couldn't find one.
<clever> rodarmor: what about just running dropbox unpatched under a fhs chroot, like steam, lol
<rodarmor> clever: Oh, that's not a bad idea.
bennofs has quit [(Ping timeout: 255 seconds)]
dpino has quit [(Ping timeout: 260 seconds)]
<rodarmor> clever: Is there documentation somewhere about how to do that?
<Infinisil> of course not! :)
<clever> rodarmor: its not well documented, but you can check how steam does it
<Infinisil> Often times the source is the best documentation, unfortunately
mkoenig has joined #nixos
ebzzry has quit [(Ping timeout: 240 seconds)]
<rodarmor> Guess I'll dive in
ebzzry has joined #nixos
Wizek_ has quit [(Ping timeout: 276 seconds)]
<Infinisil> Did you know: With DigitalOceans $5 droplet, you could download YouTube videos in 720p and stream them to Twitch continuously for 4 days a week?
<tilpner> Oh, did they finally implement bandwidth limits?
phinxy has joined #nixos
<Infinisil> tilpner: The limit is the monthly datasize of 1TB
<tilpner> Yes, but that was just a "we might enforce this someday" limit
<tilpner> for... years
<Infinisil> tilpner: Heh, well if that does't apply then it's fully continuous
<Infinisil> except that twitch only allows 48 hour streams
<joepie91> fpletz: domenkozar: if either of you is here, this is public but pretty urgent; https://twitter.com/adambroach/status/895729717415890944
<Infinisil> (and it would be illegal of course)
thc202 has quit [(Ping timeout: 260 seconds)]
<joepie91> (anybody else who has some spare time to update packages should probably have a look at the above as well)
* Infinisil looks at the git package declaration
markus1199 has joined #nixos
catch22 has quit [(Remote host closed the connection)]