<Infinisil> Well I'm doing it like this on my local machine
<clever> the boot partition cant be in the zfs pool
<Infinisil> Ahh yeah I'm using an EFI system partition locally
<Infinisil> Ookay let's create another partition and mount it on /mnt/boot
mudri has quit [(Ping timeout: 240 seconds)]
darlan has joined #nixos
<clever> Infinisil: grub uses the bios boot partition to store raw x86 executable code
<clever> if anything is done to that partition after a grub-install, the hdd will cease to be bootable
<Infinisil> Ahh I see, that makes sense then
<clever> with the old mbr style, grub just put it into 'unused' space between sector 0 and partition 0
<clever> but gpt uses more then just 1 sector, and thats an ugly hack to begin with
ertes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] spamntaters opened pull request #25933: Opera: 44.0.2510.857 -> 45.0.2552.812 (master...opera-update) https://git.io/vHJ4q
NixOS_GitHub has left #nixos []
<Infinisil> Alright doing this now:
<Infinisil> Device Start End Sectors Size Type
<Infinisil> /dev/vda1 4096 413695 409600 200M EFI System
<Infinisil> /dev/vda2 413696 8802303 8388608 4G Linux swap
<Infinisil> /dev/vda3 8802304 41943006 33140703 15.8G Linux filesystem
<Infinisil> /dev/vda15 2048 4095 2048 1M BIOS boot
<clever> looks good
<clever> vda1 will be your /boot
<Infinisil> ext4 or vfat for vda1?
<Infinisil> vfat I think
<Infinisil> I have vfat on my local machine, gonna use that
<clever> vfat should work either way
<clever> ext4 would be safer against improper shutdowns, but rule out efi
<Infinisil> Alright, /mnt/etc/nixos/hardware-configuration has the pool, the boot device and the swap, confguration is also correct
<Infinisil> Now I'll do nixos-install --root /mnt
* Infinisil crosses his fingers
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nh2 opened pull request #25934: Fix typo in manual about options without defaults (master...nixos-manual-module-option-never-fix) https://git.io/vHJ4H
NixOS_GitHub has left #nixos []
<Infinisil> Damnit it didn't work
sitwon has quit [(Ping timeout: 240 seconds)]
roconnor has joined #nixos
<clever> Infinisil: what error does it have on boot?
<Infinisil> Same as before, something about /boot not being found, wait I'll try to make a screencap (I have to use the stupid online console which clears output like immediately)
<Infinisil> And I need to use windows for that because the console doesn't work on firefox
<Infinisil> Or not, I can't even hard reset it, or it just takes forever
<clever> :(
johnramsden has joined #nixos
hellrazo1 has joined #nixos
<Infinisil> Okay it just takes forever
<Infinisil> Oh and also the console sometimes crashes the tab, and I if I miss the first 20 seconds of the bootup sequence I need to restart, ugh, I should really go to bed
nixon has joined #nixos
hellrazor has quit [(Ping timeout: 260 seconds)]
<johnramsden> Is there a way to compile modules into the kernel. Like what you do with mkinitcpio? There is boot.kernelModules but I I think those are just passed on the commandline at boot.
roconnor has quit [(Quit: Konversation terminated!)]
cpennington has quit [(Ping timeout: 240 seconds)]
Ross has quit [(Quit: ZNC - http://znc.in)]
Ross has joined #nixos
<clever> Infinisil: try symlinking /boot/grub.cfg to point to /boot/grub/grub.cfg ?
<Infinisil> Hm I can try, shouldn't be necessary though
<clever> Infinisil: line 1 also implies its looking for an FS with the label DOROOT
<Infinisil> grubs config should definitely be in /boot/grub/grub.cfg
georges-duperon has quit [(Quit: Leaving)]
<Infinisil> If you feel like poking around on the DO machine I could get you access to it, just if you're interested, you've helped me a ton already `:)
matthewbauer has joined #nixos
nixon has quit [(Quit: WeeChat 1.7.1)]
betaboon has quit [(Quit: This computer has gone to sleep)]
<clever> Infinisil: i have been thinking about looking into do again myself
<Infinisil> Cool
matthewbauer has quit [(Ping timeout: 240 seconds)]
derjohn_mob has quit [(Ping timeout: 255 seconds)]
kiloreux has quit [(Ping timeout: 240 seconds)]
Infinisil has quit [(Quit: Nighty night)]
derjohn_mob has joined #nixos
filterfish_ has quit [(Ping timeout: 272 seconds)]
s33se_ has joined #nixos
johnramsden has quit [(Quit: Leaving)]
s33se has quit [(Ping timeout: 260 seconds)]
Raimondii has joined #nixos
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
lambdamu has joined #nixos
<DavidEGrayson> I'm running Nix on the Windows Subsystem for Linux right now, it's chugging away at compiling GCC but it seems way slower than VirtualBox.
matthewbauer has joined #nixos
lambdamu_ has quit [(Ping timeout: 246 seconds)]
<simpson> All the compatibility of the Linux syscalls, with all the speed of the Windows I/O scheduler~
* simpson couldn't resist
<nh2> simpson: but Linux syscalls are very long-term ABI compatible, aren't they?
<nh2> Linux very rarely changes syscalls to not break userspace
<simpson> nh2: I guess I was thinking of the kernel ABI, not the syscalls, sorry.
<DavidEGrayson> indeed
svij1 has quit [(Ping timeout: 260 seconds)]
<DavidEGrayson> simpson's statement still applies, it's just a good thing and a bad thing combined
<dash> DavidEGrayson: a good description of _most_ software
sellout- has quit [(Quit: Leaving.)]
<DavidEGrayson> Ouch, I think it took like 10 minutes to build binutils
<dash> because most software has an old and a new part
matthewbauer has quit [(Ping timeout: 268 seconds)]
<dash> when you're lucky, the old part is the bad one
mbrgm_ has joined #nixos
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
uwap has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm_ is now known as mbrgm
uwap has joined #nixos
matthewbauer has joined #nixos
derjohn_mob has quit [(Ping timeout: 240 seconds)]
stepho has joined #nixos
acarrico has joined #nixos
<nixy> How many people here are using NixOS for work or are paid to work with it in some capcity?
<gchristensen> I do
<simpson> nixy: Technically, if my side business were profitable, then yes.
<nixy> Are you using entirely NixOS or only using it for certain roles? I kind of want to use Nix to manage dev environments at work, but I am not sure I could convince other people of the benefits
<simpson> 100% NixOS. I'm the proprietor, I got to choose, and I chose the only technology that I knew would let me even *do* it.
matthewbauer has quit [(Remote host closed the connection)]
<gchristensen> nixy: how big is the company you're at?
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
derjohn_mob has joined #nixos
filterfish has joined #nixos
<spacekitteh[m]> peti: can you update hackage-packages?
hexagoxel has quit [(Ping timeout: 260 seconds)]
exarkun has quit [(Read error: Connection reset by peer)]
<nixy> gchristensen: Its like 100 people
<nixy> I am also not one of the developers so I don't have much influence over how we do things, but I would like to try lol
zeus_ has quit [(Remote host closed the connection)]
<gchristensen> nixy: what is your role?
<nixy> gchristensen: Technical support, so pretty low in the ladder
<gchristensen> cool
filterfish has quit [(Ping timeout: 268 seconds)]
<nixy> We have open repositories and everyone can contribute stuff though
hexagoxel has joined #nixos
<gchristensen> cool
<gchristensen> are there ways you can use nix to solve your own problems at work?
<nixy> Kind of. The main problem I see Nix solving is bootstrapping our tools/development environments
<nixy> A lot of the tools we use don't have any packaged version and rely on iffy ill specified imperative instructions
exarkun has joined #nixos
<dash> nixy: some folks at my employer created a nixpkgs overlay that packaged work-specific tools
<nixy> ^ That. That is kind of how I want to start
<gchristensen> sounds good
<gchristensen> easiest way to start is to solve your own problems first
<dash> oh, i see it's not done as an overlay proper, but similar idea.
<nixy> So, one of the things about that is our development environment is a huge interconnected web of all our packages/services
<nixy> Is an incremental approach best? I feel like having stuff half in Nix half outside would be messy and turn people off
<nh2> nixy: To contribute to your poll, I too use it for work. For 3 use cases: System dependencies for our Haskell software, CI, and nixops deployments.
<dash> nixy: i would try to get to a point where there are things you can do entirely from the nix stuff you build
<dash> even if it isn't usable for all tasks immediately
<simpson> Yeah, go deep instead of wide.
proteusguy has joined #nixos
<DavidEGrayson> I've been setting up a dev environment with nix, hoping to use it for work eventually: https://github.com/DavidEGrayson/nixcrpkgs
<nh2> nixy: in any case, if you want people to get directly in contact with the nix related things (e.g. modify .nix files), you should ensure that you can provide good training. I found it has a nontrivial learning curve, and it really can get into the way when you don't understand what is going on and have nothing to ask.
<dash> nh2: i used nix for a while before i learned the language, now i'm ruined and don't see why everyone else has a hard time with it
<nixy> dash: Yeah I think Nix suffers pretty hard from the whole burden of knowledge thing
<simpson> nixy: I know Nix and Make, and Nix is easier than Make.
<dash> nixy: yes
<dash> OTOH the burden of ignorance isn't small either
<nh2> dash: I agree, now that I'm over the hill, I also find most things very easy going. But since I only started with it 2 months ago I still very well remember my burdens
<nixy> I kind of want to introduce it as a (almost) zero-knowledge solution to getting certain tools installed and ratchet up from there
<dash> nh2: yep
<dash> nixy: you can absolutely do that :)
<simpson> nixy, nh2: FWIW we have this problem in the Lojban community where the learning curve is sufficiently short and shallow that folks feel a reflex at the 3mo mark to write a tutorial blog post.
<dash> simpson and I tried to build some tools wrapping nix for some small use cases, we were not entirely successful
<simpson> Or like, uh, Haskell's Monad problem, where Monad is a fine typeclass but neophytes are still compelled to compare it to burritos/the Web/etc.
<nh2> I definitely had moments where I had to spend 6 hours to get some very basic stuff done (like, how can I make a mkDerivation that just contains a single file), that afterwards turned out super trivial. That kind of obstacle is not something you want 50 people to have at the same time without somebody available to immediately fast-forward their knowledge.
<nh2> nixy: My opinion is that when you are the support person, and you can just tell people "run ./company-nix-shell and all your tools will be available in PATH" and if it doesn't work, it's your job to fix it and not the people's, then that's a relatively easy setup
<simpson> nixy: My opinion is that your folks should know your tools, as a matter of company policy, and you should have docs to match. If folks use Puppet/Chef/etc., then there's already an internal culture of knowledge around those tools, right?
<nixy> simpson: I like the description 'cultue of knowledge'. It fits well because many things that we collectively know may or may not be documented, but I see you r point here
<nixy> Also, just saiyin this is great conversation and you guys are awesome <3
<simpson> nixy: It's an SRE term. The idea is that company culture should actively foster the writing and updating of documentation in order to elevate us above tribal knowledge.
asymmetric1 has joined #nixos
acertainkind has quit [(Read error: Connection reset by peer)]
phinxy has quit [(Read error: Connection reset by peer)]
systemfault has joined #nixos
nh2 has quit [(Quit: Leaving.)]
eacameron has quit [(Remote host closed the connection)]
asymmetric1 has quit [(Ping timeout: 246 seconds)]
MinceR has quit [(Ping timeout: 260 seconds)]
MinceR has joined #nixos
<nixy> I can't seem to figure out how I should be calling a default.nix that uses fetchgitPrivate
<clever> nixy: are you loading it with callPackage?
<nixy> So I am referencing this to try to get it to work https://github.com/NixOS/nixpkgs/issues/4004
<clever> nixy: you can configure the knownHosts system wide in nixos
<clever> nixy: and this appears to be a dup of an issue i already posted a full answer on
<nixy> clever: I am trying to run this on MacOS, so not sure if that really helps
<clever> nixy: ah, then you would need to manualy do the same thing, under /etc/ssh/
hamishmack has quit [(Quit: hamishmack)]
<clever> /etc/ssh/ssh_known_hosts
<nixy> Will that then solve it? I thought the issue was it identifying the private key not the public one
<clever> the private key is a seperate part, finding that link
<clever> that allows fetchgitPrivate to access the ssh agent
<nixy> This is a real pain in the ass. I feel like I might be better off asking people to download the repo themselves and using src = ./.
<clever> yeah, i usualy do that instead
<clever> but if the issue i opened on nix gets solved, then you could run nix-build with the right flag, and it just works
<clever> similiar to ssh -A
<clever> (but -A is already claimed in nix)
ericsagnes has quit [(Ping timeout: 246 seconds)]
ericsagnes has joined #nixos
ilyaigpetrov has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vHJ2t
<NixOS_GitHub> nixpkgs/master 28e05a0 Peter Hoeg: keybase-gui: 1.0.18 -> 1.0.23
NixOS_GitHub has left #nixos []
Filystyn has joined #nixos
matthewbauer has joined #nixos
hellrazo1 has quit [(Ping timeout: 240 seconds)]
jacob_ has joined #nixos
jacob_ is now known as Guest88530
hellrazo1 has joined #nixos
eacameron has joined #nixos
rcschm has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nixy opened pull request #25936: hss: init at 1.0.1 (master...init/hss) https://git.io/vHJa5
NixOS_GitHub has left #nixos []
<nixy> What does travis-CI actually do for Nix? It seems like a lot of the jobs fail and stuff gets merged anyways
svij1 has joined #nixos
cpennington has joined #nixos
trikl has joined #nixos
<trikl> Is there a nice way of making grub display all configs by default? (not have them in an inner menu)
<clever> trikl: i think you would need to modify the perl script that generates grub.cfg
<trikl> oh, too much effort
<nixy> trikl: Yeah it doesn't look like there are any options for that, so you would have to make one by editing the perl
rcschm has quit [(Remote host closed the connection)]
<trikl> my question comes because i would want to see what happens: currently, the kernel doesn't get booted when the default entry is selected and it does when the latest config is selected, even when they are exactl equal
<clever> trikl: can you gist the grub.cfg file?
<clever> trikl: the commandlines look identical
<trikl> i know, i don't understand what's happening
<clever> trikl: what error does it give if you just leave it to the default?
<trikl> none, it stays on the splash screen with no output
<trikl> i've tried with different timings, and it doesn't seem related
<clever> does grubenv exist?
<trikl> i'll check what that is
<clever> its a file in either /boot or /boot/grub/
marsel has joined #nixos
<trikl> It does
<clever> whats in it?
<trikl> Many hashes
<clever> looks normal
<clever> write support for filesystems in grub is a bit limited
<clever> so it generaly pre-allocates a lot of space in the grubenv file
<clever> so it can write to it in-place, without having to touch the FS metadata
<trikl> oh, i see
<clever> but some filesystems like zfs hash the crap out of the data, and wont like that
<clever> i dont know what grub does in that situation
<clever> but i always do ext4 for /boot if zfs is at play
<trikl> i have ext2 for /boot
<clever> trikl: i think if you rename unicode.pf2 and background.png, it will stay in plaintext mode
<trikl> there's also a switch for it in nixos i see
<clever> that sounds safer
<trikl> About to try it out! I should have connected to freenode through uni :(
kier has quit [(Quit: No Ping reply in 180 seconds.)]
trikl has quit [(Remote host closed the connection)]
trikl has joined #nixos
<trikl> No luck :( BTW, I should have mentioned that I use my libreboot's grub to load NixOS' grub's config. What happened is that I got the background from the previous grub config.
<clever> ah
<trikl> It has maybe something to do with the position of the menu entries? I'll try adding a dummy first entry and making the second the default
<clever> if your using a different grub, you may want to run insmod on everything nixos uses, before you source the nixos grub.cfg
<clever> ive found that the gentoo grub cant load the nixos grub modules
<clever> but if you pre-load the gentoo versions, it worked fine
marsel has quit [(Ping timeout: 268 seconds)]
kier has joined #nixos
<trikl> But shouldn't nixos' grub take care of loading the modules it needs?
<clever> it changes the module search path
<trikl> ooh
<clever> and tries to load modules that arent compatible with the grub core
<clever> another option, is to just chainload the nixos grub from the other grub
<clever> if you have another hdd for the mbr
<trikl> That's what I did. The thing is I'd ideally like to sign my /boot files and have them verified by libreboot's grub -- which is residing on chip
<trikl> I couldn't do that if I chainloaded
<clever> ah
<trikl> Time for a breakfast break!
<trikl> Thanks for the help clever!
cpennington has quit [(Ping timeout: 260 seconds)]
trikl has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHJwc
<NixOS_GitHub> nixpkgs/master 029125b Jörg Thalheim: postgresql: add man output...
NixOS_GitHub has left #nixos []
hamishmack has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
hamishmack has quit [(Client Quit)]
trikl has joined #nixos
simukis has joined #nixos
Filystyn has quit [(Quit: Konversation terminated!)]
Filystyn has joined #nixos
rcschm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25911: dale: 20170419 -> 20170519 (master...dale) https://git.io/vHvaJ
NixOS_GitHub has left #nixos []
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 246 seconds)]
rcschm has quit [(Ping timeout: 272 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25891: tcpreplay: init at 4.2.5 (master...pkgs/tcpreplay) https://git.io/v9jea
NixOS_GitHub has left #nixos []
snikkers has quit [(Remote host closed the connection)]
Filystyn has quit [(Quit: Konversation terminated!)]
orivej has quit [(Ping timeout: 246 seconds)]
catch22 has quit [(Quit: Leaving)]
markus1199 has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
markus1199 has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25885: rarfile: 2.6 -> 3.0 (master...up-rarfile) https://git.io/v9hDB
NixOS_GitHub has left #nixos []
matthewbauer has joined #nixos
takle has joined #nixos
orivej has joined #nixos
systemfault has quit [(Quit: Bye!)]
svij1 has quit [(Ping timeout: 240 seconds)]
GetalMear has joined #nixos
GetalMear has quit [(Client Quit)]
Myrl has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHJKc
<NixOS_GitHub> nixpkgs/master 72589c9 Jens Binkert: Typora: init at 0.9.29 (#25899)...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #25937: samba: 4.5.8 -> 4.6.3 (master...samba-4.6) https://git.io/vHJKl
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHJKB
<NixOS_GitHub> nixpkgs/master 2f45539 spamntaters: Opera: 44.0.2510.857 -> 45.0.2552.812
<NixOS_GitHub> nixpkgs/master 98fe402 Jörg Thalheim: Merge pull request #25933 from spamntaters/opera-update...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHJKR
<NixOS_GitHub> nixpkgs/master 58c17c7 romildo: elementary-icon-theme: 4.0.3 -> 4.1.0
<NixOS_GitHub> nixpkgs/master ab21a21 Jörg Thalheim: Merge pull request #25932 from romildo/upd.elementary-icon-theme...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #25938: emby service: allow changing data directory (master...emby-datadir) https://git.io/vHJKr
NixOS_GitHub has left #nixos []
mudri has joined #nixos
oida_ has joined #nixos
oida has quit [(Ping timeout: 255 seconds)]
proteusguy has quit [(Remote host closed the connection)]
ixxie has joined #nixos
<ixxie> heya
<ixxie> I've been trying to figure out this issue with bash interactive
<ixxie> it doesn't work when I try and run it from a script, but does when I input it directly to the shell, e.g. read -p "Prompt: " -i "default" -e VALUE will show the default when entered directly to the shell but not when executed withing a script
<nixy> Is the absh you are using to execute the script the same you are using as your shell?
orivej has quit [(Ping timeout: 246 seconds)]
<ixxie> nixy: the script is headed with the usual #!/usr/bin/env bash
<nixy> But do you have bashInteractive installed in your path? Try running nix-env -iA nixos.bashInteractive and running it again
<ixxie> well nixy, LnL said bashInteractive should be installed with it, and indeed it runs in my interactive shell
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHJ6c
<NixOS_GitHub> nixpkgs/master a3696aa Stefan Lau: networkmanager_fortisslvpn: init at 1.2.4
<NixOS_GitHub> nixpkgs/master 7c94371 Jörg Thalheim: Merge pull request #25925 from selaux/networkmanager_fortisslvpn...
NixOS_GitHub has left #nixos []
<ixxie> I will try anyway, hold on
<ixxie> nope
<nixy> Hmmm I just tried to replicate your issue and "default" showed up fine for me
athan has quit [(Ping timeout: 268 seconds)]
<ixxie> okay, super weird, I made a minimal example to run the same test as well and it works
athan has joined #nixos
<ixxie> it just doesn't work when I install it as a package :/
<ixxie> maybe I need to list a dependency in the Nix expression or something
matthewbauer has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHJ6d
<NixOS_GitHub> nixpkgs/master 1541140 Pascal Bach: emby service: allow changing data directory
<NixOS_GitHub> nixpkgs/master f059ddf Jörg Thalheim: Merge pull request #25938 from bachp/emby-datadir...
NixOS_GitHub has left #nixos []
<nixy> Can you share a pastebin for the Nix expression you were using?
justbeingglad has joined #nixos
Myrl has quit [(Quit: WeeChat 1.7.1)]
<ixxie> all of this represents my first attempt of packaging, and its a very simple collection of scripts really
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25909: matrix-synapse: 0.20.0 -> 0.21.0 (master...synapse_0.21.0) https://git.io/vHvue
NixOS_GitHub has left #nixos []
14WAA4X4M has joined #nixos
<14WAA4X4M> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHJiR
<14WAA4X4M> nixpkgs/master 2b7eb32 Tristan Helmich: matrix-synapse: 0.20.0 -> 0.21.0
<14WAA4X4M> nixpkgs/master a11ab62 Jörg Thalheim: Merge pull request #25909 from mayflower/synapse_0.21.0...
14WAA4X4M has left #nixos []
<LnL> wait, I see what's going on here
<nixy> ixxie: So since you aren't including bashInteractive in the dependencies it is using regular bash from stdenv
<LnL> the stdenv doesn't use bashInteractive
<nixy> LnL: Would just adding bashInteractive cause it to patch the shebangs with the interactive version?
<clever> nixy: if your using "#!/usr/bin/env bash", and bashInteractive comes first in $PATH, it should
<LnL> and it will run patchShebangs over your scripts resulting in them using the bash version without ncurses
<LnL> or add dontPatchShebangs = true;
thc202 has joined #nixos
<ixxie> aha
<ixxie> thanks for clearing that up :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25877: znc service: refactor config generation (master...update-znc) https://git.io/v9ph7
NixOS_GitHub has left #nixos []
DutchWolfie has joined #nixos
<ixxie> I didn't quite catch how to ensure that bashInteractive would override the normal one; simply listing it as a dependency didn't cut it
<ixxie> nixy - you meant to specify it as a a runtime dependency right?
<clever> nix doesnt have a way to list runtime dependencies, only build-time dependencies
filterfish has joined #nixos
<clever> anything your output references when its done installing, becomes a runtime dep
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
takle has quit [(Remote host closed the connection)]
<ixxie> so I guess I still need to follow up on LnL's suggestion since its bashInteractive isn't working yet
<ixxie> bingo :)
<nixy> The easiest way would be to tell it to not patch shebangs
<ixxie> thanks everybody
<nixy> \o/
<ixxie> is there somewhere I can ready about this shebang patching this?
<nixy> I am now wondering if there is a way to specify what packages to use to patchShebangs for stuff
<ixxie> all of this is hockus pokus to me atm
<clever> then it would rely on an interactive bash being in the $PATH at runtime, which is pretty much always there
<LnL> the fixupPhase rewrites all #!/usr/bin/env lines with. the absolute path of binaries it can find in PATH during the build
<LnL> that way you can run your script that uses perl, python, ... without having to install it globaly so env can find it
<ixxie> I noticed a lot of threads with people baffled at the lack of bashInteractive by default
<ixxie> anyway, easy enough to solve :)
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
filterfish has quit [(Ping timeout: 255 seconds)]
justbeingglad has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHJXG
<NixOS_GitHub> nixpkgs/master 9d86b49 risicle: python metaphone: init at 0.6 (#25868)...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25860: mynewt-newt: init at 1.0.0 (master...pjones/mynewt-newt) https://git.io/v9xx7
NixOS_GitHub has left #nixos []
iyzsong has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHJ1v
<NixOS_GitHub> nixpkgs/master a19efc1 Piotr Bogdan: xfce4-volumed-pulse: 0.2.0 -> 0.2.2.
<NixOS_GitHub> nixpkgs/master 33e10b8 Jörg Thalheim: Merge pull request #25864 from pbogdan/nixos-master...
NixOS_GitHub has left #nixos []
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] unaizalakain closed pull request #25873: metar: init at 20161013.1 (master...master) https://git.io/v9pxd
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] unaizalakain opened pull request #25939: metar: init at 20161013.1 (master...init-metar) https://git.io/vHJ1i
NixOS_GitHub has left #nixos []
filterfish has joined #nixos
<nixy> How do you invoke nix-shell on a default.nix in the nixpkgs tree?
<nixy> nvm I gots it
hellrazo1 has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Remote host closed the connection)]
hellrazo1 has joined #nixos
<ixxie> anybody else had problems building R recently?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHJM7
<NixOS_GitHub> nixpkgs/master c3cbbd0 Unai Zalakain: metar: init at 20161013.1
<NixOS_GitHub> nixpkgs/master e000fb0 Jörg Thalheim: Merge pull request #25939 from unaizalakain/init-metar...
NixOS_GitHub has left #nixos []
<nixy> So I am trying to do text replacement on a ruby file for a package, but not quite sure how to go about this
<nixy> It looks like the bundlerEnv function uses buildEnv, which doesn't have postinstall and only has a postBuild function
kampfschlaefer has joined #nixos
betaboon has joined #nixos
<betaboon> danbst: around ?
thblt has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 3 new commits to openssl-1.1: https://git.io/vHJyQ
<NixOS_GitHub> nixpkgs/openssl-1.1 76eb4b5 Robin Gloster: php70: 7.0.16 -> 7.0.19...
<NixOS_GitHub> nixpkgs/openssl-1.1 4c62edd Robin Gloster: Merge remote-tracking branch 'upstream/master' into openssl-1.1
<NixOS_GitHub> nixpkgs/openssl-1.1 7c8f27a Robin Gloster: php56: add patch to build with openssl 1.1
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
nh2 has joined #nixos
thblt has quit [(Ping timeout: 240 seconds)]
thblt has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
JayVii has joined #nixos
<srhb> Is there a way to make cabal2nix emit a default.nix-ish file that will work with nix-build ?
<srhb> oh, the shell derivation might work
Mateon3 has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to openssl-1.1: https://git.io/vHJS5
<NixOS_GitHub> nixpkgs/openssl-1.1 3c51afd Robin Gloster: coturn: 4.5.0.3 -> 4.5.0.6...
NixOS_GitHub has left #nixos []
Mateon1 has quit [(Ping timeout: 272 seconds)]
Mateon3 is now known as Mateon1
<ixxie> I wanna use builtins.fromJSON to convert a json file to a Nix value, but I am missing how to fetch the file into a string first
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 5 new commits to master: https://git.io/vHJ9n
<NixOS_GitHub> nixpkgs/master 2944ca8 Robin Gloster: coturn: 4.5.0.3 -> 4.5.0.6...
<NixOS_GitHub> nixpkgs/master d0ffb23 Robin Gloster: php70: 7.0.16 -> 7.0.19...
<NixOS_GitHub> nixpkgs/master 8952d75 Robin Gloster: duo-unix: 1.9.19 -> 1.9.20...
NixOS_GitHub has left #nixos []
<ixxie> aha, builtins.readFile >.<
<ixxie> duh
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
<LnL> yes, or pass it in as arguments for the expression
<ixxie> so I can do builtins.fromJSON ./myfile.json?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHJHv
<NixOS_GitHub> nixpkgs/master 330048e Valérian Galliat: timelapse-deflicker: init at 142acd1 (#25904)...
NixOS_GitHub has left #nixos []
<ixxie> also, how do I remove an element from a set?
<LnL> I mean doing it outside of nix
92AAA38KH has joined #nixos
<92AAA38KH> [nixpkgs] Mic92 closed pull request #25879: confluent-kafka: init at 0.9.4 (master...add-kafka) https://git.io/v9hJJ
92AAA38KH has left #nixos []
17SAA2OTW has joined #nixos
<17SAA2OTW> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHJHY
<17SAA2OTW> nixpkgs/master d0d30df Michael Lieberman: confluent-kafka: init at 0.9.4...
<17SAA2OTW> nixpkgs/master c14109c Jörg Thalheim: Merge pull request #25879 from mlieberman85/add-kafka...
17SAA2OTW has left #nixos []
<LnL> nix-instantiate ./foo.nix --argstr data "$(curl ...)"
<LnL> with an expression like { data }: (builtins.fromJSON data).foo.bar
<gchristensen> ixxie: removeAttrs -- https://nixos.org/nix/manual/
<ixxie> LnL, seems a bit beyond me at this point, I never messed around on that level :P
<ixxie> gchristensen: thanks :)
anton__ has quit [(Remote host closed the connection)]
anton__ has joined #nixos
<LnL> gchristensen: do you use kwm or did you not like it?
<gchristensen> LnL: I gave it a try during crunch time and had to undo it, plus the accessibility prompt spam was intense
<LnL> yeah
<gchristensen> I'll give it another look next week though
<LnL> check out services.khd.i3Keybindings in that case :)
sigmundv has joined #nixos
<nixy> I use kwm, it is okay
<nixy> Configuring it is a pain and it barely meets my needs, but it is the closest I can get to nice tiling wm on os x
<gchristensen> oohhhh nice lnl
takle has joined #nixos
<LnL> it's kind of annoying to get started if you don't have any defaults
mudri has quit [(Ping timeout: 240 seconds)]
<ben> (firefox:17766): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
<ben> Trace/breakpoint trap
<ben> rip firefox
Infinisil has joined #nixos
iyzsong has quit [(Ping timeout: 240 seconds)]
<ixxie> any clues as to why something like https://pastebin.com/xm4J7DK3 would throw a "cannot coerce function to string" error?
<gchristensen> that is most verbose
betaboon has quit [(Quit: This computer has gone to sleep)]
DutchWolfie has quit [(Quit: Konversation terminated!)]
<ixxie> I am not skilled enough to make it any better atm xD
<gchristensen> ixxie: I'd make a trace call to see what's happening: https://gist.github.com/grahamc/6955855a19c254788738cb9d584c90f5
betaboon has joined #nixos
sigmundv has quit [(Ping timeout: 260 seconds)]
<ixxie> thanks gchristensen, what is the difference between this approach an something like --show-trace
<gchristensen> that shows a backtrace
<gchristensen> this shows the value
<ixxie> its normal for this to take a while right?
<ixxie> because its been running for a couple of minutes now
<gchristensen> erm sorry
<ixxie> aaah thats more like it
<ixxie> was it tracing through all of pkgs? :P
<ixxie> anyway, it spits out trace: { rev = "5277d96745afcc04a0873102f4a5f80cfc68fa23"; sha256 = "17h2ijb50q76al72hpggv35bbqiayyzvybmfwyx1cr5xzlpvzcqh"; url = "https://github.com/teozkr/Sbtix"; }
<ixxie> which is what I found with my nix-repl experiments anyway
<gchristensen> great
darlan has joined #nixos
<ixxie> with clearly isAttrs :P
<ixxie> which*
<gchristensen> now you should --show-trace b/c it seems the error isn't here _however_ Sbtix's default.nix probably is a function you need to call when you import
<teozkr> actually
georges-duperon has joined #nixos
<teozkr> you probably *don't* want to import default.nix, since it doesn't really play nice with overrides
<gchristensen> speak of the devil himself
<teozkr> :D
<teozkr> sorry, for some reason my client didn't trigger the alert before now haha
<gchristensen> do you highlight on sbtix?
<teozkr> yeah
<gchristensen> dude
<ixxie> oh :P
<ixxie> well his name is also in the url
<teozkr> :P
<teozkr> anyway
<teozkr> you'd probably want to pkgs.callPackage sbtix-tool.nix instead
<teozkr> but yeah, default.nix gives a function that takes your nixpkgs
<ixxie> well, that would be a shame, because my idea (which may be stupid) was to automatically track branchs of git repos with default.nix's in them, updating jsons with the latest hashs, and then fetching
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vHJ7u
<NixOS_GitHub> nixpkgs/master b447f62 Robin Gloster: bind: 9.10.4-P6 -> 9.10.5
NixOS_GitHub has left #nixos []
<ben> what's the simplest way to build binaries on nixos aimed at non-nix systems? like, without the loader and all library paths hardwired and not shipping a whole closure or anything, but ideally still based on stuff in nixpkgs.
<ben> probably a regular build and then some reverse patchelf dance?
<gchristensen> ixxie: you can still do that though
<ixxie> I never could understand those show-traces >.<
<LnL> I think you have a function in environment.systemPackages
<gchristensen> you're not calling the function you're importing
<gchristensen> instead of importing the default.nix, pkgs.callPackage sbtix-tool.nix
<teozkr> or rather
<teozkr> pkgs.callPackage "${blah-however-you-fetch-sbtix}/sbtix-tool.nix" {}
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vHJ7d
<NixOS_GitHub> nixpkgs/master b21540c Shea Levy: coq: Add emacs buffer setup
NixOS_GitHub has left #nixos []
<ixxie> I am using sbtix as a test case, I wanna generalize this bit of code to import anything, hence default.nix is quite crucial as an approach
<ixxie> LnL: well I guess so, because that code is putting sbtix in systemPackages....
<gchristensen> well then it is lucky that your first test case points out an important part of the way you use your code
<gchristensen> that sometimes you don't want the default.nix
bennofs has joined #nixos
<ixxie> I am still having trouble understanding why this is so
<gchristensen> for NixOps you want to import release.nix not default.nix
<ixxie> so default.nix is really designed for nix-shell right?
<gchristensen> hmm shell.nix is definitely
Azo has quit [(Quit: WeeChat 1.7.1)]
<ixxie> so what is the paradigm usecase for default.nix?
<ixxie> are there even agreed upon standards for this sort of thing?
<gchristensen> I think my answer would be "it depends on the project" and then that probably means "not really"
<gchristensen> gotta run, good luck :)
<ixxie> thanks for the help gchristensen, have a nice and sunny evening
<teozkr> my understanding is, default.nix is for nix-build
<teozkr> and shell.nix is for nix-shell
<ixxie> what baffles me still is that this import method works when I manually supply the attribute set
<teozkr> I don't think there is any common standard for the "release product" :/
<teozkr> hm?
<teozkr> tbh
<teozkr> I wish nix-build would start running the derivations through callPackage
<teozkr> then again, that would probably couple it too tightly to nixpkgs, hmm..
<nixy> Whats the difference between what nix-build does and callPackage?
takle has quit [(Remote host closed the connection)]
mudri has joined #nixos
<ixxie> teozkr: correction, it doesn't work, and I now see this method worked in the past but not with your latest revisions
takle has joined #nixos
<teozkr> nixy: nix-build does the equivalent of importing it and calling it with no arguments if it's a function
<teozkr> or just importing it if it's a derivation
<teozkr> ixxie: oh, okay
<teozkr> it *should* work if you just provide an empty attrs ({}) to your imported default.nix
<teozkr> if you just want to get it up and running asap
<ixxie> well the goal is a robust solution in which one could follow a number of repos, so I don't wanna do something fragile like that (I am inferring fragility from your tone here)
<ixxie> I guess I will look into this release.nix thing, and simply fork whatever repos don't have one and add it
<ixxie> maybe that could be a good candidate for such a standard
takle has quit [(Ping timeout: 260 seconds)]
<ixxie> I am hoping to have a convenient way for a dev team's main ops server to track and autodeploy branches of interest in particular repos
<ixxie> the hope being that everything could be managed via git+NixOps/Disnix
takle has joined #nixos
<teozkr> ahh, nice
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25808: cvc4: 1.5pre-smtcomp2016 -> 1.5pre-20170514 (master...cvc4fix) https://git.io/v9dN9
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vHJds
<NixOS_GitHub> nixpkgs/master 877f95f Shea Levy: nix-buffer: 3.0.0 -> 3.0.1
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25812: brotli: 0.5.2 -> 0.6.0 (master...update/brotli-0.6.0) https://git.io/v9dj7
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHJd2
<NixOS_GitHub> nixpkgs/master 72e5064 Robin Stumm: znapzend service: fix autostart
<NixOS_GitHub> nixpkgs/master 7587a4a Jörg Thalheim: Merge pull request #25802 from dermetfan/fix-znapzend-autostart...
NixOS_GitHub has left #nixos []
darlan has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHJdr
<NixOS_GitHub> nixpkgs/master f1ab9f3 Antonio Malara: removing the advise to add virtualbox's guest additions in configuration.nix...
<NixOS_GitHub> nixpkgs/master f1b2b99 Jörg Thalheim: Merge pull request #25798 from biappi/patch-1...
NixOS_GitHub has left #nixos []
takle has joined #nixos
takle_ has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Ping timeout: 246 seconds)]
ilyaigpetrov has quit [()]
ilyaigpetrov has joined #nixos
rcschm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25797: chromedriver: Update and make available for linux-i686 and darwin (master...ubiquitous-chromedriver) https://git.io/v95xN
NixOS_GitHub has left #nixos []
betaboon has quit [(Quit: This computer has gone to sleep)]
<ixxie> does anybody know anything about how this release.nix thingy is supposed to work?
thblt has quit [(Remote host closed the connection)]
anton__ has quit [(Ping timeout: 255 seconds)]
anton__ has joined #nixos
eacameron has joined #nixos
darlan has joined #nixos
darlan has quit [(Client Quit)]
<nh2> in a NixOS module, to the things in `imports = []` necessarily have to be paths or can they also be inline expressions?
betaboon has joined #nixos
trikl has quit [(Ping timeout: 260 seconds)]
trikl has joined #nixos
sitwon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vHJbH
<NixOS_GitHub> nixpkgs/master 34bdf45 ryneeverett: lxpanel: init at 0.9.3...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #25421: lxpanel: init at 0.9.3 (master...init-lxpanel) https://git.io/v98pf
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Raimondii has joined #nixos
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
pbogdan has joined #nixos
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
ixxie has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHJNH
<NixOS_GitHub> nixpkgs/master f97180c Antoine Eiche: pythonPackages.rfc3986: 0.2.2 -> 0.4.1
<NixOS_GitHub> nixpkgs/master c1a5754 Jörg Thalheim: Merge pull request #25751 from nlewo/pr/rfc3986...
NixOS_GitHub has left #nixos []
proteusguy has joined #nixos
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHJAw
<NixOS_GitHub> nixpkgs/master 9694567 Antoine Eiche: pythonPackages.pika-pool: init at 0.1.3...
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25750: pythonPackages.pika-pool: init at 0.1.3 (master...pr/pika-pool) https://git.io/v9QTW
NixOS_GitHub has left #nixos []
bennofs has quit [(Ping timeout: 246 seconds)]
<pbogdan> I'm trying to write a nix expression for tcptraceroute, here's what I've got so far https://dpaste.de/TNfE but it's erroring out at linking stage https://dpaste.de/uj9w Any ideas how I could fix it?
<pbogdan> seems to have no trouble finding the libraries at configure time so I don't understand what could be causing the issue
<Acou_Bass> eey folks, im trying to package up a python/gtk3 program for using the steam controller... the package builds fine but when i run it it says IOError: [Errno 2] No such file or directory: '/usr/include/linux/input.h' - can anyone assist? :D
cpennington has joined #nixos
stepho has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
takle_ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #25940: chromium: 57.0.2987.133 -> 58.0.3029.110 + build fixes (master...update-chromium) https://git.io/vHJxM
NixOS_GitHub has left #nixos []
takle has joined #nixos
<teozkr> Acou_Bass: did you add the linux headers to buildInputs?
madsa has joined #nixos
madsa has quit [(Client Quit)]
<teozkr> oh yeah
<teozkr> are you building ynsta's steamcontroller?
<teozkr> is what I used to use on my HTPC
<teozkr> might be a bit outdated though..
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Acou_Bass> teozkr: im not building that program no, although i think your gist will help ;D
<Acou_Bass> i think last time i tried this, it turns out /usr/include/linux/input.h was hard-coded into the python code
<teozkr> ah yup :/
<teozkr> hence the sed bit there
<Acou_Bass> yarr ill try adding a similar line hehe, thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHJhq
<NixOS_GitHub> nixpkgs/master 3a084a8 David Waern: samsung-unified-linux-drive: Fix sane driver by patching rpaths...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25779: samsung-unified-linux-drive: Fix sane driver by patching rpaths (master...samsung_scanner) https://git.io/v97Mn
NixOS_GitHub has left #nixos []
<Acou_Bass> teozkr: IT WORKED :D thanks!
<teozkr> :D
<Acou_Bass> just in case you wanted it
<Acou_Bass> xD
<Acou_Bass> ill push it upstream once ive cleaned it up a bit
cfricke has joined #nixos
<disasm> Thanks Mic92 for the review! Sadly disasm was not available on github when I joined :(
<teozkr> nice
<teozkr> I kinda gave up having it play nice with steam itself :(
<Acou_Bass> i use it for emulators... and its a pain to add emulators to steam properly so yeah hehe
<teozkr> ahh
<teozkr> basically, my use case was to have it act as an xbox controller for kodi
<teozkr> but to use steam's native support for games
sitwon has quit [(Ping timeout: 240 seconds)]
sitwon has joined #nixos
<trikl> I'm trying to create a derivation which has two srcs. This srcs aren't zip files, but simply the files I want themselves. What should the buildCmd fir stdenv.mkDerivation be?
<Acou_Bass> doesnt kodi have a thingy for launching steam from within it?
<Acou_Bass> ohhh wiat yeah i understand
Itkovian has joined #nixos
asymmetric1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Kendos-Kenlen opened pull request #25941: idea.webstorm: 2017.1 -> 2017.1.3 (master...webstorm-2017.1.3) https://git.io/vHJjc
NixOS_GitHub has left #nixos []
iyzsong has joined #nixos
cpennington has quit [(Remote host closed the connection)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<pbogdan> seems like I fixed my tcptraceroute problem, didn't notice "-static" https://dpaste.de/uj9w#L1
Itkovian has joined #nixos
<teozkr> Acou_Bass: yeah it does
<teozkr> but kodi doesn't know what to do with steam controllers
<Acou_Bass> yeahh
Itkovian has quit [(Client Quit)]
<Acou_Bass> so you launch kodi with the sc-controller daemon to make it see it as an xbox... but then when you fire steam up, steam shrugs its shoulders
<teozkr> yup
<Acou_Bass> weird
<Acou_Bass> i mean, makes sense... but weird;D
<teozkr> so I had kodi's steam launcher kill sc-controller as a pre-launch script
<Acou_Bass> yeah
<teozkr> (and the reverse, start sc-controller after shutting down)
<teozkr> but for some reason steam still doesn't like that
koserge has joined #nixos
<Acou_Bass> i thought steam added a way to change the 'default' controller setup, but not sure if that was just me dreaming
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
<S0rin> Hey, I am porting some cron task to systemd service on nixos, it is based on a user-script that use user ssh alias and provide advanced backup process, but when I start the service I get the error that executable path is not absolute
<S0rin> here my service http://dpaste.com/3XP2378
<S0rin> And I started it with systemctl --user start backup-save_prod-syncrm.service
<S0rin> Do you know a way to make it work ?
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vHUem
<NixOS_GitHub> nixpkgs/master 874b81b Joachim Fasting: treewide: s,enableParallelBuild(s),enableParallelBuilding,g
NixOS_GitHub has left #nixos []
<ToxicFrog> S0rin: what does `systemctl --user show backup-save_prod-syncrm.service` say? That will tell you what it thinks the executable path is.
<S0rin> ToxicFrog: Executable path is not absolute, ignoring: bash /home/s0rin/bin/backup/backup.sh -f ovhprod:/home/s0rin/save_prod -t /raid/backup -m SYNCRM -l 300
bennofs has joined #nixos
<ToxicFrog> That's not what I asked, but sure
<ToxicFrog> It doesn't look like the systemd unit it's seeing is the same one you pasted
<ToxicFrog> Did you daemon-reload after nixos-rebuild?
<S0rin> ToxicFrog: Sorry, No only nixos-rebuild switch
<ToxicFrog> try systemctl --user daemon-reload
<ToxicFrog> And then try again
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ToxicFrog> Every time you change the unit files you need to daemon-reload (with or without --user depending on whether they were user or system units)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #25942: hbase: 0.98.24 -> 1.3.1 (master...hbase-1.3.1) https://git.io/vHUe4
NixOS_GitHub has left #nixos []
betaboon has quit [(Quit: This computer has gone to sleep)]
peacememories has joined #nixos
athan has quit [(Ping timeout: 240 seconds)]
<S0rin> ToxicFrog: Here the show on the service http://dpaste.com/3NF4WR0
Itkovian has joined #nixos
betaboon has joined #nixos
takle has quit [(Remote host closed the connection)]
Itkovian has quit [(Client Quit)]
RayNbow`TU has quit [(Read error: Connection reset by peer)]
RayNbow`TU has joined #nixos
takle has joined #nixos
athan has joined #nixos
georges-duperon has quit [(Ping timeout: 246 seconds)]
jsgrant_ has joined #nixos
<ToxicFrog> S0rin: this is after a daemon-reload? it looks fine
<S0rin> Yes but it works now thank you !
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<S0rin> I was pretty sure that nixos-rebuild restart systemd daemon if new / changed service in the new config
<ToxicFrog> IIRC, it does it for the system systemd
<ToxicFrog> But not for user instances
<S0rin> ToxicFrog: Ah I didn't know that thanks !
takle has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
evangeline has joined #nixos
<evangeline> hi, my /nix has grown quite a lot after using the system for a while and I've noticed that I have a number of different versions of the same package installed on the system. Is there a way to minimize the disk space by removing the older versions of all packages. The "nix-collect-garbage -d" doesn't seem to be meant for doing this, any ideas how to do what I'm requesting?
Itkovian has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
cfricke has quit [(Ping timeout: 255 seconds)]
<Infinisil> That's exactly what nix-collect-garbage does
<Infinisil> It removes everything your current system doesn't need
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
Infinisil has quit [(Ping timeout: 245 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<evangeline> indefini: is there a way to print all versions of installed package?
peacememories has joined #nixos
iyzsong has quit [(Ping timeout: 255 seconds)]
Itkovian has joined #nixos
<teozkr> evangeline: ls /nix/store/*-package-name-*
<grw> in wpa_supplicant package, wpa_supplicant.conf is only generated if wireless.networks is defined. but i think it should be if networks OR if userControlled = true
<grw> at the moment, wireless.enable = true and wireless.userControlled = true does not work without declaring networks
sziszi has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sziszi has joined #nixos
marsel has joined #nixos
Jackneilll has joined #nixos
<ixxie> gchristensen, teozkr, LnL, nixy - I posted this since I think there is a lack of documentation on it: http://stackoverflow.com/questions/44088192/when-and-how-should-default-nix-shell-nix-and-release-nix-be-used
ertes has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25395: srcml: init -> 0.9.5 (master...srcml) https://git.io/v9lPp
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vHUUY
<NixOS_GitHub> nixpkgs/master bc78028 Pooyan Khosravi: ruby-modules gem-config: add rainbow...
<NixOS_GitHub> nixpkgs/master f410236 Jörg Thalheim: Merge branch 'master' into feature/fix_rainbox_gem_deps
<NixOS_GitHub> nixpkgs/master aa64d81 Jörg Thalheim: Merge pull request #25739 from pekhee/feature/fix_rainbox_gem_deps...
NixOS_GitHub has left #nixos []
<ixxie> anybody familiar with pragmatism? Especially in the philosophy of language?
<ixxie> oops, wrong channel
<ixxie> >.<
acarrico has quit [(Quit: Leaving.)]
cpennington has joined #nixos
tilpner has quit [(Quit: :wq)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vHUUK
<NixOS_GitHub> nixpkgs/master ee30a67 Desmond O. Chang: yank: 0.8.0 -> 0.8.2
<NixOS_GitHub> nixpkgs/master 6f5c293 Jörg Thalheim: yank: depends on xsel
<NixOS_GitHub> nixpkgs/master 0eaddb0 Jörg Thalheim: Merge pull request #25662 from dochang/yank...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25231: root: 6.08.02 -> 6.09.02 (master...root_6.09.02) https://git.io/v9YcS
NixOS_GitHub has left #nixos []
nh2 has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHUTs
<NixOS_GitHub> nixpkgs/master 6b9996f Armijn Hemel: hwdata: 0.291 -> 0.300...
<NixOS_GitHub> nixpkgs/master 0b21bd9 Jörg Thalheim: Merge pull request #25748 from armijnhemel/hwdata...
NixOS_GitHub has left #nixos []
cfricke has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vHUTy
<NixOS_GitHub> nixpkgs/master 1e31715 Maximilian Bosch: i3lock-pixeled: init at 1.1.0
<NixOS_GitHub> nixpkgs/master 1deb1a3 Jörg Thalheim: i3lock-pixeled: use substituteInPlace
<NixOS_GitHub> nixpkgs/master 196fa7e Jörg Thalheim: Merge pull request #25761 from Ma27/new-package/i3lock-pixeled...
NixOS_GitHub has left #nixos []
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vHUk0
<NixOS_GitHub> nixpkgs/master de26307 Tuomas Tynkkynen: kernel: 4.10 is end-of-life...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to release-17.03: https://git.io/vHUkD
<NixOS_GitHub> nixpkgs/release-17.03 aaa743e Tuomas Tynkkynen: kernel: 4.10 is end-of-life...
NixOS_GitHub has left #nixos []
cfricke has quit [(Quit: WeeChat 1.7.1)]
iyzsong has joined #nixos
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHUk5
<NixOS_GitHub> nixpkgs/master 2188a8b Julien Langlois: android-studio: 2.2.3.0 -> 2.3.1.0
<NixOS_GitHub> nixpkgs/master d1504bb Jörg Thalheim: Merge pull request #25374 from jflanglois/android-studio-2.3...
NixOS_GitHub has left #nixos []
acarrico has joined #nixos
<manveru> hmm
<manveru> anybody able to run "the inner world" in steam?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vHUIq
<NixOS_GitHub> nixpkgs/master d6caa6b Matthias Beyer: madonctl: init at 0.1.0
<NixOS_GitHub> nixpkgs/master ce301fd Jörg Thalheim: madonctl: 0.1.0 -> 1.1.0
<NixOS_GitHub> nixpkgs/master 6e67547 Jörg Thalheim: Merge pull request #25086 from matthiasbeyer/add-madonctl...
NixOS_GitHub has left #nixos []
<manveru> even after enabling steam.java, i get this: "java: symbol lookup error: /nix/store/1y6sbyyxbzfjm3n6g71c6kx4lyyyrfza-gnome-vfs-2.24.4/lib/libgnomevfs-2.so.0: undefined symbol: g_type_class_adjust_private_offset"
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<manveru> i'll buy the game for anyone who wants to fix it :)
iyzsong has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHUIW
<NixOS_GitHub> nixpkgs/master 56835b1 Jörg Thalheim: i3lock-pixeled: fix spurious hash in replace command
NixOS_GitHub has left #nixos []
aminechikhaoui has joined #nixos
georges-duperon has joined #nixos
mizu_no_oto has joined #nixos
<trikl> I have multiple srcs which I want to combine at the unpacking stage of a derivation. These sources are not packed, they are in the state I need them to be. Currently, I copy them into the build dir doing "cp $curSrc hunspell
<trikl> Sorry :S
<trikl> "cp $curSrc \${curSrc##*-}"
<trikl> Is there a way of telling fetchurl to put the downloaded files in a dir so that their names are not messed with?
bennofs has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
mizu_no_oto has quit [(Client Quit)]
takle has quit [(Ping timeout: 240 seconds)]
7IZAAKHUR has joined #nixos
<7IZAAKHUR> [nixpkgs] Mic92 closed pull request #25103: cloud-print-connector: init at unstable-2017-01-19 (master...google_cloud_print) https://git.io/v9UK8
7IZAAKHUR has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vHUI5
<NixOS_GitHub> nixpkgs/master cc4f861 Chris Hodapp: cloud-print-connector: init at unstable-2017-01-19...
<NixOS_GitHub> nixpkgs/master f3dce2c Jörg Thalheim: cloud-print-connector: 2017-01-19 -> 1.11
<NixOS_GitHub> nixpkgs/master 2a42b45 Jörg Thalheim: Merge pull request #25103 from Hodapp87/google_cloud_print...
NixOS_GitHub has left #nixos []
mkoenig has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHUL3
<NixOS_GitHub> nixpkgs/master 08eafdb Jörg Thalheim: madonctl: add missing deps.nix
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to master: https://git.io/vHULc
<NixOS_GitHub> nixpkgs/master 88ff541 Joachim Fasting: chromedriver: remove redundant lib param
<NixOS_GitHub> nixpkgs/master 4fe8165 Joachim Fasting: chromedriver: refactor per-platform src specs, fixing eval...
<NixOS_GitHub> nixpkgs/master acfffd1 Joachim Fasting: chromedriver: treat native build inputs as such
NixOS_GitHub has left #nixos []
takle has joined #nixos
aminechikhaoui has quit [(Ping timeout: 258 seconds)]
cpennington has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25941: idea.webstorm: 2017.1 -> 2017.1.3 (master...webstorm-2017.1.3) https://git.io/vHJjc
NixOS_GitHub has left #nixos []
Wizek_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
hellrazo1 has quit [(Ping timeout: 240 seconds)]
aminechikhaoui has joined #nixos
<hodapp> woo, cloud-print-connector is present!
civodul has joined #nixos
sitwon has quit [(Ping timeout: 272 seconds)]
sitwon has joined #nixos
cpennington has joined #nixos
orivej has joined #nixos
phinxy has joined #nixos
kirelagin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25666: git-series: init at 0.9.1 (master...gitseries) https://git.io/v9Pjy
NixOS_GitHub has left #nixos []
<kirelagin> Hi everyone! Does anyone happen to know if it could be possible to somehow use nix-shell for a local development environment without using coreutils from nixpkgs? stdenv.mkDerivation unconditionally adds coreutils and a bunch of other stuff to PATH :(
bennofs has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
hellrazo1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #25943: tcptraceroute: init at 1.5beta7 (master...tcptraceroute) https://git.io/vHUqz
NixOS_GitHub has left #nixos []
Wizek_ has joined #nixos
engblom has quit [(Read error: Connection reset by peer)]
engblom has joined #nixos
cpennington has quit [(Ping timeout: 246 seconds)]
cpennington has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] unaizalakain opened pull request #25944: hunskell: add basque dictionary Xuxen 5 (master...init-xuxen) https://git.io/vHUm2
NixOS_GitHub has left #nixos []
tommyangelo has joined #nixos
Infinisil has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25856: google-app-engine-go-sdk: init at 1.9.53 (master...init-goappengine) https://git.io/v9x3S
NixOS_GitHub has left #nixos []
Wizek has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vHUYe
<NixOS_GitHub> nixpkgs/master e3de736 Hugo Tavares Reis: terraform-inventory: init at 0.7-pre
<NixOS_GitHub> nixpkgs/master 21898ff Hugo Tavares Reis: terraform-inventory: added htr as maintainer
<NixOS_GitHub> nixpkgs/master da7e4ce Jörg Thalheim: Merge pull request #25801 from htr/add-terraform-inventory...
NixOS_GitHub has left #nixos []
cpennington has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHUYO
<NixOS_GitHub> nixpkgs/master 95c158d Piotr Bogdan: tcptraceroute: init at 1.5beta7
<NixOS_GitHub> nixpkgs/master 9197876 Jörg Thalheim: Merge pull request #25943 from pbogdan/tcptraceroute...
NixOS_GitHub has left #nixos []
AndreasO has joined #nixos
xadi has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] chris-martin opened pull request #25945: unetbootin: fix bug where nothing renders in the window (master...pr/unetbootin) https://git.io/vHUYX
NixOS_GitHub has left #nixos []
rcschm has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
<AndreasO> A small note on writing ISO to USB with dd, you need to run "sync" after dd... it seems it doesn't work if you don't.
<AndreasO> I mean it might be appropriate to add that to the manual.
<AndreasO> And for some reason unknown USB written with uniboot wouldn't boot.
sellout- has joined #nixos
<srhb> AndreasO: I think the manual recommends using unetbootin
henrycrutcher has quit [(Quit: Page closed)]
<AndreasO> Yes, but the laptop wouldn't boot when I used it. dd followed by sync worked.
<srhb> AndreasO: Oh. That's odd.
<AndreasO> Yes, used unetbootin with other distros with no problem.
RaphaelLullis[m] has joined #nixos
<AndreasO> srhb: I got a message "isolinux.iso" not found.
<jbo> Hi there -- to use `ifuse`, I need my user to have raw usb device access. What groups should I add the account to?
<lassulus> disk
<jbo> thanks
xadi has joined #nixos
* RaphaelLullis[m] sent a long message: RaphaelLullis[m]_2017-05-20_19:06:37.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/edzlLRrqhoYEXwbdApkfxafX>
<jbo> Should adding groups to users.extraUsers.NAME.extraGroups add a user to new groups if they're added later?
<danbst> kirelagin: last time I tried this I had to build custom stdenv. Look at staged stdenv build https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/linux/default.nix
<danbst> kirelagin: though I've tried to this for perl
<jbo> lassulus: hmm - didn't work :(
<jbo> (& I re-logged in)
<lassulus> jbo: hmm, does `id` show the correct group?
<jbo> uid=1000(jbo) gid=100(users) groups=100(users),1(wheel),6(disk),57(networkmanager)
<lassulus> what does ls -l on your usb device say?
pie_ has quit [(Changing host)]
pie_ has joined #nixos
xadi has quit [(Ping timeout: 268 seconds)]
<jbo> lassulus: in /sys/devices? All owned by root, but world-readable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25945: unetbootin: fix bug where nothing renders in the window (master...pr/unetbootin) https://git.io/vHUYX
NixOS_GitHub has left #nixos []
<lassulus> isn't your device somewhere in /dev/sd* ?
<jbo> lassulus: no - it's not a mass-storage device. It's an ipad. ifuse is a tool to mount one
<lassulus> ic
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHU3T
<NixOS_GitHub> nixpkgs/master 337687c Unai Zalakain: hunskell: add basque dictionary Xuxen 5...
<NixOS_GitHub> nixpkgs/master b2a14ee Jörg Thalheim: Merge pull request #25944 from unaizalakain/init-xuxen...
NixOS_GitHub has left #nixos []
5EXAA1DUG has joined #nixos
<5EXAA1DUG> [nixpkgs] Mic92 closed pull request #25944: hunskell: add basque dictionary Xuxen 5 (master...init-xuxen) https://git.io/vHUm2
5EXAA1DUG has left #nixos []
mudri has quit [(Ping timeout: 240 seconds)]
aminechikhaoui has quit [(Quit: leaving)]
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHU35
<NixOS_GitHub> nixpkgs/master 4698012 Jörg Thalheim: systemd-nspawn: add NotifyRead option
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHU3x
<NixOS_GitHub> nixpkgs/master 6fae563 Jörg Thalheim: systemd-nspawn: add NotifyRead fixup
NixOS_GitHub has left #nixos []
eacameron has quit [(Remote host closed the connection)]
<Infinisil> jbo: Did it work with sudo?
tommyangelo has quit [(Remote host closed the connection)]
<jbo> Infinisil: nope - nor as root.
<Infinisil> I was able to mount my iphone with root
<Infinisil> Hold on..
<clever> modern phones cant appear as block devices, because that would require the phone to un-mount the fs first
<clever> and they generaly cheat and use 1 partition, so the whole thing would have to shutdown
takle has joined #nixos
<clever> android uses mtp, to provide a fs level access, rather then a block level access
<clever> not sure about iphone
tilpner has joined #nixos
<jbo> clever: this is a shim layer that fakes a mountpoint - https://pastebin.com/RX5ccmbN
mudri has joined #nixos
<clever> ah
<Infinisil> I can directly view all the (non-root) content on the iphone
eacameron has joined #nixos
<jbo> Infinisil: yeah -- ifuse works great on my other distros. What groups is your user in? Did you add anything to conf*.nix to get it to work?
AndreasO has quit [(Quit: Found more important stuff than irc!)]
<clever> if its using libfuse, then it must have permission to the /dev/bus/usb/ nodes
<Infinisil> I haven't tried to do it without sudo
<clever> libusb*
<clever> Bus 002 Device 007: ID 046d:0a1f Logitech, Inc. G930
<clever> crw-rw-r-- 1 root root 189, 134 May 19 19:10 /dev/bus/usb/002/007
<jbo> clever: well - this isn't working as root, so probably not permisions -- perhaps a kernel flag?
<clever> in the case of this device, it maps to that exact node, which isnt writable by me
<Infinisil> Do you need help with getting it to work without sudo or to get it to work at all (with sudo)?
<clever> jbo: under nixos, normal users lack access to usb nodes by default
<jbo> Infinisil: getting it to work as root
<clever> oh, even root
<clever> thats different then
takle has quit [(Ping timeout: 260 seconds)]
<Infinisil> Alright, are you running the usbmuxd daemon?
<jbo> yeah - here's a log on connection https://pastebin.com/RX5ccmbN
<jbo> (ignore the message about pairing -- idevicepair can't find the device through usbmuxd)
<clever> [20:30:03.604][1] preflight_worker_handle_device_add: The stored pair record for device 5bdd7301098fd52c91a76a4c4ea1496134730707 is invalid. Removing.
<clever> [20:30:03.611][4] preflight_worker_handle_device_add: Device 5bdd7301098fd52c91a76a4c4ea1496134730707 is not paired with this host.
<clever> i'm guessing you need to approve the desktop in the iphone ui?
<clever> so the first person to pickup the phone cant just plug in and steal your files, without being able to unlock the phone
eacameron has quit [(Ping timeout: 240 seconds)]
<Infinisil> jbo: I'm running it in foreground with sudo usbmuxd -f, if you haven't done that (shouldn't make a difference, it's just easier to debug)
<jbo> yeah - that's where I got the log
<Infinisil> Ahh I see
<Infinisil> Just for reference, this is what my successful logs look like: https://pastebin.com/kt9FCqMT
<Infinisil> I had to approve it once on my iPhone, were you ever asked to do that?
<jbo> Infinisil: no .. but it's ios5, so maybe they hadn't added that yet :)
<Infinisil> iOS 5?? Damn that's old
<Infinisil> Well on the plus side you can still sync music with linux to it.. In theory at least
<Infinisil> jbo: With how many -v 's is your output?
<jbo> Infinisil: good thought -- adding some
hotfuzz_ is now known as hotfuzz
cpennington has joined #nixos
cpennington has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
<Infinisil> Again for reference, this is what I see with -vvv, you can clearly see when I plug it in: https://pastebin.com/Vnzcqkmd
takle has joined #nixos
bhipple has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
AndreasO has joined #nixos
<Infinisil> Do you have the usb_storage kernel module enabled?
<AndreasO> Tried NixOS on VB, I really like it. Next I'm doing a real install.
<Infinisil> AndeasO: Nice to hear!
<jbo> Infinisil: yep
<jbo> Infinisil: might leave this for now - thanks for the help :)
<Infinisil> :)
eacameron has joined #nixos
orivej has quit [(Read error: Connection reset by peer)]
<AndreasO> Infinisil: one thing I've always thought was missing in Linux works in NixOS, user installed software.
orivej has joined #nixos
<Infinisil> AndreasO: Yeah it's pretty nice, although I'm pretty much just installing everything system wide anyways
matthewbauer has quit [(Ping timeout: 240 seconds)]
RaphaelLullis[m] has left #nixos ["User left"]
<AndreasO> Infinisil: yes that's probably true for most. But the separation of OS and user is good. This might make Linux easier for the masses to adopt Linux .
<srhb> AndreasO: You can even make command-not-found automatically install programs if you use a command that isn't there!
AndreasO has quit [(Quit: Found more important stuff than irc!)]
<srhb> Aw. :-P
AndreasO has joined #nixos
<AndreasO> srhb: cool
<AndreasO> Well, going to bed now. God night from Sweden!
mkoenig has quit [(Remote host closed the connection)]
<srhb> Night from Denmark then ;-)
AndreasO has quit [(Client Quit)]
acertain has joined #nixos
rcschm has joined #nixos
<Infinisil> srhb: I don't know what to think of this auto command-not-found install, I feel like that could be a big security hole
tilpner has quit [(Quit: :wq)]
mizu_no_oto has joined #nixos
Guest88530 has quit [(Ping timeout: 240 seconds)]
rcschm has quit [(Ping timeout: 246 seconds)]
xadi has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos []
<Infinisil> I still need some way of getting music on my iPhone, always switching over to OSX, regenerating the iTunes library from the beets library and then syncing wouldn't be optimal
<Infinisil> I thought about using the windows iTunes version through wine, but I don't really get wine on nixos, it didn't even build for me (had to build from source for some reason)
moet has joined #nixos
jsgrant_ has quit [(Read error: Connection reset by peer)]
tilpner has joined #nixos
cpennington has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] apeyroux opened pull request #25947: jsbeautifier: 1.6.4 -> 1.6.14 (master...up-jsbeautifier) https://git.io/vHUC4
NixOS_GitHub has left #nixos []
<bhipple> In nix-repl, is there an equivalent to :b <expr> -> nix-build <drv>. I don't see one in :?
<the-kenny> I mostly gave up and installed Windows in VirtualBox, managing everything via shared folders
<bhipple> err, not nix-build; nix-store -r <dr>
<bhipple> or wait, maybe :b is actually building the drv in addition to evaluating the expr
<bhipple> Looks like it is; ignore my Q :)
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 5 new commits to release-17.03: https://git.io/vHUCX
<NixOS_GitHub> nixpkgs/release-17.03 7995849 Tuomas Tynkkynen: kernel: 4.4.67 -> 4.4.68...
<NixOS_GitHub> nixpkgs/release-17.03 471ae2e Tim Steinbach: linux: 4.4.68 -> 4.4.69...
<NixOS_GitHub> nixpkgs/release-17.03 213b543 Tim Steinbach: linux: 4.9.28 -> 4.9.29...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/vHUC1
<NixOS_GitHub> nixpkgs/master 82852ac Tim Steinbach: linux: 4.4.68 -> 4.4.69
<NixOS_GitHub> nixpkgs/master a551ca6 Tim Steinbach: linux: 4.9.28 -> 4.9.29
<NixOS_GitHub> nixpkgs/master a42c540 Tim Steinbach: linux: 4.11.1 -> 4.11.2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] apeyroux opened pull request #25948: c14: c14-cli-2016-09-09 -> c14-cli-2017-20-05 (master...up-c14) https://git.io/vHUCd
NixOS_GitHub has left #nixos []
bennofs has quit [(Quit: WeeChat 1.8)]
betaboon has joined #nixos
moet has quit [(Quit: leaving)]
Sufixx has left #nixos ["Leaving"]
mkoenig has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bhipple opened pull request #25949: pythonPackages.bitcoin-price-api: init at 0.0.4 (master...init/python-bitcoin-price-api) https://git.io/vHUWY
NixOS_GitHub has left #nixos []
eacameron has quit [(Remote host closed the connection)]
betaboon has quit [(Quit: Leaving)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
marsel has quit [(Ping timeout: 260 seconds)]
bennofs has joined #nixos
kiloreux has joined #nixos
hiratara has quit [(Ping timeout: 260 seconds)]
hiratara has joined #nixos
dridus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Fuuzetsu pushed 5 new commits to master: https://git.io/vHUlG
<NixOS_GitHub> nixpkgs/master a7e861a Mateusz Kowalczyk: jenkins: 2.56 -> 2.61
<NixOS_GitHub> nixpkgs/master ef8553b Mateusz Kowalczyk: pythonPackages.python-jenkins: 0.4.11 -> 0.4.14
<NixOS_GitHub> nixpkgs/master a2c900d Mateusz Kowalczyk: GCE-service: Update fetch-ssh-keys API usage
NixOS_GitHub has left #nixos []
ambro718 has joined #nixos
jbddc has joined #nixos
<jbddc> hello there
<jbddc> I’m having trouble installing extensions on my gnome3 nixos config
<jbddc> has anybody gone through this yet?
bernas has joined #nixos
jbddc has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vHU8G
<NixOS_GitHub> nixpkgs/master aafe99c Michael Raskin: mozlz4a: init at 2015-07-24
NixOS_GitHub has left #nixos []
slyfox has quit [(Ping timeout: 245 seconds)]
slyfox has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
kampfschlaefer has quit [(Ping timeout: 272 seconds)]
matthewbauer has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
kiloreux has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
takle has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
Kingsquee has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] florianjacob opened pull request #25950: mysql service: Make initialDatabases.schema attribute optional (master...mysql-optional-schema) https://git.io/vHU4I
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 255 seconds)]
proteusguy has quit [(Read error: Connection reset by peer)]
<raignarok> does anybody happen to know why the mysql service is made so that stuff like initialDatabases and some others are only run at the first ever launch of mysql? would be nice to be able to use it for changes that occur during operation of a server, not only on mysql server install.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ericsagnes opened pull request #25951: fcitx service: add QT_PLUGIN_PATH to env (master...service-fix/fcitx) https://git.io/vHU40
NixOS_GitHub has left #nixos []
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
asymmetric1 has quit [(Ping timeout: 255 seconds)]
cpennington has quit [(Ping timeout: 240 seconds)]
georges-duperon has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has joined #nixos
takle has joined #nixos
koserge has quit [(Ping timeout: 240 seconds)]
Wizek_ has quit [(Ping timeout: 246 seconds)]
trikl has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 240 seconds)]
<ben> How do I deal with "a ... is required to build ..., but I am a ..." kinda errors?
<clever> ben: what are the 2 platforms its censoring out?
matthewbauer has quit [(Ping timeout: 272 seconds)]
takle has joined #nixos
<ben> im on x86_64 nixos and was hoping to be able to build stuff for, say, aarch64-linux by just passing that as the system attribute :)
<clever> ah
<clever> it wants an aarch64 build slave in /etc/nix/machines
<clever> which it will ssh into and push all the dependencies to
Jackneillll has joined #nixos
<ben> Is there a concise way to make it set up a vm for that?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vHUBR
<NixOS_GitHub> nixpkgs/master 4ec0947 Franz Pletz: matrix-synapse service: restart on failure
<NixOS_GitHub> nixpkgs/master 458895d Willi Butz: go: add dependencies for go get...
<NixOS_GitHub> nixpkgs/master b411968 Franz Pletz: lldpd: init at 0.9.7
NixOS_GitHub has left #nixos []
Jackneilll has quit [(Ping timeout: 240 seconds)]
<clever> ben: one option is the qemu stuff i wrote a while ago
<clever> ben: if you run the register script inside the arm64 package, then linux will be able to just run aarch64 binaries
cpennington has joined #nixos
johnramsden has joined #nixos
<clever> ben: then using the patched nix on line 10 as an override of nix on the host (so it replaces nix-daemon), will add a new build-extra-platforms option
drakonis has joined #nixos
<ben> sweet
<clever> ben: so you can set "build-extra-platforms = aarch64-linux" in /etc/nix/nix.conf, and nix will try to run aarch64 programs
simukis has quit [(Quit: simukis)]
<ben> wow that's magical
<clever> yeah
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vHURU
<NixOS_GitHub> nixpkgs/master 4e4f7a2 Willi Butz: zsh module: rename option syntax-highlighting...
NixOS_GitHub has left #nixos []
<johnramsden> What's the proper way to just call a function if you don't want to assign it to something. For example I just want to write text to a file and I don't care if it's assigned to something. Here's my example: https://github.com/johnramsden/NixOS/blob/eece9dc2ba71296c6097803b81dfa8839dca596e/users/john/environment.nix I want to map over my list "configurations , and write text to every path. I keep getting the following error:
<johnramsden> "error: The option `environment_user' defined in `/etc/nixos/users/john/environment.nix' does not exist."
<clever> johnramsden: what do you want to do with environment_user?
<ben> writeTextFile doesn't write a text file, it returns a derivation that can be built to write to a text file~
<ben> i think youd want to turn that resulting list into a derivation that has those derivations as propagatedUserEnvPkgs?
stepho has joined #nixos
<ben> tho i guess theres probably a wrapper for that too somewhere...
eacameron has joined #nixos
Jackneillll has quit [(Remote host closed the connection)]
<johnramsden> I see. I don't actually want to do anything with environment_user, I just want to run the map and write to every path. The next syntax doesn't seem to like it if I dont assign to a variable which is why I assigned to environment user
systemfault has joined #nixos
<johnramsden> *nix
<clever> johnramsden: it will write all of those paths into /nix/store
markus1209 has joined #nixos
<clever> johnramsden: so it will leave files at locations like /nix/store/<hash>-<name>/home/user/.config/libvirt/qemu.conf
<johnramsden> Oh. I thought it wrote to the path you gave it.
<clever> johnramsden: and then the function returns the /nix/store/<hash>-<name> part
markus1219 has joined #nixos
<clever> johnramsden: the closest you can do, is make a script that lands in /etc/profile, and runs upon login
<clever> johnramsden: then writes things wherever it wants
<Baughn> Anyone running gnome 3 with Emacs? I can't figure out how to swap caps lock and ctrl...
<clever> johnramsden: here are examples i made for every form of setting env variables (some are just scripts that set vars) https://gist.github.com/cleverca22/282c960da95dd23b72150ca36ef3ff50
<johnramsden> clever: OK. What is the right way to just run some code though. So I just wanted to run a map and not assign it to anything
<clever> johnramsden: so you could put a command that writes to $HOME/.config/ in the spots where i set B thru F
markus1199 has quit [(Ping timeout: 240 seconds)]
<clever> johnramsden: if you dont assign the result of the map to anything, nix will not even run it
<clever> johnramsden: because the language is evaluated lazily
eacameron has quit [(Ping timeout: 240 seconds)]
<johnramsden> Oh, ok
<johnramsden> I guess that's what I was confused about
markus1189 has quit [(Ping timeout: 246 seconds)]
<ben> wait why is this even a thing: There must be an attribute named system whose value must be a string specifying a Nix platform identifier, such as "i686-linux" or "powerpc-darwin"[7] The build can only be performed on a machine and operating system matching the platform identifier.
<clever> johnramsden: butif you do something like environment.interactiveShellInit = "cp -vi ${file1} ~/.config/foo/bar/file1.conf";
rcschm has joined #nixos
<ben> im pretty sure i can write a text file into the store on x86_64 just as well as on aarch64
<clever> johnramsden: then it will overwrite file1.conf every time you open a shell, updating it to what the last nixos-rebuild made
<ben> I might be doing this very wrong...
<clever> ben: the writeTextFile derivation uses the shell from the target platform to run echo
<ben> jfc
* Baughn decides to just not run gnome.
<johnramsden> clever: Right, thanks
<ben> yeah... but...
<clever> ben: in theory, you can mess with things to always use the hostPkgs.runCommand in here, so it wont try to cross-compile the textfile
<clever> ben: but then the $out path wont be the same
<clever> so when the aarch64 does its own native build, it has a different path, and has to rebuild everything that depends on the text file
ambro718 has quit [(Ping timeout: 246 seconds)]
<ben> that is so sad
<clever> its more of an issue that nix has no write-file primitive
<clever> so it has to use a normal "run these commands" derivation to "compile" the file
<clever> and $out's hash depends on the path to those commands (the shell)
<ben> i mean there's builtins.toFile
<clever> that casts a string to a path i think
<ben> > Store the string s in a file in the Nix store and return its path.
<clever> rather then writing a string into the store, at a potentialy complex path, with +x
<clever> oh
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<clever> but can it put it in $out/bin/foo, and +x it?
<ben> yeah, the +x and the relative path are probably the problem
<ben> yeah
<ben> no
<clever> so writeTextFile could be modified, to call toFile if the arguments are simple
<ben> ok well i wouldnt get much further even if this magically worked
<clever> but a lot of things like systemd use scripts in $out/bin/ when it doesnt have to
<clever> or /nix/store/hash-foo.service/foo.service, which confuses new users
<clever> ben: another more anoying thing, buildEnv merely symlinks paths from all of the inputs 99% of the time
<clever> ben: and nix tries to upload 2gig of closure to a remote build slave, because its "faster"
<ben> :D
bernas has quit [(Quit: Textual IRC Client: www.textualapp.com)]
matthewbauer has joined #nixos
kirelagin has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
darlan has joined #nixos
darlan has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #25952: emacsWithPackages: wrap MacOS app (master...emacs-with-packages-darwin) https://git.io/vHU0m
NixOS_GitHub has left #nixos []
<alphor> this was written 1.5 years ago.. is it still accurate? http://anderspapitto.com/posts/2015-11-01-nixos-with-local-nixpkgs-checkout.html
<alphor> I imagine loads of you here are doing something like this to enable workflow #2
<gchristensen> alphor: I don't particularly love it, but that does work
rcschm has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #25953: haxe: fix hxcpp, introduce haxePackage with hxjava and hxcs (master...haxe-patch) https://git.io/vHU0G
NixOS_GitHub has left #nixos []
<alphor> is there a cleaner way?
<ben> overlays maybe
<gchristensen> which workflow are you looking for exactly?/
rcschm has joined #nixos
rcschm has quit [(Remote host closed the connection)]
<alphor> the second one. I want to test a piwik patch, and do service config mods