<shout-user>
also when I search for other editors e.g. bluefish I can find
<shout-user>
OK, thanks... but how can I pull it up in a query?
<shout-user>
kinda need to know how to fish here
<clever>
the -qa flag will only show unfree packages if you first turn unfree packages on
<shout-user>
ah cool, thanks
filterfish has joined #nixos
drasich has joined #nixos
takle has quit [(Remote host closed the connection)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
deepfire has quit [(Ping timeout: 240 seconds)]
<SovereignBleak>
My GTK themes still aren’t applying. I’m starting to think NixOS might be over my head.
<SovereignBleak>
I think I’m sourcing it all correctly but all the different configuration files I’m looking at all have their own hacky solutions.
drasich has quit [(Ping timeout: 258 seconds)]
takle has joined #nixos
demax has joined #nixos
byteflame has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
byteflame has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
stepcut has quit [(Read error: Connection reset by peer)]
stepcut has joined #nixos
fXl has joined #nixos
<fXl>
hello guys, i installed nvidia driver for my optimus system. Everything went well. I rebooted and i can't login to desktop now. What should i do ?
takle has quit [(Ping timeout: 260 seconds)]
<tilpner>
Boot the last generation and try to fix it from there. Tell me when you found the right logs :/
<tilpner>
(I haven't been able to get bumblebee to work on 17.03, so reverted to 16.09)
<clever>
fXl: which will have a different xorg.conf path for each generation
<clever>
$ ls -lh /nix/var/nix/profiles/system-*-link/etc/systemd/system/display-manager.service
<clever>
and this would list every version of display-manager.service over time
<shout-user>
I see that there is nix-env --switch-profile but is there a CLI switch to list profiles?
<clever>
shout-user: profiles are just a collection of symlinks, and you normaly arent switching them around, just working on generations within a single profile
<fXl>
clever: there is no /etc/systemd/system/display-manager.conf
<fXl>
of course i get very low fps :D 150 fps on windows, 30-50 fps on NixOS
<fnlkj>
clever: hm. sry to say I think Im kinda confused, unsure what u mean.. but eh, hm.. thanks, i guess.. will try remember--and avoid "bumblee" as best as can, thenn
<clever>
fnlkj: oops, meant to send that to fXl
derjohn_mob has quit [(Ping timeout: 256 seconds)]
takle has joined #nixos
<crzyp3ck>
Is .Xresources being picked up with sddm?
<fnlkj>
oh ok. owell. the menacing ravaging of bumblebee certainly wont go unnnoticed and i aprecciate and will do as best i can to heed your warning too
<fXl>
why fps is this much low ? i got above 100 fps on Elementary OS when i play CS:GO
mkoenig has quit [(Remote host closed the connection)]
<jethro`>
no clue
<shout-user>
anyone know if is there a verbose logging flag that I can turn on?
<shout-user>
also tried the old directory .nixpkgs/config.nix
mguentner has quit [(Quit: WeeChat 1.7)]
sellout- has joined #nixos
takle has joined #nixos
matthewbauer has joined #nixos
<crzyp3ck>
I need to create THIS symlink. I search we don't have an option related to this variable. OR DO WE? ** ln -s /usr/share/cursors/xorg-x11 ~/.icons **
mguentner has joined #nixos
<gchristensen>
crzyp3ck: maybe it exists at /run/current-system/sw/share/cursors...?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<crzyp3ck>
Cursor keeps going back to default X cursors
takle has quit [(Ping timeout: 260 seconds)]
puffnfresh has left #nixos ["Killed buffer"]
puffnfresh has joined #nixos
justan0theruser has joined #nixos
takle has joined #nixos
<crzyp3ck>
gchristensen: and there is not a cursor or similar combinations on /run/current-system/sw/share/
justanotheruser has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
<crzyp3ck>
gchristensen: ?
cpennington has joined #nixos
railswalker has joined #nixos
takle has joined #nixos
<railswalker>
I'd like to add gpg2 to my initrd so that I can implement two-factor auth for my LUKS encrypted HDD. I see that stage-1.nix sets an initialRamdisk configuration but is there a way I can customize that?
<railswalker>
My goal is to have my LUKS require a GPG encrypted keyfile
<railswalker>
Which means that I need to call a script during stage 1 to ask for the passphrase, decrypt the keyfile, and pass the decrypted keyfile to cryptsetup luksOpen.
<puffnfresh>
fXl left :(
indefini_ has joined #nixos
<puffnfresh>
the problem was you have to configure Steam's run command
<puffnfresh>
homeDir = let x = builtins.getEnv "HOME" in builtins.trace x x;
<puffnfresh>
change homeDir to that
takle has joined #nixos
<shout-user>
yeah, figured that out... repl examples had confused me I guess. unexpected IN, expecting ';', at /Users/bencreasy/nix-user/nixpkgs/pkgs/top-level/impure.nix:8:44
<shout-user>
using your suggestion
srhb has joined #nixos
<c74d>
shout-user: puffnfresh's snippet needs a semicolon before the `in` (after "HOME")
<puffnfresh>
oh yeah sorry
takle has quit [(Ping timeout: 240 seconds)]
<shout-user>
looks like it's importing configFile2 as expected
<shout-user>
maybe someone has other ideas of where to log? I'm calling it a night, but I want to fix this
jgertm has joined #nixos
<puffnfresh>
nix-env -qa -f . idea-ultimate
<puffnfresh>
that definitely shows nothing?
xadi has quit [(Ping timeout: 246 seconds)]
reinzelmann has joined #nixos
<shout-user>
it says error: selector ‘idea-ultimate’ matches no derivations
<shout-user>
I can add a trace anywhere that might be helpful...
takle has joined #nixos
Itkovian has joined #nixos
marsel has quit [(Ping timeout: 240 seconds)]
xadi has joined #nixos
<crzyp3ck>
how should one create this symlink in nix config file?. ** ln -s /usr/share/cursors/xorg-x11 ~/.icons **
<puffnfresh>
nix-env -qa -f . | wc -l
<puffnfresh>
I get 13170 on my branch
mattyu has joined #nixos
<shout-user>
I get 8523
<puffnfresh>
oooh
<puffnfresh>
you're on Mac
<shout-user>
yep
<shout-user>
is intellij ultimate compiled only for linux?
<puffnfresh>
nix-instantiate --eval -A idea.idea-ultimate.meta.platforms
<puffnfresh>
yeah...
ebzzry has quit [(Ping timeout: 246 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
<puffnfresh>
you should update that derivation to add OS X support <3
<shout-user>
cool, maybe another night...
<shout-user>
same applies to Google Chrome
takle has joined #nixos
<shout-user>
I'm sort of planning/hoping to switch back to Linux at some point so I'm looking for cross-platform tools, but it looks like Mac isn't too popular with nix folks
<puffnfresh>
some people use it on Mac, I used to
<puffnfresh>
but yeah, things are missing
<shout-user>
thanks so much for your help
<puffnfresh>
but over 8000 packages looks pretty good to me!
<pi3r>
then in user space I will be in trouble with derivation defined with overlays (in .config/nixpkgs/overlays) will fail with:
<pi3r>
? ~ ? nix-env -qa 141 ?
<pi3r>
error: cannot import /nix/store/fkqmsl9nxk9hrxyrppizhm2xfbn404y6-cabal2nix-cicd-shell, since path /nix/store/9a806cmnkmngw0ykfcb5cfbdgcz1pxr7-cabal2nix-cicd-shell.drv is not valid, at /nix/store/5bbac3b1f829zpb79pgym5pard1370b9-nixos-unstable-17.09pre104915.49aa2483e0/nixos-unstable/lib/customisation.nix:97:50
<guillaum2>
hi. Which solution do you recommand to "package" something which was build using nix and which should run on any other linux without installing nix ? I initially thought about building using static libraries, but they are not included in nix.
<hyphon81>
goibhniu: Sorry, No. In default(services.hydra.enable = true), hydra will use SQLite in my environment.
<hyphon81>
goibhniu: Yes, I'm understanding it. However, I would like to use MariaDB very much. XD
<hyphon81>
And, hydra in nixpkgs doesn't have DBDmysql. So, I can't use MariaDB in default.
carlosdagos has joined #nixos
<niksnut>
Hydra only supports PostgreSQL
<niksnut>
IIRC, it uses Postgres-specific features in a few places
<joachifm>
guillaum2: ofc., I'm assuming you can create /nix/store on the host; if not, more work is required ...
<simpson>
lush: You need to unlearn the idea of globally-installed packages. That's not how Nix works. If you want to use Qt5 stuff in a Nix expression, you have to use pkgs.qt5.
<hyphon81>
simpson: Ha Ha, yes maybe I'm masochist! I'm making codes for building OpenStack Newton on NixOS.
<simpson>
hyphon81: Exciting. I looked into getting Shade working with nixops last year, but didn't get very far.
<simpson>
lush: Yes. This is a required step for updating similar to $(apt update). nixos-rebuild can do it for you with a flag but I don't like doing things that way.
sziszi has joined #nixos
<lush>
simpson: so everytime before I rebuild I should update my channels ?
<simpson>
lush: If you want to pull updates, then yes. In this particular case, you hit a bug in a Nix expression and you just need to pull an update so that you have the bugfix.
<simpson>
That's the commit that your channel is currently on.
aminechikhaoui has joined #nixos
gilligan_ has quit [(Ping timeout: 268 seconds)]
<lush>
simpson: So I should wait a few days/change the file by myself?
<simpson>
lush: So you need to either use unstable, use a local checkout of nixpkgs master, or get somebody to pull the fix into 17.03.
<lush>
simpson: It's not like I need it today
<simpson>
I think that you should ask for a pull on that fix. I don't know who to ask or where, though. :c
<lush>
Just in the long term I guess I'll use lxqt instead of plasma
<lush>
all right ty
fnlkj has quit [(Read error: Connection reset by peer)]
<lush>
simpson: But why is lxqt in th 17.03 channel if it won't compile anyway? shouldn't hydra like tell the developers: wow this package won't build or sth? (I'm really very new to the nixos infrastructure)
iyzsong has joined #nixos
<simpson>
lush: Hydra doesn't test all of the possible NixOS configurations.
derjohn_mob has quit [(Ping timeout: 256 seconds)]
gilligan_ has joined #nixos
justsomeguy has joined #nixos
deepfire has quit [(Ping timeout: 260 seconds)]
k2s has joined #nixos
<lush>
simpson: so it is always like possible that there are packages in the current stable tree that won't build?
<hyphon81>
Oh, I find my Nixtack can't run with 17.03 nix-channel. I will fix it.
takle has joined #nixos
bennofs has quit [(Ping timeout: 268 seconds)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
nil has quit [(Ping timeout: 260 seconds)]
<simpson>
lush: This bug isn't in a package. It's in a NixOS module.
<lush>
simpson: ahh ok
nil has joined #nixos
<hyphon81>
I only have run Nixtack with no channls on 16.09. Yeah, I should separate ALL python packages that dependent OpenStack apps from nixpkgs? Wow. XD
praduca has joined #nixos
<SovereignBleak>
So I realized that I’m in way over my head. I’m just copying and pasting other people's configs and not grokking anything except the basics. What do I need to learn to understand NixOS? Should I pick up Haskell first?
<lush>
SovereignBleak: guess you should learn nix if you want to write your own nix-expressions
<SovereignBleak>
Just as an example: I *still* don’t have a working GTK theme.
<lush>
SovereignBleak: I really doubt haskell will help you out here
<simpson>
SovereignBleak: Haskell is almost completely unrelated to the Nix language.
<lush>
SovereignBleak: I know haskell I still can't tell you what to do exactly :-D
<lush>
SovereignBleak: What desktop are you using?
<SovereignBleak>
lush: i3
<SovereignBleak>
It just seems like Nix is all about math essentially? Variables and functions resolving to things.
<lush>
SovereignBleak: Nix is a relatively simple functional programming language
<SovereignBleak>
lush: Do you have a working GTK theme?
<lush>
SovereignBleak: I'm using KDE and use one from kde I just think how I did use GTK + i3 in archlinux and consider whether you do it the same way in nixos
<lush>
SovereignBleak: But I'm new to nixos as well, so it is possible that I won't be able to help you or even tell stupid things
praduca has quit [(Remote host closed the connection)]
<SovereignBleak>
It’s not the same as in Arch. Because Nix has its own paths, themeing engines can’t find where they ought to act on.
<Filystyn>
Ok did not read whole since was rampaging forward
pallav has quit [(Remote host closed the connection)]
<gchristensen>
niksnut: I'm going to send a PR today or tomorrow adding the packet.net logo to the website, can you merge and deploy that very soon after?
<niksnut>
sure
ebzzry has quit [(Quit: WeeChat 1.7)]
<gchristensen>
thank you :)
ixxie has quit [(Ping timeout: 268 seconds)]
CMCDragonkai has joined #nixos
byteflame has joined #nixos
<Filystyn>
thx yaniel
<CMCDragonkai>
Has anybody seen this? collision between /nix/store/...-man-pages-4.09/share/man/man2/move_pages.2.gz and /nix/store/..../numactl-2.0.10/share/man/man2/move_pages.2.gz?
<CMCDragonkai>
seems like there's collisions betwen man-pages and stdmanpages and various other things
byteflame has quit [(Ping timeout: 260 seconds)]
<goibhniu>
CMCDragonkai: you can set the priority of the installed package to avoid the collision
<CMCDragonkai>
yea, that's annoying though
<goibhniu>
the priority can also be set in nixpkgs
<CMCDragonkai>
Perhaps there should be a natural priority set already inside nixpkgs for these packages
<CMCDragonkai>
Not sure though, somewhat of a poor UX in this case
jbo has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub>
[nixpkgs] shlevy opened pull request #24591: haskellPackages: Export haskellSrc2nix and hackage2nix (master...haskell-export-2nix) https://git.io/vS4UE
jbo_ has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
CMCDragonkai has quit [(Ping timeout: 240 seconds)]
calvertvl has joined #nixos
Jackneillll has quit [(Quit: Leaving)]
pi3r has quit [(Ping timeout: 268 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Jackneill has joined #nixos
calvertvl has quit [(Ping timeout: 240 seconds)]
nh2 has joined #nixos
drasich has joined #nixos
<SovereignBleak>
So I just pulled a cursor theme to .icons and set it that way. And that works. I'm frustrated I can't do it the "Nix Way" but maybe after some time with the manual, I can re-approach.
aminechikhaoui has quit [(Ping timeout: 260 seconds)]
aminechikhaoui has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
<alibabzo>
I'm trying to install haskellPackages.liquid and the build is failing with missing dependencies, has anyone got any suggestions?
newbie90 has quit [(Remote host closed the connection)]
<Filystyn>
aaaand it still failed hyphon81
exarkun has left #nixos []
<lush>
How do I tell nixos to mount a partition at boot time?
bastian__ has quit [(Ping timeout: 260 seconds)]
<Filystyn>
ill check bios tho
<Filystyn>
brb
Filystyn has quit [(Remote host closed the connection)]
<copumpkin>
do we have generic code in nixpkgs for making deterministic tarballs of arbitrary stuff?
<copumpkin>
that strip timestamps and other junk?
<gattler>
Hi all, I'm currently thinking about switching to nixos (from gentoo). Am I correct in that I can freely decide for each packet whether to build it from source or to install a binary version?
<LnL>
if you create a tarball of a store path it will have deterministic dates no?
carlosdagos has quit [(Ping timeout: 246 seconds)]
<copumpkin>
gattler: sort of, but it's a bit deeper than that
<copumpkin>
gattler: the default behavior is for it to uniquely identify literally everything that goes into your build, so if you don't customize any build options, there's no benefit in building locally (unless you don't trust upstream, but then you're kinda in trouble)
aminechikhaoui has quit [(Quit: leaving)]
<gattler>
let's say I want to install vim, but I don
<copumpkin>
but it's super easy to build everything from scratch if you have a lot of time on your hands and like doing that sort of thing :)
<gattler>
I don't want to have ruby support
<gattler>
assuming ruby is enabled in the default
<copumpkin>
so there are varying degrees of customization. In some cases, the package author made some handy flags for you to turn things like that on or off. Ruby doesn't appear to be an example of that
<copumpkin>
err, vim + ruby
<copumpkin>
so in that case you can go a level deeper and tinker with the build process and make it stop pulling in ruby, but that's trickier
<gattler>
can I keep local patches to package receipes?
<ikwildrpepper>
copumpkin: did you notice mac1 is back?
<copumpkin>
\o/ no I didn't
jgertm has quit [(Ping timeout: 260 seconds)]
jrolfs has joined #nixos
<copumpkin>
thanks!
drasich has quit [(Ping timeout: 246 seconds)]
reinhardt has quit [(Quit: Leaving)]
mudri` has joined #nixos
bennofs has joined #nixos
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
mudri has quit [(Ping timeout: 260 seconds)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
saintromuald has quit [(Remote host closed the connection)]
<dtzWill>
any thoughts/suggestions what might cause that?
CMCDragonkai is now known as Guest76802
Guest76802 is now known as CMCDragonkai
sg2002 has joined #nixos
byteflame has joined #nixos
bennofs has quit [(Ping timeout: 260 seconds)]
<dtzWill>
(would running concurrent builds cause that? presumably not but not sure if 'self' is an evaluator instance or something else)
<dtzWill>
i'd go with stale lock file except it says self-held. hmm.
gilligan_ has quit [(Ping timeout: 260 seconds)]
gilligan_ has joined #nixos
<dtzWill>
welp it appears to have gone away so apparently it was a function of other activity? dunno. Sorry for the noise :)
lush has joined #nixos
<nixy>
Are there any guides to running a mail server on NixOS? It is pretty difficult to translate anything in traditional mail server guides to NixOS's modules
xeviox has quit [(Ping timeout: 268 seconds)]
<CMCDragonkai>
If there's a guide that uses systemd to setup the services, it shouldn't be too difficult to translate it to a NixOS service module
<mg_>
Is it enough to set system.stateVersion = "17.03"; in my conf.nix to upgrade to 17.03, or do I have to do that channel --add stuff as well? Or only that, and don't touch stateVersion?
<gchristensen>
mg_: the stateVersion should not be touched
<gchristensen>
we should have better documentation / clearer explanation on that in the generated, default config file
<mg_>
gchristensen: alright, so follow the manual to the dot, and don't touch conf.nix at all?
<gchristensen>
right
MercurialAlchemi has quit [(Ping timeout: 264 seconds)]
jgertm has joined #nixos
<Filystyn>
goibhniu i will come with details tomorow since i need now to set up debian on vm and i have only 2 hours for it ;-)
<mg_>
I like to have all my changes documented, but I guess that won't work in this case
<disasm>
I'm UI challenged... How do I switch the session launched in lightdm on nixos? I don't see any gear boxes or anything on the login screen.
estewei has joined #nixos
erasmas has joined #nixos
<gchristensen>
mg_: because configuration.nix is a function which is called with inputs from the channel
<mg_>
ah.. makes sense
<gchristensen>
managing the channel via configuration.nix would require update configuration.nix -> rebuild system, this sets the channel to the new one, the rebuild system again -> this rebuilds the system with the channel.
<mg_>
I see
<goibhniu>
Filystyn: cool ... I must try to get bumblebee working myself some time
<mg_>
I guess the warning about not being able to go back applies for the 16.09 -> 17.03 update btw?
<gchristensen>
I think you can go back
Filystyn has quit [(Ping timeout: 260 seconds)]
Filystyn has joined #nixos
<hyphon81>
OK. I give up to build hydra with MariaDB at the moment. It's too difficult for me...
<mg_>
gchristensen: ok, cool
<gchristensen>
hyphon81: hydra only supports postgresql
<gchristensen>
it purports to support sqlite, but it doesn't work properly
<Filystyn>
ok do i need to enable something in configuartion.nix to use qemu ?
griff_ has joined #nixos
<Filystyn>
i have KVM enabled in bios is there need to enable KVM in conf file?
<gchristensen>
Filystyn: have you tried it?
<mg_>
one last question. I see on master guile is on version 2.2.0, but on packages.html it's on 2.0.13. Does that mean 2.2.0 is not on 17.03 and'll never be?
<LnL>
gchristensen: nothing uses stateVersion except for postgres AFAIK
<hyphon81>
gchristensen: I see... In the hydra source, only allowed to use the postgres and SQLite.
gal_bolle has quit [(Quit: Konversation terminated!)]
<hyphon81>
However, I stumbled to build hydra with DBDmysql...
<lush>
Is anyone here that effectively uses Plasma5 Activities ?
<gchristensen>
yes but it doesn't work, nor does it really work with sqlite, hyphon81.
<Filystyn>
i did nothing yet I am at the part of downloading debian image
xadi has quit [(Ping timeout: 240 seconds)]
<Filystyn>
Since the skype sound does not work on nix so ill just make this debian VM for situations liek this;)
<gchristensen>
Filystyn: please try to answer your question before asking, including reading the NixOS manual and trying to see for yourself.
<gilligan_>
Does anyone happen to know of a way to create a docker image manifest w/o using the docker service? I'd love to push dockerTools created images to a registry directly and with https://github.com/projectatomic/skopeo I can *almost* do that. But I need an image manifest still ;/
<Filystyn>
ok
ebzzry has quit [(Ping timeout: 240 seconds)]
<hyphon81>
My idea about hydra with MariaDB was unrealistic.
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/vS4Re
<NixOS_GitHub>
nix/master dfcd78d Eelco Dolstra: Really fix the RPM build
<Filystyn>
ok gusy it worked without enabling anything;)
<hyphon81>
I return to make codes for OpenStack Newton on NixOS. But, I'll go home today.
<NixOS_GitHub>
[nixpkgs] lukego opened pull request #24597: pharo-launcher: Add test case & myself as maintainer (master...pharo-launcher-test) https://git.io/vS4RE
hyphon81 has quit [(Remote host closed the connection)]
<jophish>
nix-build -j $NCPUs can spawn n^2 jobs
<jophish>
I have 20 cores, it spawns 20 haskell builds at a time, each of which compiles up to 20 files concurrently
<jophish>
my system load is 355 at the moment :D
<gchristensen>
yes it can :)
carlosdagos has joined #nixos
<jophish>
perhaps nix should set $NIX_NUM_CPUS in a more refined way
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 5 new commits to master: https://git.io/vS40R
<NixOS_GitHub>
nixpkgs/master 7a78892 Thomas Tuegel: nixos/fontconfig: disable autohint by default
<NixOS_GitHub>
nixpkgs/master 21c9190 Thomas Tuegel: nixos/fontconfig: remove forceAutohint option
<NixOS_GitHub>
nixpkgs/master 0394265 Thomas Tuegel: nixos/fontconfig: remove renderMonoTTFAsBitmap
<gchristensen>
I'm not sure how that is really possible, other than doing per-job cores at build-cores, and simultaneous jobs at (cpus/build-cores)
carlosdagos has quit [(Ping timeout: 260 seconds)]
xadi has joined #nixos
spinus has joined #nixos
realfake has quit [(Ping timeout: 258 seconds)]
gilligan_ has quit [(Ping timeout: 246 seconds)]
simendsjo has joined #nixos
digitalmentat has joined #nixos
<HappyEnte_>
Hmm i am a little bit confused, where does `nixos-install` search for channels? I use different channels in my configuration and nix-env, nixos-rebuild, etc. all work flawlessly but nixos-install just doesn't want to find my extra channels
<digitalmentat>
congratulations to the NixOS team for releasing 17.03 :)
<gchristensen>
!m nixos team
<[0__0]>
You're doing good work, nixos team!
<nixy>
Hurrahs for nixos team!
<NixOS_GitHub>
[nixpkgs] abbradar pushed 2 new commits to master: https://git.io/vS4zA
<NixOS_GitHub>
nixpkgs/master ef4b73a Nikolay Amiantov: libappindicator: propagate dependencies
<NixOS_GitHub>
nixpkgs/master 74f7db0 Nikolay Amiantov: tdesktop: 1.0.2 -> 1.0.27...
<NixOS_GitHub>
[nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vS4gv
<sg2002>
Hello. So what happened with kdm in 17.03? I have it enabled and apparently that no longer exists?
luigy has left #nixos []
<gchristensen>
kdm / kde4 no longer exists due to (1) it is no longer maintained up stream, nor has it been for some time (2) has never had a proper maintainer in NixOS. It has been replaced with `sddm` and `plasma5`, like these: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/plasma5.nix#L12-L14
<sg2002>
gchristensen: I see. Thanks.
<gchristensen>
you're welcome
<Filystyn>
hello
RchrdB has quit [(Quit: Leaving)]
Judson has joined #nixos
<Filystyn>
at the moment i have debian not far from this window running in VM do i need to enable soemthign to make qemu conenct with internet i remember using it ages ago and i had connection maybe nix needs something in config file o.O
<Judson>
How do you remove nixos-build generated system profiles?
justan0theruser has quit [(Ping timeout: 258 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<Judson>
I mean, is just deleting system-#-link profiles okay?
bastian__ has joined #nixos
<bennofs>
Judson: yes, I think that's ok. Nix will cleanup everything else if you run nix-collect-garbage afterwards
marsel has quit [(Ping timeout: 264 seconds)]
<Judson>
Okay. The nixos-collect-garbage -delete-older-than thing made me worry that there was something special to do.
<Filystyn>
guys it seems nix is bloking qemu internet connections
<Filystyn>
or am i wrong??
<simpson>
Filystyn: "blocking" might not be right. It might be more like "isn't hooking up".
<simpson>
Sadly, I don't know the details of VM networking.
__Sander__ has quit [(Quit: Konversation terminated!)]
zeus_ has joined #nixos
luigy has joined #nixos
<bennofs>
Filystyn: is the nixos firewall running?
<Filystyn>
yes
<Filystyn>
just turn it of for now i guess
<Filystyn>
not sure what port qemu needs
jgertm has quit [(Ping timeout: 258 seconds)]
<bennofs>
Filystyn: i think its not about ports, but about something called reverse path test that somehow causes the routing of internet packets from your vm and back to fail
justan0theruser has joined #nixos
obadz has quit [(Ping timeout: 240 seconds)]
obadz has joined #nixos
<Filystyn>
i have shut down firewall
<Filystyn>
it does not work
<Filystyn>
ihm
athan has quit [(Remote host closed the connection)]
<nh2>
is it a known problem that programs are slower in nix-build than in nix-shell? I seem to see something like ghc being 2x slower and chromedriver being 20x slower
mudri` has quit [(Ping timeout: 260 seconds)]
bennofs has quit [(Ping timeout: 259 seconds)]
<copumpkin>
that really surprises me :)
<copumpkin>
if you're using build-use-sandbox, the environment that nix-build spins up can take a moment or two to spin up
<copumpkin>
beyond that, I wouldn't expect to see any diff
<copumpkin>
niksnut: ^
<nh2>
copumpkin: that's not what I'm seeing, it is literally `chromium` taking 20 seconds in an automated test in `nix-build` that usually only takes 1 second in nix-shell
<copumpkin>
yeah not saying you're lying :) just saying that I'm surprised
<copumpkin>
I'd file an issue with as much detail as you can muster
bennofs has joined #nixos
endformationage has joined #nixos
<niksnut>
my guess is that chromium is doing some network lookups and failing
justan0theruser has quit [(Ping timeout: 240 seconds)]
<bennofs>
what surprises me is that the cache appears to serve brotli compressed .ls.xz for some nars while the narinfos aren't brotli-compressed. From the nix source, it looks as if both should use the same compression ("textCompression")
derjohn_mob has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vS4F8
chakerbenhamed has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Ping timeout: 240 seconds)]
sigmundv has joined #nixos
marsam has joined #nixos
<NixOS_GitHub>
[nix] qknight opened pull request #1296: builtins.port: manage dynamic port number allocation in nix (master...builtins.port) https://git.io/vS4jy
<bennofs>
KABA: take a look at /etc/wpa_supplicant
jgertm has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F] has joined #nixos
ToxicFrog has quit [(Ping timeout: 264 seconds)]
orivej has quit [(Ping timeout: 240 seconds)]
ixxie has joined #nixos
Filystyn has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<eacameron>
What determines if something gets into a stable channel or not? For example, now that 17.03 is out, will the recent fix to VS code get put in stable?
<bennofs>
tilpner: it was because of a bug someone was reporting where just calling `uname` failed. Figured it out after some time of staring at LD_DEBUG=all output and wondering why the wrong libs get loaded :)
<tilpner>
gchristensen - So I check out 17.03 and try to apply it?
<tilpner>
bennofs - Yeah, I was pretty confused too, till I found your commit message :)
<gchristensen>
tilpner: that is what I did, yeah
<Filystyn>
enable microphone
<Filystyn>
how?
<gchristensen>
Filystyn: please stop spamming the channel when nobody is able to help
<bennofs>
tilpner: I think the patch should probably use `find` to patch the `.node` modules in $out as well (like my atom one)
<gchristensen>
and try doing some of your own research on how to do it, after some time has passed and you've tried several methods and still haven't succeeded, feel free to try asking again
petar has quit [(Remote host closed the connection)]
<rui2>
Anyone uses taskserver and wants to give a hand?
<rui2>
I've tried following the tutorial, while not installing it as a service, and I get a segmentation fault when I try to run it.
ertes has quit [(Ping timeout: 258 seconds)]
ertesx is now known as ertes
<rui2>
I'm now trying to use it like a service, and something is running, but I'm a little lost
<tilpner>
bennofs - What are those *.node modules? I should add that, but it's already merged, and probably won't apply to 17.03 either :/
ts_ has joined #nixos
<bennofs>
tilpner: i'm not very familar with node, but I assume that are some sort of native plugins (FFI) for the node platform (like shared libraries)
<tilpner>
Yeah, seems likely. Thanks!
<bennofs>
tilpner: that's probably why LD_PRELOAD was used in the first place: RPATH only applies to the current exe, but not to plugins that are loaded (while LD_PRELOAD is propagated)
<ts_>
is there an easy way to pretty print nix .drv files or records? either in nix-repl or the cammand line? I can't find the pp-aterm command that was mentioned in the nix pills series.
marsam has quit [(Remote host closed the connection)]
Filystyn has quit [(Remote host closed the connection)]
ts_ has quit [(Ping timeout: 260 seconds)]
pxc has joined #nixos
deepfire has quit [(Ping timeout: 264 seconds)]
<pxc>
Profpatsch: hey, are you there at the moment?
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
<pxc>
I've noticed that in NixOS, the fish module (programs.fish) uses environment.pathsToLink so that fish can find vendor completions (little .fish files which contain information about tab completions). Is there any reason not to do this in the package itself, so that nixpkgs users as well as NixOS users can benefit?
[0x4A6F] has joined #nixos
steveeJ_ is now known as steveeJ
<pxc>
I see that only oh-my-zsh and zed use pathsToLink within pkgs; it seems more frequently used within nixos
<NixOS_GitHub>
[nixpkgs] pbogdan opened pull request #24601: unclutter: Fix default value of $DISPLAY (master...unclutter) https://git.io/vSBL4
Itkovian has joined #nixos
<steveeJ>
I expected some magic to happen and all the completions being setup by the previous line
<gchristensen>
well the simple explanation is ${pkgs.bashCompletion}/etc/profile.d/bash_completion.sh doesn't contain magic
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
filterfish_ has joined #nixos
calvertvl has quit [(Remote host closed the connection)]
cads has quit [(Remote host closed the connection)]
<pxc>
steveeJ: bash-completion is a separate package from bash, and it contains the config files that need to be sourced to get completions working
<pxc>
steveeJ: bash doesn't depend on it, and its default configs don't source some global directory where it can find the completions. it also doesn't source the file from the bash-completions package because bash doesn't depend on it
calvertvl has joined #nixos
<steveeJ>
gchristensen: I have not found out yet what the magic component is on my NixOS system
KABA has quit [(Remote host closed the connection)]
cads has joined #nixos
KABA_ has joined #nixos
Havvy has quit [(Remote host closed the connection)]
Havvy has joined #nixos
<pxc>
steveeJ: when bash is enabled as a login shell on NixOS, it may also be specified that completions are enabled. This makes sure that bash-completions is installed and adds some shell code that eventually sources that file to the system bashrc (or profile or something, idr)
filterfish has quit [(Read error: Connection reset by peer)]
<steveeJ>
pxc: I use "source ${pkgs.bashCompletion}/etc/profile.d/bash_completion.sh" directly in the nix-shell hook
<pxc>
steveeJ: but nix-shell doesn't drop you into a NixOS login shell, it drops you to the bash that belongs to whatever default environment it adds stuff to with -p
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen>
that bash shell being similar to what is used when building a nix package, which is stripped down
<pxc>
steveeJ: it's called pkgs.bash-completion now. Does swapping them make a difference?
ToxicFrog has joined #nixos
<NixOS_GitHub>
[nixpkgs] pbogdan opened pull request #24602: gmtp: fix the `Using the 'memory' GSettings backend` issue. (master...gmtp) https://git.io/vSBt9
<pxc>
gchristensen: is it just stdenv? does stdenv have bash?
<gchristensen>
yeah
<pxc>
anyway, the completions stuff gets sourced in a file created by the NixOS module
<pxc>
I think if you wanted to have the same thing work in nixpkgs you'd need an alternative bash package which in fact was an environment depending on bash and bash-completions
sg2002 has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<pxc>
and that arranged for its bash to source the right things in bash-completions
<eacameron>
(blush) How do I upgrade to 17.03?
<maurer>
eacameron: Are you on a nixos machine or just nix on some other os?
<eacameron>
maurer: NixOS
<maurer>
Updated /root/.nix-channels to say 17.03 where it says something else now
<maurer>
*update
<maurer>
then run nixos-rebuild --upgrade (switch/boot/whatever)
<pxc>
eacameron: then after you 'add' the channel (adding one you already have just remaps it), you can either run `nix-channel --update` and then run `nixos-rebuild switch` or simply run `nixos-rebuild switch --upgrade`, which are equivalent
<pxc>
both of those you would run as root ofc
<steveeJ>
pxc: doesn't change anything. but I tracked the difference down. it's simply that the nix-shell doesn't use a profile like NixOS does. e.g. on my system there is /nix/var/nix/profiles/system/sw/etc/bash_completion.d/git-completion.bash
<pxc>
steveeJ: I was trying to explain that this is because NixOS handles completions sourcing and the the bash package does not :-)
<steveeJ>
pxc: apparently I wasn't able to understand ;-)
<pxc>
see nixpkgs/pkgs/nixos/modules/programs/bash/bash.nix
<steveeJ>
pxc: I'm aware that I'm rebuilding NixOS functionality within the nix-shell's shellHook, but I can't reproducie this part
<pxc>
steveeJ: you can see the code where it actually sources profiles and stuff in there
katyucha_ has joined #nixos
katyucha is now known as Guest82664
Guest82664 has quit [(Killed (weber.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
<Filystyn>
had to enable pulse audio all is fixed;)
katyucha_ has joined #nixos
<steveeJ>
how can I know which package installs/owns a bash-completion file? how does the profile get populated with these files?
CMCDragonkai has quit [(Ping timeout: 264 seconds)]
<pxc>
steveeJ: I think it can be inferred from the way pathsToLink works inside that NixOS modules
<pxc>
steveeJ: it links those given paths as relative paths (sufixes) to the nix store paths of whatever packages
marsam has joined #nixos
<steveeJ>
pxc: would you mind linking the code for that?
<pxc>
steveeJ: you can see that it pulls in everything in "/etc/bash_completion.d" and "/share/bash-completion"
<pxc>
so if you `grep -E 'out/etc/bash_completion.d|out/share/bash-completion'` in the nixpkgs source I think that will tell you
<eacameron>
pxc: maurer: It's complaining that desktopManage.kde4 doesn't exist
<gchristensen>
kde4 doesn't exist on nixos 17.03
<gchristensen>
kdm / kde4 no longer exists due to (1) it is no longer maintained up stream, nor has it been for some time (2) has never had a proper maintainer in NixOS. It has been replaced with `sddm` and `plasma5`, like these: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/plasma5.nix#L12-L14
<pxc>
eacameron: yes, a bunch of things have been removed and renamed, especially w/r/t KDE
lush has quit [(Quit: Konversation terminated!)]
<eacameron>
pxc: So should I just delete the kde stuff and use what sddm and plasma5?
<pxc>
eacameron: for things that used to be under kde4.whatever and kde5.whatever, you can often now just find them as 'whatever'
<pxc>
eacameron: yes, for the session itself. Some of your kde applications may have been renamed as well
<SovereignBleak>
True we don't have the real Spotify packaged?
<gchristensen>
SovereignBleak: yes we do
<gchristensen>
here is a tool I'd love someone to build for me: take a git repo and convert it to a static nix channel :)
<pxc>
steveeJ: I've just been learning about pathsToLink right now because I'm trying to extend NixOS support for fish as a login shell to include vendor snippets (sourced configuration ifles) and vendor functions as well as vendor-supplied completions
<SovereignBleak>
gchristensen: I just searched the package database for "spotify".
<gchristensen>
SovereignBleak: sounds like you have haven't whitelisted unfree packages
<pxc>
steveeJ: I am a true Nix noob; I was only able to point toward an answer to your question because I started looking into it a few minutes ago lol
<steveeJ>
pxc: learning by helping \o/ thanks by the way
<gchristensen>
SovereignBleak: the package is named `spotify`
chakerbenhamed has joined #nixos
<SovereignBleak>
gchristensen: Aha so the package search on nixos.org only shows free by default. Thanks!
<gchristensen>
you're right, and you're welcome
<pxc>
steveeJ: you're welcome. Just wondering, would you be interested in a spiffed up bash package which included completions? you'd be able to use it on nixpkgs on non-NixOS and in nix-shell
<pxc>
steveeJ: I'm thinking of doing something like that for fish but I'm not sure how useful or desired it would be, and right now I mostly just use NixOS anyway
ixxie has quit [(Ping timeout: 260 seconds)]
<steveeJ>
pxc: you mean add the fish completion functionality to nix-shell?
<Filystyn>
just to point out kde5 has some bug that causes on interaction soemtimes temproary 100% cpu usage
<gchristensen>
kde5 doesn't exist according to #kde
cads has quit [(Ping timeout: 246 seconds)]
<Filystyn>
the program taht causes it is baloo_file_exter
<Filystyn>
plasma5 ? ;p
<Filystyn>
so i should go with this bug to #kde ?;p
<eacameron>
pxc: maurer: Wow...it totally worked! This is great. :D
<KABA_>
Could you please have a look at it? Gnome (and I didn't try but appearantly plasma as well) has a problem: newly installed apps won't get displayed in the application lists only after new login. https://github.com/NixOS/nixpkgs/issues/247#issuecomment-291174590
derjohn_mob has joined #nixos
<ronny>
anyone aware how to kill network connections on nixos (as in sockets to a certain host)
<gchristensen>
ronny: same way you'd do it on another linux distro
orivej has joined #nixos
<ronny>
gchristensen: i cant find the tcpkill command in the packages
carlosdagos has joined #nixos
chakerbenhamed has quit [(Ping timeout: 256 seconds)]
<eacameron>
Is it normal for this new plasma desktop to be more sluggish than kde. I'm in a VM?
<ronny>
gchristensen: im not aware of a alternative
reinzelmann has quit [(Quit: Leaving)]
jrolfs has quit [(Ping timeout: 258 seconds)]
jrolfs has joined #nixos
calvertvl has quit [(Ping timeout: 240 seconds)]
civodul has joined #nixos
carlosdagos has quit [(Ping timeout: 268 seconds)]
jrolfs has quit [(Ping timeout: 260 seconds)]
hotfuzz has quit [(Quit: WeeChat 1.7)]
obadz has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
<pxc>
eacameron: in KDE4, the desktop shell was still Plasma (just plasma4). it seems to perform fine to me. It may count on more compositing features than Plasma4, but other than that I can't really think of why the VM might affect it
<eacameron>
pxc: Ok thanks. I'll keep an eye on it. It may have been busy CPU or something.../shrug
<lush>
hey. Haskell Fan here, may I ask something about cabal2nix? :-D
<pxc>
eacameron: you might try seeing if a fresh user profile has the same problem. If not, you may want to trash your plasma config lol
<eacameron>
lush: You may always ask.
<lush>
I started a project as usual with cabal and then tried cabal2nix bla.cabal >> shell.nix
<lush>
But it tells me that my project couldn't be find on hackage
<lush>
I don't want to put it up to hackage, I just want to build it locally
Sonarpulse has joined #nixos
<lush>
How should I do that with cabal2nix?
<lush>
If I understand the overall procedure right I initiate a project with cabal, then generate a nix-expression from that and then I always use nix-shell to play around with my project right?
<eacameron>
lush: I always used cabal2nix . > default.nix
<eacameron>
lush: If you want shell.nix I think you need --shell or something
<eacameron>
lush: You will want to change your cabal file for things like dependencies, etc. and then regenerate the nix files.
<eacameron>
pxc: Fresh user profile?
obadz has joined #nixos
<lush>
eacameron: I want to use nix-shell with it. I thought this'd be the "standard" way to use haskell within nixos
<lush>
I forgot about the --shell but I used it in my command
<lush>
but cabal2nix --shell . > shell.nix worked (at least as it seems)
tokudan has quit [(Quit: Leaving)]
<pxc>
eacameron: yea, like make a new user or move your plasma config temporarily
<NixOS_GitHub>
[nixpkgs] vcunat pushed 4 new commits to master: https://git.io/vSBlW
<NixOS_GitHub>
nixpkgs/master 4cd7b28 Lprndn: fontforge-gtk: Add support for libspiro....
<NixOS_GitHub>
nixpkgs/master 8a534d5 Lprndn: pdf2htmlEX: Switch from fontforge-gtk to fontforge.
<NixOS_GitHub>
nixpkgs/master f259fa6 lprndn: Merge branch 'master' into lprndn_Nixpkgs
<NixOS_GitHub>
[nixpkgs] vcunat closed pull request #22521: fontforge-gtk: Add support for libspiro. (master...lprndn_Nixpkgs) https://git.io/vD40u
<eacameron>
lush: and nix-shell works?
iMatejC has quit [(Remote host closed the connection)]
endformationage has quit [(Quit: WeeChat 1.7)]
iMatejC has joined #nixos
hotfuzz has joined #nixos
jrolfs has joined #nixos
<lush>
eacameron: yup :-)
<eacameron>
lush: great.
<lush>
eacameron: now when I'm in a nix-shell and want to build my project to try it. How would I do that?
<eacameron>
lush: Inside of nix-shell you need to use cabal as normal, except don't install deps. "cabal build"
<eacameron>
you can also do `nix-shell --run 'cabal build'` to do it
<lush>
so I manage dependencies all through the cabal file, then use cabal2nix and then drop into the shell which will download everything?
<lush>
ah cool
<eacameron>
lush: nix will handle dependencies so long as you have generated the nix files from your cabal file
<lush>
very nice
<eacameron>
lush: You can, of course, edit either file independently, but if nix doesn't have a dependency listed then cabal can't find it. If cabal doesn't have a dependency listed then your app can't find it.
<eacameron>
lush: As you get more familiar you can override the generated config to add dev dependencies (like hlint, intero, etc)
<lush>
thank you very much :)
<eacameron>
lush: And you can use haskellPackages.callCabal2nix to forego the manual cabal2nix step. But that's for later :)
<eacameron>
lush: NP
<eacameron>
So...anyone: I just upgraded to 17.03 and my phpfpm service is gone
<eacameron>
what am I missing?
<lush>
eacameron: if I've built the project this way how can I try it? I just installed hakyll and let it setup an example page that I'd like to see @localhost
<eacameron>
lush: The binaries will be in the normal cabal place "dist/..."
MatejC has joined #nixos
<eacameron>
Anyone: Are the options docs for 17.03 hosted anywhere?
<gchristensen>
nixos.org/nixos/options.html
<KABA_>
man configuration.nix
<eacameron>
gchristensen: Oh...so that's been updated.
<gchristensen>
17.03 is stable now :)
<eacameron>
(It says last edited 1/1 at the bottom
<eacameron>
)
iMatejC has quit [(Ping timeout: 264 seconds)]
<gchristensen>
ah, that is for the HTML page but its contents has been updated
<gchristensen>
that is a bug :)
<eacameron>
gchristensen: Ah gotcha
<Filystyn>
Where can i find hardware.opengl.extraPackages list ?
<Filystyn>
Since i am unable to get this option used
<gchristensen>
and you have an unexpected '=', where there should be a ';', in the file /etc/nixos/configuration.nix around line 80 column 44
eacameron has quit [(Quit: Leaving...)]
byteflame has quit [(Ping timeout: 260 seconds)]
byteflam1 has quit [(Ping timeout: 240 seconds)]
<ericnoan>
Filystyn: you need to put [ packageToInclude ] after with pkgs;
<Filystyn>
ok but where i can find types of those packages?
<ericnoan>
what are you trying to include?
<Filystyn>
tbh everything i can. A program just says there is no 64 and 32 bit opengl libs i have already hardware.opengl.driSupport = true; and this is not enought
<ericnoan>
you'll have to wait for some nix guru to answer that
carlosdagos has quit [(Ping timeout: 246 seconds)]
<Filystyn>
ok ;-)
rui2 has quit [(Quit: WeeChat 1.5)]
ashkitten has quit [(Remote host closed the connection)]
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
<pxc>
i'm getting different behavior on pathsToLink with two different packages (fzf and direnv) and I can't figure out why
<pxc>
the things I've copied to $out/path/to/link end up linked to the right place with direnv, but not fzf
<pxc>
any ideas?
Filystyn has quit [(Remote host closed the connection)]
byteflame has joined #nixos
byteflam1 has joined #nixos
eacameron has joined #nixos
Itkovian has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
faffolter has quit [(Ping timeout: 260 seconds)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<pxc>
nvm, figured it out. Apparently only the bin output of Go packages ever get stuff linked into the global profile
byteflam1 has quit [(Ping timeout: 240 seconds)]
byteflame has quit [(Ping timeout: 240 seconds)]
<freedomcode>
Hmm, so webkitgtk24x is insecure and disabled, but still depended on by some packages (including gnucash26) what are gnucash26 users intended to do?
freedomcode is now known as reardencode
AllanEspinosa has joined #nixos
takle has joined #nixos
erasmas has quit [(Quit: Lost terminal)]
erasmas has joined #nixos
<eacameron>
Has nginx changed recently in how it handles php-fpm via sockets? After upgrading to 17.03 nginx suddenly complains that it can't read the response
<simpson>
reardencode: I presume that upgrading is the idea, but I don't know the details.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
lush has quit [(Quit: Konversation terminated!)]
<reardencode>
simpson: hmm, I don't see any evidence that gnucash has changed its dependencies, but maybe the dep on webkitgtk24 was a packaging artifact as opposed to a hard dependency
<gchristensen>
it is a hard dependency but by transient property, gnucash is vulnerable
<gchristensen>
transitive* lol
byteflame has joined #nixos
byteflam1 has joined #nixos
<reardencode>
gchristensen: lame, I hope they fix their shit soon. thanks
Itkovian has joined #nixos
<gchristensen>
feel free to bug gnucash :)
<eacameron>
After upgrading to 17.03 I could not for the life of me get nginx to serve my php site via php-fpm... :/ Rolled back to a previous snapshot.
Itkovian has quit [(Client Quit)]
<ericnoan>
does the binary cache keep previous versions of packages?
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
<eacameron>
fpletz: Do you have any idea why upgrading to 17.03 would make my previously working php site not work?
Itkovian has joined #nixos
hamishmack has quit [(Ping timeout: 260 seconds)]
simendsjo has quit [(Remote host closed the connection)]
Filystyn has quit [(Read error: Connection reset by peer)]
<ben>
does nix promise that stdenv.shell is bash?
chakerbenhamed has joined #nixos
<ben>
err, nixpks, i guess
<pxc>
ben yeah, I think so. What are you trying to do?
<ben>
Just wondering about conservative-looking scripts that don't use [[ ]] :)
bennofs has quit [(Quit: WeeChat 1.7)]
jrolfs has quit [(Ping timeout: 256 seconds)]
wak-work has joined #nixos
<ericnoan>
eacameron: PHP version updated in 17.03 right?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<eacameron>
ericnoan: I think so, yah. But I am running the same config on a server that's using nixpkgs unstable so I know this config works for newer versions of everything.
<eacameron>
ericnoan: Well...it's nixpkgs unstable as of 4 weeks ago
<eacameron>
ericnoan: So I'm not sure how 17.03 differs from that.
<ericnoan>
hmm yes... what do the errors tell you?
<eacameron>
I think the new php-fpm config stuff got merged since then
<eacameron>
All I see is that nginx couldn't read the response from upstream :/
carlosdagos has joined #nixos
<fpletz>
eacameron: hrm, weird, can you share the relevant portion of your config?
goibhniu has joined #nixos
<eacameron>
fpletz: Any particular part you're thinking of? I've got a decently large nginx config...
ikwildrpepper has quit [(Remote host closed the connection)]
<fpletz>
eacameron: like how you're connecting to php-fpm via fastcgi and how you configure a typical fpm-pool
carlosdagos has quit [(Ping timeout: 240 seconds)]
<eacameron>
The only difference I saw is that there's no phpfpm.pid in /run/phpfpm with the new setup
<eacameron>
Otherwise all the users, etc. are the same.
anderslundstedt has quit [(Quit: leaving)]
<eacameron>
And of course the new setup uses phpfpm-craft-pool instead of phpfpm service
<eacameron>
It was running.
<fpletz>
the config looks ok to me, did you check if the socket exists and the permissions were correct?
ebzzry has quit [(Ping timeout: 240 seconds)]
<eacameron>
fpletz: Yah it did exist and the permissions were the same as before. (Whether that's correct or not I don't know)
<eacameron>
Oh...one more tidbit. I'm using nginx mainline
<eacameron>
Hmm...thinking about that more...
<fpletz>
that's also what we're using :)
<eacameron>
"we"?
<fpletz>
hrm, let me check our generated configs
<fpletz>
at work :)
hamishmack has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
ebzzry has joined #nixos
<eacameron>
fpletz: Oh...maybe this is why? I'm not using the same nginx derivation as what's in 17.03
<eacameron>
It's pinned to some thing in nixpkgs unstable a month or so ago.
jrolfs has joined #nixos
<fpletz>
eacameron: you're talking about the package and not the service, right?
<fpletz>
then it would seem unlikely to me
<eacameron>
fpletz: Yah. services.nginx.package is set to something.
hiratara has joined #nixos
<fpletz>
the nginx version shouldn't matter, we've been running this for all nginx versions that were in unstable from 16.09 to 17.03 :>
<eacameron>
Hah wow!
<fpletz>
(I updated nginx in the last few months :))
<eacameron>
Unfortunately I'm a bit in a pinch and just reverted my VM so I could keep moving. I thought maybe I just didn't set up the config right. I can look into it more later.
<eacameron>
I distinctly remember that file not being there
<fpletz>
hmm, it doesn't even make sense to have pid set as systemd will take care of that
<fpletz>
we don't have that in our phpfpm config
<eacameron>
fpletz: You know...I just realized that these files are generated from my working setup. I assumed they would be the same after the upgrade, but that's probably not true. I'd guess they're pretty similar but probably not identical.
<fpletz>
yeah, so the problem here could be that we are starting multiple phpfpm master processes, so setting one pid file for all of them is probably not a good idea
<fpletz>
I can paste you what we're currently using
derjohn_mob has quit [(Ping timeout: 260 seconds)]
byteflame has quit [(Ping timeout: 264 seconds)]
orivej has quit [(Ping timeout: 264 seconds)]
armijn has quit [(Remote host closed the connection)]
<eacameron>
fpletz: Are you overriding the whole php-fpm config file or just using the pools.<name> API?
<fpletz>
eacameron: no, we're currently using verbatim configs with poolConfigs and extraConfig
<fpletz>
you have basically all of that config in that gist
<eacameron>
fpletz: I see. OK I can try what you have here and see how it goes
<fpletz>
our php.ini should not be specials
<fpletz>
hmm, putting pools into their own systemd services had more impact on custom configs than I anticipated
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
<eacameron>
fpletz: I very much like that direction, for sure.
KABA_ has quit [(Quit: Leaving)]
Supersonic112 has quit [(Ping timeout: 246 seconds)]
jimmy_ has joined #nixos
Supersonic112_ has joined #nixos
<jimmy_>
does anyone here have much experience with meson?
Supersonic112_ is now known as Supersonic112
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
derjohn_mob has joined #nixos
deepfire has quit [(Ping timeout: 246 seconds)]
deepfire has joined #nixos
<NixOS_GitHub>
[nixpkgs] nh2 opened pull request #24607: Fix consul version being "unknown-unknown". Fixes #24606. (master...fix-24606-consul-version-unknown) https://git.io/vSB94
<NixOS_GitHub>
[nixpkgs] nh2 opened pull request #24608: Fix consul version being "unknown-unknown". Fixes #24606. (release-17.03...fix-24606-consul-version-unknown-17.03) https://git.io/vSB9S
<jimmy_>
i am trying to package a component built using meson, but the output binary always has an empty rpath. does anyone have any suggestions about where to start searching for the problem?
hiratara has joined #nixos
cpennington has quit [(Ping timeout: 260 seconds)]
justbeingglad has joined #nixos
<nh2>
is there a handy command to show the size on disk of a closure and its dependencies?
<Mateon1>
Is it possible to make a package that uses a .tar.gz from the local filesystem, rather than downloading it from somewhere?
justbeingglad has left #nixos []
<nh2>
Mateon1: yes, you should be able to give it as `src =` -- if I remember correctly, it will automaticallly untar it
<nh2>
Mateon1: I'm assuming that this is for defining your own package with a nix file. Or do you simply want to speed up a build of somebody else's nix file for which you happen to have the tar already on your disk?
<nh2>
Mateon1: if the latter, you can use nix-prefetch-url, it can also deal with file:// urls
fresheyeball has joined #nixos
<fresheyeball>
so there is a package that was removed recently
<jimmy_>
HappyEnte_ thanks for the tip - i tried that (just put all deps (+'/lib') into rpath), but got "X: no version information available (required by X)" when i tried to run the pathched binary, which made me assume that wasn't the correct approach
<HappyEnte_>
jimmy_, hmm could you do a ldd or objdump -p on the binary and look whether all dependencies are found?
<ben>
does anyone know what the nixos passthru module is for and/or how it works
<manveru>
for example, we use it to expose which version of ruby a gem was built with, so you can depend on the same ruby version...
<Mateon1>
nh2: Sorry, I stepped away for a minute, but I mean the former, I want to package something myself, and don't want to bother uploading it anywhere
<Mateon1>
Thanks, I'll look into the option
<ben>
manveru: i think i get it in nixpkgs but it seems to be something different in nixos
<jimmy_>
HappyEnte_, thanks again. ldd yields the same error about versions :(
<jimmy_>
unfortunately, google hasn't helped much on this one
deepfire has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has joined #nixos
<HappyEnte_>
jimmy_, hmm thats strange are you able to share your package expression?
ebzzry has quit [(Ping timeout: 260 seconds)]
AllanEspinosa has quit [(Ping timeout: 264 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
thc202 has quit [(Ping timeout: 268 seconds)]
AllanEspinosa has joined #nixos
<copumpkin>
how can I get nix-shell to pass args directly from the command line to the child?
<copumpkin>
normally I'd expect something like --
<copumpkin>
but that doesn't seem to do it
<ben>
curious if theres a good way to do that
fnlkj has joined #nixos
jrolfs has quit [(Ping timeout: 258 seconds)]
none` has joined #nixos
byteflame has joined #nixos
byteflam1 has joined #nixos
markus1189 has joined #nixos
markus1199 has joined #nixos
<ben>
1
<ben>
whoops, sorry
markus1219 has quit [(Ping timeout: 246 seconds)]
markus1209 has quit [(Ping timeout: 268 seconds)]
<none`>
hello, how can I install a list of packages with nix-env -i?
<none`>
I am trying to export the set of packages of NixOS installation to an OS that can use only Nix, but I am not able to find an easy way
<ben>
does nix-env -i and then the list of packages not work?
ebzzry has quit [(Ping timeout: 260 seconds)]
ebzzry has joined #nixos
<none`>
ops, yes, thanks! (better go to sleep now)
<mounty>
Is there a nixos package that provides an executable called sendmail ? https://nixos.org/nixos/packages.html searches by package name, not installed objects.
<mounty>
Oh wait. ssmtp
<mounty>
I was trying candidates one by one and just hit it when I asked the question.
fnlkj has quit [(Ping timeout: 260 seconds)]
carlosdagos has joined #nixos
erasmas has quit [(Quit: leaving)]
fnlkj has joined #nixos
<dmj`>
long live NixOS
carlosdagos has quit [(Ping timeout: 256 seconds)]
cpennington has joined #nixos
fnlkj has quit [(Client Quit)]
fnlkj has joined #nixos
<jasom>
mounty: msmtp also should provide it
eacamero_ has joined #nixos
<mounty>
Thanks jasom but one is enough. ;-)
vaibhavsagar has joined #nixos
<HappyEnte_>
jimmy_, ok i got it working with wrapProgram, I really can't figure out what the problem with patchelf is. https://git.io/vSBxO
<jasom>
mounty: well having a sendmail executable installed is useless without configuring it, so there might be reasons to prefer one over another
eacameron has quit [(Ping timeout: 256 seconds)]
<jimmy_>
HappyEnte_, thanks for your help!
eacamero_ has quit [(Ping timeout: 268 seconds)]
eacameron has joined #nixos
drasich has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
marsam has quit [(Remote host closed the connection)]