<silver_hook>
clever, tilpner: when I enable RedShift (through its KDE Plasma applet) it produces the following error: “Trying location provider ‘geoclue2’… Unable to connect to GeoClue. Unable to get location from provider.”
<tilpner>
Maybe you have to services.geoclue2.enable = true;...
* tilpner
just guessing
* silver_hook
slaps his forehead
tptb has quit [(Ping timeout: 260 seconds)]
freeman42x[nix] has quit [(Remote host closed the connection)]
<iMatejC>
silver_hook: how about services.redshift.enable
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v5zJa
<NixOS_GitHub>
nixpkgs/master 62ff6cb Peter Hoeg: netalyzr: init at 57861
<Ralith>
when I turn it on my logs get spammed with startup errors and I somehow end up with two instances of it running
<Ralith>
very strange
<tilpner>
Huh, mine had a restart loop too, but I forgot how I fixed it :/
sellout- has quit [(Quit: Leaving.)]
_ris has quit [(Ping timeout: 240 seconds)]
goodebye has joined #nixos
<goodebye>
currently trying to install nixos but during the nixos-install command it fails to download from cache.nixos.org. pinging nixos.org produces a 'name or service not known' error, while pinging virtual anything else returns packets as expected
<goodebye>
oddly tho, nixos.org is up on my other devices!
<disasm>
goodebye: network functioning?
vaibhavsagar has joined #nixos
<goodebye>
yes, can access everything but nixos.org right now as far as i can tell, though i have gotten periodic 'cant find server' errors on other sites while in kde on the live usb
<silver_hook>
I just did a nixos-rebuild switch on a 17.09 as well and it’s compiling quite a bit (currently mono) …maybe the prebuilts are not available right now?
<goodebye>
very strange
elurin` has joined #nixos
<goodebye>
it's not only failing to download from the cache, i can't access nixos.org from the browser period (errors out almost immediately saying it can't find the server) while my other devices on the same network have no problem
* silver_hook
goes zzz
elurin has quit [(Ping timeout: 260 seconds)]
numbdewd has joined #nixos
silver_hook has quit [(Ping timeout: 255 seconds)]
<goodebye>
more interestingly, installing packages to the live USB via nix-env works fine???
vaibhavsagar has quit [(Ping timeout: 248 seconds)]
Khetzal has quit [(Remote host closed the connection)]
vaibhavsagar has joined #nixos
zraexy has joined #nixos
Khetzal has joined #nixos
<fearlessKim[m]>
hi I want to develop neovim on nixos. To do so, I've had to do a significant number of changes to nixpkgs/.../neovim/default.nix. Do I need to maintain the dev version out of tree ?
jellowj has quit [(Ping timeout: 240 seconds)]
<tilpner>
What do you mean? If you want a version that's not in nixpkgs, you need to maintain it outside of nixpkgs... I don't understand what you're asking
goodebye has quit [(Ping timeout: 260 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<fearlessKim[m]>
when I started using nixos, I thought it would easily let me switch between the stable and dev/master version but it seems like it only refers to stable versions
<fearlessKim[m]>
for instance, I had imagined that I could install either PKG_X or PKG_X-dev
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
<vaibhavsagar>
I don't understand, I think Nix does allow you to do this
remexre has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
<fearlessKim[m]>
in general it's easy, e.g., change version by "master" but in the neovim case, it's more complex because neovim-dev fetches its dependancies on its own
mbrgm has joined #nixos
<tilpner>
fearlessKim[m] - By foo-dev, do you mean a Debian-style package that includes development headers, or a newer version of the foo package
<clever>
fearlessKim[m]: your not supposed to install a package like foo-dev, but rather, create a shell.nix that gives you an environment suitable for building something
<fearlessKim[m]>
a newer version of the package (true that was confusing)
<tilpner>
fearlessKim[m] - If you mean a newer version, you probably want to look at using multiple channels. You can mix channels and pick packages from different channels
<tilpner>
fearlessKim[m] - That allows you to e.g. pick your core environment from the stable channel, while taking development tools from a more recent/unstable channel
<fearlessKim[m]>
tilpner there is no channel with a neovim-dev version
<fearlessKim[m]>
and a neovim-dev/default.nix would substantially differ from a neovim/default.nix because neovim downloads all its dependancies in a .deps folder, which shouldn't be required for the stable version
<tilpner>
You're contradicting yourself. A newer version of neovim would not have a different structure
<tilpner>
A development version (which we don't have), might
<fearlessKim[m]>
like right now I can't run tests because tests rely on packages not available in nixpkgs while neovim downloads them in neovim/.deps
<fearlessKim[m]>
Note that I don't mind packaging those for nixpkgs
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v5zIE
<NixOS_GitHub>
nixpkgs/master 6f6a7aa Peter Hoeg: dbus-broker: meson and ninja hooks handle most things for us
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to release-17.09: https://git.io/v5zI2
<NixOS_GitHub>
nixpkgs/release-17.09 5ab8db6 Peter Hoeg: dbus-broker: meson and ninja hooks handle most things for us...
NixOS_GitHub has left #nixos []
<tilpner>
I don't know how tests are usually handled, sorry
numbdewd has quit [(Remote host closed the connection)]
<fearlessKim[m]>
tilpner, thanks for the help. Maybe an easier question. For instance neovim depends on "busted". I can install it via `luarocks install --local busted` (sudo luarocks install busted says I don't have the permission). so busted binary becomes available in $HOME/.luarocks/bin (which is not in $PATH). I believe the nixos way would be nix-env -i luaPackages.busted . Is there like a luarocks pkg list -> luaPackages.nix
<fearlessKim[m]>
generator (like there is
<fearlessKim[m]>
for haskell hackage or should I write one/write a specific derivation for busted)
<tilpner>
(I'm not aware of a tool that generates expressions for lua packages)
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
<dalaing>
I've had a transient failure building findutils, while building something with Hydra
<dalaing>
and it's cached
<dalaing>
I'm trying to work out how to tell hydra to just try building it again
<tilpner>
It... cached the failure?
<dalaing>
something bad happened with locks and max cpu
<dalaing>
"Clear failed builds cache" doesn't seem to be helping
scribbler has quit [(Ping timeout: 248 seconds)]
<dalaing>
and it doesn't seem like a nix-store repair is helping - it's just remembering that this particular thing failed and not trying to build it again
<NixOS_GitHub>
[nixpkgs] mguentner opened pull request #29007: avr-*: split avr-gcc-libc into separate packages (master...avrclean) https://git.io/v5ztD
NixOS_GitHub has left #nixos []
mguex has joined #nixos
<Rotaerk>
hmm, I see a vulkan-loader package, but not the vulkan SDK, in nixos pkgs
<Rotaerk>
is it not there or am I searching for the wrong thing
spear2 has joined #nixos
sary has joined #nixos
<Ralith>
what do you expect "the vulkan SDK" to contain?
<thoughtpolice>
Ralith: vulkan-loader should contain the e.g. include and lib files you need.
<Ralith>
I dunno why you're telling me that :p
<thoughtpolice>
Err, tab complete
<thoughtpolice>
Rotaerk: ^^
Kingsquee has joined #nixos
<thoughtpolice>
Also, other distros tend to separate the loading/ICD component in a separate package from the actual headers, which is probably the source of the confusion; e.g. my Fedora machine has "vulkan-filesystem" and "vulkan-devel" and I wouldn't be surprised if others were the same. To be fair, we have multiple outputs, but this isn't exactly clear if you do, like, `nix-env -qAP ... | grep vulkan`, you'd have to understand the
<thoughtpolice>
package...
<Rotaerk>
hmm I'm just starting to learn vulkan, and the tutorial mentioned installing the SDK; I thought the loader was just a small part of it
<Rotaerk>
(i.e. the part that dynamically looks-up vulkan functions at runtime)
<Rotaerk>
but if you say the vulkan-loader package contains all the things I need, great
<thoughtpolice>
Right, I was also going to say, the LunarG website kind of makes it seems like there are really a bunch of packages and they install all of them or something
<thoughtpolice>
But it's actually all in one repository; splitting it up into multiple packages a choice of Distros or people like Nvidia or whatever
<Rotaerk>
gotcha
<mrkgnao>
I've been trying to get Hakyll to work with a cabal2nix default.nix, but I'm running into some problems: inside the shell, cabal configure fails to find Hakyll.
<thoughtpolice>
Everything else should be included FWIW, I think all 3 major GPU packages have Vulkan support too.
<thoughtpolice>
(MESA package is built with it, and AMDGPU drivers/Nvidia blobs are installed properly as well"
<mrkgnao>
nvm, I'm dumb (for *cough* posterity, I needed to pass -A my_package.env instead of -A my_package)
<Ralith>
I dunno about dumb, I can never keep that stuff straight either
<Ralith>
Rotaerk: the whole notion of a "SDK" is kind of alien to linux, really
<Ralith>
upstream vulkan packaging has also historically been a total mess
<Rotaerk>
"This comprehensive SDK includes the Vulkan loader, Vulkan layers, debugging tools, SPIR‐V tools, the Vulkan run time installer, documentation, samples, and demos."
<Rotaerk>
yea, I suppose a lot of that's just not relevant to building an application that uses vulkan...
<Rotaerk>
well, building or running
<Ralith>
this isn't windows, you don't need to go download third party monolithic installer bundles to get anything done ^^
mguex has quit [(Quit: WeeChat 1.9)]
<Ralith>
you will probably want to separately install shaderc or similar too
mguex has joined #nixos
<Rotaerk>
ah yea I see that's its own package
reinzelmann has joined #nixos
mguex has quit [(Quit: WeeChat 1.9)]
mguex has joined #nixos
ison111 has joined #nixos
nh2 has joined #nixos
schoppenhauer has quit [(Ping timeout: 248 seconds)]
schoppenhauer has joined #nixos
Kingsquee has quit [(Read error: Connection reset by peer)]
Kingsquee has joined #nixos
<Rotaerk>
is there some command to see which binary caches will be used by nix-build
<Rotaerk>
i.e. to make sure I configured it correctly and it's ready to go
<clever>
Rotaerk: only thing i can think of is to read nix.conf and then try to curl each .narinfo in order
vaibhavsagar has quit [(Ping timeout: 248 seconds)]
<Rotaerk>
btw, how is one expected to discover the nix.binaryCaches setting for nixos/configuration.nix? I found mention of it, but not in nix/nixos documentation
<fearlessKim[m]>
hum if I want to add myself as a maintainer, is adding `maintainer = with maintainers; [ teto ];` enough ? like should it be the github id or anything works ?
<fpletz>
fearlessKim[m]: you also have to add that key and your name/mail-address to lib/maintainers.nix
<fpletz>
fearlessKim[m]: the key/name should be your github username
simukis has joined #nixos
Acou_Bass has quit [(Ping timeout: 246 seconds)]
Piece_Maker is now known as Acou_Bass
<fearlessKim[m]>
is it acceptable to propose a package without a maintainer field ? some packages don't have one
<fpletz>
fearlessKim[m]: it is acceptable but we prefer packages that have someone that takes care of it - very obscure and old software can be rejected without a maintainer
<fearlessKim[m]>
looks normal. Ok I'll try to be a good maintainer (as long as it's just changing the version field, that should be a breeze), though I don't like putting my email into a public file
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5zP8
<NixOS_GitHub>
nixpkgs/master 7753daa Franz Pletz: connman: 1.34 -> 1.35...
NixOS_GitHub has left #nixos []
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to release-17.03: https://git.io/v5zPy
seanparsons has quit [(Read error: Connection reset by peer)]
<symphorien>
<nikola_i> sphalerite: i finally got bumblebee working with nvidia. yay :) <-- you might want to put it on the wiki, i guess there is nothing on the subject yet
<goibhniu>
I'd also be very interested in your nixos bumblebee config, I haven't managed to get that working
<nikola_i>
goibhniu: i'm not sure what you are missing. prime just provides an easy conguration for switching between nvidia/intel gpus
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 opened pull request #29016: linux_chromiumos_3_18: remove kernel due lack of maintainer/breakage (master...chromiumos) https://git.io/v5zQw
<fadenb>
Does a nix-shell create some kind of private /tmp ?
<fadenb>
I am asking because if I do a `cat /tmp/s3_sincedb` in a nix-shell i started with `nix-shell -p logstash` i see the contents of the file but if I do it outside of the nix-shell the file is empty
<goibhniu>
nikola_i: awesome, thanks!
gnuhurd has joined #nixos
<nikola_i>
goibhniu: do you use spotify? i don't find a flash player in nixpkgs
<Mic92>
fadenb: it exports TMPDIR
<goibhniu>
nikola_i: ah, you need to use allowUnfree
<Mic92>
TMPDIR=/run/$UID/
pie_ has quit [(Ping timeout: 248 seconds)]
reinzelmann has quit [(Ping timeout: 240 seconds)]
<fadenb>
hmm, that should not affect my files with the absolute path in /tmp/filename ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] oxij opened pull request #29017: pythonPackages: new and updates (master...pkg/python-packages) https://git.io/v5z7o
<goibhniu>
nikola_i: regarding prime support ... it's still not clear to me if we need something extra from nvidia, or if it's all in the driver but we just need to do provide some extra config
<fadenb>
fascinating, the issue with different file contents only affects files written by logstash started in the nix shell. Files I create with vim in the shell are always the same
<nikola_i>
goibhniu: i had to use allowUnfree while installing nvidia. as far as prime goes, it does not provide any additional functionality that the driver already doesn't. it just allows dynamic switching
<nikola_i>
with the best performance.i noticed some lag in bumblebee optirun and primusrun
<goibhniu>
nikola_i: cool, thanks
<nikola_i>
goibhniu: are you using a flash player for any browser application. i couldn't find flash player in nixpkgs
<goibhniu>
nikola_i: it may not be obvious, but settings in configuration.nix don't effect nix-env ... so you won't be able to search for unfree packages or install them with nix-env unless you add the section to ~/.config/nixpkgs/config.nix
<globin>
nikola_i: you can run "NIXPKGS_ALLOW_UNFREE=1 nix-env ..."
<sphalerite>
nikola_i: for firefox put `{ firefox.enableAdobeFlash = true; allowUnfree = true; }` in ~/.config/nixpkgs/config.nix
<sphalerite>
then nix-env -iA nixos.firefox
<sphalerite>
alternatively google chrome comes with flash support built in IIRC so if you allow unfree and nix-env -iA nixos.google-chrome it should also work
<nikola_i>
sphalerite: what's the correct way to search a package matching a pattern. is is nix-env -qa 'flash*' or nix-env -qa flash*. both are giving me empty results
<makefu>
for writing backwards-compatible code, what is the best way to check if a module has a certain option? for example nginx.virtualHosts.<host>.port got killed but i have machines running unstable and 17.03
takle has quit [(Remote host closed the connection)]
<sphalerite>
nikola_i: nix-env -qaP .*flash.* should find it. But using nix-env -q for querying packages kind of sucks, it's just not a great UI. You could install nox, then search using e.g. nox flash
aloiscochard has joined #nixos
<sphalerite>
nikola_i: but wiht flash you don't want to install flash itself, you want to add flash to your browser
<gchristensen>
makefu: maybe builtins.hasAttr
<sphalerite>
nikola_i: I think that even if you nix-env -iA nixos.flashplayer it won't work because firefox won't be looking for it
<sphalerite>
Which is why you should use the config option as I wrote above
<sphalerite>
or use google-chrome which includes flash support out of the box
Kingsquee has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] gebner pushed 1 new commit to master: https://git.io/v5zFl
<NixOS_GitHub>
nixpkgs/master b2eff3c Gabriel Ebner: eprover: 1.9.1 -> 2.0
NixOS_GitHub has left #nixos []
<nikola_i>
sphalerite: any changes to ~/.config/nixpkgs/config.nix are evaluated by nixos-rebuild too, is that correct
<makefu>
gchristensen: how can i use it in the nginx virtualHosts submodule?
jellowj has joined #nixos
<sphalerite>
nikola_i: no, that file is for per-user config and not system config
<sphalerite>
nikola_i: if you want it to apply systemwide, put something like nixpkgs.config = {allowUnfree = true; firefox.enableAdobeFlash = true;}; in your configuration.nix
<disasm>
I guess the colloquialism "you bet" in English doesn't translate the best :) Good thing gchristensen didn't say you bet your boots, that really could cause some confusion, lol :)
ThatDocsLady is now known as ThatDocsLady_afk
<gchristensen>
disasm: yeah :) oops!
<felixsch__>
yep I wasn't sure how to interpret that
<disasm>
felixsch__: don't worry, we're a friendly bunch here :)
<disasm>
how can we help?
<felixsch__>
I know that :) I just wanted to know where to ask. Nah try to install nix on opensuse
<felixsch__>
but before I ask, I retry the installation to make sure I didn't miss something :)
<disasm>
did g++ used to do some magic pre-version-6 that automatically including std in the namespace? Just came across some failing code that had no "using namespace std" and was using `isnan()` function.
cpennington has joined #nixos
Mic92 has quit [(Quit: WeeChat 1.9)]
Mic92 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/v5gvR
<NixOS_GitHub>
nixpkgs/master 4151e2f Samuel Leathers: herqq: 1.0.0 -> 2.1.0
NixOS_GitHub has left #nixos []
Mic92 has quit [(Quit: WeeChat 1.9)]
Mic92 has joined #nixos
freeman42y has joined #nixos
free_beard has joined #nixos
catern has quit [(Ping timeout: 240 seconds)]
freeman42x has quit [(Ping timeout: 246 seconds)]
Mic92 has quit [(Client Quit)]
Mic92 has joined #nixos
catern has joined #nixos
<globin>
disasm: probably a C header was included in an old version of the C++ headers defining isnan
<disasm>
ah, that makes sense
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/v5gUe
<NixOS_GitHub>
nixpkgs/release-17.09 9e50f29 Samuel Leathers: herqq: 1.0.0 -> 2.1.0...
NixOS_GitHub has left #nixos []
<free_beard>
Hi, I'm planning to join the release sprint in Amsterdam on sunday. Would you recommend any prep other than installing nixos in a vbox guest and playing with it there? (I mean, should I follow some other resources other than the manual?)
<free_beard>
I'm a newbie
pie_ has quit [(Ping timeout: 240 seconds)]
leat has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5gUx
<NixOS_GitHub>
nixpkgs/master 1db53fb José Luis Lafuente: hyper: 1.3.3 -> 1.4.3
<makefu>
free_beard: try to package a software of your choice in nixpkgs will be a fantastic preparation for the sprint i guess
<free_beard>
makefu: thanks, i'll do that
<makefu>
if you have `a lot time`, check out the nix pills ( https://nixos.org/nixos/nix-pills/index.html ), if you have `massive amounts of time` read the manuals of nixpkgs, nix and nixOS
odi has quit [(Ping timeout: 246 seconds)]
<brodul>
is there a way to inherit a list of functions as a paramether to anotherone
<NixOS_GitHub>
[nixpkgs] joachifm pushed 5 new commits to master: https://git.io/v5gkk
<NixOS_GitHub>
nixpkgs/master 344fbb5 SLNOS: firefoxPackages: add `extraConfigureFlags` to common builder, move `--disable-loop` flag to tor-browser expression
<NixOS_GitHub>
nixpkgs/master a681afb SLNOS: firefoxPackages: add `extraMakeFlags` to common builder, fix official branding handling
<copumpkin>
is there a more restricted allowUnfree?
<copumpkin>
where I whitelist the packages I want to allow
<brodul>
domenkozar: I posted the error into the gist. I know that current syntax does not work. Just wondering if there is a function that would transform a list e.g. [ perl ] into a set {perl = perl;} so that the pattern works
<brodul>
*pattern maching
<Mic92>
copumpkin: you could create a seperate package set and export NIXPKGS_ALLOW_UNFREE, when using nix-env. I don't know a better option.
<copumpkin>
not using nix-env unfortunately
<copumpkin>
it's part of buildInputs / nix-shell
<copumpkin>
I guess I could write some sort of package modifier that uses overrideAttrs to override meta.license to a dud value
<Mic92>
copumpkin: just found allowUnfreePredicate = (x: pkgs.lib.hasPrefix "flashplayer-" x.name);
<Mic92>
copumpkin: see pkgs/stdenv/generic/check-meta.nix
<copumpkin>
aha
<copumpkin>
great, thanks!
<tilpner>
How do I work interactively and with nix-build on the same directory? If I use src = ./.;, it tries to import build artifacts into the store. filterSource doesn't seem to help, and I can't figure out how to use fetchgitLocal
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5gmq
<tilpner>
Hmm, I thought it would be easy, by just cloning the local repository. That would put it into a clean state, and ignore anything in .gitignore
<tilpner>
That's why I tried to use fetchgitLocal
<manveru>
i haven't tried that approach yet... but that would require you to commit every time before building?
<tilpner>
Yes, it's not perfect either :/
<tilpner>
(Or working atm)
<manveru>
hm actually it doesn't
<manveru>
it creates a new repo based on the current one
MercurialAlchemi has joined #nixos
<manveru>
how did you try to use it?
<tilpner>
manveru - I tried your approach, it seems to be working. You may want to look at the changes, it's a little shorter: tx0.co/YnYZ
<tilpner>
(But I have a simple ignore list, maybe it's not equivalent in all cases?)
<disasm>
there's a trade-off, testing games after fixing the build is a whole lot more fun, but it takes a whole lot longer to build and the laptop gets a lot hotter :)
<sphalerite>
brodul: add pkgs.callPackage before goFish on line 7
<sphalerite>
brodul: pkgs.callPackage fills in any arguments for the function that are available in nixpkgs. The problem isn't your `inherit buildDeps` but that it's missing all the necessary attributes
<sphalerite>
in fact then you should be able to replace {inherit buildDeps;} with {}
<sphalerite>
but {inherit buildDeps;} is equivalent to {buildDeps = buildDeps;} so what you're doing in the snippet you pasted is passing a set containing just one attribute to the expression in default.nix
<brodul>
sphalerite: that works great
<brodul>
tnx
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5gZ5
<NixOS_GitHub>
nixpkgs/master 7a96ec9 Michel Kuhlmann: saga: 2.3.1 -> 5.0.0
gnuhurd has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 6 new commits to master: https://git.io/v5gEe
<NixOS_GitHub>
nixpkgs/master dbf6e36 Franz Pletz: postgresql9{1,2}: remove, not supported anymore...
<NixOS_GitHub>
nixpkgs/master 8b930e7 Franz Pletz: postgresql93: 9.3.17 -> 9.3.19
<NixOS_GitHub>
nixpkgs/master df0b19a Franz Pletz: postgresql94: 9.4.12 -> 9.4.14
NixOS_GitHub has left #nixos []
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
sellout-1 has joined #nixos
mudri has quit [(Quit: WeeChat 1.9)]
sellout- has quit [(Ping timeout: 260 seconds)]
__Sander__ has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 21 new commits to release-17.09: https://git.io/v5gEp
<NixOS_GitHub>
nixpkgs/release-17.09 431f24e José Luis Lafuente: hyper: 1.3.3 -> 1.4.3...
<NixOS_GitHub>
nixpkgs/release-17.09 886ab96 SLNOS: firefoxPackages: add `extraConfigureFlags` to common builder, move `--disable-loop` flag to tor-browser expression...
<NixOS_GitHub>
nixpkgs/release-17.09 f7d0f71 SLNOS: firefoxPackages: add `extraMakeFlags` to common builder, fix official branding handling...
NixOS_GitHub has left #nixos []
ryantrinkle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5guq
<NixOS_GitHub>
nixpkgs/master 3d8d9aa Piotr Bogdan: caps: fix build with gcc6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/v5gus
<NixOS_GitHub>
nixpkgs/release-17.09 6ba56fe Piotr Bogdan: caps: fix build with gcc6...
NixOS_GitHub has left #nixos []
mrkgnao has quit [(Quit: WeeChat 1.7.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5gzJ
<NixOS_GitHub>
nixpkgs/master 59bed53 Franz Pletz: postgresql9{1,2}: fix evaluation
<tilpner>
Does "grep docker /etc/group" list your user?
<andrewrk>
avn, when I boot, docker isn't even a command I can run. if I do rebuild switch without changing anything, then it becomes a command I can call
cpennington has quit [(Ping timeout: 240 seconds)]
<tilpner>
But "id" or "groups" do not?
<andrewrk>
tilpner, correct
<disasm>
andrewrk: it seems like either a) your rebuild before reboot failed or b) you didn't boot the latest generation. If docker command didn't exist and rebuild installed it, I'd guess logout/login should get correct groups now.
<andrewrk>
this is on 17.03.1775.56da88a298 (Gorilla) btw
vengefulpickle has quit [(Ping timeout: 240 seconds)]
<tilpner>
disasm - If /etc/group is correct, doesn't that mean they booted a correct generation?
<andrewrk>
this is definitely the latest generation
<clever>
or he re-ran nixos-rebuild after logging in
<ToxicFrog>
It occurs to me that nixpkgs could really use something like netKAN that automatically updates derivations when new versions of the package are released, and/or some easier way for users to say "download and install <version>" and pass the version number to the derivation
<tilpner>
clever - True. Did you, andrewrk?
<clever>
2017-09-05 13:23:42 < andrewrk> avn, when I boot, docker isn't even a command I can run. if I do rebuild switch without changing anything, then it becomes a command I can call
<andrewrk>
yes. check the paste ^
<simpson>
ToxicFrog: I would like this idea more if packages came with useful test suites more often.
<simpson>
But unfortunately it's very hard to know whether upgrading one package will cause dependents to break.
<clever>
andrewrk: what does /run/current-system point to, before and after a reboot?
<andrewrk>
clever, after is lrwxrwxrwx 1 root root 82 Sep 5 12:29 current-system -> /nix/store/0n1ycdkyjknnl7my6hvy0s7q2h7gs2g2-nixos-system-xps-17.03.1775.56da88a298. I'll reboot again...
<disasm>
sounds to me like boot loader is defaulting to a previous generation, maybe autosave with grub or something is enabled.
<clever>
or /boot isnt even mounted
<ToxicFrog>
simpson: fair point
gnuhurd has joined #nixos
<ToxicFrog>
I mostly run into this with "leaf" packages like youtube-dl
<ToxicFrog>
If I add a new overlay, so I need to nixos-rebuild for nix-shell to respect it?
<clever>
ToxicFrog: nix-shell will never read configuration.nix
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
<ToxicFrog>
Aah. This explains why testing overlays has been so confusing in the past.
ambro718 has joined #nixos
<ToxicFrog>
Ok, new question -- say I have the default.nix for a package in nixpkgs. I've made some modifications to it and want to build it with those modifications and run it, presumably using nix-shell. I don't have a complete nixpkgs checkout. How do I get nix-shell to call it with the right arguments?
<clever>
ToxicFrog: for nix-shell, nix-build, and nix-env, it will obey ~/.config/nixpkgs/overlays and <nixpkgs-overlays>
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #29028: misc pkgs: Clean up cross (master...cross-cleanup) https://git.io/v5gXl
NixOS_GitHub has left #nixos []
<tokudan[m]>
after updating to 17.09beta43.0fd7ef61b2 I've got a strange phenomen in the terminal: some updates seem to be put out of place. best way to reproduce is in htop. after starting it, all processes are correctly listed in the table, just the one process that is under the selection bar is slightly off. when i then move the selection bar down, more processes are displayed wrong. can someone else reproduce this issue?
<tokudan[m]>
terminals i tried are gnome-terminal and alacritty
<tokudan[m]>
both suffer from the same issue
freeman42x[nix] has quit [(Quit: Leaving)]
<ToxicFrog>
tokudan[m]: this is a known issue with a recent release of terminfo
<ToxicFrog>
It doesn't affect all TERMs, so try TERM=linux or TERM=screen-256color
<tokudan[m]>
ah, good to know. thanks
<ToxicFrog>
(it hit SUSE as well)
<tokudan[m]>
yep, when i set TERM=screen-256color it's working fine
<tokudan[m]>
ToxicFrog: thanks!
<ToxicFrog>
You're welcome! I hit this on my (SUSE-based) laptop just last week and had to do some rummaging to fix it.
<ToxicFrog>
Not sure if the plan for Nix is to wait for upstream to fix it, or patch terminfo in nixpkgs.
<tokudan[m]>
i'll open a bug on nixos... would be bad if that entered 17.09
<ToxicFrog>
Thanks.
ixxie has joined #nixos
<globin>
ah it's terminfo? we couldn't find the package that caused it
<ToxicFrog>
globin: appears to be; initial suspicion pointed at curses or rxvt, but someone on the SUSE bugtracker isolated it to terminfo.
<freeman42x[nix]>
I assume the proper way to install it would be using wine and not mono
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to staging: https://git.io/v5gDo
<NixOS_GitHub>
nixpkgs/staging bbeeee2 Franz Pletz: Merge remote-tracking branch 'origin/master' into staging
<NixOS_GitHub>
nixpkgs/staging fea02e3 Franz Pletz: ncurses: 6.0-20170729 -> 6.0-20170902...
NixOS_GitHub has left #nixos []
zennist has joined #nixos
<fpletz>
tokudan[m]: globin: the ncurses bump above fixes the xterm terminfo issue for me
<fpletz>
I was looking if debian has a patch but they bumped it to that version :)
<zennist>
is there a syntax guide for nix the language somewhere? i'm pretty frustrated there isn't a straightfoward reference guide for what the syntax is
<tokudan[m]>
oh?
digitus has quit [(Read error: Connection reset by peer)]
<tokudan[m]>
then I'll retry with a new update before opening the issue
peacememories has quit [(Client Quit)]
<fpletz>
tokudan[m]: I was testing with htop (that was a short build)
<zennist>
e.g., I was trying to figure out if there is a way to shorten the syntax such as 'myfun { pkgs = pkgs, arg = arg, anotherArg = anotherArg }' i.e., I have a number of variables in scope and just want to pass them as they are to the function myfun
<tokudan[m]>
fpletz: has the update hit the channel already or is it only available in nixpkgs/release-17.03?
erictapen has quit [(Ping timeout: 260 seconds)]
<zennist>
LnL: yes saw that one, it's pretty good but it's like a tutorial; can't find an answer to my question
<zennist>
i'm familiar with javascript's destruction syntax e.g., '{ a, b, c} = myobj'; and seems like you can't do that with nix
<LnL>
zennist: but for your question, you can use myfun { inherit pkgs arg anotherArg; }
<zennist>
LnL: awesome that's what I need :)
<zennist>
but I don't understand given why you can't do destruction in a 'let', you can do that with function input
<LnL>
that works both in a let and an attrset
<zennist>
i.e., I see functions defined as '{ a, b, c}: ... '
peacememories has joined #nixos
<LnL>
you can do the same with inherit, let inherit (attrs) a b c; in a + b + c
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5gyw
<NixOS_GitHub>
nixpkgs/master 84ec7ef Franz Pletz: file: 5.31 -> 5.32 for CVE-2017-1000249
NixOS_GitHub has left #nixos []
peacememories has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/v5gyb
<NixOS_GitHub>
nixpkgs/release-17.09 6d8a5d7 Franz Pletz: file: 5.31 -> 5.32 for CVE-2017-1000249...
NixOS_GitHub has left #nixos []
<recvec>
hello everyone, i got a little problem running steam after freshly installing nixos. terminal message when try to run steam: https://pastebin.com/AMCRb7NB anyone got an idea?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 3 new commits to release-17.03: https://git.io/v5gSn
ryantrinkle has quit [(Ping timeout: 248 seconds)]
<sphalerite>
hahaha
Filystyn has joined #nixos
<zennist>
is there a way to compose two functions in nix?
<zennist>
e.g., (.) in haskell
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<simpson>
I bet it's in nixpkgs/lib.
<sphalerite>
no infix composition though afaik :(
<simpson>
Huh, I can't find a version in lib. It's not hard to write though.
sellout- has joined #nixos
silver_hook has quit [(Ping timeout: 240 seconds)]
bennofs has joined #nixos
<sphalerite>
I think it's not there because the lack of custom infixing makes it a less convenient way to express what you mean most of the time
srk has quit [(Ping timeout: 264 seconds)]
<sphalerite>
`lib.compose a b` vs `x: a (b x)`
<simpson>
On the flip side (pardon the pun) I don't miss not having operators like (.:).
griff_ has joined #nixos
<sphalerite>
what's (.:) ?
<sphalerite>
flip?
<sphalerite>
flipped compose?
<sphalerite>
I can't just google .: 😭
<simpson>
It's `(.) . (.)`
<sphalerite>
so "compose composed with compose"… uh…
bennofs has quit [(Ping timeout: 246 seconds)]
<zennist>
the boobs operator
erictapen has joined #nixos
<simpson>
(.) . (.) :: (b -> c) -> (a1 -> a -> b) -> a1 -> a -> c
pie_ has joined #nixos
<sphalerite>
oh I see
<Rotaerk>
I see one of the settings in 'man configuration.nix' mention enableParallelBuilding, but that, itself, is not one of the documented settings for it
<Rotaerk>
where is that setting at?
<sphalerite>
that seems useful, but not useful enough to give it a name like that…?
<Rotaerk>
I'd like to temporarily disable parallel building, to help me diagnose a failed build
<sphalerite>
Rotaerk: it's an attribute on a derivation
<Rotaerk>
ah
<sphalerite>
if it's not present, it's assumed to be false
ibor has joined #nixos
takle has quit [(Remote host closed the connection)]
<sphalerite>
Hm, it's only mentioned in the option documentation and the release notes in the nix manual :(
goibhniu has joined #nixos
<Rotaerk>
well the problem I'm imagining is ... how would I get it to apply to all the derivations
<Rotaerk>
I mean, I just want tthis entire build to be single threaded, so that I can make out what's failing
<Rotaerk>
the problem is all the outputs are interleaved
<clever>
nix-build -j 1
<Rotaerk>
hmm
<clever>
and maybe nix-build -j 1 --option build-cores 1
<Rotaerk>
ah; interesting
<clever>
-j1 will prevent derivations from being interleaved, the 2nd part will pass -j1 to make inside each
<clever>
enableParallelBuilding just allows derivations to obey build-cores
takle has joined #nixos
rmarko has joined #nixos
pxc has joined #nixos
freeman42x[nix] has joined #nixos
thetet has joined #nixos
<sphalerite>
Rotaerk: yeah, there's -j which decides how many derivations can be built at once and --cores which decides how many cores can be used for one derivation
sellout- has quit [(Quit: Leaving.)]
<Rotaerk>
yea I just did that, and it's now clear what's failing
<sphalerite>
Rotaerk: what might also be useful is passing -Q and just looking at the logs created in /nix/var/log
thetet has left #nixos []
<Rotaerk>
HUnit fails to build
acarrico has quit [(Ping timeout: 240 seconds)]
<freeman42x[nix]>
any trick to get rid of the flickering of the top right of the xfce default UI?
<clever>
though nix doesnt save the log of failing builds, as far as i know
<freeman42x[nix]>
the notifications/workspaces etc. area flickers every 3 seconds or so
freeman42x[nix] has quit [(Remote host closed the connection)]
<Rotaerk>
time to have nix-build vomit for me ...
<Rotaerk>
the failure report for WHY HUnit failed isn't clear
freeman42x[nix] has joined #nixos
sigmundv__ has joined #nixos
freeman42x[nix] has quit [(Remote host closed the connection)]
freeman42x[nix] has joined #nixos
<sphalerite>
clever: yes it does :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/v5gNy
<NixOS_GitHub>
nixpkgs/master 402e6ac Samuel Leathers: libfpx: fix build with gcc6
NixOS_GitHub has left #nixos []
<sphalerite>
freeman42x[nix]: don't know what would be causing it but running a compositor might help. Try nix-shell -p compton --run compton and see if it goes away
<freeman42x[nix]>
sphalerite, already running the compositor recommended in the manual
<freeman42x[nix]>
actually, that might be when it started flickering
jellowj has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 1 new commit to release-17.09: https://git.io/v5gAI
<NixOS_GitHub>
nixpkgs/release-17.09 d941104 John Ericson: haskell infra: Make sure packages get custom stdenv...
NixOS_GitHub has left #nixos []
<sphalerite>
freeman42x[nix]: yep, try disabling it
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 1 new commit to release-17.03: https://git.io/v5gAG
<NixOS_GitHub>
nixpkgs/release-17.03 1360efe John Ericson: haskell infra: Make sure packages get custom stdenv...
NixOS_GitHub has left #nixos []
<freeman42x[nix]>
sphalerite, I'll try playing with its settings a bit, if I can find them :)
nikola_i has joined #nixos
<freeman42x[nix]>
I liked that in KDE I could just type something in the menu and it would find it, xfce doesn't seem to be doing that without the special search app
<sphalerite>
xfce isn't fancy, if you want fancy stuff like that use KDE :p
<freeman42x[nix]>
sphalerite, you call that fancy? :D a simple search?!
<freeman42x[nix]>
sphalerite, there is compton under Accessories but it does not start
<sphalerite>
¯\_(ツ)_/¯
<sphalerite>
it's probably already running
<sphalerite>
does pgrep -a compton say anything?
<freeman42x[nix]>
sphalerite, I assume that running that would open the settings for it
<Sonarpulse>
copumpkin and I have ever so vaguely mused on making llvm-linux stdenv
<edef>
also no libgcc, but I haven't figured out how to make it use compiler-rt on x86_64 just yet
<Sonarpulse>
elvishjerricco had issues with compiler-rt and crt*.o
<Sonarpulse>
a lot of that stuff seemed not to exist in ways clang wasn't happy with
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<elvishjerricco>
yea I'm pretty sure clang hard codes the location of compiler-rt builtins to some subdirectory of LLVM. I'm probably gonna try to patch Clang to make it configurable.
<edef>
mmh
Denommus has joined #nixos
<elvishjerricco>
you can just do `-lcompiler_rt` and have the lib in the `-L` path somewhere, but Clang can still generate libgcc-specific code that way. This wasn't a problem when I was testing GHC on aarch64, but it didn't work for raspberry pi.
<elvishjerricco>
so you need to do -rtlib=compiler-rt, and that has a hard coded path.
<edef>
right, yes
<edef>
I was stracing it to find things
<edef>
my plan was to patch it to default rtlib to compiler-rt but I haven't dug into that just yet
<elvishjerricco>
Though, if one built compiler-rt as a part of the llvm build, and if llvm was being built with clang, it might build compiler-rt for each of the possible targets and put it in that correct hard coded path. This would mean building llvm becomes a two stage thing, but I guess that's not the worst.
bfrog has joined #nixos
nh2 has quit [(Ping timeout: 255 seconds)]
<elvishjerricco>
Oh actually probably not. compiler-rt depends on the headers from libc for some reason, so you do need at least the headers for the right platform to build the right compiler-rt, and I doubt llvm has any way to do that during its build process.
<edef>
ah
dieggsy has quit [(Ping timeout: 260 seconds)]
nh2 has joined #nixos
Filystyn has quit [(Quit: Konversation terminated!)]
<Denommus>
hey
<Denommus>
anyone here using pypi2nix? I'm failing to build Pillow
Ivanych has quit [(Ping timeout: 240 seconds)]
<Denommus>
during compilation it says openjpeg.h can't be found
nikola_i has quit [(Ping timeout: 255 seconds)]
_ris has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
simukis has quit [(Quit: simukis)]
jellowj has quit [(Ping timeout: 246 seconds)]
jellowj has joined #nixos
hiratara has quit [(Ping timeout: 264 seconds)]
hiratara has joined #nixos
jsgrant has quit [(Quit: jsgrant)]
jellowj has quit [(Ping timeout: 248 seconds)]
scribbler has quit [(Remote host closed the connection)]
<dash>
Denommus: you need to use pypi2nix -E libjpeg
<dash>
-E is for specifying extra nix derivations to use
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/v52nc