<ndowens08>
ok how do i create two packages in one?
<ndowens08>
trying to put PKGNAME = buildPython3Package rec { it doesn't like the = sign
mizu_no_oto has joined #nixos
dhess2`` has joined #nixos
eacameron has joined #nixos
<NixOS_GitHub>
[nixpkgs] ndowens pushed 2 new commits to master: https://git.io/vydj9
<NixOS_GitHub>
nixpkgs/master 8cf11d9 Rommel M. Martinez: emem: 0.2.44 -> 0.2.45
<NixOS_GitHub>
nixpkgs/master 8cbbba6 ndowens: Merge pull request #24103 from ebzzry/emem-0.2.45...
ndowens08 has quit [(Ping timeout: 260 seconds)]
dhess2`` has quit [(Ping timeout: 246 seconds)]
<ToxicFrog>
Does anyone here know how to debug issues with the steam runtime/library paths on nixos?
<ToxicFrog>
I can see zlib is supposedly part of the FHS, but when I bring up a shell from inside steam, it's ending up /usr/lib64/steam-runtime/x86_64-linux-gnu/lib or something like that, and that isn't in LD_LIBRARY_PATH
eacameron has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub>
[nixpkgs] ndowens deleted revert-24094-chirp at 103c918: https://git.io/vyFee
<taktoa>
huh why do all the git.io shortened links start with "vy"
<tilpner>
They're probably incrementing a number and handing that out instead of random links, to keep them short
<tilpner>
(Though you can get vanity links via the API)
acarrico has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
stepcut has quit [(Remote host closed the connection)]
mkoenig has joined #nixos
<PenguinOfDoom>
ohh I see, I need to somehow jam a single package from git HEAD into the system profile
<PenguinOfDoom>
without upgrading every other system package
<PenguinOfDoom>
how do I do that?
mexisme2 has quit [(Read error: Connection reset by peer)]
stepcut has joined #nixos
<calvertvl>
PenguinOfDoom: IIRC it is not recommended but you should be able to use overrideDerivation for that
<calvertvl>
PenguinOfDoom: I have only used it for upgrades to user-level packages
<c74d>
overriding a package will result in all its dependents being rebuilt, in case that counts as "upgrading every other system package"
<contrapumpkin>
oof, so much mirage to package :/
derjohn_mob has quit [(Ping timeout: 258 seconds)]
<sophiag>
hi. anyone on here use nix to install haskell packages? the manual has a snippet to put in ~/.nixpkgs/config.nix, but i'd rather have it in my main configuration.nix and am having some trouble figuring out the syntax. a link to a gist would help greatly
<benley>
sophiag: are you trying to install a ghc with various libraries available, or do you just want some packages that happen to be haskell installed in your system environment?
<benley>
unrelated quick poll, should users in the `wheel` group be able to access the system log via journalctl?
<benley>
nixos docs say yes, reality currently seems to say no.
<ToxicFrog>
But if I run a shell via Steam, it isn't
<ToxicFrog>
(and the reason I'm running a shell is because one of the Steam games isn't starting up)
<clever>
ToxicFrog: it may help to check "strings /proc/PID/environ"
<clever>
ToxicFrog: that lets you inspect the env variables for any process
mguentner has quit [(Quit: WeeChat 1.7)]
<clever>
and /proc/PID/root is a special symlink, that can lead into (and out of!) chroots
Ralith_ has quit [(Ping timeout: 240 seconds)]
drakonis has joined #nixos
<drakonis>
there's still no news post about 17.03
<adelbertc>
if i'm testing a nix exp with `nix-build -A foo -K`, after i've confirmed it's OK i can delete the `./result` and the next GC will remove any leftovers right?
Ralith_ has joined #nixos
mguentner has joined #nixos
<contrapumpkin>
adelbertc: yeah, unless something else uses it
<contrapumpkin>
adelbertc: for example, if it produces multiple outputs, you might have multiple result-* symlinks, or if something else you built somewhere still uses the underlying store path
<adelbertc>
contrapumpkin: gotcha, makes sense
<calvertvl>
ok, I've found some breakage in the `src` package: it can't find rcs unless the user has installed it separately
<calvertvl>
should this be using a wrapper? (and if so, is there a good example of best practices I can look at?)
proteusguy has quit [(Remote host closed the connection)]
<contrapumpkin>
any ocaml packaging gurus here?
drakonis has quit [(Changing host)]
drakonis has joined #nixos
<contrapumpkin>
calvertvl: yeah it should use a wrapper
<contrapumpkin>
calvertvl: I'd look for any use of wrapProgram in nixpkgs
<contrapumpkin>
there are tons of examples of that
<contrapumpkin>
we need to work on lifting docs automatically from source
<adelbertc>
i was using it like `wrapProgram $out/bin/coursier --prefix PATH ":" ${jre}/bin`
mexisme has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<adelbertc>
a lot (all?) of the recent PRs seem to be failing in Travis with the same error (mine included) - i presume this is a known issue?
<adelbertc>
the error being "error: a ‘aarch64-linux’ is required to build ‘/nix/store/cz32iw57gwa8kxwdy94idp2l1v8cgqls-options-db.xml.drv’, but I am a ‘x86_64-linux’"
<contrapumpkin>
adelbertc: yeah, travis is controversial
<contrapumpkin>
meaning it mostly doesn't work these days
<contrapumpkin>
and some of us want to turn it off
<adelbertc>
sadness
<adelbertc>
is there a CI tool thats being run behind the scenes that i can look at? or are PRs mostly being reviewed on good faith
<calvertvl>
contrapumpkin: I think I fixed all the nitpicks on src now
Rotaerk has quit [(Read error: Connection reset by peer)]
nschoe has joined #nixos
Rotaerk has joined #nixos
Rotaerk has quit [(Write error: Connection reset by peer)]
kthnnlg has quit [(Ping timeout: 264 seconds)]
bennofs has joined #nixos
Rotaerk has joined #nixos
orivej has quit [(Read error: Connection reset by peer)]
Rotaerk_ has joined #nixos
jlle[m] has joined #nixos
Rotaerk has quit [(Ping timeout: 240 seconds)]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<ikwildrpepper>
puffnfresh: never mind, found your cb3-111 config, and had some issues with audio, so thought you might be able to help :) but google already helped me out ;)
__Sander__ has joined #nixos
orivej has joined #nixos
goibhniu has joined #nixos
periklis has quit [(Ping timeout: 264 seconds)]
tsmeets has joined #nixos
catch22 has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 5 new commits to master: https://git.io/vyFcs
<NixOS_GitHub>
nixpkgs/master d3028ba Peter Simons: LTS Haskell 8.5
<NixOS_GitHub>
nixpkgs/master c3b0cb1 Peter Simons: hackage2nix: keep binary 0.8.x around
<NixOS_GitHub>
nixpkgs/master 8f45ea6 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<LnL>
ikwildrpepper: I think mac4 and mac5 are down again
<ikwildrpepper>
LnL: yeah, only just got to the office
<ikwildrpepper>
LnL: first coffee, then mac
<LnL>
just letting you know, I noticed some aborted builds in copumpkin's jobset
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vyFca
<NixOS_GitHub>
nixpkgs/master 6c0569e Peter Hoeg: terraform: 0.9.0 -> 0.9.1
takle has quit [(Remote host closed the connection)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
indi_ has joined #nixos
<NixOS_GitHub>
[nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/vyFCj
<NixOS_GitHub>
nixpkgs/master 20194e2 Sander van der Burg: dd-agent: bind to pymongo 2.9.1 to fix the MongoDB monitoring
pie__ has joined #nixos
<NixOS_GitHub>
[nixpkgs] svanderburg pushed 1 new commit to release-17.03: https://git.io/vyFWZ
<NixOS_GitHub>
nixpkgs/release-17.03 7185762 Sander van der Burg: dd-agent: bind to pymongo 2.9.1 to fix the MongoDB monitoring...
<NixOS_GitHub>
[nixpkgs] svanderburg pushed 1 new commit to release-16.09: https://git.io/vyFWD
<NixOS_GitHub>
nixpkgs/release-16.09 3a3b7c9 Sander van der Burg: dd-agent: bind to pymongo 2.9.1 to fix the MongoDB monitoring
dhess2`` has joined #nixos
bkchr has joined #nixos
<bkchr>
Hi :) I have a question, what is the difference between adding "programs.zsh.enable = true" and adding "zsh" to the packages list?
<bkchr>
And do all packages support the "programs." way?
FPtje has joined #nixos
<FPtje>
Hey, does anyone else start to get HDMI resolution issues since 17.03? The reported maximum resolution on my HDMI display is lower than the actual maximum, and xrandr won't let itself be fooled with --addmode tricks
<mbirkis>
bkchr: I don't think there is much difference, but you can set additional options using programs.zsh.****
<bkchr>
mirkis: Okay. Yeah I also observed this behavior at enabling oh-my-zsh.
<mbirkis>
bkchr: not all packages support the "programs" way, you can look through various options here: http://nixos.org/nixos/options.html
dhess2`` has quit [(Ping timeout: 260 seconds)]
<LnL>
bkchr: it does some basic stuff like tab completion and a default prompt
<bkchr>
LnL: Okay thanks :)
bennofs has joined #nixos
erictapen has quit [(Ping timeout: 264 seconds)]
FPtje has quit [(Remote host closed the connection)]
<LnL>
and it also configures it to use environment.shellAliases and such
<ronny>
hi - again, anyone aware how to to pin generations to keep them while gcing all other generations?
<ronny>
i have some generations i'd like to keep intact as failsafe while killin the rest of things
<bkchr>
After using programs.zsh it worked :)
<bkchr>
Another question, I'm using modesetting and the kernel does not reports all possible resolutions, so I need to add them manually by xrandr. Can I add the xrandr setup to my confiugration.nix?
proteusguy has joined #nixos
freusque has quit [(Quit: WeeChat 1.7)]
tv1 is now known as tv
tv has quit [(Changing host)]
tv has joined #nixos
civodul has quit [(Remote host closed the connection)]
civodul has joined #nixos
<sphalerite>
bkchr: yes
derjohn_mob has joined #nixos
erictapen has joined #nixos
<sphalerite>
bkchr: I'm not sure exactly where it should go, but probably before starting the display manager, so in services.xserver.displayManager.job.preStart
<sphalerite>
not sure though
<sphalerite>
I don't know if the X server is started by the display manager or separately. If the display manager starts the X server the option probably depends on which DM you're using
<sphalerite>
but for kdm for example there's the setupScript option (which even mentions setting up monitors using xrandr as a usecase!)
<LnL>
I think services.xserver.displayManager.sessionCommands is inteded for that sort of stuff
<ikwildrpepper>
LnL, contrapumpkin: mac's are running
<ikwildrpepper>
(except for mac7, but hopefully that one will be online soon aswell)
[0x4A6F] has quit [(Ping timeout: 260 seconds)]
bennofs has quit [(Ping timeout: 240 seconds)]
[0x4A6F] has joined #nixos
Kendos-Kenlen has joined #nixos
aguardar has joined #nixos
<NixOS_GitHub>
[nixops] roberth opened pull request #630: Route53: Support private IP address for use in private clouds (master...master) https://git.io/vyFEN
<bkchr>
The login screen resolution is not that important. That is okay.
<NixOS_GitHub>
[nixpkgs] the-kenny closed pull request #22911: rawtherapee: 5.0-r1 -> 5.0-r1 with gtk3 support (master...rawtherapee) https://git.io/vDQqL
<bkchr>
I'm starting to want to create my own nix-shell environment, but I don't find any suitable documentation for setting the required packages I want to have installed in this environment. Is there any good tutorial
mudri has joined #nixos
<LnL>
ikwildrpepper: thanks, since when is there a mac7 :D
<bkchr>
I already looked into the wiki, but I do not understand all that code. the "mkDerivation" functions lets me create a derivation of the standard env and that is imported as stdenv?
<bkchr>
and buildInputs are the packages I want to use?
<goibhniu>
yep, buildInputs are the packages your build/shell environment has access to
mudri has quit [(Ping timeout: 260 seconds)]
<goibhniu>
IMO, you don't really need to know more that that to use nix-shell for packaging and development, but if you want to learn the nix language there are some nice tutorials and articles
<bkchr>
ahh thanks taktoa, I think I should read again the language documentation.
<bkchr>
do you have any links goibhniu?
<bkchr>
My first simple nix-shell with gcc now works :)
<bkchr>
I'm using zsh with oh-my-zsh in my normal env, but if I switch to the nix-shell, at least my theme is not applied and I think that it's also not zsh. How can I configure this?
<bkchr>
Thanks for your links
ebzzry has joined #nixos
<Mic92>
bkchr: nix-shell --command or just use direnv
<bkchr>
Mic92: "just use direnv", how to I use that? :D Can I add this to my default.nix?
<Dezgeg>
no it's still being build via the nixpkgs-unstable channel
JagaJaga has joined #nixos
jensens has quit [(Ping timeout: 268 seconds)]
mizu_no_oto has joined #nixos
mojjo has quit [(Ping timeout: 268 seconds)]
cfricke has joined #nixos
FRidh has joined #nixos
ebzzry has quit [(Ping timeout: 256 seconds)]
jensens has joined #nixos
obadz has quit [(Ping timeout: 260 seconds)]
obadz has joined #nixos
odi has joined #nixos
jbo_ has quit [(Ping timeout: 240 seconds)]
fhoffmeyer1 has quit [(Ping timeout: 260 seconds)]
jbo has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
<Mic92>
bkchr: nix is already builtin
<Mic92>
in direnv
<Mic92>
bkchr: the script from me is just a performance advantage
<Mic92>
bkchr: the example on https://direnv.net/ might help to understand how direnv works
ericsagnes has quit [(Ping timeout: 260 seconds)]
kthnnlg has joined #nixos
kthnnlg has quit [(Ping timeout: 240 seconds)]
tsmeets has quit [(Remote host closed the connection)]
eacameron has joined #nixos
tsmeets has joined #nixos
<justan0theruser>
when I try to use tensorflow, I get ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory. This seems to indicate I need to build tensorflowWithCuda with cuda 8.0 rather than 7.5. I look at /nix/store and see 7.0, 7.5, 8.0 (https://hastebin.com/raw/xubamehamu), but I'm not sure which one tensorflowWithCuda is using. so A) is there a way to see which cuda tensorflowWithCuda is
<justan0theruser>
using and B) Is there a way to remove tensorflowWithCuda and rebuild it so I can ensure it is built with the correct cuda?
<FRidh>
and I suppose you can override the expression to pass a different cudatoolkit.
<FRidh>
in any case, open an issue and cc the author of that PR
<justan0theruser>
FRidh: I have cudatoolkit 8.0, 7.5, and 7.0 in nix-store, how do I see which one is a dep of tensorflowWithCuda
FPtje has joined #nixos
dhess2`` has joined #nixos
<FRidh>
nix-store -qR $(nix-build -A python3.pkgs.tensorflowWithCuda) | grep cuda
<FPtje>
bkchr, You say your kernel doesn't report all possible resolutions. Did that problem start for you since 17.03? I also have it
ericsagnes has joined #nixos
<bkchr>
Fptje: I'm using the unstable channel. But before Nixos, I used arch and I think that around kernel 4.8 or so, this began to happen.
<justan0theruser>
FRidh: trying to find the correct argument, because error: attribute ‘python3’ in selection path ‘python3.pkgs.tensorflowWithCuda’ not found
ericsagnes has quit [(Ping timeout: 240 seconds)]
<tsmeets>
Dezgeg: the wifi stick did work after adding 'hardware.enableAllFirmware = true' to my configuration.nix
<bkchr>
FPtje: Ohh, did you read my first message?
<Dezgeg>
aha, nice
<tsmeets>
Dezgeg: The internal wifi still doesn't work.
dhess2`` has quit [(Ping timeout: 268 seconds)]
<Dezgeg>
yes, I think the driver isn't yet in mainline... let's hope it gets there relatively soon
<justan0theruser>
nix-store --query --requisites $(readlink -f /run/current-system) | grep cuda
<justan0theruser>
I'm thinking possibly the issue is that I have two tensorflow, one withgpu and one normal and the python might be referencing the wrong one? Maybe not since it's asking for a cuda lib
<justan0theruser>
anyways, how do I delete something that is "still alive"? error: cannot delete path ‘/nix/store/iiykizdm2h0vrl5jk5yanijzpa2czszc-tensorflow-1.0.0-cp35-cp35m-linux_x86_64.whl.drv’ since it is still alive
praduca has joined #nixos
<praduca>
Hi everybody
<praduca>
can someone give me some advice on starting to use Haskell and stack together on Nixos?
<praduca>
I'm getting really confused about it
<praduca>
:)
<avn>
cabal2nix and nix-shell is simpler (I believe)
ericsagnes has joined #nixos
<kriztw>
praduca: it mostly should just work, as long as you have nix: enable: true in your config.yaml
<socksy>
help, i never know what to do in nixos to get things working
<socksy>
i have a work project that uses the java kinesis library
<socksy>
this is using some binary it has that is dynamically linked to glibc
<socksy>
which it is running from /tmp/ at some point for some reason
<socksy>
surely there's an easy way for me to work around this?
<socksy>
other than getting an ubuntu VM
<goibhniu>
hi socksy, how about packaging it?
<socksy>
the java library?
<goibhniu>
yeah
<socksy>
does that work?
<goibhniu>
that's often the easiest way
<FPtje>
bkchr The first message about being on unstable?
<goibhniu>
socksy: another option is to create an FHS environment to run your stuff in, or setting some environment variables (which is impure, but might get the job done)
<praduca>
I have already this nix enable = true, but it keeps trying to install other ghc and fails to do so
<bkchr>
FPtje: About arch and that I think that it is happening since 4.8 or so
<socksy>
impure but get the job done sounds like a good general solution for me, this is something that i am constantly hitting my head against as i use nix for things
<philipp[m]>
Does anybody have a good way to tell nix-collect-garbage to always keep the last two generations of a system?
<FPtje>
bkchr, yeah I've seen that message. I don't think it's the kernel, though. It happens for me on both 4.9 and 4.10
<socksy>
of course, when i have time to do things the right way... then i can be making packages, but most of the time my solution is just "stop using nix"
<praduca>
its very confusing, but seems that i am doing it "almost" right...
<kriztw>
praduca: which package are you trying to build? can you gist the stack.yaml?
acarrico has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<goibhniu>
socksy: here's a nixos-container config where I set LD_LIBRARY_PATH, LIBRARY_PATH and C_INCLUDE_PATH so that stuff can be built and run in that environment
<praduca>
I am actually getting classes on haskell. I used to do it on ubuntu until some weeks ago, then discovered nixos. :) It is really good, but the haskell documentation is spread around and seems to be VERY contradictory at some points
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vyFMU
<NixOS_GitHub>
nixpkgs/master 21439ef Nikolay Amiantov: samba: enable parallel building
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to release-17.03: https://git.io/vyFMI
<NixOS_GitHub>
nixpkgs/release-17.03 ec5b12b Nikolay Amiantov: samba: enable parallel building...
<socksy>
goibhniu: that sounds useful, did you mean to link something?
<socksy>
it's a pity. would be a nice way to sneak nix into people's production pipelines
<joepie91>
on a loosely related note, I'm actually going to try and see if I can abuse the container functionality in NixOS to make NixOS run on OpenVZ
<joepie91>
:P
<fpletz>
grr… who gave ndowens commit access? he doesn't seem to know how to use github or git :(
<socksy>
would stop making so many packages that don't work on nixos...
<joepie91>
(since the system constraints are similar)
<praduca>
tks icetan, i will give it a try
Acou_Bass has joined #nixos
<praduca>
but stack is actually part of the course because one of the topics is a web dev with yesod
* goibhniu
bumped into a nix user in a cafe yesterday in Munich ... yay for NixOS stickers!
<taeradan>
socksy: I'm making an experiment at Capgemini (in a small site) to install NixOS for those who need Linux in dual-boot. I had a problem with Eclipse crashing, but for now it just works :)
<socksy>
is this relating to the container stuff, sorry?
<taeradan>
socksy: sorry, I may have misunderstood the begining of the conversation, I was illustrating the fact that NixOS is sneaking into dev companies
<fpletz>
ikwildrpepper: and he's only been contribution for like a month or two
<fpletz>
*contributing
xadi has quit [(Ping timeout: 246 seconds)]
<ikwildrpepper>
fpletz: ok, I can retrack his access. any chance you can give him some feedback or 'educate' him about how he can improve his contributions?
<gchristensen>
thank you ikwildrpepper, I think several people have been guiding him on git over time
<ikwildrpepper>
gchristensen: ok, great
<contrapumpkin>
ikwildrpepper: look at all those macs! thanks!
<LnL>
I know right, didn't even know there was a mac7 :)
<ikwildrpepper>
contrapumpkin: we could even expand the mac capacity, if that is useful. do you have any idea/educated guess what the capacity needs are?
<ikwildrpepper>
(and don't say, as much as possible :p)
dhess2`` has joined #nixos
<fpletz>
ikwildrpepper: I will also help him, I just found it weird to give him access in the first place… activity and motivation shouldn't be the only aspects to look for
<contrapumpkin>
ikwildrpepper: no idea, honestly :) haven't been following stats on hydra. Do y'all have a procedure for estimating needs on the linux side?
<fpletz>
time for an RFC I guess %)
<dtz>
is there an "official" channel/store for getting a NixOS sticker? :D
<ikwildrpepper>
fpletz, gchristensen: ok, have sent ndowens an email about removing his direct access for now.
<ikwildrpepper>
I've asked he join #nixos to discuss if needed
<ndowens08>
Can't stay long at work on break
<gchristensen>
and here they are!
<dtz>
gchristensen: cool, thank you! Seems about as official as it'll get then--mostly wanted something to not be ashamed of should a miracle occur and I encounter another NixOS user in the wild :D
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 3 new commits to master: https://git.io/vyF91
<NixOS_GitHub>
nixpkgs/master ea80c91 Florent Becker: pijul: init at 0.3.0 (re-init)
<NixOS_GitHub>
nixpkgs/master f5581d0 Domen Kožar: Merge pull request #24113 from FlorentBecker/the_return_of_pijul...
<ikwildrpepper>
ndowens08: he :)
<ikwildrpepper>
hey
<ndowens08>
I thought opening PR was correct way to do it
<fpletz>
ndowens08: moin :)
<dtz>
less of a miracle if I make it to events I suppose. Anyway, ty and appreciate the transparency re:pricing and thanks for putting them up there :)
<fpletz>
ndowens08: if you're looking for review, yes
<dtz>
i, uh, just noticed the cafepress in the /topic >.< sorry
<fpletz>
ndowens08: but if you merge it yourself, what's the point in reviewing it?
<ndowens08>
I know I could push through git just thought it was correct proceredure
<gchristensen>
dtz: what sticker did you see?
<ndowens08>
To do pr
<ndowens08>
Sorry
<dtz>
gchristensen: none, nevermind, but other swag I suppose. Only found the stickermule stickers. Thanks :)
dhess2`` has quit [(Ping timeout: 256 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
<fpletz>
ndowens08: if you wouldn't have merged yourself, the revert wouldn't have been necessary, but then again, it wasn't necessary at all because you could've just made the change without reverting
<ndowens08>
That's true thought about it after I did it
<fpletz>
ndowens08: where did you read the make a PR for every change and merge it yourself? we should fix these docs :)
<wrl>
hey I'm trying to compile some X11 software inside a nix-shell but it can't find any header files -- where do those end up or get mounted?
<gchristensen>
ndowens08: I'm concerned about your skill level with git itself, and am worried you may accidentally push something very hard to revert
<ndowens08>
There isn't just noticed other members posted PRs. Thought maybe it was correct way to do but it's ok then
<ndowens08>
Not gonna fight the decision, disappointing yes, thought I know not to push mass rebuilds and stuff so I leave them alone
<ndowens08>
Though
<ndowens08>
Gotta go back to work.
<gchristensen>
you've learned a lot since you first came around, and you do a lot of good work. my personal opinion is it is a bit too soon to be a direct committer, while you learn more of the ropes of mass rebuilds and git's more advanced functionality (rebasing and squashing for example)
<ndowens08>
Yeah I know how to rebaseand squash
<NixOS_GitHub>
[nixpkgs] domenkozar created fix-darwin-ssl-23605 (+1 new commit): https://git.io/vyFHQ
<NixOS_GitHub>
nixpkgs/fix-darwin-ssl-23605 c3c9412 Domen Kožar: git, openssl, curl: Respect $NIX_SSL_CERT_FILE...
<domenkozar>
which the deployments doesnt have the commit number
<domenkozar>
being 501
<domenkozar>
and "beta"
<domenkozar>
gchristensen: can we add nixos-17.03beta501.acb7958 to the environment?
<gchristensen>
domenkozar: how about in the payload
<gchristensen>
can add that string and a URL to cloudfront maybe
ebzzry has joined #nixos
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
<domenkozar>
gchristensen: that would be handy
<globin>
niksnut: hydra is 500'ing most of the time :/
<gchristensen>
domenkozar: can you add that to the code? :)
<domenkozar>
gchristensen: my perl foo is very bad
<wrl>
hey, could somebody help me out with this? I'm trying to build some software that depends on libX11 inside a nix-shell but I have no idea where the headers are located
<gchristensen>
domenkozar: its in perl?
<gchristensen>
domenkozar: (I don't know perl either)
<gchristensen>
domenkozar: ok if you can add comments to it saying we should add that, so niksnut doesn't merge it before then, I can get to it... early 2019
<domenkozar>
:D
tommyangelo_ has joined #nixos
deepfire has joined #nixos
tommyangelo_ has quit [(Remote host closed the connection)]
ravloony has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
<domenkozar>
gchristensen: no pressure :)
<niksnut>
globin: apparently postgres is hitting its connection limit
<domenkozar>
do we use a pool?
<glines>
any of you guys use tiling and/or minimal window managers? Just wondering what you use for wifi
<domenkozar>
glines: nm-applet + networkmanager
<glines>
sounds about right
<avn>
glines: nm-tui/nmtui-connect works
<deepfire>
glines, xmonad has trayer, which nicely houses the nm-applet icon
<glines>
I was also looking at netctl... but it's an arch thing that would need to be ported. I wonder why they felt the need to have their own thing
<glines>
I'm actually trying out sway on wayland
<glines>
so far it can't do keyboard capture for VM's, so it's kinda useless. I might try i3 on x11 though
uralbash has quit [(Ping timeout: 240 seconds)]
wrl has left #nixos []
<domenkozar>
glines: a lot of nixos users are on i3 (including me)
<domenkozar>
waiting on sway to go over bleeding edge
<domenkozar>
phase
<glines>
does it support a tray alright? (I might need that for google hangouts)
<domenkozar>
it does via i3status
<globin>
glines: I just use wpa_supplicant with a declarative config and for connecting to networks temporarily wpa_gui
<glines>
mmm.... I did notice the wpa_supplicant configuration in the nixos config
<GlennS>
Anyone know if it's possible to use ssh agent forwarding together with the 'nixops ssh' command?
<GlennS>
I manage some templates inside my /var/www/ directory using git. I could be deploying them as part of my nixops definition, but that would make for quite a clumsy workflow.
<gchristensen>
GlennS: do you know how to tell ssh to forward your agent, via cli flag?
<ikwildrpepper>
GlennS: works for me with e.g. machines that use none backend (physical machines)
<ikwildrpepper>
GlennS: you can pass ssh flags if needed, e.g.: nixops ssh -d my-deploy my-machine -- -A
<ikwildrpepper>
(or you can set it as part of your .ssh/config)
<contrapumpkin>
what's the opposite of nix-env --rollback?
dhess2`` has quit [(Ping timeout: 240 seconds)]
erasmas has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vyFA4
<NixOS_GitHub>
nixpkgs/master ed59de1 Robin Gloster: fast-neural-doodle: mark as broken
<GlennS>
gchristensen: ikwildrpepper: thanks, it does work, I was just being dumb and assuming my .ssh/config would work over multiple hops
<NixOS_GitHub>
[nixpkgs] globin pushed 3 new commits to release-17.03: https://git.io/vyFA0
<NixOS_GitHub>
nixpkgs/release-17.03 98d2ac5 romildo: lumina: fix kwindowsystem and oxygen-icons5 attributes...
<NixOS_GitHub>
nixpkgs/release-17.03 9412583 Robin Gloster: fast-neural-doodle: mark as broken...
reinzelmann has quit [(Quit: Leaving)]
kthnnlg has quit [(Remote host closed the connection)]
ixxie has quit [(Ping timeout: 240 seconds)]
odi has quit [(Quit: leaving)]
odi has joined #nixos
eacameron has joined #nixos
<sphalerite>
contrapumpkin: nix-env -G perhaps?
<sphalerite>
Not exactly the opposite but it can be used to reverse a rollback
<contrapumpkin>
yeah
<contrapumpkin>
it's jsut that --list-generations doesn't tell me very much about each generation
<contrapumpkin>
anyway, got it working
<sphalerite>
Yeah, it'll be great when nix supports naming generations
FPtje has quit [(Remote host closed the connection)]
<joepie91>
is there a tag or identifier of some sort for repo issues concerning "old ways of doing stuff in nixpkgs that need to be replaced with newer/better ways but haven't been yet"?
cfricke has joined #nixos
Rotaerk_ has quit [(Quit: Leaving)]
odi has quit [(Read error: Connection reset by peer)]
odi has joined #nixos
<contrapumpkin>
niksnut: ran into some awkwardness with NIX_CERT_FILE
<NixOS_GitHub>
[nixpkgs] ttuegel opened pull request #24125: nixos/plasma5: do not set kimpanel as default IBus panel (master...disable-kimpanel) https://git.io/vybvL
<NixOS_GitHub>
nixpkgs/master 4f1d977 Profpatsch: lib/tests: add more tests for fold functions...
<LnL>
copumpkin: well, I think it's actually because some issue with cgo, but I put in a patch to use the env variable if it's define
<contrapumpkin>
does that circumvent the vendoring issue?
<NixOS_GitHub>
[nixpkgs] abbradar pushed 4 new commits to master: https://git.io/vybfu
<NixOS_GitHub>
nixpkgs/master 15d3f8e Nikolay Amiantov: sd-image-armv7l-multiplatform module: enable ODROID-XU3 console
<NixOS_GitHub>
nixpkgs/master a9d44b5 Nikolay Amiantov: ubootOdroidXU3: init
<NixOS_GitHub>
nixpkgs/master c1e2790 Nikolay Amiantov: odroid-xu3-bootloader: init at 2015-12-04
<eacameron>
niksnut: awesome
<contrapumpkin>
niksnut: see LnL's PR too
<LnL>
contrapumpkin: the profile.d from nix sets NIX_SSL_CERT_FILE
<LnL>
unless it was renamed again
<contrapumpkin>
oh you're right
ebzzry has quit [(Ping timeout: 264 seconds)]
adfaure has joined #nixos
<adfaure>
Hello, does someone have issues when running atom ? I've got huge errore like: uname: relocation error: /nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libdl.so.2: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
<adfaure>
uname: relocation error: /nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libdl.so.2: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
<adfaure>
expr: relocation error: /nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libdl.so.2: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
<adfaure>
uname: relocation error: /nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libdl.so.2: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
<adfaure>
Your platform () is not supported.
<adfaure>
Any help would be much appreciated. Thanks !
<LnL>
contrapumpkin: do you have any idea if this might be something related to cgo linking against the Security framework?
<contrapumpkin>
not sure! could be
<contrapumpkin>
I haven't looked into it at all
<contrapumpkin>
I can check it out later
<goibhniu>
hi adfaure, did you install atom from nixpkgs?
<domenkozar>
we unpack atom built from debian
<LnL>
I wrote the patch before, but I didn't really dig into the cgo part IIRC
<domenkozar>
so it's bound to happen
odi has quit [(Read error: Connection reset by peer)]
<contrapumpkin>
LnL: yeah, it seems like your patch can stop the bleeding but we should also make the underlying thing work :)
odi has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vybT7
<NixOS_GitHub>
nixpkgs/master 428a6dd Eric Sagnes: albert: 0.9.4 -> 0.10.0
<NixOS_GitHub>
nixpkgs/master 2bfc30c Joachim F: Merge pull request #24120 from ericsagnes/pkg-update/albert...
<niksnut>
contrapumpkin: I know nothing about Go, so I can't really help here...
<adfaure>
goibhniu: YEs, I did: nix-env -iA nixos.atom
<LnL>
contrapumpkin: I think I just thought it was related to signing at the time, but I'm not so sure now
<contrapumpkin>
niksnut: I think the LnL patch and the ticket I just filed will solve it (once we fix the ticket). There is a bit of a policy question though
<contrapumpkin>
LnL: even unsigned programs should be able to ask for certificates
<LnL>
yeah
<contrapumpkin>
niksnut: basically, LnL's patch makes it listen to NIX_SSL_CERT_FILE, but if we fix the underlying native certificate store, I'm not sure it should be looking at NIX_SSL_CERT_FILE except as a fallback
<LnL>
contrapumpkin: niksnut: my argument was that other tools like curl, git and such currently do the same thing
<contrapumpkin>
yeah
<contrapumpkin>
not saying it's wrong
<contrapumpkin>
it's just a "how should it work" question
<LnL>
so I guess the question is should they use cacert from nixpkgs or the keychain?
<LnL>
yeah, but unset NIX_SSL_CERT_FILE should not cause a segfault :)
dhess2`` has joined #nixos
<lewo>
ronny, thx, but I still don't understand why this is necessary. Once pipy2nix has been built, you can continue to use this built version to update python Packages. When all packages have been updtaed, you could then test and switch to the new pipy2nix version.
frigate_freedom has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vybIa
<NixOS_GitHub>
nixpkgs/master 07252dc Robin Gloster: virtualbox: 5.1.14 -> 5.1.18
adfaure has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vybIr
<NixOS_GitHub>
nixpkgs/release-17.03 96d99cc Robin Gloster: virtualbox: 5.1.14 -> 5.1.18...
<contrapumpkin>
LnL: pfft, segfaults are cool
<contrapumpkin>
we need more of them
odi has quit [(Ping timeout: 240 seconds)]
orivej has quit [(Remote host closed the connection)]
<frigate_freedom>
Hello, guys!
<frigate_freedom>
I'm trying to scan with my HP All-in-one deskjet, to add it to system I put "services.printing = {
<frigate_freedom>
" in my configuration, then run "$(nix-build '<nixpkgs>' --no-out-link -A hplip)/bin/hp-setup" as user, but xsane and simple-scan can not see scanning device
<frigate_freedom>
Can you help me?
dhess2`` has quit [(Ping timeout: 240 seconds)]
adfaure has joined #nixos
orivej has joined #nixos
<LnL>
contrapumpkin: oh sorry, apparently my framework hook fixed a bunch more then I first expected
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
<contrapumpkin>
oh, that fixes it?
<sphalerite>
frigate_freedom: printing is a separate service from scanning. Try just setting hardware.sane.enable = true; and adding your user to the scanner group
<LnL>
contrapumpkin: not go afaik, but there where some other things like gtk+
<contrapumpkin>
ah cool
tsmeets has quit [(Ping timeout: 240 seconds)]
<LnL>
unless go doesn't depend on any frameworks, then the hook could help
tsmeets[m] has quit [(Ping timeout: 260 seconds)]
<knedlsepp>
knedl
<contrapumpkin>
I imagine if it's using cgo to hit the keychain it's probably using a framework
<contrapumpkin>
will look later if you don't get to it first :)
Rizy has joined #nixos
<LnL>
yeah it depends on the Foundation and Security frameworks so the hook should run over it
tsmeets has joined #nixos
tsmeets has quit [(Client Quit)]
thomassgn has quit [(Quit: WeeChat 1.5)]
aguardar has quit [(Quit: Connection closed for inactivity)]
frigate_freedom has quit [(Quit: Leaving.)]
marsam has joined #nixos
DutchWolfie has quit [(Quit: Konversation terminated!)]
deepfire has joined #nixos
<NixOS_GitHub>
[nixpkgs] ttuegel closed pull request #24125: nixos/plasma5: do not set kimpanel as default IBus panel (master...disable-kimpanel) https://git.io/vybvL
uralbash has joined #nixos
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 1 new commit to release-17.03: https://git.io/vybYf
<NixOS_GitHub>
nixpkgs/release-17.03 9f4e6cd Thomas Tuegel: nixos/plasma5: do not set kimpanel as default IBus panel...
marsam has quit [(Remote host closed the connection)]
marsam has joined #nixos
timor has quit [(Ping timeout: 240 seconds)]
cfricke has quit [(Ping timeout: 256 seconds)]
<the-kenny>
Can I get the location of a nix file programmatically? I want to use relative paths from the file location *without* copying stuff into /nix/store (this is for an ad-hoc shell.nix file)
<the-kenny>
Basically I want to use '${fileLocation}/foo/bar' so I can invoke it via `nix-shell path/to/shell.nix`
<contrapumpkin>
the-kenny: not copying to the nix store kind of runs counter to the nix approach to things
<contrapumpkin>
I don't know of any way to find current path, as a result
<contrapumpkin>
note that import doesn't copy to the store
<contrapumpkin>
so if you're just doing nix files, it's fine
<adfaure>
domenkozar: Hi, sorry I just saw your answer. Do you know how I could fix it ? I am relly less productive without atom :)
<the-kenny>
contrapumpkin: I know. This is for an ad-hoc android-studio environment using FhsUserEnv. The unpackaged android-studio folder is alongside the relevant shell.nix
<the-kenny>
Anyway, I'll search for some other way to do it, thanks.
<contrapumpkin>
it might be possible with some builtin I've never looked at, but I'm not hopeful
<NixOS_GitHub>
[nixpkgs] Adjective-Object opened pull request #24129: glm@0.9.6.1 -> 0.9.8.4, include built glm.pc (master...master) https://git.io/vyb3W
thomassgn has joined #nixos
cpennington has quit [(Ping timeout: 260 seconds)]
thomassgn has left #nixos []
<niksnut>
very annoying, bash 4.4 changes how "!" history expansion works
periklis has quit [(Ping timeout: 264 seconds)]
<niksnut>
so "!nix-b" no longer expands to the last "nix-build"
Rizy has quit [(Quit: Rizy)]
<ikwildrpepper>
niksnut: what does it do now then?
<clever>
niksnut: ive always used <ctrl+r>nix-b style
<avn>
clever: +1 ;)
<niksnut>
ikwildrpepper: not entirely sure, apparently it expands to the last command that start with "nix-" and then it appends a "b"
<niksnut>
clever: that does look a lot safer :-)
<niksnut>
I do "!rm" too often
<ikwildrpepper>
clever: yeah, I also use ctrl-r
<clever>
niksnut: yeah, and you can also use up/down arrow to seek relative to the result it found
<contrapumpkin>
niksnut: unrelated question: do you know what happened to the log links on Hydra?
<gchristensen>
anyone know if you can pass GEM_PATH to ruby in a shebang?
periklis has joined #nixos
<srhb>
clever: What enables the arrow keys? I can only do ctrl-r / ctrl-s (which I probably prefer, but...)
<LnL>
gchristensen: you can add entries to the loadpath with -I
<niksnut>
contrapumpkin: yes, I still need to fix that
<clever>
srhb: after typing in part of a command and the "(reverse-i-search)`pub': vi pubkeys" stuff appears, you can just hit up/down arrow to cancel the search, and it will seek the history relative to the result
<niksnut>
build logs are now uploaded to S3
<contrapumpkin>
niksnut: oh very cool
<contrapumpkin>
niksnut: to alleviate DB load?
<niksnut>
so Hydra needs to redirect there
<niksnut>
no, for disk space
<srhb>
clever: Oh, I understand now. Thanks.
<contrapumpkin>
oh, that's sort of what I meant :)
<contrapumpkin>
cool though
<contrapumpkin>
that'll be very nice
<contrapumpkin>
niksnut: how does that work for local deployments of Hydra that won't necessarily be backed by S3?
<contrapumpkin>
(not that mine will fall into that camp)
marsam has quit [(Read error: Connection reset by peer)]
<clever>
i sometimes had to dig thru 5 pages of hydra jobs to find the right jobset and build for something
<niksnut>
gchristensen: yeah, that was a pretty ad hoc mechanism
<gchristensen>
ah
<niksnut>
this is integrated with the binary cache mechanism
<contrapumpkin>
\o/
cpennington has joined #nixos
Rizy has joined #nixos
<gchristensen>
nice!
<clever>
niksnut: oh yeah, when using "nix copy --to local?root=/mnt" it complains about things not being signed, i had to pass a --option to entirely disable signatures
<gchristensen>
LnL: sorry I didn't mean GEM_PATH, but GEM_HOME
<gchristensen>
it seems ruby -I <that_path> is not equivalent to GEM_HOME=<that_path> ruby
<clever>
niksnut: even if i put a secret-key-files and matching binary-cache-public-keys in nix.conf
<clever>
niksnut: so the nix-daemon appears to be unable to sign things its passing to nix copy?
<LnL>
gchristensen: yeah it's just the loadpath not sure if you can then
<gchristensen>
I'll try `#!/usr/bin/env GEM_HOME="${env}/${env.ruby.gemPath}" ${env.ruby}/bin/ruby` then :)
<gchristensen>
ah, no, that doesn't work for some reason. *sigh* I'll just make a wrapper.
<LnL>
heh, can't you use bundler to do that for you?
<gchristensen>
eh?
drakonis_ has joined #nixos
drakonis__ has joined #nixos
drakonis has quit [(Read error: Connection reset by peer)]
<LnL>
a bundler binstub will do something similar for you
dhess2`` has quit [(Ping timeout: 258 seconds)]
drakonis_ has quit [(Read error: Connection reset by peer)]
<gchristensen>
oh these are _far_ too evil, lnl
drakonis has joined #nixos
drakonis_ has joined #nixos
drakonis__ has quit [(Read error: Connection reset by peer)]
digitus has joined #nixos
MercurialAlchemi has joined #nixos
drakonis has quit [(Ping timeout: 258 seconds)]
drakonis has joined #nixos
drakonis has quit [(Read error: Connection reset by peer)]
drakonis has joined #nixos
drakonis_ has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vybld
<NixOS_GitHub>
nixpkgs/master 853d01f Shea Levy: terraform: disable tests on old versions
<smw>
Dezgeg, gchristensen: aarch64 on hydra. Love you guys :-D.
<gchristensen>
:) <3
<adelbertc>
how do i get a shell with only the specified settings (e.g. PATH) for a package? I thought `nix-shell -A <pkgname>` would do it but looks like it still keeps my old PATH
<NixOS_GitHub>
[nixpkgs] edolstra pushed 10 new commits to master: https://git.io/vybRI
<NixOS_GitHub>
nixpkgs/master 3ab897c Eelco Dolstra: gconf: Use a dev output...
ndowens08 has joined #nixos
orivej has quit [(Quit: No Ping reply in 180 seconds.)]
adfaure has quit [(Remote host closed the connection)]
rdesfo[m] has joined #nixos
orivej has joined #nixos
<ToxicFrog>
clever: re /proc/*/environ: thanks for the pointer. That's going to be tricky because the program doesn't really run. I've gotten as far as I have by adding xterm to steam as a non-steam game, starting that, and then trying to start the game from inside it (and once I've made it that far I can just use `env`)
<ToxicFrog>
clever: ok, that actually helped a great deal by revealing that the environment in the xterm and the environment steam itself is running in are wildly different, so I've been chasing down a red herring
<sphalerite>
`git log nixos/modules/virtualisation/container*` doesn't have a huge amount of output
ixxie has joined #nixos
drakonis has quit [(Ping timeout: 260 seconds)]
<ToxicFrog>
This is weird. I updated from 16.09 to unstable and one of my systemd units stopped working because my custom ExecStart value got appended to the file rather than overriding the ExecStart that it has by default o.O
c0bw3b has joined #nixos
rrrr has left #nixos []
takle has quit [(Remote host closed the connection)]
mexisme has quit [(Ping timeout: 240 seconds)]
drakonis__ is now known as drakonis
<c0bw3b>
what does the "officialRelease" boolean mean in the build inputs of a build on hydra ?
<c0bw3b>
gchristensen: ah thanks for the pointer :)
ndowens08 has joined #nixos
<gchristensen>
:)
nschoe has quit [(Quit: Program. Terminated.)]
takle has joined #nixos
ndowens08 has quit [(Client Quit)]
ambro718 has joined #nixos
<ToxicFrog>
Oh, I just noticed "We now allow packages to be marked insecure, and you have to opt-in to install insecure packages similarly to how you opt in to non-free software." in the newsletter
<ToxicFrog>
Does this mean insecure software is going to be hidden in package searches the same way nonfree software is?
<lewo>
ronny, here?
praduca has quit [(Remote host closed the connection)]
<c0bw3b>
ToxicFrog: yes indeed. One example would be "libplist"
<ToxicFrog>
Dammit.
<ToxicFrog>
I really need to get that patch for the nixos website package list submitted; at least if it gets rejected I'll know I tried.
<ToxicFrog>
(it will probably get rejected)
<c0bw3b>
ToxicFrog: thre is only 4 packages mark as insecure ATM : libplist, webkitgtk 2.4, mailpile and jboss 7
<c0bw3b>
*there
drakonis has quit [(Ping timeout: 240 seconds)]
<c0bw3b>
eeww.. Hydra seems down
<ToxicFrog>
c0bw3b: ok, so it is at least not nearly as major a problem as with nonfree software
<ToxicFrog>
It'd still be nice to have some visibility, though.
<gchristensen>
hnnng ...networking that stops working is hard
<ToxicFrog>
I'm super jetlagged right now, maybe this is something I can work on in the morning while everyone else is asleep.
<c0bw3b>
I don't think is could be a problem.. yet. :) Plus it's for a really good reason
<c0bw3b>
^^
<c0bw3b>
gchristensen: stops working as in losing wifi signal or as in losing the entire network stack? :p
<gchristensen>
c0bw3b: as in some change in bridge networking and-or-containers-and-or-something-else broke my nix tests :(
<gchristensen>
and it is super opaque to me, hard for me to debug
<c0bw3b>
ew yheah so tricky situation to debug :p
<ToxicFrog>
c0bw3b: fair. The main issue I had with nonfree is that it hides all the packages and doesn't tell you that it's doing so, so the natural reaction is to start writing derivations for those packages, duplicating effort.
griff_ has joined #nixos
<c0bw3b>
Yes it could be a source of confusion
acarrico has quit [(Ping timeout: 260 seconds)]
<c0bw3b>
maybe nix-env could hint user about the possibility of uncovering unfree pkgs
<c0bw3b>
but it's always tricky because licensing is always an hot topic
<ToxicFrog>
The angle of attack I'm working on right now is (a) fix nixos.org package list to show license information; (b) add prominent "include unfree" and "include broken" tickboxes that default to off
<ToxicFrog>
Since I usually use nixos.org since it's way faster than nix-env
<ToxicFrog>
(and the arguments about how to handle this in nix-env are more contentious)
<c0bw3b>
Agreed. I do the same to search packages (although 'nox' is a good tool if you only have access to a shell)
<ToxicFrog>
There's already a PR to include nonfree and broken packages in the packages.json, but since the website doesn't currently display license information or any way of filtering, it hasn't been marged.
<c0bw3b>
oh there is? do you have its number ?
<c0bw3b>
I've browsed some of the old PRs but did not catch that
<lewo>
ronny, could you explain a little bit more why garbas doens't want to use python deps from nixpkgs
acarrico has joined #nixos
<c0bw3b>
ToxicFrog: humm so it's a long shot + edolstra will block it... ^^ thin chance to actually see unfree listed on packages.html in our lifetime
<lewo>
ronny, (it's annoying regarding setuptools since it has several deps...)
orivej_ has joined #nixos
orivej has quit [(Ping timeout: 264 seconds)]
<ToxicFrog>
c0bw3b: I am hoping that with the license clearly displayed + nonfree packages not being the default it'll get through
<ToxicFrog>
Other people seem generally ok with that
<ToxicFrog>
And having nonfree packages hidden as they are is both a more hardcore stance than even distros that are quite militant about free software take like Debian, and has wasted a lot of user time
<FRidh>
lewo: you could use an older version of setuptools that vendors all its dependencies, thereby bypassing the whole bootstrapping issue. Or, perhaps even easier, is to just grab https://github.com/pypa/pkg_resources
<c0bw3b>
I don't use but I can totally how it could be a loss of time for user yes!
<c0bw3b>
*don't use unfree
MP2E has quit [(Quit: reboot)]
MP2E has joined #nixos
<c0bw3b>
ToxicFrog: i'm thinking it could be easier to lobby the developer of 'nox' to provide the ability to search among _all_ pkgs and display unfree/broken/insecure in another color or something
<ronny>
lewo: because he would then loose control over various things - he an invest only so much time into things and needs a working system
<FRidh>
lewo: in any case, I think the change should be made in the pypi2nix repo
<ToxicFrog>
c0bw3b: I'm not familiar with nox at all, but I'll give it a look
<ronny>
lewo: bascially the python infra in nix doesnt met the api stability requirements he currently has to fullfill
<lewo>
I only use pkg_resources but it depends of at least modules six, packaging
<ToxicFrog>
And yeah, I spent several hours trying to package sublime text and a few other nonfree packages I use before learning that they're already packaged, just hidden
<ToxicFrog>
And someone else falls into the same trap in here at least once a month since I've been looing
<ronny>
lewo: tbh by now i stingly believe its a major issue that nix infrastructure fixpoints for different things are all in one massive slow moving git repo
<ronny>
lewo: it should be possible to use different versions of the python packagesets in different parts of the sytem
<ToxicFrog>
Ooo, nox looks nice
<ronny>
(then pypi2nix could move at a different controlled path
<ToxicFrog>
Would it be worth filing an issue with nox for this?
<ToxicFrog>
I still want to get it fixed properly, but that might be useful in the menatime
goibhniu has quit [(Ping timeout: 268 seconds)]
revtintin has joined #nixos
mudri has joined #nixos
<ronny>
lewo: FRidh but bascially, atm nix is lacking any kind of infrastrucutre for using and combining multile library sets
<c0bw3b>
ToxicFrog: probably ok to ask if it could be done yes
<ronny>
and it will probably be a massive undertaking to even gt to a basic version of something like that
teknico has left #nixos []
<ToxicFrog>
whups, toddlebot is awake, no more programming for now
k2s has joined #nixos
<gchristensen>
god, I love that nixos is all in one repo
<gchristensen>
it is astoundingly valuable to be able to bisect
<lewo>
yep, I think it would be very hard to handle versionning if we cannot use git ;)
marsam has quit [(Remote host closed the connection)]
dhess2`` has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] pstn opened pull request #24134: Added option and description for nix store auto-optimisation. (master...nix-auto-optimise) https://git.io/vybQ0
<joepie91>
gchristensen: hmm... I think multi-repo bisect is technically viable to implement
griff_ has joined #nixos
<joepie91>
gchristensen: you'd just take a union of all the commits in every repository, then cut the commit space in half, and for each repo check out the commit that was at HEAD at the time of the commit in the middle
<maurer>
Where's the documentation for the security.wrappers option?
mudri has quit [(Ping timeout: 240 seconds)]
<maurer>
security.setuidPrograms has stopped working, and wrappers doesn't seem to be listed in the manual
<garbas>
lewo: hey! sorry for late reply but i'm a bit busy with my neborn :P
<maurer>
(which is the configuration thing setuidPrograms points me at)
k2s has quit [(Remote host closed the connection)]
<lewo>
garbas, hi. No problem. Some other people helped me ;)
<maurer>
(just changing setuidPrograms to wrappers doesn't work, since evidently wrappers expects a set, but I don't know the format of that set)
<garbas>
lewo: i got this question few times now. i guess it would be better to include it into the README.txt
endformationage has joined #nixos
adjective has quit [(Read error: Connection reset by peer)]
<garbas>
lewo: for the setuptools problem. currently we have to manually bump it in the repo (for now).
<gchristensen>
joepie91: nooopenopenopenope it is the most pain
<lewo>
garbas, yep, I'm looking for a setuptools archive that embeds all required deps
<joepie91>
gchristensen: why? what am I missing? :P
<simpson>
joepie91: Yes, that works, but only if you're able to take that union cleanly, *and* that can ignore that a breaking change might have been introduced based on a non-monotonic workflow (e.g. repo B's broken commit worked fine on a very out-of-date version of repo A)
tokudan has joined #nixos
<asymmetric>
hi, i'm trying to update the derivation for magic-wormhole to the latest version, and there's a problem with a new dependency, ipaddress:
<asymmetric>
Could not find a version that satisfies the requirement ipaddress (from magic-wormhole==0.9.2) (from versions: )
<asymmetric>
^ that's the output of nix-build -A python35Packages.magic-wormhole
<asymmetric>
i don't understand though, the definition for ipaddress _is_ there
<maurer>
OK, I got it working by reading the nix source, but wow this is a lot more clumsy
kampfschlaefer has joined #nixos
<carlosdagos>
hi all, I want to create a nixos bootable usb using an osx machine, I found the wiki page at https://nixos.org/wiki/Installing_NixOS_from_a_USB_stick but for osx would it be better to just use Disk Utility for that?
<ronny>
asymmetric: the version availiable in nix doesn not match the requested version of the latest magic_wormhole
<simpson>
asymmetric: And you included it in the build inputs?
<simpson>
Ah, ronny's further than me.
<ronny>
asymmetric: as such you need to package an older version of ipaddress before you can make a version of magic_wormhole
<ronny>
asymmetric: this will likely end up as pain
<asymmetric>
ronny: i updated ipaddress in my branch to the latest (1.0.18), and run the command again
nliadm has joined #nixos
<asymmetric>
but same error
<ronny>
lewo: oh, and thats another reason why garbas makes own python pckagesets - version conflicts all over the place all the time
<ronny>
asymmetric: without more context i cant help, perhaps open a pr so we can see what you did?
spinus has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vybd8
<NixOS_GitHub>
nixpkgs/master 7151e74 Franz Pletz: nixos: enable nginx test...
<garbas>
ronny: actually the major reason is that "humans" are currently responsible for bumping up version and nobody has a clue what they are breaking.
tsmeets[m] has joined #nixos
<garbas>
ronny: i rather prefer `pip` doing this for me.
<garbas>
also python packaging is a problem in general :)
justbeingglad has quit [(Remote host closed the connection)]
<asymmetric>
the only difference is that i added ipaddress to propagatedBuildInputs and changed version and hash
takle has quit [(Remote host closed the connection)]
<nliadm>
anyone using weechat on a non-NixOS distro? I'm having to tell explicitly set LUA_CPATH and it's annoying. The wrapper doesn't seem to set the LUA variables
<steveeJ>
can I work with bundler impurely?
<asymmetric>
nliadm: i do, didn't have to set it
<nliadm>
do you use any lua scripts with C extensions?
<steveeJ>
I want an out-of-store bundler installation directory, I don't know what I'm saying really cause bundler is new to me anyway
<joepie91>
simpson: mm, yeah, I'm assuming that all the repos are always up to date
<asymmetric>
nliadm: nope
<joepie91>
:P
<asymmetric>
or at least, not that i know of
<nliadm>
ah, okay. Well, that's where I'm running into this, with the weechat matrix plugin needing lua-cjson
<ToxicFrog>
Hah! I have it working locally.
<ToxicFrog>
License is now a list of license names which link to the SPDX license pages
<lewo>
garbas, ronny FRidh I updated the PR. Thanks fro your help
<eacameron>
When I boot up my VM the mount in "fileSystems" isn't mounted. Running nixos-rebuild switch mounts it. How can I get it to mount automatically?
ixxie has quit [(Ping timeout: 256 seconds)]
revtintin has quit [(Quit: WeeChat 1.7)]
<c0bw3b>
what if... fetching in NixOS relied entirely on a static build of aria2c to avoid rebuilding the world when curl is touched? \o/ (shut up brain, no one cares)
<c0bw3b>
:p
marsam has joined #nixos
<ToxicFrog>
Wow, there's a lot of packages that just straight up don't have license info.
mojjo has joined #nixos
drakonis has joined #nixos
<gchristensen>
c0bw3b: curl doesn't trigger mass rebuilds due to fetching
<c0bw3b>
gchristensen : no but the good old libnghttp2 -> curl -> mass-rebuild is painful :/
<LnL>
gchristensen: are you sure, I think there's still a lot of stuff that will rebuild
<gchristensen>
curl doesn't trigger mass rebuilds due to _fetching_
<gchristensen>
the mass-rebuild status of curl is because lots of things depend upon it, not because of fetching
katyucha is now known as Guest25285
Guest6499 is now known as katyucha
<gchristensen>
this is because fetchers are fixed-output so the inputs are not meaningful
<LnL>
yes but isn't there a bunch of stuff that links against it
<gchristensen>
of course
<c0bw3b>
ToxicFrog: "nox sublime" actually shows sublimetext and sublimetext3 so it is already showing unfree !?
<gchristensen>
"what if... fetching in ... to avoid rebuilding the world when curl is touched" <- curl isn't causing rebuilds due to fetching, is what I was replying to
<LnL>
I think it's a significant amout, don't remember
<LnL>
ah
<LnL>
yeah, it was pretty painful when the darwin stdenv depended on curl
<c0bw3b>
gchristensen: yes ok i got that wrong
<c0bw3b>
TIL
<gchristensen>
:A)
<contrapumpkin>
yeah, this part of the reason you can update the mirrors list without causing mass rebuilds
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vybpR
<NixOS_GitHub>
nixpkgs/master c13922f Franz Pletz: nginx: explicitly use stable version...
derjohn_mob has joined #nixos
takle has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 3 new commits to release-17.03: https://git.io/vybp9
<NixOS_GitHub>
nixpkgs/release-17.03 77641e8 Susan Potter: nginx service: add commonHttpConfig option...
<NixOS_GitHub>
nixpkgs/release-17.03 a535c14 Franz Pletz: nixos: enable nginx test...
<NixOS_GitHub>
nixpkgs/release-17.03 5e4b43d Franz Pletz: nginx: explicitly use stable version...
<NixOS_GitHub>
[nixpkgs] pbogdan opened pull request #24135: lightdm-greeters service : add extraConfig option. (master...lightdm-gtk-greeter-extra-config) https://git.io/vybhq
takle has quit [(Ping timeout: 258 seconds)]
thip has quit [(Ping timeout: 264 seconds)]
dhess2`` has joined #nixos
<cptchaos>
hello, i'm pretty new to nixos and am trying to get an upgraded version of the platformio package (i would like to use the atom ide) to run and was wondering if someone with some python experience could lend me a hand with this :)
griff_ has joined #nixos
<ToxicFrog>
c0bw3b: awesome!
<drakonis>
so guix now has their own bundle command
AllanEspinosa has joined #nixos
<ToxicFrog>
Ok, now I just need nixos-homepage to have a license so that I can submit this patch
marsam has quit [(Remote host closed the connection)]
<hodapp>
ugh, what the hell is wrong now? after I spent a bunch of Friday getting this damn print server to work, now Avahi is reporting that its name is "nixprint-2.local" instead of nixprint.local and *again* it fails at the "Getting printer information..." thing
<hodapp>
all I did was reboot
<hodapp>
where does avahi even come up with these names?
dhess2`` has quit [(Ping timeout: 260 seconds)]
ugjka is now known as atomsucks
<hodapp>
and services.avahi.hostName is set to "nixprint"
marsam has joined #nixos
<drakonis>
use cups
<drakonis>
also avahi lol
<drakonis>
lol
<hodapp>
eh?
<drakonis>
i will try not to make fun of avahi for being badly written
<hodapp>
I am using CUPS; I have just been trying to get network printing to work right with autodiscovery
alx741 has quit [(Quit: alx741)]
atomsucks has quit [(Quit: ByE ByE)]
alx741 has joined #nixos
<drakonis>
also lennartware but yes
<drakonis>
it inexplicably breaks
derjohn_mob has quit [(Ping timeout: 240 seconds)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<eacameron>
Dezgeg: Thanks. I'm getting closer. But man I thought distributed builds was going to be easy. :/ I use them with nixops all the time so it must be that nixops does most of the leg work for you.
<gchristensen>
eacameron: are you on a mac?
ericsagnes has joined #nixos
<eacameron>
gchristensen: I'm in a NixOS VM (on a mac)
<eacameron>
gchristensen: I've used nixops on both mac and nixos before and it distributes builds only needing the NIX_REMOTE_SYSTEMS env
<eacameron>
But now I want to do it for just `nix-build` and it's much harder
<gchristensen>
I've not seen nixops distribute builds
<gchristensen>
except for on a mac host deploying to linux hosts, when you're not using the daemon on the mac
<eacameron>
gchristensen: Ah wait. Yes that's actually the only time I've seen it distribute builds as well.
<gchristensen>
you can't distribute builds as a regular user when nix is daemonized
<steveeJ>
clever: about the cross compilation thing we talked the other day. it doesn't look like the dependencies work for the cross compiler here. I'm trying to build busybox and it can't even find the libraries that come with the toolchain
eacameron has quit [(Remote host closed the connection)]
tokudan has quit [(Quit: Leaving)]
eacameron has joined #nixos
mog has quit [(Ping timeout: 240 seconds)]
skyraider_ has joined #nixos
<NixOS_GitHub>
[nixops] fakhreddinebb90 opened pull request #632: Adding `deployment.keyDirs` option to recursively deploy directories of keys (master...master) https://git.io/vyNRV
eacameron has quit [(Ping timeout: 260 seconds)]
<spinus>
anybody who uses nix containers, how to you deploy secrets to containers?
justbeingglad has joined #nixos
justbeingglad has left #nixos []
FRidh has quit [(Ping timeout: 268 seconds)]
<Ptival>
thanks a lot gchristensen, you saved me precious hours! :)
Dezgeg_ has quit [(Ping timeout: 256 seconds)]
<gchristensen>
Ptival: glad to hear it!
<gchristensen>
spinus: I don't, but i'd recommend looking at Vault
elninja44 has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
<LnL>
spinus: with a bindmount
<spinus>
gchristensen: I know Vault, I tried to avoid big boy tools as I just need to deploy small thing
ambro718 has quit [(Ping timeout: 246 seconds)]
<spinus>
LnL: that's interesting, thank I'll take a look
<LnL>
there's an option for it if you use declarative containers
<spinus>
I do
takle_ has quit [(Remote host closed the connection)]
marsam has quit [(Remote host closed the connection)]
<gchristensen>
spinus: fair enough!
hiratara has joined #nixos
periklis has quit [(Ping timeout: 258 seconds)]
drakonis_ has joined #nixos
<andymandias>
I'm trying to construct a pair of packages for printer drivers along the lines of the brgenml1cupswrapper and brgenml1lpr packages (which I'm using as a basis)
drakonis has quit [(Ping timeout: 268 seconds)]
<andymandias>
those are good as a basis for me, since the printer drivers I'm working on have the same format (Brother printer with similar drivers)
<andymandias>
so most of it converts simply, but when I try to print I'm left with this error: "sh: /nix/store/i9fywwlrpk7m9c18cyw2gqc72gmg6wfn-hll2340d-lpr-3.2.0-1/opt/brother/Printers/HLL2340D/lpd/rawtobr3: No such file or directory"
<andymandias>
even though that file does exist
fhoffmeyer1 has joined #nixos
<andymandias>
I'm guessing this is because the cupswrapper package is trying to access the components of the lpr package and being denied, but I'm not sure what the proper way to handle that is
takle has joined #nixos
<andymandias>
is there a standard mechanism for shared access to files between two packages, or should I be trying to combine the two packages in one?
cptchaos has joined #nixos
<gchristensen>
andymandias: can you run `ls -la` and `file` on that file, and pastebin the results?
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vyNui
<NixOS_GitHub>
nixpkgs/master 4bfde8f Willi Butz: martyr: fixed build, removed build.sh, added meta (see #23253)
fhoffmeyer1 has quit [(Ping timeout: 264 seconds)]
<andymandias>
definitely, just installing file now
<NixOS_GitHub>
nixpkgs/release-17.03 2ef4093 Tristan Helmich: heartbeat: init at 5.2.1...
<NixOS_GitHub>
nixpkgs/release-17.03 7e097d9 Tristan Helmich: metricbeat: init at 5.2.1...
aszlig_ is now known as aszlig
drakonis_ has quit [(Ping timeout: 240 seconds)]
<nckx>
samae: sorry, I was away for most of the week-end. Thanks for posting the CRDA solution! If that's all that's needed to make it work, I'll add it to the package description.
<nckx>
...aand they're gone.
* nckx
does it anyway.
<NixOS_GitHub>
[nixpkgs] vcunat pushed 3 new commits to staging-17.03: https://git.io/vyNg5
<NixOS_GitHub>
nixpkgs/staging-17.03 820b096 Peter Hoeg: kmod-blacklist-ubuntu: 9.3 -> 22.1...
<NixOS_GitHub>
nixpkgs/staging-17.03 c4ff112 Peter Hoeg: kmod: 23 -> 24...
<NixOS_GitHub>
nixpkgs/staging-17.03 2722b1c Vladimír Čunát: Merge #23983: update kmod and kmod-blacklist-ubuntu
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
hiratara has joined #nixos
dhess2`` has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
mog has joined #nixos
takle has joined #nixos
yerbatin has joined #nixos
carlosdagos has quit [(Quit: WeeChat 1.7)]
thc202 has quit [(Ping timeout: 240 seconds)]
<pmade>
What the hell did I do wrong? I'm running nixos-install with an almost blank configuration.nix and it's building spidermokey for god's sake!
<yerbatin>
hi. i've been struggling to override the version and sha256 in config.boot.kernelPackages.prl-tools for the last hour or so. i have the following in a file included by configuration.nix https://paste.debian.net/922903/
<c74d>
pmade: what's in the configuration.nix?
<pmade>
It's the one generated by nixos-generate-config with a grub line uncommented.
<pmade>
I must have screwed something up.
<pmade>
The build just finished, I'm going to check things out.
<pmade>
I don't get it. Everything is commented out except Grub lines.
carlosdagos has joined #nixos
<yerbatin>
can i override a module? so that hardware.parallels.enable = true becomes something like (hardware.parallels.override {}).enable = true
carlosdagos has quit [(Quit: WeeChat 1.7)]
mkoenig has quit [(Remote host closed the connection)]
carlosdagos has joined #nixos
fhoffmeyer1 has joined #nixos
skyraider_ has quit [(Changing host)]
skyraider_ has joined #nixos
bitonic has quit [(Changing host)]
bitonic has joined #nixos
yerbatin has quit [(Changing host)]
yerbatin has joined #nixos
fhoffmeyer1 has quit [(Ping timeout: 240 seconds)]
calvertvl has joined #nixos
amir_ has quit [(Ping timeout: 245 seconds)]
takle has quit [(Remote host closed the connection)]
amir has joined #nixos
<NixOS_GitHub>
[nixpkgs] qknight pushed 1 new commit to master: https://git.io/vyNox
<NixOS_GitHub>
nixpkgs/master 91debcb Joachim Schiele: Update python.md (#23669)...
cpennington has quit [(Remote host closed the connection)]
digitus has quit [(Quit: digitus)]
marsam has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] volth opened pull request #24142: kernel: do not remove .o files on installPhase (master...kernel-builder-to-keep-files) https://git.io/vyN6R
erasmas has quit [(Quit: leaving)]
Rizy has joined #nixos
takle has joined #nixos
alunduil has joined #nixos
yerbatin has quit [(Quit: Page closed)]
takle has quit [(Ping timeout: 256 seconds)]
<alunduil>
Anyone else having issues with pcscd, ccid, and smart cards after some updates between yesterday and today?
otti has quit [(Remote host closed the connection)]
desktop has joined #nixos
desktop is now known as _deepfire
sophiag has joined #nixos
<sophiag>
ugh, just got disconnected right after asking a question about setting keys for ghci directly in configuration.nix. not sure if anyone saw that or not?
skyraider_ has quit [(Quit: Connection closed for inactivity)]
c0bw3b has left #nixos []
<gchristensen>
sophiag: no
<_deepfire>
anyone seen any qt5base-related QT application build errors?
<_deepfire>
I'm wondering because I suffer from such one on master for days, and haven't seen a bug report yet : -)
<sophiag>
ah ok. someone helped me out yesterday with installing haskell packages directly in configuration.nix (turns out i was only missing including myHaskellEnv in pkgs) and now i'm wondering if i could do the same with keys that the manual says should be in ghci.conf. i'd just like to configure it for hoogle and docs
fhoffmeyer1 has joined #nixos
<c74d>
sophiag: you mean you want to create a ghci.conf from configuration.nix?