mkoenig has quit [(Ping timeout: 240 seconds)]
mudri` has quit [(Ping timeout: 255 seconds)]
mkoenig has joined #nixos
<dtzWill> gchristensen: \o/
<dtzWill> gchristensen: had good experiences with aer lingus the handful of times I've flown w/them, generally been pretty happy with international flights, esp in EU
<dtzWill> any chance of a US-based NixCon event or meetup? O:)
<gchristensen> cool :) my flight ended up being Lufthansa though, which I've heard good things about
<gchristensen> dtzWill: NixCON: Central Berkshires ;)
pie__ has quit [(Ping timeout: 246 seconds)]
<dtzWill> i'll host my own NixCon.. with blackjack.. and ....
<dtzWill> :)
noam has joined #nixos
<gchristensen> <3 we could do NixCON: Mohonk ... :)
python476 has quit [(Ping timeout: 240 seconds)]
* dtzWill is in IL but I could go to NY or MA lo
<gchristensen> disasm is in PA
<dtzWill> taktoa is in IL, or at least he used to be :)
<taktoa> I am indeed
<taktoa> until the summer
<gchristensen> hmmm
<gchristensen> then?
<taktoa> bay area
<taktoa> awakesecurity.com
<gchristensen> we should do a meetup, maybe even in Champaign, I know other nixos people there
<catern> nixcon nyc!!
* Ankhers *whispers* Canada...
<clever> i'm also in Canada
<taktoa> my family lives near NYC, I'll visit them in october
<taktoa> plus the obsidian guys are there
<dtzWill> taktoa: oxford comma on website please ♥
<Ankhers> clever: You are atlantic Canada, right? I'm around Toronto.
<clever> yeah, NB Canada
<Ankhers> That is about 13.5 hours by car. That isn't too far to travel for a conference. I'd be down for visiting NB.
<clever> i'm in the middle of nowhere, all the major industries in town have closed up, and they are building a new seniors home every 2-3 years, lol
glenn_ has joined #nixos
<Ankhers> lol. Maybe Toronto would be better?
glenn has quit [(Ping timeout: 240 seconds)]
<clever> probably
erictapen has quit [(Ping timeout: 248 seconds)]
phinxy has joined #nixos
phinxy has left #nixos []
<dtzWill> clearly we should all move to Nixtropolis, declarative city
<clever> :D
<Ankhers> I mean, it would be super easy to build and maintain, right?
<dtzWill> :D
<dash> dtzWill: problem is that whenever a change was needed, you'd have to replace the whole city
<dtzWill> that only seems like a problem because normal cities don't have atomic replacements
<bbarker> but only slightly, only slightly
<Lisanna> nixopolis-rebuild switch
<dtzWill> ^____^
<gchristensen> garbage collection would be slow though, worms and beetles only work so fast
<bbarker> but gc in canada always seems so nice
<bbarker> even at fast food restaurants on the highway
griff_ has joined #nixos
<bbarker> as an american, I can't help but be impressed
<clever> in my area, its just one truck every week on monday, simple
<clever> about a 1 hour drive from here, its a different truck each week, for either recyclables or garbage, and you need a cellphone app just to know when its coming next, lol
filterfish has quit [(Quit: Leaving)]
<bbarker> at least there's an app, I guess, lol... are we talking Labrador
<clever> nope, bathurst is the one with the more complex schedules
athan has joined #nixos
hydraz has quit [(Read error: Connection reset by peer)]
<disasm> gchristensen: think we can discuss with Profpatsch tomorrow about me doing a brainstorming session on documentation? I'm going to submit the request soon and hopefully... it'll get approved :)
<gchristensen> definitely do it, if you're there for hack day we don't even have to talk to profpatsch about making a specific slot for it
glenn_ has quit [(Remote host closed the connection)]
<disasm> Sounds good! I'll get the ball rolling tomorrow. I'll definitely be around the whole time (including hack days) if I get approved to go!
hydraz has joined #nixos
hydraz has quit [(Changing host)]
hydraz has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
hellrazo1 has joined #nixos
hellrazor has quit [(Ping timeout: 252 seconds)]
glenn has joined #nixos
ris has quit [(Ping timeout: 246 seconds)]
Acou_Bass has quit [(Ping timeout: 246 seconds)]
Piece_Maker has joined #nixos
Piece_Maker is now known as Acou_Bass
ison111 has quit [(Ping timeout: 255 seconds)]
<Profpatsch> disasm: gchristensen Did I miss something?
<Profpatsch> nixcon requests should probably go to _c_. :)
<Profpatsch> But I can relay them as well.
<Profpatsch> You can also join #nixcon
<gchristensen> oh! _c_ !
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
MP2E has joined #nixos
takle has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
ison111 has joined #nixos
griff_ has quit [(Quit: griff_)]
aanderse-laptop has joined #nixos
<aanderse-laptop> trying to compile a program but getting a missing ogl error:
<aanderse-laptop> Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
<aanderse-laptop> have an ati card
<aanderse-laptop> what package do i need to make cmake find ogl?
<aanderse-laptop> i tried mesa
<aanderse-laptop> mesa_glu
<aanderse-laptop> and mesa_noglu
<aanderse-laptop> none of those packages make my cmake find ogl
<clever> aanderse-laptop: did you use nix-shell?
mattops has joined #nixos
<aanderse-laptop> tried both nix-shell and /etc/nixos/configuration.nix
<clever> configuration.nix wont ever help with compiling things
<clever> cmake, gcc, and pkgconfig MUST NOT be in configuration.nix
<clever> what arguments did you give to nix-shell?
<aanderse-laptop> on a side note completely unrelated to this... what if i put cmake and gdb in my configuration.nix file because it's really annoying having to tell kdevelop where they are all the time when they change? :\
<aanderse-laptop> nix-shell -p mesa
<clever> pkgconfig wont work right in that shell, so you need to at least use "nix-shell -p mesa pkgconfig cmake", that should make it work faster
<clever> aanderse-laptop: and for that 2nd question, run kdevelop under nix-shell
mattops has quit [(Client Quit)]
<aanderse-laptop> clever: yeah but it changes the path of gdb (ie. /nix/store/blahblahblah) sometimes and i end up having to go in and modify the path
<clever> what if you configure kdevelop to just run "gdb", and then run kdevelop under a nix-shell that provides gdb?
<aanderse-laptop> could be wrong, but i believe kdevelop often needs absolute paths
<clever> gdb is one thing you could install system-wide
<clever> but everything else, just makes building harder
<clever> and builds must always be done within nix-shell
<aanderse-laptop> i'm pretty sure gdb does require exact path, the others may not
<aanderse-laptop> i'll check again at some point... after i solve my ogl issue
<clever> is the project on github?
<aanderse-laptop> which i'm testing what you said right now
<aanderse-laptop> no, but the project compiles on all my other computers which don't have ati cards
<clever> nix goes out of its way to ensure the compile doesnt care what gpu you have
<aanderse-laptop> major difference in configuration.nix between boxes being videoDrivers = [ "nvidia" ]
<clever> the mesa package is just generic libGL headers, and nixos will swap out the libGL.so at bootup
<aanderse-laptop> ok
<aanderse-laptop> yeah, so
<aanderse-laptop> thanks
<aanderse-laptop> :)
<aanderse-laptop> i had added a bunch of crap (cmake, gcc, etc...) to my configuration.nix because kdevelop and the changing paths
<aanderse-laptop> seems like that screwed things up
<aanderse-laptop> now i'll just have to figure out what doesn't need to be absolute path in kdevelop
<clever> and mesa is an alias left-over from the old days, you probably want to use mesa_noglu
<aanderse-laptop> thank you
<aanderse-laptop> next question... openscenegraph is an old version in the nix repo
<clever> what is the version you need?
<aanderse-laptop> easier to poke the maintainer for a version update, or add it with a version override to my configuration.nix?
<aanderse-laptop> was hoping for the most recent stable 3.4.0
<clever> 3.4.0 is the version in nixpkgs
<aanderse-laptop> i'm on nix stable
<aanderse-laptop> not unstable
<clever> you can build your package against unstable while running the os on stable
<aanderse-laptop> please, continue
* aanderse-laptop takes notes
<clever> nix-shell -p mesa_noglu cmake openscenegraph -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz
<clever> this will download the nixos-unstable versions of mesa, cmake, and openscenegraph
<clever> and drop you into a shell with those available
<aanderse-laptop> fantastic
<clever> also, nix wont be aware of anything you build like this, and nix may delete the libraries
<clever> you usually want to build things with nix-build
<aanderse-laptop> yeah i was using the nix-shell -p package1 package2 --run kdevelop to get my environment up
<aanderse-laptop> can i make a persistent dev environment for this project so i can easily hack on it with kdevelop using nix-build?
<clever> create a default.nix file with the following contents:
<clever> with import <nixpkgs> {}; stdenv.mkDerivation { name = "yourproject"; src = ./.; buildInputs = [ mesa_noglu openscenegraph ]; nativeBuildInputs = [ cmake ]; }
<clever> and then run nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz
<clever> or nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz
<aanderse-laptop> too bad kdevelop doesn't integrate with nix...
<aanderse-laptop> that'd be fantastic
<clever> qt-creator has even worse problems
<clever> qt-creator needs the paths to all of the qt libs and bin/qmake
<clever> and nix-shell puts those into a random path under /tmp/
<clever> so it breaks just by rebooting
<aanderse-laptop> yeah that sounds horrible :\
<aanderse-laptop> glad i use kdevelop then
<clever> i just use vim with basic tab completion
<aanderse-laptop> kdevelop has become pretty nice
<aanderse-laptop> and i'm under 40
<aanderse-laptop> so ides are alright with me
<aanderse-laptop> :p
<clever> ive used eclipse, and its java features are pretty damn strong
proteusguy has quit [(Remote host closed the connection)]
<aanderse-laptop> well once again nix and #nixos saves my day
<aanderse-laptop> thank you very much clever
<clever> yep
glenn has quit [()]
glenn has joined #nixos
glenn has quit [(Client Quit)]
alunduil has quit [(Quit: leaving)]
glenn has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] alunduil opened pull request #28628: Add behave (master...add-behave) https://git.io/v5s0m
NixOS_GitHub has left #nixos []
wigust has joined #nixos
glenn is now known as scribbler
Infinisi1 has joined #nixos
Infinisil has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
aanderse-laptop has quit [(Quit: Konversation terminated!)]
pxc has joined #nixos
lsyoyom has quit [(Ping timeout: 248 seconds)]
xd1le has joined #nixos
hamishmack has joined #nixos
<xd1le> How can I check the type of a mkOption set? Can I just do option.type ?
lsyoyom has joined #nixos
<xd1le> Basically, I want to have one expression if the value given is a string, and another if the value given is a path.
<xd1le> (So I'm thinking something like `if option.type == types.path then <path expression> else <str expression>` ?)
wigust has quit [(Ping timeout: 248 seconds)]
<xd1le> Infinisi1: btw the pkgs.writeText thing from the other day worked, ty :)
Infinisi1 has quit [(Ping timeout: 240 seconds)]
<joepie91> isList is a builtin
<joepie91> xd1le: they're listed at https://nixos.org/nix/manual/#ssec-builtins but annoyingly there doesn't seem to be an isPath
<jeaye> I haven't seen a way, in the NixOS manual or sources, to grant my container access to /dev/urandom.
<jeaye> Does NixOS expose this?
<xd1le> joepie91: oh wow that seems a bit dumb, I wonder why 🤔.. But thanks, I guess for this case isString would work though.
<xd1le> which brings me to another question, how can I just a test/run a nix expression..?
simukis has joined #nixos
<xd1le> ah so I found nix-repl I think that would be it! (I've just always been using nix-build...)
odi has joined #nixos
simukis has quit [(Ping timeout: 240 seconds)]
xd1le has quit [(Quit: Toodaloo padawans! 👣)]
pxc has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
freusque has quit [(Ping timeout: 255 seconds)]
<sphalerite> xd1le: yep, nix-repl is very useful for that. For something more useful for scripting you can use nix-instantiate --eval
proteusguy has joined #nixos
anton__ has quit [(Ping timeout: 255 seconds)]
anton__ has joined #nixos
nwuensche has joined #nixos
akaWolf has joined #nixos
odi has quit [(Ping timeout: 240 seconds)]
odi has joined #nixos
sellout-1 has quit [(Quit: Leaving.)]
<nwuensche> Hi! So I'm wrapping a script in a cups driver package right now, but it just says: .../filter/.brlpdwrapperDCP145C-wrapped: line 66: grep: command not found. I wrapped coreutils, but I still get this message. Anyone knows how to wrap grep?
hamishmack has quit [(Quit: hamishmack)]
jellowj has joined #nixos
MercurialAlchemi has joined #nixos
anton__ has quit [(Ping timeout: 246 seconds)]
phreedom has quit [(Remote host closed the connection)]
anton__ has joined #nixos
odi has quit [(Ping timeout: 255 seconds)]
<hyper_ch> hmmm, trying to mount shares in a loop but failing
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
Ivanych has joined #nixos
reinzelmann has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
nwuensche has quit [(Quit: Leaving)]
nwuensche has joined #nixos
<nwuensche> hyper_ch: Maybe you have to surround everything with {}-brackets?
<hyper_ch> don't really know
oida_ has joined #nixos
<nwuensche> hyper_ch: How do you call this? Is it part of your configuration.nix?
<hyper_ch> yes
oida has quit [(Ping timeout: 260 seconds)]
<Guest2883> hyper_ch: you didn't close the () around your map statement
Guest2883 has quit [(Quit: Guest2883)]
Shados has joined #nixos
Shados is now known as Guest69023
Guest69023 has quit [(Client Quit)]
Shados_ has joined #nixos
<hyper_ch> Shados_: well, when I add it, I do get : error: syntax error, unexpected IN, expecting ';', at /etc/nixos/configuration.nix:70:5
ChongLi has quit [(Ping timeout: 252 seconds)]
aanderse_ has quit [(Ping timeout: 252 seconds)]
<Shados_> hyper_ch: https://pastebin.com/6n87y1Am should be the syntax you're looking for, I think
<hyper_ch> Shados_: I just miss some kind of looping :(
<Shados_> it does take a while to wrap your head around higher-order functions instead of looping, but it'll feel natural after enough use
<hyper_ch> Shados_: two problems
<hyper_ch> I first define some tmpfs dirs
<hyper_ch> and then adding your code just breaks at
<hyper_ch> error: syntax error, unexpected '=', expecting ';', at /etc/nixos/configuration.nix:63:15
<Shados_> you'll need to merge the two attribute sets then
<hyper_ch> when I remove the tmpfs entries first, I get error: The option value `fileSystems.Audio.options' in `/etc/nixos/configuration.nix' is not a list of string (with check: non-empty)s.
<hyper_ch> how to merge that?
odi has joined #nixos
<nwuensche> Shados: Do you know a solution to my problem? I'm wrapping a script in a cups driver package right now, but it just says: .../filter/.brlpdwrapperDCP145C-wrapped: line 66: grep: command not found. I wrapped coreutils, but I still get this message
<hyper_ch> https://paste.simplylinux.ch/view/6510d678 - error: syntax error, unexpected LET, at /etc/nixos/configuration.nix:61:9
<hyper_ch> nwuensche: can you pastebin it?
<Shados_> hyper_ch: https://pastebin.com/a8H00XfG your function returns an attribute set (these things {}), and you are also defining the attribute set containing the tmpfs mounts, so you want the union of them by passing both the // operator. This should work, I think. Also, if you use vim, there's a vim-nix plugin with rather decent syntax highlighting and linting. Helps a lot.
<nwuensche> You can find the files here: https://github.com/NWuensche/brotherppd2
<hyper_ch> vim is too complicated for me
<hyper_ch> Shados_: what's the //
<nwuensche> I call the driver with printing.drivers = [ (( pkgs.callPackage_i686 /home/nwuensche/brotherppd2/printer2.nix) { })];
<Shados_> hyper_ch: see the nix manual link from earlier
<hyper_ch> what nix manual link?
<hyper_ch> besides, the problem with looking for // is http(s)://yaddayaddayadda
<hyper_ch> ah, thx
<Shados_> *by passing both to the // operator
<Shados_> derped that sentence up a bit
<hyper_ch> Shados_: problem still remians: error: The option value `fileSystems.Audio.options' in `/etc/nixos/configuration.nix' is not a list of string (with check: non-empty)s.
Mateon3 has joined #nixos
<Taneb> What do I need to do to set a keyboard layout in my configuration.nix? I've set i18n.consoleKeyMap and services.xserver.layout both to "uk" and I'm still on a US layout
anton__ has quit [(Ping timeout: 276 seconds)]
<Shados_> Yeah, looks like you're using the old syntax for filesystem options. They're now a list of strings like ["noauto" "user" ] instead of the literal options string you'd use to mount it
<nwuensche> Taneb: Use xserver.displayManager.sessionCommands
<hyper_ch> Taneb: https://paste.simplylinux.ch/view/3fa1c45a that's what I use
Mateon3 is now known as Mateon1
Shados_ has quit [(Quit: Shados_)]
<hyper_ch> Shados_: ah right :) yeah, tried to write that condensed a while back.. gave up and reattempting now ;)
nslqqq has joined #nixos
Shados has joined #nixos
<nwuensche> Taneb: I had the same problems with these commands, and I think you just could use xserver.displayManager.sessionCommands =''setxkbmap eu'';
<nwuensche> Taneb: Of course, replace eu with uk ;)
anton__ has joined #nixos
<Taneb> Didn't seem to work :(
<nwuensche> Taneb: Have you rebuild?
nslqqq has quit [(Ping timeout: 255 seconds)]
<Shados> nwuensche: you're only wrapping with the coreutils bin path for that one, not the grep bin path as well
<nwuensche> Shados: But I can't add grep to the makeBin function/
nslqqq has joined #nixos
<Taneb> nwuensche, yeah
anton__ has quit [(Ping timeout: 255 seconds)]
<Shados> nwuensche: Not sure what you mean?
<nwuensche> Taneb: Could you reboot? I think nixos doesn't restart the x service when you rebuild.
freusque has joined #nixos
<Shados> Taneb: restart the display-manager service
<nwuensche> Shados: How can I add grep to wrapProgram?
<Shados> rebuilds don't do that by default as it kills your X session
<Taneb> nwuensche, I rebooted after rebuilding
<Shados> you just add the package to the list of binary paths you're prefixing PATH with for the wrapped program
aanderse_ has joined #nixos
ChongLi has joined #nixos
<Taneb> Hmm, does it want to be gb rather than uk
<nwuensche> Shados: Sorry, I just thought I added the gnugrep to the write script, but it was the wrong one... I thought it doesn't work with gnugrep, but it was my mistake. Thank you for that :)
<nwuensche> brb
<Taneb> Changed services.xserver.layout to "gb" and it seems to work now!
<hyper_ch> Shados: adding thise multiple times gives again errors: https://paste.simplylinux.ch/view/55eee172
<nwuensche> Taneb: I should've read the manual... But nice that it works now!
<hyper_ch> also, not sure where the mount point is defined
<sphalerite> how can I get nix-env as root to install to root's profile rather than the default profile?
<sphalerite> by default*
justbeingglad has joined #nixos
<sphalerite> I don't want to pass -p /nix/var/nix/profiles/per-user/root
<sphalerite> every time
<nwuensche> sphalerite: Could you use environment.systemPackages in the config?
<sphalerite> nwuensche: no, that's exactly not what I want
<sphalerite> I want packages installed via nix-env as root to be available to root, but not pollute all users' namespaces
justbeingglad has left #nixos []
leat has quit [(Quit: leat)]
<nwuensche> sphalerite: Ah, ok
nwuensche has quit [(Quit: Leaving)]
aanderse_ has quit [(Ping timeout: 264 seconds)]
anton__ has joined #nixos
ChongLi has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v5sV1
<NixOS_GitHub> nixpkgs/master 3b6eb93 Jörg Thalheim: python.pkgs.oger: remove...
<NixOS_GitHub> nixpkgs/master 27ac74d Jörg Thalheim: mitmproxy: fix tests
<NixOS_GitHub> nixpkgs/master def7bad Jörg Thalheim: python.pkgs.pyramid_beaker: fix tests
NixOS_GitHub has left #nixos []
freusque has quit [(Ping timeout: 246 seconds)]
aanderse_ has joined #nixos
DrWaste has joined #nixos
ChongLi has joined #nixos
ertes has quit [(Ping timeout: 248 seconds)]
<hyper_ch> ok, having a .nix file in the same git repository as you want to actuall pull from leads to desaster
<sphalerite> hyper_ch: how so?
<hyper_ch> because I get sha mismatch all the time and I have no idea why
<hyper_ch> it just doesn't seem to fetch latest master
<sphalerite> well yes
<hyper_ch> I have this in the configuration.nix (pkgs.callPackage (builtins.fetchurl "https://raw.githubusercontent.com/sjau/pdfForts/master/pdfForts.nix") {})
<sphalerite> you can't produce a hash that will include a file contianing itself
<hyper_ch> so, it should fetch tht latest master .nix
<sphalerite> at least there's no known way with sha256 :)
<hyper_ch> sphalerite: please let me finish
<sphalerite> I haven't muted you or anything, you're very welcome to finish regardless of what I say :)
<hyper_ch> so in that file I do actually point to an earlier commit from which I know the sha256
<hyper_ch> so I the sha256 should be alright
<hyper_ch> but it doesn'0t seem to pull it everytime from master
<hyper_ch> I change now the rev in the .nix file to that commit
<hyper_ch> I run git add -A, git commit -am "sha256", git push
<hyper_ch> now the latest commit has changed
<hyper_ch> if I tell nixos to rebuild, it should fetch that latest nix file and complain about sha256
anton__ has quit [(Ping timeout: 255 seconds)]
<Shados> hyper_ch: I believe the problem in your case is that let-expressions are only syntactically valid at the beginning of a scope, so you either need to define all your variants of makeFileSystems using different names in a single let ... in at the start of the fileSytems definition, or separately wrap each attribute set you are mergining in parentheses
<sphalerite> Shados: no, let is fine pretty much anywhere
<hyper_ch> it tells me: output path ‘/nix/store/xians9ni7yflgnndmkrdr7j7gpiikygq-pdfForts-bd56b46’ has r:sha256 hash ‘0rpp37vm1py2haz006dwwngkv5s021i4hrha7lgh3lflj52b1gih’ when ‘1fyh56y34w2hj899mspd20ilg7mi7n0yv4zi7mlgnz81qmax3fzy’ was expected
<hyper_ch> so I change the sha256 now in the .nix file to 0rpp37vm1py2haz006dwwngkv5s021i4hrha7lgh3lflj52b1gih
FRidh has joined #nixos
<hyper_ch> again git add -A, git commit -am, git push
<Shados> sphalerite: OK. Why does it refuse a let expression on the RHS of a // operator?
freusque has joined #nixos
<hyper_ch> I run nixos rebuild again, but still same error: output path ‘/nix/store/xians9ni7yflgnndmkrdr7j7gpiikygq-pdfForts-bd56b46’ has r:sha256 hash ‘0rpp37vm1py2haz006dwwngkv5s021i4hrha7lgh3lflj52b1gih’ when ‘1fyh56y34w2hj899mspd20ilg7mi7n0yv4zi7mlgnz81qmax3fzy’ was expected
<hyper_ch> it didn't download the latest master
<sphalerite> Shados: try // (let … in …)
anton__ has joined #nixos
<hyper_ch> why isn't it fetching the latest master again upon rebuild command?
<sphalerite> right, I see the problem. My guess is that builtins.fetchurl makes some assumptions about the URL being cacheable
<hyper_ch> sounds like a bug to me?
<Shados> sphalerite: So the parser just isn't smart enough to pick up on let being a keyword in that position?
<hyper_ch> Shados: sphalerite: instead of having just the "name" in the let ... in ... expression, could I assign more variables/values?
<hyper_ch> e.g. mount point, username, password, remote address, etc?
<sphalerite> Shados: it's not so much a matter of the parser's smartness as the language definition. I don't know the exact intricacies of it but I imagine allowing that without parentheses might introduce ambiguities
<hyper_ch> builtIns.ListtoAttr only allows name -> value
freeman42y has quit [(Ping timeout: 240 seconds)]
endformationage has quit [(Quit: WeeChat 1.9)]
mw has left #nixos []
<hyper_ch> with the ( Let ... In .... ) around the second let it works fine
leat has joined #nixos
<hyper_ch> that doesn't seem to work
<hyper_ch> still clueless how i can define where it should be mounted
krav_ has quit [(Ping timeout: 248 seconds)]
hexagoxel has quit [(Ping timeout: 252 seconds)]
<hyper_ch> sphalerite: where should I report about that behaviour of buitins.fetchurl?
<sphalerite> I'd say the nix repo
<sphalerite> I'm pretty certain it's intended behaviour
<sphalerite> just not sure if it's documented intended behaviour :p
hexagoxel has joined #nixos
nwuensche has joined #nixos
ertes-w has joined #nixos
<sphalerite> hyper_ch: as a suggestion for the fileSystems thing: http://ix.io/zsq/nix
<sphalerite> (not tested of course)
<sphalerite> oh yeah, rather than `[ office "Advo" ]` you'll want `[( office "Advo" )]`
<hyper_ch> and where to tell wehere to mount?
<hyper_ch> let me see this
<hyper_ch> things would be so much simpler with a simple loop construct
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v5srp
<NixOS_GitHub> nixpkgs/staging a7ddca6 Frederik Rietdijk: python 3.4, 3.5, 3.6: Don't use ldconfig and speed up uuid load, fixes #28349...
NixOS_GitHub has left #nixos []
<clever> hyper_ch: nix-repl> lib.range 1 3
<clever> plus map
<clever> [ 1 2 3 ]
<sphalerite> hyper_ch: foldl is a simple loop construct :)
<clever> and/or foldl'
<hyper_ch> clever: no idea what you mean by nix-repl> lib.range 1 3
<hyper_ch> foldl?
<clever> hyper_ch: "lib.range 1 3" is a function that returns a list of [ 1 2 3 ]
<clever> nix-repl> builtins.foldl' (state: item: state + "i is ${item}, ") "" [ "a" "b" "c" ]
<clever> "i is a, i is b, i is c, "
<clever> the function is given the current state, and an item from the list
<clever> and "" is the initial state
<clever> the function must then return a new state, and foldl' will re-run it on the new state and next item
<clever> until it has run out of items
<clever> nix-repl> builtins.foldl' (state: item: state // { ${item} = "value"; }) {} [ "a" "b" "c" ]
jtojnar has quit [(Ping timeout: 240 seconds)]
<clever> { a = "value"; b = "value"; c = "value"; }
<clever> and you can use any type you want
<sphalerite> hyper_ch: http://ix.io/zsr fixed some mistakes in it, now it evaluates successfully. You'll want to change `inherit name;` to something like `name = "/path/to/place/${name}", or maybe add another attribute for where stuff for a particular server gets mounted.
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v5soW
<NixOS_GitHub> nixpkgs/staging 9435119 Maximilian Güntner: cpython: include test.support and test.regrtest...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28540: cpython: include test.support and test.regrtest (master...python_test_support) https://git.io/v5q4d
NixOS_GitHub has left #nixos []
<clever> nix-repl> :p { fileSystems = (builtins.foldl' (state: item: state // { ${item} = { device = "server:/media/${item}"; fsType = "nfs"; }; }) {} [ "a" "b" "c" ]); }
<clever> { fileSystems = { a = { device = "server:/media/a"; fsType = "nfs"; }; b = { device = "server:/media/b"; fsType = "nfs"; }; c = { device = "server:/media/c"; fsType = "nfs"; }; }; }
takle has joined #nixos
<clever> hyper_ch: boom, i now auto-generated mountpoints for 3 nfs shares
<hyper_ch> clever: I have no idea what you did
<nwuensche> clever: Could you please help me with my printer driver (It's another one :D ). You can find it here: https://github.com/NWuensche/brotherppd2
<clever> i need to get some sleep now, its 5am, lol
<nwuensche> clever: Oh, ok. No problem ;)
<sphalerite> hyper_ch: a fold is the repeated application of a function to elements of a list with some state that gets passed over from one to the next
<sphalerite> gnight clever !
<hyper_ch> sphalerite: thanks for the explanation but I don't really understand that
<sphalerite> hyper_ch: if you write the loop that you want in pseudocode or python or something I can show you how to translate it into a fold
<hyper_ch> one thing after the other
takle has quit [(Ping timeout: 264 seconds)]
<hyper_ch> sphalerite: You'll want to change `inherit name;` to something like `name = "/path/to/place/${name}", or maybe add another attribute for where stuff for a particular server gets mounted. --> don't really understand how to rename that or how to add an option for the mount location
<sphalerite> well, the name attribute in there is where it gets mounted
<hyper_ch> what do you mean by name attribute?
<hyper_ch> ah.... I think now I understand
<sphalerite> The one that's defined by line 15, `inherit name;`
Arcaelyx_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5sKG
<NixOS_GitHub> nixpkgs/master b24099c Jörg Thalheim: pythonPackages.keystoneclient: fix build
NixOS_GitHub has left #nixos []
<hyper_ch> not working, it doesn't even like the let
<nwuensche> Shados: Are you still online? I have the another problem with my package, which I can't solve
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #28629: xssproxy: init at 1.0.0 (master...xssproxy-1.0.0) https://git.io/v5sK4
NixOS_GitHub has left #nixos []
<sphalerite> hyper_ch: you want the let inside the definition of fileSystems
<sphalerite> so fileSystems = <http://ix.io/zsr goes here>
<hyper_ch> ok, next, it doesn't like that: "${localfs}/${name}";
seanparsons has quit [(Read error: Connection reset by peer)]
lukego has joined #nixos
<hyper_ch> error: syntax error, unexpected ';', expecting '.' or '=', at /etc/nixos/configuration.nix:53:29
takle has joined #nixos
<lukego> This seems like a ridiculous question to ask, but... How do I compile nix?
<hyper_ch> that was the inherit line before
seanparsons has joined #nixos
<hyper_ch> so I just did what you told me, replaced with with the mount location
<lukego> I tired 'nix-build -A build release.nix' and 'nix-shell shell.nix' but both fail to find 'nlohmann_json' variable
<hyper_ch> so I'm back to the question: You'll want to change `inherit name;` to something like `name = "/path/to/place/${name}", or maybe add another attribute for where stuff for a particular server gets mounted. --> what does that mean?
<sphalerite> hyper_ch: could you paste the whole thing again? Preferably somewhere with syntax highlighting, it's not very easy to read on paste.simplylinux.ch
<hyper_ch> syntaxhighlighting for what language?
<lukego> './bootstrap.sh && ./configure' fails too which I suppose is not surprising since it's in an arbitrary build env
mkoenig has joined #nixos
<sphalerite> hyper_ch: nix…
<hyper_ch> there's no nix hightlighting
<sphalerite> just put `name =` before `"${localfs}/${name}";`
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5s6e
<NixOS_GitHub> nixpkgs/master 861048c Jörg Thalheim: python.pkgs.mozinfo: python3 is not supported
NixOS_GitHub has left #nixos []
<hyper_ch> ok
<hyper_ch> sphalerite: is that better: https://paste.simplylinux.ch/view/45a9e49b using bash
<sphalerite> gist.github.com has syntax highlighting for nix
<hyper_ch> still same error
goibhniu has joined #nixos
<hyper_ch> nah sorry, something else
garbas has joined #nixos
<hyper_ch> sphalerite: almost there: https://paste.simplylinux.ch/view/e7a13df4 it complains that I pass an empty option for the first set becuase I don' requirey x-systemd to do anything
<hyper_ch> ah, I could trick it
<sphalerite> so you need to prevent the empty string from being included in options
<sphalerite> one way to do that would be to replace the xsystem option with an extraOptions option, which is a list and is appended to the options attribute
thc202 has joined #nixos
<sphalerite> or that
<hyper_ch> I just put in the options "x-systemd.requires=..."
<hyper_ch> now testing to see if reboot works ;)
<hyper_ch> brb
<hyper_ch> sphalerite: no luck
<hyper_ch> ok, my mistake :)
<hyper_ch> all mounts are like //remote/share}
<hyper_ch> somewhere that bracket came in
hamishmack has joined #nixos
<Shados> nwuensche: what's the prob?
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<hyper_ch> now something is totally broken
<nwuensche> Shados: You're online, yay :) When I cd /nix/store/...-cups-progs and then echo "test" | sh lib/cups/filter/brlpdwrapperDCP145C, I get: /nix/store/...-mfc2j47dd0dw-cupswrapper-3.0.0-1/usr/local/Brother/Printer/dcp145c/lpd/.brdcp145cfilter-wrapped: line 3: /nix/store/...-mfc2j47dd0dw-cupswrapper-3.0.0-1/usr/local/Brother/Printer/dcp145c/lpd/.brdcp145cfilter-wrapped: No such file or directory
mudri` has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5sXB
<NixOS_GitHub> nixpkgs/master e67daeb Jörg Thalheim: pycuda: 2017.1 -> 2017.1.1
NixOS_GitHub has left #nixos []
pi3r has joined #nixos
seanparsons has quit [(Read error: Connection reset by peer)]
<nwuensche> Shados: I think there is a interpreter problem, but I don't really know what is going wrong there
<symphorien> try bash -x instead of sh
seanparsons has joined #nixos
aloiscochard has joined #nixos
<pi3r> It looks like I am quite unlucky with the stable branch recently ... I thought it would be a lucky day as the `google-chrome` issue seems fixed. But now I have got a vcsh issue ... https://github.com/NixOS/nixpkgs/issues/28630 This was working a couple of days ago.
seanparsons has quit [(Read error: Connection reset by peer)]
<pi3r> *I have been quite unlucky* Sorry for the bad English ;-)
seanparsons has joined #nixos
erictapen has quit [(Remote host closed the connection)]
mkoenig_ has joined #nixos
bennofs has joined #nixos
erictapen has joined #nixos
mkoenig has quit [(Ping timeout: 255 seconds)]
<Shados> nwuensche: I build a copy locally, the binary it tries to run (/nix/store/...-mfc2j47dd0dw-cupswrapper-3.0.0-1/usr/local/Brother/Printer/dcp145c/lpd/.brdcp145cfilter-wrapped) is linked against /lib/ld-linux.so.2, which of course does not exist on NixOS
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jlesquembre opened pull request #28631: git-open: 1.3.0 -> 1.3.1 (master...git-open) https://git.io/v5s1m
NixOS_GitHub has left #nixos []
pie__ has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
MP2E has quit [(Quit: leaving)]
proteusguy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5s1r
<NixOS_GitHub> nixpkgs/master 5d62a4d Jörg Thalheim: python.pkgs.cgroup-utils: fix build
NixOS_GitHub has left #nixos []
proteusguy has quit [(Excess Flood)]
Ivanych has quit [(Ping timeout: 240 seconds)]
<hyper_ch> sphalerite: something really strange is happening: thunderbird says it has issues with my profiles... no apps show up in KDE
<sphalerite> that's odd.
<nwuensche> Shados: So should I just delete the patchelf line?
<hyper_ch> hyper@subi:~/.thunderbird$ thunderbird &
<hyper_ch> [1] 2605
<hyper_ch> hyper@subi:~/.thunderbird$ Error: Access was denied while trying to open files in your profile directory.
<nwuensche> Shados: So I tried to comment this line out, but I still get the same error.
<sphalerite> hyper_ch: can this be at all related to the filesystem changes? Is your home on one of these network mounts?
<hyper_ch> I think the variable user or password might cause problems
<Shados> nwuensche: I don't remember enough about linking to be much help here, sorry. I vaguely remember reading some articles about packaging pre-built applications for nixos, so maybe google about for those, or look for existing examples in nixpkgs?
<sphalerite> hyper_ch: but your home isn't on one of the network mounts afaict
<nwuensche> Shados: Ok, thank you nevertheless
<hyper_ch> sphalerite: it's note
<hyper_ch> also kde not showing up any programs is weird
<sphalerite> then surely it shouldn't affect that
<hyper_ch> booted now in my original and that works
<sphalerite> try diffing the output of mount in the two systems
<hyper_ch> in two systems?
zeus_ has quit [(Remote host closed the connection)]
proteusguy has joined #nixos
nwuensche has quit [(Quit: Leaving)]
zeus_ has joined #nixos
ylwghst has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
zeus_ has quit [(Ping timeout: 276 seconds)]
<hyper_ch> sphalerite: so, using old configuration.nix I rebuilt and booted into to... cleaning out now all the old generations and then make a copy of fstab, right?
proteusguy has quit [(Remote host closed the connection)]
<sphalerite> just boot the old, working one, `mount > working`, boot the new, broken one, `mount > broken`, then `diff working broken`
erictapen has quit [(Remote host closed the connection)]
takle has quit [(Remote host closed the connection)]
ylwghst has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
ThatDocsLady has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5syv
<NixOS_GitHub> nixpkgs/master 5f5a5ba Jörg Thalheim: python.pkgs.piexif: fix build
NixOS_GitHub has left #nixos []
ylwghst has joined #nixos
<hyper_ch> sphalerite: got now both
<hyper_ch> sphalerite: found the issue ;)
ylwghst has quit [(Ping timeout: 252 seconds)]
MoreTea has joined #nixos
<Shados> Is there a way to escape special characters (e.g. @) in options of type path? I know I can quote them, but then they have to be absolute...
<hyper_ch> sphalerite: yep, problem solved
<sphalerite> great, what was it?
<hyper_ch> well, back in the days with a 256gb SSD I did set tmpfs to a lot of things that produce a lot of writes... so /home/user/.cache as well
<hyper_ch> and that wasn't reflected in the new config
<hyper_ch> and the existing .cache was set to root
<hyper_ch> as owner
<hyper_ch> so kde, thunderbird etc couldn't write to it
<sphalerite> aaah
takle has joined #nixos
<hyper_ch> however there is another thing... when I set ~/.cache to tmpfs.... then on powerdown, it will wait 1m30s
<hyper_ch> stating it's still busy trying to stop a job in the session
<hyper_ch> so, I removed tmpfs for now and made it user writeable
<hyper_ch> but I'd still prefer it being tmpfs
mrkgnao has joined #nixos
<hyper_ch> and not have this timeout
seppellll has joined #nixos
Neo-- has quit [(Ping timeout: 252 seconds)]
<hyper_ch> sphalerite: also organising the mounts into /mnt/server/mountpoint now
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5s9l
<NixOS_GitHub> nixpkgs/master ea3f747 Jörg Thalheim: mozinfo: fix evaluation
NixOS_GitHub has left #nixos []
<hyper_ch> sphalerite: I have now this: https://paste.simplylinux.ch/view/raw/3ca8633f maybe that should be posted somewhere (outside my nixos github repo)... it could be useful for others
takle has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28631: git-open: 1.3.0 -> 1.3.1 (master...git-open) https://git.io/v5s1m
NixOS_GitHub has left #nixos []
takle has joined #nixos
<lewo> Hi. I get a "couldn't resolv hostname" from nix-store --realize gzip.drv while nix-prefetc-url works fine on the failing url. I think this could be related to the fact I'm in a container which is not well initialized. Are there any particular things to do to be able to resolv names with libstore?
sigmundv has quit [(Disconnected by services)]
<sphalerite> lewo: what sort of container?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5s9x
<NixOS_GitHub> nixpkgs/master 22002cb Benjamin Staffin: xssproxy: init at 1.0.0
<NixOS_GitHub> nixpkgs/master 0a3a17c Jörg Thalheim: Merge pull request #28629 from benley/xssproxy-1.0.0...
NixOS_GitHub has left #nixos []
<lewo> sphalerite: docker container (https://github.com/NixOS/nixpkgs/pull/28561)
proteusguy has joined #nixos
sigmundv_ has joined #nixos
<lewo> moreover, it could resolve cache.nixos.org because I can realize the same derivation if I enable the binary cache
cybrian has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28624: git-fire: Init at master as of 2017-08-27 (master...git-fire) https://git.io/v5sOA
NixOS_GitHub has left #nixos []
cybrian has joined #nixos
ison111 has quit [(Ping timeout: 252 seconds)]
jellowj has quit [(Ping timeout: 252 seconds)]
ris has joined #nixos
pi3r has quit [(Ping timeout: 246 seconds)]
evangeline has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28618: edk2: 2014-12-10 -> UDK2017 (master...edk2-2017) https://git.io/v5sTD
NixOS_GitHub has left #nixos []
nwuensche has joined #nixos
freeman42x[m] has joined #nixos
<hyper_ch> sphalerite: I still think it would be good to add that example somewhere official :)
<sphalerite> hyper_ch: sure. I don't know where the best place for that would be, but I'm sure if you open a PR/edit a wiki page/whatever nobody will mind :)
civodul has joined #nixos
<hyper_ch> or do you think it's not good? I mean there's probably tons of people out there that need to connect to one or more remote servers
erictapen has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #28633: webkitgtk24x: fix build with gcc6 (master...webkitgtk24x) https://git.io/v5s71
NixOS_GitHub has left #nixos []
ahmedtd has quit [(Quit: No Ping reply in 180 seconds.)]
_ris has joined #nixos
pierron has quit [(Ping timeout: 248 seconds)]
ekleog_ has quit [(Ping timeout: 248 seconds)]
ekleog has joined #nixos
pierron has joined #nixos
ahmedtd has joined #nixos
ris has quit [(Ping timeout: 260 seconds)]
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5s5d
<NixOS_GitHub> nixpkgs/master 2f5dab7 Jörg Thalheim: ansible: move out of pythonPackages...
NixOS_GitHub has left #nixos []
pie__ has quit [(Remote host closed the connection)]
kiloreux has joined #nixos
pie__ has joined #nixos
mudri` has quit [(Ping timeout: 246 seconds)]
nwuensche has quit [(Quit: Leaving)]
<kiloreux> How can I compile a nixpkg that requires cmake to configure before make ?
<avn> kiloreux: add cmake to nativeBuildInputs, it should work
<avn> it detect CMakeLists in top of src dir, and run cmake
<kiloreux> Thank you avn :D Will try that.
freeman42y[m] has joined #nixos
simukis has joined #nixos
freeman42x[m] has quit [(Ping timeout: 252 seconds)]
python476 has joined #nixos
pie__ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/v5sbC
<NixOS_GitHub> nixpkgs/master 8994b27 Robin Gloster: libvirtd module: add qemu_kvm to path
<NixOS_GitHub> nixpkgs/master 815cffc Robin Gloster: docker-distribution: 2.6.0 -> 2.6.2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5sb6
<NixOS_GitHub> nixpkgs/master 16bab45 Jörg Thalheim: kargo: fix evaluation
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #28634: clementine: fix build with gcc6 (master...clementine) https://git.io/v5sbb
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/v5sbh
<NixOS_GitHub> nixpkgs/release-17.03 fcae9e4 Robin Gloster: docker-distribution: 2.5.1 -> 2.5.2
NixOS_GitHub has left #nixos []
fiddlerwoaroof has quit [(Ping timeout: 240 seconds)]
anton__ has quit [(Quit: No Ping reply in 180 seconds.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5sNW
<NixOS_GitHub> nixpkgs/master 49b17a8 Jörg Thalheim: kargo: readd ansible2 to propagatedBuildInputs...
NixOS_GitHub has left #nixos []
freeman42x[m] has joined #nixos
lukego has quit [(Quit: Page closed)]
<Taneb> OK, I'm using nix for Haskell development and it's trying to use two different versions of text, which is causing problems
anton__ has joined #nixos
<Taneb> How can I resolve this?
fiddlerwoaroof has joined #nixos
freeman42y[m] has quit [(Ping timeout: 246 seconds)]
mudri` has joined #nixos
ertes-w is now known as supercynic
jedb has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5sxJ
<NixOS_GitHub> nixpkgs/master 99ffd20 Jörg Thalheim: python.pkgs.pyramid_beaker: fix tests
NixOS_GitHub has left #nixos []
pie__ has joined #nixos
lluchs has quit [(Quit: WeeChat 1.7)]
lluchs has joined #nixos
ThatDocsLady is now known as ThatDocsLady_afk
Neo-- has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
gnuhurd has joined #nixos
jtojnar has quit [(Quit: jtojnar)]
Wizek has quit [(Quit: Connection closed for inactivity)]
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
pie__ has quit [(Ping timeout: 246 seconds)]
jellowj has joined #nixos
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ThomasMader opened pull request #28635: Init ldc at 1.3.0, fix bootstrap dmd build, run dmd-testsuite in checkPhase and fix Foundation framework (master...ldc) https://git.io/v5spp
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Zimmi48 opened pull request #28636: ocamlPackages.ppx_deriving: 4.1 -> 4.2 (master...ppx_deriving_4.2) https://git.io/v5shT
NixOS_GitHub has left #nixos []
mguex has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
freeman42x[m] has quit [(Read error: Connection reset by peer)]
pie__ has joined #nixos
freeman42x[m] has joined #nixos
<eqyiel[m]> what could cause nixos-rebuild switch to not be persistent?
njd_ has joined #nixos
freeman42y[m] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v5shy
<NixOS_GitHub> nixpkgs/master 8991610 Orivej Desh: projectm: fix build with gcc6
<NixOS_GitHub> nixpkgs/master 1475b0f Orivej Desh: clementine: fix build with gcc6
<NixOS_GitHub> nixpkgs/master 85b08ca Jörg Thalheim: Merge pull request #28634 from orivej/clementine...
NixOS_GitHub has left #nixos []
<njd_> Hi, I'm new to nixos (though I've been playing for while) - I'm stuck in trying to override a package to a more recent version
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/v5shQ
<NixOS_GitHub> nixpkgs/master fd3e1ce Michael Raskin: fbterm: import Arch Linux patches to fix build
NixOS_GitHub has left #nixos []
freeman42x[m] has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5sjm
<NixOS_GitHub> nixpkgs/master 22a270b Orivej Desh: webkitgtk24x: fix build with gcc6
<NixOS_GitHub> nixpkgs/master cfbdd3e Jörg Thalheim: Merge pull request #28633 from orivej/webkitgtk24x...
NixOS_GitHub has left #nixos []
Ivanych has joined #nixos
iyzsong has joined #nixos
Vorpal has joined #nixos
Vorpal has quit [(Changing host)]
Vorpal has joined #nixos
ThatDocsLady_afk is now known as ThatDocsLady
tdc has joined #nixos
tmaekawa has joined #nixos
athan has quit [(Ping timeout: 248 seconds)]
freeman42x[m] has joined #nixos
athan has joined #nixos
<asymmetr-> hi guys, have a question: why do my python packages always run all the tets locally on install?
<asymmetr-> is that necessary on every machine? couldn't it be done by the CI?
<gchristensen> garbas: ping? can you help me with an issue of an Elm package in Nixpkgs? I see you in the blame :)
<asymmetr-> e.g. pycryptodome
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
<asymmetr-> it is a dependency of some package i need, and every time there's an update, the build takes long
<asymmetr-> because tests run. is that the default behaviour? and if so, can it be disabled globally?
<gchristensen> asymmetr-: what version of python are you using?
jtojnar has quit [(Remote host closed the connection)]
<asymmetr-> gchristensen: 3.5
<gchristensen> ah, so we do build it for you, but on 3.6, not on 3.5
<asymmetr-> ah, cool!
<asymmetr-> but it's still not default, right? i.e. pythonPackages is still 2.x
<gchristensen> I think pythonPackages is py3?
<gchristensen> anyway you can do pythonPackages3 and get our most supported, python3
jtojnar has joined #nixos
<asymmetr-> great
erictapen has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/fcae9e4c64 (from 79 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<asymmetr-> gchristensen: is it pythonPackages3 or python3Packages?
<gchristensen> d'oh, python3Packages :)
<asymmetr-> :)
<garbas> gchristensen: i will be off meetings in 3-4h. will you be online then?
<gchristensen> garbas: you bet
<garbas> gchristensen: i will ping you when i'm done.
<gchristensen> thanks!
<asymmetr-> i tried it, and the build still seems to be running tests and all that, e.g. for magic-wormhole
Ivanych has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 8 new commits to release-17.03: https://git.io/v5GJz
<NixOS_GitHub> nixpkgs/release-17.03 6c0b7ec Tim Steinbach: atom: 1.16.0 -> 1.17.0
<NixOS_GitHub> nixpkgs/release-17.03 50a6f1e Tim Steinbach: atom: 1.17.0 -> 1.17.2
<NixOS_GitHub> nixpkgs/release-17.03 6ef6aa3 Tim Steinbach: atom: 1.17.2 -> 1.18.0
NixOS_GitHub has left #nixos []
guillaum1 has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
<guillaum1> I'm trying to patch my executable (built with nix) using patchelf to set the interpreter to the system "/lib64/ld-linux-x86-64.so.2" one. However, then, the binary execution fails with output on stdout "... @@@@@ Error XXXX" with @@@@ random garbage and XXXX a random big integer.
<gchristensen> why are you wanting to do that?
<guillaum1> gchristensen: deploy a binary built with nix on a plateform without nix.
jellowj has quit [(Ping timeout: 240 seconds)]
CustosLimen[m] has joined #nixos
<symphorien> guillaum1: it is usually enough to tar/untar $(nix-store -qR $(readlink -f result))
arximboldi has joined #nixos
<Mic92> guillaum1: you can to store it in /nix in the exact same location and also use glibc from nixpkgs instead
<Mic92> otherwise building from source is easier
<guillaum1> symphorien: Mic92: this will need root acces on my computer client unfortunately ;(
<Mic92> guillaum1: you can use proot or nix-user-chroot
<Mic92> to avoid root
jellowj has joined #nixos
<Mic92> the latter one is preferred, if the kernel allows this
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
civodul has joined #nixos
<guillaum1> I'll have a look at nix-user-chroot then. Thank you. Do you know how it behaves with OpenGL?
<Mic92> guillaum1: you will have the same problem as nix on linux due missing /run/opengl-driver
<guillaum1> (both requires some stuff on the kernel which are not available for my client... Back to step one ;)
<Mic92> guillaum1: really old kernels then
<Mic92> guillaum1: then I would try to compile it from source
<Mic92> but if you are not able to create /nix it won't help you
<symphorien> you could try to compile nix for a different stor location
<symphorien> *store
<Mic92> but then you have to recompile everyting
<guillaum1> And do you know why simply changing the dynamic loader doesn't work?
<guillaum1> (This will fixs my packageing and OpenGL issues at once)
<Mic92> no
squidly_ has joined #nixos
<Mic92> guillaum1: and you can ask to install a deb/rpm whatever package with you software?
<Mic92> then you could just use fpm and package /nix
freusque has quit [(Quit: WeeChat 1.7.1)]
odi has quit [(Ping timeout: 240 seconds)]
athan has quit [(Ping timeout: 248 seconds)]
jtojnar has quit [(Remote host closed the connection)]
freusque has joined #nixos
<guillaum1> Mic92: I may ask, yes, but the simpler the better (currently we are distributing packages wich are autonmous, I'll have a lot of issue justifying a "regression" like that...)
jtojnar has joined #nixos
athan has joined #nixos
<Mic92> guillaum1: then I would not use nix at all for building
<Mic92> you are only asking for trouble
<gchristensen> the problem is they are not autonomous
<guillaum1> Mic92: do you know any satisfaying alternative?
<guillaum1> gchristensen: (they are not, indeed, but enough...)
<gchristensen> they are implicitly depending on the system's linker and you can't control the system linker
tmaekawa has quit [(Quit: tmaekawa)]
<symphorien> guillaum1: if you *only* depend on you binary and nix's linker you can ship a shell script doing "/path/to/linker.so yourbinary"
ona has quit [(Quit: ...)]
<symphorien> s/linker/interpreter
<guillaum1> gchristensen: I don't want to discuss that point. The nix appreach is clearly the right thing to do. However I have business constraints. We are deploying to our client since ten years with a binary which only depends on the system libGL and system linker and it works. I'm trying to modernize our build process using nix, but I don't want a "regression" in our deployment process.
<gchristensen> aye
<guillaum1> symphorien: I tried that solution and indeed it works, except for libGL.
<Mic92> guillaum1: you can tell ld also, where to find libGl
<symphorien> did you add this to LD_LIBRARY_PATH ? if I'm not mistaken, libgl, sane and a couple of other libs are not "hardcoded" in binary rpathes even on nixos
jtojnar has quit [(Remote host closed the connection)]
<symphorien> they still depend on their path being in the environement
<Mic92> guillaum1: ld.so --library-path ...
<guillaum1> Mic92: and how will it work for the dependencies of libGL ?
jtojnar has joined #nixos
<squidly_> noob question: I'm trying to install citrix receiver which is in nixpkgs, but I can't work out what I should be adding to my config file
<guillaum1> Mic92: (on a normal system, they are found using the settings of the library loader, but using the nix loader, it only follows rpath)
<guillaum1> (Perhaps I had an XY problem actually. Instead on focusing on changing the loader, perhaps I must focus on finding a way to correctly load libGL using the nix loader)
<Mic92> guillaum1: the idea is to your systems ld.so, it will then also obey ldconfig etc
<symphorien> nix loader also follows LD_LIBRARY_PATH, doesn't it ?
<Dezgeg> doesn't using the system ld.so risk loading libraries from /usr/lib in place of the nix libraries? or does rpath take precedence?
<guillaum1> symphorien: yes, but setting LD_LIBRARY_PATH to /usr/lib is a bit dangerous (but well, I don't have a lot of other dependencies, so the risk is not that important)
<guillaum1> Damned, I have another XY problem, I ignored LD_LIBRARY_PATH because I did not wanted to priorize a system library instead of my local library, but actually I don't care...
<Mic92> guillaum1: distributions like ubuntu, but the location of libgl in to /etc/ld.so.conf.d
<Mic92> so you cannot the link-loader of nix
<symphorien> is there a priority of rpath over LD_LIBARY_PATH ? that would solver your problems
<symphorien> you could even ship your binary with a folder containing a symlink to /usr/lib/ligl.so and add that folder to LD_LIBRARY_PATH
<Mic92> symphorien: the problem is, that you don't know, what you actually want to put in LD_LIBRARY_PATH, the location of libgl can be different
<guillaum1> Mic92: it can be different AND you need a way to resolv recursive dependencies of libGL...
<squidly_> I thought that setting allowUnfree would allow me to install it, but I still can't find it in nix-env
elurin has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<Mic92> squidly_: you can set it both system-wide and only for your user
<Mic92> maybe you have only added to one of both
<squidly_> that makes sense
gnuhurd has quit [(Ping timeout: 252 seconds)]
Ivanych has joined #nixos
gnuhurd has joined #nixos
<squidly_> if I've set in /etc/nixos/configuration.nix, and I've added citrix-receiver to my pkg list, why would it not be installed?
<squidly_> is there a longer path that it needs to be correctly resolved?
<Mic92> squidly_: did you add citrix_receiver or citrix-receiver?
<Mic92> The first one is correct
elurin has joined #nixos
<squidly_> oh
<squidly_> well I'll be
<squidly_> thanks :)
<Mic92> I can write books of UX bugs in nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v5Gtv
<NixOS_GitHub> nixpkgs/master c8bdd87 Peter Hoeg: darkhttpd: minor cleanups
NixOS_GitHub has left #nixos []
odi has joined #nixos
hotfuzz_ is now known as hotfuzz
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<shlevy> Anyone ever run into an issue where compiled binaries don't have their rpaths set up correctly?
<shlevy> It's a meson-based build if that matters
_ris is now known as ris
ThatDocsLady is now known as ThatDocsLady_afk
<viaken> Why is 'with import <nixpkgs>...' not enough to pull in some dependencies? Specifically, trying to build displaylink and it's asking for evdi.
freeman42y[m] has joined #nixos
erictapen has quit [(Ping timeout: 255 seconds)]
freeman42x[m] has quit [(Read error: Connection reset by peer)]
erictapen has joined #nixos
<dash> viaken: show us your expr?
isHavvy has joined #nixos
Havvy has quit [(Ping timeout: 240 seconds)]
Neo-- has quit [(Ping timeout: 246 seconds)]
<viaken> nix-build -E 'with import <nixpkgs> rec { }; callPackage ./default.nix { }'
goibhniu1 has joined #nixos
<viaken> Tried installing it with nix-env, but got a sha error. Probably because the download url doesn't actually point to the file needed.
<ndash> oh, yeah it's not likely to work that way, use it as part of nixpkgs
goibhniu has quit [(Ping timeout: 240 seconds)]
<ndash> (sorry, had to switch irc clients)
<viaken> How do I do that?
jellowj has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/da2159dafb (from 79 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<ndash> does 'nix-build /path/to/yournixpkgs -A displaylink' work?
squidly_ has quit [(Quit: Page closed)]
<ndash> I assume you're modifying a local checkout since the version in master is broke
<viaken> There we go. :)
erictapen has quit [(Ping timeout: 260 seconds)]
<viaken> segfault, but that's not Nix's fault.
<Shados> a nixops question: If I deploy to an existing NixOS machine (https://nixos.org/nixops/manual/#sec-deploying-to-ec2, amusingly wrong section name), will the resulting configuration be the union of the existing on-target configuration.nix and the deployment config, or will the latter overwrite the former?
<gchristensen> Shados: nixops completely ignores the target system's configuration.nix and replaces it with exactly what is defined in nixops
<ikwildrpepper> Shados: it will solely be the configuration you specify
<ikwildrpepper> in your nixops files
erictapen has joined #nixos
<ikwildrpepper> what gchristensen said ;)
<gchristensen> <3 *wave*
detran has joined #nixos
<Shados> OK, so I'd need to define all my hardware and FS stuff in the nixops deployment configuration for it?
<gchristensen> yep
freeman42x[m] has joined #nixos
freeman42y[m] has quit [(Read error: Connection reset by peer)]
<Shados> OK, again relative to targeting a NixOS system setup outside of nixops, will nixops need password auth enabled on ssh initially, or can I have it pre-generate an ssh key for the system that I can seed it with?
freeman42y[m] has joined #nixos
<clever> Shados: both work, you can use an ssh-agent i believe to allow nixops to ssh in
<clever> Shados: nixops uses "ssh -i /tmp/foo" to load its own key, which breaks loading of the default in ~/.ssh/id_rsa, but the ssh-agent remains working
erictapen has quit [(Remote host closed the connection)]
freeman42x[m] has quit [(Ping timeout: 252 seconds)]
<Shados> That's a little awkward, but I can work with that
DrWaste has quit [(Quit: Run away!)]
erictapen has joined #nixos
jellowj has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
Rotaerk has quit [(Quit: Leaving)]
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
cement has joined #nixos
numbdewd has joined #nixos
freeman42y[m] has quit [(Ping timeout: 264 seconds)]
gnuhurd has joined #nixos
Ivanych has quit [(Ping timeout: 248 seconds)]
odi has quit [(Ping timeout: 255 seconds)]
Wizek has joined #nixos
ylwghst has joined #nixos
Neo-- has joined #nixos
nwuensche has joined #nixos
Mateon1 has left #nixos []
<lewo> Can hydra work without the nix deamon?
<hyper_ch> hi clever
<hyper_ch> clever: this works now great: https://paste.simplylinux.ch/view/raw/3ca8633f and I've been wondering: I don't think I'm the only one to mount from multiple remote shares and so it maybe should be posted somewhere as example on nixos site? but what would be a good place?
odi has joined #nixos
<Mic92> hyper_ch: nixos.wiki
odi has quit [(Ping timeout: 240 seconds)]
<hyper_ch> Mic92: btu where there?
pie__ has quit [(Remote host closed the connection)]
<niksnut> lewo: probably, but then it would have to run as root
<niksnut> or otherwise have write access to the store
<Mic92> hyper_ch: on a Samba page maybe?
<nwuensche> Is anyone here who helped me last week with my Brother printer and has time to help me with a problem?
<lewo> niksnut: ok, thx.
<hyper_ch> Mic92: how to create a new entry? and the samba page is for running a server
pie_ has joined #nixos
arximboldi has quit [(Quit: arximboldi)]
ison111 has joined #nixos
<Mic92> hyper_ch: you need to login, github login is also available
<Mic92> hyper_ch: well Samba can cover both cases client and server, I would at least keep a reference there.
<hyper_ch> I gave up
seppellll has quit [(Quit: Leaving)]
LysergicDreams has quit [(Ping timeout: 260 seconds)]
ylwghst has quit [(Ping timeout: 240 seconds)]
LysergicDreams has joined #nixos
arximboldi has joined #nixos
sellout- has joined #nixos
kier has quit [(Quit: No Ping reply in 180 seconds.)]
ThatDocsLady_afk is now known as ThatDocsLady
kier has joined #nixos
nwuensche has quit [(Ping timeout: 255 seconds)]
jasom has quit [(Ping timeout: 240 seconds)]
leat has quit [(Quit: leat)]
jasom has joined #nixos
Sonarpulse has joined #nixos
nwuensche has joined #nixos
nwuensche has quit [(Ping timeout: 248 seconds)]
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
erasmas has joined #nixos
nwuensche has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
python476 has quit [(Ping timeout: 240 seconds)]
endformationage has joined #nixos
odi has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
<dash> anybody got a good example of bridged networking setup for a nixos container?
<dash> i've got two services in my configuration.nix that want to listen on port 8443, trying to figure out what to do with them; thought it'd be easiest to put one on a separate IP
<fearlessKim[m]>  I don't get why `nix-shell -p i3pystatus python35Packages.pytz python35Packages.keyring --run "python3 -c 'import i3pystatus'"` return "no module named i3pystatus" while `nix-shell -p i3pystatus --run "python3 -c 'import i3pystatus'"` works
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v5GzX
<NixOS_GitHub> nixpkgs/master 163b3e8 Tim Steinbach: linux: 4.13-rc6 -> 4.13-rc7
NixOS_GitHub has left #nixos []
supercynic has quit [(Ping timeout: 240 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
Ivanych has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cocreature closed pull request #28080: Fix GHC 7.10 config of vector and tasty-ant-xml (master...ghc-7.10) https://git.io/v71WG
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/da2159dafb (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #28637: synergy: fix check with gcc6 (master...synergy) https://git.io/v5G21
NixOS_GitHub has left #nixos []
<orbekk> fearlessKim[m]: You should specify multiple packeges like this: -p package1 -p package2
digitus has joined #nixos
odi has quit [(Ping timeout: 255 seconds)]
goibhniu1 has quit [(Ping timeout: 246 seconds)]
aloiscochard has quit [(Quit: Connection closed for inactivity)]
<fearlessKim[m]> orbekk: right seems to work, also I think I had to use python36Packages.pytz, doesn't seem available for python35. Tried to run nix-shell with -v5 but can't say the error helped much "build input 5 does not exist"
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo opened pull request #28638: libipfix: init at 110209 (master...libipfix) https://git.io/v5Gah
NixOS_GitHub has left #nixos []
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
leat has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
FRidh has joined #nixos
fresheyeball has joined #nixos
eacameron has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/v5Grr
<NixOS_GitHub> nixpkgs/master e0010cd Vladimír Čunát: pprof: init at 2017-08-28
<NixOS_GitHub> nixpkgs/master 3a18fa4 Vladimír Čunát: gperftools: 2.5 -> 2.6.1...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/v5Gr6
<NixOS_GitHub> nixpkgs/release-17.03 d4d3659 Vladimír Čunát: pprof: init at 2017-08-28...
NixOS_GitHub has left #nixos []
<nwuensche> Hi! I have a problem with my printer driver. When I cd /nix/store/...-cups-progs and then echo "test" | sh lib/cups/filter/brlpdwrapperDCP145C, I get: /nix/store/...-mfc2j47dd0dw-cupswrapper-3.0.0-1/usr/local/Brother/Printer/dcp145c/lpd/.brdcp145cfilter-wrapped: line 3: /nix/store/...-mfc2j47dd0dw-cupswrapper-3.0.0-1/usr/local/Brother/Printer/dcp145c/lpd/.brdcp145cfilter-wrapped: No such file or directory
<nwuensche> The files are here: : https://github.com/NWuensche/brotherppd2
erictapen has joined #nixos
mudri` is now known as mudri
pxc has joined #nixos
<MoreTea> Hi, I'm looking into splitting up the kubernetes NixOS module up into smaller modules, one for each kubernetes component.
<MoreTea> The idea is that this will simplify updating to a more recent version
fresheyeball has quit [(Ping timeout: 246 seconds)]
fresheyeball has joined #nixos
<MoreTea> Is there an other example of a service that uses sub-modules properly?
k0001 has joined #nixos
zeus_ has joined #nixos
<MoreTea> I'm getting errors like: The option `services.kubernetes.kubelet' is used but not defined.
<clever> MoreTea: which channel are you on?
mudri has quit [(Ping timeout: 248 seconds)]
tdc_ has joined #nixos
<MoreTea> a dirty git tree ;)
<clever> what rev?
tdc has quit [(Ping timeout: 248 seconds)]
numbdewd has quit [(Ping timeout: 240 seconds)]
justanotheruser has quit [(Ping timeout: 240 seconds)]
<MoreTea> my idea here was to 1. split the kubernetes module into smaller submodules, make it work with the existing k8s version, then bump k8s and cherry-pick from what other people have done already.
<clever> because its commented out, the kubelet options no longer exist
<clever> oh, line 102, hmmmm
<clever> i think submodules work differently
numbdewd has joined #nixos
<MoreTea> the import stuff was done by me as well, it used to be one big file, right?
<nwuensche> Hi clever, have you now time for me? :)
ylwghst has joined #nixos
eacameron has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 5 new commits to master: https://git.io/v5Giu
<NixOS_GitHub> nix/master 8fff3e7 Eelco Dolstra: Make TunnelLogger thread-safe...
<NixOS_GitHub> nix/master e681b1f Eelco Dolstra: Simplify
<NixOS_GitHub> nix/master fe34b91 Eelco Dolstra: Tunnel progress messages from the daemon to the client...
NixOS_GitHub has left #nixos []
<clever> nwuensche: what is the contents of lpd/.brdcp145cfilter-wrapped ?
slyfox has quit [(Ping timeout: 248 seconds)]
<nwuensche> I think the same as brlpdwrapperDCP145C, but with the wrapProgram stuff around it.
slyfox has joined #nixos
<nwuensche> clever: Yep, it is
mudri has joined #nixos
<nwuensche> clever: If it helps, there is still a brcupsconfpt1 file I don't really know what to do with
pxc has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #28639: [WIP] alacritty: 2017-07-25 -> 2017-08-28 (master...alacritty_2017_08_28) https://git.io/v5GP5
NixOS_GitHub has left #nixos []
phreedom has joined #nixos
simukis has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d4d3659e54 (from 43 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] SuprDewd opened pull request #28640: google-play-music-desktop-player: 4.4.0 -> 4.4.1 (master...gpmdp-4.4.1) https://git.io/v5GXS
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
Infinisil has joined #nixos
ylwghst has quit [(Ping timeout: 276 seconds)]
reinzelmann has joined #nixos
ixxie has joined #nixos
<nwuensche> clever: Sorry if I annoy you, but have you found something out?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to staging: https://git.io/v5GMj
<NixOS_GitHub> nixpkgs/staging f9f9749 Franz Pletz: libarchive: 3.3.1 -> 3.3.2
NixOS_GitHub has left #nixos []
Arcaelyx has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to staging: https://git.io/v5Gyv
<NixOS_GitHub> nixpkgs/staging 0f043d4 Franz Pletz: unbound: 1.6.4 -> 1.6.5
NixOS_GitHub has left #nixos []
bennofs has quit [(Ping timeout: 264 seconds)]
ris has quit [(Ping timeout: 240 seconds)]
jellowj has quit [(Quit: WeeChat 1.7.1)]
ris has joined #nixos
taktoa has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-17.03: https://git.io/v5Gyr
<NixOS_GitHub> nixpkgs/release-17.03 c1fc1ea Franz Pletz: libarchive: 3.2.2 -> 3.3.1...
<NixOS_GitHub> nixpkgs/release-17.03 db88de3 Franz Pletz: libarchive: 3.3.1 -> 3.3.2...
NixOS_GitHub has left #nixos []
mrkgnao has quit [(Ping timeout: 246 seconds)]
<olejorgenb[m]> nwuensche: Just to be sure, you've added the driver package to `services.printing.drivers`, not systemPackages?
<nwuensche> services.printing.drivers = [ pkgs.splix (( pkgs.callPackage_i686 /home/nwuensche/brotherppd/printer2.nix) { }) (( pkgs.callPackage_i686 /home/nwuensche/brotherppd2/printer2.nix) { })];
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
jbgi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #28637: synergy: fix check with gcc6 (master...synergy) https://git.io/v5G21
NixOS_GitHub has left #nixos []
<clever> nwuensche: not yet
erictapen has quit [(Ping timeout: 240 seconds)]
odi has joined #nixos
bennofs has joined #nixos
hc_ has joined #nixos
hc has quit [(Ping timeout: 240 seconds)]
jbgi has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] afrepues opened pull request #28641: gitlab: fix permission issue in build phase (release-17.03...fix/28494-gitlab-deb-setuid-permission-problem) https://git.io/v5G5T
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Ping timeout: 246 seconds)]
jellowj has joined #nixos
reinzelmann has joined #nixos
justanotheruser has joined #nixos
bbarker has quit [(Ping timeout: 252 seconds)]
jsgrant has quit [(Remote host closed the connection)]
silver_hook has joined #nixos
jsgrant has joined #nixos
silver_hook has left #nixos ["Konversation terminated!"]
justanotheruser has quit [(Ping timeout: 252 seconds)]
bbarker has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] afrepues opened pull request #28644: gitlab: 8.17.6 -> 8.17.8 (release-17.03...gitlab-8.17.8-release-17.03) https://git.io/v5GdD
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Quit: Leaving)]
eacameron has quit [(Remote host closed the connection)]
<fresheyeball> benley: you around?
<benley> sure, what's up?
<fresheyeball> so I'm trying to update kubernetes in the nixpkgs repo
<fresheyeball> and I need to update the service, which I've not done before
<fresheyeball> would you mind educating me on what I need to do?
eacameron has joined #nixos
<fresheyeball> is my record of origin
<fresheyeball> this is my PR so far: https://github.com/NixOS/nixpkgs/pull/28575
<fresheyeball> benley: can you help me understand what my next step is? How can I test locally?
<benley> oh man, I'm not sure I actually know what the requirements are for k8s in nixos. As for testing locally, do you know how to run nixos VM tests?
<fresheyeball> I am on nixos
<fresheyeball> but no, I don't know how to run the vm tests
<benley> I have to go find the docs too, one sec
<benley> oh hey that's actually pretty well documented: https://nixos.org/nixos/manual/index.html#sec-running-nixos-tests-interactively
deltasquared has joined #nixos
<pxc> you guys seen this on HN today? it's an Arch Linux-based 'usermode distro', so-to-speak. Looks like it's getting a decent number of comments: https://news.ycombinator.com/item?id=15114841
* deltasquared reads
<pxc> it seems like something we can almost already do pretty nicely with nix-user-chroot, but we don't have services w/ Nix alone
<pxc> if it's a problem users are interested in seeing solved, it seems like maybe we should care, since it's a problem that Nix can solve more naturally/directly in some respects than another distro
MP2E has joined #nixos
<deltasquared> pxc: well I dunno about not needing root, but I've installed arch arm on my android device before to access it's userspace
<benley> fresheyeball: sorry I can't be more helpful right now, I'm pretty busy with work stuff
<fresheyeball> all good
<fresheyeball> I need the kubes update for work
<fresheyeball> I'm not blocked since the PR I made already gives me kubectl updated
<fresheyeball> but I'd like to get the PR merged
<pxc> deltasquared: yeah, mere chroots are old news. But having convenient tooling for a usermode chroot is nice. Anyway non-privileged installation of software is one of the best features of Nix imo
<benley> fresheyeball: heh, I did something more minimalist and hacky to get updated k8s commandline tools: https://github.com/benley/dotfiles/blob/master/pkgs/kubernetes-client/default.nix
<pxc> so if the success of this other distro indicates a lot of interest in that it makes me wonder whether Nix is really owning that space as much as it should, know what I mean?
<deltasquared> pxc: oh, most certainly. alas for my specific use case nix is kinda unsuitable as android expects some stuff in /etc (despite it being a /system/etc symlink -_-)
<deltasquared> IIRC last time I forget to "merge" the etc folders trying to enable bluetooth got my phone stuck in a loop of "bluetooth has stopped working" messages that blocked me from using the rest of the UI :/
<deltasquared> s/folders/folders,/
<pxc> that sucks. Is there a way to carve out sections of `/etc` on NixOS for mutable use? I remember running into issues years ago with Vagrant, which expects to be able to edit `/etc/exports` for NFS share functionality
<pxc> deltasquared: damn that's bad
<clever> pxc: have you seen how nixos handles systemd in containers?
<benley> nixos still lets you add your own files in /etc; anything that isn't a symlink into /nix/store is effectively mutable
<deltasquared> pxc: see I did do a merge thing for a while (picking bits of both /system/etc and /data/chroot/etc to keep both worlds, but eventually I got fed up of android components silently breaking
<pxc> deltasquared: so maybe on top of a sane distro that approach would work. Do you have any notes or blog posts or anything on what you had to do?
<deltasquared> pxc: aww shucks, now you make me annoyed that I didn't document the process
<deltasquared> step 1: void your phone's warranty :D
<pxc> that's p. much step 1 to making a phone usable these days
<deltasquared> "you don't own the device, you own a license to it"
<deltasquared> #stallmanwasright
<clever> pxc: this is a thing i had started ~2 months ago, similiar idea to JuNest, with the goal to make it even work under android
<VLetrmx> he tends to be
<clever> though i think it still needs root
<benley> to be fair, "void the warranty" is not the same as "you are legally forbidden from doing this"
<clever> pxc: basicaly, its a bash script that uses nsenter to setup a container, and then runs nixos stage-2, which launches systemd
<clever> and its pre-configured to behave as a container
<benley> sometimes I feel like I'm the only one who is happy to use an android phone _without_ rooting it, and mostly without caring that it runs linux under the hood :-P
ona has joined #nixos
<deltasquared> sheet, internet restart nooooo
deltasquared has quit [(Quit: Leaving)]
<clever> benley: i had to root my first android device on day 1, because the amazon app stored demanded an american billing address, for free apps
<clever> benley: and i'm in canada
nwuensche has quit [(Quit: Leaving)]
<benley> yuck, that's annoying
<clever> but in amazon's defense, they refused to even ship to canada, i had to cheat the system to even get the device
<Ankhers> Gotta love that.
<clever> a year later, they unlocked canada, and then the appstore worked fine
<benley> is that ... a kindle fire? those are strange devices
<clever> yeah, kindle fire hd7
<clever> doesnt matter how loud you yell "shut up and take my money", they wont accept it :P
<benley> sorta like how they refuse to let you stream Amazon Video to a chromecast or an android tv, just to be dicks
<pxc> clever: I should have known you were up to something related; seems like you're always finding bona fide new uses for Nix, hehe
<clever> pxc: in my case, it needs root, and would be much simpler if systemd-nspawn is available on the host, but i think the start script was mostly working
<clever> i think it only needed chroot and maybe nsenter on the host, and then it uses everything from the store
<bbarker> Does anyone have a lovely nvidia desktop configuration.nix they wouldn't mind sharing as a template?
<pxc> clever: awesome. I'd love an easy way to use NixOS, even for services, on non-NixOS
<clever> pxc: there is also a runner script for nixos services, meant for testing
<clever> 2017-07-17 14:38:31< clever> qknight: nix-build '<nixpkgs/nixos>' -A config.systemd.services.nginx.runner -I nixos-config=./configuration.nix
<clever> pxc: this generates a perl script, that will obey ExecStart and many other flags, to run the service defined in nixos
<pxc> clever: what have you been using the container generator for?
<clever> pxc: i was helping soembody in #nixos with a problem a few months ago
<clever> i think it was jake_
tmaekawa has joined #nixos
tmaekawa has quit [(Client Quit)]
MoreTea has quit [(Ping timeout: 252 seconds)]
odi has quit [(Ping timeout: 240 seconds)]
<pxc> looks like JuNest has the same performance issues as Nix when kernel namespaces and systemd are unavailable because it uses the same mechanism (PRoot): https://news.ycombinator.com/item?id=15116164
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] caugner opened pull request #28645: nextcloud-client 2.3.2 (master...nextcloud-client-2.3.2) https://git.io/v5GxS
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #28646: apple misc pkgs: `buildInputs` -> `nativeBuildInputs` (staging...apple-native-build-inputs) https://git.io/v5GxN
NixOS_GitHub has left #nixos []
<clever> pxc: ah
ixxie has quit [(Quit: Lost terminal)]
tdc_ has quit [(Ping timeout: 240 seconds)]
arximboldi has quit [(Quit: arximboldi)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/v5Ghq
<NixOS_GitHub> nixpkgs/master df33d1a Robin Gloster: maintainers/hydra-eval-failures: catch fetching maintainers...
<NixOS_GitHub> nixpkgs/master 8dca9bf Robin Gloster: upstart: remove ancient
NixOS_GitHub has left #nixos []
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/v5GhX
<NixOS_GitHub> nixpkgs/master a75491c Peter Simons: LTS Haskell 9.2
<NixOS_GitHub> nixpkgs/master c0f7754 Peter Simons: hackage2nix: update list of broken packages
<NixOS_GitHub> nixpkgs/master 39cf16f Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to openssl-1.1: https://git.io/v5Gjh
<NixOS_GitHub> nixpkgs/openssl-1.1 675a8d2 Robin Gloster: Merge remote-tracking branch 'upstream/master' into openssl-1.1
<NixOS_GitHub> nixpkgs/openssl-1.1 1f53bd4 Robin Gloster: mariadb: 10.2.7 -> 10.2.8
NixOS_GitHub has left #nixos []
bbarker has quit [(Ping timeout: 240 seconds)]
<fresheyeball> benley: so I ran the tests
<fresheyeball> and now its failing in a way I don't understand
FRidh has quit [(Quit: Konversation terminated!)]
acertain has joined #nixos
zeus_ has quit [(Ping timeout: 240 seconds)]
<acertain> the ld wrapper script is causing `/nix/store/2cmbsgflq307krgn1b9076ssnh1qy244-binutils-2.29/bin/ld: unrecognized option '-z'`
<acertain> i think the problem is that it passes -z after the filename
<acertain> what do?
<fresheyeball> copumpkin: Could you help with this?
zeus_ has joined #nixos
<acertain> nvm, passing -z before the filename doesn't work
Filystyn has quit [(Quit: Konversation terminated!)]
justanotheruser has joined #nixos
<acertain> it's `ld -mi386pep`, which i guess doesn't support -z?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5Zvk
<NixOS_GitHub> nixpkgs/master 71fdaea Bjarki Ágúst Guðmundsson: google-play-music-desktop-player: 4.4.0 -> 4.4.1
<NixOS_GitHub> nixpkgs/master 8324397 Jörg Thalheim: Merge pull request #28640 from SuprDewd/gpmdp-4.4.1...
NixOS_GitHub has left #nixos []
<copumpkin> fresheyeball: IRC etiquette suggests that pinging random folks for help isn't a favored way of getting help :)
<fresheyeball> copumpkin: what is? I'm lost and blocked and all that...
<fresheyeball> nix is pretty tribal knowledge heavy, so asking people directly has been the most effective for me thus far
<fresheyeball> I understand you criticism though
<copumpkin> asking and crossing your fingers. It's sort of a "best effort" system with no payment involved
<copumpkin> just saying that getting a random ding while I'm concentrating on something else from someone asking me to pick up context on their problem and spend time answering it, isn't necessarily going to put me in the most helpful mood :) and I've seen far worse reactions than mine on IRC
<fresheyeball> fair enough
<fresheyeball> my apologies
<acertain> i guess i fix the ld-wrapper script? advice would be helpful
<pxc> our LiveCD doesn't have any automated install stuff, right? like if you just leave that disc in it's def not gonna install anything for you
<fresheyeball> copumpkin: btw, I'm happy to pay for help
<copumpkin> fresheyeball: anyway, that's more of a "FYI others can react unpleasantly and I've seen it often on IRC" than a "leave me alone". I'm guessing your issue is from some app trying to write to the store because it assumes that it can write to the CA path? I don't know what you're trying to do though
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #28648: xxdiff-tip: 20170101 -> 20170623 (master...xxdiff_tip_new_version) https://git.io/v5ZvA
NixOS_GitHub has left #nixos []
<fresheyeball> I'm trying to update kubernetes
<fresheyeball> and test/kubernetes.nix is failing with that
<copumpkin> ah, ouch. I think offlinehacker knows best there, but I'm not sure he's online
simukis has joined #nixos
<fresheyeball> well I'd ping him here
<fresheyeball> but... I just got scolded for doing such things haha
<copumpkin> well, if someone's literally put themselves in the maintainers list for a particular package you're having trouble, it's probably fine :)
<copumpkin> the usual approach though, is to recognize things like these are purity violations and then try to debug the code that's trying to do that
<copumpkin> to see how to convince it not to
<fresheyeball> oh copumpkin you are making cosense today
<fresheyeball> haha
<copumpkin> :)
<fresheyeball> offlinehacker[m]: hey there, I'm trying to update kubernetes.nix and could use some help if you are available to do so
<copumpkin> the other thing you'll learn is that a large chunk of the Nix(OS) community is in europe, so many of them will be offline by this time of day
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #28649: lilypond-unstable: 2.19.24 -> 2.19.65 (master...lilypond-unstable-2.19.65) https://git.io/v5Zfs
NixOS_GitHub has left #nixos []
<copumpkin> one asynchronous way to get help here might be
<fresheyeball> copumpkin: good tip!
<copumpkin> create a WIP PR against the nixpkgs repo with what you have working now
<fresheyeball> I can get async help from github mentions
<fresheyeball> yeah
<copumpkin> and then highlight the maintainers asking for help or suggestions
<copumpkin> cool
<fresheyeball> but I want sync support!
<fresheyeball> got to get this thing taken care of!
<copumpkin> :) can't help there then
<copumpkin> anyway, back to what I was doing, but good luck!
<fresheyeball> copumpkin: thank you!
makemake has joined #nixos
<makemake> hello, can someone please help me with this...
<fresheyeball> makemake: can you be more specific?
<makemake> I want to build the package with running `nix-build -A hello .`
<makemake> is there a "fetcher" that will copy over a directory on my host
<makemake> and not retrieve it from elsewhere
JosW has joined #nixos
Lisanna has quit [(Ping timeout: 240 seconds)]
<makemake> or how can I have execute build within the unpacked directory containing sources
<fresheyeball> makemake: yeah
<fresheyeball> just put a relative path in the src instead
<sphalerite> SRC = ./.
<sphalerite> src even
<sphalerite> Autocorrect...
<fresheyeball> makemake: listen to sphalerite
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5ZJU
<NixOS_GitHub> nixpkgs/master 0da61be Bastian Köcher: xxdiff-tip: 20170101 -> 20170623...
<NixOS_GitHub> nixpkgs/master 35a9538 Jörg Thalheim: Merge pull request #28648 from bkchr/xxdiff_tip_new_version...
NixOS_GitHub has left #nixos []
<fresheyeball> makemake: did a relative path work for you?
<pxc> is anyone here currently using Kerberos on NixOS?
<makemake> fresheyeball: still trying, thanks for help
Delta_VII has joined #nixos
<Delta_VII> Hi
<Delta_VII> I have just installed NixOS and can't get KDE to start
<fresheyeball> Delta_VII: can you post your configuration.nix?
scribbler has quit [(Remote host closed the connection)]
<Delta_VII> Sure
<Delta_VII> Wait a second
scribbler has joined #nixos
Delta_VII has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5ZJ5
<NixOS_GitHub> nixpkgs/master 03b08fc Claas Augner: nextcloud-client 2.3.2 (#28645)...
NixOS_GitHub has left #nixos []
makemake has quit [(Quit: Page closed)]
scribbler has quit [(Ping timeout: 248 seconds)]
Delta_VII has joined #nixos
<Delta_VII> Sorry, had to restart my PC
<fresheyeball> so I'm trying to install nixos on a macbook pro
<fresheyeball> and getting the following error
<fresheyeball> "An Error Occured in stage 1 of the boot process, which must mount the root filesystem on `mnt-root`
<fresheyeball> any idea how to proceed
<fresheyeball> it gives 4 options but I don't understand the error
phreedom has quit [(Remote host closed the connection)]
nh2 has joined #nixos
<Delta_VII> Did you encrypt your harddrive?
<fresheyeball> Delta_VII: I don't think so
<fresheyeball> this looks related
<fresheyeball> still no idea
<nh2> what's the status of nixos-security? currently CVE-2017-9614 is unfixed on 17.03
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/v5ZTO
<NixOS_GitHub> nixpkgs/release-17.03 9ef9973 Daniel Frank: mbuffer: 20160613 -> 20170806...
NixOS_GitHub has left #nixos []
<gchristensen> nh2: is there a patch fixing it on unstable?
<gchristensen> nh2: in summary, nixos-security as a specific project has stalled (come to my talk at NixCON 2017 for more! :))
<clever> fresheyeball: is there an option to launch a shell?
Lisanna has joined #nixos
<nh2> gchristensen: yes, master has a newer version libjpeg-turbo 1.5.1 -> 1.5.2
<gchristensen> nh2: link to the commit?
<fresheyeball> clever: yes
<fresheyeball> there now
<clever> fresheyeball: pick that, then try to manually mount the rootfs to /mnt-root
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #28650: ena: 20160629 -> 1.2.0 (master...ena_1_2_0) https://git.io/v5ZTu
NixOS_GitHub has left #nixos []
<fresheyeball> how?
<fresheyeball> just use the mount commnad?
<clever> just run "mount /dev/sdaX /mnt-root" with the correct sda path
<clever> yeah
<fresheyeball> how do I know which device it is?
<Delta_VII> fdisk -l
<Delta_VII> I think
<clever> that might not be available in the initrd
<clever> fresheyeball: if you look in /nix/store there should be an fs-into file, that says what device and mount options it needs
<fresheyeball> clever: that file doesn't seem to have a device in it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-17.03: https://git.io/v5ZkJ
<NixOS_GitHub> nixpkgs/release-17.03 a70a841 Vladimír Čunát: libjpeg(-turbo): 1.5.1 -> 1.5.2...
NixOS_GitHub has left #nixos []
<gchristensen> nh2: ^ thank you for raising the issue
<nh2> gchristensen: thanks!
<clever> fresheyeball: do you remember how you laid out the partitions when installing?
_ris has joined #nixos
<gchristensen> :)
scribbler has joined #nixos
<fresheyeball> clever: I'm trying to install now haha
<fresheyeball> I'm trying to leave ubuntu forever
<fresheyeball> which is what this box has now
<clever> fresheyeball: oh, is this failure while booting from the cd, or booting the installation?
<clever> fresheyeball: or booting from the iso on usb?
<fresheyeball> booting from the live cd which is a usb
<clever> fresheyeball: how did you put the iso onto the usb?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #28651: evdi: 1.4.1 -> 1.4.1-1 (master...evdi_1_4_1_master) https://git.io/v5ZkW
NixOS_GitHub has left #nixos []
<fresheyeball> I followed instructions
<fresheyeball> I forget the command
<clever> which instructions?
<fresheyeball> its a direct copy cli thing
CrazedProgrammer has joined #nixos
<fresheyeball> clever: I think it mounted
<clever> after you mount, you can do exit and pick continue
cement has quit [(Ping timeout: 255 seconds)]
<fresheyeball> exit was an instant kernel panic
<fresheyeball> restarting
ris has quit [(Ping timeout: 264 seconds)]
pxc has quit [(Quit: WeeChat 1.9)]
<clever> ah, it has to be the other shell option, not pid 1
scribbler has quit [(Ping timeout: 240 seconds)]
<clever> what directions did you use to make the usb?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #28652: sch_cake: 2017-01-28 -> 2017-07-16 (master...sch_cake_2017_07_16) https://git.io/v5Zky
NixOS_GitHub has left #nixos []
<fresheyeball> I can't find them now
<fresheyeball> I used the dd command apparently
<clever> that one should work
CrazedProgrammer has quit [(Remote host closed the connection)]
scribbler has joined #nixos
arximboldi has joined #nixos
<fresheyeball> it looks like the error may be a red herring
<fresheyeball> mount: mounting /dev/loop0 on /mnt-root/nix/.ro-store failed: invalid argument
<fresheyeball> clever: ^^
<clever> the loop0 should automatically be configured to point to a squashfs on the usb
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #28653: rtlwifi_new: 2016-09-12 -> 2017-07-18 (master...rtlwifi_new_2017_07_18) https://git.io/v5ZIn
NixOS_GitHub has left #nixos []
<fresheyeball> hmm
<fresheyeball> what is loop0?
<clever> fresheyeball: did you download the iso from the nixos site?
<clever> loopback device, for mounting a filesystem inside a file
<fresheyeball> yes
CrazedProgrammer has joined #nixos
<fresheyeball> clever: so you think the usb is in a bad state?
<fresheyeball> I should remake it?
<clever> yeah
<fresheyeball> ok
zeus_ has quit [(Read error: Connection reset by peer)]
CrazedProgrammer has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<fresheyeball> clever: I ran this command
ris has joined #nixos
<fresheyeball> sudo dd if=.../nixos-graphical-17.03.1641.asdasdas.iso of=/dev/sdc1 bs=4M
scribbler has quit [(Read error: Connection reset by peer)]
<fresheyeball> does that look right to you?
<clever> that wont work
<clever> that writes it to sdc1, which is a partition
<fresheyeball> por que?
<clever> but the image contains its own partition tables
scribbler has joined #nixos
<clever> you must write it directly to sdc
<fresheyeball> oh!
<Infinisil> (but then you're gonna lose everything else on that disk)
takle has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/v5ZIp
<NixOS_GitHub> nixpkgs/master 48a941e Michael Raskin: cuneiform: use the branch with fresh fixes to fix the build
<NixOS_GitHub> nixpkgs/master 14699ac Michael Raskin: cuneiform: maintain
NixOS_GitHub has left #nixos []
_ris has quit [(Ping timeout: 255 seconds)]
Capprentice has joined #nixos
Capprentice has quit [(Max SendQ exceeded)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v5ZLt
<NixOS_GitHub> nixpkgs/master 35612ff kiloreux: xpdf: 3.04-> 4.00
<NixOS_GitHub> nixpkgs/master e42c62e Jörg Thalheim: xpdf: build with qt gui
<NixOS_GitHub> nixpkgs/master a2fae4a Jörg Thalheim: Merge pull request #28580 from kiloreux/xpdf...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/v5ZLm
<NixOS_GitHub> nixpkgs/master 1cae15e Vincent Laporte: lilypond-unstable: 2.19.24 -> 2.19.65
<NixOS_GitHub> nixpkgs/master 9206a15 Michael Raskin: Merge pull request #28649 from vbgl/lilypond-unstable-2.19.65...
NixOS_GitHub has left #nixos []
<fresheyeball> Infinisil: all good
<fresheyeball> clever: dd: failed to open /dev/sdc no medium found
<clever> double-check that its still at sdc
freeman42y has joined #nixos
<clever> and that it didnt come unplugged mid-write
<fresheyeball> clever: erp I'm an idiot
civodul has joined #nixos
<fresheyeball> clever: it's going...
<fresheyeball> clever: Woo! stage 2!
<fresheyeball> ok new error
<fresheyeball> wlp2s0: link not ready
fpletz has quit [(Changing host)]
fpletz has joined #nixos
justanotheruser has quit [(Ping timeout: 240 seconds)]
<fresheyeball> IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
<Delta_VII> fresheyeball: Do you have a Ethernet to Thunderbolt doungle?
<fresheyeball> niether :(
hamishmack has quit [(Quit: hamishmack)]
<tokudan[m]> how can i find out what outputs a package provides?
<fresheyeball> Delta_VII: it can't require that can it? Can I not proceed without going out and buying an ethernet thunderbolt thing?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #28654: rtl8723bs: 2016-04-11 -> 2017-04-06 (master...rtl8723bs_2017_04_06) https://git.io/v5ZtN
NixOS_GitHub has left #nixos []
simukis has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5ZqJ
<NixOS_GitHub> nixpkgs/master 9b65bc9 Jörg Thalheim: python.pkgs.Flask-Testing: 0.6.1 -> 0.6.2...
NixOS_GitHub has left #nixos []
Lisanna_ has joined #nixos
<Lisanna_> Hi guys, I'm trying to start the docker daemon inside a NixOS container but it's not starting. My container specification is virtualisation.docker.enable = true; virtualisation.docker.enableOnBoot = true; do I need anything else in here, or is this a bug?
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
tmaekawa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zraexy opened pull request #28657: broadcom-bt-firmware: 12.0.1.1011 -> 12.0.1.1012 (master...broadcom-bt-firmware) https://git.io/v5Zqy
NixOS_GitHub has left #nixos []
eacameron has quit [(Remote host closed the connection)]
takle has joined #nixos
CrazedProgrammer has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
takle has quit [(Ping timeout: 248 seconds)]
<hydraz> are nix-shell shebangs still supported?
<simpson> Yes.
pmeunier has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
CrazedProgrammer has quit [(Remote host closed the connection)]
CrazedProgrammer has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/db88de3725 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
Ivanych has quit [(Ping timeout: 240 seconds)]
<Lisanna_> guess I'll file a bug then, seems like it should be pretty reproducible
hiratara has quit [(Ping timeout: 276 seconds)]
<fresheyeball> Seriously is there not a way to install nixos without internet access durring install?
<clever> fresheyeball: thats a generic wifi error, things trying to use it before you connected
<clever> fresheyeball: and yeah, you pretty much need internet access to do an install
<fresheyeball> clever: really? the lame of that
hiratara has joined #nixos
lazynewb has joined #nixos
<lazynewb> just curious, is there a project that makes an out of the box nixos installation?
<dash> lazynewb: the secret is, there is no box
<lazynewb> lol nice
<lazynewb> https://en.wikipedia.org/wiki/ArchBang A bit like this, but for nixOS
eacameron has quit [(Remote host closed the connection)]
<nliadm> anyone working on packaging go1.9 ?
<dash> lazynewb: ah, so you want someone to write a config for you :)
eacameron has joined #nixos
<lazynewb> I found some configs online, I can adapt those, I was just curious if there was a spinoff distro
takle has joined #nixos
<lazynewb> The configs posted off the wiki are nice, btw, just completely unlabeled
JosW has quit [(Quit: Konversation terminated!)]
<fresheyeball> clever: any hope I can get the wifi working and not need the dongle?
goibhniu has joined #nixos
<clever> fresheyeball: just configure it with wpa_supplicant or network manager
goibhniu has quit [(Changing host)]
goibhniu has joined #nixos
<clever> fresheyeball: the error is because you havent told it what to connect to yet
<fresheyeball> I don't know when I was supposed to
<fresheyeball> it boots straight into that error
<clever> fresheyeball: hit enter a few times, you should still have a shell
<dash> lazynewb: it's pretty simple, put in "services.xserver.desktopManager.kde5 = true;" and you're done
<lazynewb> alright, thanks.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/v5ZsJ
<NixOS_GitHub> nixpkgs/master fdc18bc Robin Gloster: uri: 2016-09-04 -> 2017-07-16
NixOS_GitHub has left #nixos []
ertes has joined #nixos
eacameron has quit [(Ping timeout: 276 seconds)]
<rycee> Does anybody know if there is anything preventing having `services.dbus.socketActivated = true` by default in NixOS? I'd love to see it happen so that I can be reasonably certain that `systemctl --wait` will work on a random user's system…
CrazedProgrammer has quit [(Remote host closed the connection)]
CrazedProgrammer has joined #nixos
lazynewb has quit [(Quit: Lost terminal)]
<fresheyeball> clever: ok, so I got a command line
<fresheyeball> what would I do to get internet and continue?
CrazedProgrammer has quit [(Remote host closed the connection)]
CrazedProgrammer has joined #nixos
CrazedProgrammer has quit [(Remote host closed the connection)]
CrazedProgrammer has joined #nixos
thaega has quit [(Read error: Connection reset by peer)]
thaega has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
CrazedProgrammer has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
CrazedProgrammer has joined #nixos
CrazedProgrammer has quit [(Remote host closed the connection)]
CrazedProgrammer has joined #nixos
\\\\\\\\\\\ has joined #nixos
CrazedProgrammer has quit [(Remote host closed the connection)]
<fresheyeball> how can I restart network-manager?
CrazedProgrammer has joined #nixos
Khetzal has quit [(Ping timeout: 255 seconds)]
<catern> systemctl?
CrazedProgrammer has quit [(Remote host closed the connection)]
CrazedProgrammer has joined #nixos
<fresheyeball> sorry, I got it
<fresheyeball> just still can't get past this error
hamishmack has joined #nixos
<clever> fresheyeball: id just use wpa_supplicant directly
<clever> fresheyeball: is the wifi open, wep, or wpa?
<maurer> I'd advise against using network-manager unless you're mostly focused on a gnome-based desktop experience, and maybe not even then
<fresheyeball> clever: I think its wpa
<clever> fresheyeball: run "iwlist scan", find the essid, then run "wpa_passphrase essid > /etc/wpa_supplicant.conf"
<clever> fresheyeball: and then restart wpa_supplicant
<fresheyeball> iwlist nout found
<fresheyeball> not found*
<fresheyeball> systemctl resart wpa_supplicant seemed to work
<fresheyeball> or atleast it didn't error
gm152 has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
CrazedProgrammer has quit [(Remote host closed the connection)]
CrazedProgrammer has joined #nixos
hiratara has joined #nixos
<clever> fresheyeball: then check the status with "ip link", does it say up?
<clever> 3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
botnet69 has joined #nixos
<botnet69> so I feel like I've gotten pretty far in the install, but it always fails when trying to install the bootloader
<fresheyeball> wlp3s0 <BROADCAST,MULTICAST>
<botnet69> in the manual, it doesn't say to chroot or anything, but with both grub2 and systemd boot, they try to find filesystems at /boot and they don't
<botnet69> and I'm in the live CD
<fresheyeball> clever: how can I tell the installer to continue installing the os?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/v5ZnD
<NixOS_GitHub> nixpkgs/master 8d6682c Robin Gloster: snake4: don't install with setuid...
NixOS_GitHub has left #nixos []
<botnet69> I really don't want to have to wipe my disk and try again because I've done that 3 times, and each time it takes an hour to redownload everything
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #28660: frandom: Patch header location for uaccess (master...frandom_patch) https://git.io/v5ZnF
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5Zc3
<NixOS_GitHub> nixpkgs/master 8e622d2 Franz Pletz: phpfpm service: allow netlink sockets for sendmail...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #28661: ixgbevf: 4.1.2 -> 4.2.1 (master...ixgbevf_4_2_1) https://git.io/v5Zcs
NixOS_GitHub has left #nixos []
MarcWeber has quit [(Ping timeout: 255 seconds)]
MarcWeber has joined #nixos
civodul has quit [(Read error: Connection reset by peer)]
botnet69 has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #28662: mxu11x0: 1.3.11 -> 1.3.11-1 (master...mxu11x0_1_3_11) https://git.io/v5Zcx
NixOS_GitHub has left #nixos []
catch22 has joined #nixos
<clever> fresheyeball: have you read the directions on how to install nixos?, its not automated like ubuntu
<fresheyeball> clever: I have the idea at this point. I've installed it on several boxes and vm now
<fresheyeball> I didn't realize it needed internet access to install
<fresheyeball> and I'm not havin success so far getting access to wifi from the command line
<clever> fresheyeball: any chance you can just plug in an ethernet cord?
Khetzal has joined #nixos
digitus has quit [(Quit: digitus)]
goibhniu has quit [(Ping timeout: 240 seconds)]
<Delta_VII> I have also a problem
<Delta_VII> I have just installed NixOS and KDE won't start
Rotaerk has joined #nixos
gnuhurd has left #nixos ["Killed buffer"]
<Delta_VII> If I type "systemctl start display-manager", I only get "Failed to start display-manager.service: Unit display-manager.service not found"
<Ralith> post your configuration.nix
<Delta_VII> https://1drv.ms/u/s!AtK7h82f02AYlgjV67_T9LMUAaHv
<clever> Delta_VII: you didnt enable kde or the xserver
<Delta_VII> Oh
<Ralith> when a line starts with # that means it's ignored
<Delta_VII> Oh, I think I overread that in the manual ^^
<Delta_VII> Thank you very much
Nobabs27[m] has joined #nixos
jellowj has quit [(Ping timeout: 260 seconds)]
<Nobabs27[m]> oh froody I can join via Riot
pxc has joined #nixos
erasmas has quit [(Quit: leaving)]
Gohla has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
k0001 has quit [(Quit: Connection closed for inactivity)]
eacameron has quit [(Ping timeout: 246 seconds)]
markus1199 has joined #nixos
Gohla has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 2 new commits to master: https://git.io/v5Z4d
<NixOS_GitHub> nixpkgs/master b1749ae Tuomas Tynkkynen: raspberrypifw: 1.20170515 -> 1.20170515n
<NixOS_GitHub> nixpkgs/master ff3f6f3 Tuomas Tynkkynen: linux_rpi: 1.20170515 -> 1.20170811
NixOS_GitHub has left #nixos []
markus1189 has quit [(Ping timeout: 260 seconds)]
<Delta_VII> Well, my XServer won't start
<Delta_VII> I get:
ison111 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #28663: rustRegistry: 2017-08-24 -> 2017-08-27 (master...rustRegistry_2017_08_27) https://git.io/v5ZBZ
NixOS_GitHub has left #nixos []
<copumpkin> Sonarpulse: can I not just pass { system = "foo"; } into nixpkgs top level anymore?
<copumpkin> I don't want to cross-compile
<Sonarpulse> copumpkin: passing system=... still works
<Sonarpulse> just needs to be something valid
<Sonarpulse> no cross compilation without crossSystem=....
<copumpkin> hmm
<copumpkin> maybe something weird is happening then
<copumpkin> I'm trying to pass in system = "x86_64-linux" and it doesn't even appear to be forcing the value
<copumpkin> maybe I'm screwing something else up
<copumpkin> it's still assuming I want darwin
<Sonarpulse> oh did you try like `assert false; null` or something?
<copumpkin> builtins.trace but yeah
takle has quit [(Remote host closed the connection)]
<copumpkin> must be screwing something else up
<Sonarpulse> -NixOS ~/Code/git/nixpkgs (binutils-wrapper)
<Sonarpulse> $ nix-instantiate -A stdenv --argstr system x86_64-darwin
<Sonarpulse> copied more than I ment to
<copumpkin> yeah, it's working for me in the pure case too
<Sonarpulse> but that second line works for me
<Sonarpulse> get different hash
<Sonarpulse> on a recent staging
<Sonarpulse> but should work on master too
<Sonarpulse> I haven't touched this in ages
<copumpkin> yup works here too
<copumpkin> just not when I'm trying the more complicated thing
<copumpkin> hmm :)
<copumpkin> I'm sure it's PEBKAC
eacameron has joined #nixos
<Shados> a nixops question: can I specify which channel (or local nixpkgs checkout) to use? can I do so per-node?
<gchristensen> Shados: not per node, but you can control it with NIX_PATH at `nixops deploy` time
darlan has joined #nixos
eacameron has quit [(Remote host closed the connection)]
pxc has quit [(Ping timeout: 248 seconds)]
darlan has quit [(Client Quit)]
<Sonarpulse> copumpkin: are you doing a -E or --arg?
<Sonarpulse> or imported within a file?