<clever>
ijophst: there is even an entire nix expression, that will run substituteAll on a given file, and just takes an attrset of things to replace
systemfault has joined #nixos
<ijophst>
Cool! Free software is so amazing.
<clever>
yep
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
<jeremejevs>
clever: Okay, it's working, but I'm not trying to figure why X/SLiM isn't starting, and journal isn't helping...
<jeremejevs>
*now
<clever>
jeremejevs: systemctl status display-manager
AllanEspinosa has quit [(Ping timeout: 252 seconds)]
[0x4A6F] has joined #nixos
<jeremejevs>
It's failed
<clever>
it should also show some of the journal
<jeremejevs>
Yeah, I've grepped through journalctl -u display-manager, there was nothing of interest; the only (EE) messages were from libinput, not related to this. It doesn't say why it failed.
<clever>
can you gist the last ~50 lines of that journal?
<jeremejevs>
There are just generic systemd messages (unit entered failed state, etc.)
<jeremejevs>
clever: Okay, too sleepy for this... Thanks for the tips, will continue tomorrow! Just tried nix-store and nixos-rebuild with --repair, to no avail (though it did repair some python package)
<shanemikel>
I'm getting a strange response from ldd. running `ldd /home/shane/somefile`, and getting response: `/run/current-system/sw/bin/ldd: line nn: /home/shane/somefile: no such file or directory`
ilyaigpetrov has joined #nixos
<clever>
shanemikel: and if you run 'file' on that binary?
<clever>
shanemikel: what interpreter does it have?
<shanemikel>
oh.. I see.. /lib64/ld-linux-x86-64.so.2
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/vSbIg
<NixOS_GitHub>
nixpkgs/master 9169f3c John Ericson: release-cross: Fix typo preventing evaluation
<NixOS_GitHub>
nixpkgs/master 1832a34 John Ericson: Merge pull request #24981 from Ericson2314/fix...
byteflame has quit [(Ping timeout: 252 seconds)]
<shanemikel>
clever: hey, given that we don't have an apt-file like database, what's the easiest way to discover the derivation names of missing libs?
<shanemikel>
short of using find (assuming they're not all installed, that is)
AllanEspinosa has joined #nixos
nicknovitski has quit [(Ping timeout: 240 seconds)]
<calvertvl>
shanemikel: my guess would be to look at all-packages.nix for some significant part of the library name, unless there's a purpose-built tool
<calvertvl>
I'll also note that if it is a multi-output derivation, you'll have to look at the definition too
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #24982: release-cross: Fix more typos---this is embarrising (master...fix) https://git.io/vSbLO
<NixOS_GitHub>
[nixpkgs] Ericson2314 closed pull request #24982: release-cross: Fix more typos---this is embarrising (master...fix) https://git.io/vSbLO
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
nicknovitski has joined #nixos
nicknovitski has quit [(Ping timeout: 252 seconds)]
filterfish_ has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 268 seconds)]
mbrgm has joined #nixos
ebzzry has joined #nixos
<clever>
shanemikel: nox, command-not-found, and just grep against nixpkgs are my main tools
<clever>
shanemikel: and sometimes, i apt-file a debian based machine to turn the lib into a package name, then use the above tools to find that package in nix
ambro718 has quit [(Ping timeout: 260 seconds)]
<clever>
shanemikel: the homepage is also usualy declared in nix packages, so if you can find that, grep nixpkgs for it
filterfish_ has joined #nixos
derjohn_mob has quit [(Ping timeout: 258 seconds)]
marusich has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
takle has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #24983: [WIP] Cross compilation changes, with enphasis on (haskell) GHC HEAD (master...cross-haskell) https://git.io/vSbqA
byteflame has joined #nixos
derjohn_mob has joined #nixos
nckx has quit [(Quit: restarting my ZNC)]
nckx has joined #nixos
byteflame has quit [(Ping timeout: 258 seconds)]
takle has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
<shanemikel>
clever: okay, I've got most of them.. one problem.. this bin ships with it's own Qt libs, that are linked fine, but when I start patching for other nix libs (not including Qt nix), all the sudden the shipped Qt libs change from resolved to DT_NEEDED
zeus_ has quit [(Ping timeout: 245 seconds)]
<shanemikel>
I'm gonna grab a quick bite, but I'll be back soon
<clever>
shanemikel: some things like teamspeak have the packagd QT deleted, and its switched to the nixpkgs QT
danharaj has joined #nixos
<myguidingstar>
hi all, I'm trying NixOps with GCE but the remote machines got this error "rm: cannot remove '/var/setuid-wrappers': Device or resource busy"
<clever>
hyphon81: look at the very first line of text, 'The NixOS wiki is outdated and is being shut down. If you wish to add or improve NixOS documentation, please grab a ticket from the Move the wiki! milestone'
takle has quit [(Ping timeout: 260 seconds)]
<timclassic>
Is there documentatin on how changes on master make their way to a stable channeL?
<clever>
that page also links to the test jobs within hydra
<clever>
and once the test is all green, the channel should update
roconnor has joined #nixos
zeus_ has joined #nixos
byteflame has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<timclassic>
clever: So, if package versions change within the lifecycle of a release (e.g. 17.03), what distinguishes one release from the next?
<clever>
i believe releases like 16.09 and 17.03 wont get version changes, only bug fixes
<timclassic>
(Perhaps this would be clearer to me already if I were running actual NixOS)
<clever>
so the stability of the channel will increase over time
<timclassic>
Ah, okay, so it is similar to Debian/Red Hat/etc. in that way
<benley>
(generally)
<benley>
sometimes things get version bumps if it makes more sense to do that
<clever>
some programs like firefox, chrome, and teamspeak are an exception
<benley>
e.g. google-chrome
<benley>
yeah
<clever>
teamviewer*
<clever>
tv for example, refuses to even run if its out of date
<timclassic>
Sure, updating browsers makes sense
jeremejevs has quit [(Quit: Connection closed for inactivity)]
<benley>
speaking of teamviewer, why in the hell does that damn thing require a daemon running as root just to use the tv *client*?
<timclassic>
So the patch I just made to nixpkgs master won't appear in 17.03?
<clever>
benley: because the server and client are tighyly integrated
<benley>
timclassic: probably not automatically - is it something that should be backported?
<timclassic>
benley: Thanks for the merge.
<clever>
benley: and the connect button doesnt even render on nixos, so its 100% unusable
hexagoxel has quit [(Ping timeout: 260 seconds)]
<benley>
timclassic: oh is that docker layering change yours? We could totally cherrypick that to 17.03.
<timclassic>
benley: Yeah, that's the one. My gut says it should be backported but I don't really know the ropes here :)
<benley>
clever: I was able to use teamviewer to do family tech support last week from nixos...
<clever>
benley: ah, its been broken so much i dont even bother trying it
takle has joined #nixos
<clever>
benley: i just use an android tablet
byteflame has quit [(Ping timeout: 255 seconds)]
<benley>
timclassic: I'm inclined to do it, since it's a pretty minor change that is arguably a bugfix
<timclassic>
benley: Cool. Is that a process I should kick off somehow, or do I just leave it up to you?
mguentner has quit [(Quit: WeeChat 1.7)]
<benley>
timclassic: you can open another PR if you want - or I could just push it now :-P
<timclassic>
benley: Pusing it now sounds great to me! But I'm happy to open a PR if that's better from a process perspective.
<benley>
I'm actually not entirely clear on this - do we actually have a formalized process around release-branch changes?
<timclassic>
Would it be correct to say that branches like release-17.03 are "dead-ends", in that they never get merged anywhere and generally only receive backported fixes from master?
hexagoxel has joined #nixos
<benley>
yes
<benley>
(afaik)
davidak has quit [(Quit: Leaving.)]
<timclassic>
Thanks.
takle has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub>
[nixpkgs] benley pushed 1 new commit to release-17.03: https://git.io/vSbsK
<NixOS_GitHub>
nixpkgs/release-17.03 ea2d55d Tim Stewart: docker: improve reproducibility of layers...
<benley>
^^^ there it is
mguentner has joined #nixos
<timclassic>
Boom! Now I don't have to maintain a local rebase of release-17.03 :) Thanks benley.
<benley>
I always end up having a local branch that I keep rebasing on stable releases :-P
<benley>
for app backports and stuff
takle has joined #nixos
<timclassic>
Ah yeah, that's what I did with 16.09 but I'm trying to do everything via the new overlay mechanism this time.
<timclassic>
It's like a language-level rebase, heh
<benley>
oh yeah I need to try that
<copumpkin>
Mic92: you around? looking at google images
zraexy has quit [(Ping timeout: 240 seconds)]
nicknovitski has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
mguentner2 has joined #nixos
mguentner has quit [(Ping timeout: 255 seconds)]
zraexy has joined #nixos
schoppenhauer has quit [(Ping timeout: 252 seconds)]
earldouglas has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
schoppenhauer has joined #nixos
<earldouglas>
Is there a way to flatten a list of sets into a set? [ { foo = bar; } { baz = raz; } ] => { foo = bar; baz = raz; }
<clever>
so i think it will iterate over every entry in the list on the spot, but might just wind up creating a chain of 20 thunks
<benley>
so many thunks
<clever>
so the only perf cost, is the size of the list
<clever>
so the return values arent forced, and thunks get passed back into the lambda
<benley>
it would be pretty handy if there were a way to get a primop's type signature out of nix-repl, like :type does in ghci
<benley>
or yknow. if nix had a type system. heh
sellout- has quit [(Quit: Leaving.)]
takle has joined #nixos
<earldouglas>
I would find a Hoogle for Nix pretty handy.
<earldouglas>
Noogle
<benley>
Nooxle
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
takle has quit [(Ping timeout: 255 seconds)]
marusich has quit [(Quit: Leaving)]
filterfish_ has joined #nixos
takle has joined #nixos
filterfish__ has quit [(Remote host closed the connection)]
<dmj`>
NixoogleOS
filterfish__ has joined #nixos
<clever>
static void prim_genList(EvalState & state, const Pos & pos, Value * * args, Value & v)
filterfish_ has quit [(Read error: Connection reset by peer)]
<clever>
does this do what i think it does?, *tries*
<clever>
nix-repl> builtins.genList (n: n) 6
<clever>
[ 0 1 2 3 4 5 ]
ryanartecona has joined #nixos
<clever>
yep, i wrote that in raw nix just last week, lol
<benley>
... why is that a primop?
byteflame has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
<clever>
it appears to generate a list of numbers from 0 to n-1, and also maps f over them
<clever>
from = start: end: if start == end then [ end ] else [ start ] ++ (from (start+1) end);
<clever>
this is what i had written a few weeks ago
pwig has joined #nixos
<pwig>
Hey all, I'm trying to install NixOS on a late 2016 Dell XPS 13 but booting up doesn't show the NVME drive. I tried setting the device in the bios from raid to apci but this breaks windows. I don't see any issues from other distros so could this be due to missing a driver? I'm not sure how to debug. Thanks.
<benley>
zomg, I had forgotten that things like __add exist as primops. Is it a terrible idea to use that in places where I wish nix would let me do (+) as a function?
elninja44 has quit [(Remote host closed the connection)]
takle has joined #nixos
<benley>
oh er, I guess I mean builtins.add
<benley>
which should be fine
ebzzry has joined #nixos
byteflame has quit [(Ping timeout: 268 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
<myguidingstar>
I'm trying NixOps with virtualbox but all examples ended up with this error: ssh: connect to host {{some_assigned_ip}} port 22: Connection timed out
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
<myguidingstar>
any idea?
myguidingstar_ has joined #nixos
takle has joined #nixos
myguidingstar has quit [(Ping timeout: 252 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
<myguidingstar_>
clever, can you help with the above question again?
<clever>
myguidingstar_: ive seen a number of people with network issues like that in nixops+vbox, dont remember what the answers where
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Mutter has joined #nixos
Mutter has quit [(Client Quit)]
myguidingstar_ has quit [(Quit: Some cause happiness wherever they go; others whenever they go. - Oscar Wilde)]
pie_ has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
alx741 has quit [(Quit: alx741)]
takle has quit [(Ping timeout: 240 seconds)]
tnks has quit [(Ping timeout: 240 seconds)]
tnks has joined #nixos
filterfish_ has joined #nixos
filterfish__ has quit [(Remote host closed the connection)]
zeus_ has quit [(Remote host closed the connection)]
ryanartecona has quit [(Quit: ryanartecona)]
Mercuria1Alchemi has joined #nixos
marsel has joined #nixos
paperdigits has joined #nixos
byteflame has joined #nixos
aneeshusa has quit [(Quit: WeeChat 1.7)]
byteflame has quit [(Ping timeout: 255 seconds)]
calvertvl has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
freusque has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
marsel has quit [(Ping timeout: 268 seconds)]
paperdigits has quit [(Quit: WeeChat 1.7)]
plumps has joined #nixos
plumps has quit [(Client Quit)]
plumps has joined #nixos
nicknovitski has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
reinzelmann has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
MichaelRaskin has quit [(Remote host closed the connection)]
<hyper_ch>
hi there, I have a seperate .nix file for quiterss.... until I yesterday it worked fine... now I get errors. For some reasons qmake now shows the --help info but I have no idea why: https://paste.simplylinux.ch/view/c36e2373
<hyper_ch>
any input?
takle has joined #nixos
delta_ has joined #nixos
delta_ is now known as Guest28669
kuznero has joined #nixos
<kuznero>
Hi All!
<sphalerite>
hyper_ch: maybe try adding set -x in preConfigure to see what command it's invoking. Maybe it's not passing any parameters to qmake or something
<hyper_ch>
sphalerite: where to set that?
hotfuzz_ has quit [(Read error: Connection reset by peer)]
<hyper_ch>
there's no preConfigure
<sphalerite>
hyper_ch: yes, just add preConfigure = "set -x"
<sphalerite>
then you'll get each command that happens after preConfigure printed out
<kuznero>
What is the process of getting changes from nixpkgs repository into nixpkgs-channels/nixos-unstable?
<sphalerite>
kuznero: waiting for hydra to build it
<kuznero>
sphalerite: my change was accepted yesturday, does it really take that long?
<hyper_ch>
ok, I see now the qmake command but still no idea what's wrong or how to fix it
<Guest28669>
Hey folks, I have a question; I wanted to build slock with the pam patch, so I overrided it in my .nixpkgs/config.nix, added the patch, and added 'pam' to buildInputs, but I get an error about a missing 'security/pam_appl.h'. env-vars shows that pam's /bin is in PATH, but /include and /lib aren't in NIX_CFLAGS_COMPILE and NIX_LDFLAGS, respectively. I was under the impresssion that adding a package to buildInputs will automatically
endformationage has quit [(Quit: WeeChat 1.7)]
FRidh has joined #nixos
<sphalerite>
hyper_ch: looks to me like it might be expecting the .pro file as one of the parameters
<hyper_ch>
sphalerite: I have no idea what a .pro file is
<sphalerite>
Guest28669: you probably need overrideAttrs, not override. How did you override it?
<NixOS_GitHub>
[nixpkgs] taktoa opened pull request #24985: Upgraded MinGW-W64 to stable version 5.0.2 (master...mingw-upgrade) https://git.io/vSbEP
<sphalerite>
overrideDerivation has some issues which might be at the root of your problem, but I'm not sure. In any case, overrideAttrs is meant to replace it
<Guest28669>
sphalerite: That did the trick, thanks!
<sphalerite>
great!
<sphalerite>
hyper_ch: sorry, I don't know then
<hyper_ch>
and the dir mentioned is gone of course :(
<hyper_ch>
so I can't even check if the file is in there
<Guest28669>
sphalerite: btw, I don't remember reading about overrideAttrs, is there any documentation about it (and differences between override, overrideDerivation, etc.) ?
<kuznero>
sphalerite: thanks, I found my package (fsharp41), it is green. So, I guess I am waiting for the rest of the packages to complete before nix-env -i -f unstable...
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to release-17.03: https://git.io/vSbuk
<NixOS_GitHub>
nixpkgs/release-17.03 2da9af9 Frederik Rietdijk: Python docs: Python 2.x namespace packages may collide when using .withPackages...
takle has quit [(Ping timeout: 255 seconds)]
marsel has joined #nixos
bennofs has joined #nixos
nschoe has joined #nixos
khebbie has joined #nixos
filterfish_ has quit [(Ping timeout: 260 seconds)]
thc202 has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
civodul has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
plumps has joined #nixos
<pem__>
Hi #nixos! I wrote a compiler from Rust's Cargo.lock to Nix expressions. It's already able to compile a project of mine with >120 dependencies, in release and debug mode (and a mixture).
DutchWolfie has joined #nixos
takle has joined #nixos
<pem__>
I'd love it if someone more experienced with Nix could review it and tell me what to do next to get it ready for public consumption: https://nest.pijul.com/pmeunier/nix-rust
<cmacrae>
pem__: I can't help you... but that's a really cool project, nice work!
eacameron has quit [(Remote host closed the connection)]
<spacefrogg>
pem__: I am no official, but you would attract more attention if you'd open a PR on github and request comments and reviews there.
<spacefrogg>
pem__: Looks neat, BTW!
<spacefrogg>
pem__: Maybe take node2nix as a entry point of how your compiler could be integrated as it is a project with a similar purpose.
<the-kenny>
pem__: that looks great! Although I wonder if it would make more sense to generate json from the generator & write some custom nix to interpret that json. That would ease the pain of emitting nix code
eacameron has joined #nixos
vaibhavsagar has joined #nixos
nschoe_ has joined #nixos
pie_ has quit [(Ping timeout: 260 seconds)]
nschoe has quit [(Ping timeout: 268 seconds)]
nschoe_ has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
osigj has joined #nixos
mitchty has quit [(Remote host closed the connection)]
<MP2E>
pem__: very nice! only nitpick is that having to copy nix-utils.nix manually might be a problem when integrating into nixpkgs. I think ideally you'd want to package it as we do other rust programs, could use ripgrep as a template, but since everything is copied into $out, nix-utils.nix would be more difficult to access without grabbing it seperately
oahong has quit [(Ping timeout: 240 seconds)]
<MP2E>
pem__: would recommend posting this to the nix-dev mailing list and make a pull request, this is really useful
cmacrae has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
mitchty has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
cmacrae has joined #nixos
eacameron has joined #nixos
systemfault has quit [(Quit: Bye!)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
<osigj>
I just did `nix-env -i git` in my home dir on nixos. It added a bunch of dotfiles to my /home. I realize I don't wish to use nix-env -i, but instead have a declarative text file config. Is it safe to do `$ rm -r ~/.nix-defexpr ~/.nix-profile` or will that fuck things up?
byteflame has joined #nixos
<ben>
if things worked before you had ~/.nix-profile, they'll probably continue to work
<ben>
might need to restart bash if it cached bad paths or something, i dunno how that stuff works
<ben>
but the globally installed packages are still in your PATH and everything
eacameron has quit [(Ping timeout: 260 seconds)]
pie_ has joined #nixos
tv1 has joined #nixos
<joko>
Any Hydra expert? I keep getting "Output limit exceeded" even if I set max_output_size to a large number
<NixOS_GitHub>
[nixpkgs] FRidh opened pull request #24989: Python: update numpy and scipy (master...numpy) https://git.io/vSb6k
filterfish has quit [(Ping timeout: 245 seconds)]
eacameron has joined #nixos
byteflame has quit [(Ping timeout: 255 seconds)]
roconnor has quit [(Ping timeout: 240 seconds)]
tv is now known as Guest42205
tv1 is now known as tv
Guest42205 has quit [(Ping timeout: 240 seconds)]
tv has quit [(Changing host)]
tv has joined #nixos
<freusque>
hello everyone, I'd like to generate docker containers with a nixos inside generated from a configuration.nix
<freusque>
is there an approach to this already, some guide, some code?
eacameron has quit [(Ping timeout: 245 seconds)]
<flyx>
hi folks. I want to have a gcc without hardening flags. internet says, I should use a nix-shell with `hardeningDisable=["all"]`. what would be the command line for that?
<freusque>
it's easy to fix, we'll make a pr soon. but that builds docker images for other systems, not nixos
<clever>
flyx: thats just an environment variable
<clever>
flyx: export hardeningDisable=all
<freusque>
maybe I didnt understand well luca's tool
<clever>
ben: under nixos, bash has been configured to never cache things from $PATH
<flyx>
clever: ah okay, thx
<ben>
clever: I'm surprised that's necessary in general use
<clever>
flyx: every attribute inside a derivation gets cast down to a string, and becomes an environment variable within the build
<NixOS_GitHub>
[nixpkgs] jlesquembre opened pull request #24990: git-recent: init at 1.0.3 (master...git-recent) https://git.io/vSbiv
romildo has joined #nixos
bkchr has joined #nixos
<bkchr>
Hi, I'm trying to modify the installPhase of a package and want to create a new directory, but my script always complains that I do not have the permissions to create the directory?
<clever>
ben: can you gist the file you have changed?
<the-kenny>
It's likely a parent dir missing. You likely want `mkdir -p`
MP2E has quit [(Quit: sleep)]
<bkchr>
No, I already doing that
filterfish has joined #nixos
<ben>
clever: (I think you didn't mean me)
proteusguy has joined #nixos
<clever>
bkchr: oops, can you gist the file you have changed?
<Mic92>
not sure if this holds for php, but other packages at least
byteflame has joined #nixos
tnks has quit [(Ping timeout: 255 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
vaibhavsagar has quit [(Remote host closed the connection)]
<Isorkin>
Mic92: If I completely change nixpkgs/pkgs/development/interpreters/php/default.nix openssl to libressl - working. If I add the parameter libressl - not working, build with openssl. Use need custom package?
<bastian_>
that is my default.nix for my work directory
eacamero_ has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos []
eacameron has quit [(Ping timeout: 240 seconds)]
justin_ has joined #nixos
cmacrae has quit [(Ping timeout: 240 seconds)]
eacamero_ has quit [(Ping timeout: 255 seconds)]
proteusguy has quit [(Remote host closed the connection)]
eacameron has joined #nixos
Mateon1 has quit [(Remote host closed the connection)]
Mateon1 has joined #nixos
derjohn_mob has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
griff_ has joined #nixos
eacameron has joined #nixos
<sphalerite>
bastian_: in that case you'll probably want to set shellHook
<sphalerite>
so shellHook = "export PATH="$PATH:${GOPATH//://bin:}/bin"";
ertes has quit [(Quit: Bye!)]
<sphalerite>
The GOPATH setting should probably go there too actually, because it's suited for an interactive shell and not so much for derivation builds
<Mic92>
sphalerite: direnv + nix can also achieve this
whenov has joined #nixos
whenov has left #nixos []
<sphalerite>
hm. looks neat but hacky
<Mic92>
why is it hacky?
eacameron has quit [(Ping timeout: 240 seconds)]
<Mic92>
direnv edit . -> use nix; layout go
<Mic92>
pretty robust solutin
<sphalerite>
it just feels wrong to me :p I don't know
<Mic92>
*solution
<NixOS_GitHub>
[nixpkgs] FRidh force-pushed python-wip from 5607987 to a0aa625: https://git.io/vzaOS
<NixOS_GitHub>
nixpkgs/python-wip 5717b8a Frederik Rietdijk: pythonPackages.statsmodels: 0.6.1 -> 0.8.0
<NixOS_GitHub>
nixpkgs/python-wip b254e8f Frederik Rietdijk: pythonPackages.multipledispatch: disable tests
<NixOS_GitHub>
nixpkgs/python-wip 614acf1 Frederik Rietdijk: pythonPackages.pretend: disable tests
<Mic92>
this combination has replaced all the other wacky environmentmanager like rvm, virtualenv, nvm ...
eacameron has joined #nixos
<sphalerite>
I personally like the idea of only having nix-shell as an environment manager :D
<jophish>
What's the idiomatic way of having a source which is a single file, self extracting installer?
<sphalerite>
Also, TIL that webkitgtk does indeed take a long time to build...
<jophish>
`srcs = []; unpackPhase = "true";`?
byteflame has joined #nixos
<Mic92>
copumpkin: what's up with google images?
eacameron has quit [(Ping timeout: 240 seconds)]
<sphalerite>
jophish: I guess extracting it externally and disregarding the self-extracting-ness
<jophish>
sphalerite: hmm, it's just an elf executable, I'm not sure it will be easy to extract myself
<sphalerite>
binwalk can probably tell you its secrets :D
<sphalerite>
That aside, it depends on what the installer actually lets you do I guess
ilyaigpetrov has joined #nixos
eacameron has joined #nixos
ebzzry has joined #nixos
<sphalerite>
for instance, nvidia's cudatoolkit contains shell scripts which have the option of only extracting and not installing, and that option is used in its unpackPhase (pkgs/development/compilers/cudatoolkit/default.nix)
<jophish>
ah I see
byteflame has quit [(Ping timeout: 240 seconds)]
<jophish>
this installer is not so fully featured
<jophish>
on an unrelated note. Is it possible to nix-prefetch-url with the executable bit set?
MoreTea has joined #nixos
<sphalerite>
doesn't look like it
<sphalerite>
also of interest might be pkgs/applications/graphics/unigine-valley/default.nix
eacameron has quit [(Ping timeout: 252 seconds)]
eacamero_ has joined #nixos
romildo has quit [(Quit: Leaving)]
chakerbenhamed has joined #nixos
<jophish>
ah, that looks like what I want, although copying a 3GB installer isn't nice for the user :)
MinceR has quit [(Ping timeout: 240 seconds)]
<sphalerite>
Proprietary software in general isn't nice for the user ;)
<jophish>
you said it :D
<sphalerite>
(plus it's just a temporary copy so it doesn't make a long-term difference)
<sphalerite>
vendors seem to have a habit of adding the file extension .run to their self-extracting installers, so I found a number of other such packages using rg '\.run"' in nixpkgs
MinceR has joined #nixos
eacamero_ has quit [(Ping timeout: 252 seconds)]
eacameron has joined #nixos
plumps has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vSb7Y
<NixOS_GitHub>
nixpkgs/master c275158 Frederik Rietdijk: python36: 3.6.0 -> 3.6.1
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to release-17.03: https://git.io/vSb7s
<NixOS_GitHub>
nixpkgs/release-17.03 c5b2912 Frederik Rietdijk: python36: 3.6.0 -> 3.6.1...
eacameron has quit [(Ping timeout: 258 seconds)]
chakerbenhamed has quit [(Ping timeout: 260 seconds)]
ebzzry has quit [(Ping timeout: 252 seconds)]
jasom has quit [(Ping timeout: 255 seconds)]
<copumpkin>
Mic92: oh, I was wondering how best (and cheapest :P) to test them. I want to make the google image expression use make-disk-image.nix but I also want to make sure I don't break it
<copumpkin>
only asking you because I saw you changed the maintainer script recently
<Mic92>
copumpkin: there is an always free-tier offer
roconnor has joined #nixos
<copumpkin>
I actually think writing a test for these won't be too hard
<copumpkin>
I already have a shim that emulates 169.254.169.254 for EC2 tests so we can reuse that
<copumpkin>
(maybe)
<Mic92>
copumpkin: I can also test generated images, if you want.
<copumpkin>
Mic92: if I make a PR switching the google image over to make-disk-image, that would cut some learning off for me :) since I also want to switch over the azure image and a few others
<copumpkin>
Mic92: can I just ping you on the PR and ask you to try it out?
<Mic92>
yes
<copumpkin>
sweet, thanks
<copumpkin>
I have been meaning to experiment with google cloud at some point, so I'll probably spin up my own when I get around to writing a VM test
<copumpkin>
to make sure I understand how it all ties together
eacameron has joined #nixos
Sigma has quit [(Ping timeout: 240 seconds)]
<Mic92>
Unfortunaly they do not support ipv6 yet, which I could need.
Sigma has joined #nixos
<copumpkin>
google doesn't?
<Mic92>
well only on their frontpage and youtube, but not in their cloud infrastructure
<copumpkin>
oh
mudri has quit [(Ping timeout: 240 seconds)]
<Mic92>
not even in kubernetes
eacameron has quit [(Ping timeout: 240 seconds)]
<Mic92>
which is funny, because bigger deployments can run out of private ip address space
<gchristensen>
has anyone done "lunch and learns" or workshops for teaching nix to lots of people
<copumpkin>
niksnut: I feel like I'm being especially annoying these past few days, sorry! I don't mean to be hounding you from all sorts of different directions but there's so much interesting stuff happening right now that it's hard not to express opinions :P
vaibhavsagar has joined #nixos
chakerbenhamed has joined #nixos
eacameron has joined #nixos
bkchr has quit [(Ping timeout: 240 seconds)]
<gchristensen>
tbh copumpkin I don't care how we solve it, but would be happy with a holistic solution
<gchristensen>
but until we do I'm running a patched nixops
<bennofs>
earldouglas: you could probably do it via an activation hook (the actiavtion script is run when you switch-to-configuration)
<joko>
fresheyeball: what kind of webcam?
<bennofs>
earldouglas: or perhaps systemd-tmpfiles
<bennofs>
earldouglas: " systemd-tmpfiles creates, deletes, and cleans up volatile and temporary files and directories, based on the configuration file format and location specified in tmpfiles.d(5).
<joko>
fresheyeball: I didn't have to do anything for my Logitech one, Skype found it immediately
<earldouglas>
bennofs: activaion script did the trick; thanks!
abrar has joined #nixos
<dash>
fresheyeball: if it's usb, it oughta get recognized as soon as you plug it in...
Mercuria1Alchemi has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
chakerbenhamed has quit [(Ping timeout: 240 seconds)]
erasmas has joined #nixos
<fresheyeball>
dash: it did
<fresheyeball>
but I have yet to see a picture
<fresheyeball>
I use zoom-us and now it crashes at startup
<fresheyeball>
and I have some issue where gnome3 stuff likes to fail
<fresheyeball>
and gnome3.cheese also crashes at startup
<fresheyeball>
fswebcam did take a picture though
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
plumps has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
eacameron has joined #nixos
Jackneill has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
<contrapumpkin>
Mic92: would you also be capable/willing to review my make-disk-image change? Looking for some feedback :)
eacameron has joined #nixos
<contrapumpkin>
or anyone with an interest in disk images?
reinzelmann has quit [(Quit: Leaving)]
mkoenig_ has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<NixOS_GitHub>
[nixpkgs] matthiasbeyer closed pull request #23123: [doc] Add example on how to override compile flags for a package (master...doc-override-compileflags) https://git.io/vyv5K
mkoenig has quit [(Ping timeout: 252 seconds)]
ebzzry has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
<NixOS_GitHub>
[nix] edolstra closed pull request #1321: nix-channel: error out if direct tarball unpack fails. (master...channel-direct-tarball-error) https://git.io/vSi7F
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
gal_bolle has quit [(Quit: Konversation terminated!)]
eacameron has quit [(Ping timeout: 252 seconds)]
vaibhavsagar has quit [(Ping timeout: 268 seconds)]
ebzzry has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
darlan has quit [(Ping timeout: 260 seconds)]
<SovereignBleak>
I'm on 17.09 but I want to downgrade to stable due to some frequent breakages. The Manual tells me this is a bad idea. Has anyone done this with success?
nixist has joined #nixos
<gchristensen>
SovereignBleak: that is a safe operation right now
<gchristensen>
sometimes it is not safe, but right now it should be just fine
<SovereignBleak>
gchristensen: Thank you. :-)
johnsonav has quit [(Ping timeout: 240 seconds)]
Sonarpulse has quit [(Remote host closed the connection)]
Sonarpulse has joined #nixos
cfricke has quit [(Quit: WeeChat 1.7)]
eacameron has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
dmi3y has joined #nixos
pie_ has quit [(Changing host)]
pie_ has joined #nixos
Jackneill has quit [(Remote host closed the connection)]
ertes has joined #nixos
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to release-17.03: https://git.io/vSNRg
<NixOS_GitHub>
nixpkgs/release-17.03 b5c8397 Dan Peebles: brotli: fix on Darwin...
Jackneill has joined #nixos
nicknovitski has joined #nixos
itorres1 is now known as itorres
<NixOS_GitHub>
[nixpkgs] grahamc opened pull request #24998: percona-server56: init at 5.6.35-80.0 (master...percona) https://git.io/vSN0J
calvertvl has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vSN0z
Jackneill has quit [(Remote host closed the connection)]
Jackneill has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
<gchristensen>
^ my first patches contributed from work \o/
kuznero has quit [(Quit: leaving)]
ertes has joined #nixos
<steveeJ>
does someone have a working example for installing an arm cross-toolchain that uses glibc?
danharaj has joined #nixos
<steveeJ>
any x86_64 -> arm would be good for now.
aneeshusa has joined #nixos
jsgrant__ has quit [(Ping timeout: 240 seconds)]
jsgrant_ has joined #nixos
nixist has quit [(Ping timeout: 260 seconds)]
cmacrae has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
Jackneill has quit [(Remote host closed the connection)]
Jackneill has joined #nixos
afldcr_ has quit [(Quit: bye)]
afldcr has joined #nixos
<DavidEGrayson>
taktoa: Hey, just saw your message, a pull request for qtwebengine would be pretty cool, thanks for the interested in nixcrpkgs!
<DavidEGrayson>
taktoa: My understanding is that it will be impossible due to GCC not supporting __try and __finally exception handling. I can still accept it if it's incomplete though and perhaps we'll patch GCC some day or get it working with clang.
Jackneill has quit [(Remote host closed the connection)]
Jackneill has joined #nixos
JagaJaga has quit [(Ping timeout: 268 seconds)]
JagaJaga has joined #nixos
jensens has joined #nixos
danharaj has left #nixos []
freusque has quit [(Quit: WeeChat 1.7)]
ijophst has quit [(Ping timeout: 255 seconds)]
digitus has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
takle has quit [(Remote host closed the connection)]
alx741 has joined #nixos
griff_ has quit [(Quit: griff_)]
<dtzWill>
o_O
<dtzWill>
oh sorry was responding to something from scrollback, but forgot it wasn't real-time O:)
MichaelRaskin has joined #nixos
griff_ has joined #nixos
Sonarpulse has joined #nixos
<MichaelRaskin>
I have seen a reference to scopedImport… now I cannot understand how it is different «from args: with args;» in the beginning of the file
<dmj`>
bennofs: lddtree shows libxenctrl and libxenguest as well
<dmj`>
just like ldd
<dmj`>
the problem is patchelf doesn't
takle has quit [(Ping timeout: 240 seconds)]
<bennofs>
dmj`: does it show it at toplevel as well? :O
<dmj`>
you mean just by calling ldd ./result/bin/program?
<dmj`>
if so, yes
<bennofs>
dmj`: then try env LD_DEBUG=files ldd result/bin/program
<dmj`>
bennofs: yes, that still shows it too
<dmj`>
ldd, lddtree, and files ldd all show the same thing
plumps has quit [(Ping timeout: 240 seconds)]
<dmj`>
the point is that patchelf is missing two shared objects that those commands don’t show
<bennofs>
dmj`: well what does files ldd say about "required by"?
<bennofs>
needed by rather
<bennofs>
is it result/bin/program?
<dmj`>
bennofs: I think we’re talking past each other. Every shared object listed needs to be on the host system in the expected location. Patchelf is meant to help adust the rpath and/or shared object names, away from the nix/store onto FHS
<contrapumpkin>
any image nerds wanna review my change to make-disk-image.nix? :) :) :)
<Dezgeg>
yes, but your program doesn't directly require libxenstore.so
<Dezgeg>
rather, your program requires libxenlight.so.4.5 which requires libxenstore.so
<bennofs>
that's why I was wondering about the "needed by" part...
<Dezgeg>
sorry, s/libxenstore.so/libxenguest.so/
plumps has joined #nixos
brodul has quit [(Quit: My hovercraft is full of eels!!)]
<Dezgeg>
(I tested $(nix-build -A xen)/bin/xl which shows the same, correct behaviour)
nicknovitski has quit [(Ping timeout: 260 seconds)]
<dmj`>
Dezgeg, bennofs: well, my patchelf’ing worked somehow, doesn’t help that I don’t know why.
<dmj`>
Dezgeg: how do you ascertain the “needed by” from ldd output
<dmj`>
s/do/did
<bennofs>
dmj`: LD_DEBUG=files shows it
<dmj`>
when does it show it? When you call `ldd` ?
<disasm>
manveru: so I tried what you suggested, but got the same error. I think the problem is /nix/store/41z5n9fynjbsj5ns15s3l6v2f76fzmnq-ruby-2.2.5/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- mini_portile2 (LoadError) which is one of the other gems in the gemset.nix
<disasm>
manveru: got it... I found the solution here: pkgs/applications/misc/pt/gemset.nix there's a dependencies parameter. I just thought bundix would have taken that into account.
<18WAASP3A>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vSAGI
<18WAASP3A>
nixpkgs/master e0bf929 Nick Hu: fdr: fix Qt library dependency
<GiGa|Laptop>
Specifically around security issues with Package ‘libplist-1.12’
<GiGa|Laptop>
?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
seku has joined #nixos
<GiGa|Laptop>
I can whitelist it, of course, but I wondered if this was going to be fixed in 17.03 as it seems odd to release something that's a big issue
zeus_ has quit [(Ping timeout: 255 seconds)]
mbrgm has joined #nixos
statusbot has joined #nixos
civodul has joined #nixos
Itkovian has joined #nixos
<benley>
huh, there doesn't appear to be a release newer than 1.12 upstream
<benley>
but 1.12 was cut in 2014, and there are lots of changes since then
drasich has joined #nixos
<dtzWill>
benley: folks tend to run 1.12-git, for example "nixUnstable" is updated periodically to a recent-ish git version
<benley>
that sounds sane
<benley>
sounds like maybe we ought to update it
statusbot has quit [(Remote host closed the connection)]
* GiGa|Laptop
supports the upgrade motion
statusbot has joined #nixos
stepcut has quit [(Remote host closed the connection)]
<GiGa|Laptop>
Also, is bsddb3 support in Python3 yet? I was going to update the recipe for GRAMPS to the latest version but the Python3 component has been holding me back. I don't know enough about everything to sort that one I'm afraid
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ertes has joined #nixos
acarrico has joined #nixos
k2s has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 opened pull request #25006: nodePackages_4_x: remove in favor of nodePackages_6_x (master...nodePackages) https://git.io/vSABs
<copumpkin>
niksnut: do you think we'll be able to get a 1.11.9 soon?
<copumpkin>
and/or another unstable release? :)
FRidh has joined #nixos
<jeremejevs>
clever: Hey, before messing X's stdout, I've tried commenting out some recent additions in my configuration.nix, and I've narrowed it down to TeamViewer. X simply fails to start when there's a TeamViewer daemon running. Once I comment it out - voila, it's back to life.
<FRidh>
GiGa|Laptop: what do you means with bsddb3 in python? Its notworking?
<alex-v>
simpson: thanks! would it work if i run nix-daemon on the "cache host"?
Itkovian has joined #nixos
<GiGa|Laptop>
FRidh, that's building, I'll see what error it gives me
<ericnoan>
i am trying to explore the gateway locally, but the countdown ignores var/gateway_delay, i set it to 10 sec but it still has a 30 minute countdown
<NixOS_GitHub>
[nixpkgs] joachifm pushed 4 new commits to master: https://git.io/vSAR2
<NixOS_GitHub>
nixpkgs/master efe2057 Michael Alan Dorman: elpa-packages: 2017-04-17
<NixOS_GitHub>
nixpkgs/master 607a72a Michael Alan Dorman: melpa-stable-packages: 2017-04-17...
<NixOS_GitHub>
nixpkgs/master 0e5d43d Michael Alan Dorman: melpa-packages: 2017-04-17...
<GiGa|Laptop>
FRidh, although, if it hellps, there's no python3 package in NixOS
<ericnoan>
also, completely wrong channel
<simpson>
alex-v: I guess, but TBH I wouldn't set up nix-daemon without NixOS.
<gchristensen>
it is definitely tough
<alex-v>
simpson: well nix doesn't work without the daemon in multiuser mode
<gchristensen>
it is very tough to setup the daemon outside of nixos
<FRidh>
GiGa|Laptop: what do you mean, there's no python3 package in NixOS?
<simpson>
alex-v: Yes, I know.
<alex-v>
gchristensen: what do you mean? it is just a matter of launching nix-daemon as the nix "admin user"
<gchristensen>
it isn't
<gchristensen>
it requires setting up /nix/store differently, and several things around profiles
<alex-v>
gchristensen: differently in what way? i set it up a long time ago and everything works. There is a step by step walkthroug
<gchristensen>
ah, excellent, very cool
<alex-v>
gchristensen: my current problem is to set up a kind of transparent cache so that the users on the servers with no internet could use it
<gchristensen>
alex-v: hmm like an internal binary cache?
<GiGa|Laptop>
FRidh, No, there's a Python3 package. There's just no bsddb3 library for Python3 that I can find
<dash>
octe: oops! I meant: nix-env -i transmission_gtk
<octe>
how do i figure out it's _gtk?
<dash>
octe: look in all-packages.nix
<octe>
ah, thanks
<kuznero>
Basically on `nixos-rebuild` I keep getting annoying warning that `systemd-vconsole-setup.service` fails... How can I stop that?
<octe>
kuznero, i get that too
<kuznero>
octe: it is pretty annoying and actually took me some time for the first time to realize that it was a warning and not an error... ;) Do you know how to stop it?
<octe>
no idea
<octe>
just installed nixos for the first time
<kuznero>
octe: ah... good luck! that is the best distro in my mind!
byteflame has quit [(Ping timeout: 240 seconds)]
MP2E has joined #nixos
sigmundv has joined #nixos
<kuznero>
If my new package is now build by hydra in nixpkgs project and I can see that it is now available in trunk and staging, how can I install it with nix-env on my box?
jensens has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
k2s has quit [(Ping timeout: 252 seconds)]
<kuznero>
... and also it is available in trunc-combined
byteflame has joined #nixos
MoreTea has quit [(Ping timeout: 240 seconds)]
<copumpkin>
kuznero, octe: I opened a ticket about it, chime in
<copumpkin>
I'm on mobile now but search the issue tracker for it and you'll find it
<kuznero>
copumpkin: thanks, will do
byteflame has quit [(Ping timeout: 240 seconds)]
xadi has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
AllanEspinosa has quit [(Ping timeout: 258 seconds)]
<Havvy>
441 store paths deleted, 5090.71 MiB freed
sigmundv has quit [(Ping timeout: 240 seconds)]
carlosda1 has quit [(Ping timeout: 240 seconds)]
<jophish>
What's the easiest way of emulating an armv7-linux using nix?
<jophish>
I'd like to do some arm builds, but I'm not cool enough to have a cluster of Raspberry Pis :)
kuznero has quit [(Quit: leaving)]
<benley>
anyone know how to do anything useful with .jnlp "Java Web Start" launchers on nixos?
<benley>
stupid friggin ipmi consoles...
<dash>
benley: hm.... did you try 'nix-env -i ipmiview'? :-)
<joepie91>
benley: if you've installed the JDK, you should be able to do `javaws whatever.jnp`
<benley>
this isn't actually an ipmi console, technically. It's a weird lantronix kvm-over-ip device
<benley>
joepie91: that's the thing, I can't find javaws
<joepie91>
if you don't have it installed system-wide you can do `nix-shell -p <whatever the JDK package name is>` to spawn a shell with it
<joepie91>
benley: how have you installed the JDK?
<benley>
it's not in nixpkgs.jre (which is openjdk 8)
<benley>
nix-shell -p jre
<benley>
errrr, nix-shell -p jdk
<dash>
joepie91: try oraclejdk instead
<joepie91>
yeah, I'm not sure OpenJDK comes with that
<benley>
k, I'll try that
<benley>
I should have thought of that :-P
<joepie91>
and ugh, lantronix stuff
<joepie91>
Java nightmares :(
<joepie91>
for some reason all that stuff seems stuck in the late 90s
<benley>
looooool oracle no longer allows downloads of jdk 8u121, which is in nixos 17.03
<benley>
only 8u131
<joepie91>
benley: meh, one moment
* joepie91
twiddles thumbs for a few seconds
<jophish>
Dezgeg: I'd like to try getting nixos running on the arria 10 SoC. The wiki seems to suggest that this shouldn't be too tricky as the arria 10 soc is listed here: https://nixos.org/wiki/NixOS_on_ARM/multi_v7_defconfig