<ndowens08>
is there a way to set nixos-rebuild and nix-env to use local copy of the nixpkg repo instead of having to specify everyime, something like nix-channels
<M-liberdiko>
I'm trying to make a package with udev rules, I made a module with with services.udev.packages. But now I'm stuck because my rule use RUN+= and so I get "/nix/store/7fkdimvawvzas7hspn13apdp98ivvqzg-systemd-231/bin/chgrp is called in udev rules but not installed by udev"
eacameron has joined #nixos
<Ralith>
ndowens08: you can set the NIX_PATH environment variable
<avn>
nh2: mode should be set, then file is copied instead of symlinking
<M-liberdiko>
Does there is another way that making a derivation?
<avn>
curious, never heard about this before
AllanEspinosa has quit [(Ping timeout: 246 seconds)]
user1_ has joined #nixos
<M-liberdiko>
I know there is the expression udev-path, but I wasn't successful using it
eacameron has quit [(Ping timeout: 258 seconds)]
<user1_>
Hi. Does anyone have experience with the 'boot.initrd.network' family of options? I've enabled SSH and added a hostkey as well, but my machine does not seem to run the dhcp client on my network interfaces. At least it is not verbose about it.
<user1_>
It is my understanding that as long as the kernel parameter 'ip' is not used and networking.useDHCP is true, then it should default to dhcp. I'm not sure if the interface should somehow be specified as well?
mudri has quit [(Quit: WeeChat 1.7)]
deepfire has joined #nixos
alx741 has quit [(Quit: alx741)]
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 4 new commits to master: https://git.io/vyVip
<NixOS_GitHub>
nixpkgs/master 42cf524 Thomas Tuegel: nixos/plasma5: set default fonts for Plasma desktop
<NixOS_GitHub>
nixpkgs/master 164cdd3 Thomas Tuegel: startkde: inherit NixOS system font settings
<NixOS_GitHub>
nixpkgs/master 286b007 Thomas Tuegel: nixos/fontconfig: lift some settings out of fontconfig.ultimate
deepfire has quit [(Ping timeout: 240 seconds)]
Rotaerk has joined #nixos
fhoffmeyer has joined #nixos
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
ericsagnes has joined #nixos
user1_ has quit [(Ping timeout: 240 seconds)]
Kendos-Kenlen has quit [(Quit: Konversation terminated!)]
deepfire has joined #nixos
ndowens08 has quit [(Ping timeout: 260 seconds)]
ndowens08 has joined #nixos
AllanEspinosa has joined #nixos
eacameron has joined #nixos
user1_ has joined #nixos
k0001_ has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 264 seconds)]
user1_ has quit [(Quit: leaving)]
mkoenig has quit [(Ping timeout: 256 seconds)]
Rizy has quit [(Quit: Rizy)]
mkoenig has joined #nixos
ndowens08 has quit [(Quit: WeeChat 1.7)]
mbrgm_ has joined #nixos
derjohn_mob has quit [(Ping timeout: 260 seconds)]
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm_ is now known as mbrgm
ndowens08 has joined #nixos
spinus has quit [(Ping timeout: 258 seconds)]
deepfire has quit [(Ping timeout: 240 seconds)]
<ndowens08>
Anyone use clang as their default compiler?
<contrapumpkin>
all of darwin
<ndowens08>
speaking of darwin, wish I could try darwin, like gnudarwin and puredarwin, wish they still was around :)
derjohn_mob has joined #nixos
deepfire has joined #nixos
griff_ has joined #nixos
erlandsona has joined #nixos
<erlandsona>
Anyone here use NixOS?
<erlandsona>
Bah, I'm stupid I meant to ask if anyone uses xmonad
deepfire has quit [(Ping timeout: 240 seconds)]
<Rotaerk>
lol
<Rotaerk>
anyone here use IRC?
<ndowens08>
nope not at all
<dash>
irc causes cancer
Wizek has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
Wizek_ has joined #nixos
hexagoxel has joined #nixos
deepfire has joined #nixos
<gchristensen>
erlandsona: I know for certain some people here use xmonad, I just don't remember who :(
<contrapumpkin>
zope_interface in python-packages is version 4.*
fhoffmeyer has joined #nixos
<contrapumpkin>
our version of twisted seems to go to great lengths to check that it's version 3.6ish
<contrapumpkin>
on python2
<contrapumpkin>
yet it seems to work in some settings
<contrapumpkin>
(and I mean it checks at runtime, not with setuptools)
hamishmack has joined #nixos
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
systemfault has quit [(Quit: Bye!)]
pallav has quit [(Quit: pallav)]
pallav has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vyVdT
<NixOS_GitHub>
nixpkgs/master c390cec Dan Peebles: buildbot NixOS modules: switch to not daemonize...
AllanEspinosa has quit [(Ping timeout: 264 seconds)]
Sonarpulse has quit [(Ping timeout: 260 seconds)]
ryanartecona has joined #nixos
<tnks>
I have the a unexpected defect.
<tnks>
when I have allowUnfree = true, I can access lib.licenses.bsd3 as an attribute.
<tnks>
but when it's false (default, I believe), I can't access that field.
<tnks>
but I see the field in nix-repl.
<tnks>
I'm assuming someone here can fastly explain this.
<tnks>
I figured it out.
<tnks>
thanks for the rubber duck.
<NixOS_GitHub>
[nixpkgs] peterhoeg opened pull request #23688: vlc: compile against qt 5.6 (master...f/vlc) https://git.io/vyVFi
fhoffmeyer has joined #nixos
fhoffmeyer has quit [(Ping timeout: 260 seconds)]
<contrapumpkin>
pierron: I vaguely remember you creating a module system feature to be able to override the nixpkgs the module system is being evaluated against, inside the module system, but that it got reverted. Am I imagining things? I really want that feature :)
mkoenig has quit [(Ping timeout: 246 seconds)]
mkoenig has joined #nixos
MP2E has joined #nixos
kyren_ has joined #nixos
kyren has quit [(Ping timeout: 240 seconds)]
roconnor has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vyVb2
<NixOS_GitHub>
nixpkgs/master 1309b08 Dan Peebles: buildbot-plugins: use callPackages, since it contains several...
roconnor_ has joined #nixos
roconnor has quit [(Ping timeout: 240 seconds)]
roconnor__ has joined #nixos
roconnor_ has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
Rizy has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
eacameron has quit [(Ping timeout: 256 seconds)]
indi_ has quit [()]
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vyVNL
<NixOS_GitHub>
nixpkgs/master b36ee3d Peter Hoeg: dropbox: 20.4.19 -> 21.4.25
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to release-17.03: https://git.io/vyVN3
<NixOS_GitHub>
nixpkgs/release-17.03 064cda9 Peter Hoeg: dropbox: 20.4.19 -> 21.4.25...
ryanartecona has joined #nixos
justbeingglad has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to release-16.09: https://git.io/vyVNC
<NixOS_GitHub>
nixpkgs/release-16.09 f89ab94 Peter Hoeg: dropbox: 20.4.19 -> 21.4.25...
koenvg_ has quit [(Quit: WeeChat 1.6)]
Rizy has quit [(Quit: Rizy)]
<NixOS_GitHub>
[nixpkgs] sh01 opened pull request #23689: hwdata: Use content-addressed source file; previous source tarball changes contents. (master...hwdata_hashaddr) https://git.io/vyVN9
<NixOS_GitHub>
[nixpkgs] sh01 opened pull request #23691: git-annex: Fetch from git, since 6.20170101.tar.gz is gone. (release-16.09...ga_cherrypick_16) https://git.io/vyVNb
MercurialAlchemi has joined #nixos
<sphalerite>
trying to use the ubuntu installer... It sucks, it needs so much hand-holding
<sphalerite>
"What should this be?" "Oh, what about this?" "And this?"
<sphalerite>
Configure-then-install ftw
<NixOS_GitHub>
[nixpkgs] sh01 opened pull request #23692: angband: Fix build by enabling stats frontend. (master...angband_fix_stats) https://git.io/vyVAJ
<sphalerite>
"Let me just stop the entire installation while I wait for some input from you"
fhoffmeyer has joined #nixos
Rizy has joined #nixos
wangoe has quit [(Ping timeout: 258 seconds)]
fhoffmeyer has quit [(Ping timeout: 256 seconds)]
filterfish has quit [(Ping timeout: 260 seconds)]
MichaelRaskin has quit [(Quit: MichaelRaskin)]
roconnor__ has quit [(Quit: Konversation terminated!)]
<mkoenig>
i'd like to use a different gateway for nixos-rebuild (iptables -t mangle -m owner). which user downloads the resources? nix-daemon, nix-bld or root? or is there an easier way?
rmeis has joined #nixos
exarkun has joined #nixos
<mkoenig>
i could also set up a proxy but i haven't figured out how to set a proxy for nixos-rebuild only (maybe environment env for the user who downloads from cache)
<mkoenig>
it might not work if an other user than root downloads the stuff. but i'll try, thanks :) btw i tried it some time ago and it didn't work with firefox, discord and google-chrome, only for console applications
<sphalerite>
why does ls prepend a space to each line in 17.03? :(
reinzelmann has joined #nixos
thc202 has joined #nixos
<mkoenig>
hmm it doesn't on 17.09.git.b36ee3d ...
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
proteusguy has quit [(Ping timeout: 240 seconds)]
filterfish has joined #nixos
<c74d>
sphalerite: possibly making room for quotation marks around un-UNIX-y filenames
<c74d>
what does `which ls` say?
freusque has joined #nixos
<c74d>
or, try `ls` in a directory containing a file with a space in its name
eacameron has joined #nixos
paperd has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 268 seconds)]
civodul has joined #nixos
fhoffmeyer has joined #nixos
dMzer has joined #nixos
<dMzer>
hello guys, how do we delete apps from nixstore etc. completely ? telegram is broken so i wanted to remove it completely and install fresh one but nix-env -e didnt work.
proteusguy has joined #nixos
fhoffmeyer has quit [(Ping timeout: 268 seconds)]
martinb1 has joined #nixos
ryanartecona_ has joined #nixos
derjohn_mob has quit [(Ping timeout: 258 seconds)]
ryanartecona has quit [(Ping timeout: 260 seconds)]
ryanartecona_ is now known as ryanartecona
<tomsmeets>
dMzer: you have to run 'nix-collect-garbage' to delete unused packages
nekroze has joined #nixos
brh has quit [(Remote host closed the connection)]
<nekroze>
Since upgrading to 17.03 I have been getting errors trying to use hwclock as a non root user (such as when using libvirt via nixops) because /dev/rtc0 is 0700 permissions. Is this a known issue?
<nekroze>
or is there a simple solution I am missing?
rc1140 has joined #nixos
<rc1140>
hi all anyone know where i can get a copy of the disnix documentation from , the links here (https://nixos.org/disnix/docs.html ) are broken
tomsmeets has quit [(Remote host closed the connection)]
ericsagnes has quit [(Ping timeout: 260 seconds)]
<nekroze>
Has anyone been able to use libvirt under nixos channel 17.03?
<ekleog>
hmm, anyone has an idea about how to get a qemu with debug symbols? I've edited the derivation to add makeFlags = [ "CFLAGS=-ggdb3" ]; dontStrip = true; stripDebugList = []; yet it stills strip qemu binaries (and tells me it's doing so)
filterfish has quit [(Ping timeout: 258 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
<NixOS_GitHub>
[nixops] aszlig pushed 1 new commit to master: https://git.io/vywfG
<NixOS_GitHub>
nixops/master 4bbceb2 aszlig: nix/ssh-tunnel: Don't set addrgenmode to none...
ryanartecona has joined #nixos
ryanartecona has quit [(Client Quit)]
derjohn_mob has joined #nixos
Rizy has joined #nixos
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
chakerbenhamed has joined #nixos
eacameron has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vywfK
<NixOS_GitHub>
nixpkgs/master f3a4f31 Michael Raskin: libreoffice-still: apply the patch for ICU 58, see 17126
filterfish has joined #nixos
mkoenig has quit [(Ping timeout: 264 seconds)]
mkoenig has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
<nekroze>
Since 17.03 it seems every nixops libvirt vm I start instantly enter kernel panic
<the-kenny>
Anyone got a trick to make `cargo update` use the registry that's available in a given nixpkgs? My development-registry is far newer than the registry used on the deployment target, so my Cargo.lock has to use versions from there
Rizy has quit [(Quit: Rizy)]
fhoffmeyer has joined #nixos
nekroze has quit [(Ping timeout: 252 seconds)]
MoreTea has joined #nixos
goibhniu has joined #nixos
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
MoreTea has quit [(Ping timeout: 258 seconds)]
FRidh has joined #nixos
<dMzer>
how we do a fresh application installation ? i can reinstall fresh telegram
<the-kenny>
Why do you want to do that?
<dMzer>
because telegram is broken now
<the-kenny>
"broken"?
Rizy has joined #nixos
<dMzer>
i cant open it. It says "Last time telegram not closed properly"
<dMzer>
keeps saying that
<the-kenny>
Well that isn't related to NixOS, that's coming from Telegram itself. Try removing the user-data directory, usually a hidde folder in ~, ~/.config, or ~/.local/share
<the-kenny>
(Do *NOT* remove these directories completely, check if there's a telegram directory in there)
<dMzer>
yeah okey
<dMzer>
the-kenny: finally thank you, you taught me something thank you very much
rmeis has quit [(Ping timeout: 258 seconds)]
<the-kenny>
You're welcome :)
filterfish_ has joined #nixos
filterfish has quit [(Ping timeout: 260 seconds)]
<unlmtd[m]>
that does sound like a broken implementation though
dMzer has quit [(Ping timeout: 240 seconds)]
<the-kenny>
yeah, it should check its own PIDfile and see if the process still exists
nekroze has joined #nixos
Rizy has quit [(Quit: Rizy)]
Judson has quit [(Remote host closed the connection)]
Rizy has joined #nixos
<manveru>
is there some info about the new security.wrappers thing?
<sphalerite>
c74d: my ls is /nix/store/5lfwsx1nkrcqp7p24qr8z4wiwfxx5idv-coreutils-8.26/bin/coreutils
<sphalerite>
I preferred the old behaviour where bad filenames were just not exactly aligned
rmeis has joined #nixos
phant0mas has joined #nixos
<pierron>
contrapumpkin: I did made a system which was able to pin a specific version of NixOS, but indeed it got reverted by niksnut because it might have appeared to be a costly operation. This feature requires instrumentation on both side, the NixOS version which is being replaced and the NixOS which is replacing it. I honestly do not know why it got reverted because you were not the only one to request it.
<pierron>
contrapumpkin: That's part of the reason why I don't like a system where anybody except a bot has commit access.
<pierron>
contrapumpkin: I think that "reverted" patches should also go through a review process as well.
<pierron>
If this is a breaking change, then a lot of people would vouch for reverting the changes, if this is not, this would be a question for the maintainer.
<NixOS_GitHub>
[nixpkgs] sargon opened pull request #23697: sshguard + service: init at 1.7.1 (master...master) https://git.io/vywLt
andymandias has quit [(Ping timeout: 260 seconds)]
adfaure has joined #nixos
deepfire has joined #nixos
the_scourge has joined #nixos
fhoffmeyer has joined #nixos
ThatDocsLady has joined #nixos
<NixOS_GitHub>
[nixpkgs] zimbatm closed pull request #6311: Link against lua correctly (master...lua-link) https://git.io/NZX1
bennofs has joined #nixos
fhoffmeyer has quit [(Ping timeout: 258 seconds)]
bennofs has quit [(Client Quit)]
<NixOS_GitHub>
[nixpkgs] peti closed pull request #23691: git-annex: Fetch from git, since 6.20170101.tar.gz is gone. (release-16.09...ga_cherrypick_16) https://git.io/vyVNb
dannyg has joined #nixos
pareidolia has quit [(Ping timeout: 264 seconds)]
pareidolia has joined #nixos
mudri has joined #nixos
joelmo has joined #nixos
<NixOS_GitHub>
[nixpkgs] qknight pushed 1 new commit to qknight-overrideAttrs: https://git.io/vywq2
<NixOS_GitHub>
nixpkgs/qknight-overrideAttrs 80d87c9 Joachim Schiele: Update python.md
<NixOS_GitHub>
[nixpkgs] qknight pushed 1 new commit to qknight-overrideAttrs: https://git.io/vywqi
<NixOS_GitHub>
nixpkgs/qknight-overrideAttrs e1fe2a8 Joachim Schiele: Update python.md
deepfire has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub>
[nixpkgs] qknight pushed 1 new commit to qknight-overrideAttrs: https://git.io/vywme
<NixOS_GitHub>
nixpkgs/qknight-overrideAttrs d138b77 Joachim Schiele: Update python.md
adfaure has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] qknight pushed 1 new commit to qknight-overrideAttrs: https://git.io/vywmr
<NixOS_GitHub>
nixpkgs/qknight-overrideAttrs 49f5ebb Joachim Schiele: Update python.md
<Unode>
Hi all. Question: When using nix-build with a -o target and for standard expressions in a channel is there any situation where the produced target would require additional wrapping?
<goibhniu>
I think kde apps might require extra wrapping, so I'd say yes
<Unode>
I'm thinking about having a few packages on a standard location built with nix-build. Shared system where nix is available but most users don't want to have to deal with it.
<Unode>
goibhniu: cool, kde shouldn't be on the list.
<goibhniu>
what's the advantage over using nix-env?
<Unode>
goibhniu: what I just said, it's not nixos and people don't have to interact with nix if they don't want to.
<goibhniu>
yeah, I don't understand how using nix-build helps with that
Rizy has quit [(Quit: Rizy)]
<Unode>
don't worry, I do :)
<goibhniu>
figure it out then :P
<Unode>
was just wondering if what I would get with nix-build could be launched without any extra nix setup or wrapping. Like, if I give someone else a full path to an executable /path/to/target/bin/binary it will just work.
<NixOS_GitHub>
[nixpkgs] rick68 opened pull request #23699: fix the incorrect elasticsearch plugin name (master...patch-7) https://git.io/vywOI
filterfish_ has quit [(Ping timeout: 260 seconds)]
filterfish has joined #nixos
proteusguy has quit [(Quit: Leaving)]
fhoffmeyer has joined #nixos
fhoffmeyer has quit [(Ping timeout: 256 seconds)]
romildo has joined #nixos
<philipp[m]1>
When opening slack I just get a white window below the menu bar. Anybody eles having the issue?
<philipp[m]1>
Not that I'm complaining. From my point of view that's a feature.
<Yaniel>
which nixos channel is that?
<Yaniel>
I remember seeing something similar in atom
<romildo>
nm-applet are using the 'memory' GSettings backend on my unstable NixOS system, so it forgets any setting done. I am using the openbox window manager. I have 'pkgs.gnome3.dconf' in 'services.dbus.packages' in the system configuration. Any clues or fix?
<philipp[m]1>
nixpkgs-unstable.
mkoenig has quit [(Ping timeout: 264 seconds)]
mkoenig has joined #nixos
cfricke has joined #nixos
<romildo>
Before the latest change https://github.com/NixOS/nixpkgs/commit/8aa73bbf55884d2a94db0e54aa5ceb92a513371b '${gnome3.dconf}/lib/gio/modules' used to be added to GIO_EXTRA_MODULES in an explicitly wrapper, which is now replaced by wrapGAppsHook. There is no explicitly mention of dconf anymore in the nix expression. Can it be related?
MoreTea has joined #nixos
nekroze has quit [(Quit: Lost terminal)]
Seichi has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
<ben>
fwiw i cant use evolution right now because it doesnt seem to be able to recall all my account info, that might be a similar problem
<ben>
i'm not at the right computer rn so i can't look at the details tho :/
apostolis has joined #nixos
<apostolis>
What are the options with regard to a dual monitor setup. I got xmonad working. Now I want each monitor to have different windows.
nh2 has joined #nixos
<lassulus>
apostolis: use arandr/xrandr to configure them as seperate screens
<lassulus>
arandr is graphical, xrandr is a cli
<apostolis>
lassulus: I would prefer if I did it in the configuration file.
mkoenig_ has joined #nixos
<lassulus>
ic, hmm, is the second monitor always attached?
<apostolis>
Not really, but it won't be a problem I think. Most of the time it is.
<apostolis>
I could make two configurations
mkoenig has quit [(Ping timeout: 260 seconds)]
martinb1 has quit [(Ping timeout: 260 seconds)]
<apostolis>
lassulus: I will do what you say. thanks. (hope it works)
<the_scourge>
apostolis: your configuration file is xinitrc, and the configuration line is a xrandr invocation :)
<lassulus>
you also could do that in
<apostolis>
I used to use xrandr. Then I was spoiled by the nixos promises :)
<NixOS_GitHub>
[nixpkgs] MP2E opened pull request #23705: nvidia_x11_beta: add patch to support Linux 4.10.x (master...nvidia_patch) https://git.io/vywBb
ericsagnes has joined #nixos
<NixOS_GitHub>
[nixpkgs] MP2E opened pull request #23706: SDL2_mixer: add optional fluidsynth support (master...sdl2_mixer_update) https://git.io/vywRU
nh2 has joined #nixos
<NixOS_GitHub>
[nixpkgs] MP2E opened pull request #23707: qt58: init at 5.8.0 (master...qt58) https://git.io/vywR3
<Gravious>
probably not helpful but iirc apropos is man -k
<Gravious>
oh you have the command but the search fails, in which case ignore me :)
fhoffmeyer has joined #nixos
ThatDocsLady is now known as ThatDocsLady_mtg
<sphalerite>
Gravious: yeah, it just yielded no results. Creating ~/.manpath and running mandb made it work correctly
<Gravious>
cool :)
takle has joined #nixos
<sphalerite>
I'm still stumped as to what exactly the error message "String <something> cannot refer to other paths" thrown by calls to builtins.pathExists means...
fhoffmeyer has quit [(Ping timeout: 268 seconds)]
cfricke has quit [(Quit: WeeChat 1.7)]
nckx has quit [(Quit: ☭ + 🐧 + GNU Guix)]
nckx has joined #nixos
xeviox has joined #nixos
nevermind has joined #nixos
<freusque>
hello, I'm writing my first package and have a small issue. when running nix-env -f . -iA packagename I run into errors
<freusque>
few collision warnings, and then " too many Nix expressions in '.../pkgs/applications/networking/mailreaders' "
<freusque>
This happens when using nixpkgs master and release-17.03
<freusque>
any idea? thx
cfricke has joined #nixos
<NixOS_GitHub>
[nixpkgs] lheckemann opened pull request #23709: xserver: check that selected layout exists (master...xserver-layout-existence) https://git.io/vywzn
<goibhniu>
hi fresheyeball, are you running it from the nixpkgs root?
* goibhniu
gets something similar by running it from nixpkgs/pkgs for example
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vywzR
<NixOS_GitHub>
nixpkgs/master 7dcc40b Nikolay Amiantov: networkmanagerapplet: add dconf and glib_networking...
<goibhniu>
sorry fresheyeball, I meant that for freusque
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to release-17.03: https://git.io/vywz0
<NixOS_GitHub>
nixpkgs/release-17.03 39691e1 Nikolay Amiantov: networkmanagerapplet: add dconf and glib_networking...
kier_ has joined #nixos
kier has quit [(Ping timeout: 240 seconds)]
jeremejevs has joined #nixos
mudri has joined #nixos
phant0mas has quit [(Read error: Connection reset by peer)]
MP2E has quit [(Quit: sleep)]
apostolis has joined #nixos
<gchristensen>
domenkozar: ?
<apostolis>
lassulus: The monitors work fine now.
<apostolis>
Now I am trying to change the default terminal that xmonad creates when I press ctr-alt-Enter
<joachifm>
fpletz: I can't speak to the original design of the wrapper, but I think the idea is to make it as self-contained as possible; there are other problems with ~/.torbrowser4, however, I have an alternate version that always ensures that the local state is updated when necessary
<joachifm>
globin: not working on kiwix per se, just the ZHF :)
<lassulus>
apostolis: are you using the default xmonad config?
<apostolis>
I followed the xmonad wiki, so I guess.
<apostolis>
Do I have to config xmonad? Isn't there a system wide default terminal?
<lassulus>
maybe xmonad created one, not sure what the default behaviour is, but unfortunately xterm is hardcoded in the default xmonad config
<lassulus>
so even setting a global default terminal wouldn't have an effect on xmonad
<apostolis>
ok.
mkoenig_ has quit [(Ping timeout: 258 seconds)]
griff_ has joined #nixos
mkoenig has joined #nixos
<apostolis>
I would config xmonad eventually. I was hoping to have a semi-functional system before and taking my time to do it later.
<lassulus>
but you could create a minimal xmonad.hs with just:
<lassulus>
import XMonad
<lassulus>
main = xmonad def { terminal = "urxvt" }
<lassulus>
or whatever terminal you want to use
ixxie has joined #nixos
<apostolis>
It requires to be compiled, thus I need to install the haskellpackages I suppose.
<lassulus>
activating xmonad should already take care of that, according to the manual you posted, creating .xmonad/xmonad.hs and pressing alt+q should suffice
steshaw has quit [(Quit: Connection closed for inactivity)]
<apostolis>
Ok , I will do that. I think it will work.
Kendos-Kenlen has joined #nixos
<joachifm>
fpletz: anyway, I don't think it's strictly necessary to hard-code the path to the tor executable; from what I can tell it'll resolve it as a relative path from the firefox executable by default so should Just Work
jeremejevs has joined #nixos
Mateon3 has joined #nixos
fhoffmeyer has joined #nixos
derjohn_mob has quit [(Ping timeout: 246 seconds)]
mizu_no_oto has quit [(Ping timeout: 260 seconds)]
<jaym_>
do the docs for unstable get published anywhere?
mudri has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] edanaher opened pull request #23713: nginx: enableACME should turn on SSL (master...nginx-acme-implies-ssl) https://git.io/vywXg
alx741 has joined #nixos
cfricke has quit [(Ping timeout: 258 seconds)]
reinzelmann has quit [(Quit: Leaving)]
fhoffmeyer has joined #nixos
cpennington has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
fhoffmeyer has quit [(Ping timeout: 246 seconds)]
cfricke has joined #nixos
thc202 has quit [(Ping timeout: 256 seconds)]
MercurialAlchemi has quit [(Ping timeout: 258 seconds)]
<icetan>
i have this problem when building with hydra
<icetan>
every time i get too glibc-2.24 build step it fails with: bad interpreter: No such file or directory
<icetan>
it past it after like 10 retries once
<icetan>
and i tried reproducing it locally on several machines including the hydra machines and it builds
mizu_no_oto has joined #nixos
<clever>
icetan: ive seen that before
<clever>
icetan: the problem is that it needs to rebuild something like glibc.doc, so it has to omit the entire glibc from the sandbox
<clever>
icetan: but /bin/sh is linked against glibc
<clever>
icetan: the only solution is to use a binary cache to get a pre-built copy, or to ensure the /bin/sh referenced in nix.conf doesnt depend on the glibc your building
<icetan>
aha
<icetan>
thats my other question, how do i make hydra use a binary cache :D
<clever>
services.hydra.useSubstitutes is a new option i found in nixos
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
<clever>
ive been running the same version of hydra for over a year, so i'm not sure how the new versions behave yet
alibabzo has quit [(Remote host closed the connection)]
uralbash has joined #nixos
<icetan>
aha
<icetan>
clever: have you had the glibc problem?
<clever>
nope, but i have helped others that turned the binary cache off entirely and had it
<clever>
my old hydra just downloads from the binary cache directly, and it shows up as localhost in the build steps
<exarkun>
I'm getting intermittent failures like, does anyone have any advice: rsync: readlink_stat("/nix/store/q4h0a7pj7c4if34pp7mbnk09icpwal87-python-2.7.13-env/lib/python2.7/site-packages/allmydata/introducer") failed: Too many levels of symbolic links (40)
<clever>
my new hydra farms all binary cache access out to build slaves, so its a bit slower
mudri has joined #nixos
cfricke has quit [(Quit: WeeChat 1.7)]
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 1 new commit to staging: https://git.io/vywSQ
<NixOS_GitHub>
nixpkgs/staging 66bc213 Thomas Tuegel: qtbase: don't patch non-existent .pc files on Darwin
eacameron has joined #nixos
alibabzo has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
thc202 has joined #nixos
<MoreTea>
nixops question: I'm not able to skip over 'Required 'compute.zones.list' permission'
eacameron has joined #nixos
katyucha has quit [(Quit: Lost terminal)]
digitalmentat has quit [(Quit: Leaving)]
xeviox has quit [(Ping timeout: 258 seconds)]
mizu_no_oto has joined #nixos
Rizy has quit [(Quit: Rizy)]
<ekleog>
hmm, is there a way to have a derivation that creates hardlinks to other derivations' files?
<manveru>
is there some easy to setup squid-like module already?
<NixOS_GitHub>
[nixpkgs] risicle opened pull request #23715: sops: init at version 2.0.8 (master...moz-sops) https://git.io/vyw73
<goibhniu>
ekleog: how about buildEnv, with an optimized store?
<ekleog>
goibhniu: hmm, grepping buildEnv in https://nixos.org/nixpkgs/manual/ gives me back only python-based stuff? also, what do you mean with "optimized store"?
mizu_no_oto has quit [(Ping timeout: 260 seconds)]
<manveru>
ah, varnish was what i was thinking about
<goibhniu>
ekleog: check out `nix-store --optimise`, there's also an option for that configuration.nix
<ekleog>
ok, found pkgs/build-support/buildenv/default.nix. Well, I actually need hardlinks (mount --bind are putting too much pressure on the mount table / systemd, and symlinks won't work due to the generated directory being used over 9pfs
<ekleog>
)
<goibhniu>
it creates hardlinks to deduplicate files ... not sure if that helps at all
<ekleog>
as for nix-store --optimise, yes it works, but I'd clearly rather do it from the beginning on, as it's copying the closure of an entire system
<clever>
ekleog: next level, is to go into /etc/nix, copy the contents of the symlink to a new file, delete the symlink, rename the file, and then fix the syntax error
<clever>
nixos-rebuild will undo that, and restore the symlink
<ekleog>
oh, nice one too :)
<clever>
i prefer the 2nd fix for cases where i want to temporarily hack an option in, and i dont want nix to remember it
<clever>
next time i boot, the hack is gone
<NixOS_GitHub>
[nixpkgs] bachp opened pull request #23717: prometheus-fritzbox-exporter: init at 1.0 (master...fritzbox-exporter) https://git.io/vywpL
danielrf has joined #nixos
ludat has quit [(Ping timeout: 240 seconds)]
<clever>
ekleog: i have also done even more insane things, if you run "switch-to-configuration boot" on a machine that isnt nixos, and you trick it into thinking it is nixos, it will overwrite grub!
<ekleog>
oh
<clever>
i have done that on purpose twice, to convert gentoo boxes to nixos
<ekleog>
oh btw, is there a switch-to-configuration only-next-boot or similar, using grub's feature to select the next default item?
seanz has joined #nixos
<clever>
not really, the boot flag will change the default and leave it like that
mizu_no_oto has joined #nixos
<clever>
until you run boot/switch again
<NixOS_GitHub>
[nixpkgs] bachp opened pull request #23718: prometheus-unifi-exporter: init at 0.4.0 (master...unifi-exporter) https://git.io/vywpd
<ekleog>
ok, thanks :)
<clever>
ekleog: but this is also something i have been interested in, if a given generation fails to boot, go to the previous generation
<clever>
with that, and a bit of panic+reboot on fail, you could get automatic rollbacks
<clever>
and it would be much harder to brick a remote machine
<ekleog>
that would be great indeed
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
<ekleog>
but it's an issue when trying to define "fails to boot", I guess
<clever>
yeah
<clever>
generaly, its done by grub changing its own default, right before it boots the OS
<clever>
and then when the OS finishes booting, it restores the default again
<clever>
so the 2 parties are forever fighting over what the default should be
<clever>
and if the OS fails to boot, it looses the fight
deepfire has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vywhN
<NixOS_GitHub>
nixpkgs/master 17a8d19 Susan Potter: dd-agent: fix Python missing dependencies and versions
<NixOS_GitHub>
nixpkgs/master 35f9f63 Susan Potter: dd-agent: 5.5.2 -> 5.11.2
<tonyfrost>
does anyone has this wifi card working Broadcom Corporation BCM43142 802.11b/g/n (rev 01) ?
Sonarpulse has joined #nixos
derjohn_mob has quit [(Ping timeout: 260 seconds)]
FRidh has quit [(Read error: Connection reset by peer)]
FRidh has joined #nixos
uralbash has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to release-17.03: https://git.io/vyrvf
<NixOS_GitHub>
nixpkgs/release-17.03 ac6baf2 Susan Potter: dd-agent: fix Python missing dependencies and versions...
<NixOS_GitHub>
nixpkgs/release-17.03 a0ccb70 Susan Potter: dd-agent: 5.5.2 -> 5.11.2...
LnL7 has quit [(Ping timeout: 260 seconds)]
schneefux has joined #nixos
bennofs has quit [(Ping timeout: 246 seconds)]
goibhniu has quit [(Ping timeout: 268 seconds)]
dannyg has quit [(Quit: dannyg)]
tonyfrost has quit [(Ping timeout: 240 seconds)]
smw_ has joined #nixos
<smw_>
clever: so, did you ever try to get it running on the rpi? :-)
Mic92 has quit [(Quit: WeeChat 1.7)]
freusque has quit [(Quit: WeeChat 1.7)]
<clever>
smw_: i was able to compile everything, but i dont have enough free space on the SD to build the .img file
Judson1 has joined #nixos
<smw_>
ouch...
<Judson1>
I think I've found a bug in sddm/xsession.
<clever>
smw_: but now that i think of it, i can just enable the qemu-user stuff i wrote, and then i can do that step on my desktop
<smw_>
clever: for my builds, is there a binary cache to use?
<Judson1>
The session selected in sddm is passed to xsession, but xsession is behaving like the selection is empty - falling back to default WM and xterm.
<smw_>
clever: I get home late tomorrow. Going to try playing again
<clever>
smw_: its configured to follow nixos-unstable-small
<smw_>
small?
<clever>
-small will run testing, but wont wait for the main hydra.nixos.org to finish every single build
<clever>
so you arent garanteed x86 binary cache coverage, but it wont brick your machine
<clever>
x86 binary cache means nothing to arm
<mog>
trying to nixos-rebuild switch to unstable and im getting stuck on firefox DEBUG: configure: error: you don't have NSS installed or your version is too old
<smw_>
right
Seichi has quit [(Remote host closed the connection)]
fhoffmeyer has joined #nixos
Seichi has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
griff_ has joined #nixos
cpennington has quit [(Ping timeout: 240 seconds)]
fhoffmeyer has quit [(Ping timeout: 256 seconds)]
FRidh has quit [(Ping timeout: 240 seconds)]
MercurialAlchemi has quit [(Ping timeout: 264 seconds)]
<smw_>
clever: anyways, I have about 36 hrs until I will have access to my pi. What do you think I should build next to try? :-)
mizu_no_oto has joined #nixos
uralbash has joined #nixos
Seichi has quit [(Remote host closed the connection)]
Seichi has joined #nixos
Seichi has quit [(Remote host closed the connection)]
mizu_no_oto has quit [(Ping timeout: 260 seconds)]
chakerbenhamed has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
LnL has joined #nixos
Kendos-Kenlen has quit [(Ping timeout: 264 seconds)]
nil_ has joined #nixos
<nil_>
hello, i would like to bring a web app packaged with electron in nixos packages but i'm wondering if i should write a nix expression which installs it from a deb package given by the developers or builds it from the source (and pulls nodejs, install depencendies from npm etc.)
griff_ has quit [(Quit: griff_)]
roygbiv has joined #nixos
<clever>
error: a ‘armv7l-linux’ is required to build ‘/nix/store/zhz2053lqxmnp8kh2q25q8yay8wn9xag-users-groups.json.drv’, but I am a ‘x86_64-linux’
<clever>
smw_: this is the current output when i try to build it
<clever>
smw_: ah, and my patch to nix isnt in place, i'll have to nixos-rebuild
<smw_>
clever: thanks for doing this :-)
<smw_>
clever: I am currently researching kernel options and building for the pi.
<mog>
vitried with firefox-esr as well same problem
jluttine has quit [(Read error: No route to host)]
<smw_>
clever: the question is will whatever you just built actually run on rpi3 :-)
martinb1 has quit [(Ping timeout: 240 seconds)]
<clever>
icetan: hydra will also get the entire build-time closure of every dependency, even if it can get the built copy from the cache
<icetan>
hmm yeah still no binaries
seanz has joined #nixos
<clever>
smw_: havent had a chance to test that
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vyrYs
<NixOS_GitHub>
nixpkgs/master c863aa3 Tuomas Tynkkynen: cdparanoia: Fix aarch64 build...
seanz has quit [(Client Quit)]
<smw_>
clever: I built a bunch of stuff. None of it worked of course ;-)
<clever>
smw_: i added a nix.conf entry to the previous gist
zraexy has joined #nixos
ixxie has quit [(Ping timeout: 240 seconds)]
<clever>
smw_: if you add that to /etc/nix/nix.conf, you can just run "nix-store -r /nix/store/n5n74pijd3x9jpcz0qrni9cdl7vgn1is-sd-image-armv7l-linux.img"
<clever>
and it will download the image i built
<smw_>
what makes you think your sd-image will work?
<smw_>
Especially since I built that and it didn't have the drivers
nil_ has quit [(Quit: Page closed)]
<clever>
i'll need to find a spare SD card and a reader, then i can test it on my end
<smw_>
clever: did you make any changes to it though? Because I thought I proved it didn't have the drivers
<clever>
no changes yet
<clever>
but now that i have the build working, i can more quickly make changes on this end
<clever>
ive located a 16gig uSD card, now i just need a reader
<clever>
oh wait, i turned on the new bootstack in my rpi3
<clever>
i can probably do it over usb
<smw_>
sweet, I want to do that at some point
<smw_>
that still requires an sd card, right?
<clever>
nope
<clever>
if you can boot it once with a start.elf and a config.txt, you can burn a fuse in the cpu to enable it
<clever>
then it can load bootcode.bin from usb, or even tftp
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
exarkun has quit [(Read error: Connection reset by peer)]
roconnor_ has quit [(Ping timeout: 240 seconds)]
exarkun has joined #nixos
griff_ has quit [(Quit: griff_)]
jensens has quit [(Ping timeout: 264 seconds)]
smw_ has quit [(Quit: Computer has gone to sleep)]
roconnor_ has joined #nixos
tokudan has joined #nixos
smw_ has joined #nixos
fhoffmeyer has joined #nixos
smw_ has quit [(Ping timeout: 264 seconds)]
zarel has joined #nixos
danharaj has joined #nixos
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
jsgrant- has quit [(Ping timeout: 240 seconds)]
chakerbenhamed has quit [(Ping timeout: 256 seconds)]
roconnor__ has joined #nixos
erasmas has quit [(Quit: leaving)]
roconnor_ has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
jsgrant- has joined #nixos
apostolis has quit [(Quit: WeeChat 1.7)]
<jsgrant->
Why does appending "kde5" & "kde4" to related packages seemingly not work in 17.03 & above? Can't seem to define some packages in config.nix via such means; Namely kde4.kdepim.
<jsgrant->
But it's all packages that would have such prefaces.
ryanartecona has quit [(Quit: ryanartecona)]
<shlevy>
copumpkin: The "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" we pass to curl's configure in nixpkgs is definitely wrong for OS X. Do you know what's right?
<copumpkin>
there isn't a fixed bundle on disk as far as I know. You could use cacert's store path, or curl probably has some magic to tell it to use the system certificate store
smw_ has joined #nixos
roconnor has joined #nixos
apostolis has joined #nixos
roconnor__ has quit [(Ping timeout: 240 seconds)]
smw_ has quit [(Ping timeout: 256 seconds)]
<LnL>
shlevy: I don't think there's a file, the certs come from keychain
<shlevy>
copumpkin: Any objection to that on darwin?
<clever>
shlevy: the lines i just linked, install the certs to the nix profile using nix-env
<shlevy>
Not sure why we don't do it on Linux, but whatever
<copumpkin>
I'm not even sure homebrew buidls its own curl
<shlevy>
clever: Sure, and then you need to be sure you source the nix profile script
<copumpkin>
shlevy: probably because people like being able to update certs, but that seems fine for now
<copumpkin>
like update certs without rebuilding the world
<shlevy>
Aaah
<copumpkin>
for FO derivations it shouldn't matter
<copumpkin>
but other things actually depend on curl
<LnL>
shlevy: they use the system curl or cert.pem from openssl
<clever>
shlevy: and if you dont source the nix profile script, you wont even get access to the nix tools
<shlevy>
clever: Currently running into an issue where a user calling nix from emacs gets ssl failures
<clever>
ah
<shlevy>
clever: IMO nix packages shouldn't depend on specific nix-env setups to work...
<clever>
shlevy: using an absolute path to nix, or after sourcing the profile?
<shlevy>
No idea
<LnL>
shlevy: cacert has always been installed by default AFAIK, no?
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vyr20
<NixOS_GitHub>
nixpkgs/master ba499aa Joachim Fasting: pythonPackages.pep257: meta.lecense -> license
<NixOS_GitHub>
nixpkgs/master 5bf3b4c Joachim Fasting: vndr: meta.licence -> license
<shlevy>
Sure, but again you have to source the profile script
<LnL>
the install script will install cacert into your user profile
<LnL>
unless that changed
<shlevy>
Sure
<shlevy>
But
<shlevy>
It's only picked up if you source the profile script
<shlevy>
If you launch, say, emacs from Applications, you won't get it
<LnL>
oh right
<shlevy>
And again, you shouldn't need a specific nix-env setup for packages to work
<shlevy>
That's the Magic of Nix :P
<LnL>
I don't source it, but I set SSL_CERT_FILE myself :)
<shlevy>
copumpkin: Does darwin have its own staging branch?
<clever>
shlevy: in the case of NIX_SSL_CERT_FILE, i think that nixos and the nix profile script should setup sane defaults, pointing to either a system copy or a copy installed via nix-env
<NixOS_GitHub>
[nixpkgs] orivej opened pull request #23721: kcachegrind: init at 2017-02-25 (master...kcachegrind) https://git.io/vyr2F
<clever>
shlevy: though being able to default back to a hard-coded version could be usefull
<shlevy>
clever: Sure, and on linux the hard-coded fallback is reasonable
<shlevy>
LnL: Can you point me to info about cert.pm?
<shlevy>
LnL: or is that just a bundle from the package?
jsgrant- has quit [(Ping timeout: 260 seconds)]
roconnor has quit [(Quit: Konversation terminated!)]
<LnL>
shlevy: /usr/local/etc/openssl/cert.pem they just assume the brew version of openssl is installed
<NixOS_GitHub>
[nixpkgs] joachifm opened pull request #23722: surf-webkit2: init at 2017-03-06 (master...surf-webkit2) https://git.io/vyraG
<shlevy>
OK
thc202 has quit [(Ping timeout: 260 seconds)]
<LnL>
for osx it could be ok to assume cacert is installed in /nix/var/nix/profiles/default
<shlevy>
Bleh
<shlevy>
OK fine
<LnL>
best I can come up with
<shlevy>
taking the hard-coded cacert causes infinite recursion
fhoffmeyer has joined #nixos
<LnL>
yeah I assumed, probably not ideal to make curl depend on it either
<NixOS_GitHub>
[nixpkgs] shlevy opened pull request #23723: curl: Use CA bundle in nix default profile by default (staging...darwin-ca-bundle) https://git.io/vyrVX
derjohn_mob has joined #nixos
smw_ has joined #nixos
smw_ has quit [(Ping timeout: 240 seconds)]
bennofs has joined #nixos
<copumpkin>
shlevy, LnL: we really just need a periodic nixpkgs release scheme :)
<copumpkin>
but as LnL says, I doubt anyone ever ports anything darwinish to those
<shlevy>
I don't see why we don't just piggyback on the nixos releases
<LnL>
I even thought we where not supposed to, there was a discussion on a postgres pr some time ago
<LnL>
it was not ported to 16.09 because it was a darwin only fix
<LnL>
copumpkin: or a darwin channel? :)
<copumpkin>
we definitely could piggyback on them
<MoreTea>
'evening y'all.
isidore has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyroB
<NixOS_GitHub>
nixpkgs/master 1b1d85b Markus Hauck: scalafmt: 0.5.8 -> 0.6.2
<LnL>
copumpkin: yeah either a darwin channel or a nixpkgs channel that tests more then just emacs and vim :)
<shlevy>
LnL: More... than emacs? I don't understand
<copumpkin>
hah
tippenein has quit [(Quit: Changing server)]
jeremejevs has joined #nixos
jsgrant- has joined #nixos
<c74d>
sphalerite: my apologies; I forgot the proper command — what does `type ls` say?
civodul has joined #nixos
<NixOS_GitHub>
[nixpkgs] edanaher closed pull request #23713: nginx: enableACME should turn on SSL (master...nginx-acme-implies-ssl) https://git.io/vywXg
<sphalerite>
c74d: Well, it's an alias to ls --color but that's not relevant
<c74d>
hm
<sphalerite>
oh right, you thought it might be an option specified in the alias?
<c74d>
yes; I guess not
<c74d>
sphalerite: try the different --quoting-style options and set `environment.shellAliases.ls = "ls --color=tty --quoting-style=...` as you like
<sphalerite>
`which` is also correct for it though
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyrK0
<NixOS_GitHub>
nixpkgs/master b34b467 Vincent Laporte: jbuilder: init at 1.0+beta2...
<LnL>
let me try a commit that was green on travis
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging-17.03: https://git.io/vyr7q
<NixOS_GitHub>
nixpkgs/staging-17.03 328eb9d Michael Raskin: libreoffice-still: apply the patch for ICU 58...
<viric>
musicmatze: so, go2nix is for people NOT to add go packages to nixpkgs?
<musicmatze>
I don't know? I thought it was to generate the things for checking them into nixpkgs?
<musicmatze>
I don't know, I'm not a go guy :-)
tnks has quit [(Ping timeout: 258 seconds)]
<jeremejevs>
Hi, I'm setting up Polybar (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/polybar/default.nix), and would like to enable the i3 module in it, but I'm unfamiliar with CMake (Polybar's setup's complexity isn't helping) and I'm only one day in with NixOS. I understand that derivations just run something like "configure; make; make install", and I understand how make and cmake work, but there are several mysteries
<jeremejevs>
(typing more)
<ndowens08>
you can use config.nix to override and enable it
<clever>
jeremejevs: if you add cmake to the list of buildInputs, it should automaticaly take over the configurePhase
<ndowens08>
it already has the option for i3, but set as false as the default, so use packageOverrides to enable it
<jeremejevs>
clever: hmm, yeah, I've seen i3Support, and added this: "packageOverrides = pkgs: rec { polybar = pkgs.polybar.override { i3Support = true; } }", but when I apply that, and run polybar, i get "features: +alsa -curl -i3 -mpd +network"
hiratara has quit [(Ping timeout: 246 seconds)]
<jeremejevs>
Which means that the i3 module is off
<clever>
jeremejevs: did you tell nix to build polybar again with the new config?
<clever>
jeremejevs: i dont think this part is in any of the manuals
<clever>
jeremejevs: internaly, nixos uses the config argument to force nixpkgs to obey nixpkgs.config
<jeremejevs>
clever: not this part in particular, but now that you've pointed it out, it makes sense, as a language feature
<clever>
jeremejevs: if the config argument isnt set, it will default to ~/.nixpkgs/config.nix
<jeremejevs>
clever: ah, okay
<jeremejevs>
clever: okay, finished compiling, it worked :) much appreciated!
<clever>
some people just do nixpkgs.config = import /root/.nixpkgs/config.nix; in configuration.nix
<clever>
then both nixos and root share the same overrides
<jeremejevs>
hmm, well, for now I'm just keeping everything in the global config, don't see much point to user-level, since I'm the only one using my PC
justbeingglad has left #nixos []
smw_ has joined #nixos
griff_ has quit [(Quit: griff_)]
smw_ has quit [(Client Quit)]
smw_ has joined #nixos
<jeremejevs>
I have another problem (less pressing): when I enable pulseaudio, switch, logout, and login, I get a blank screen, and then when I reboot, I don't even get to see a display manager / tty, my monitor simply loses the signal and turns off. How do I troubleshoot this?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<jeremejevs>
ALSA works fine (I get sound from both my motherboard and a USB card)
bennofs has quit [(Ping timeout: 240 seconds)]
<jeremejevs>
Just in case, I'm on 4.9.13 kernel + 16.09 channel, since I got a Kaby Lake CPU, and was having graphics issues (e.g. scaled out window manager).
alx741 has joined #nixos
<ndowens08>
do you have internal gpu and a gpu that you installed?
smw_ has quit [(Ping timeout: 260 seconds)]
<jeremejevs>
I'm using integrated graphics
<ndowens08>
do you only have the one gpu?
<jeremejevs>
Yep
<ndowens08>
oh then idk
<jeremejevs>
It's all good with 4.9 (and should get even better [in some ways] with 4.10), it's pulseaudio who's acting up.
<clever>
jeremejevs: i did have an oddity yesterday when i had to restart xorg, and the old pulseaudio refused to die
<clever>
so the new pulseaudio failed to start
<clever>
and then all applications claimed they didnt even have pulseaudio support, lol
dpren has joined #nixos
<jeremejevs>
clever: How would I go about checking the reason for my system not even booting, with PA on?
<clever>
jeremejevs: are you able to ssh in from another machine?
<jeremejevs>
clever: Can be done, but are there no logs of some sort?
<jeremejevs>
Or do they not get persisted?
<ndowens08>
if it is a boot msg
<ndowens08>
tends to be overwritten
cgdub has quit [(Remote host closed the connection)]
<clever>
and there is state that may not be logged at all
<ndowens08>
like dmesg, only shows current boot messages, not previous
filterfish has quit [(Ping timeout: 256 seconds)]
<jeremejevs>
Okay, I'll arrange an SSH connection, brb
nh2 has quit [(Ping timeout: 258 seconds)]
jeremejevs has quit [(Quit: Page closed)]
nh2 has joined #nixos
spluko has joined #nixos
jeremejevs has joined #nixos
<NixOS_GitHub>
[nixpkgs] xvapx opened pull request #23730: clementine: added switches for optional dependences (master...fix/clementine-add-options) https://git.io/vyrxU
<spluko>
I have NixOS installed with the nixos-16.09 channel. Is there an easy way to get my user account to use unstable whilst keeping the system on stable?
<clever>
spluko: nix-env -iA nixpkgs.foo will use the channel called nixpkgs
griff_ has joined #nixos
<clever>
spluko: so just add unstable as a channel to your user, and call it nixpkgs
<exarkun>
I tried to install pycryptopp-0.7.1.869544967005693312591928092448767568728501330214.post0.dev0-cp27-cp27mu-manylinux1_x86_64.whl with buildPythonPackage's wheel support but it complained that it "is not a supported wheel on this platform."
<jeremejevs>
clever: Wow, okay, turned the issue was something else. 1. The "save config, apply, logout, login, get blank screen" issue is still there 2. I've rebooted, got monitor off, as expected, then rebooted again, and forgot to change the config version, and then it suddenly worked. Disabled PA again, rebooted, and... I get no signal on the first try. Turn of the monitor physically, then turn it on, and it suddenly works (shows display ma
<exarkun>
But ... it is. So what platform does Nix think it's on and how do I correct its misconception?
<jeremejevs>
Then tried rebooting twice in a row, and there was no lost signal. I don't even =/
hiratara has joined #nixos
<spluko>
clever: doh, I was almost there, but missed the A
<clever>
spluko: without the -A, nix-env will search the .name of every package (in every channel?)
<clever>
spluko: that is much slower, so -A is always recomended
<spluko>
without the A it couldn't find the package... and was very slow
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vyrx9
<NixOS_GitHub>
nixpkgs/master 2151e3b David Johnson: packetdrill: init at 1.0...
<NixOS_GitHub>
nixpkgs/master 8db26db Joachim Fasting: packetdrill: minor packaging tweaks...
<spluko>
However, the package I want is unfree. I have allow unfree in my configuration.nix, where do I need to put it for my unstable channel?
<dpren>
Where can I learn about installing nix with zsh? I can't get it to source on my path.
<spluko>
duh, the info was given in the error message. ignore me
<clever>
spluko: yeah, only nixos-rebuild obeys the config in configuration.nix
<clever>
spluko: all other commands use ~/.nixpkgs/config.nix or ~/.config/nixpkgs/config.nix
jeremejevs_ has joined #nixos
steshaw has joined #nixos
<spluko>
clever: yes the error message tells me exactly that. Fantastic if only I could read :-)
<LnL>
musicmatze: what a pain grep: Invalid range end
<clever>
spluko: the ~/.config/nixpkgs/config.nix path was recently added, and has priority, some people have been tripped up by that, when it just ignores ~/.nixpkgs/config.nix
jeremejevs has quit [(Ping timeout: 260 seconds)]
ericsagnes has quit [(Ping timeout: 246 seconds)]
jsgrant- has joined #nixos
<spluko>
clever: thanks for the pointers, vscode now installed
joepie91 has quit [(Remote host closed the connection)]
joepie91___ has joined #nixos
joepie91___ has quit [(Changing host)]
joepie91___ has joined #nixos
joepie91___ is now known as joepie91
jeremejevs_ has quit [(Ping timeout: 260 seconds)]
jsgrant- has joined #nixos
<ndowens08>
So how safe would it be to use clang as the default compiler if I am packaging?
<clever>
ndowens08: id say just test the program as normal, and if it works, it works
<clever>
ndowens08: there is a clandStdenv.mkDerivation that uses clang by default
<ndowens08>
hmm didnt know that existed, I figure uninstall gcc and install clang would work?
<clever>
with nix, you shouldnt install things like gcc or clang
<clever>
you just reference which one you want in the nix expression
<ndowens08>
so it would be: clangStdenv.mkDerivation rec { ?
<clever>
yeah
<ndowens08>
Supposedly clang is faster :)
roygbiv has quit [(Quit: ™)]
danharaj has quit [(Ping timeout: 260 seconds)]
Mateon3 has quit [(Ping timeout: 264 seconds)]
<clever>
ndowens08: i spent an hour today trying to get clang to link against some protobuf stuff i think was built by gcc
<ndowens08>
clever: wow, i'd give up
<clever>
ndowens08: my best guess to the problem is that they did c++ name mangling differently, and now clang cant find the symbols
<clever>
ndowens08: so ive had to redo that project to build protobuf with clang
<clever>
it now compiles all the way to a .dmg, but i havent had a chance to test it yet
<ndowens08>
too bad it cant be called stdenv.clang so dont have to add it to the function line
<dmj`>
someone should add mirageOS to nixpkgs
desktop` is now known as deepfire
<dmj`>
any ocamelers in here
<clever>
ndowens08: you can also do foo = foo.override { stdenv = clangStdenv; };
<ndowens08>
true :)
<clever>
ndowens08: that lets you switch any derivation to clang
<ekleog>
clever: could you just buildInputs = [ (protobuf.override { stdenv = clangStdenv; }) ]; , or is there something more complex? ("just" is once the problem has been found, of course, I guess that must have taken so much time)
<clever>
ekleog: that project is still building the non-nix way
<ekleog>
ooooh ok, got it!
<LnL>
hey, that's cheating
<clever>
its doing something weird, that allows the dylib files to be within the foo.app "package"
<clever>
LnL: i plan to nix-ify it, as we discussed in ##nix-darwin
<clever>
its currently using buildbot, so i cant do concurrent builds, and there is tons of impure state to deal with
Sonarpulse has quit [(Ping timeout: 240 seconds)]
MoreTea has quit [(Ping timeout: 258 seconds)]
Wizek_ has quit [(Ping timeout: 260 seconds)]
Wizek has quit [(Ping timeout: 268 seconds)]
Mateon2 has joined #nixos
jeremejevs has joined #nixos
<jeremejevs>
Running Sublime Text as a user, with gksuSupport enabled, and trying to save a root file, I get a "Unable to run /run/wrappers/bin/su: No such file or directory". What could be the cause?
<jeremejevs>
That error message comes with "Failed to communicate with gksu-run-helper."