zennist has joined #nixos
schoppenhauer has quit [(Ping timeout: 248 seconds)]
zennist has quit [(Ping timeout: 252 seconds)]
schoppenhauer has joined #nixos
<viaken> I saw somewhere someone used nix-shell to step through the build process for an expression. I recall seeing them run "unpackPhase". I can't find that now. How does that work?
<simpson> The phases are just bash functions which nix-shell puts in the environment.
<viaken> From stdenv, right?
<simpson> Something like that. I don't know the detail.
sellout- has quit [(Quit: Leaving.)]
hamishmack has joined #nixos
python476 has quit [(Ping timeout: 240 seconds)]
<Fare> viaken: that's my understanding, indeed
justanotheruser has quit [(Ping timeout: 248 seconds)]
zennist has joined #nixos
zennist has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Ping timeout: 260 seconds)]
rauno has joined #nixos
<viaken> I just found out that all my issues with nix-shell are because $SHELL is still set to zsh, so direnv isn't launching correctly, so the phase functions aren't being added correctly. :P
bfrog has joined #nixos
pxc has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
bfrog has quit [(Ping timeout: 252 seconds)]
erictapen has quit [(Ping timeout: 276 seconds)]
rauno has quit [(Ping timeout: 248 seconds)]
<viaken> Have an application that requires webkitgtk. Nix is trying to use 2.4, not 2.16. A version isn't listed in its default.nix. How can I find out why that's happening?
rauno has joined #nixos
acarrico has quit [(Ping timeout: 252 seconds)]
gnuhurd has quit [(Ping timeout: 260 seconds)]
mudri has quit [(Ping timeout: 255 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
acarrico has joined #nixos
zeus_ has joined #nixos
<Ankhers> Is hackage2nix run manually or is there something setup to run it automatically?
Nobabs27 has joined #nixos
bfrog has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
Nobabs27 has quit [(Quit: Leaving)]
Nobabs27 has joined #nixos
freeman42x[m] has quit [(Ping timeout: 255 seconds)]
felipedvorak has quit [(Quit: felipedvorak)]
mbrgm has quit [(Ping timeout: 252 seconds)]
mbrgm has joined #nixos
slack1256 has joined #nixos
justanotheruser has joined #nixos
Lisanna has joined #nixos
<Lisanna> Is there a nix builtin for taking the union of two sets? e.g., {a = 4; b = 5; } + {c = 3; }
<Lisanna> => {a, b, c}
pxc has quit [(Ping timeout: 252 seconds)]
<gchristensen> //
<tilpner> Just the union of the names?
thc202 has quit [(Ping timeout: 264 seconds)]
<Lisanna> gchristensen: thank you!!
arximboldi has quit [(Quit: arximboldi)]
<Lisanna> Dang... there it is right in the manual's operators table too... I just completely missed it
<gchristensen> :) happens to me all the time
pxc has joined #nixos
<Lisanna> also, I'm trying to figure our NixOps... is there a way to keep deployment stuff separate from configuration? I want to deploy to NixOS targetHosts A, B, and C, but I want all the other configuration settings to be the same
<Nobabs27> why does this not work? https://gist.github.com/Nobabs27/8c9d593d5d6b44651b0f7f0761a2056c I get error: "cannot auto-call a function that has an argument without a default value (‘fetchgit’)" which doesn't really make any sense to me, all I need to do is tell it how to build
acarrico has quit [(Ping timeout: 252 seconds)]
<gchristensen> Lisanna: check out https://nixos.org/nixops/manual/#ex-logical-multi.nix
bfrog has quit [(Ping timeout: 248 seconds)]
<Lisanna> gchristensen: I don't see any deployment settings in that though. Where would I specify the IP addresses in that example?
<Lisanna> e.g. backend1.myserver.com and backend2.myserver.com
fresheyeball has quit [(Quit: WeeChat 1.9)]
<gchristensen> ah :) trickier
<Lisanna> I mean, they don't necessarily have to be in that file if there's a better way to do it... but I basically have n physical machines running NixOS and I want to deploy the same thing to all of them
<Lisanna> Oh, okay
<Lisanna> this might work
<Lisanna> oh, duh
<Lisanna> yeah, I guess that would work fine
<Lisanna> lol
acarrico has joined #nixos
<gchristensen> Nobabs27: how are you building it?
freeman42x[m] has joined #nixos
<gchristensen> nix-build ./that-file.nix?
<Nobabs27> I just switched something around it seems to be "building" now. and yes
<gchristensen> ok :)
<Nobabs27> cept it failed building
<gchristensen> what did you change?
<Nobabs27> is with import <nixpkgs> {}; an ok thing to put in the script?
<Nobabs27> ^ thats what I changed
<gchristensen> sure :) but a bit more clear would be:
<gchristensen> let pkgs = import <nixpkgs> {}; inherit (pkgs) stdenv fetchgit; in stdenv...
<Nobabs27> with the ... at the end?
<gchristensen> no that is where what you have picks up :)
<Lisanna> Deploying to an existing NixOS install... how much of the NixOS options do I need to specify in the NixOps expression? e.g., do I need to have the imports line for hardware-configuration.nix? the boot options?
<gchristensen> all of it
<gchristensen> you need to copy over your hardware-configuration.nix and boot options, everything
<Lisanna> Okay, I'll copy it verbatim
<gchristensen> it won't read any of that off the host at build/deploy time
<Lisanna> Alright, that sounds great
<Lisanna> and does it by default just login with root over ssh?
<gchristensen> right, and it'll place a special deploy key just for nixops
bfrog has joined #nixos
<Lisanna> OK
<Lisanna> ...so I better make sure to set the SSH server to enabled in the expression I deploy or I'll only be able to do it once :)
acarrico has quit [(Ping timeout: 252 seconds)]
<gchristensen> :)
<gchristensen> yes good choice
pxc has quit [(Ping timeout: 240 seconds)]
zennist has joined #nixos
<Nobabs27> well now I have two issues: qt5 isn't 5.8, the build commands aren't getting run in the build directory ...
zennist has quit [(Ping timeout: 240 seconds)]
itorres[m] has joined #nixos
ts468 has quit [(Quit: Leaving)]
iyzsong has joined #nixos
itorres[m] is now known as itorres
<Lisanna> Okay, here's a tricky one: nixops deploy, the target machine is behind a proxy, so it needs the CURL_NIX_FLAGS and stuff set so it can actually download and do the install for the deployment. How do I do that from the nixops command line?
pxc has joined #nixos
<gchristensen> Lisanna: sorry I'm late for bed :) :(
<Lisanna> I guess there's no one else available right now who knows about nixops?
<joepie91> I know a little about nixops but not that particular thing
<Lisanna> thanks for your help anyways
<Lisanna> A wild guess is that I have to first do a manual deploy with the proxy settings set in configuration.nix, and that will be enough to bootstrap it
<joepie91> hold
<joepie91> code reading time...
pxc has quit [(Ping timeout: 252 seconds)]
<Nobabs27> ok so when nix-building I need to be in the git repo to build - how do I get there?
<Nobabs27> because when i run qmake it says gimme options basically
<joepie91> Lisanna: seems like it just copies the environment variables from the environment in which you've executed the deploy: https://github.com/NixOS/nixops/blob/master/nixops/backends/__init__.py#L353-L358
pxc has joined #nixos
<joepie91> I'm not immediately seeing any code that looks like it handles per-machine env vars
<Lisanna> joepie91: if it just copies it straight then that'd be awesome
<joepie91> Lisanna: that having been said, if you set https://nixos.org/nixops/manual/#opt-deployment.hasFastConnection then it'll copy all the substitutes from your deploying system to the deployed system
<joepie91> as opposed to downloading them from the internet
<joepie91> so if you run into trouble with it being behind a proxy then that's your option B :)
<justanotheruser> Probably a dumb question, is there any way to work on a nix-shell environment with virtualenv?
<joepie91> uses a bit more bandwidth localy, but eh
<joepie91> locally*
<Lisanna> joepie91: oh, yeah, that would probably work
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<Lisanna> hey, my guess was right! I bootstrapped it by manually setting the proxy settings on the target's configuration.nix
zennist has joined #nixos
<joepie91> ideally shouldn't be necessary though :P
<Lisanna> well I need to be able to tell it the proxy settings somehow :)
<joepie91> but yeah, it makes sense that that'd work
<joepie91> sure, but imo that's something nixops should be doing
bfrog has quit [(Ping timeout: 252 seconds)]
<joepie91> which it kinda does by copying env vars, but it's odd for me that there is apparently no way to set this per machine
<Nobabs27> https://gist.github.com/Nobabs27/503fe7885fbb39c638b1c5423b75ec04 why does it run qmake outside of the folder??
<joepie91> to me *
<Nobabs27> or is there even a folder?
<Nobabs27> its supposed to work like: clone -> cd to folder -> run qmake
<joepie91> Lisanna: like, the abstraction behind NixOps is "point it at an existing NixOS box and it'll make all the things happen", so having to bootstrap manually makes it a leaky abstraction imo
<Nobabs27> but it seems to clone (not sure where it goes) -> cmake
<Lisanna> yeah, I see your reasoning
<Nobabs27> *qmake I mean
zeus_ has quit [(Ping timeout: 246 seconds)]
<Lisanna> Nobabs27: why are you using buildCOmmand? I normally use buildPhase
<Nobabs27> ok ill try that
<Lisanna> try it with buildPhase isntead
<Nobabs27> yeah that fixes that issue - now I just have to deal with QT being the wrong version
<Lisanna> cool :)
zennist has quit [(Ping timeout: 252 seconds)]
<Nobabs27> ty
justanotheruser has quit [(Read error: Connection reset by peer)]
justanotheruser has joined #nixos
<Nobabs27> ok so how do I upgrade QT to 5.8 when it isn't in the channel?
schoppenhauer has quit [(Ping timeout: 240 seconds)]
<Nobabs27> or the repo or whatever you call it
justanotheruser has quit [(Read error: Connection reset by peer)]
<Nobabs27> it seems qt5.full does not have a default.nix
schoppenhauer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jonafato opened pull request #28581: corebird: 1.5.1 -> 1.6 (master...corebird-1.6) https://git.io/v5OP3
NixOS_GitHub has left #nixos []
justanotheruser has joined #nixos
justanotheruser has quit [(Ping timeout: 252 seconds)]
zeus_ has joined #nixos
ertes has joined #nixos
<Lisanna> Nobabs27: in general if you want a newer version of a package you'll have to write a derivation for it
<Lisanna> e.g., you could copy QT's derivation to your local machine and modify it to build 5.8
<Nobabs27> Lisanna: what I was thinking, but where is the derivation?
<Lisanna> I think the entry in the nixpkgs database is wrong
<Lisanna> since I see it points to trivial-builders
<Infinisil> Argh, `which git` gives me ~/.nix-profile/bin/git
<Infinisil> But I want to uninstall it
<Infinisil> And nix-env -e gitMinimal / git doesn't work
zennist has joined #nixos
<Nobabs27> wat apparently there already is a nixpkgs/pkgs/development/libraries/qt-5/5.9 ??
<joepie91> what's the general opinion on expressions for proprietary games being added to nixpkgs? I've been packaging a bunch of games lately, but I'm unsure whether PRs are likely to go through
<joepie91> (DRM-free releases from GOG and such specifically)
<joepie91> same question for expressions for proprietary Windows games using WINE
<joepie91> these would obviously not ship sources :P
pie__ has quit [(Ping timeout: 240 seconds)]
<Nobabs27> how to install that version then?
<joepie91> Infinisil: gitAndTools.something?
<joepie91> Infinisil: I'm using `楧䅴摮潔汯�楧䙴汵`
<joepie91> ...
<joepie91> thanks, synergy
<joepie91> attempt 2
<joepie91> gitAndTools.gitFull
<Infinisil> lo
<Infinisil> l
<Infinisil> Hold on
<joepie91> I bet it just pasted a bunch of working memory or something
<joepie91> lol
zennist has quit [(Ping timeout: 240 seconds)]
<Infinisil> Nah, didn't work
<joepie91> Infinisil: what's your manifest say?
<Infinisil> Why the hell is this so difficult
<Infinisil> joepie91: Just had a look at it, but it's pretty hard to parse..
<joepie91> Infinisil: ~/.nix-profile/manifest.nix
<joepie91> sec
<joepie91> Infinisil: you can probably make it semi-readable with http://jsbeautifier.org/
<joepie91> I know it claims to be a JS beautifier but it just does some bracket magic
<joepie91> so most JS-looking things can be made reasonably readable with it
<joepie91> :p
<joepie91> (it doesn't care about syntactic validity at all)
<Infinisil> Hmm
<Infinisil> Tried nix-instantiate --eval --json ~/.nix-profile/manifest.nix but that doesn't output json..
<Infinisil> and --xml doesn't output xml either
<Infinisil> What the hell
<joepie91> wtf? makeWrapper is failing quietly
<freeman42y> Infinisil, please tell me there is a program that does the git bisect thing (divide and conquer on commits with rebuild until there is no error to find the boundery issue introducing commit?)
<Infinisil> freeman42y: git bisect?
<joepie91> freeman42y: nothing automated, and there couldn't be, because not all build failures are automatically determinable
<joepie91> many issues are of an "it builds and starts but doesn't do the right thing" nature
<joepie91> so your best bet is the up-arrow in a shell :)
<freeman42y> I am attempting to install NixOS on a physical computer now but I don't seem to be able to set up WiFi because: either there are no WiFi drivers set up OR I did the settings wrong cause the Connection editor shows the WiFi connection I added as greyed out so I can't click connect
<joepie91> freeman42y: what are you using for wifi management?
<freeman42y> joepie91, <because not all build failures are automatically determinable> Vast majority of build errors can be determined just by looking for the word error on the last few lines of the build
<joepie91> that is not reliable either
<joepie91> and like I said, many errors don't even cause the build to fail in the first place
<freeman42y> and good enough is good enough for our purpose, also that tool could allow you to do pass it a custom lambda to write yourself exactly what you expect to look like when the build fails, which should work 100% unless the error changes
<Infinisil> Oftentimes it just exits with a non-0 exit code, and I'd use that as a kinda-reliable way, it's certainly usable for bisects
<freeman42y> joepie91, you know what pragmatism and "working" in the vast majority of cases means?
<freeman42y> joepie91, I am using for WiFi management the Connection editor that comes with NixOS
<Infinisil> joepie91: Which desktop environment? There is no "default"
<joepie91> freeman42y: there's nothing that inherently "comes with NixOS", it's dependent on your system configuration; are you referring to the environment on the live CD?
<Infinisil> by default nixos doesn't even have X11 enabled
<joepie91> (which is KDE Plasma)
<freeman42y> joepie91, <I am attempting to install NixOS on a physical computer now but I don't seem to be able to set up WiFi because>
<neonfuz> so how do you view info about a packge from the cli?
<neonfuz> that's possible, right? like a package description at least
<freeman42y> joepie91, so, yes, I am on the live boot thingie, and it has the connection editor
<Infinisil> `nix-instantiate --eval '<nixpkgs>' -A hello.meta.description`
<Infinisil> "A program that produces a familiar, friendly greeting"
<Infinisil> neonfuz: ^^
smbarte2[m] has joined #nixos
<joepie91> freeman42y: there are more ways to install NixOS than through the live CD, so your earlier remarks do not tell me what environment you're in, or what environment you're having trouble with; and I'm less than happy with your patronizing attitude
<neonfuz> Infinisil: that's quite a long command
<Infinisil> neonfuz: Then define a function for it if you need it more often
<joepie91> freeman42y: so I'm happy to help you out with your issue, but in exchange please just answer the questions I ask, because there's a reason I'm asking them.
<neonfuz> Infinisil: how would I do that? sorry I'm new
<freeman42y> joepie91, I can deal with your rude and not intelligent attitude of dismissing an obviously superior automated method based on the fact that it might not work in some cases
<neonfuz> do you mean like a nix function?
<joepie91> okay, I'm not going to put up with this tonight
<freeman42y> joepie91, so please bare with me too - the patronising is only in your head unless you point out exactly what I did that was patronising...
<joepie91> so you will have to see if somebody else is willing to help you with your issue
<neonfuz> Infinisil: and how do I do that to an arbitrary package?
<neonfuz> wait
<freeman42y> joepie91, you have to understand that people are not born smart, I am a new NixOS user and if you treat me like an idiot and call me patronising that won't help the community
<Infinisil> neonfuz: I mean a bash/zsh function: `function description { nix-instantiate --eval '<nixpkgs>' -A "$1".meta.description }`
<neonfuz> alright
<neonfuz> was just wondering
<freeman42y> joepie91, I am on the default live CD with the GUI which is sthe most reasonable thing to assume
<Infinisil> neonfuz: You can also just seacrh for the package here: https://nixos.org/nixos/packages.html
<joepie91> freeman42y: I'm here on a volunteer basis to help people, and I'm not obliged to help people out. and if somebody chooses to give 'smartass' responses to questions instead of helping me help them by directly answering the questions I ask, then I choose not to do so. that has nothing to do with "helping the community", that has to do with not putting up with abusive behaviour from other users, new or otherwise.
filterfish has joined #nixos
<joepie91> the correct answer to my question was "yes"
<Infinisil> neonfuz: Which is probably better
<freeman42y> joepie91, no one said you are obliged to help me - stop making assumptions
<joepie91> I don't need to be lectured on what is "the most reasonable thing to assume" - the fact that I ask you about it should make it clear that I don't intend to assume anything, any require more information
<joepie91> if you are unwilling to answer such questions head-on, then the consequences of that are yours alone
<joepie91> and you will find very few people willing to help you with that attitude
<freeman42y> joepie91, please point out what smartass answer I gave and which question I did not answer?
contrapumpkin has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<neonfuz> it isn't working for this package 'dolphin-plugins'
<freeman42y> joepie91, you need to have more patience man... :(
<neonfuz> error: attribute ‘dolphin-plugins’ in selection path ‘dolphin-plugins.meta.description’ not found
<neonfuz> but nix-env -qa dolphin-plugins says the package exists
<freeman42y> I help a lot of people too but don't dismiss intelligent solutions to git bisect problems or call people patronising whenever I feel slightly offended WITHOUT explaining what was patronising
Nobabs27 has quit [(Quit: Leaving)]
<neonfuz> Infinisil: going to a browser just to read a package description is really annoying tbh
<freeman42y> joepie91, you keep saying attitude and patronising, but you have not pointed out what I did wrong
zeus_ has quit [(Remote host closed the connection)]
<Infinisil> neonfuz: Not sure about that dolphin-plugins, it doesn't seem to be defined at top-level
<neonfuz> that's odd
<Infinisil> neonfuz: Yeah, I also don't like going to the browser, I admittedly rarely need a package description
zeus_ has joined #nixos
<neonfuz> ahh, it's kdeApplications.dolphin-plugins
<joepie91> freeman42y: examples would be quoting an earlier remark that doesn't answer the question asked as if it makes the answer obvious, lecturing me on what is a "reasonable assumption", and remarks like "you know what pragmatism and "working" in the vast majority of cases means?"
<joepie91> freeman42y: and that is the last I will say on this
<neonfuz> I see
<neonfuz> -qa didn't tell me that full name, I feel like it should
<Infinisil> neonfuz: Add -P
<neonfuz> ah
<neonfuz> cool
<Infinisil> Damnit, my nix-env -qaP fails with "cannot import '/nix/store/.../firefox-bin`, since path '/nix/store/...-nixos' is not valid
<freeman42y> joepie91, I don't see how any of those are wrong, especially since you suggested inferior solution to finding the error by wasting your own time instead of using a tool, and also making the assumption that some new user will know the same things you know
zeus_ has quit [(Ping timeout: 246 seconds)]
<freeman42y> you should chill down and act nice
<Infinisil> It was the firefox overlay, who would've thought
takle has joined #nixos
<freeman42y> joepie91, this is exact error I am having with all the details: https://github.com/NixOS/nixpkgs/issues/27252
<Infinisil> neonfuz: This may be interesting to you
<Infinisil> neonfuz: nix-env -qaP --meta --json | jq -C . | less
<Infinisil> where you might need to install jq if you haven't already
takle has quit [(Ping timeout: 260 seconds)]
<freeman42y> is it possible to get a live graphical iso with something newer than NixOS 17.03? that should have the WiFi issue fixed
<Infinisil> freeman42y: You could probably build it yourself if you have nix installed
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ericsagnes opened pull request #28582: styx: 0.6.0 -> 0.7.0 (master...pkg-update/styx) https://git.io/v5O1T
NixOS_GitHub has left #nixos []
<freeman42y> Infinisil, ah, that is cool, I might try that later. Currently what I have is one laptop on which I can't install it cause of the wifi issue (might try with internet cable) and a windows laptop (with a nixos vm in it)
filterfish has quit [(Ping timeout: 276 seconds)]
<Infinisil> Currently trying to find out how to build the iso..
justanotheruser has joined #nixos
<Infinisil> Ah found it
<Infinisil> nix-build '<nixpkgs/nixos/release.nix>' -A iso_graphical
<Infinisil> freeman42y: ||
<Infinisil> ^^
<freeman42y> Infinisil, cool :D that is pretty much magical, they should add that to the Download section I think
<freeman42y> but if I do that in a VM let's say...
<freeman42y> where will the iso image appear? or do I need to create iso out of some folder or something?
<Infinisil> freeman42y: The iso will be in the `result` directory which is in $PWD
<freeman42y> Infinisil, I see thank you, I'll try this, hopefully it fixes the wifey
<Infinisil> I'm building it right now to see
<freeman42y> Infinisil, your command builds the latest thing? or the 17.3?
<Infinisil> freeman42y: Whatever channel you're using I guess
<freeman42y> ah, so since I am on unstable it will build the latest
<Infinisil> You can alse use a nixpkgs checkout, then go to nixpkgs/nixos and use nix-build release.nix -A iso_graphical
<freeman42y> for some reason Dolphin is no longer opening for me, I just click on folders or try to open it directly and it appears to do something for a bit then nothing happens
<freeman42y> not even a GUI error (maybe somwhere in the logs there is)
<Infinisil> Maybe run it from terminal to see its stdout
<freeman42y> Infinisil, ah, I think I will just do the previous thing you mentioned, I still have not had time to read the NixOS manual :(
<Infinisil> or check journalctl for potentially more logs
<Infinisil> freeman42y: Documentation isn't the best admittedly heh
<freeman42y> Infinisil, I wouldn't know though since I haven't read much of it haha
<Infinisil> Well the manuals are there, but they are a bit outdated sometimes. I very often just read the source in nixpkgs to see what exactly happens
<freeman42y> Infinisil, what magical method did you use to find the command: "nix-build '<nixpkgs/nixos/release.nix>' -A iso_graphical" ? I didn't find anything in google
<freeman42y> Infinisil, using Nix to build NixOS is so meta, it is reproducing itself haha
<Infinisil> freeman42y: I grepped for "iso" through nixpkgs/nixos, ignoring /doc /tests and /modules, then found iso_graphical in release.nix. Looked at the file and saw it's an attribute in the attribute set at the top-level in that file, and that's what the -A option does
<Infinisil> freeman42y: Well, nixpkgs already contains all of nix
<Infinisil> nixos i mean
<Infinisil> nixpkgs already contains all of nixos
<freeman42y> Infinisil, yeah, that hit me just some minutes ago when I seen that nix was merged into packages on github and was questioning why, then it hit me
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28582: styx: 0.6.0 -> 0.7.0 (master...pkg-update/styx) https://git.io/v5O1T
NixOS_GitHub has left #nixos []
<freeman42y> Infinisil, is your build finished?
<Infinisil> Nope, for some reason it's been stuck at "creating a 4.0 filesystem..."
<Infinisil> But it is using 100% CPU power, so not sure
<freeman42y> Infinisil, oh, that is where I am at also: http://i.imgur.com/vxQLbdU.png
<Infinisil> Well, hopefully it just takes this long
<Infinisil> but 1G isn't really that much..
<Mic92> Infinisil: you can check hydra how long it usually takes.
<Infinisil> Okay I think it doesn't work actually..
<Infinisil> Watching the syscalls it's erroring constantly
<Infinisil> Hmm, or not
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5O1n
<NixOS_GitHub> nixpkgs/master 64d1302 Jon Banafato: corebird: 1.5.1 -> 1.6
<NixOS_GitHub> nixpkgs/master 2c04ecf Jörg Thalheim: Merge pull request #28581 from jonafato/corebird-1.6...
NixOS_GitHub has left #nixos []
<freeman42y> Infinisil, 59% doesn't seem stuck yet
<Infinisil> Ah, I don't have a progress bar.. :(
<Mic92> Infinisil: do you have tmpfs on /tmp ?
<freeman42y> Infinisil, weird, I don't get why I am getting progress bar but it does not show for you: http://i.imgur.com/bI7oKtf.png
<Infinisil> Mic92: /tmp is not a tmpfs
<Infinisil> Mic92: Should this be there automatically or should I have created it? I have never manually touched /tmp
<Mic92> Infinisil: no just asking, whether it could be memory depletion
<Mic92> it is optional
<freeman42y> Infinisil, it built, but I just realised that I am stupid, cause since Dolphin does not work I can't easily copy it out of the VM haha, I need a shared folder or some other magic
<freeman42y> or maybe copy it to desktop then I can drag and drop out of it
<Infinisil> I am watching the syscalls in htop, and it does indeed seem to be doing stuff
<Infinisil> freeman42y: Or maybe you can ssh into it somehow
<freeman42y> Infinisil, yeah! that would be much easier I think
<freeman42y> for now copy to desktop and drag and drop might work
<freeman42y> Infinisil, success! got iso in host OS with latest version of NixOS, thank you! http://i.imgur.com/QVLm4VA.png
<freeman42y> now I just need to make new USB and hope the wifey issue was fixed
pxc has quit [(Ping timeout: 252 seconds)]
<Mic92> I was thinking about a github project, where pull can open pull requests to get their custom iso images build
<Mic92> *where people can open pull requests
Ivanych has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28577: gargoyle: 2017-03-12 -> 2017-05-17 (master...gargoyle) https://git.io/v5ORM
NixOS_GitHub has left #nixos []
<Infinisil> freeman42y: Nice :D
Lisanna has quit [(Ping timeout: 260 seconds)]
<Infinisil> Mic92: You mean that the repo would have multiple isos with different prebuilt configs?
<Mic92> Infinisil: I would not merge these pull requests, but travis can build them, before they get merged.
<Mic92> maybe I would have a few presets, I actually merge
<Mic92> Otherwise it sometimes a bootstrap issue for people, who want to install nixos, without having it installed in the first place.
<Infinisil> Mic92: I see, not a very elegant solution, but I'd probably work
<Mic92> *it is
<Infinisil> Yeah
<Infinisil> Alright my iso is done
<Infinisil> Took 30minutes
<Infinisil> Mic92: That seems to be CI that can also build other people's forks, right
<Infinisil> ?
<Infinisil> Yeah but similar idea
<Infinisil> I'd say it's not worth it, the graphical and minimal installers are in most cases enough
<Infinisil> And once you have nixos you can do anything
<Mic92> Infinisil: there things like ssh keys, static network configuration, special hardware drivers or zfs support
<Mic92> This are only the things I have in my mind
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28455: hdfview: init at 2.14 (master...hdfview) https://git.io/v5UiG
NixOS_GitHub has left #nixos []
<freeman42y> no luck with the wifey, still broken, but at least the GUI of the tool was updated haha
<freeman42y> actually, I can't see the connect button anymore
<Mic92> freeman42y: did you add wifi firmware to the iso?
<Infinisil> Mic92: Yeah. But: If you need ssh keys, you already probably have nixos and can build it yourself, the same with special hardware drivers. And zfs support can be obtained by nixos-rebuilding in the iso
<freeman42y> Mic92, no, I don't know how to do that
<Mic92> Infinisil: no, this is not true, if you switch from a different distro, you do not have not nixos installed
<freeman42y> But I'd expect at least a connect button and some kind of error from the tool, like: missing drivers or something
<Mic92> freeman42y: I mean, what was the reason for building a custom iso?
<Infinisil> Mic92: Ahh, so you mean special hardware drivers that you need in order for the nixos live iso to even work?
<Mic92> or get network
<Infinisil> I see
<freeman42y> Mic92, this was the reason: https://github.com/NixOS/nixpkgs/issues/27252
<freeman42y> Wifey was not working on 17.3 official ISO
<Mic92> freeman42y: what is Wifey?
<Infinisil> Mic92: I'd think it would be best to include that in the default iso then
<freeman42y> Mic92, wifey is a funny way of saying WiFi
<Mic92> Infinisil: sometimes you are not allowed to distributed certain firmware by license
<Mic92> same thing for zfs
<Mic92> freeman42y: what network interfaces are shown by the command: ip addr
<Mic92> or what hardware are you using
<Mic92> freeman42y: if you have a android device, you can also tether via usb
<Mic92> the android device can be connected to wifi
<Mic92> (as a temporary work-around)
<freeman42y> got a Lenovo laptop from around 2012, ip addr just shows loopback and enp4s0 link/ether
<freeman42y> so I guess you could say that the wifi is not enabled or installed
<freeman42y> wow, delphin won't start on the ISO either. oh... OH
<freeman42y> :/ ok, back to 17.3 hahaha
<Mic92> freeman42y: which model?
<freeman42y> I could tell the driver needed if I knew how to open a file from another drive in konsole haha
<freeman42y> I had notes there on the driver used
<freeman42y> it was bwc or something
<freeman42y> laptop is Lenovo B590
<Mic92> freeman42y: usually dmesg complains about missing firmware
<freeman42y> at least now I know that the reason Dolphin is not workin in VM is because I am using unstable and that broke it
<Mic92> you need firmware for bcm43142
<Mic92> freeman42y: there is no package yet in nixpkgs, but archlinux shows how to get it https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=bcm43142-firmware
<freeman42y> Mic92, thank you, ah, I am not sure how that would work with live gui usb though
<freeman42y> other drives should be under /mnt/ right? the fact that I got none means none are mounted?
<Mic92> freeman42y: you would need a custom iso, with this broadcom firmware included or you find a different way to install nixos without the firmware and get it later
<freeman42y> I don't know how to do the first thing so I guess I should install using ethernet cable then and get that file from the internet
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28452: zanshin: 0.3.1 -> 0.4.1 (master...zanshin) https://git.io/v5URC
NixOS_GitHub has left #nixos []
<Mic92> freeman42y: we already have firmware for different hardware in nixpkgs.
<Mic92> that one can be added as well
<Mic92> freeman42y: in a pull request like that one: https://github.com/NixOS/nixpkgs/pull/27983
<freeman42y> Mic92, I think this is what I need http://i.imgur.com/LklvGjD.png
<freeman42y> since I got BCM4313
<freeman42y> but how would I gat that on the live usb?
<Mic92> freeman42y: maybe
<freeman42y> *get
<freeman42y> I can put it on a stick and transfer the github repo or?
<Infinisil> Umm, that file only contains a single line
<Infinisil> hardware.enableRedistributableFirmware = true;
<freeman42y> haha, I see, does that mean it does not work? :D
<freeman42y> maybe the driver comes by default and that enables it
<Mic92> freeman42y: you can build your own derivation of the nixos iso https://nixos.wiki/wiki/Creating_a_NixOS_live_CD
<Infinisil> Maybe it does, but you should be able to get it working by setting that option in the config
<Mic92> freeman42y: installation-cd-minimal.nix is the variant without gui
<Mic92> installation-cd-graphical-kde.nix is the one with GUI
<Infinisil> Mic92: That guide is outdated btw, config.system.build has no isoImage attribute
<Infinisil> I showed him just a bit ago that `nix-build '<nixpkgs/nixos/release.nix>' -A iso_graphical workk
zennist has joined #nixos
<Infinisil> works*
<Mic92> Infinisil: it is the very same configuration I used some weeks before on unstable
<Mic92> it works
oida_ has joined #nixos
<Infinisil> `cd src/nixpkgs; nix-build '<nixpkgs/nixos>' -A config.system.build.iso`
<Infinisil> error: attribute ‘iso’ in selection path ‘config.system.build.iso’ not found
<freeman42y> Infinisil, are you saying I can try that setting on booted live usb without making special iso?
<Infinisil> Mic92: Doesn't for me, I am on latest unstable
<Infinisil> freeman42y: You probably need internet connection to have that option work, so probably not
<Mic92> Infinisil: did you use a custom file also?
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
<freeman42y> ah, ok, will just try with ethernet then
<Infinisil> Mic92: Using the one for my system at /etc/nixos/configuration.nix
<freeman42y> afk :D
oida has quit [(Ping timeout: 240 seconds)]
<Infinisil> freeman42y: Good luck!
zennist has quit [(Ping timeout: 240 seconds)]
<Mic92> Infinisil: it is building at the moment so it still works
<Infinisil> Mic92: Ah and I used `iso` in that command, `isoImage` also doesn't work though
filterfish has joined #nixos
<Infinisil> Mic92: My exact commit is 96457d26dded05bcba8e9fbb9bf0255596654aab
frankpf has joined #nixos
<Infinisil> And the error `attribute 'isoImage' in selection path...` has certainly nothing to do with the configuration file
slack1256 has quit [(Remote host closed the connection)]
<Infinisil> No idea why it works for you
<Mic92> Infinisil: I am 5 days newer and I use this file without a change for at least a year
<Infinisil> Okay I got it
<Infinisil> But I can't explain it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #28583: firefox: 55.0 -> 55.0.3 (master...firefox-bin-55.0.3) https://git.io/v5OMV
NixOS_GitHub has left #nixos []
<Infinisil> Your file works
<Infinisil> Oh
<frankpf> how do you generally run services in NixOS?
<frankpf> for example, I want to run a nodejs server
<frankpf> should I create a systemd unit file or a nixOS module?
<Mic92> frankpf: if it is just your private service, you can create a systemd unit
<Mic92> if you want to see this module in nixpkgs, you can also create a nixos module
<frankpf> hmm.
<Infinisil> Mic92: I see, the imported module installation-cd-minimal sets the isoImage attribute in the config, that's why this error was so confusing
<frankpf> wouldn't running nixos-rebuild switch shutdown my own custom unit though?
filterfish has quit [(Ping timeout: 276 seconds)]
<Mic92> frankpf: you want to prevent your services from beeing upgraded?
<Mic92> there is an option to prevent that
<Infinisil> frankpf: Only the ones that you changed get restarted
<frankpf> I am just wondering what is the approach everyone uses
<Infinisil> So if you don't make any changes to the nodejs config, it doesn't get restarted
<Infinisil> and if you do make changes, then you need it to restart to apply these changes
<Infinisil> otherwise it wouldn't make sense to make such changes
<frankpf> right now I have a configuration.nix with nginx and Let's Encrypt setup using the standard modules for those
<frankpf> but there's nothing for node, for example
<frankpf> should I create my own module and use it in configuration.nix?
<Mic92> frankpf: you can just add files next to configuration.nix and load them by adding them to imports = [];
<Infinisil> You can, or you can just declare a systemd service directly
<Mic92> frankpf: but it would be the same as adding them directly to configuration.nix
<frankpf> I see, I think defining my own module is better than declaring a service directly
<frankpf> because then my configuration.nix reflects the whole system state
<frankpf> no?
<Mic92> frankpf: it would not be the same thing as a module
<Mic92> a module as an option section and a config section
<frankpf> I mean, another file
<frankpf> sorry
<frankpf> just creating another configuration file for the specific service and then importing it
<Mic92> frankpf: depends on your taste, if you feel you want to split configuration.nix into logical units
<frankpf> alright, thanks Infinisil and Mic92. I'll try that
<Mic92> frankpf: there other people sharing their configuration, if you need inspiration https://nixos.wiki/wiki/Configs
<Infinisil> And if you feel like you can create a useful and reusable module for node, you could do that and contribute it to nixpkgs :D
justbeingglad has joined #nixos
justbeingglad has left #nixos []
taktoa has quit [(Remote host closed the connection)]
zennist has joined #nixos
taktoa has joined #nixos
<Infinisil> Alright need to sleep, cya
Infinisil has quit [(Quit: Zzzzz)]
taktoa has quit [(Remote host closed the connection)]
zennist has quit [(Ping timeout: 260 seconds)]
<hyper_ch> sleep is overrated
<hyper_ch> you just need more coffee
zennist has joined #nixos
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5OMh
<NixOS_GitHub> nixpkgs/master 061d934 Tim Steinbach: abcl: 1.4.0 -> 1.5.0
<NixOS_GitHub> nixpkgs/master 5cad927 Jörg Thalheim: Merge pull request #28433 from NeQuissimus/abcl_1_5_0...
NixOS_GitHub has left #nixos []
zennist has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5OMj
<NixOS_GitHub> nixpkgs/master 8e3e2cc Tim Steinbach: abcde: 2.7.2 -> 2.8.1
<NixOS_GitHub> nixpkgs/master 3ed601b Jörg Thalheim: Merge pull request #28431 from NeQuissimus/abcde_2_8_1...
NixOS_GitHub has left #nixos []
simukis has joined #nixos
filterfish has joined #nixos
<iMatejC> hyper_ch: I agree
<hyper_ch> so, where does nixos keep it's global kde5 servicemenus folder?
Michael__ has quit [(Ping timeout: 248 seconds)]
Michael__ has joined #nixos
simukis has quit [(Quit: simukis)]
simukis has joined #nixos
filterfish has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5ODg
<NixOS_GitHub> nixpkgs/master 8bd2243 Samuel Leathers: polybar: fixes issue #28387 (#28441)...
NixOS_GitHub has left #nixos []
FRidh has joined #nixos
simukis_ has joined #nixos
simukis has quit [(Ping timeout: 240 seconds)]
simukis_ has quit [(Client Quit)]
simukis_ has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
frankpf has quit [(Quit: Leaving)]
zennist has joined #nixos
zennist has quit [(Ping timeout: 260 seconds)]
Michael__ has quit [(Ping timeout: 248 seconds)]
Michael__ has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vyp closed pull request #28539: Document that systemd.services.<name>.script is the same as systemd.services.<name>.serviceConfig.ExecStart (master...document-systemd-script) https://git.io/v5qCZ
NixOS_GitHub has left #nixos []
filterfish has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5ODp
<NixOS_GitHub> nixpkgs/master 14eb44d Tim Steinbach: minikube-kubernetes: 1.7.0 -> 1.7.3
<NixOS_GitHub> nixpkgs/master 9ea5b2f Jörg Thalheim: Merge pull request #28398 from NeQuissimus/minikube_kube_1_73...
NixOS_GitHub has left #nixos []
JosW has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
mrkgnao has quit [(Quit: WeeChat 1.7.1)]
filterfish has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v5OyI
<NixOS_GitHub> nixpkgs/master 1b61304 taku0: firefox-bin: 55.0 -> 55.0.3
<NixOS_GitHub> nixpkgs/master dec0929 taku0: firefox: 55.0 -> 55.0.3
<NixOS_GitHub> nixpkgs/master a400480 Jörg Thalheim: Merge pull request #28583 from taku0/firefox-bin-55.0.3...
NixOS_GitHub has left #nixos []
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28407: dtools: rdmd -> dtools (master...dtools) https://git.io/v5vLx
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 276 seconds)]
filterfish has joined #nixos
zennist has joined #nixos
__monty__ has joined #nixos
<__monty__> What's the proper way to configure xdg to include nix's .desktop files?
<Mic92> __monty__: if you build a package, use the makeDesktopItem funciton
zennist has quit [(Ping timeout: 240 seconds)]
<Mic92> ah, this is not what you meant probably
filterfish has quit [(Ping timeout: 246 seconds)]
<__monty__> Yeah, for instance I installed thunderbird. And there's a .desktop under .nix-profile but I don't know how to configure my system to find it.
LysergicDreams has quit [(Ping timeout: 248 seconds)]
LysergicDreams has joined #nixos
<Mic92> It probably depends on your desktop environment, so if it does not work out of the box, it is probably a bug, which should be fixed
<__monty__> Ok, I'll head on over to the appropriate channel, thanks.
<Mic92> __monty__: I mean, it is probably nixos related
<Mic92> but the nixos module or our package should take care of that
pie_ has joined #nixos
<Mic92> whatever desktop environment you use, upstream can probably give you hints, what the desktop manager expects from the environment to find .desktop files
<__monty__> I'm not using nixos actually. Couldn't find a channel for nix.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5OSC
<NixOS_GitHub> nixpkgs/master 1627e5b Jörg Thalheim: libtunegimp: remove package...
<NixOS_GitHub> nixpkgs/master 5f482c5 Jörg Thalheim: libmusicbrainz2: remove deprecated version...
NixOS_GitHub has left #nixos []
<Mic92> __monty__: ah, so you installed thunderbird in nix from a non-nixos system
<__monty__> Yes.
<Mic92> what is your desktop manager then?
<__monty__> Enlightenment...
takle has joined #nixos
<Mic92> __monty__: looking at the nixos module, I think it wants XDG_DATA_DIRS
<Mic92> to be set
<Mic92> on nixos it looks like this: export XDG_DATA_DIRS=/run/opengl-driver/share:/run/opengl-driver-32/share:/etc/per-user-pkgs/joerg/share:/home/joerg/.nix-profile/share:/nix/var/nix/profiles/default/share:/run/current-system/sw/share
endformationage has quit [(Quit: WeeChat 1.9)]
<Mic92> __monty__: I suppose you only need .nix-profile then in XDG_DATA_DIRS
<__monty__> I don't know how to set it so the DE sees it though. Adding it to path in zshrc isn't useful because the terminal is the one place where the desktop files aren't useful.
freeman42x has joined #nixos
<Mic92> __monty__: some login manager read ~/.profile
takle has quit [(Ping timeout: 246 seconds)]
freeman42y has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28397: tdesktop: update 1.1.7 -> 1.1.19 (master...telegram-update) https://git.io/v5ehu
NixOS_GitHub has left #nixos []
simukis has joined #nixos
<Mic92> __monty__: if you find a decent work-around, you can also add it here: https://nixos.wiki/wiki/Nix_Package_Manager#Nix_on_Linux
simukis_ has quit [(Ping timeout: 248 seconds)]
<__monty__> Mic92: Will do, logging out/in to test.
__monty__ has quit [(Quit: Rebootying.)]
takle has joined #nixos
pie_ has quit [(Ping timeout: 248 seconds)]
filterfish has joined #nixos
zennist has joined #nixos
taktoa has joined #nixos
ahawkins has joined #nixos
filterfish has quit [(Ping timeout: 276 seconds)]
<ahawkins> Hello everyone. I'm trying to write my first package for fundle (a fish shell function). How can I make my package write a file into the output directories for another package?
<makefu> ahawkins: you will need to change the derivation where the file should become part of unfortunately
<makefu> after being built, there is no way back
zennist has quit [(Ping timeout: 248 seconds)]
zennist has joined #nixos
<ahawkins> makefu: I'm looking at the fish expression (https://github.com/NixOS/nixpkgs/blob/51a83266d164195698f04468d90d2c6238ed3491/pkgs/shells/fish/default.nix#L80), that directory should be created. Can I make my package drop a file into that directory some how?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5O9t
<NixOS_GitHub> nixpkgs/master 48f337a Jörg Thalheim: python.pkgs.pysideShiboken: fix gcc6 build
NixOS_GitHub has left #nixos []
<makefu> you can use the postFixup phase to perform your custom actions
<makefu> but it looks like fish provides another way to do this
<ahawkins> ?
__monty__ has joined #nixos
<__monty__> Mic92: What would be an appropriate wiki page to add the information to? I just had to append the .nix-profile/share path to the XDG_DATA_DIRS.
<makefu> if i understand correctly then $__nix_profile_paths is not in the /nix/store ,right?
zennist has quit [(Ping timeout: 260 seconds)]
<makefu> ok i understand, you can simply install the package with environment.systemPackages
<makefu> as long as it provides an output path /share/fish/vendor_functions.d/
<makefu> for example you create a derivation and install files into $out/share/fish/vendor_functions.d/
<makefu> when installed this path will become available one of the $NIX_PROFILES
<makefu> this means that you do not need to change the output of another derivation, just make sure the package you create contains the path
<ahawkins> hmm
<makefu> ahawkins: sorry need to go, i will read the backlog later :)
<ahawkins> ok, I'll give it a go.
<ahawkins> makefu: thanks, I'm sure I'll hit some issues since it's my first go around
<Mic92> __monty__: maybe add a short section to Common Errors: Desktop Environment does not find .desktop files -> and then append your solution
<Mic92> it is only related to nix on non-nixos systems
<Mic92> though
Ivanych has quit [(Ping timeout: 260 seconds)]
<Mic92> in the end it only needs to be google-able
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5O9o
<NixOS_GitHub> nixpkgs/master 4596835 Jörg Thalheim: xml-security-c: fix gcc6 build
NixOS_GitHub has left #nixos []
mudri has joined #nixos
Fare has quit [(Ping timeout: 264 seconds)]
thc202 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v5O9F
<NixOS_GitHub> nixpkgs/master 6895ef6 Vladimír Čunát: fbreader: fixup build with gcc-6
NixOS_GitHub has left #nixos []
Ivanych has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5OHJ
<NixOS_GitHub> nixpkgs/master 326f54d Jörg Thalheim: log4cxx: fix gcc6 build
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5OHT
<NixOS_GitHub> nixpkgs/master 86890ae Jörg Thalheim: python.pkgs.requests_oauthlib: fix source hash
NixOS_GitHub has left #nixos []
slyfox has quit [(Ping timeout: 240 seconds)]
Ivanych has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v5OHk
<NixOS_GitHub> nixpkgs/master 7b0effc Vladimír Čunát: dee: fix with gcc-6...
NixOS_GitHub has left #nixos []
slyfox has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<__monty__> Mic92: Added it here https://nixos.wiki/wiki/Nix_Package_Manager#Desktop_Environment_does_not_find_.desktop_files Feel free to edit/improve.
<freeman42x> freeman42x, figured it out, it needed synaptics added to the config
<ahawkins> which paste bin do we use in this channel?
<freeman42x> how would I run/install this? there is not package for it
<jluttine> how can i search for packages that contain in their name or description (or somewhere) some query string?
slyfox has quit [(Ping timeout: 252 seconds)]
<__monty__> ahawkins: If it's not in the topic, feel free to use whatever you prefer. As long as it's not pastebin.com : )
slyfox has joined #nixos
<Mic92> freeman42x: there is an nixos option you can set in configuration.nix
<Mic92> hardware.enableAllFirmware
<Mic92> hardware.enableAllFirmware = true
<ahawkins> Here is my nix expression (https://ptpb.pw/H9k4). When I nix-build I get: error: cannot auto-call a function that has an argument without a default value (‘stdenv’)
<Mic92> freeman42x: then just add it to the list in configuration.nix: hardware.firmware = with pkgs; [ ];
<freeman42x> Mic92, I thought it was something "wpa_supplicant" related
<Mic92> freeman42x: no it is kernel related
<freeman42x> Mic92, so I should just add this: hardware.enableRedistributableFirmware = true; in the main config or how?
<Mic92> wpa_supplicant just uses a generic kernel interface
<freeman42x> by main config I mean /etc/nixos/configuration.conf or something
<Mic92> freeman42x: broadcom-43xx is not included in 28.oknf │ | config or how? │ alpha_s
<Mic92> broadcom-43xx is not included hardware.firmware
<freeman42x> ok, I understand but I don't know what that implies on getting it
<Mic92> freeman42x: wait a sec it is
<Mic92> hardware.enableRedistributableFirmware is enabled by default I think
<Mic92> freeman42x: it is not, so you can try to set it
<Mic92> ahawkins: try https://nixos.wiki/wiki/FAQ#I.27m_working_on_a_new_package.2C_how_can_I_build_it_without_adding_it_to_nixpkgs.3F
erictapen has quit [(Ping timeout: 240 seconds)]
<freeman42x> Mic92, I have these 2 lines in the configuration.nix: networking.hostName = "nixos"; # Define your hostname. / networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
<freeman42x> can I add what you mentioned without disabling the wpa_supplicant one?
<Mic92> freeman42x: yes
__monty__ has left #nixos []
<Mic92> freeman42x: do you want to use wpa_supplicant or networkmanager in the end?
<Mic92> NetworkManager is one, which you configure through graphical applets
<freeman42x[m]> I prefer GUI
<Mic92> freeman42x[m]: then you want probably leave wireless.enable disabled and use https://nixos.org/nixos/options.html#networkmanager.enable instead
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5OH9
<NixOS_GitHub> nixpkgs/master b0c32cf Jörg Thalheim: vmime: 0.9.2-pre-svn603 -> 0.9.2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/v5OHF
<NixOS_GitHub> nixpkgs/staging 135a841 Tim Steinbach: curl: 7.55.0 -> 7.55.1
<NixOS_GitHub> nixpkgs/staging 9eafe67 Vladimír Čunát: Merge #28264: curl: 7.55.0 -> 7.55.1
NixOS_GitHub has left #nixos []
<freeman42x[m]> I added enable redistributable and network manager and commented out the wpa_supplicant
<freeman42x[m]> I'll tell you how it goes. It said something about starting supplicant after the rebuild
pxc has joined #nixos
butchery has joined #nixos
<freeman42x> got the network manager working but there is no wifi listed when running "ip a"
zarel has joined #nixos
<Mic92> freeman42x: then I suspect, your firmware is not included in the list
pxc has quit [(Ping timeout: 240 seconds)]
<Mic92> freeman42x: I am not sure, if it requires a reboot though
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v5OQE
<NixOS_GitHub> nixpkgs/master 643ca9a Frederik Rietdijk: Python docs: rewrite a part...
NixOS_GitHub has left #nixos []
<freeman42x> Mic92, I did do a reboot after the nixos-rebuild switch
<freeman42x> I'll try to get a package for it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5OQu
<NixOS_GitHub> nixpkgs/master 18232bc Jörg Thalheim: clamav: fix build
NixOS_GitHub has left #nixos []
<freeman42x> or something
<Mic92> freeman42x: you can also for testing add build this package directly in your configuration.nix hardware.firmware = [ (stdenv.mkDerivation { ... }) ];
<Mic92> freeman42x: nixpkgs/pkgs/os-specific/linux/firmware/rtl8192su-firmware/default.nix is a good example
slyfox has quit [(Quit: :))]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v5OQF
<NixOS_GitHub> nixpkgs/master 1e7358a Vladimír Čunát: kde4.kde_workspace: fixup build with gcc-6
NixOS_GitHub has left #nixos []
LysergicDreams has quit [(Ping timeout: 248 seconds)]
simukis has quit [(Quit: simukis)]
LysergicDreams has joined #nixos
simukis has joined #nixos
deltasquared has joined #nixos
Jackneill has joined #nixos
slyfox has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<Mic92> freeman42x[m]: can add <nixpkgs/nixos/modules/hardware/network/broadcom-43xx.nix> to imports
zarel has quit [(Ping timeout: 276 seconds)]
<Mic92> freeman42x[m]: but all this module does is hardware.enableRedistributableFirmware = true
<Mic92> so it would not help you
<Mic92> your devices requires probably a different firmware file
<Mic92> (the one I showed before)
<clever> dmesg should include the name of the firmware
rauno has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wizzup opened pull request #28584: nodePackages.livedown : init at 2.1.1 (master...add/nodePackages.livedown) https://git.io/v5O5Y
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #28562: nixos: i2pd: bits and pieces (master...nixos/i2pd) https://git.io/v5Yc2
NixOS_GitHub has left #nixos []
NightTrain has quit [(Quit: Lost terminal)]
arximboldi has joined #nixos
proteusguy has quit [(Ping timeout: 276 seconds)]
gspia has joined #nixos
<freeman42x> someone said that all he needed to do was add: https://gist.github.com/gilligan/fb835c15925ce3a349c4#file-configuration-nix-L43
<freeman42x> adding "networking.enableB43Firmware = true;" did not make it work either
<freeman42x> unless there is issue with the GUI
<freeman42x> but I see nothing under ip a
<freeman42x> should I see something under ip a?
<freeman42x> or if the driver is installed do I still need to load it somehow manually?
<clever> only after wpa_supplicant has connected
<clever> freeman42x: try "iwlist scan" first, thats a good test of the drivers
<freeman42x> clever, iwlist command not found
reinzelmann has joined #nixos
* freeman42x starts crying.
<gspia> Hello, anybody with few minutes to zlib-compilation problem (ghc821)?
<freeman42x> I've been trying to get NixOS set up for over 6 hours now on my laptop. Only progress I got was to get it installed and install the touchpad driver.
<yorick> gspia: with stack?
<gspia> yorick: in a nix-shell with basic tools and then with cabal new-configure & cabal new-build
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/v5O5p
<NixOS_GitHub> nixpkgs/staging 0eb868f WilliButz: pango: fix pango_default_break function...
<NixOS_GitHub> nixpkgs/staging 6eade28 Vladimír Čunát: Merge #28563: pango: fix pango_default_break function
NixOS_GitHub has left #nixos []
anton__ has quit [(Remote host closed the connection)]
<yorick> gspia: try adding zlib and zlib.dev to the inputs
zarel has joined #nixos
<clever> yorick: nixpkgs will add the .dev automatically
<gspia> yorick: ok, zlib was there already but zlib.dev not (tried to find something like that with nix-env -qaP etc) ... (the error was about missing zlib.h and with other distro's it has usually been about that dev-version)
<yorick> clever: I've had to do it sometimes.
<yorick> gspia: did it solve it?
<yorick> clever: zlib is just zlib.out
simukis has quit [(Quit: simukis)]
simukis has joined #nixos
<gspia> yorick: i'm still trying (didn't have default.nix for this trial yet, so maybe I'll try to put into the system-wide settings into the configuration.nix-file)
simukis has quit [(Remote host closed the connection)]
<yorick> clever: maybe it doesn't with nix-shell?
mudri has quit [(Ping timeout: 240 seconds)]
zarel has quit [(Ping timeout: 240 seconds)]
<clever> yorick: what arguments are you padding to nix-shell?
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon2 has joined #nixos
<clever> passing(
<yorick> clever: nix-shell -p zlib
<clever> just that and nothing else?
<yorick> Well, that's about what stack does, yeah
<clever> what is the exact command you are running?
stanibanani has joined #nixos
Mateon2 is now known as Mateon1
<yorick> clever: stack build zlib
<clever> and is stack in nix mode?
<yorick> Yes
<yorick> Maybe it's fixed now?
stanibanani has quit [(Ping timeout: 252 seconds)]
<gspia> yorick: I tried couple of variants and cabal is telling about missing dep on foreign lib (either missing zlib.h or missing lib z)
<gspia> yorick: the commands 'nix-shell -p ghcEnv821 -p zlib'
<gspia> yorick: then with zlib.dev
anton__ has joined #nixos
<freeman42x> clever, do you happen to know which package contains iwlist? I though it was wirelesstools but it does not exist
betaboon has joined #nixos
<clever> freeman42x: wirelesstools.out 40,352 x /nix/store/ynhdq4ajcwb8mrjwdawr12cvza891crd-wireless-tools-29/bin/iwlist
<clever> nix-shell -p wirelesstools
rigelk has joined #nixos
<freeman42x> clever, to install it I just add it under? environment.systemPackages = with pkgs; [
<freeman42x> I tried nix-env -qaP wirelesstools and gave no results
<clever> you can also just use the above nix-shell to temporarily use it without installing
<freeman42x> ah, I see thank you
<freeman42x> I'll install it since I might need it later
nixoswikibot has joined #nixos
<nixoswikibot> [[Nix Package Manager]] https://nixos.wiki/index.php?diff=430&oldid=426&rcid=428 * Mic92 * (+61) /* Nix on Linux */
nixoswikibot has quit [(Remote host closed the connection)]
nixoswikibot has joined #nixos
<freeman42x[m]> clever, iwlist scan just shows loopback and ethernet
ambro718 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #28585: riot-web: init at 0.12.2 (master...riot-web) https://git.io/v5OdF
NixOS_GitHub has left #nixos []
<clever> freeman42x[m]: does "ip link" show a wifi interface?
<freeman42x> playing NixOS is more difficult than playing Dark Souls, I never played Dark Souls :D
<clever> once you learn the tricks, you never go back!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] CMCDragonkai opened pull request #28586: flyway: init at 4.2.0 (master...flyway) https://git.io/v5OdN
NixOS_GitHub has left #nixos []
<freeman42x> clever, ip link also only shows loopback and ethernet
<yorick> gspia: do both
Azrael has joined #nixos
<clever> freeman42x: then the driver isnt loading yet, what does "lspci -nn" say for the card?
<gspia> yorick: ok I'll try that
<yorick> gspia: -p zlib -p zlib.dev
Azrael is now known as Guest51535
<Guest51535> Hey how one can use 4.12 kernel and bfq elevator ?
<clever> Guest51535: boot.kernelPackages = pkgs.linuxPackages_4_12;
<gspia> yorick: oh my.. still giving the error during configure step
<Guest51535> Yep and then boot.kernelParams = ["elevator=bfq"]?
<freeman42x> clever, the wifi device is on that list
<clever> Guest51535: that will probably work
<clever> gspia: is pkgconfig at use any?
<clever> freeman42x: what is the full line that lspci gave?
<freeman42x> clever, ah, it is on another pc, let's see who I can get it
<freeman42x> is it easy to install an irc client? haha
<clever> freeman42x: nix-env -iA nixos.irssi
gnuhurd has joined #nixos
<Guest51535> clever: Nope, the problem that elevator becomes none
anton__ has quit [(Remote host closed the connection)]
anton__ has joined #nixos
anton__ has quit [(Remote host closed the connection)]
anton__ has joined #nixos
<gspia> clever: yorick: neither of envs has pkgconfig, ghcEnv compiles/works (802) and ghvEnv821 doesn't
<clever> Guest51535: and joko is online
anton__ has quit [(Remote host closed the connection)]
mudri has joined #nixos
<clever> gspia: run the failing command under "strace -e execve" and confirm what its doing to try and detect zlib
LysergicDreams has quit [(Ping timeout: 246 seconds)]
<Guest51535> Thanks, clever!
lush has joined #nixos
freeman42x[nix] has joined #nixos
LysergicDreams has joined #nixos
anton__ has joined #nixos
<freeman42x[nix]> clever, <03:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)>
<gspia> clever: yorick: "strace -e execve cabal new-configure" gave the same error-message (also in cabals log-file)
<gspia> clever: yorick: "missing (or bad) header file: zlib.h"
benmachine has joined #nixos
<gspia> clever: yorick: "missing C library: z"
rigelk has quit [(Remote host closed the connection)]
<clever> gspia: you may also need to add -f to strace
<clever> gspia: can you gist all of the output that strace generates?
<gspia> clever: ok, 2 secs
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/v5OFQ
<NixOS_GitHub> nixpkgs/staging ee51e73 Volth: perl: 5.24.1 -> 5.24.2 and 5.22.3 -> 5.22.4...
NixOS_GitHub has left #nixos []
pakettiale has quit [(Read error: Connection reset by peer)]
pakettiale has joined #nixos
pxc has quit [(Ping timeout: 252 seconds)]
Guest51535 has quit [(Ping timeout: 260 seconds)]
reinzelmann has quit [(Quit: Leaving)]
teto has joined #nixos
<gspia> clever: it a bit longer, but here-> https://gist.github.com/gspia/da2b41428911ced9e535d942cd7033a0
deltasquared has quit [(Quit: Leaving)]
<clever> gspia: oh right, paths are truncated, re-run it with -s 5000 as well
simukis has joined #nixos
<clever> gspia: the contents of /home/gspia/.cabal/logs/ghc-8.2.1/zlib-0.6.1.2-12c573b5b6af44f3fe6db28d6fb711b3953aa3469d4309a13adce662dc7f3622.log
<gspia> clever: ok 2 secs + little margin on that
<clever> may also help
arximboldi has quit [(Quit: arximboldi)]
<teto> I get this problem where nixos-rebuild doesn't add new generations to grub, it stays stuck to generation 24 (I am at 181 if nix-env lists the same 'generations'). Any idea where to look at ?
<gspia> clever: ok, that log tells just about the missing header / z lib but I'll put it on the gist too
<clever> teto: is /boot mounted when you run nixos-rebuild?
<clever> teto: and what arguments did you run nix-env with?
mudri has quit [(Ping timeout: 248 seconds)]
<clever> compiler at the preprocessing stage. In this case you can re-run configure
<clever> with the verbosity flag -v3 to see the error messages.
<clever> gspia: this flag may alos help
<teto> clever: /boot is on the same drive so it doesn't need to be mounted, I think. I see no /boot in /etc/mtab. I'll try those flags
<gspia> clever: ok -> re-run with -v3
Ivanych has joined #nixos
<clever> teto: what does fdisk say about your drive?
<teto> clever content of sudo fdisk -l (thanks for the help) : http://paste.ubuntu.com/25396422/
<clever> teto: are you booting with efi or legacy?
griff_ has joined #nixos
<teto> efi I believe (it's a macbook). I have in configuration.nix boot.loader.efi.canTouchEfiVariables = true;
<clever> ah
<clever> teto: then your grub config is on /dev/sda2, not the /boot dir of sda1
<clever> teto: you must mount sda2 to /boot
arximboldi has joined #nixos
arximboldi has quit [(Client Quit)]
<teto> clever: you are scaring me :) it used to work until generation 24, did nixos change sthg ? maybe when I upgraded to 17.03. How can I mount /dev/sda2 to /boot on every boot. Anything I should add in configuration.nix or just the typical line in /etc/fstab ?
<clever> teto: after manualy mounting /dev/sda2 to /boot, run "nixos-generate-config" and it will rebuild /etc/nixos/hardware-configuration.nix
arximboldi has joined #nixos
<ahawkins> what's the proper approach to separate user & system packages?
<clever> ahawkins: use config.nix and nix-env to install a set of packages
arximboldi has quit [(Client Quit)]
<clever> ahawkins: as an example, { packageOverrides = pkgs: { mystuff = { inherit firefox hello vim; }; }
<clever> ahawkins: and nix-env -iA nixos.mystuff
<freeman42x[nix]> got <The option `users.users.neo.extragroups' defined in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/config/users-groups.nix' does not exist.>
<freeman42x[nix]> all I did was to use the user configuration explained in the manual inside configuration.nix
<clever> freeman42x[nix]: its case sensitive, extraGroups
<gspia> clever: does this help? There is the log file with verbosity v3 and strace
<freeman42x[nix]> clever, I see, it worked thank you. <is embarassed>
ison111 has quit [(Ping timeout: 240 seconds)]
<clever> /run/user/1000/25970-4.c:1:18: fatal error: zlib.h: No such file or directory
<clever> cannot find -lz
<clever> gspia: it appears to be failing to find both halves of zlib
<clever> gspia: and all of this was ran under "nix-shell -p zlib zlib.dev" ?
freeman42x[nix] has quit [(Quit: Leaving)]
<gspia> clever: yes -p zlib -p zlib.dev -p ghcEnv821
<clever> outside of the nix shell, what does "type gcc" say?
<gspia> gcc is /run/current-system/sw/bin/gcc
<clever> that breaks a lot of things
<clever> remove gcc from systemPackages
<gspia> aha, ok,
<gspia> so if there is a need for gcc, just provide an env to it, too (just like for haskell)?
<clever> yeah
<lush> how would you install that on nixos?
freeman42x[nix1] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/v5ONt
<NixOS_GitHub> nixpkgs/master 8c3cc7c Peter Simons: pkgs/development/compilers/ghc: drop un-referenced patch files
NixOS_GitHub has left #nixos []
<clever> lush: copy the nix expression into a file called gopanda.nix in ~/.config/nixpkgs/ and then add "gopanda = pkgs.callPackage ./gopanda.nix {};" to the package overrides in config.nix
<freeman42x[nix1]> clever, does this help with understanding what is wrong with the wifi? <03:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)>
<clever> freeman42x[nix1]: yeah, one sec
<teto> clever I am quite sure it's that, thanks for the very good help. Gonna reboot and report (if my laptop is still alive) :D
teto has quit [(Quit: WeeChat 1.7.1)]
<clever> freeman42x[nix1]: what happens when you do "sudo modprobe -v brcmfmac"
<freeman42x[nix1]> insmod /run/current-system/kernel-modules/lib/modules/4.9.43/kernel/net/wireless/cfg80211.ko.xz
<freeman42x[nix1]> insmod /run/current-system/kernel-modules/lib/modules/4.9.43/kernel/drivers/mmc/core/mmc_core.ko.xz
<freeman42x[nix1]> insmod /run/current-system/kernel-modules/lib/modules/4.9.43/kernel/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.ko.xz
<freeman42x[nix1]> insmod /run/current-system/kernel-modules/lib/modules/4.9.43/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko.xz
<freeman42x[nix1]> sorry about the multilines, no browser yet :)
<clever> freeman42x[nix1]: any change in ip link?
<freeman42x[nix1]> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
<freeman42x[nix1]> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
<freeman42x[nix1]> 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
<freeman42x[nix1]> link/ether 3c:97:0e:8d:93:97 brd ff:ff:ff:ff:ff:ff
<clever> no changes
<clever> any errors in dmesg? and dont paste the whole thing, lol
<gspia> clever: removing gcc from system-wide installation doesn't seem to help -> any system-wide lib that could be causing this?
<freeman42x[nix1]> clever, haha :D
<clever> gspia: its more that gcc has to correctly be put into the inputs for nix-shell
<clever> gspia: and having it system wide makes it half-work when you forget that, so you dont notice the problem
<freeman42x[nix1]> clever, <[ 332.618473] mce: [Hardware Error]: Machine check events logged> <[ 376.101366] usbcore: registered new interface driver brcmfmac>
mudri has joined #nixos
<gspia> clever: so is there more -p inputs to be given now when entering into shell?
<clever> freeman42x[nix1]: what about this? boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta];
<clever> gspia: yeah, it might need -p gcc
<gspia> clever: ok trying now with that too
teto has joined #nixos
<lush> clever: ty very much! :)
<freeman42x[nix1]> clever, sorry, I am a bit lost over permissions for new user :( can't use git anymore
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<gspia> clever: the compilation went much longer this time, but now "cant load .so/.DLL (libz.so: cannot open shared object file: No such file or directory)
<clever> gspia: have you looked into just not using stack for the builds?, there are things like stack2nix and cabal2nix
<gspia> clever: not yet but maybe I have to now (or then just use 8.0.2 for a while - this is quite strange as with it this compiles even with the gcc system-wide)
<gspia> clever: I could try the default.nix next
<clever> gspia: nix-build does help isolate a lot more problems from system-wide things
<hyper_ch> hmmm, anyone who packages kde5 stuff for nixos?
<lush> clever: then I just use "nix-env -i gopanda" ?
<clever> lush: nix-env -iA nixos.gopanda
b has joined #nixos
<gspia> clever: ok, my trials will take some time as nix-things are new to me
<gspia> clever: thanks a lot for your help! (I have to go now and try out those default.nix and stack later.)
<gspia> yorick: thanks to you too!
Sonarpulse has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #28587: ppl: 1.1 -> 1.2 (master...ppl-1.2) https://git.io/v5OAc
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
<lush> clever: it tells me "called without required argument ‘config’" assuming that I entered the override part right
<clever> lush: can you put the gopanda.nix and config.nix into a gist?
teto has quit [(Ping timeout: 246 seconds)]
<clever> delete line 1 of config.nix
<clever> its not a nixos module, so it shouldnt have that line
Ivanych has quit [(Ping timeout: 248 seconds)]
<lush> oh ok
<lush> now it just says "attribute 'gopanda' in selection path 'nixos.gopanda' not found
<clever> lush: where did you put the config.nix file?
<lush> ~/.config/nixpkgs/
<clever> oh
<ahawkins> how can I make buildPhase a no-op in my own pkg?
<clever> lush: the nixpkgs.config is also invalid
<lush> just delete it?
<clever> lush: same reason, this isnt a nixos module
<freeman42x[nix1]> is there an easy way to just give the user permission to do everything a root can? (don't question it haha)
<clever> freeman42x[nix1]: sudo
<freeman42x[nix1]> or at least provide a list of programs that it can use as sudo
<freeman42x[nix1]> clever, I mean, without typing sudo all the time
<clever> sudo -i
<lush> ty clever, now at least it installed it
<clever> that gives you a shell running as root
<lush> but when I try to start it the shells says "GoPanda2: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory"
<freeman42x[nix1]> clever, thank you!
<clever> lush: the package containing nss3 has to be added to the buildInputs
<clever> $ nix-locate libnss3.so
<clever> nss.out 1,399,112 x /nix/store/wfgshwx9ir33xnlyhmy9fwqwy1hjm0yk-nss-3.30/lib/libnss3.so
<clever> lush: so add nss to the buildInputs
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5OAP
<NixOS_GitHub> nixpkgs/master fcfd477 Jörg Thalheim: arangodb: 2.5.3 -> 3.2.2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5OAM
<NixOS_GitHub> nixpkgs/master 132c2a8 Jörg Thalheim: arangodb: remove go
NixOS_GitHub has left #nixos []
<lush> clever: "undefined variable nss...."
<clever> lush: and add nss to the function arguments near line 1
<clever> lush: before the }:, add ,nss
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5OA9
<NixOS_GitHub> nixpkgs/master ffa499f Alvar: et: init at 2017-03-04 (#28427)
NixOS_GitHub has left #nixos []
<lush> no "libplc4.so" is missing. Is there a way to lookup ub which package I can find that one?
<lush> ty very much clever!
<nixoswikibot> [[Create and debug nix packages]] M https://nixos.wiki/index.php?diff=431&oldid=379&rcid=429 * Fadenb * (+131) /* Testing Package Updates with Nox */ syntaxhighlight
<clever> lush: nix-locate
erictapen has quit [(Ping timeout: 240 seconds)]
<clever> nspr.out 22,544 x /nix/store/3k02a7f3gcbw22pvyfv38sf94vjwlfvy-nspr-4.13.1/lib/libplc4.so
teto has joined #nixos
freeman42x[nix1] has quit [(Remote host closed the connection)]
<lush> clever: what's that/how can I use that? It's not listed as a package and it seems not to be just the "locate" command
<clever> ah, got the name slightly off, nix-index is the package, nix-index and nix-locate are commands within it
freeman42x[nix1] has joined #nixos
freeman42y[nix1] has joined #nixos
freeman42x[nix1] has quit [(Client Quit)]
<lush> clever: would you recommend installing that the way it is told at github?
<clever> lush: yeah
feepo has quit [(Quit: Connection closed for inactivity)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5Oxv
<NixOS_GitHub> nixpkgs/master 9bdf896 Roger Qiu: flyway: init at 4.2.0 (#28586)...
NixOS_GitHub has left #nixos []
teto has quit [(Quit: WeeChat 1.7.1)]
<ahawkins> is there some way to skip the buildPhase in a pkg? I set it to "echo done" which doesn't feel right.
<gchristensen> ahawkins: you can set it to ":"
<clever> ahawkins: can you gist your current expression?
<gchristensen> ahawkins: there are ways to _actually_ skip it, but that can cause problems later down the road
Curiontice has quit [(Ping timeout: 246 seconds)]
mkoenig_ has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5Oxc
<NixOS_GitHub> nixpkgs/master be5d898 Vincent Laporte: ppl: 1.1 -> 1.2
<NixOS_GitHub> nixpkgs/master ffd6443 Jörg Thalheim: Merge pull request #28587 from vbgl/ppl-1.2...
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<ahawkins> success! My fundle expression seems to work
freeman42y[m] has joined #nixos
mkoenig has quit [(Ping timeout: 264 seconds)]
<ahawkins> now the question is: what's the best way to integrate this into the system?
dankrisan has joined #nixos
<lush> clever: oh cmon. now nix-index isn't working properly :DD
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28314: sqlmap: 1.0.11 -> 1.1 (master...sqlmap_update) https://git.io/v7NfO
NixOS_GitHub has left #nixos []
<lush> clever: could you look ups libplc4 for me pls? :)
freeman42x has quit [(Ping timeout: 252 seconds)]
freeman42x[m] has quit [(Ping timeout: 252 seconds)]
<clever> nspr.out 22,544 x /nix/store/3k02a7f3gcbw22pvyfv38sf94vjwlfvy-nspr-4.13.1/lib/libplc4.so
<clever> i pasted that ~20 mins ago
erictapen has quit [(Ping timeout: 260 seconds)]
<lush> clever: oh I'm sorry.. so just add nspr the way I did with nss?
mudri` has joined #nixos
<clever> yeah
freeman42y[nix1] has quit [(Remote host closed the connection)]
romildo has joined #nixos
freeman42y[nix1] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v5Oxo
<NixOS_GitHub> nixpkgs/master f195108 wisut hantanong: call generate.sh before add package to make diff more readable
<NixOS_GitHub> nixpkgs/master d732a59 wisut hantanong: nodePackages.livedown : init at 2.1.1
<NixOS_GitHub> nixpkgs/master 142db91 Jörg Thalheim: Merge pull request #28584 from wizzup/add/nodePackages.livedown...
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 240 seconds)]
<romildo> Many packages fail to detect some programs in the configure phase. For instance, I am just updating libebml now, and configure says
<romildo> ./configure: line 7029: /usr/bin/file: No such file or directory
<romildo> Nonetheless the package seems to be successfully.
<gchristensen> _usually_ that is a harmless error
<lush> clever: libgconf-2.so.4 is that from gconf-2?
<romildo> Should I be concerned with this kind of configure messages?
<clever> gnome3.gconf.out 0 s /nix/store/fx6rxhmcig9dqspz8gams55id3jxwj9j-gconf-3.2.6/lib/libgconf-2.so.4
<clever> lush: add gnome3 to the arguments at the top, and gnome3.gconf to the inputs
<clever> romildo: read the configure script near line 7029, and see what its doing with file
<lush> ty clever.. now libfontconfig.so.1
<lush> I'm really thankful man
<clever> fontconfig.lib 0 s /nix/store/h5z81pcppd5isqx98c8k4dznvh8rx83w-fontconfig-2.12.1-lib/lib/libfontconfig.so
<lush> ah fontconfig
<lush> yeah ty
<clever> yeah, you can sometimes guess them
arximboldi has joined #nixos
<lush> clever: libpangocairo
<clever> gnome2.pango.out 0 s /nix/store/6hxsq6p1gskwc53k1p2ssx8jpm5c9xni-pango-1.40.4/lib/libpangocairo-1.0.so
<clever> harder to guess this one, it could have also been in cairo, and i wouldnt have guessed gnome2
freeman42x has joined #nixos
<lush> clever: that's why I asked ^^
<lush> clever: libXi?
<clever> xlibs.libXi.out 0 s /nix/store/wsa2arwihgwy6mma6gsn8116zw356ly6-libXi-1.7.9/lib/libXi.so
<clever> all of the low-level x libs are under xlibx
<clever> xlibs*
<lush> oh
freeman42y[nix1] has quit [(Ping timeout: 255 seconds)]
dankrisan has quit [(Ping timeout: 260 seconds)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
<lush> clever: libasound?
ambro718 has quit [(Ping timeout: 252 seconds)]
<clever> alsaLib.out 0 s /nix/store/wwgynkpy6y98wpr3xd9yf69fgw68171r-alsa-lib-1.1.2/lib/libasound.so
takle has joined #nixos
freeman42y[nix1] has joined #nixos
<gchristensen> holy crap who merged like 40PRs in the last day
<lush> clever: libgtk-x11?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5OpL
<NixOS_GitHub> nixpkgs/master 9e00c64 volth: boot.kernelParams: dedup and sort...
<NixOS_GitHub> nixpkgs/master 66b4234 Jörg Thalheim: Merge pull request #28392 from volth/patch-53...
NixOS_GitHub has left #nixos []
<clever> gnome2.gtk.out 0 s /nix/store/rdwslb6cywp40dm9rv6aqgapfjcyrzpm-gtk+-2.24.31/lib/libgtk-x11-2.0.so
freeman42x has quit [(Ping timeout: 255 seconds)]
FRidh has quit [(Remote host closed the connection)]
FRidh has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
elurin` has joined #nixos
<lush> clever: how do I add gnome2.gtk?
elurin has quit [(Disconnected by services)]
elurin` is now known as elurin
<romildo> gchristensen, clever: here is the point where file is run from configure in the libebml package: https://gist.github.com/romildo/7d0e8bb7ca0311fccdb41745cb30875c#file-configure-L7029
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tjikini closed pull request #27868: rustNightlyBin: 2017-06-26 -> 2017-08-02, use xz-compressed package (master...patch-1) https://git.io/v7uJO
NixOS_GitHub has left #nixos []
freeman42x[nix1] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 11 new commits to master: https://git.io/v5Opn
<NixOS_GitHub> nixpkgs/master fdb90f6 Luke Gorrie: pharo: 5.0 -> 6.0...
<NixOS_GitHub> nixpkgs/master 54be67d Luke Gorrie: pharo6: Minor fixes and cleanups
<NixOS_GitHub> nixpkgs/master 8761ef2 Luke Gorrie: pharo: Removed obsolete duplicate ofwrapper.sh
NixOS_GitHub has left #nixos []
<Mic92> gchristensen: FRidh and me I guess? https://github.com/NixOS/nixpkgs/pulse/daily
freeman42y[nix1] has quit [(Ping timeout: 252 seconds)]
<gchristensen> <3 <3 <3 Mic92 FRidh
<romildo> gchristensen, clever: should file be available in the build phase, or can this error be ignored?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #26924: pharo: 5.0 -> 6.0 (master...pharo6-for-nixpkgs) https://git.io/vQcAd
NixOS_GitHub has left #nixos []
pxc has joined #nixos
<clever> romildo: file will never be in /usr/bin, even if it is available
<romildo> clever, yes, the script would have to be patched. But is it really needed? I am not sure because I do not know much of autotools...
<clever> ah, you linkd it above
<lush> clever: how do I add "gnome2.gtk" to my file?
takle has joined #nixos
<clever> lush: same way you did gnome3.gconf, which i gave directions for above
<romildo> clever, and I have seen this error with many other packages too. Packagers seems to just ignore it. Is that right?
takle_ has joined #nixos
<clever> romildo: it appears to be compiling some code into conftest.o, then using file to figure out what arch it used
freeman42x has joined #nixos
<clever> romildo: and i think its only to find out what special flags are needed when cross-compiling
takle_ has quit [(Read error: Connection reset by peer)]
freeman42x[nix1] has quit [(Ping timeout: 240 seconds)]
<clever> since your not doing a cross-compile, its safe to let that fail
pxc has quit [(Ping timeout: 260 seconds)]
takle_ has joined #nixos
<romildo> clever, I was willing to ask about this issue here for a long time. Now I did. I will not worry about it anymore and let it fails as you suggest. Thanks.
takle has quit [(Ping timeout: 248 seconds)]
<hodapp> anyone have a brilliant suggestion why trying to install a certain Python wheel is giving me "ould not find a version that satisfies the requirement html5lib==0.9999999 (from tensorflow-tensorboard==0.1.5) (from versions: )" despite that I have html5lib_0_9999999 as a buildInput?
<viaken> What's the convention for updating a program someone else is the maintainer on? Should I send a patchset to them/contact them in some way?
<clever> viaken: if its a package in nixpkgs, just open a PR there
<viaken> ok
<lush> clever: where is "libstdc++" in again?
<lush> I thought it'd be part of gcc
<clever> lush: it is in gcc, but gcc is a bash wrapper
betaboon has quit [(Quit: This computer has gone to sleep)]
<clever> lush: gcc.cc.lib
<lush> clever: ty :)
<lush> lol
<lush> pls don't tell me that was all for nothing ^^
<gchristensen> is there a service that provides an IRC bot being online, with an HTTP API to send messages to it / post messages from it on certain events?
<clever> lush: check the original package to see if icudtl.dat is somewhere?
<gchristensen> basically I want slack's webhook API but for IRC :|
<clever> gchristensen: dont know of any services that do that, but it should be simple to make an irc bot that does that
<gchristensen> I know, I just don't _want_ to do it :P :D
<clever> lol
<gchristensen> "Private bot API and webhooks" has been "in development" on irccloud.com forever now
<lush> clever: it is :o
<lush> clever: at least in the .tar.gz file you'd download
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5Oht
<NixOS_GitHub> nixpkgs/master 6dae73f Jörg Thalheim: jetbrains.phpstorm: 2017.1.4 -> 2017.2.1
NixOS_GitHub has left #nixos []
<clever> lush: can you post the current nix expression on https://gist.github.com/?
proteusguy has joined #nixos
grw3 has quit [(Ping timeout: 240 seconds)]
takle_ has quit [(Remote host closed the connection)]
<clever> lush: do you see how line 77 and 78 copy the locales and the main binary?
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #28588: mkvtoolnix: 14.0.0 -> 15.0.0, libebml: 1.3.4 -> 1.3.5 (master...upd.mkvtoolnix) https://git.io/v5OhR
NixOS_GitHub has left #nixos []
anton__ has quit [(Remote host closed the connection)]
anton__ has joined #nixos
<lush> clever: what do you mean? I see the lines and know what they do if you mean that
<clever> it should also copy icudtl.dat
<disasm> gchristensen: yeah, Mic92 merged all my PR's :) Thanks Mic92!
<lush> clever: doesn't 78 copy that alreadyß
<lush> ?
<clever> 78 only copies GoPanda2
<clever> which is a single file
nixoswikibot has quit [(Remote host closed the connection)]
<lush> my bad
nixoswikibot has joined #nixos
<lush> where should it copy icudtl?
<clever> to $out/bin/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25681: pharo-vm: Add third-party libraries to LD_LIBRARY_PATH (master...pharo-library-path) https://git.io/v9MvD
NixOS_GitHub has left #nixos []
<lush> clever: should I copy all files missing like this into /bin?
<clever> depends heavily on where its expecting the files
<lush> [15364:0826/154804:FATAL:shell_main_delegate.cc(241)] Check failed: base::PathExists(pak_file). nw.pak is missing
<lush> Aborted
Ivanych has joined #nixos
<clever> we can guess it wants that in bin and copy it there
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v5OhQ
<NixOS_GitHub> nixpkgs/master d23bed7 Tim Steinbach: linux: 4.12.8 -> 4.12.9
<NixOS_GitHub> nixpkgs/master 9b9d0cc Tim Steinbach: linux: 4.9.44 -> 4.9.45
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-17.03: https://git.io/v5Oh7
<NixOS_GitHub> nixpkgs/release-17.03 e04f3b4 Tim Steinbach: linux: 4.12.8 -> 4.12.9...
<NixOS_GitHub> nixpkgs/release-17.03 c8c8f8d Tim Steinbach: linux: 4.9.44 -> 4.9.45...
NixOS_GitHub has left #nixos []
<clever> does this thing contain an entire build of chromium??
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
grw3 has joined #nixos
<lush> clever: could be
<lush> I think there is a webbrowser in there
<clever> nix doesnt allow setuid binaries in any package
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/v5OhA
<NixOS_GitHub> nixpkgs/release-17.03 ce331cc Tim Steinbach: linux: 4.4.80 -> 4.4.84
NixOS_GitHub has left #nixos []
<clever> id start by running it under "strace -f" and looking to see what the real failure is, the logs may not say it
griff_ has quit [(Quit: griff_)]
<clever> if you post an updated copy of the expression i can build it on my end and do that
<lush> ty! :-)
<clever> gist also does syntax highlighting if the filename ends in .nix
Wizek has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v5Oje
<NixOS_GitHub> nixpkgs/master 3e732d9 Tim Steinbach: atom: 1.19.2 -> 1.19.3
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v5Ojv
<NixOS_GitHub> nixpkgs/master 0e9be66 Vincent Laporte: globulation2: fix build
NixOS_GitHub has left #nixos []
justanotheruser has quit [(Ping timeout: 248 seconds)]
<lush> oh ok sorry clever
freeman42y has joined #nixos
jellowj has joined #nixos
<clever> glancing at the binary of gopanda, i can see clear signs of v8
freeman42x has quit [(Ping timeout: 252 seconds)]
cfricke has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v5OjB
<NixOS_GitHub> nixpkgs/master 8d7da77 Joachim Fasting: pharo: set platforms based on flavor selection
NixOS_GitHub has left #nixos []
<clever> mkdir("/tmp/.org.chromium.Chromium.eCyjXy", 0700) = 0
<clever> lush: yeah, definitely chromium based, it made a tmp dir with chromium in the name
freeman42x[m] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28307: Fix taskwarrior fish completions (master...fix-taskwarrior-completions) https://git.io/v7FhD
NixOS_GitHub has left #nixos []
<clever> open("/tmp/.org.chromium.Chromium.eCyjXy/node_modules/request/examples/README.md", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 27
<clever> lush: i think the GoPanda binary also contains a tar with a full load of npm modules
<clever> which it is unpacking at startup
<lush> so?
<clever> just random observations as i read the log
<lush> ah alright
freeman42y[m] has quit [(Ping timeout: 260 seconds)]
<clever> open("/nix/store/210papbs0b9qarlb4m8jjmnp3xmlz5bd-glibc-2.25/lib/libpci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
<clever> it may need libpci.so, it failed to find that
<clever> open("/nix/store/210papbs0b9qarlb4m8jjmnp3xmlz5bd-glibc-2.25/lib/libudev.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
<clever> and libudev
bfrog has joined #nixos
<freeman42y> clever, thank you, this worked <boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta];>
<freeman42y> I spent a lot of time on setting the routers heh, and will spend some time now to remove whatever I added but was not needed
takle_ has joined #nixos
takle_ has quit [(Read error: Connection reset by peer)]
takle_ has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<Mic92> freeman42y: you can help the next guy, by adding the important bits here: https://github.com/NixOS/nixos-hardware/tree/master/lenovo
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #27813: xsv: 0.12.1 -> 0.12.2 (master...update/xsv-0.12.2) https://git.io/v7BeJ
NixOS_GitHub has left #nixos []
bfrog has quit [(Ping timeout: 255 seconds)]
griff_ has joined #nixos
<freeman42y> Mic92, I know but I just started, I am helping on other things and Nix is a tool needed for me get the environment to do that
<freeman42y> Mic92, is that a folder for setting up drivers for specific laptop types?
<Mic92> freeman42y: yes
<Mic92> freeman42y: looks pretty much like yours
<freeman42y> Mic92, what is the point in these if people don't know they exist?
<freeman42y> Does the config generator use it for them?
<freeman42y> I could push the synaptics + wifi to the repo, but who would use it?
butchery has quit [(Remote host closed the connection)]
<Mic92> freeman42y: the configuration generator does not use them. Why do you think people would not find it?
anton__ has quit [(Remote host closed the connection)]
anton__ has joined #nixos
<freeman42y> ehm, I was not aware of them until you told me
<Mic92> freeman42y: it is possible to clone the repository and import from the file directly .
<gchristensen> freeman42y: sometimes it is helpful providing support to people who have hardware we don't have
<Mic92> freeman42y: I actually looked up your model, when you first told me
<Mic92> but it was not there yet
<freeman42y> Mic92, yes, that is true. The problem is that someone who uses NixOS for the first time might not find it - I didn't. It is an issue of discoverability.
<Mic92> freeman42y: this is an documentation issue, which is orthogonal
<freeman42y> I actually had a tab opened with the solution that worked - ironically :D
<freeman42y> And another path to the solution would have been to just look at these configs and notice the broadcom one.
griff_ has quit [(Quit: griff_)]
<freeman42y> But google didn't return them.
bfrog has joined #nixos
<freeman42y> Mic92, correct.
<Mic92> freeman42y: if you add the model name to the file as a comment, google might even find it next time
<freeman42y> Mic92, I will, that is a very good point.
mog has quit [(Quit: im quiting!)]
<freeman42y> I think it might be a good idea to add to NixOS installation documentation something like: search here for nix configurations specific to devices.
<freeman42y> Or maybe it is there, and I didn't read it :D
<Ankhers> Does anyone know the average update time for nixpkgs-stable?
<xj9[m]> when are y'all going to fix the chromium package for 17.03?
<Ankhers> Sorry, nixpkgs-unstable
hotfuzz has joined #nixos
<freeman42y> what is broken with it?
bfrog has quit [(Ping timeout: 240 seconds)]
<gchristensen> Ankhers: here is some data: https://channels.nix.gsc.io/nixpkgs-unstable/history
mog has joined #nixos
takle_ has quit [(Read error: No route to host)]
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
<gchristensen> xj9[m]: is there a bug report for the issue you're finding?
takle has joined #nixos
<xj9[m]> marked as closed, but not actually fixed
<xj9[m]> at least not for 17.03
<gchristensen> sounds like the issue cropped up again and needs a new issue
<Ankhers> gchristensen: That is your site?
<gchristensen> yeah
<Ankhers> Would you mind if I wrote a script that hit that every couple hours?
bfrog has joined #nixos
<Ankhers> Or should I find a better way?
jellowj has quit [(Ping timeout: 240 seconds)]
<gchristensen> Ankhers: :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28337: libquvi-scripts: init at 0.9.2 (master...libquvi-scripts) https://git.io/v7xCh
NixOS_GitHub has left #nixos []
<Ankhers> gchristensen: Thanks! I'm just trying to think if I can do this in some way that a webhook would work.
<gchristensen> Ankhers: what are you wanting to do?
takle has quit [(Read error: Connection reset by peer)]
jellowj has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v53vi
<NixOS_GitHub> nixpkgs/master 68d8674 romildo: libebml: 1.3.4 -> 1.3.5
<NixOS_GitHub> nixpkgs/master 66b7847 romildo: mkvtoolnix: 14.0.0 -> 15.0.0
<NixOS_GitHub> nixpkgs/master 74bf7b7 Jörg Thalheim: Merge pull request #28588 from romildo/upd.mkvtoolnix...
NixOS_GitHub has left #nixos []
takle has joined #nixos
<Ankhers> gchristensen: Have you heard of bitbar?
freeman42x[nix1] has joined #nixos
<gchristensen> I have now!
<Ankhers> lol. Basically you can put the result of any script in your mac status bar.
<gchristensen> very cool
<Ankhers> I was hoping to write something so that I can know the last updated time for certain nix channels.
<Ankhers> Without hammering howoldis
<gchristensen> you'll probably want https://channels.nix.gsc.io/nixpkgs-unstable/latest
<gchristensen> but it sounds like you're not going to hammer away at my endpoints so go ahead, no need for webhooks
<Ankhers> I thought so too. Thanks. I appreciate it!
<gchristensen> you're welcome :)
<freeman42x[nix1]> https://paste2.org/Wd9APXBG is <https://nixos.org/channels/nixpkgs nixpkgs> not a valid channel?
<gchristensen> it is not
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v53vF
<NixOS_GitHub> nixpkgs/master 2d43c1f Jörg Thalheim: Revert "boot.kernelParams: dedup and sort"...
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
<freeman42x[nix1]> gchristensen, this is list of all channels? https://nixos.org/channels/
<gchristensen> yeah
<freeman42x[nix1]> gchristensen, thank you
<gchristensen> you're welcome :)
<freeman42x[nix1]> I am welcome, pretty happy. Almost getting at an usable system state :D
<gchristensen> nice! so glad to hear it!
<freeman42x[nix1]> gchristensen, getting it working in VM was very easy in comparison, and for some reason building haskell environment was failing
eacameron has quit [(Ping timeout: 246 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
cfricke has quit [(Quit: WeeChat 1.9)]
arximboldi has quit [(Quit: arximboldi)]
bfrog has quit [(Ping timeout: 255 seconds)]
jtojnar has quit [(Remote host closed the connection)]
freeman42x[nix1] has quit [(Quit: Leaving)]
jtojnar has joined #nixos
takle has quit [(Read error: No route to host)]
takle has joined #nixos
Infinisil has joined #nixos
<Infinisil> Hey, I want to have firefox open .magnet links in Deluge automatically, but it seems that what works for everybody else, doesn't apply to my firefox
<Infinisil> In Preferences/Applications, I don't have a "magnet" type, so I can't assign anything
<Infinisil> In about:config, there is nothing regarding magnet either
<Infinisil> And when I try to open a magnet: URI, I have no option to select an application for it
<pie_> hey guys is there a package for https://racket-lang.org/ ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v53fi
<NixOS_GitHub> nixpkgs/master c5ec8cf Robert Hensing: frog: init at v0.13.7
<NixOS_GitHub> nixpkgs/master 58dc4a8 Jörg Thalheim: Merge pull request #28036 from roberth/frog...
NixOS_GitHub has left #nixos []
<Mic92> below 400 pull requests! Enough for today.
* hodapp puts in a few PRs to get the total back up
<pie_> Mic92, :D
* pie_ gives Mic92 some cookies
ixxie has joined #nixos
<hodapp> but ugggh, why is this Python wheel complaining about html5lib==0.9999999 when html5lib_0_9999999 is installed? I don't even know how to start diagnosing this.
<pie_> i think ive had issues like that
<pie_> i think it had something to do with which environment i was running it in
<pie_> i really cant remember
<hodapp> damn
<pie_> iirc sometimes nix-env installation fixed it
<pie_> it was weird but i never looked into it more :(
<hodapp> well, I do have html5lib_0_9999999 in buildInputs
<hodapp> but I need this to be via a nix-shell, not nix-env
<Mic92> hodapp: try propagatedBuildInputs
<Mic92> and check $PYTHONPATH
<hodapp> not sure how to even do that with a nix-shell that won't run
<Mic92> ok, in nix-shell it does not matter if buildIputs or propagatedBuildInputs is used
<freeman42y> is there a setting for always allowing some programs to run under a user as root? had the impression there was a setting for that inside configuration.nix
takle_ has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
<Mic92> freeman42y: you can do this with sudo
<freeman42y> Mic92, the sudo configuration file?
<Mic92> or setuid
<Mic92> freeman42y: in security.sudo.extraConfig you can allow users to use programs with sudo without password
<Mic92> the alternative is to use security.wrappers, but then everybody can run a program as root
romildo has quit [(Quit: Leaving)]
<hodapp> pie_, Mic92: to give an idea what I'm looking at, I'm using https://github.com/Hodapp87/nixpkgs/blob/tensorflow_upgrade/pkgs/development/python-modules/tensorflow_tensorboard/default.nix as a dependency of another package (tensorflow which I'm trying to upgrade to 1.3.0)
<hodapp> the sha256 is wrong for the Python 2.x case, but that's not what I'm testing
<pie_> im dumb with nix so i was just saying :P
<pie_> but try propagatedbuildinputs as Mic92 said
<pie_> ah well he said it didnt matter nvm
<Mic92> hodapp: in this case you need propagatedBuildInputs
freeman42x[nix1] has joined #nixos
<Mic92> I thought you had a default.nix, you are loading with nix-shell
<hodapp> Mic92: sorry, I was unclear... the shell.nix has a dependency on tensorflow, which I've modified to depend on what I just linked
<hodapp> propagatedBuildInputs isn't doing anything there. Why this is particularly confusing me is that adding to buildInputs was sufficient to resolve the other dependencies listed there
teto has joined #nixos
<freeman42y> do you happen to have an example configuration for security.sudo.extraConfig?
<hodapp> so it properly finds markdown, werkzeug, protobuf
<Mic92> hodapp: buildInputs are only visible during build time and not during runtime
<clever> freeman42y: anything you could normally put into /etc/sudoers (check its man page)
<freeman42y> clever, I see, thank you
<Mic92> hodapp: ok the last thing I said is not correct
<hodapp> https://gist.github.com/anonymous/5a8c0053250249c9ba4021aaf5da908e is the result of trying to use this
pxc has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
pxc has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #28589: doc: explain pull request template (master...doc-pull-request-template) https://git.io/v53JB
NixOS_GitHub has left #nixos []
<teto> clever: I solved my problems with missing generations. This is (I am) very stupid: I didn't realize my laptop was booting "gummiboot" so my configuration.nix had the correct grub configuration override the gummiboot config. So grub was up to date but I was booting with gummiboot which wasn't. Now fixed and that's cool. thanks for your time.
<hodapp> wonder if there is any magical to get the Python tooling to explain what version it *thinks* it has
<clever> teto: ahh
Filystyn has quit [(Remote host closed the connection)]
eacameron has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
Filystyn has quit [(Client Quit)]
pie__ has joined #nixos
<hodapp> since I've run into crap like this before, and it's really irritating to try to track down wrong versions when all I get is "NOPE, WRONG" and no explanation why
pie_ has quit [(Read error: Connection reset by peer)]
teto has quit [(Ping timeout: 255 seconds)]
<Mic92> hodapp: when I do nix-shell -E 'with import <nixpkgs> { }; python3Packages.callPackage ./default.nix { }' on your packages, I can even import html5lib
<Mic92> in the python repl
<Mic92> no idea, what is wrong here
<Mic92> maybe FRidh has an idea
<hodapp> can you query html5lib's version somehow?
<Mic92> hodapp: html5lib-0.999999999.dist-info/metadata.json -> "version": "0.999999999"
Ivanych has quit [(Read error: Connection reset by peer)]
justanotheruser has joined #nixos
dywedir has joined #nixos
<hodapp> ugh. that's likely why.
<hodapp> it wants html5lib==0.9999999
Ivanych has joined #nixos
<catern> alright #nixos I figured out the minimal change to fix everything
<catern> we just need to run fixed-output derivations, not by submitting them to the store, but as the user evaluating the Nix code
takle_ has quit [(Ping timeout: 240 seconds)]
teto has joined #nixos
ixxie has quit [(Ping timeout: 248 seconds)]
eacameron has quit [(Remote host closed the connection)]
justanotheruser has quit [(Ping timeout: 255 seconds)]
<Infinisil> catern: Fix *everything*?
taktoa has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
teto has quit [(Ping timeout: 252 seconds)]
arximboldi has joined #nixos
proteusguy has quit [(Ping timeout: 255 seconds)]
mudri` has quit [(Ping timeout: 246 seconds)]
pie__ has quit [(Ping timeout: 248 seconds)]
fearlessKim[m] has joined #nixos
<fearlessKim[m]> hi I sync my dotfiles between ubuntu and nixos. I would like to run some shell code only when on nixos. What's a reliable/advised way to detect nixos (fast too as it's for my .zshrc) ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jlesquembre opened pull request #28590: nignx-dav-ext-module: 0.0.3 -> 0.1.0 (master...nginx-dav-ext-module) https://git.io/v53Ta
NixOS_GitHub has left #nixos []
<catern> Infinisil: okay not everything
<disasm> fearlessKim[m]: check for /etc/NIXOS
<catern> Infinisil: but a lot of things!
<catern> I think I will implement this as
<catern> a new attribute on derivations
<catern> .runAsUser
mizu_no_oto has joined #nixos
construct has joined #nixos
Turion has joined #nixos
<catern> when runAsUser is true, that derivation is run directly by the Nix tooling rather than being submitted for runnin' to the daemon
nwuensche has joined #nixos
<fearlessKim[m]> disasm: looks good thanks
teto has joined #nixos
<Turion> I've created a Haskell project using curl, and I've installed the nixos curl package, but still "cabal install --only-dependencies" says "configure: error: curl libraries not found, so curl package cannot be built"
<Turion> Do I have to give it a special path or something?
<nwuensche> Hi! Is here anyone who could help me with hibernate? If I try to reboot after sudo systemctl hibernate, I can see my old screen, but it's frozen. After 10 sec, it get's black, and after another 10 sec I'm back to the SLiM Login Screen with my current session lost.
<Turion> I've also installed haskellPackages.curl, doesn't change anything
<disasm> fearlessKim[m]: there's also /etc/os-release that has some more detail in it.
<clever> Turion: installing things will never make them available to builds
<disasm> Turion: put curl in buildInputs
<Turion> disasm, sorry, what is buildInputs?
<Turion> A cabal option?
<disasm> Turion: oh, I assumed you were writing a nix derivation.
<clever> Turion: a nix option
<disasm> Turion: if you're not, then do nix-shell -p curl <other dependencies> and that should drop you into a shell with what you're looking for.
<Turion> Oh ok I see :)
<Turion> Thanks!
<Turion> No I'm still far from writing nix derivations... trying to get a basic Haskell build system going for now
<Turion> So cabal doesn't know about haskell packages I've installed systemwide? But if I drop into a nix shell, it suddenly does?
<disasm> Turion: I believe so, I'm no expert with cabal, but that's how it works with other build environments, like gcc, python, etc...
teto has quit [(Ping timeout: 264 seconds)]
<Turion> disasm, I was used to being able to install haskell packages systemwide in Gentoo and using them from cabal
<Turion> Would save a lot of extra compilation when using cabal sandboxes
Arcaelyx_ has joined #nixos
<disasm> Turion: yeah, nix doesn't work that way. Because every package gets it's own home in the /nix/store, you need to specify what packages you specifically want in a build env. It doesn't just look in /usr/lib or /usr/include like other FHS based distributions.
Arcaelyx_ has quit [(Client Quit)]
Arcaelyx has joined #nixos
<Turion> disasm, yes, I reckon. The surprising thing then for me is that a nix shell works
<Turion> I mean, in what path does it make the package available?
<symphorien> probably in the environment
<clever> nix-shell adds -I flags to NIX_CFLAGS_COMPILE
<Turion> Hmmm, so could I add a little nix expression to my .cabal that just adds curl and build that?
<clever> and the special gcc bash script inserts that into the args when running the real gcc
<clever> Turion: id say start with cabal2nix, that creates a nix file that runs the entire build for you
<hyper_ch> anyone here who makes packages for KDE?
<construct> Hi everyone, how do I get apparmor working, especially for firefox? I added security.apparmor.enable = true; to my configuration and installed all the apparmor packages. But I don't know where the apparmor profiles are stored. 'find usr.bin.firefox' returned no files or folders by that name, and that's the usual name of the firefox profile.
<Turion> clever, ok thanks!
ison111 has joined #nixos
<construct> clever: good to know, but how do I find the list of names of apparmor profiles to make sure I add the right one in the configuration?
jellowj has quit [(Ping timeout: 252 seconds)]
<construct> clever: is it called '[firefox]'?
<clever> oh right, the path of firefox is in the store
<clever> ${pkgs.firefox}/bin/firefox is the full path, but you would then need to replace every / with a .
<clever> and that file is usually a bash script that runs another firefox
Turion has quit [(Remote host closed the connection)]
jellowj has joined #nixos
<construct> clever: good to know. Do I need to keep the curly braces around pkgs.firefox?
Arcaelyx has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<clever> yes
<clever> and they have have an effect when inside a string in a nix expression
<clever> only have*
Arcaelyx has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] geistesk opened pull request #28591: racket: 6.9 -> 6.10 (master...racket-6.10) https://git.io/v53IR
NixOS_GitHub has left #nixos []
<construct> clever: thanks. Do I need to configure any profiles, or are they generated automatically because the permitted filepaths to all its dependencies, binaries, and libraries are all within the firefox folder? But then I'd still need to give it permissions for the Downloads folder at least. Is it taken care of?
<clever> construct: you would probably need to write something using exportReferenceGraph that allows it accessing all of its dependencies
jacob has joined #nixos
jacob is now known as Guest33786
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #28592: smplayer: 17.7.0 -> 17.8.0 (master...smplayer) https://git.io/v53Ir
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v53IK
<NixOS_GitHub> nixpkgs/master 0387f84 Joachim Fasting: Revert "xsv: 0.12.1 -> 0.12.2"...
NixOS_GitHub has left #nixos []
ixxie has joined #nixos
<construct> clever: where do I find instructions to use exportReferenceGraph?
takle has joined #nixos
<clever> construct: i dont think its documented anywhere
lush has quit [(Quit: Konversation terminated!)]
<construct> clever: then I should probably give up trying to use apparmor. Which brings me to the next point, how do I get firejail working? That can be used to sandbox firefox too. I installed it and tried to run 'firejail firefox' like I do in other distros, and it returned an error.
<clever> construct: line 14 generates a reference graph, and line 20 extracts every path in the closure from the graph
<clever> construct: 27 then acts on the entire graph
<clever> you would need to iterate over the paths in $storePaths, and create a rule to allow read and maybe execute on each entry
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
nix-gsc-io`bot has joined #nixos
jmeredith has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ce331cc9a1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<construct> clever: thanks but no thanks. That's all too complicated for me.
proteusguy has joined #nixos
<clever> construct: what error did firejail return?
<construct> the error I get when I run 'firejail firefox' is 'Warning: cannot switch euid to root' and the same thing for egid
pxc has joined #nixos
<clever> ah, setuid isnt allowed within normal derivations
<construct> clever: sounds like you know what's wrong. What should I do?
rardiol1 has joined #nixos
pxc has quit [(Ping timeout: 246 seconds)]
<clever> construct: an example i had made for wireshark: https://gist.github.com/cleverca22/5711322b5a12311571d8e828f40f0603
<nwuensche> Hi! Is here anyone who could help me with hibernate? If I try to reboot after sudo systemctl hibernate, I can see my old screen, but it's frozen. After 10 sec, it get's black, and after another 10 sec I'm back to the SLiM Login Screen with my current session lost.
<symphorien> does journalctl say anything useful ?
<clever> nwuensche: and what is the uptime after logging in again?
<nwuensche> clever: What do you mean? After I log in, a new session is created instantly
<rardiol1> Does anyone knows why hydraPlatforms would be explicitly set to [] ?
<sphalerite> Because otherwise I presume hydra will try building it on all platforms
<sphalerite> Which may not be desirable
<clever> nwuensche: if the uptime is low, then it rebooted, but if the uptime is high, then only xorg crashed
<construct> clever: Do I just need the 17.03.nix example? And what would the values for each of those lines be (permissions, owner, group, source)?
<nwuensche> clever: Ah, ok. So you mean the uptime e.g. in htop? It's high, it didn't reset
<rardiol1> sphalerite: yes, but platforms is set to platforms.linux, so it would just build it on linux, where it's supposed to work, right?
<clever> construct: in the example i gave, only members of the wireshark group can execute, but the setuid bit is set, so the program becomes root
<clever> that lets you limit who can use the tool
<clever> construct: the both.nix file creates the wireshark group
<clever> and puts me into it
<construct> clever: how do I know what numbe to put as my guid?
<construct> gid
<clever> any gid that isnt already in use
<clever> check /etc/group
<construct> clever: cool thanks
proteusguy has quit [(Quit: Leaving)]
<construct> clever: what packages should be in which question mark, firejail or firefox? security.wrappers.? = { source = "${pkgs.?}/bin/?";
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig opened pull request #28593: Turn boot.kernelParams into an attribute set (master...kernel-params-improvement) https://git.io/v53LA
NixOS_GitHub has left #nixos []
zraexy has quit [(Quit: Leaving.)]
<clever> construct: firejail would be in the wrapper
proteusguy has joined #nixos
iyzsong has quit [(Ping timeout: 240 seconds)]
<construct> clever: firejail would take place of dumpcap and firefox would take place of wireshark?
<construct> clever: I gotta go, but I'll be back in a few hours.
<clever> firejail in every place, no mention of firefox
<construct> clever: thanks
zraexy has joined #nixos
<nwuensche> clever: Any idea what I could do next?
<clever> nwuensche: check the journal and see whats up with xorg
nwuensche has quit [(Remote host closed the connection)]
nwuensche has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
<nwuensche> clever: This is what journalctl --since=today | grep -i xorg gives me: https://gist.github.com/NWuensche/96f6002880e19a2b640c0694093de4a3
<clever> nwuensche: what about journalctl --since=today -u display-manager ?
<nwuensche> clever: I updated the gist
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #28592: smplayer: 17.7.0 -> 17.8.0 (master...smplayer) https://git.io/v53Ir
NixOS_GitHub has left #nixos []
<clever> nwuensche: and at what timestamp did you resume from hibernation?
<clever> nwuensche: how long was it in hibernation?
<nwuensche> clever: Was for 1 minute. The timestamp I sent you was the one it was back from hibernation.
<clever> everything in that gist happened within a 11 second period, so there is a bit of a gap in the data
<nwuensche> clever: Sorry, didn't want to overload you with everything. If you want everything, please say so. But I updated the gist to add all warnings I could find.
<nwuensche> clever: Could it be a problem that I still have virtualisation.virtualbox.guest.enable = true; in my config although I'm using it as a real OS on my Laptop now?
<clever> yeah, just dump it all into a new file, gist --login ; journalctl --since=today -u display-manager > logs ; gist -u https://gist.github.com/NWuensche/96f6002880e19a2b640c0694093de4a3 logs
<clever> that would explain 2 of the errors in the gist, but not the main problem
<nwuensche> clever: I use the GitHub Browser Gist UI :) I added it again
<clever> Aug 26 19:23:04 nixos systemd[1]: display-manager.service: Service hold-off time over, scheduling restart.
<clever> this line looks odd
feepo has joined #nixos
<clever> and imediately after, systemd says it stopped x11
<nwuensche> clever: Seems strange indeed
<clever> sphalerite: any other ideas?
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<nwuensche> clever: What can I do to find out more?
<clever> nwuensche: remove the -u and read more of the journal around the time of going in and out of hibernation
acarrico has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
gnuhurd has joined #nixos
pxc has joined #nixos
<nwuensche> clever: I found something about i3lock, could that be a problem? I updated the gist.
<clever> Aug 26 19:20:13 nixos xsession[7342]: /nix/store/m5fzkvclh7zvrcldr0gvhwp4m24v663h-terminator-1.0/lib/python2.7/site-packages/terminatorlib/window.py:386: GtkWarning: Das Symbol »terminator_active_broadcast_group« konnte nicht gefunden werden,
<clever> nwuensche: what about this?
Turion has joined #nixos
<rardiol1> I found out a bunch of packages were removed from hydra for being too large, is this still a concern or we can add them back? https://github.com/NixOS/nixpkgs/commit/0db6ea6f760500d740f49756918c1807e2f48da5
<nwuensche> clever: It says that it cannot find some gtk symbol for the terminal terminator. Could one missing symbol really be the problem?
<clever> hmm, given that it happened 2 minutes before the resume, it might have been at login
<clever> aha
<clever> Aug 26 19:23:02 nixos kernel: drm/i915: Resetting chip after gpu hang
<clever> Aug 26 19:23:02 nixos display-manager[7327]: intel_do_flush_locked failed: Input/output error
<clever> Aug 26 19:23:02 nixos xss-lock[7403]: X connection lost; exiting.
pxc has quit [(Ping timeout: 252 seconds)]
<clever> nwuensche: the video drivers appear to have crashed
<nwuensche> clever: That doesn't sound good. Could the line 1374 Aug 26 11:48:51 nixos xss-lock[1057]: Error spawning locker: child process »i3lock-wrapper« couldn't be executed (No such file or directory), be the reason?
<nwuensche> clever: Should I just delete the xsslock stuff
<clever> dont think thats related
ambro718 has joined #nixos
<Turion> Hi, sort of same question as before, but different package... I want to cabal build something with glpk-hs as dependency. I'm starting a nix shell like this: "nix-shell -p glpk curl" And from inside I try to "cabal install --only-dependencies"
<Turion> But this doesn't find glpk
<clever> haskell dependencies have to be passed to ghcWithPackages
<Turion> clever, you mean other haskell packages as dependencies?
<nwuensche> clever: Ok, so what could fix the problem?
<Turion> afaik glpk-hs isn't packaged
<nwuensche> clever: Should I try to fix the terminator symbol?
<clever> nwuensche: i suspect the gpu drivers may not support hibernation
<nwuensche> clever: If it is important: I have xserver.videoDrivers = [ "intel" ]; and a Intel HD Graphics
<clever> that would explain the intel_do_flush_locked in the error
<Turion> Where is it described how to use ghcWithPackages?
<Turion> And does it take hackage packages or nixos derivations as arguments?
ixxie has quit [(Quit: Lost terminal)]
endformationage has joined #nixos
<Infinisil> Maan, why do I so often get weird errors
<Infinisil> Can't open perl script "use Nix::Config; Nix::Config::readConfig; print $Nix::Config::config{"binary-caches"};": No such file or directory
<Infinisil> When doing nixos-install
<clever> Turion: ghcWithPackages takes a single function as an argument, and it passes it a set of every package in nixpkgs (which came from hackage)
<Turion> clever, thanks! But I guess that'll only work for arguments that are in haskellPackages?
<clever> yes and no
<clever> that set also contains a callPackage function, which can be used to load up other nix expressions, like ones made via cabal2nix
<clever> so you could do paths = p: [ (p.callPackage ./custom_thing.nix {}) ];
nwuensche has quit [(Quit: Leaving)]
<Turion> And what is the custom_thing.nix?
<hyper_ch> clever: do you know anybody who packages KDE stuff for nixos?
<clever> and it will automatically be able to use everything in haskellPackages, and build against the right version of ghc
<clever> Turion: another nix expression, either written by hand, or generated with cabal2nix
<clever> hyper_ch: nope
<hyper_ch> clever: hmmm :(
noam has joined #nixos
<hyper_ch> need to write a nix expression thingy for my little bash script
<hyper_ch> s/script/script collection/
<nixoswikibot> [[Create and debug nix packages]] M https://nixos.wiki/index.php?diff=432&oldid=431&rcid=430 * Fadenb * (+424) Syntaxhighlight
<hyper_ch> and it uses dolphin servicemenus :)
phreedom has joined #nixos
justanotheruser has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #28594: xsv: 0.12.1 -> 0.12.2 (master...update/xsv-0.12.2) https://git.io/v53Yu
NixOS_GitHub has left #nixos []
justanotheruser has quit [(Client Quit)]
justanotheruser has joined #nixos
<Infinisil> So, this is apparently the line that gives me that error: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/nixos-install.sh#L106
nwuensche has joined #nixos
<nwuensche> clever: So I disabled the virtualbox stuff, xsslock i3lock and just let xterm open, and hibernating works!
SOO7 has quit [(Ping timeout: 255 seconds)]
pie__ has joined #nixos
<nwuensche> clever: It even works with termiator on. So it's not the gtk symbol.
SOO7 has joined #nixos
<Turion> clever, thanks for your help! Finally, I can compile things!
<nwuensche> clever: However, when I try to open chromium, nothing works in the browser.
<Infinisil> Damnit, I just wanna use nixos-install, this shouldn't be this troublesome
Mateon1 has left #nixos []
<clever> Infinisil: are you using a channel?
<Infinisil> clever: Yes, nixos-unstable in a git checkout
nwuensche has quit [(Remote host closed the connection)]
<clever> Infinisil: nixos-unstable branch of which repo?
odi has joined #nixos
<Infinisil> channels
<Infinisil> 96457d26dded05bcba8e9fbb9bf0255596654aab to be exact
<clever> not sure then
<Infinisil> I can't even make sense of this error
<Infinisil> Maybe I'll ask in the mailing list
<clever> it sounds like its treating the string of perl code as a filename
<Infinisil> Ah I see
<Infinisil> The path @nix@/lib/perl5/site_perl/*/* doesn't exist, matches nothing
<Infinisil> The perl5 folder isn't existant
<Infinisil> This must be what the ToDo above that command refers to..
<Infinisil> Great
<clever> oh
<clever> and because of nullglob, the string vanishes
<clever> then the argument eats the next argument
<Infinisil> Ohh okay
<clever> and now the entire args list is out of sync
<clever> thats my guess
<Infinisil> Stringly typed languages \o/
<clever> nullglob is a bash thing that the stdenv turns on to make thr stringly typed mess less of a mass
ambro718 has quit [(Ping timeout: 260 seconds)]
<clever> so instead of opening a literal *.txt, it just doesnt get a path
<clever> but with the * matching nothing, it sets the -I path to a literal "-e"
<clever> and then tries to open a file by the name of "use Nix::Config; Nix::Config::readConfig; print $Nix::Config::config{"binary-caches"};"
<Infinisil> Yeah
<clever> did you set nix.package in configuration.nix?
<Infinisil> Yup, I guess I'll turn that off
<clever> thats probably it
<Infinisil> I should open an issue
<clever> yeah
<kini> question for anyone who's booting from zfs -- do I want a separate ext4 boot partition, or should I be trying to put a zfs-aware grub into the gpt?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v53ON
<NixOS_GitHub> nixpkgs/master e244067 Pascal Bach: riot-web: init at 0.12.2 (#28585)
NixOS_GitHub has left #nixos []
<Infinisil> kini: I'm using UEFI, so I need to have a vfat partition for boot
<clever> kini: i prefer an ext4 /boot for legacy booting, or a fat32 /boot for efi
Fuuzetsu has quit [(Read error: Connection reset by peer)]
sellout- has joined #nixos
<kini> hmm, thanks. I don't know much about EFI or the benefits of using it, I guess
<kini> but it sounds like either way I should have a separate boot partition
ladams has joined #nixos
<clever> yeah
<clever> kini: and if your doing legacy on gpt, you also need a bios boot partition, 1mb, no fs, not mounted
pxc has joined #nixos
pxc has quit [(Ping timeout: 252 seconds)]
Nwuensche has joined #nixos
<Nwuensche> Hi. I Messer Up some x stuff in my config, ANd now i can't Login with slim anymore. Even when Ich quit x with Ctrl Alt F1, I cannot Login There. If I enter my Password, ist Just want's the Username again in an endless Loop. What can I do?
<Nwuensche> Messed Up of course. ANd I Quit X... ANd it Just want's...
jsgrant has quit [(Quit: jsgrant)]
<Nwuensche> Sorry for that, my german Smartphone doesn't Want to write english...
<Infinisil> Nwuensche: Are you sure you know the correct password?
<Nwuensche> Jup
<Infinisil> Because the virtual consoles (which appear on Ctrl-Alt-F{1-6}) are no different logins than normal
<Nwuensche> It Shows me a nano second a Message, ANd then I have to Login again
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
<Infinisil> Nwuensche: You could boot from the live-cd and reset the password from there
<Infinisil> With some chroot or so
<Nwuensche> SLIM tells me that it c
<Nwuensche> SLIM tells me that it cannot Login command
JosW has quit [(Quit: Konversation terminated!)]
<Infinisil> Nwuensche: Doesn't have anything to do with slim if it doesn't work on the virtual console anyways
<Nwuensche> I have the right Password, but I added Syntax Errors in the NixOS configs
<Nwuensche> I messed Up the NixOS config. Can I rollback somehow?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28590: nignx-dav-ext-module: 0.0.3 -> 0.1.0 (master...nginx-dav-ext-module) https://git.io/v53Ta
NixOS_GitHub has left #nixos []
<Mic92> Nwuensche: just run nixos-install again
<Infinisil> Nwuensche: You can't even activate a system with syntax errors in the config, doesn't let you
<Infinisil> so that's certainly not it
<Infinisil> You can rollback between working and built systems, but not without logging in first
vagrant- has quit [(Ping timeout: 264 seconds)]
Nwuensche has left #nixos []
nwuensche_ has joined #nixos
<nwuensche_> Infinisil: So I'm back in my PC :). It didn't let me log into the console from Ctrl+Alt+F1, but in the one from Ctrl+Alt+F2.
ambro718 has joined #nixos
<nwuensche_> Infinisil: I tried to do this displayManager.sessionCommands = ''xautolock -locker '/run/wrappers/bin/i3lock-custom' -time 10& #suspend lock
<nwuensche_> xss-lock -- "/run/wrappers/bin/i3lock-custom"& #lid close lock''};, but it crashed by system. Do you know why?
<Infinisil> nwuensche_: Does the command work in a terminal just like that?
<nwuensche_> Infinisil: Jep.
<nwuensche_> I updated it now so that they use i3lock instead. I will try it out again and tell you if it works or not.
nwuensche_ has quit [(Remote host closed the connection)]
mudri` has joined #nixos
nwuensche has joined #nixos
<nwuensche> Infinisil: It works with this, so thank you!
nwuensche has quit [(Client Quit)]
<Baughn> Is it possible to get channels pushed through nixos-rebuild? As it stands, if I use the --target-host option, there's no guarantee that the target will have the same channel loaded as was used to build the configuration.
elastic_dog has quit [(Ping timeout: 246 seconds)]
<Infinisil> Baughn: So you just want to have the same channel on localhost as on remote-host?
<Baughn> Well, no, because I'm using a custom nixpkgs for the build.
<Baughn> I suppose I want to push that nixpkgs and have remote hosts use it as their channel.
jsgrant has joined #nixos
elastic_dog has joined #nixos
<Infinisil> There is no "custom nixpkgs channel", channels are predefined in the nixpkgs-channel repository
<Infinisil> But I may know what you need instead, hold on
<nixoswikibot> [[Create and debug nix packages]] M https://nixos.wiki/index.php?diff=433&oldid=432&rcid=431 * Fadenb * (+439) Syntax highlighting all the code
<Infinisil> Baughn: Probably something like this is going to work: `nix.nixPath = [ "nixpkgs=${<nixpkgs>}" "nixos-config=/etc/nixos/configuration.nix" ];`
<Infinisil> Note that the `nixos-config=...` part I just put there to keep the default
<nixoswikibot> [[Main Page]] M https://nixos.wiki/index.php?diff=434&oldid=347&rcid=432 * Fadenb * (-51) /* Manuals */ fix 404 NixOps manual link + use https
<Infinisil> I haven't tested this, but it might work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28591: racket: 6.9 -> 6.10 (master...racket-6.10) https://git.io/v53IR
NixOS_GitHub has left #nixos []
<Baughn> Infinisil: Oh, that setting's a thing. Thanks~
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #28594: xsv: 0.12.1 -> 0.12.2 (master...update/xsv-0.12.2) https://git.io/v53Yu
NixOS_GitHub has left #nixos []
phinxy has joined #nixos
takle has joined #nixos
phinxy has left #nixos []
<nixoswikibot> [[NixOS on Amazon EC2]] M https://nixos.wiki/index.php?diff=435&oldid=71&rcid=433 * Fadenb * (+26) /* Public NixOS AMIs */ fix broken link (ec2-amis.nix was removed from nixops repo, https://github.com/NixOS/nixops/commit/48fc0ffb53c97eb7ea895b0470816b83d0d34647 )
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
justanotheruser has quit [(Ping timeout: 240 seconds)]
phreedom has quit [(Remote host closed the connection)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #28596: pijul: 0.6.0 -> 0.7.3 (master...pijul) https://git.io/v53Gm
NixOS_GitHub has left #nixos []
<nixoswikibot> [[NixOS on Amazon EC2]] M https://nixos.wiki/index.php?diff=436&oldid=435&rcid=434 * Fadenb * (+576) Syntax highlighting
b has quit [(Quit: Lost terminal)]
<Infinisil> Baughn: Let me know whether it works if you're trying this
pxc has joined #nixos
Guest33786 has quit [(Quit: Lost terminal)]
<nixoswikibot> [[Install NixOS on Online.Net]] M https://nixos.wiki/index.php?diff=437&oldid=242&rcid=435 * Fadenb * (+359) Syntax highlighting
pxc has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
<nixoswikibot> [[Install NixOS on Rackspace Cloud Servers]] M https://nixos.wiki/index.php?diff=438&oldid=74&rcid=436 * Fadenb * (+323) Syntax highlighting
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to release-17.03: https://git.io/v53GP
<NixOS_GitHub> nixpkgs/release-17.03 31633b1 Ambroz Bizjak: Revert "Revert "chromium: 58.0.3029.110 -> 60.0.3112.78""...
<NixOS_GitHub> nixpkgs/release-17.03 c4f199a Ambroz Bizjak: chromium: fix beta version build...
<NixOS_GitHub> nixpkgs/release-17.03 e56d163 Joachim F: Merge pull request #28170 from ambrop72/chromium-fix3...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #28389: Backport google-chrome and chromium to release-17.03 (release-17.03...chrome-backport) https://git.io/v5e1a
NixOS_GitHub has left #nixos []
<joachifm> I wonder, is it necessary to have wiki edits broadcast to the channel?
<sphalerite> clever: you asked me "any other ideas?" earlier, was that intended for me?
<joachifm> hm, I guess I can just ignore ... nvm.
<Infinisil> joachifm: Just thought about that too, but I think it's okay, because there are only a small part of the channel if people actually write stuff
<Infinisil> s/there/they
johnw has quit [(Read error: Connection reset by peer)]
<nixoswikibot> [[Garbage Collection]] M https://nixos.wiki/index.php?diff=439&oldid=154&rcid=437 * Fadenb * (+156) Syntax highlighting
<joachifm> Infinisil: /ignore to the rescue, so I'm all good :)
<joachifm> such a nice feature but I always forget about it
<fadenb> Infinisil: as there is #nixos-wiki I can always change the bot to go spam over there :P
_habnabit has quit [(Remote host closed the connection)]
<Infinisil> fadenb: What's the difference between #nixos-wiki and #krebs?
dieggsy has joined #nixos
<fadenb> Infinisil: I believe #krebs is used for more projects than just the wiki
<dieggsy> hello! I've been looking for a way to reliably have my own package install/build specifications/instructions (outside of NixOS, on Ubuntu). It seems like this may be possible with the nix package manager, but it's unclear how I would do this using nix on Ubuntu and not NixOS.. anyone know anything about that?
pxc has joined #nixos
justbeingglad has joined #nixos
<dieggsy> e.g. i'd like to define my-package (source, build etc.) and be able to `package-manager install my-package`
<Infinisil> fadenb: I haven't ever seen anything other than the nixos wiki being mentioned in #krebs :P I guess I'll have a look at #nixos-wiki
zeus_ has joined #nixos
<Infinisil> dieggsy: So, just a nix derivation for your package and install it with `nix-env -if <file>`?
<Infinisil> Nix works outside of nixos on linux and macOS
<dieggsy> Infinisil: would there be a way to do that without needing to specify a file? that is, can i keep that file somewhere and change some settings that tells nix that "my-package" is specified by that file?
erictapen has quit [(Ping timeout: 240 seconds)]
<nixoswikibot> [[Installing NixOS on GCE]] M https://nixos.wiki/index.php?diff=440&oldid=184&rcid=438 * Fadenb * (+280) Syntax highlighting
_habnabit has joined #nixos
<Infinisil> dieggsy: You could use NIX_PATH: By setting export NIX_PATH="my-package=path/to/that/file:$NIX_PATH" and then using <my-package> in a nix-expression
<Infinisil> Then you could do nix-env -if '<my-package>'
nixoswikibot has quit [(Remote host closed the connection)]
<Infinisil> but not sure if that's what you want
<dieggsy> hmmm
<dieggsy> ideally it'd be nice to just be able to do nix-env -i '<my-package>"
<dieggsy> but i suppose that migh t work
zeus_ has quit [(Ping timeout: 246 seconds)]
<Infinisil> dieggsy: What are you trying to do exactly? Do you want to use this to distribute packages for other people to install?
<dieggsy> Infinisil: nope, just for me
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<Infinisil> Hmm
<dieggsy> Infinisil: let's say i'm pretty tired of depending on shell scripts for local installs/complex builds of things
<dieggsy> since those can't account for dependencies and stuff
<dieggsy> I'd also like to not depend on something like linuxbrew, nixos just seems more powerful
<Infinisil> dieggsy: A better solution would be to have something like mypkgs=~/pkgs in NIX_PATH, then use `nix-env '<mypkgs>' -iA pkgname
<dieggsy> s/nixos/nix
<Infinisil> dieggsy: While the file ~/pkgs/default.nix declares an attribute set with the packages you want
<Infinisil> Or
<Infinisil> How about an overlay, you can put one in ~/.config/nixpkgs/overlays and define your packages in there, then `nix-env -iA nixos.yourpkgname`
<Infinisil> Or nix-env -i yourpkgname may also work then
<dieggsy> hmmm
<dieggsy> Infinisil: i'll look into that, thanks! i didn't see mention of overlays in the maunal
ambro718 has quit [(Quit: Konversation terminated!)]
feepo has quit [(Quit: Connection closed for inactivity)]
<dieggsy> Oh. I was reading nix/manual i think
zeus_ has joined #nixos
b has joined #nixos
<Infinisil> I'll be off for a while now, gonna redo my storage setup
odi has quit [(Ping timeout: 248 seconds)]
Infinisil has quit [(Quit: leaving)]
jsgrant_ has joined #nixos
dieggsy has quit [(Quit: ERC (IRC client for Emacs 26.0.50))]
erictapen has quit [(Remote host closed the connection)]
dieggsy has joined #nixos
erictapen has joined #nixos
johnw has joined #nixos
Filystyn has quit [(Quit: Konversation terminated!)]
phreedom has joined #nixos
jsgrant has quit [(Quit: jsgrant)]
teto has joined #nixos
Jackneill has quit [(Remote host closed the connection)]
rardiol1 has left #nixos []
phreedom has quit [(Remote host closed the connection)]
teto has quit [(Ping timeout: 246 seconds)]
Ivanych has quit [(Ping timeout: 248 seconds)]
dieggsy has quit [(Ping timeout: 240 seconds)]
pxc has quit [(Ping timeout: 248 seconds)]
matheusmello has joined #nixos
matheusmello has quit [(Quit: matheusmello)]
teto has joined #nixos
phreedom has joined #nixos
teto has quit [(Quit: WeeChat 1.7)]
Turion has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has joined #nixos
simukis has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
Infinisil has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
darlan has joined #nixos
darlan has quit [(Client Quit)]
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
pxc has joined #nixos
b has quit [(Quit: Lost terminal)]
<construct> clever: I see the 'security.wrappers' in the options, but is it alright to use the 'security.wrappers.firejail' name as an option instead?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #28556: cc-wrapper: Cleanup of Nix (staging...cc-wrapper-nix-cleanup) https://git.io/v5my1
NixOS_GitHub has left #nixos []
<construct> clever: or did you have to configure more stuff to get it to recognize it with the appendage?
hiratara has quit [(Ping timeout: 246 seconds)]
pxc has quit [(Ping timeout: 252 seconds)]
07IAAWP7M has joined #nixos
<07IAAWP7M> [nixpkgs] joachifm pushed 6 new commits to master: https://git.io/v53WN
<07IAAWP7M> nixpkgs/master 0c16f35 romildo: efl: propagate utillinux, fribidi and SDL2, which are runtime dependencies
<07IAAWP7M> nixpkgs/master 978c9f0 romildo: ephoto: 1.0 -> 1.5...
<07IAAWP7M> nixpkgs/master 5340a0a romildo: efl: remove old version 1.19.1...
07IAAWP7M has left #nixos []
7F1AAPXIU has joined #nixos
<7F1AAPXIU> [nixpkgs] joachifm closed pull request #28477: enlightenment fixes and updates (master...fix.efl) https://git.io/v5kny
7F1AAPXIU has left #nixos []
neeasade has joined #nixos
<catern> If I wanted to make a mirror of cache.nixos.org
hiratara has joined #nixos
<catern> it should be as easy as just running Hydra and building nixpkgs, right?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e56d163c96 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<Infinisil> Hey clever, I believe you know this, what happens when multiple disks have the same partlabel?
<Infinisil> I'd think a single one of them would be used when accessing via /dev/disk/by-partlabel
takle has quit [(Ping timeout: 276 seconds)]
<kevincox> Infinisil: According to the internet you get a random on in /dev/disk/by-partlabel.
<Infinisil> kevincox: Ah, nice! Exactly what I need :D
<kevincox> s/random on/random one/
<kevincox> Also I think it goes without saying that this isn't advised :P
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<Infinisil> kevincox: I think it's pretty okay in my usecase: I want to put a key to decrypt the main disk on multiple usb sticks, so if I label them all with "key" I just need to use /dev/disk/by-partlabel/key and it'll work as long as I have at least one connected
<kevincox> That does sound like a pretty decent use case of this :)
jellowj has quit [(Ping timeout: 248 seconds)]
<Infinisil> Indeed, makes my config a lot simpler
thc202 has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v53l6
<NixOS_GitHub> nixpkgs/master bb82df6 Volth: icewm: 1.3.12 -> 1.4.2
<NixOS_GitHub> nixpkgs/master b16489d Joachim F: Merge pull request #27841 from volth/icewm-1.4.2...
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
<simpson> Has anybody put Hydra in a container?
jellowj has joined #nixos
b has joined #nixos
<catern> container build slaves or Hydra itself?
<simpson> Hydra itself.
endformationage has quit [(Quit: WeeChat 1.9)]
<Infinisil> One problem I have: my zpool encrypted doesn't have a uuid for some reason
Sonarpulse has quit [(Ping timeout: 246 seconds)]
<v0|d> is there a way to get hardeningDisable = ["all"] effect directly on shell via nix-shell -p gcc49?
<v0|d> like -e "hardeningDisable = ['all']" or alike?
<v0|d> sometimes -fstack-protector-strong gets on the way of old code:(
<Infinisil> . /dev/mapper/root points to /dev/dm-4 which is not present in /dev/disk/by-uuid
bamaq has joined #nixos
eacameron has quit [(Remote host closed the connection)]
MP2E has joined #nixos
eacameron has joined #nixos
<dtzWill> v0|d: export hardeningDisable=all
takle has joined #nixos
<v0|d> dtzWill: thnx.
hiratara has quit [(Remote host closed the connection)]
hiratara has joined #nixos
darlan has joined #nixos
darlan has quit [(Client Quit)]
<pstn> Where can I find out when unstable built successfully the last time?
<kevincox> Did howoldis.herokuapp.com die? I used to check it for this.
<bamaq> hi! is there a way to upload a folder instead of a file to /run/keys using nixops?
<kevincox> But it isn't loading today.
<kevincox> bamaq: AFAIK no.
<bamaq> kevincox: i see... perhaps .tar will do
<pstn> kevincox: Working fine for me. Thanks.
<kevincox> You can also try to have lots of different keys if that is easier. But tar also works.
<kevincox> philipp: Ah yes, it managed to load for me too. I guess heroku just put it to sleep.
phinxy has joined #nixos
pxc has joined #nixos
<pstn> Should a commit that hit master 7 days ago be in a nixos-unstable being built 5 days ago?
<octalsrc[m]> Weird, the ssh-agent service disappeared on my latest nixos upgrade
ison111 has quit [(Ping timeout: 240 seconds)]
phinxy has quit [(Read error: Connection reset by peer)]
phinxy has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
eacameron has quit [(Remote host closed the connection)]
justbeingglad has left #nixos []
eacameron has joined #nixos
<kevincox> philipp: I do believe so. Also http://howoldis.herokuapp.com/ provides the commit that release was based off of so you can use that to check.
Infinisil has quit [(Quit: Mutter: www.mutterirc.com)]
sellout- has quit [(Ping timeout: 240 seconds)]
<pstn> Ah, thanks
phinxy has quit [(Read error: Connection reset by peer)]
phinxy has joined #nixos
phinxy has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #27012: draftsight: 2017-SP1 to 2017-SP2 (master...draftsight_sp2) https://git.io/vQRA8
NixOS_GitHub has left #nixos []
<octalsrc[m]> Oh, I guess the default for programs.ssh.startAgent recently changed to `false`
MP2E has quit [(Quit: reboot)]
<timclassic> Is there a straightforward way to load nixpkgs.config.packageOverrides from configuration.nix into nix-repl?
<timclassic> I'm sure I can make it work but I'm curious if there's a canonical way.
eacameron has quit [(Ping timeout: 246 seconds)]
dywedir has quit [(Remote host closed the connection)]
noam has quit [(Quit: Leaving)]
ahawkins has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/v534Q
<NixOS_GitHub> nixpkgs/master bff106e Cray Elliott: discord: clean up /opt, put discord in its own dir
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #27833: nixos/hardware/raid/hpsa: init at 2.40 (master...hpsa-2.40) https://git.io/v7RRa
NixOS_GitHub has left #nixos []
<clever> timclassic: nix-repl '<nixpkgs/nixos>' and config._module.args.pkgs
<timclassic> clever: Oh, interesting. I would not have figured that out in a reasonable amount of time :) Is that documented somewhere?
justanotheruser has joined #nixos
<clever> not really
<clever> the first part is just how you load nixos, so you can access all the config in nixos
<clever> and the 2nd part is an undocumented internal part, of how arguments get passed to all modules
justanotheruser has quit [(Client Quit)]
justanotheruser has joined #nixos
<timclassic> I'm not sure I understand how to use the second part
<seanparsons> Is the 17.03 channel frozen? It seems to be quite a bit behind the branch on Github.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #28597: rocksndiamonds: init at 4.0.0.2 (master...rocksndiamonds) https://git.io/v53BC
NixOS_GitHub has left #nixos []
bamaq has quit [(Ping timeout: 260 seconds)]
jellowj has quit [(Ping timeout: 248 seconds)]
_habnabit has quit [(Quit: ZNC - http://znc.sourceforge.net)]
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
b has quit [(Quit: Lost terminal)]
_habnabit has joined #nixos
markus1199 has joined #nixos
markus1189 has quit [(Ping timeout: 240 seconds)]
b has joined #nixos
pxc has joined #nixos
pxc has quit [(Ping timeout: 260 seconds)]