rcschm has joined #nixos
eacameron has joined #nixos
<ben> applying some overlay in /etc/nixos/configuration.nix seems like less long-term pain than repeatedly merging/rebasing nixpkgs master or w/e into your local fork
<alphor> ben: I guess I should clarify, I'm not really interested in everything, just cherry picking, the rest can be off a tagged release
<ben> alphor: overlays can just override/add single packages
<gchristensen> alphor: let me experiment with something
<gchristensen> alphor: hmm do you want to modify existing services, or do you want to add new ones?
matthewbauer has quit [(Ping timeout: 246 seconds)]
<alphor> gchristensen: modifying existing ones was a pain point in the past
eacameron has quit [(Ping timeout: 240 seconds)]
ertes has joined #nixos
cpennington has quit [(Ping timeout: 246 seconds)]
<ben> alphor: i have a thing that's like nixpkgs.overlays = [(self: super: { pmount = super.pmount.overrideAttrs (attrs: { patches = [ ./allow-exfat.patch ]; }); })];
<alphor> in my case it was having a service bind to a tunnel address that was known only at boot
<ben> i might have miscounted the closing parens there
<ben> but it seems simple enough
<gchristensen> ben: will overlays impact services?
<clever> i think overlays are only a way to give a list of packageOverrides
<clever> and it will have no impact on services
<clever> other then when a service reads pkgs.foo
<gchristensen> I think so too
<gchristensen> alphor: we still don't have an excellent story around overriding services
<gchristensen> alphor: I think that post is your best bet, but I don't particularly love it as it makes it harder to remember to update I think
<ben> the services don't appear from thin air tho
<ben> they come from the nixpkgs that i'm adding overlays to
<gchristensen> do you have first hand experience with overlays providing services?
<ben> i patched networkmanager with a backported crash fix
<gchristensen> huh
<ben> i might be misremembering but i did something to make that work and i dont nixos-rebuild out of a git checkout :P
matthewbauer has joined #nixos
<johnramsden> clever: I'm trying to do a recommended but for some reason it's not working. Any idea what I might be doing wrong? The file doesn't get created. https://github.com/johnramsden/NixOS/blob/9e2f1143f2ca12b61d70d9e66ad725766dce7f69/users/john/environment.nix
matthewbauer has quit [(Remote host closed the connection)]
<clever> johnramsden: try adding an echo before the if statement, and then open another shell
matthewbauer has joined #nixos
<clever> johnramsden: i also remembered another way of doing it
<clever> activation scripts are a second option
<clever> johnramsden: the activation script gets ran as root, on bootup, and when you nixos-rebuild-switch
<clever> and its free to mutate the system state
<clever> the example i linked is what links /etc into the latest etc build in the store
cpennington has joined #nixos
<johnramsden> hmm, thats an option
darlan has joined #nixos
<johnramsden> clever: echo didn't help. Here's the file, anything look odd to you? echo
<johnramsden> if [ $USER==john ]; then
<johnramsden> mkdir -p "/home/john/.config/libvirt/" && echo 'nvram = [ "/nix/store/8savyhl8bxf0k1v7k6l8cdn2nl9l9mns-OVMF-2014-12-10/FV/OVMF_CODE.fd:/nix/store/8savyhl8bxf0k1v7k6l8cdn2nl9l9mns-OVMF-2014-12-10/FV/OVMF_VARS.fd" ]' > "/home/john/.config/libvirt/qemu.conf"
<johnramsden> fi
<clever> johnramsden: loginShellInit vs interactiveShellInit vs shellInit vs extraInit
<clever> one of them must work
<johnramsden> Do I need to reboot?
<clever> nope
<johnramsden> Whoo! extrinit worked!
cpennington has quit [(Ping timeout: 268 seconds)]
eacameron has joined #nixos
hellrazor has joined #nixos
<alphor> thanks for the discussion gchristensen, ben.
<ben> :+1:
hellrazo1 has quit [(Ping timeout: 260 seconds)]
<gchristensen> alphor: you're welcome... did we help? :P
<ben> idk, id just install a package into my user env that includes the config file somewhere and then manually symlink .nix-profile/whatever into .config/libvirt
eacameron has quit [(Ping timeout: 260 seconds)]
<ben> or find whatever env var controls hat .config is looked at and add .nix-profile/etc/ or something to that
<gchristensen> ben: it can be pretty desirable to have configuration.nix put things in your user dir
zeus_ has joined #nixos
<clever> johnramsden: oh, and extraInit may also cause some issues, it will only run when you open a terminal, so running a program via the gui may skip creating the config
mudri has quit [(Ping timeout: 260 seconds)]
<alphor> gchristensen: now I know about overlays, so yes :D
<gchristensen> alphor: great :)
<ben> ... I still have the nixos-unstable nixpkgs checkout but I'm actually not sure what I'm using it for...
<ben> probably just looking things up
<johnramsden> clever: oh :S I wonder why interactive didn't work.
<clever> johnramsden: the activation scripts run much sooner in the bootup, and every time you rebuild-switch, so they wont have that issue
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
Wizek has quit [(Ping timeout: 255 seconds)]
rcschm has quit [()]
takle has joined #nixos
thc202 has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
evangeline has quit [(Ping timeout: 240 seconds)]
evangeline has joined #nixos
hamishmack has joined #nixos
s33se has joined #nixos
s33se_ has quit [(Ping timeout: 240 seconds)]
phinxy has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
Raimondii has joined #nixos
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
johnramsden has quit [(Remote host closed the connection)]
lambdamu_ has joined #nixos
lambdamu has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
derjohn_mob has quit [(Ping timeout: 255 seconds)]
alphor has quit [(Quit: Bye!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #25954: manual: add "Emacs" section to manual (master...nixpkgs-emacs-manual) https://git.io/vHUgm
NixOS_GitHub has left #nixos []
alphor has joined #nixos
<drakonis> when's nix 2.0 again
derjohn_mob has joined #nixos
takle has joined #nixos
hexagoxel has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
athan has quit [(Quit: Lost terminal)]
acarrico has quit [(Ping timeout: 246 seconds)]
hexagoxel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 3 new commits to master: https://git.io/vHUgM
<NixOS_GitHub> nixpkgs/master 7e09602 John Ericson: glibc: Fix for cross
<NixOS_GitHub> nixpkgs/master 25edc47 John Ericson: glibc: Simplify derivation further...
<NixOS_GitHub> nixpkgs/master bb37fc9 John Ericson: Merge pull request #25897 from obsidiansystems/glibc-cross...
NixOS_GitHub has left #nixos []
mellowmaroon has joined #nixos
<mellowmaroon> Is there any way I can speed up the boot time with NixOS? I usually have to wait about 15s for something systemd-related
mizu_no_oto has joined #nixos
mellowmaroon has quit [(Quit: Leaving)]
johbo has quit [(Ping timeout: 240 seconds)]
<drakonis> rip
<drakonis> it was a systemd problem
<drakonis> SYSTEMD IS AWFUL
<drakonis> when's shepherd port
systemfault has quit [(Read error: Connection reset by peer)]
matthewbauer has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
<threshold> how do you build the pdf documenation for https://github.com/NixOS/nixpkgs and https://github.com/NixOS/nix ?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #25955: manual: add "declarative package management" section (master...nixpkgs-manual-declarative-package-management) https://git.io/vHUaZ
NixOS_GitHub has left #nixos []
takle has joined #nixos
<clever> [clever@amd-nixos:~]$ nix-build nix/release.nix -A tarball -Q -j8
<clever> threshold: for nix, this will make a result/manual.pdf
takle has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adrianparvino opened pull request #25956: st: extraLibs argument (master...master) https://git.io/vHUaw
NixOS_GitHub has left #nixos []
ericsagnes has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
schoppenhauer has quit [(Ping timeout: 240 seconds)]
drakonis has quit [(Read error: Connection reset by peer)]
schoppenhauer has joined #nixos
johbo has joined #nixos
takle has joined #nixos
<disasm> hacking on nixos... what's the preferred way to test things out? I read http://matrix.ai/2017/03/13/intro-to-nix-channels-and-reproducible-nixos-environment/ and setup /nix/nixpkgs, but then every time I want to test something, I switch to master, create a branch, make some changes, switch back to nixos-17.03, cherry pick the change in my feature branch, test it, switch back to my feature branch, fix change,
<disasm> switch back to channel, cherry pick, etc...
ericsagnes has joined #nixos
<clever> disasm: i try to use "nixos-rebuild build-vm -I nixpkgs=/home/clever/nixpkgs -I nixos-config=./configuration.nix" for testing
<disasm> ah k, and then have a minimal configuration.nix with what your testing in it, that makes sense. Then the host OS doesn't get touched when developing stuff and you can stay on a stable channel for everyday stuff.
takle has quit [(Ping timeout: 260 seconds)]
<clever> yep
<clever> and if you dont give it root, it has zero chance of breaking things
<disasm> that uses qemu for the vm?
<clever> yeah
<unlmtd> how could I launch a user-installed WM?
Myrl-sak1 has joined #nixos
<Myrl-sak1> How do I run nix-repl's commands without, well nix-repl.
<Myrl-sak1> (Say, something like bash -c)
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
<disasm> clever: in that resulting VM, is there a default credential or do you need to specify a password in the configuration.nix for the root user?
<clever> no defaults
<clever> youll need .initialPassword = "hunter2";
<clever> and initial only works on the first boot, so youll need to delete the qcow
<clever> check the current dir to see it
drakonis has joined #nixos
drakonis has quit [(Changing host)]
drakonis has joined #nixos
<disasm> clever: is that a param to users.extraUsers.USER?
takle has quit [(Ping timeout: 268 seconds)]
<clever> users.users.root.initialPassword = "root";
proteusguy has joined #nixos
<drakonis> a question, does gparted show only one partition for anyone else?
<drakonis> the device as a whole and none of its partitions
<drakonis> ?
<clever> drakonis: can you screenshot it?
<drakonis> i can try
<drakonis> hmm, how do i even screenshot on kde
<clever> does anything happen when you hit the printscreen key?
<drakonis> nope
takle has joined #nixos
<drakonis> ksnapshot seems do it
<clever> drakonis: nix-env -iA nixos.xfce.xfce4-screenshooter or nvm, lol
<drakonis> not on rep either
<drakonis> repo
<clever> the above will install the xfce version of the tool
<drakonis> that`ll do i guess
<disasm> that's awesome clever, thanks :)
hellrazor has quit [(Ping timeout: 268 seconds)]
<drakonis> oh kde uses spectacle now
<disasm> I like scrot myself :)
hellrazor has joined #nixos
<drakonis> i don`t even have zfs anymore
<drakonis> i have multiple partitions
<drakonis> the usb only shows one partition
<clever> drakonis: what does df say you have?
<drakonis> hmm
matthewbauer has joined #nixos
<disasm> when adding a service that uses a database, should that database and service database user be autocreated by nix? Or is it best to leave that up to the user installing the service?
<clever> disasm: which db engine is it on?
<drakonis> got any good paste service
<drakonis> ?
<clever> drakonis: i prefer gist.github.com
<disasm> by nix, I mean a pre-setup-script for the service.
takle has quit [(Ping timeout: 240 seconds)]
<clever> since it can handle multiple files and editing
<disasm> clever: postgresql
<drakonis> something for quick pasting rather
<drakonis> since i'm not logged in anywhere
<clever> drakonis: there is a gist command in nixpkgs, nix-env -iA nixos.gist ; df -h | gist -p -
<drakonis> hm oh
<drakonis> i see
<disasm> drakonis: I use nixpaste :) but gist works too
<clever> drakonis: ah, its not currently mounted, what about "zfs list" and "zpool status -v" ?
<drakonis> i don`t have zfs actually
<drakonis> this is the install usb
<clever> drakonis: ah
<drakonis> i was running freebsd
<clever> drakonis: having 1 big partition is normal for zfs
<drakonis> uhhh
<clever> zfs will then divide it up internally
<drakonis> i have other partitons
<drakonis> partitions
<clever> drakonis: partitions, or zvols?
<drakonis> no
<drakonis> partitions
<clever> disasm: there is https://nixos.org/nixos/options.html#postgresql.initial
<drakonis> there's a ntfs partition
<clever> disasm: but i think it only works the first time postgress is installed
<drakonis> but i'm not sure why gparted reports only zfs
<clever> drakonis: what about fdisk -l /dev/sda ?
<disasm> yeah, I'm more wondering for a pkg/systemd service I'm adding to nixos
<drakonis> a pkg/systemd service?
<drakonis> what.
<drakonis> like i said
<disasm> drakonis: too different conversations :)
<drakonis> zfs has been deleted but gparted only sees one partition
<drakonis> it also sees only one partition for the usb
<drakonis> despite the usb reporting two partitions
<drakonis> i suppose it must be a problem with gparted
<disasm> clever: https://github.com/NixOS/nixpkgs/pull/25907 -- mainly wondering if I need to add logic to setup the database/role or leave it up to the user installing it.
<clever> disasm: id add logic to detect if the db is missing, and auto-configure it
<clever> drakonis: one min
<disasm> clever: thanks! I'll do that!
<disasm> well, getting late here, I should get to bed. Thanks for the help clever!
<clever> drakonis: can you hit 'view->device information' in gparted, and screenshot that?
<clever> ah
<drakonis> there`s a partition table lol
<clever> drakonis: i think the problem, is that zfs has a header near the start of the disk, so gparted assumes the whole thing is zfs
<drakonis> right
<drakonis> how do i clean up the header
<drakonis> without purging the entire disk
<clever> kind of tricky, because gpt doesnt use just 1 sector
<drakonis> i am not willing to purge everything because gparted is disgusting
<clever> can you just use fdisk instead?
zeus_ has quit [(Remote host closed the connection)]
<drakonis> i can i guess
<drakonis> but i can't mount
zeus_ has joined #nixos
<clever> cant mount which partition?
<drakonis> sda5
<clever> fdisk says it only goes up to sda4
<drakonis> also you said it is kind of tricky
<drakonis> i use gpt fyi
<clever> yeah, fdisk says its gpt
<clever> the fdisk you gist'd only has sda1 thru sda4
<drakonis> yup
<drakonis> can`t mount sda5
<drakonis> great
<clever> because sda5 doesnt exist
<drakonis> it exists now
<drakonis> because gpt allows more disks
zeus_ has quit [(Ping timeout: 246 seconds)]
<clever> can you do "fdisk -l /dev/sda | gist -p -" again?
<drakonis> still isn`t mounting
<clever> did you format sda5?
<clever> fdisk doesnt format things
<drakonis> i did format
<drakonis> jeez
<clever> what error does mount give?
<drakonis> mount: /dev/sda5: more filesystems detected. This should not happen,
<drakonis> use -t <type> to explicitly specify the filesystem type or
<drakonis> use wipefs(8) to clean up the device.
<drakonis> when mounting.
<drakonis> i don`t get errors formating it
<clever> what about dmesg?
<drakonis> no notable errors
<drakonis> seriously though
<drakonis> how do i purge the header
<clever> you can probably run wipefs on sda5, and format it again
<drakonis> i have tried that before
<drakonis> it changed nothing
<clever> strange
<clever> and it still fails when you use the right type on -t?
<drakonis> come on now
<drakonis> what is the tricky part of getting rid of the header
<drakonis> because it is clearly interfering here
<clever> we could try to strace mount, "strace -o logfile mount /dev/sda5 /mnt ; gist -p logfile"
<drakonis> god forbid asking about how to remove the header that's breaking gparted
systemfault has joined #nixos
<clever> drakonis: does mount -v /dev/sda5 /mnt say anything more?
<drakonis> same as ever
<clever> yeah, i cant think of anything else right now
<clever> and i would risk the data loss of trying to clear random areas
<drakonis> <clever> drakonis: i think the problem, is that zfs has a header near the start of the disk, so gparted assumes the whole thing is zfs
<clever> thats the gparted problem, but mount should only be looking in sda5
<drakonis> can i unbreak gparted yet
<clever> and gpt's header is of an unknown length, so its hard to safely clear the zfs header
orivej has quit [(Ping timeout: 240 seconds)]
<drakonis> uhhh
<drakonis> no they`re not unknown
<drakonis> what is this, the 90s?
<clever> hmm, wikipedia says its ~34 sectors
<drakonis> 2x256KiB at the beginning and 2x256KiB at the end for zfs
<clever> drakonis: "hexdump /dev/sda -C | head -n1500 | gist -p -"
<clever> drakonis: this should put a hexdump of the start of the disk on gist
<clever> 0x4400 i think is where the GPT header ends
<drakonis> i`ll be honest though, what the fuck.
<drakonis> ubuntu at least installed correctly
<clever> and the EFI system starts at 40*512 i think, checking
<clever> efi system starts at 0x5000
<clever> so thats 0x600 bytes between the gpt and efisystem
<drakonis> at which point do i light things on fire without hosing my motherboard
<clever> first, i would make a backup of the first 1mb, do you have another drive you can save files to?
<drakonis> no i don`t
<clever> even a usb stick would do
<clever> about all i can think of right now is "dd if=/dev/zero of=/dev/sda5 bs=512"
<clever> to zero out all of sda5
<drakonis> apparently wipefs is supposed to fix it
ROKO__ has joined #nixos
<drakonis> i also have sda2 i guess?
<clever> i'm guessing wipefs didnt get the zfs header
<clever> fdisk says sda2 is 'microsoft reserved'
<drakonis> i ran wipefs
<drakonis> that partition is useless anyways
<drakonis> 16 megabytes lol
<drakonis> i`m not even sure what it does
<clever> i think its a backup thing windows uses
<drakonis> no, that's sda4
<clever> ah
<clever> so it just reserves 16mb for later use down the road
<clever> and if windows ever needs another misc partition, it can shrink the reserve
<drakonis> lol
<drakonis> it wont ever
<clever> i have seen a minor need for that with a lot of gpt installs
<clever> legacy booting needs an bios boot partition, and everybody forgets it
<clever> and has to wipe and repartition to make it fit
<drakonis> right
<clever> try running the dd i gave over sda5, and then see what mount says
<drakonis> fyi
<drakonis> its a 540 gigs partition
<drakonis> that shit will take forever
<clever> and its probably safe to wipe sda2 as well
<clever> yeah, it will take some time
<drakonis> may as well go sleep and look at it tomorrow
<clever> yeah
hamishmack has quit [(Quit: hamishmack)]
<drakonis> okayyy
<drakonis> i think i got something?
zeus_ has joined #nixos
<matthewbauer> if anyone is looking for something to do, it would be awesoe if you could proofread my manual prs: https://github.com/NixOS/nixpkgs/pull/25952 , https://github.com/NixOS/nixpkgs/pull/25954
<drakonis> i think my efi partition might be hosed though?
<clever> drakonis: if you are reinstalling, it will be easy to fix
<drakonis> the problem is windows though
<drakonis> the bastard thinks it is the king of the hill
<clever> ah yeah
<drakonis> even when it is on a gpt partition
<clever> i try to isolate windows to its own drive whenever possible
<threshold> clever: that worked perfectly, thank you. how would i build the documentation for nixpkgs?
<drakonis> aw shit i hosed a bunch of stuff
<clever> threshold: i havent found an attribute that has the pdf manual
<drakonis> nevermind that
<drakonis> its no longer hosed
<drakonis> but god i hate gparted
<drakonis> sda3 is still marked as zfs_member
<drakonis> but at least its no longer hosed
<drakonis> thank god
<threshold> clever: if the html is generated, i can save it as a pf
<threshold> and there are easy ways to convert md to pdf
<drakonis> why do you want a pdf though?
<threshold> to read on something other than a briht screen
<clever> [clever@amd-nixos:~]$ nix-build apps/nixpkgs/pkgs/top-level/release.nix -A manual
<clever> threshold: i believe its in here
<threshold> nix-build nixpkgs/doc/default.nix
<drakonis> i`ll reboot
<drakonis> also how do i know if its still busy writing to the zfs partition
<clever> the dd will return when its done
drakonis has quit [(Remote host closed the connection)]
matthewbauer has quit [(Remote host closed the connection)]
Drakonis has joined #nixos
Drakonis has quit [(Changing host)]
Drakonis has joined #nixos
<Drakonis> what was the command to blank out a partition
cpennington has joined #nixos
<clever> 2017-05-21 02:03:48 < clever> about all i can think of right now is "dd if=/dev/zero of=/dev/sda5 bs=512"
<Drakonis> recovered gpt
<Drakonis> i shrunk the partition
<Drakonis> so it doesn't take an entire day to do it
<Drakonis> i have unhosed things
<Drakonis> thanks magical cgsecurity partition wizardry
eacameron has joined #nixos
<Drakonis> for your wizardy ways
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
eacamero_ has quit [(Ping timeout: 246 seconds)]
Drakonis has quit [(Remote host closed the connection)]
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
matthewbauer has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
takle has joined #nixos
Drakonis has joined #nixos
<Drakonis> i did
<Drakonis> yessss
<Drakonis> looks like i had to force write when making a new file system for it to wipe
<Drakonis> and i recoved and fixed all of my partitions
<Drakonis> but i might have to get a windows image to repair windows because it keeps dying when dealing with efi files
takle has quit [(Ping timeout: 260 seconds)]
<Drakonis> right now i just want to sleep
<Drakonis> things work-ish
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHU6B
<NixOS_GitHub> nixpkgs/master 7d97051 Adrian Parvin D. Ouano: st: extraLibs argument...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25956: st: extraLibs argument (master...master) https://git.io/vHUaw
NixOS_GitHub has left #nixos []
zeus_ has quit [()]
joelpet has quit [(Ping timeout: 260 seconds)]
cpennington has quit [(Remote host closed the connection)]
jacob_ has joined #nixos
jacob_ is now known as Guest97905
filterfish has quit [(Ping timeout: 258 seconds)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
<Drakonis> Failed to check file system type of "/boot": No such file or directory
joelpet has joined #nixos
<Drakonis> oh i forgot to mount efi
Wizek has joined #nixos
filterfish has joined #nixos
Drakonis has quit [(Remote host closed the connection)]
takle has joined #nixos
simukis has joined #nixos
takle has quit [(Remote host closed the connection)]
kirelagin has joined #nixos
takle has joined #nixos
drakonis has joined #nixos
<drakonis> gchristensen, still no sddm module
TimePath has joined #nixos
<clever> drakonis: make sure /boot is in hardware-configuration.nix so it gets mounted on bootup
<drakonis> eh, i already got it to work
takle has quit [(Ping timeout: 258 seconds)]
<drakonis> i'm going to bed now
<drakonis> but first, i gotta ask, how do i get linux to run on local time instead of utc
<drakonis> because windows is the non standard pile of trash
<clever> ah
<drakonis> and doing registry hacks that will be reverted the next time it updates isn't quite what i have in mind
<LnL> I think there's an option for that
takle has joined #nixos
<drakonis> but is there an option to install the module that lets me tweak the login screen
<drakonis> that blue as heck default is terrible
<drakonis> huh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHUPO
<NixOS_GitHub> nixpkgs/master f1edefe Alexandre Peyroux: jsbeautifier: 1.6.4 -> 1.6.14 (#25947)...
NixOS_GitHub has left #nixos []
<drakonis> its in there now
<drakonis> finally
<drakonis> hmm, now i'm getting collisions
<drakonis> its shows up in srcs but lacks a package
<drakonis> not quite what i had in mind
Kingsquee has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vHUPD
<NixOS_GitHub> nixpkgs/master b6d9f51 Benjamin Hipple: Add myself to maintainers
<NixOS_GitHub> nixpkgs/master d856b50 Benjamin Hipple: pythonPackages.bitcoin-price-api: init at 0.0.4
<NixOS_GitHub> nixpkgs/master 50e8199 Jörg Thalheim: Merge pull request #25949 from bhipple/init/python-bitcoin-price-api...
NixOS_GitHub has left #nixos []
oida has joined #nixos
hamishmack has joined #nixos
oida_ has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHUXT
<NixOS_GitHub> nixpkgs/master b15baed Martin Wohlert: gnupg: 2.1.20 -> 2.1.21
<NixOS_GitHub> nixpkgs/master de9f19f Jörg Thalheim: Merge pull request #25927 from gentoofreak/master...
NixOS_GitHub has left #nixos []
asymmetric1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHUXL
<NixOS_GitHub> nixpkgs/master aed1986 Niklas Hambüchen: Fix typo about options without defaults
<NixOS_GitHub> nixpkgs/master f279508 Jörg Thalheim: Merge pull request #25934 from nh2/nixos-manual-module-option-never-fix...
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vHUX4
<NixOS_GitHub> nixpkgs/master 610c27c Unai Zalakain: pysrt: init at 1.1.1
<NixOS_GitHub> nixpkgs/master 219daab Jörg Thalheim: pysrt: enable tests
<NixOS_GitHub> nixpkgs/master d81683d Jörg Thalheim: Merge pull request #25884 from unaizalakain/init-pysrt...
NixOS_GitHub has left #nixos []
<TimePath> anyone cross-compiled to osx recently?
<LnL> not sure if that ever worked
<TimePath> I tried it about 6 months ago and got maloader working, but things seem to have changed since
<drakonis> okay, time to go
<drakonis> peace
<LnL> ah, probably thinking about the other way around then
<LnL> might be related to the changed Sonarpulse made
drakonis has quit [(Remote host closed the connection)]
<TimePath> I've fixed most of the issues up to getting a gcc build
metaphysician has joined #nixos
k2s has joined #nixos
ambro718 has joined #nixos
systemfault has quit [(Quit: Bye!)]
eacameron has joined #nixos
thc202 has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
filterfish has quit [(Ping timeout: 246 seconds)]
asymmetric1 has quit [(Ping timeout: 240 seconds)]
Mateon3 has joined #nixos
mudri has joined #nixos
Mateon1 has quit [(Ping timeout: 260 seconds)]
Mateon3 is now known as Mateon1
athan has joined #nixos
ROKO__ has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
derchris has quit [(Ping timeout: 246 seconds)]
Itkovian has quit [(Ping timeout: 260 seconds)]
civodul has joined #nixos
slyfox has quit [(Quit: :))]
derchris has joined #nixos
kirelagin has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
slyfox has joined #nixos
jznct has joined #nixos
derchris has quit [(Ping timeout: 246 seconds)]
<jznct> For a new NixOS setup which groups are good to add my user to?
derchris has joined #nixos
taeradan has quit [(Ping timeout: 255 seconds)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
jav has joined #nixos
k2s has quit [(Ping timeout: 240 seconds)]
kirelagin has joined #nixos
derchris has quit [(Ping timeout: 246 seconds)]
ROKO__ has joined #nixos
<jav> nix-shell -p stdenv; gcc => "bash: gcc: command not found" ... shouldn't I have gcc when requesting stdenv like this?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 4 new commits to master: https://git.io/vHUDz
<NixOS_GitHub> nixpkgs/master 73a67a9 Peter Simons: LTS Haskell 8.14
<NixOS_GitHub> nixpkgs/master 1f602fe Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master de388b6 Peter Simons: git-annex: force a fetchgit re-fetch when the version number changes...
NixOS_GitHub has left #nixos []
takle has joined #nixos
<LnL> no, the default nix-shell environment doesn't include stdenv.cc anymore
derchris has joined #nixos
alx741_ has joined #nixos
<jav> aw, ok - so stdenv.cc is what I want then, thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #25958: iwd: init at unstable-2017-04-21 (master...iwd) https://git.io/vHUD5
NixOS_GitHub has left #nixos []
alx741 has quit [(Ping timeout: 260 seconds)]
derchris has quit [(Ping timeout: 246 seconds)]
derchris has joined #nixos
jznct has quit [(Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/)]
derchris has quit [(Ping timeout: 240 seconds)]
bennofs has joined #nixos
kirelagin has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
derchris has joined #nixos
Jackneilll has joined #nixos
kirelagin has joined #nixos
ROKO__ has quit [(Ping timeout: 240 seconds)]
derchris has quit [(Ping timeout: 246 seconds)]
derchris has joined #nixos
filterfish has joined #nixos
<jav> The package vte includes a shell script vte.sh which under Debian - for example - is installed as /etc/profile.d/vte.sh .. some terminal emulators (termite for example) ask to have this file sourced in ~/.bashrc so that 'open new terminal in current directory' works. What would the NixOS-way be of finding the correct path to vte.sh? The NixOS package for vte doesn't currently seem to make it available in any form. ... I have seen in the
<jav> autojump package, that it installs an extra script autojump-share, which outputs the correct location, so that one can do something like this: source $(autojump-share)/autojump.bash .. would that be the recommended approach to extend the vte package in a similar way?
<jav> or maybe alternatively do something with 'environment.etc'? ... but if I undertand correctly, than the file might end up either at /etc/profile.d/vte.sh or ~/.nix-profile/etc/profile.d/vte.sh, depending on how the user installs the package, correct?
filterfish_ has joined #nixos
filterfish has quit [(Remote host closed the connection)]
aanderse has quit [(Remote host closed the connection)]
aanderse has joined #nixos
hellrazor has quit [(Quit: WeeChat 1.8)]
freusque has joined #nixos
<gchristensen> does anyone have opencl working on nixos? ( zimbatm )
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHUQL
<NixOS_GitHub> nixpkgs/master 2c39316 midchildan: mikutter: init at 3.5.7...
NixOS_GitHub has left #nixos []
ROKO__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25852: mikutter: new package (master...mikutter) https://git.io/v9AjZ
NixOS_GitHub has left #nixos []
<shlevy> niksnut: Any idea what's going on here? https://hydra.nixos.org/build/53084807#tabs-summary
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vHUQA
<NixOS_GitHub> nixpkgs/master 6f7347e Pascal Bach: samba: 4.5.8 -> 4.6.3
NixOS_GitHub has left #nixos []
freusque has quit [(Quit: WeeChat 1.7)]
ertes has quit [(Quit: Bye!)]
ertes has joined #nixos
ixxie has joined #nixos
kampfschlaefer has joined #nixos
<ixxie> In the spirit of asking questions that help clarify issues that seem to be missing or not well covered in the documentation, I wrote this up http://stackoverflow.com/questions/44088192/when-and-how-should-default-nix-shell-nix-and-release-nix-be-used ^^
<ixxie> (it was a follow up to my discussion with gchristensen, LnL, nixy and teozkr)
<ixxie> have a lovely day everybody
ixxie has quit [(Client Quit)]
* LnL can't remember his stackoverflow account
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
esmiurium_ has quit [(Read error: Connection reset by peer)]
<LnL> default.nix is usually something you can build so it is a drv or a function that returns a drv
<LnL> and it's the default file that nix-build will took for
jav has quit [(Quit: Leaving)]
<LnL> nix-shell also looks for a default.nix, but if there's a shell.nix it will use that instead. this is useful when you want to use a different expression when running nix-shell
spion has quit [(Ping timeout: 240 seconds)]
<LnL> and release.nix usually returns an attrset of jobs for each platform
kombinator has joined #nixos
darlan has joined #nixos
<LnL> for example in the nix project you can run
<LnL> nix-build ./release.nix -A build.x86_64-darwin
proteusguy has quit [(Remote host closed the connection)]
spion has joined #nixos
<LnL> that file is also used by hydra http://hydra.nixos.org/eval/1360734
civodul` has joined #nixos
civodul has quit [(Ping timeout: 246 seconds)]
liminal18 has joined #nixos
pbogdan has joined #nixos
<liminal18> hey folks I need panels and ncrusesw libraries for a project
<liminal18> panelw
<liminal18> ncursesw
<liminal18> Right now I am including nurses and appendix the lib to my path
<liminal18> appending
<pbogdan> anyone seeing issues with urxvt not rendering unicode characters? getting squares instead of actual chars since updating to unstable from 17.03
<liminal18> but stack still says it can't find the c header limo for them
<pbogdan> had same in xterm after the update but that got fixed by installing symbola font (already had unifont installed) but urxvt is still refusing to render
<LnL> liminal18: are you using nix-build with an expression?
<liminal18> LnL: using a default.nix file loading it with nix-shell
<liminal18> nurses is in the build and it's lib shows up in echo $LD_LIBRARY
<LnL> did you add the dependencies to buildInputs, that should set the CFLAGS, etc.. for you
<liminal18> _PATH
<liminal18> yeah nurses is is buildInputs
<liminal18> but not panels and ncursesw
<LnL> try adding ncurses.dev
<TimePath> I think this is the part where I give up: `Couldn't load /nix/store/62wbrqv5zmryag7z1f2c0lagcmi37aap-opencflite-476.19.0/lib/libCoreFoundation.so for /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation`
<liminal18> LnL: good idea and it did work but stack still doesn't see them
<liminal18> does stack us SD_LIBRARY_PATH?
<liminal18> SD = LD
freusque has joined #nixos
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] selaux opened pull request #25961: google-cloud-sdk: Upgrade and fix calling itself (master...google-cloud-sdk) https://git.io/vHUdL
NixOS_GitHub has left #nixos []
<liminal18> weird I can see the files inside lib/pkgconfig
<LnL> oh, are you using the haskell mkDerivation?
<liminal18> LnL using stack the default.nix is simply haskellPakcages.stack zilb ncurses
<LnL> no clue then, I've only used the native haskell infrastructure
<liminal18> LnL thanks for the help the .dev thing at least means the header files are there
<LnL> did you try with both ncurses and ncurses.dev, the dev output might only contain the headers
<liminal18> LnL will try
<LnL> TimePath: does it need frameworks, otherwise that should probably point to ${darwin.CF}
<TimePath> LnL: that's coming from opencflite
<TimePath> issue is a handful of undefined symbols preventing loading
<TimePath> example: `CFStringGetLength: undefined symbol`
<TimePath> around 16 of them
<LnL> and it's using the pure CF
freusque has quit [(Quit: WeeChat 1.7)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #25962: lambda-mod-zsh-theme: 2017-04-05 -> 2017-05-21 (master...update/lambda-mod) https://git.io/vHUdB
NixOS_GitHub has left #nixos []
<TimePath> LnL: sure is. I'll push to a fork if you'd like to take a look at the changes I've made to get this far
<LnL> TimePath: I see it in there, nm "${darwin.CF}/Library/Frameworks/CoreFoundation.framework/CoreFoundation"
spion has quit [(Ping timeout: 260 seconds)]
spion has joined #nixos
sigmundv has joined #nixos
<TimePath> LnL: sorry, was that a request or a statement?
<LnL> that's on my machine (the native stdenv)
liminal18 has quit [(Ping timeout: 260 seconds)]
civodul` is now known as civodul
<TimePath> hm
marsel has joined #nixos
<TimePath> might have to try starting fresh with https://github.com/tpoechtrager/osxcross
<TimePath> in any case, the changes I had to make so far are here: https://github.com/TimePath/nixpkgs/commit/700f82727a2179447d93f9f9261004c861d9e99a
<LnL> don't see anything suspicious there, any idea when it broke?
<TimePath> I'm not sure it ever worked exactly 100%, but it worked a little more than it currently does
mudri has quit [(Ping timeout: 240 seconds)]
<TimePath> I definitely created a mach-o binary and loaded it
roconnor has joined #nixos
<TimePath> Think I tried around 6 months ago?
<gchristensen> I'm trying to package siad from https://github.com/NebulousLabs/Sia/ but when I `go get -u github.com/NebulousLabs/Sia/...; cd src/github.com/NebulousLabs/Sia/siad; go2nix save` then try and build the default.nix, it seems there are many dependencies missing from the generated deps.nix. has anyone seen this before? I also tried running go2nix from src/github.com/NebulousLabs/Sia/ but nothing was buildable
<gchristensen> there.
sigmundv has quit [(Ping timeout: 240 seconds)]
kirelagin has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
kirelagin has joined #nixos
freusque has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nh2 opened pull request #25964: manual: Fix `addCheck` example having arguments in wrong order. (master...nixos-manual-module-addCheck-order) https://git.io/vHUNv
NixOS_GitHub has left #nixos []
simendsjo has joined #nixos
<LnL> go projects often vendor their dependencies, that's usually why they don't show up
<gchristensen> yeah, but it doesn't build, I'll push my stuff
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #25965: rodjek/vim-puppet: init (master...new-vim-plugin/vim-puppet) https://git.io/vHUNE
NixOS_GitHub has left #nixos []
<gchristensen> LnL: https://github.com/NixOS/nixpkgs/compare/master...grahamc:sia?expand=1 nix-shell ./update.nix to regenerate the default.nix / build.nix
<LnL> there's a bunch of stuff in the makefile
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jagajaga pushed 2 new commits to master: https://git.io/vHUNX
<NixOS_GitHub> nixpkgs/master 8d2e7c6 Maximilian Bosch: rodjek/vim-puppet: init
<NixOS_GitHub> nixpkgs/master 5e9430a Arseniy Seroka: Merge pull request #25965 from Ma27/new-vim-plugin/vim-puppet...
NixOS_GitHub has left #nixos []
<gchristensen> yeah, but so that `go get -u` command I run produces a valid bin/siad file, I don't need to run the makefile
phinxy has joined #nixos
hiberno has quit [(Remote host closed the connection)]
roconnor has quit [(Ping timeout: 258 seconds)]
hiberno has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vHUAk
<NixOS_GitHub> nixpkgs/master b6fabe2 Stefan Lau: google-cloud-sdk: 151.0.0 -> 155.0.0
<NixOS_GitHub> nixpkgs/master b1a6442 Stefan Lau: google-cloud-sdk: Fix calls to itself
<NixOS_GitHub> nixpkgs/master 2f46a9c Jörg Thalheim: Merge pull request #25961 from selaux/google-cloud-sdk...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25962: lambda-mod-zsh-theme: 2017-04-05 -> 2017-05-21 (master...update/lambda-mod) https://git.io/vHUdB
NixOS_GitHub has left #nixos []
pie_ has quit [(Ping timeout: 268 seconds)]
mudri has joined #nixos
Bradyn2000 has joined #nixos
pie_ has joined #nixos
georges-duperon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #25966: ammonite: 0.8.5 -> 0.9.0 (master...ammonite_0_9_0) https://git.io/vHUA6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vHUAM
<NixOS_GitHub> nixpkgs/master d501166 Unai Zalakain: enzyme: init at 0.4.1
<NixOS_GitHub> nixpkgs/master 689f0ce Jörg Thalheim: enzyme: use fetchPypi
<NixOS_GitHub> nixpkgs/master 6f447ed Jörg Thalheim: Merge pull request #25883 from unaizalakain/init-enzyme...
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-17.03: https://git.io/vHUAN
<NixOS_GitHub> nixpkgs/release-17.03 c4cb1ee Tim Steinbach: ammonite: 0.8.4 -> 0.8.5...
<NixOS_GitHub> nixpkgs/release-17.03 27b488f Tim Steinbach: ammonite: 0.8.5 -> 0.9.0...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25889: subliminal: init at 2.0.5 (master...init-subliminal) https://git.io/v9h7m
NixOS_GitHub has left #nixos []
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
Raimondii has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #25967: coursier: 1.0.0-RC2 -> 1.0.0-RC3 (master...coursier_1_0_0_rc3) https://git.io/vHUxJ
NixOS_GitHub has left #nixos []
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25855: Set virtualisation.libvirtd.qemuOvmf to false as the OVMF closure-siz… (master...qemu-OVMF-on-channels) https://git.io/v9xI0
NixOS_GitHub has left #nixos []
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
nschoe has joined #nixos
joko has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #25969: tint2: 0.14.4 -> 0.14.5 (master...upd.tint2) https://git.io/vHUx4
NixOS_GitHub has left #nixos []
nh2 has quit [(Ping timeout: 240 seconds)]
<nschoe> Hi everyone, sorry to ask such a vague question (and on this topic), but I've never had this issue before, and Googling only give advice for Ubuntu-based systems, so I'm trying here (since I'm using nixOS, obviously). A few weeks ago I lost the standard select-text-then-paste-with-middle-click-button feature. When I reboot and freshly log in nixOS, it works, but after a couple of hours it just doesn't work anymore. When I try to
<nschoe> select text, the moment I release my button 1 the selection is gone and middle-clickling doesn't do anything. Does any of you have the faintest idea of what is going on?
<nschoe> (sorry text came up bigger than I thought :/)
pie_ has quit [(Changing host)]
pie_ has joined #nixos
orivej has quit [(Quit: No Ping reply in 180 seconds.)]
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
orivej has joined #nixos
<unlmtd> when someone figures how to install nix on android my phone will become useful
<unlmtd> s/useful/more-useful
<dash> unlmtd: haha
<unlmtd> much more
<unlmtd> im also excited about musl nixpkgs for similar reasons. nix to build router images and stuff
bennofs has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin> unlmtd: did you try going the brute force way, installing a Debian chroot and building Nix inside?
<unlmtd> thats not what I want
<unlmtd> I want the phone to run nix directly
<unlmtd> no overhead
<unlmtd> its already a hog
<unlmtd> then id trade android for meego
<unlmtd> ahahah
<nschoe> No ideas for my weird middle-click button issue?
<MichaelRaskin> chroot is not much overhead
<MichaelRaskin> No idea, I would try different DEs to check if it is DE-related
<TimePath> I'd also love for the userland to be nix
<unlmtd> nschoe: I use libinput, not because its much better but because it kinda all just work
<unlmtd> you can try that maybe. it's also good fashion to be modern
<unlmtd> :P
<unlmtd> someone make a alpine and nixos hybrid if they find the idea as good as me and have the need/time
<unlmtd> i ran around the bock and came back to openrc it nice and universal. I sympathize with the gentoo ppl for using gentoo still
<TimePath> why even bother with alpine?
agjacome has joined #nixos
Myrl-saki has quit [(Quit: WeeChat 1.7)]
<unlmtd> its a springboard to a universal OS in terms of how it is the least linux-only style distro out there (maybe or close to)
justelex has joined #nixos
<unlmtd> ya I know, thats the best draft yet
<unlmtd> but im in the guts of my networks, I would start deploying it right away if it just gets to a shell even :P
<unlmtd> but Im too busy
<TimePath> getting a not-os shell is pretty easy
<unlmtd> I mean on hardware lol
<TimePath> ah
<unlmtd> thats the part Im no wiz at
<TimePath> I only tried with a laptop and qemu
<TimePath> "normal" hardware
tomberek has joined #nixos
Myrl-sak1 is now known as Myrl-saki
<unlmtd> I was shocked when I found out how much of the kernel code is drivers
<tomberek> how can i track down why a certain store path is being fetched during a nixos-rebuild?
sigmundv has joined #nixos
<unlmtd> actually I should try to build nix on minix
<unlmtd> that would be fun
<TimePath> unlmtd: I have an old rooted android phone I could probably use for testing. I worry about not being able to find drivers though
<unlmtd> TimePath: to test what
<TimePath> building a ROM with nix
<unlmtd> that would be awesome
<TimePath> w/o the android userland
<nschoe> unlmtd, "god fashion to be modern" uh? Okay, what's simpler than select-then-middle-click-to-paste? But I'll look this, thanks
<unlmtd> what model is it
<joko> nschoe: I think there was a GTK3 issue in Wayland with copy-paste earlier this month, are you up-to-date?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #25952: emacsWithPackages: wrap MacOS app (master...emacs-with-packages-darwin) https://git.io/vHU0m
NixOS_GitHub has left #nixos []
<TimePath> unlmtd: HTC Desire Z (omg it has a hardware keyboard!)
<unlmtd> ahahah
<unlmtd> im thinking of buying a n900 nokia to try
<unlmtd> but its 1/4 gb of ram so that would fit the lean-nixos better
<unlmtd> I have a couple old nexus4 ill try someday
<unlmtd> usb-networked servers
<TimePath> that sounds awful
freusque has quit [(Ping timeout: 255 seconds)]
Filystyn has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #25971: services.logind: add options for lid-switch behavior (master...systemd/logind-config) https://git.io/vHUhs
NixOS_GitHub has left #nixos []
henrytill_ is now known as henrytill
henrytill has quit [(Changing host)]
henrytill has joined #nixos
<LnL> you can't define a drv as a propatatedInput?
<LnL> it doesn't seem to be considered alive when it's referenced in the output
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vHUh0
<NixOS_GitHub> nixpkgs/master 0d0ab51 Michael Weiss: android-studio: 2.3.1.0 -> 2.3.2.0
NixOS_GitHub has left #nixos []
Bradyn2000 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHUhS
<NixOS_GitHub> nixpkgs/master 4018d3d romildo: tint2: 0.14.4 -> 0.14.5
<NixOS_GitHub> nixpkgs/master 9e8c45f Jörg Thalheim: Merge pull request #25969 from romildo/upd.tint2...
NixOS_GitHub has left #nixos []
Olgierd has joined #nixos
<Olgierd> hello, I've added a second nginx vhost and now phpfpm says “Primary script unknown” even though a) the script exists and is readable by phpfpm user b) the configuration is correct
<Olgierd> I read in the backlog that it is related to some changes in 17.03, but I didn't find it mentioned in the release enotes
mudri has joined #nixos
<Olgierd> how do I upgrade my configuration to 17.03?
<nschoe> joko, thanks for answering. I'm not using wayland, so I don't think it's this (also I'm up-to-date).
alphor has quit [(Quit: Bye!)]
<gchristensen> Olgierd: as root, `nix-channel add https://nixos.org/channels/nixos-17.03 nixos` then `nixos-rebuild boot --upgrade` and reboot
<Olgierd> is the reboot part required? I have 17.03 channel and am fully upgraded
<joko> nschoe: it's been a while since I've updated my NixOS and I don't have this issue. I would suggest you have a look at https://github.com/NixOS/nixpkgs/issues if anyone else has this issue and post there if not
<gchristensen> Olgierd: then no :)
<gchristensen> Olgierd: to be clear, you shouldn't chhange the stateVersion in your configuration.nix
<joko> gchristensen: and why is that?
<Olgierd> I did not — it's the version I installed originally
alphor has joined #nixos
<joko> I typically switch it after I upgrade successfully in a new channel
Olgierd_ has joined #nixos
cpennington has joined #nixos
<LnL> it's used to keep some things like postgres backwards compatible with the data you might have on disk
<gchristensen> joko: some stateful things about your system should stay the way they are through time
alphor has quit [(Client Quit)]
Olgierd has quit [(Quit: WeeChat 1.5)]
<gchristensen> like the host SSH keys were generated differently in a newer version, and we shouldn't change them
<joko> I see
<LnL> ofcorse you can look at the changelog and move/update your state accordingly
<Olgierd_> and… should I?
<nschoe> joko, Thanks, I'll take a look :/
<LnL> probably not, unless there's something specific you care about
<Olgierd_> unfortunately, still not working after a reboot
Olgierd has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHUjo
<NixOS_GitHub> nixpkgs/master 6f7670e Jörg Thalheim: nodePackages: split into v4/v6 package set...
<NixOS_GitHub> nixpkgs/master dd8dadb Jörg Thalheim: Merge pull request #25528 from Mic92/node-packages...
NixOS_GitHub has left #nixos []
<Olgierd_> configuration.nix: https://dl.olgierd.me/php.nix
<gchristensen> Olgierd_: I think you need to also paste your nginx config
civodul` has joined #nixos
civodul has quit [(Ping timeout: 240 seconds)]
<Olgierd_> https://dl.olgierd.me/vhost.nix is the server block enough?
Infinisil has quit [(Quit: leaving)]
<niksnut> shlevy: I suspect it has something to do with qemu, 9pfs and the switch from /tmp to /build for $TMPDIR
<Olgierd_> I'm still in doubt this is a nginx config problem, I've tested literally every way of gluing nginx and fpm
cpennington has quit [(Ping timeout: 260 seconds)]
johnw_ has joined #nixos
koserge has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vHTeZ
<NixOS_GitHub> nixpkgs/master b0dd215 Dmitry Tsygankov: bitcoin-classic: 1.2.3 -> 1.2.5
<NixOS_GitHub> nixpkgs/master 57b77e9 Joachim F: Merge pull request #25667 from DmitryTsygankov/DmitryTsygankov/bitcoin-classic...
NixOS_GitHub has left #nixos []
seagreen has quit [(Ping timeout: 260 seconds)]
hellrazor has joined #nixos
tomberek has quit [(Quit: Page closed)]
johnw__ has joined #nixos
johnw_ has quit [(Ping timeout: 268 seconds)]
endformationage has joined #nixos
stanibanani has joined #nixos
sigmundv has quit [(Ping timeout: 272 seconds)]
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
Mich2443 has joined #nixos
<Mich2443> Hi. I want to use a u2f with nixos. I added " security.pam.enableU2F = true; security.pam.enableU2F = true;" to config.nix. Now the module is marked as "auth sufficient" in the pam-directory.
<Mich2443> How can I make it required?
johnw__ has quit [(Ping timeout: 240 seconds)]
<nixos-users-wiki> "Wine" created by stanipintjuk https://git.io/vHTfu
darlan has joined #nixos
stanibanani has left #nixos []
<gchristensen> Mich2443: unfortunately, our pam module is a bit hard to work with / inflexible. that said, you can specify the text of the entire pam ruleset for a particular service and make it wahtever you want
<gchristensen> Mich2443: like security.pam.services.login.text
sigmundv has joined #nixos
m3tti has joined #nixos
stanibanani has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to master: https://git.io/vHTf6
<NixOS_GitHub> nixpkgs/master 881385d Joachim Fasting: linuxPackages.phc-intel: remove use of features.grsecurity...
<NixOS_GitHub> nixpkgs/master 16b6ee3 Joachim Fasting: nano: use https for meta.homepage...
<NixOS_GitHub> nixpkgs/master bfd3227 Joachim Fasting: dnscrypt-proxy: 1.9.4 -> 1.9.5...
NixOS_GitHub has left #nixos []
cpennington has joined #nixos
<bachp> I was just wondering if there is a way to create a nix shell expression with both python2 and python3 installed and select which one is the default. Currently it seems python -> python3, however I would like to change it to python -> python2 while still having python3 available. Any hints how to do this?
<Mich2443> gchristensen, thank you. How I still have to figure out what exactly should be in said file.
<gchristensen> Mich2443: yeah, and I don't know PAM very well
<dash> bachp: everything's "available", what do you want to do with it?
<gchristensen> Mich2443: here is where we create that file: https://github.com/NixOS/nixpkgs/blob/release-17.03/nixos/modules/security/pam.nix#L241
<bachp> dash: I'm trying to build an environment that is compatible with Yocto using buildFHSUserEnv and I need to have /usr/bin/python pointing to python2
<dash> bachp: OK. and what do you want to do with python3?
<bachp> dash: Yocto needs both of them ;) The bitbake build system moved to python3 but some older parts still require python2 and they assume that they can call it as /usr/bin/python
<dash> bachp: i guess put "ln -s ${python3}/bin/python usr/bin/python3" in extraBuildCommands?
<bachp> dash: I was hoping there was a way to change the priority of the packages in some way
<dash> bachp: not sure how that would help
<bachp> Because if I only add either python2 or python3 they both are symlinked as python
<dash> sure
<bachp> dash: but as soon as I install both the python3 interpreter wins
<bachp> I would also like to understand why
<dash> it's just going to do whichever was put in the envuronment last
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25700: xen service: Fix removing netfilter rules while stopping xen-bridge (master...xen-bridge-stop-fix) https://git.io/v9DCT
NixOS_GitHub has left #nixos []
<bachp> dash: I have the following expression now: https://pastebin.com/eDeejp8C If I change the order of python3 and python27 nothing changes still python3 is symlinked as python
apeschar has joined #nixos
<dash> bachp: OK
<dash> sounds like you will have to fix it manually then
<dash> i.e. in a build ocmmand
<apeschar> nixops deploy calls nix-copy-closures with --use-substitutes, which makes the host download files from the cache... this happens one by one. does anyone know whether it can be made to download multiple files at once?
<apeschar> like what happens when you do nix-build -j10 locally...
<bachp> dash: Ok :( But do you know how the priority comes to be? So why does python3 win?
<gchristensen> apeschar: so you want 1 target server to download multiple dependencies at once?
<apeschar> that's right
<gchristensen> I'm surprised it doesn't already
<apeschar> gchristensen: me too-- I've tried --max-jobs and --cores, but that doesn't influence the nix-copy-closures call
betaboon has joined #nixos
<gchristensen> apeschar: what does your target server's nix.maxJobs have set?
<gchristensen> by default that is 1
ixxie has joined #nixos
<ixxie> When I run nix-build in some directory with a default.nix, I can assume in the build process access to everything inside that directory?
<apeschar> gchristensen: 1, indeed. however, how would one set this from nixops without having to first change the config manually? that's what i'm struggling with
<gchristensen> you can assume it has access to your full disk, ixxie
<apeschar> gchristensen: perhaps it would help if I set nix.maxJobs in the NixOps config! i hadn't considered that yet since i figured it would only take effect _after_ the initial deployment...
<gchristensen> apeschar: well it would take effect after the first config deplay
<gchristensen> yep!
<ixxie> thanks gchristensen, I guess my problems are not nix related then
<apeschar> gchristensen: that's too late :P
<gchristensen> it would only take effect after your first config deploy indeed, but: (1) how often do you setup new nodes? (2) where are these nodes hosted?
<ixxie> did you see the SO question I posted btw?
<gchristensen> yes
<apeschar> gchristensen: not too often, and somewhere (UpCloud) where the pipe is a lot bigger than my local one :) I should probably set this sort of initial config in my disk image
<gchristensen> exactly
iMatejC has quit [(Remote host closed the connection)]
<ixxie> cool :) I figure formulating comprehensive questions can be just about the only helpful thing I can do at this point :P
<gchristensen> or have a pre-nixops phase where you prepare it with this sort of thing
<apeschar> gchristensen: that sounds like a better plan-- rebuilding the image for every little tweak will be a bit of a pain
bhipple has quit [(Ping timeout: 255 seconds)]
<apeschar> thanks!
bhipple has joined #nixos
<gchristensen> you're welcome! :)
justanotheruser has quit [(Ping timeout: 240 seconds)]
MatejC has joined #nixos
a13ph has joined #nixos
justanotheruser has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 5 new commits to release-17.03: https://git.io/vHTUI
<NixOS_GitHub> nixpkgs/release-17.03 77194b2 Joachim Fasting: nano: use https for meta.homepage...
<NixOS_GitHub> nixpkgs/release-17.03 d606d25 Joachim Fasting: dnscrypt-proxy: 1.9.4 -> 1.9.5...
<NixOS_GitHub> nixpkgs/release-17.03 daf0b31 Niklas Hambüchen: manual: Fix `addCheck` example having arguments in wrong order....
NixOS_GitHub has left #nixos []
MatejC is now known as iMatejC
m3tti has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25673: Pycharm 2017 -> 2017.1.2 (master...pycharm-2017.1.2-master) https://git.io/v9Xy8
NixOS_GitHub has left #nixos []
mizu_no_oto has joined #nixos
civodul` has quit [(Ping timeout: 240 seconds)]
nschoe has quit [(Quit: Program. Terminated.)]
Mich2443 has quit [(Ping timeout: 240 seconds)]
a13ph has quit [(Ping timeout: 260 seconds)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
ilyaigpetrov has joined #nixos
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25689: Android Studio Version Bump 2.2.3 -> 2.3.1 (master...master) https://git.io/v9MEh
NixOS_GitHub has left #nixos []
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25458: csound: add liblo to buildinputs to enable osc capabilities (master...csound-enable-osc) https://git.io/v9BdO
NixOS_GitHub has left #nixos []
ambro718 has quit [(Ping timeout: 260 seconds)]
asymmetric1 has joined #nixos
<bachp> dash: python3 doesn't seem to work as the user folder is provided by another derivation and is thus read only
<bachp> dash: sorry I mean extraBuildCommands doesn't work ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vHTTQ
<NixOS_GitHub> nixpkgs/master daa6552 Michael Raskin: marionette-harness: init at 4.4.0
NixOS_GitHub has left #nixos []
cpennington has quit [(Ping timeout: 245 seconds)]
slyfox_ has joined #nixos
eddyb has quit [()]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AndersonTorres opened pull request #25972: robotfindskitten: init at 2.7182818.701 (master...robotfindskitten) https://git.io/vHTTh
NixOS_GitHub has left #nixos []
slyfox has quit [(Ping timeout: 260 seconds)]
thblt has joined #nixos
eddyb has joined #nixos
systemfault has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gentoofreak opened pull request #25973: libopus: 1.1.3 -> 1.1.4 (master...feature/libopus-1.1.4) https://git.io/vHTkR
NixOS_GitHub has left #nixos []
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
bkchr has joined #nixos
pbogdan has joined #nixos
takle has quit [(Remote host closed the connection)]
sigmundv has quit [(Ping timeout: 260 seconds)]
fstd has joined #nixos
<fstd> Hi
ixxie has quit [(Quit: Lost terminal)]
<fstd> For some reason in our expression we have nmap, ... in our pkgs but not ipsec-tools, since its linux specific we figured its not in there by default? how do we import it?
k2s has joined #nixos
<gchristensen> fstd: what are you trying to be able to do?
<gchristensen> I don't understand
<LnL> the attribute name is ipsecTools
<simpson> fstd: `ipsecTools ? null, ` if you're just wanting to do it optionally.
<fstd> LnL: thanks, how would I have figured that out if I may ask?
<LnL> I usually use nix-repl '<nixpkgs>' and the tab completion
<LnL> nix-env -qaP also include the attribute paths
<fstd> thanks a lot
Wizek_ has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
takle has joined #nixos
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
takle has quit [(Ping timeout: 240 seconds)]
sigmundv has joined #nixos
<joko> Could anyone help me create my own channel for nixos? Currently I checkout channels/nixos-unstable and add a couple of commits on top of that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #25974: lightdm: allow cursor theme customisation. [WIP] (master...lightdm) https://git.io/vHTI7
NixOS_GitHub has left #nixos []
cpennington has joined #nixos
Olgierd_ has quit [(Quit: Konversation terminated!)]
<srhb> joko: I don't think there are any steps after that. :)
k2s has quit [(Quit: Leaving)]
<joko> srhb: I was looking for some guidance on generating nixexprs.tar.xz and binary-cache-url, testing that all the packages I want to be built are indeed there etc.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] georgewhewell opened pull request #25975: fwup: 0.14.2 -> 0.14.3 (master...update-fwup) https://git.io/vHTLo
NixOS_GitHub has left #nixos []
Filystyn has quit [(Ping timeout: 240 seconds)]
Wizek has quit [(Ping timeout: 246 seconds)]
Wizek_ has quit [(Ping timeout: 240 seconds)]
yegods has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
<thblt> Does anybody knows if NixOS can start the X session by simply running a user's ~/.xsession, if present?
<thblt> With Debian, I'm able to do that with LightDM, it's called "Default X Session" or something similar.
oleks has quit [(Remote host closed the connection)]
takle has joined #nixos
<thblt> Use case: I build my XMonad with Stack, so starting an X session = running a binary under ~
<thblt> Thanks!
yegods has quit [(Remote host closed the connection)]
<thblt> my XMonad *config, I mean
yegods has joined #nixos
<joko> thblt: I am doing something similar with sddm, at least sddm looks for ~/.xsession
<thblt> joko: Thanks,
<thblt> joko: trying right now :)
takle has quit [(Ping timeout: 240 seconds)]
yegods has quit [(Ping timeout: 258 seconds)]
oleks has joined #nixos
<thblt> joko: It works, thank you!
<joko> you're welcome
det has joined #nixos
<joko> My guess on having my own channel is to have a look at nixos/release-combined.nix and more specifically at nixos.channel
<MichaelRaskin> In what sense do you want to have your own channel?
simendsjo has quit [(Ping timeout: 260 seconds)]
<joko> MichaelRaskin: well, I want to get some commits to nixos-unstable faster and/or some testing ones
<MichaelRaskin> Why not just make a checkout and put it into NIX_PATH?
<joko> MichaelRaskin: this is similar to what I am doing ("sudo nixos-rebuild -I nixpkgs=/home/joko/playground/nixpkgs -I nixos-config=/etc/nixos/configuration.nix switch"), but I would like to automate it a bit more
<MichaelRaskin> export NIX_PATH?
<MichaelRaskin> If you say «some commits», your update already contains decisions
<MichaelRaskin> NIX_PATH can just point to checkouts
yegods has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #25976: WIP: Purge `stdenv.is*` platform predicates (master...no-stdenv-is) https://git.io/vHTmq
NixOS_GitHub has left #nixos []
<joko> MichaelRaskin: and would that work with autoUpgrade?
yegods has quit [(Remote host closed the connection)]
<MichaelRaskin> It probably runs in its own environment that will need changing
<MichaelRaskin> An it will only upgrade when you update the checkout anyway
alphor has joined #nixos
kirelagin has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
alphor has quit [(Client Quit)]
mkoenig has quit [(Ping timeout: 240 seconds)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
mkoenig has joined #nixos
systemfault has quit [(Read error: Connection reset by peer)]
systemfault has joined #nixos
bkchr has quit [(Ping timeout: 268 seconds)]
cpennington has quit [(Ping timeout: 240 seconds)]
bkchr has joined #nixos
mizu_no_oto has joined #nixos
<bkchr> Hi, I want to autostart yakuake, is there any way to define a autostart program?
<LnL> oh wow, I just discovered :s in nix-repl
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
mog has quit [(Ping timeout: 258 seconds)]
takle has joined #nixos
<joko> bkchr: kcmshell5 autostart and add it there?
johnsonav has joined #nixos
cpennington has joined #nixos
drakonis has joined #nixos
kirelagin has joined #nixos
Itkovian has joined #nixos
alphor has joined #nixos
alphor has quit [(Remote host closed the connection)]
bastian has joined #nixos
Itkovian has quit [(Client Quit)]
bkchr has quit [(Ping timeout: 240 seconds)]
bastian has quit [(Client Quit)]
bkchr has joined #nixos
Itkovian has joined #nixos
<gchristensen> do we have any open source electron apps packaged?
<drakonis> warning: name collision in input Nix expressions, skipping ‘/home/drakonis/.nix-defexpr/channels_root/nixos’
<drakonis> and i thought sddm-kcm was available, it isnt :(
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
betaboon has quit [(Quit: This computer has gone to sleep)]
FRidh has joined #nixos
bkchr has quit [(Ping timeout: 255 seconds)]
JagaJaga has joined #nixos
<FRidh> bachp: priority is set in the Python expressions in pkgs/development/interpeters/cpython/../default.nix . Could you open an issue? I may have used set the wrong priority in the past.
m0rphism has quit [(Quit: WeeChat 1.7.1)]
<pbogdan> gchristensen: atom? though that's building the package from .deb rather that building from source if that's what you meant
<bachp> FRidh: Thanks I just saw this. And by looking at nixpkgs I tought python2 has higher prority (-100) compared to python3 (-10). So I was wondering why it didn't work. But it turns out I was using an old nixpkgs version where https://github.com/NixOS/nixpkgs/commit/079353e20851073e9b5de183ab24414d7cd54ccb was missing. Now that I updated everything is working as expected. Thanks for the help.
mog has joined #nixos
exarkun has quit [(Ping timeout: 246 seconds)]
hellrazor has quit [(Ping timeout: 240 seconds)]
exarkun has joined #nixos
yegods has joined #nixos
hellrazor has joined #nixos
<gchristensen> pbogdan: yeah, I'm really wondering if we build any electron apps from source
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
AndreasO has joined #nixos
yegods has quit [(Ping timeout: 240 seconds)]
esmiurium has joined #nixos
<AndreasO> I was eager to install NixOS, but I just read that using Python on NixOS isn't without trouble.
systemfault has quit [(Read error: Connection reset by peer)]
mkoenig has quit [(Remote host closed the connection)]
<FRidh> AndreasO: virtualenv is a hassle, tox is broken afaik, and development mode is "not ideal". Aside from that I think it works fine, but I'm for sure biased :)
<AndreasO> FRidh: and pip?
<FRidh> any idea what to do to get the lines that are hidden due to mei 16 22:38:13 nixos kernel: systemd-shutdow: 38 output lines suppressed due to ratelimiting . I don't have this issue, but according to the person that does modifying services.journald.rateLimitBurst didn't help
<FRidh> AndreasO: depends how you use it I would say. You can create a virtualenv, and use pip from within it. You can also use a user site-packages though in my opinion you should never do that.
<AndreasO> FRidh: I mostly code in Racket now, that seems to work fine.
ambro718 has joined #nixos
Itkovian has joined #nixos
bkchr has joined #nixos
johnsonav has quit [(Ping timeout: 246 seconds)]
AndreasO has quit [(Quit: Found more important stuff than irc!)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Guest21382> Is zimbatm around? Been working on bundlerEnv and suddenly realized: it seems like multiple outputs is really appropriate here.
Itkovian has joined #nixos
Guest21382 is now known as judson
FRidh has quit [(Quit: Konversation terminated!)]
<judson> More generally, looking for advice on using mutliple outputs in this case.
johnsonav has joined #nixos
pie_ has quit [(Ping timeout: 260 seconds)]
hellrazor has quit [(Ping timeout: 246 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hellrazor has joined #nixos
bkchr has quit [(Ping timeout: 272 seconds)]
bennofs has joined #nixos
systemfault has joined #nixos
alphor has joined #nixos
alphor has quit [(Client Quit)]
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
det has quit [(Remote host closed the connection)]
det has joined #nixos
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
ertesx has joined #nixos
ertesx has quit [(Client Quit)]
stanibanani has quit [(Ping timeout: 240 seconds)]
ertesx has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
ertesx is now known as ertes
kirelagin has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
thc202 has quit [(Ping timeout: 268 seconds)]
<gchristensen> gosh, almost every step with Sia.tech has lead to a stubbed toe
Jackneilll has quit [(Remote host closed the connection)]
Guest97905 has quit [(Quit: Lost terminal)]
betaboon has joined #nixos
<nixos-users-wiki> "Documentation Gaps" created by nyarly https://git.io/vHTne
kirelagin has joined #nixos
<nixos-users-wiki> "Documentation Gaps" edited by nyarly https://git.io/vHTnJ
jmiven has quit [(Quit: WeeChat 1.7.1)]
<bachp> Is it possible to set hardeningDisable=[ "all" ] for a buildFHSUserEnv. So that whenever gcc is called inside the chroot it does not have the hardening flags set via cc-wapper?
jmiven has joined #nixos
agjacome has quit [(Quit: leaving)]
<symphorien> you can export it as an environment variable
<bachp> symphorien: I tried export hardeningDisable=all
<symphorien> That should do the trick, doesn't it ?
orivej has quit [(Ping timeout: 255 seconds)]
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] obadz pushed 1 new commit to master: https://git.io/vHTnV
<NixOS_GitHub> nixpkgs/master caa9a19 obadz: pythonPackages.libsoundtouch: 0.3.0 -> 0.4.0
NixOS_GitHub has left #nixos []
<bachp> symphorien: I think I need to pass it deeper so that yocto picks it up too.
systemfault has quit [(Read error: Connection reset by peer)]
ertes has quit [(Quit: Bye!)]
<nixos-users-wiki> "Nix NixOS NixOps in real world" edited by Mic92 https://git.io/vHTnK
<symphorien> Maybe in /etc/profile then
<nixos-users-wiki> "Configs" edited by Mic92 https://git.io/vHTn6
<symphorien> Or wrap gcc
ertes has joined #nixos
<bachp> symphorien: When I pass it to yocto via config it works so it indeed does the trick. By wrapping gcc you mean another warpper around cc-wrapper or to replace it completly?
<MichaelRaskin> Does NixOS_GitHub need special freenode access to make announcements as status change messages? Maybe the nixos-users-wiki bot could do it the same way?
<symphorien> I mean just another wrapper that sets the environment variable
<ekleog> MichaelRaskin: it's just running a /notice instead of a normal message
<bachp> symphorien: Is there an example how to do this in a nix buildFHSUserEnv? Or would it be possible to add an option to the upstream cc-wrapper that allows disabling hardening?
<ekleog> like this
<ekleog> (that said I don't know who manages this bot so can't do it)
<symphorien> You don't want to change stdenv.cc bacause it would trigger a rebuild of everything
<bachp> That makes sense
<bachp> What I'm trying to achive is to setup a nix-shell to make a yocto build on NixOS
<symphorien> I have never used buildfhsuserenv but if it takes a list of packages, just pass your modified gcc in the list
<gchristensen> makefu: ^ can you make nixos-users-wiki NOTICE the channel instead of MSG?
kampfschlaefer has quit [(Ping timeout: 272 seconds)]
<bachp> To achive this I would need a gcc inside the FHS env that doesn't have the hardening flags enabled
<symphorien> And yes maybe an option in gcc for that would make sens
orivej has quit [(Read error: Connection reset by peer)]
<bachp> symphorien: I think I know what you mean. I will give it a try, and if it works and makes sense I will come up with a PR. Thanks for the help.
<symphorien> All the more as gcc45 for example simply fails with hardening enabled (the options didn't exist at that time)
<MichaelRaskin> Thanks, ekleog
ambro718 has quit [(Ping timeout: 272 seconds)]
orivej has joined #nixos
exarkun has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25872: sudo: 1.8.19p2 -> 1.8.20 (master...update/sudo-1.8.20) https://git.io/v9pNo
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vHTci
<NixOS_GitHub> nixpkgs/master eaef55f Valentin Robert: proofgeneral_HEAD: fix for files removed upstream
<NixOS_GitHub> nixpkgs/master 3ba63d0 Joachim F: Merge pull request #25905 from Ptival/proofgeneral-head...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vHTcX
<NixOS_GitHub> nixpkgs/master 5e0802c georgewhewell: fwup: 0.14.2 -> 0.14.3
<NixOS_GitHub> nixpkgs/master 4e88906 Joachim F: Merge pull request #25975 from georgewhewell/update-fwup...
NixOS_GitHub has left #nixos []
leat has quit [(Ping timeout: 240 seconds)]
Filystyn has quit [(Remote host closed the connection)]
hiratara has quit [(Ping timeout: 272 seconds)]
yegods has joined #nixos
exarkun has joined #nixos
alphor has joined #nixos
hiratara has joined #nixos
drakonis has quit [(Ping timeout: 240 seconds)]
marsel has quit [(Ping timeout: 240 seconds)]
freusque has joined #nixos
alphor has quit [(Ping timeout: 245 seconds)]
ambro718 has joined #nixos
freusque has quit [(Quit: WeeChat 1.7)]
Zer000 has joined #nixos
<Zer000> Hello! I need some help with hydra. I've made a test repo that I builds perfectly using nix-build on my computer but hydra fails with "error: regex_error" https://github.com/Zer0-/hydra-tomltest/blob/master/default.nix
kirelagin has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> Zer000: does it give any line numbers or other details?
<Zer000> Nope
<Zer000> I can't debug it
<clever> Zer000: anything in the hydra-evaulator journal?
<Zer000> let me go see
betaboon has quit [(Quit: This computer has gone to sleep)]
<Zer000> It's trivial - I'm just converting a .toml file to a .json file, using the included parseTOML.nix library (originally from https://github.com/mozilla/nixpkgs-mozilla/blob/master/lib/parseTOML.nix) - and as you might guess I was originally trying to build something with rust-nightly
betaboon has joined #nixos
mkoenig has joined #nixos
<clever> yeah, i would expect that to work
endformationage has quit [(Quit: WeeChat 1.7)]
<Zer000> clever, this is the journal output http://dpaste.com/36YBA3K.txt
<clever> yeah, thats not right
<clever> Zer000: do you know if hydra is using a different version of nix?
<Zer000> clever, how can i check?
det has quit [(Ping timeout: 240 seconds)]
<Zer000> they're both on 16.09, it's unlikely
<Zer000> I can go to the server that my hydra is running on, clone the repo from github and run ./nix-build.sh and it works just fine.
det has joined #nixos
hiratara has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<clever> Zer000: i'm guessing it has to do with the regex in parseTOML
hiratara has joined #nixos
<Zer000> clever, well I don't know what to do about it. Should I submit an issue on github?
<Zer000> I guess that as a workaround I can always pre-convert my .toml files to .json and then go from there
<clever> yeah, i think thats all you can do
asymmetric1 has quit [(Ping timeout: 240 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
sigmundv has quit [(Ping timeout: 246 seconds)]
mellowmaroon has joined #nixos
<SovereignBleak> So I’ve been loving NixOS but I haven’t realized how poor my graphics performance has been until I partitioned off a part of my drive to do some video editing with Lightworks on Ubuntu (since we don’t have Lightworks packaged). I install Ubuntu's Nvidia Prime tool, use it to switch to the Nvidia card in my Optimus laptop and the performance is so much
<SovereignBleak> better than Bumblebee I wonder how I ever suffered this long.
<MichaelRaskin> Well, on my laptop (with Nix) I cannot make Bumblebee work, but Nouveau + Prime work fine
<mellowmaroon> Is there any way to disable interactive login for the root account?
<SovereignBleak> I’m not technical enough to package it but there’s a utility for Arch called nvidia-xrun similar to nvidia-prime if any packagers out there want to take a crack at it. https://github.com/Witko/nvidia-xrun/blob/master/README.md
<SovereignBleak> Nouveau gives terrible performance.
<mellowmaroon> Also, thanks for reminding me to set up my configuration with Nvidia stuff :)
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<MichaelRaskin> In my case my main problem is that I need working Nvidia card for the VGA output. Could Lenovo please get sold to Asus or something…
<MichaelRaskin> Well, DRI_PRIME=1 gives me some performance boost when switching from Intel to Nouveau
<MichaelRaskin> I don't trust Nvidia not to break some subtle X expectations in some corner cases, to be honest, so I use nouveau+modesetting
Nobabs27 has joined #nixos
systemfault has joined #nixos
<Nobabs27> yo how do I connect to wifi? The manual seems to have no info on this (im installing on a laptop).
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
mizu_no_oto has joined #nixos
<mellowmaroon> Nobabs27: I've always done it graphically after installing Gnome/KDE
<Nobabs27> well I can't get it installed without internet connection
<Nobabs27> if I have to I'll use ethernet, but the command dhcpcd does nothing
<mdash> Use "nmtui"
<Nobabs27> there is no nmcli either (networkmanager)
<mellowmaroon> Nobabs27: Oh right...sorry lol, I use the graphical installer with KDE, and set it up from there
<Nobabs27> command not found mdash
<MichaelRaskin> I just write wpa_supplicant.conf manually
<MichaelRaskin> It has a manpage, but I am not sure if it is on CD (hopefully it is)
<Nobabs27> so there is no ncurses app for this that comes with the installer?
<mellowmaroon> That's probably the easiest option if you're not installing inside the KDE
<mdash> Did you enable network manager in your configuration.nix?
<Nobabs27> its not installed yet mdash, im in the liveusb
<mdash> Ah the installer disk. Never mind
<mellowmaroon> I think nmtui is an ncurses app
<Nobabs27> yeah but the command isnt found
<Nobabs27> so, what is the service for networking called?
stepho has quit [(Ping timeout: 240 seconds)]
<mdash> On the installer I ended up running wpa_supplicant by hand
<Nobabs27> brb gonna try something
<mellowmaroon> Nobabs27, that will probably be easiest without a graphical env
<MichaelRaskin> I actually always use plain wpa_supplicant just because its config is versionable
cpennington has quit [(Ping timeout: 260 seconds)]
<mellowmaroon> NetworkManager doesn't use wpa_supplicant behind the scenes, does it?
<mellowmaroon> I prefer wpa_supplicant, but I don't like fighting GNOME/KDE
<Nobabs27> ok I cheated, hooked it up to ethernet and did systemctl restart dhcpcd
<Nobabs27> then once I get it installed I'll install network manager and be good to go
justelex has quit [(Ping timeout: 240 seconds)]
<Nobabs27> although it would be nice if the iso just included networkmanager :)
<mellowmaroon> For non-graphical setups, I think more people use wpa_supplicant, and that's included
<mellowmaroon> but anyway, glad you got things working :)
<MichaelRaskin> There is also wpa_cli
<Nobabs27> im going to an i3 setup once I get it done
<MichaelRaskin> Which even has command completion
stepho has joined #nixos
<mellowmaroon> Found something to disable root login for ssh at least...
<clever> mellowmaroon: i usualy set services.openssh = { enable = true; permitRootLogin = "yes"; passwordAuthentication = false; }; once the install is done
<clever> only ssh keypairs, no other way in
<Nobabs27> how do I chroot in to change some stuff?
<mellowmaroon> clever: so that disables interactive login as well?
<clever> Nobabs27: there is a "nixos-install --chroot" flag that does it all for you
<clever> mellowmaroon: it still allows interactive logins over ssh, but you need a keypair to get it
<Nobabs27> oh thank god
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<mellowmaroon> that's cool, never knew about nixos-install --chroot
pie_ has quit [(Quit: Leaving)]
pie_ has joined #nixos
pie_ has quit [(Changing host)]
pie_ has joined #nixos
<Nobabs27> I guess that the NixOS equiv of arch-chroot
<mellowmaroon> for me, the installation process was so short that I just redid the steps when I needed to change something for installation
<clever> if you remount an existing install and run nixos-install on it again, it will update it to match the configuration.nix
<mellowmaroon> right, that's how I did it
<clever> nixos-install is basicaly just a script to run nixos-rebuild under chroot, and deal with getting nix inside the rootfs
<Nobabs27> is nix-env -qa thow you search or...?
<Nobabs27> *how
<clever> Nobabs27: i usualy use nox or nix-repl to search
<Nobabs27> ah ok
<Nobabs27> brb
<mellowmaroon> what's nox?
<mellowmaroon> I've been using nix-env -qaP
<clever> a tool that will index nixpkgs and allow searching
<mellowmaroon> oh, neat :)
<Nobabs27> nix-repl command not found
<Nobabs27> ill try qaP
<clever> nix-repl has to be installed first, nix-env -iA nixos.nix-repl
<clever> same for nox
<mellowmaroon> qaP buffers it into "less", and there I used the / key
<mellowmaroon> thanks for the nox tip! :D I like it
ambro718 has quit [(Ping timeout: 272 seconds)]
<Nobabs27> well qaP is worse than the web interface, I searched networkmanager on both, only the web gave me results
<mellowmaroon> ...I didn't know there was a web interface either haha
hellrazor has quit [(Quit: WeeChat 1.8)]
<mellowmaroon> I think you just do "sudo nix-env -iA nixos.networkmanager"
<clever> there is also 'man configuration.nix'
<Nobabs27> yeah ima do that - first time installing something on nixos ;P
<Nobabs27> not to mention first time using
<clever> network manager is something that has to be enabled, not installed
<clever> since it changes system wide config
<Nobabs27> em wat
<Nobabs27> so I need to do another nixos install or?
<clever> in configuration.nix, set networking.networkmanager.enable = true;
<clever> and it will install it for you, and configure everything
JagaJaga has quit [(Ping timeout: 260 seconds)]
<Nobabs27> and I wont end up with two configs in grub, right?
<mellowmaroon> You put "networking.networkmanager.enable = true;" in your configuration.nix
<Nobabs27> yeah I got that part ;P
<mellowmaroon> You can delete older grub configs
<clever> any time you update configuration.nix, and rebuild, it updates the grub config to point to the latest
<Nobabs27> hm k
<mellowmaroon> I use 'nix-env --delete-generations old' and 'nixos-rebuild boot' to remove older gens
<Nobabs27> now do I also need to set my user in the config or can i just useradd like on other distros?
<mellowmaroon> you can do either way
<Nobabs27> k cool
<clever> Nobabs27: users.users.clever = { isNormalUser = true; };
<clever> maybe also: users.users.clever = { isNormalUser = true; extraGroups = [ "wheel" ]; };
<mellowmaroon> that will let that user use sudo
bennofs has quit [(Ping timeout: 246 seconds)]
stepho has quit [(Ping timeout: 260 seconds)]
svij1 has joined #nixos
markus1189 has joined #nixos
markus1199 has joined #nixos
stepho has joined #nixos
<Nobabs27> alrighty good ole nmcli dev wifi
<Nobabs27> the next command i have yet to remember
markus1219 has quit [(Ping timeout: 240 seconds)]
<mellowmaroon> oh yeah, is there a way to speed up the ~15sec wait during boot? Where it's waiting for modules to load
<gchristensen> mellowmaroon: is it waiting for a particular thing, or is it working on many things?
markus1209 has quit [(Ping timeout: 260 seconds)]
<mellowmaroon> gchristensen: It looks like kernel modules or something like that
<Nobabs27> nmcli dev wifi c ssid password 123 - sweet!
roconnor has joined #nixos
<gchristensen> mellowmaroon: can you do `journalctl -b0` and pastebin thee relevant logs?
<gchristensen> I have to go for supper, but can look after.
<mellowmaroon> gchristensen: sure thing
<mellowmaroon> gchristensen: and np
stepho has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
roconnor has quit [(Ping timeout: 240 seconds)]
roconnor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nyarly opened pull request #25980: BundlerEnv, now with groups and paths (master...bundlerenv_usecases) https://git.io/vHT4L
NixOS_GitHub has left #nixos []
<mellowmaroon> gchristensen: here's the boot log [https://pastebin.com/L5p2egPw]
roconnor has quit [(Remote host closed the connection)]
roconnor has joined #nixos
<mellowmaroon> gchristensen: but I didn't see messages like during boot (like 'waiting for X (15s/1m30s)')
<mellowmaroon> not X as in X11, X as a substitute for virtualbox modules or something like that haha
<Nobabs27> how do I get rid of old configurations?
<Nobabs27> I did 'nix-env --delete-generations old but I have like 4 of them in Grub
<clever> Nobabs27: grub isnt updated until you do another rebuild switch
<mellowmaroon> oh after that, do 'nixos-rebuild boot'
<Nobabs27> ah ok
roconnor has quit [(Ping timeout: 240 seconds)]
<mellowmaroon> oh that's right, I'm using systemd-boot, so my process might be a little different
<Nobabs27> I still have 4 of them
<clever> and nixos has its own profile, seperate from the default for nix-env
<Nobabs27> well, I just one config, the default config
<clever> yeah, thats normal, and you usualy want to keep all of the others
<Nobabs27> but I dont...
<clever> why?
<Nobabs27> bloat
<Nobabs27> I dont like bloat
<clever> they dont take up that much disk space
<Nobabs27> ...is there a way to get rid of them though?
<clever> nix-collect-garbage -d
<Nobabs27> then do I need to do a rebuild or no?
<clever> yes
<Nobabs27> I still have 4...
<clever> what 4 do you have?
<judson> Is there a way to write expressions for packages that are meant to be used in service modules but not installed directly?
<Nobabs27> Config 1, 2, 3, and 4 in t he NixOS - All Configurations part of the GRUB menu
<clever> Nobabs27: what are the names of them in grub.cfg?
<Nobabs27> long to write
<clever> Nobabs27: and is /boot correctly mounted when running nixos-rebuild?
<mellowmaroon> judson: I would think so, but I haven't written any installation-type nix expression stuff
<Nobabs27> NixOS - Configuration 4 (2017-05-21 - 17.03.1180.[hash here])
<Nobabs27> for example
<clever> Nobabs27: does "mount" show /boot as being mounted?
<Nobabs27> ill check
<Nobabs27> I don't have /boot as a sep partition
<Nobabs27> clever ^
<clever> can you throw /boot/grub/grub.cfg into a pastebin?
<Nobabs27> yeah lemme just install a gui and browser first lol
<clever> you can also "gist -p /boot/grub/grub.cfg" from the cli