<ndowens08>
yea i have learned git DECENTLY, ofc not great, but learning still :)
<shawndomniti>
ndowens08: dont feel bad, you seem to know more than I do and I've been working with git in my day job for the last four years ;-)
<ndowens08>
i have only started git when I started pkging here
<gchristensen>
ndowens08 has an apparently insatiable ability to absorb new tools
<ndowens08>
what is bad, i cant understand simple things good
<shawndomniti>
noob question: is there a lag time between something being added to nixpkgs and when I can add it to my `environment.systemPackages`?
<pie__>
uhhh, so i set nix.nixPath to unstable
<ndowens08>
sometimes i do better with complicated stuff
<gchristensen>
shawndomniti: yes :)
<pie__>
now i get: error: file ‘nixos-config’ was not found in the Nix search path
<ndowens08>
shawndomniti: yea there is a pause, not sure how long
<ndowens08>
unstable-small gets it first, but you can always build from your nixpkg copy
<shawndomniti>
alright cool just wanted to make sure. is there anything I need to do on my end, something equivalent to `apt-get update`?
<gchristensen>
shawndomniti: our build server (hydra.nixos.org) will pick up the changes every 4 hours and build all the software. if it passes tests (we automatically make sure nixpkgs will produce a bootable system with working software on every change) it will be pushed out to the channel
<shawndomniti>
oh, so since I'm on stable channel it'll be a while before its available?
<disasm>
ok, dunno if this was the right fix, but sudo nix-env -e busybox fixed it! My shell works now!
<ndowens08>
yup
<ndowens08>
i run unstable-small, sometimes have to compile updates
<shawndomniti>
gchristensen: that is kinda awesome, I like how this whole system works
<ndowens08>
:D
<ndowens08>
I use to run arch as my main linux, but now it is NixOS
<shawndomniti>
is there a way to stay on stable but still have it in my configuration.nix?
<shawndomniti>
and yeah, another long time arch user convert here as well
<pie__>
ok i think i nuked my channel list lol
<gchristensen>
shawndomniti: nix-channel --update, or `nixos-rebuild switch --upgrade` to update your channel
<Profpatsch>
Oh man, what’s going on with the systemd.services submodule.
<Profpatsch>
postStop links to execStopPost
<Profpatsch>
while preStop links to execStop
drasich has quit [(Ping timeout: 246 seconds)]
<Profpatsch>
And nothing links to execStopPre
<gchristensen>
shawndomniti: typically with stable, new packages don't get introduced to the current stable release
<Profpatsch>
Probably better to just use serviceConfig
<gchristensen>
shawndomniti: but you can get things from the unstable channel and still use stable, I think other people here can help with that
<shawndomniti>
(sorry if these are questions that could be found in the docs, I looked and didn't find them)
<ndowens08>
gchristensen: it did it again and yea i cant seem to fix it
<pie__>
what in the world did i do haha
<ndowens08>
on a different pr
romildo has quit [(Quit: Leaving)]
<gchristensen>
ndowens08: did you cherry pick?
<ndowens08>
yes lol
<shawndomniti>
I'm running a laptop for basic vagrant/ansible dev work, is there a big downside to switching to unstable for something like this?
<gchristensen>
ndowens08: ok, what is the hash of the commit you want to apply to staging?
<ndowens08>
gchristensen: oh man thank you much :)
<gchristensen>
:)
<ndowens08>
sigh lol i think i did it backwards should have git pull --rebase upstream/stagging ?
<gchristensen>
not sure, I don't rebase much, I mostly cherry-pick
<ndowens08>
instead of going into stagging, it has been too long of a day lol
estewei has joined #nixos
<jimmy_DM>
gchristensen: xserver' defined in `/etc/nixos/software-specs.nix' does not exist. http://p.ip.fi/KjJe
<gchristensen>
jimmy_DM: did you delete your entire example config?
<ndowens08>
a bit scared to rebase the last one that needs to be rebased for staging lol
<jimmy_DM>
gchristensen: no
<gchristensen>
jimmy_DM: the example configuration demonstrates the option you're looking for is services.xserver
sigmundv_ has quit [(Ping timeout: 264 seconds)]
<ndowens08>
woot did the last one w/o issue *dances* lol
<gchristensen>
nice
<ndowens08>
so it seems, that doing git pull upstream/staging then git reset --hard upstream staging works fine
<ndowens08>
then cherry pick
<ndowens08>
Anyone here use hdparm that wants to test the update before I merge it. I dont use it so unfamilar with it, but it doesnt seem to segfault atleast
shawndomniti has quit [(Ping timeout: 260 seconds)]
carlosda1 has joined #nixos
<gchristensen>
don't merge yet ndowens08 please
<ndowens08>
k i wont then :)
<pie__>
nix has decided to compile haskell for some reason even though im supposed to be on stable...
<ndowens08>
something broke nox-review again lol
<pie__>
that cant be right?
<jimmy_DM>
http://p.ip.fi/2XyD for this I get The option `service' defined in `/etc/nixos/software-specs.nix' does not exist.
<jimmy_DM>
I added the service.xserver but still the same error
<ndowens08>
Did you change your pkg channel?
<ndowens08>
pie__: ^
<jimmy_DM>
oh sorry
<pie__>
ndowens08, soooort of
<pie__>
i tried to roll back tho
<ndowens08>
to unstable-small it sounds like
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/vSO94
<NixOS_GitHub>
nixpkgs/master 01d8d1b Daiderd Jordan: rustc: use llvm_39
<NixOS_GitHub>
nixpkgs/master 903fc1d Daniel Peebles: Merge pull request #24418 from LnL7/darwin-rust...
<jimmy_DM>
s at the end of services
<pie__>
sudo nix-channels --list at the moment lists
<gchristensen>
did you nix-channel --update afterward?
<pie__>
yeah
<pie__>
but ill do it again just in case
acowley is now known as acowley_away
<ndowens08>
gchristensen: weird, travis complains about fontconfig-2.10.2 saying with attribute "patches" but the only word with patch is infinality_patch = let ...
<pie__>
should it download the channel each time i run that command, or should it say no updates?
<jimmy_DM>
gchristensen: http://p.ip.fi/ys9V line 9 is the problem. I think. The option `services.desktopManager' defined in `/etc/nixos/software-specs.nix' does not exist.
<pie__>
because the former happens
<gchristensen>
ahh I'm overwhelmed with people :P
<pie__>
and im still compiling haskell
<ndowens08>
you are popular :)
<pie__>
gchristensen, thats understandable x3
<pie__>
cant help but go one at a time or go crazy :P
<ndowens08>
:D
<jimmy_DM>
gchristensen: changing it to xserver would return The option `xserver' defined in `/etc/nixos/software-specs.nix' does not exist.
<ndowens08>
ah now i see i think
<gchristensen>
jimmy_DM: because it is services.xserver....
<pie__>
would rolling back also roll back channel changes?
<jimmy_DM>
gchristensen: The option `services.xserver.desktopManager.kde4' defined in `/etc/nixos/software-specs.nix' does not exist I told you that before
<gchristensen>
jimmy_DM: what does nixos-versison say?
<pie__>
didnt know thers a separate rollbck for channels
<gchristensen>
pie__: :)
<gchristensen>
jimmy_DM: $ nixos-version *
<ndowens08>
gonna go for a little; if anyone has time to checkout the issue with travis, complains about fontconfig-2.10.2 /home/travis/.nox/nixpkgs/pkgs/development/libraries/fontconfig/test-pcf-family-names-freetype-2.7.patch
<pie__>
im trying to build rpy2 in a python3.6 virtualenv
<pie__>
am i doing it wrong?
roygbiv has quit [(Quit: ™)]
<jimmy_DM>
gents; What should I add to my nix config file for FVWM?
eacameron has quit [(Remote host closed the connection)]
<pie__>
uh how do i specify something like R-3.3.3 for nix-shell? it dosnt like the fanct characters
Tarinaky has quit [(Quit: leaving)]
<pie__>
oh i guess i can just use -A ?
<pie__>
ok i cant figure out the right version of this
<pie__>
i need to get R from unstable and idea.pycarm-community from stable for nix-shell
<jimmy_DM>
any information on fvwm?
Supersonic112 has quit [(Ping timeout: 260 seconds)]
Supersonic112 has joined #nixos
<pie__>
ok so im trying to do this in my configuration.nix: (import <unstable> {}).R but adding the unstabel channel to the channel list completely overrides the stable channel and now it wants to install everyhting from unstable...
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<pie__>
correction, doesnt matter if i add that to the config, just having the unstale channel causes compiling everything...
mizu_no_oto has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/vSO5L
<NixOS_GitHub>
nixpkgs/master ecae31a Will Dietz: swift: init at 3.1...
<NixOS_GitHub>
nixpkgs/master cea6bfa Daniel Peebles: Merge pull request #22098 from dtzWill/feature/swift...
<ndowens08>
you can add fvvm or w/e you want in configuration.nix
drasich has joined #nixos
carlosda1 has joined #nixos
<jimmy_DM>
ndowens08: first I added the sddm line to have a displaymanager at least. then for autostarting the FVWM and set it as default session
<justanotheruser>
Does anyone have cuda installed successfully? I installed tensorflowWithCuda and when I attempt to "import tensorflow" in python3, I get ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory. When I attempt to install libgpuarray-cuda I get warning: cannot resolve item 'libOpenCL.so.1'
<jimmy_DM>
ndowens08: too many questions and I don't know how to phrase them all.
<pie__>
man either im doing something very wrong or my channels are fuckt
<pie__>
*fucky
<jimmy_DM>
justanotheruser: just a thought but it might be a version mismatch.
<ndowens08>
I use lightdm, havent used sddm, so not sure how about setting a WM/DM as default, in lightdm, the last session you used, will be used next time
<ndowens08>
until you change it
<jimmy_DM>
ndowens08: the same with sddm. but anything that has to go to nix config file perhaps?
<ndowens08>
not besides the login manger you want and window/desktop you want
galen has joined #nixos
<jimmy_DM>
also, Does nixos uses synaptic or libinput by defualt?
<ndowens08>
that idk, i dont have a touchpad
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
carlosda1 has quit [(Ping timeout: 240 seconds)]
Wizek_ has quit [(Ping timeout: 246 seconds)]
<dtz>
i think synaptic? idk I had to enable libinput to make things work nicely but that could be for other reasons
edvorg has quit [(Remote host closed the connection)]
edvorg has joined #nixos
takle has quit [(Ping timeout: 264 seconds)]
<ashkitten>
it doesn't use either afaik, when i first installed my touchpad acted as a tablet thingy
mkoenig has quit [(Read error: Connection reset by peer)]
<pie__>
how can i use a different channel for nix-shell? :/
<pie__>
i had to get synaptics myself...
<jimmy_DM>
ndowens08: if I want to put a package name inside the config file should I go with the package name i.e termite-11 or attribute name i.e termite.
<ndowens08>
termite is the correct one for that one
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/vSOdd
<NixOS_GitHub>
nixpkgs/master 85fab7e Tim Steinbach: kubernetes: 1.5.4 -> 1.5.6
<NixOS_GitHub>
nixpkgs/master f33e19a Daniel Peebles: Merge pull request #24411 from NeQuissimus/kubernetes_1_5_6...
<jimmy_DM>
jimmy_DM: So I sould go with attribute name
<jimmy_DM>
ndowens08: So I sould go with attribute name
<ndowens08>
yup. install nox; makes it easier to search for a pkg and install
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Client Quit)]
<jimmy_DM>
ndowens08: after the initial nixos-install any change to nix config should be addressed with nixos-rebuild switch or the same nixos-install
<ndowens08>
i use nixos-rebuild switch after changing configuration.nix
mkoenig has joined #nixos
<pie__>
" ./rpy/rinterface/_rinterface.c:80:31: fatal error: readline/readline.h: No such file or directory" ...bu ti have readline :I
<jimmy_DM>
ndowens08: what happens if one uses the nixos-install again?
mbrgm has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub>
[nixpkgs] copumpkin closed pull request #24428: libdc1394: patch bugs on darwin (master...libdc1394-darwin) https://git.io/vSOX1
<justanotheruser>
jimmy_DM: how do I determine that?
<jimmy_DM>
justanotheruser: what is the version of cude you installde
<justanotheruser>
jimmy_DM: in nix-store I have cuda 8.0, 7.5, and 7.0
<jimmy_DM>
justanotheruser: do you have python3.5-pycuda-2016.1
<jimmy_DM>
if you use python3 that is
<justanotheruser>
I have 7wjfwyznnhg44s90g7mi5a0rl1afcdc7-python3.5-libgpuarray-cuda--9998.0.drv
<justanotheruser>
I'll insall pycuda
<jimmy_DM>
justanotheruser: try to find the file in question. sometime is the missing symlink
<jimmy_DM>
just another thought
<justanotheruser>
Sorry, but how do I determine which file it is attempting to use as a dependency out of the store
<justanotheruser>
pycuda didn't fix it
<pie__>
apparently it expects readline/readline.h but i can only give it include/readlie.h...what do i do?
systemfault has joined #nixos
<pie__>
nevermind the path is fine...
<pie__>
there we go
<jimmy_DM>
justanotheruser: you need vrsion 8
<pie__>
wow am i gonna have to pass every library myself
<jimmy_DM>
how do I map this in my config file 54.192.98.112 cache.nixos.org
<justanotheruser>
jimmy_DM: I have cuda-8 in store. how do I determine which it is using in the store
gbbrt has joined #nixos
acowley_away is now known as acowley
gbbrt_ has quit [(Ping timeout: 268 seconds)]
<pie__>
error: Package ‘python3.6-rpy2-2.8.2’ in ‘/nix/store/mzh0bc4yr3sl4h92bc13bzcqnj5d4hd1-nixos-unstable.tar.gz/pkgs/top-level/python-packages.nix:23070’ is marked as broken, refusing to evaluate.
* pie__
flails helplessly
ndowens08 has quit [(Ping timeout: 260 seconds)]
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<jimmy_DM>
justanotheruser: that I don't know. I would search how to install specific software version in nixos
<jimmy_DM>
Why bash isn't the defualt shell in nixos
takle has joined #nixos
hexagoxel has quit [(Ping timeout: 258 seconds)]
<pie__>
how do i get includes and libs with nix-shell? :/
zeus_ has quit [(Ping timeout: 246 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has joined #nixos
<dtz>
they're usually already there? check your env
hexagoxel has joined #nixos
acowley is now known as acowley_away
CodingWithClass has quit [(Ping timeout: 268 seconds)]
zeus_ has joined #nixos
zombified has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
eacameron has joined #nixos
<pie__>
dtz, they werent working...i used C_INCLUDE_PATH and some cannibalized nix code from the net cuz im a noob
<pie__>
seeeems to have worked
CodingWithClass has joined #nixos
<pie__>
though i did get an assertionerror at one point and that cant be good
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
zombified has joined #nixos
Piece_Maker has joined #nixos
<pie__>
i do "nix-shell -p readline pcre lzma bzip2 icu" but at runtime i still get "ImportError: libreadline.so.6: cannot open shared object file: No such file or directory"
<dtz>
lmao
<dtz>
re:assertion error and can't be good
takle has quit [(Ping timeout: 256 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
Acou_Bass has quit [(Ping timeout: 264 seconds)]
Piece_Maker is now known as Acou_Bass
takle has joined #nixos
<pie__>
fails with making a wheel apparently but i think that might be survivable, re: assertionerror
<pie__>
at the moment im hung up on why dependencies arent working :(
takle has quit [(Ping timeout: 246 seconds)]
mizu_no_oto has joined #nixos
<jimmy_DM>
how to autostart the displaymanager?
<jimmy_DM>
lightdm or ssdm?
<dtz>
mrow
mguentner2 has quit [(Quit: WeeChat 1.7)]
mguentner has joined #nixos
jimmy_DM has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 260 seconds)]
gilligan_ has quit [(Ping timeout: 240 seconds)]
crzyp3ck has joined #nixos
<crzyp3ck>
Hello.
<crzyp3ck>
I tried to install Nixos with the wiki's help. I did install but now I don't have any Xorg server or anything
<crzyp3ck>
I don't know what to add to the config file for X11.
<crzyp3ck>
also I am in tty and It would help if someone give me a hint
<crzyp3ck>
No browser here
takle has joined #nixos
<pie__>
whats the proper way to set library locations for compiling in a nix file?
<pie__>
so, linker stuff
edvorg has quit [(Ping timeout: 260 seconds)]
<clever>
pie__: if the libs are in the lib subdir of another package, just put it into buildInputs
takle has quit [(Ping timeout: 256 seconds)]
<pie__>
....well apparently thats not enough :/
<clever>
pie__: can you gist the nix expression?
<clever>
and the error
eacameron has joined #nixos
<pie__>
huh ok using c_include_paht is unnecessary after all
<pie__>
clever, its basically just buildInputs = [ stdenv readline pcre lzma bzip2 icu ];
<pie__>
im tring to compile rpy2 in a python3.6 virtualenv created by pycharm-community
<clever>
no need to put the stdenv in buildInputs
<pie__>
this is just some canmibalized internet thing. ok.
<pie__>
the problem is when i import rpy2 in python i get
<pie__>
well, that it couldnt find readline.so.6 (thats where its starts, it will probably have the same problem with the other libs as well(
<clever>
ah
<clever>
the buildInputs only covers libraries at build/link time
<clever>
it doesnt cover things at runtime
gilligan_ has joined #nixos
<clever>
are you linking rpy2 with -lreadlink?
<pie__>
im not really doing anything past buildinputs....
carlosda1 has joined #nixos
<pie__>
this is my error: "ImportError: libreadline.so.6: cannot open shared object file: No such file or directory"
<pie__>
on import rpy2
<pie__>
actually, import rpy2.robjects
<pie__>
rpy2 by itself wouldnt actually get anything i think
<NixOS_GitHub>
[nixpkgs] winniequinn opened pull request #24430: premake5: init at 5.0.0pre.alpha.11 (master...premake5) https://git.io/vSOp9
<pie__>
i had this before but i cant remember in what context
<pie__>
i hope its easily fixable...
<pie__>
well DISPAY is set...
sellout- has joined #nixos
takle has joined #nixos
<pie__>
ah here we go... RRuntimeWarning: unable to load shared object '/nix/store/ss7674fw88gdb7d3mkb3a5xz3zira81d-R-3.3.3/lib/R/modules//R_X11.so':
<pie__>
/nix/store/6rhawr786hmpg0lw910rna03v0gbw93j-zlib-1.2.8/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /nix/store/g6qan6yzlnbkj7w5ibgxfx6jrik7iyg3-libpng-apng-1.6.28/lib/libpng16.so.16)
systemfault has quit [(Quit: Bye!)]
takle has quit [(Ping timeout: 246 seconds)]
mizu_no_oto has quit [(Ping timeout: 256 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
RchrdB has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
<amosbird>
Hi, does nix have xgboost?
takle has quit [(Ping timeout: 240 seconds)]
odi_ has joined #nixos
takle has joined #nixos
crzyp3ck has joined #nixos
<crzyp3ck>
hello again
<crzyp3ck>
I wanted to change the sddm.conf but I get chmod 755 /etc/sddm.conf
<crzyp3ck>
chmod: changing permissions of '/etc/sddm.conf': Read-only file system
<amosbird>
how can I fix this error: xgboost-0.60 not supported for interpreter python2.7
<crzyp3ck>
I am doing it as root but I still get this. why?
isidore has joined #nixos
<pie__>
zlib 1.2.9 isnt even available in the package repo why is it required...
<c74d>
crzyp3ck: you are on NixOS, yes?
<c74d>
(that may seem obvious given that this is #nixos, but this channel is also for people using Nix on other OSs)
galen has quit [(Quit: WeeChat 1.7)]
<crzyp3ck>
c74d: full fledged nixos
<crzyp3ck>
but barebone
<c74d>
crzyp3ck: to change the sddm.conf, set the option `services.xserver.displaymanager.sddm.extraconfig` in /etc/nixos/configuration.nix to the text you want added to sddm.conf
vincent_vdk has quit [(Ping timeout: 240 seconds)]
vincent_vdk has joined #nixos
takle has joined #nixos
<crzyp3ck>
c74d: thanks; we have this nixpkgs/nixos/modules/services/x11/window-managers/fluxbox.nix
<crzyp3ck>
how could I create another one for fvwm. change the name and parameters save new file fvwm.nix. how if possible.
takle has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vS3fA
<NixOS_GitHub>
nixpkgs/master 750dca5 Matthew Maurer: ocaml-bitstring: git -> 2.1.0
<NixOS_GitHub>
nixpkgs/master 5dda5a2 Vincent Laporte: ocamlPackages.bitstring: remove 2.0.4
zraexy has quit [(Quit: Leaving.)]
odi has quit [(Remote host closed the connection)]
odi has joined #nixos
carlosda1 has joined #nixos
m0rphism has joined #nixos
zraexy has joined #nixos
sellout- has quit [(Quit: Leaving.)]
carlosda1 has quit [(Ping timeout: 258 seconds)]
filterfish has quit [(Ping timeout: 258 seconds)]
marsel has joined #nixos
reinzelmann has joined #nixos
MercurialAlchemi has joined #nixos
takle has joined #nixos
eacameron has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 246 seconds)]
ocmylife has joined #nixos
crzyp3ck_ has joined #nixos
filterfish has joined #nixos
crzyp3ck_ has quit [(Changing host)]
crzyp3ck_ has joined #nixos
crzyp3ck has quit [(Disconnected by services)]
crzyp3ck_ is now known as crzyp3ck
<amosbird>
hi
<crzyp3ck>
amosbird: hi
<crzyp3ck>
where would be the /usr/share/xsessions?
<crzyp3ck>
I want to add a new WM file there
gsora has quit [(Ping timeout: 246 seconds)]
jbo has quit [(Ping timeout: 240 seconds)]
makefu has quit [(Ping timeout: 276 seconds)]
jbo has joined #nixos
makefu has joined #nixos
gsora has joined #nixos
odi has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
<crzyp3ck>
anybody? /where is /usr/share
<crzyp3ck>
pleasee
takle has quit [(Ping timeout: 240 seconds)]
marsel has quit [(Ping timeout: 260 seconds)]
thip has joined #nixos
odi has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vS3T2
<NixOS_GitHub>
nixpkgs/master b4716ea Matthew Maurer: camlzip: 1.06 -> 1.07...
wkennington has quit [(Read error: Connection reset by peer)]
thip has quit [(Ping timeout: 240 seconds)]
crzyp3ck has quit [(Quit: leaving)]
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vS3kc
<NixOS_GitHub>
nixpkgs/master 0784125 Frederik Rietdijk: pythonPackages.pyudev: fix package...
<MasseR>
Hi. I lost man pages for nix-env after my latest `nix-channel --update && nix-env -u` on a nix on top of ubuntu
Itkovian has joined #nixos
<MasseR>
All nix-* related mans were removed from $NIX_LINK/share/man/man1
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vS3ko
<NixOS_GitHub>
nixpkgs/master 3c7b0d3 Matthew Maurer: ocamlgraph: 1.8.5 -> 1.8.7
<NixOS_GitHub>
[nixpkgs] FRidh pushed 3 new commits to release-17.03: https://git.io/vS3k1
<NixOS_GitHub>
nixpkgs/release-17.03 0355349 Marius Bakke: pythonPackages.pyudev: 0.16.1 -> 0.20.0...
<NixOS_GitHub>
nixpkgs/release-17.03 f7a4b7e Joachim Fasting: pythonPackages.pyudev: 0.20.0 -> 0.21.0...
<NixOS_GitHub>
nixpkgs/release-17.03 474273d Frederik Rietdijk: pythonPackages.pyudev: fix package...
FRidh has joined #nixos
elninja44 has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
<MasseR>
I can test by changing to generation 32 and running `nix-env -u` in it
eacameron has joined #nixos
eacamero_ has joined #nixos
takle has joined #nixos
gilligan_ has quit [(Ping timeout: 264 seconds)]
eacameron has quit [(Ping timeout: 256 seconds)]
filterfish has quit [(Ping timeout: 256 seconds)]
elninja44 has quit [(Remote host closed the connection)]
tsmeets[m] has quit [(Ping timeout: 260 seconds)]
eacamero_ has quit [(Ping timeout: 246 seconds)]
takle has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
gilligan_ has joined #nixos
<gilligan_>
morning
<FRidh>
justanotheruser: $ nix-store -qR $(nix-build -A python3.pkgs.tensorflowWithCuda) | grep cuda
<FRidh>
justanotheruser: if it doesn't work, and you can't figure out why not, open an issue on the track and cc those that have been working in the expression in the past
AllanEspinosa has joined #nixos
filterfish has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
jsgrant has quit [(Ping timeout: 240 seconds)]
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
thc202 has joined #nixos
jsgrant-_ has quit [(Ping timeout: 264 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
ericsagnes has quit [(Ping timeout: 258 seconds)]
jsgrant has joined #nixos
jsgrant-_ has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vS3tJ
<NixOS_GitHub>
nixpkgs/master 4e47e85 Matthew Maurer: piqi: missed propagated dependency
marsel has joined #nixos
filterfish has quit [(Ping timeout: 258 seconds)]
<amosbird>
Hello, how can I install a package using my cloned nixpkg repo?
<goibhniu>
Filystyn: FWIW, that works fine here (konsole, bash)
freusque has quit [(Read error: No route to host)]
<hyphon81>
Filystyn: I think settings about locale and/or fonts are not suit.
<Filystyn>
so strange
* goibhniu
is using en_GB.UTF-8
<Filystyn>
but it works for normal manpages the tables work fine there
<Filystyn>
only the posix package is barking
takle has quit [(Ping timeout: 256 seconds)]
<Filystyn>
can i set 2 locales?
<Filystyn>
liek the C locale if PL is wrong
<Filystyn>
pl_PL.UTF-8
pie__ has joined #nixos
<pie__>
is there a package for zlib-1.2.9? libpng wants it...
<Filystyn>
also touch pad seem not to work and wifi
<goibhniu>
pie__ the easiest thing is to grep nixpkgs
<pie__>
/nix/store/6rhawr786hmpg0lw910rna03v0gbw93j-zlib-1.2.8/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /nix/store/g6qan6yzlnbkj7w5ibgxfx6jrik7iyg3-libpng-apng-1.6.28/lib/libpng16.so.16)
<pie__>
goibhniu, well hypothetically this is going off nixos-unstable
<pie__>
so id figure that would at least be self-consistent?
<Filystyn>
so for wifi what should i install wireless tools?
<goibhniu>
pie__ ah, but I mean a clone of nixpkgs
zero812n has joined #nixos
ebzzry has joined #nixos
eacameron has joined #nixos
takle has joined #nixos
<pie__>
goibhniu, i dont get any results searching for zlib-1.2.9 on github :/
<pie__>
just 1.2.8
hyphon81 has quit [(Ping timeout: 246 seconds)]
jgertm has joined #nixos
<ronny>
pie__: how did that lobpng package come to be? its clearly being missconfigured as it
<pie__>
ronny, good question.
<pie__>
i have no idea
<ronny>
please find that out ^^
eacameron has quit [(Ping timeout: 240 seconds)]
<pie__>
actually i just realized i should revert to the stable verison of R and see if i fare any better for starters
<pie__>
i mean R-3.2.3 on stable vs 3.3.3 on unstable
<ronny>
pie__: also there already is zlib 1.2.11 released, not just 1.2.9
takle has quit [(Ping timeout: 260 seconds)]
<pie__>
ah well yeha i gues i could use an evne newer one
<ronny>
this shows stable, check out unstable/master and consider doing a pr
<pie__>
ronny, theres a lot of prs i should consider im just not up to the task yet :P
<pie__>
(still... :/)
<ronny>
pie__: a version bump is a fairly simple pr to do, you might just do one already
<pie__>
ok so i just removed the unstable channel from my user channels and ran the update but im still getting R-3.3.3 installed, i know im doing somehting dumb simple wrong, what gives?
takle has joined #nixos
CMCDragonkai has quit [(Ping timeout: 240 seconds)]
<ikwildrpepper>
copumpkin: will only be able to use the new macs tomorrow though, as I forgot to bring powerstrips
<copumpkin>
Hah no problem I'm about to get on a plane so won't miss them for a day or so :)
ThatDocsLady has quit [(Remote host closed the connection)]
<copumpkin>
But thank you so much for getting them!
<LnL>
nice! <3
takle has joined #nixos
<copumpkin>
That'll help with the obscenely long qt build I've been fixing
carlosda1 has quit [(Ping timeout: 240 seconds)]
<copumpkin>
I though LLVM was bad but I think qt has it beat
<LnL>
same here, llvm isn't so bad compared to gcc and rust
takle has quit [(Client Quit)]
<copumpkin>
Yup! Are there stats on Hydra for the slowest builds across all of nixpkgs? I'd be curious
<copumpkin>
Also this matrix thing is quite nice now that I can IRC on mobile easily
<amosbird>
Hi, how can I use nix-shell -p <my-local-package>?
sigmundv_ has quit [(Ping timeout: 264 seconds)]
<clever>
amosbird: simplest option, add it to the overrides in ~/.nixpkgs/config.nix
<amosbird>
is there an option like -f . in nix-env?
<amosbird>
I just clone the nixpkg repo
<clever>
amosbird: -p always uses <nixpkgs> so you need to use -I
<clever>
-I nixpkgs=/home/clever/nixpkgs
<amosbird>
clever: oh
<amosbird>
so nix-shell -I ... -p python?
<pie__>
ronny, it seems RR-3.2.3 is ok so the issue should be solvable
<clever>
yeah
<pie__>
clever, i fixed the last error by reverting to older R version, id used unstable originally because i thought that might fix something
* clever
heads to bed
<pie__>
clever, good night/morning :P
<clever>
7am
ndowens08 has joined #nixos
<ndowens08>
Hey
<pie__>
aaaand now runtime issues...
ThatDocsLady has joined #nixos
<pie__>
or rather silent failure...
takle has joined #nixos
jluttine has quit [(Ping timeout: 240 seconds)]
<pie__>
making any changes to the graphics window such as resizing or minimizng/maximiginz makes it become a white screen...
<pie__>
and i cant close it by clicking the X...
<pie__>
R by itself works fine so the problem is probably somehting to do with python/rpy2/the environment...
cfricke has quit [(Quit: WeeChat 1.7)]
<pie__>
/pycharm
<flyx>
hi folks! I followed the python on nix tutorial and it tells me to define some environments in ~/.nixpkgs/config.nix. I did and named it "py35". however, when I try to do `nix-env -i py35`, it says „error: selector ‘py35’ matches no derivations“
<flyx>
something else I need to do to make it work?
<amosbird>
Hmm, I feel that nixpkg repo should be reorganized. The commit log is huge and slows down git :)
<Filystyn>
one mroe thing i can install stuff on normal suer?
<goibhniu>
sure
<Filystyn>
hm on debian always had to sue root to isntall stuff
<goibhniu>
you just need to add a channel
carlosda1 has quit [(Ping timeout: 260 seconds)]
<goibhniu>
(it doesn't have to be the same one that the system uses)
<Filystyn>
but it doe snot matter i install as user or root?
<Filystyn>
or root is global and user is only sticked to user?
<goibhniu>
stuff in the user profile takes precedence over the root stuff
<Filystyn>
is it bad i soemtimes i install on root and soemtimes on suer ot it should not cause some huge chaos
<Filystyn>
if sometimes*(
<goibhniu>
it's fine
<Filystyn>
k thx
<Filystyn>
one mroe thing do i need to do somethign liek update on debian or upgrade on rebuild will do it for me?
[0x4A6F] has quit [(Ping timeout: 258 seconds)]
<goibhniu>
you need to update it separately
<crzyp3ck>
goibhniu: thanks. I don't need network manager and such tools I just need wpa_supplicant and wpa_gui. what should I ass to my config file. please!
<crzyp3ck>
:P
<Filystyn>
so
<Filystyn>
nixos-rebuild switch update ?
<Filystyn>
nixos-rebuild switch --update **
<crzyp3ck>
Filystyn: first
<Filystyn>
?
<crzyp3ck>
nixos-rebuild switch
[0x4A6F] has joined #nixos
<Filystyn>
ok.. and ?
proteusguy has joined #nixos
<crzyp3ck>
Filystyn: if you install by root every user has access to packages if not only the user you installed with.
akaWolf has joined #nixos
<Filystyn>
k
<Filystyn>
i have one user anyway
<Filystyn>
but good to know
<Filystyn>
but hwo do I update
<Filystyn>
that comand i wrote is ok?
<crzyp3ck>
Filystyn: yes. any change to the config file of nix has to be updated by that command
<Yaniel>
the flag is --upgrade
<crzyp3ck>
then they would take effect
<Yaniel>
you only need the --upgrade if you want to fetch a new package list (so maybe once a week)
<the-kenny>
ashkitten: how did you "install" these fonts? In NixOS, this word has many meanings :)
<the-kenny>
for fonts, you generally add them to fonts.extraFonts in your configuration.nix.
<ben>
What if only one user needs wants them?
<manveru>
then that user probably has to add them to their fonts.conf
<Filystyn>
ok what is the nixos latex package dblatex-full ???
<manveru>
actually there's this line in /etc/fonts/fonts.conf : <dir>~/.nix-profile/lib/X11/fonts</dir><dir>~/.nix-profile/share/fonts</dir><dir>/nix/var/nix/profiles/default/lib/X11/fonts</dir><dir>/nix/var/nix/profiles/default/share/fonts</dir>
<manveru>
so i assume they could be added to your .nixpkgs/config.nix
<gchristensen>
ben: then you're in the same position as other distros where your package manager won't install them for you
<goibhniu>
Filystyn: you can search with `nix-env -qaP | grep latex`
<Filystyn>
i did and i am asking since i see no xelatex etc
pie__ has quit [(Changing host)]
pie__ has joined #nixos
<Filystyn>
actualy is there soem site with information on nix repository ??
<MoreTea>
Who are the BDFL's for nixops? Based on who merges stuff it appears to be domenkozar and ikwildrpepper, right?
<gchristensen>
big stuff -> ikwildrpepper, it is a critical tool for him
<NixOS_GitHub>
[nixops] domenkozar pushed 1 new commit to master: https://git.io/vS3am
<NixOS_GitHub>
nixops/master 78e964a clefru: Add missing flag in nixops destroy example. (#636)
<domenkozar>
MoreTea: it's ikwildrpepper, I just merge code
<MoreTea>
We briefly chatted about that this is still 100% backward compatible with the sqlite3 files
<gchristensen>
omg this has to merge
<MoreTea>
I understand that this is quite a lot of changes to the core of nixops, and I would like to help in any way possible to make that easier, ikwildrpepper
<domenkozar>
I might need this and I can read Python so I can review it
<domenkozar>
but not before end of April :(
<domenkozar>
MoreTea: this is good work though :)
<ashkitten>
Is NixOS compatible with Ryzen yet?
gilligan_ has quit [(Ping timeout: 256 seconds)]
<gchristensen>
I don't see why not, ashkitten, do you know why it wouldn't be?
<ashkitten>
gchristensen: the installer didn't work last time I tried
<ashkitten>
I got a bunch of weird errors and it stopped responding
<gchristensen>
yikes
akaWolf has quit [(Ping timeout: 240 seconds)]
<MoreTea>
I had some more ideas about splitting nixops into a simple core that does state management, and plugins to manage resources. These plugins then would generate a datastructure describing what they want to do. This can be presented to the end user to make sure that sane things are happening, before the datastructure is fed back to the plugin to execute to the letter.
<gchristensen>
not sure, if you try again and bring errors to us, we'd help :)
<MoreTea>
I'm not that familiar with Terraform, but AFAIK it's close to their model.
koserge has joined #nixos
koserge has left #nixos []
deepfire has joined #nixos
<deepfire>
gchristensen: hello
<gchristensen>
hello
<gchristensen>
(I'm about to be leaving for a while)
ThatDocsLady is now known as ThatDocsLady_afk
<icetan>
nixops is really flaky for me when I try to use it with virtualbox
<icetan>
It keeps losing track of the IP addresses of the instances
<icetan>
sometimes making it unusable
<deepfire>
gchristensen: can you tell, what's the status on hydra PR request building?
<deepfire>
gchristensen: I have some free time that I'm willing to invest..
hyphon81 has quit [(Read error: Connection reset by peer)]
froglegstew has quit [(Remote host closed the connection)]
froglegstew has joined #nixos
gilligan_ has joined #nixos
deepfire has quit [(Ping timeout: 258 seconds)]
bastian__ has quit [(Ping timeout: 240 seconds)]
bastian__ has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<Filystyn>
guys
<Filystyn>
do i add filesystem to hardware fiel or to configure file?
<Filystyn>
the hardware header comment says dont do anythign here
johnsonav has joined #nixos
<Filystyn>
but i get it workign when i do it in hardware tbh
eacameron has joined #nixos
Lisanna_ has joined #nixos
deepfire has joined #nixos
<the-kenny>
Filystyn: doesn't matter. configuration.nix includes the hardware.nix. It's just that hardware.nix gets overwritten when you run nixos-generate-config. You can actually merge both into one file
carlosda1 has quit [(Ping timeout: 264 seconds)]
Filystyn has quit [(Read error: Connection reset by peer)]
ThatDocsLady is now known as ThatDocsLady_mtg
eacameron has quit [(Ping timeout: 264 seconds)]
deepfire has quit [(Ping timeout: 260 seconds)]
<peti>
I added a custom CA certificate on NixOS via "security.pki.certificateFiles", but it seems like Mozilla Firefox is unaware of that CA. Is there something I can do about this? How can I make Firefox honor those extra CAs I configured?
carlosda1 has joined #nixos
<gchristensen>
peti: I think firefox always uses its own certificate store
gilligan_ has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 7 new commits to master: https://git.io/vS3PL
<NixOS_GitHub>
nixpkgs/master 1d8d6d5 Thomas Tuegel: Revert "dropbox: use vendored Qt 5 libraries"...
<NixOS_GitHub>
nixpkgs/master 3c96a53 Thomas Tuegel: dropbox: wrap as any other Qt application
<NixOS_GitHub>
nixpkgs/master c076b93 Thomas Tuegel: dropbox: remove more useless vendored libraries
deepfire has joined #nixos
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 6 new commits to release-17.03: https://git.io/vS3Pz
<NixOS_GitHub>
nixpkgs/release-17.03 2afbc4e Thomas Tuegel: Revert "dropbox: use vendored Qt 5 libraries"...
<NixOS_GitHub>
nixpkgs/release-17.03 65d994f Thomas Tuegel: dropbox: wrap as any other Qt application...
<NixOS_GitHub>
nixpkgs/release-17.03 a2dc262 Thomas Tuegel: dropbox: remove more useless vendored libraries...
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Client Quit)]
drasich has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #24441: swift: remove i686-linux from platforms, limit to x86-64-linux (master...fix/swift-64bit-only) https://git.io/vS3Xo
<dtzWill>
ha! and just last night I saw the commits expressing preference for vendored Qt so I went and tackled that for Mendeley xD. And yep had some problems re:drivers and xkb. Kludged through them, but... well there's a reason it's sitting in a local branch and not already in a PR haha.
<dtzWill>
(re:dropbox commits above)
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<Filystyn>
ok i fixe dit with editing hardware.nix
<Filystyn>
which i should not but fuck it i want this to work
<Exee7uvo[m]>
Hi. I'm trying to set up tt-rss on NixOS 17.03 (small). My configuration.nix so far: https://dpaste.de/J5CN
<Exee7uvo[m]>
I expect to access tt-rss on http://localhost/tt-rss but all I get is a "404 Not Found". It's the first time I setup a webapp on NixOS, so the error might be based on a basic misconception.
chakerbenhamed has quit [(Ping timeout: 240 seconds)]
chakerbenhamed has joined #nixos
cpennington has joined #nixos
filterfish has quit [(Ping timeout: 258 seconds)]
deepfire has quit [(Ping timeout: 258 seconds)]
ThatDocsLady_mtg is now known as ThatDocsLady
<disasm>
Exee7uvo[m]: so, if I'm reading the nix file correct... I think it's expecting it to launch at http://tt-rss
<disasm>
but you would need to add tt-rss to your /etc/hosts to point at 127.0.0.1
__red__ has joined #nixos
<disasm>
that would be networking.extraHosts = { ""\n127.0.0.1 tt-rss"" } (where \n is an action line break)
<disasm>
I'd probly put a line treak before the "" at the end too myself
<disasm>
if you want to test it without changing /etc/hosts first: curl -H "Host: tt-rss" localhost
Filystyn has quit [(Quit: Konversation terminated!)]
<__red__>
So, if I want to bump the version of a package - should I a) PR against master or something else? b) add myself to the maintainers field? (ettiquate question)
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<goibhniu>
__red__: yes to both, additional maintainers are always welcome
dbmikus has joined #nixos
ebzzry has joined #nixos
<disasm>
If you really want it at /tt-rss you'd need to set virtualHost to null and manually setup the nginx config.
<disasm>
Exee7uvo[m]: lemme know if that works, I'm curious how well I'm reading that.
<__red__>
hmm, tangental question - is there a project that tracks upstream package versions so maintainers would get notification of upstream version bumps?
<__red__>
would that be useful?
<goibhniu>
there used to be a nice one, but it hasn't been working/maintained for ages
<goibhniu>
it was awesome!
<LnL>
I think ndowens uses something to get notifications, but I forgot what it was
<__red__>
get reference? Sounds like something that may be automatable for non-critical packages
<__red__>
I gotta look back in my notes are remember how to submit a PR - it's been so long :-/
johnsonav has quit [(Remote host closed the connection)]
<Exee7uvo[m]>
disasm_: I added tt-rss to my hosts and now I'm getting only a blank page.
<NixOS_GitHub>
[nixpkgs] andrewthad opened pull request #24442: make graphite do fewer recursive chowns when starting (master...graphite_without_recursive_chown) https://git.io/vS3Ha
<disasm>
__red__: my process is fork, clone, checkout new branch, change, commit, push, then click the pull request thing in github. I know there's command-line tools for that last step, but doing the one step in the browser isn't enough of a pain point for me to do otherwsie.
<disasm>
Exee7uvo[m]: well that's progress :)
<disasm>
Exee7uvo[m]: can you pastebin systemctl status -l -n 100 nginx
<NixOS_GitHub>
[nixpkgs] mdaiter opened pull request #24443: suitesparse: add CUDA support (master...sparsesuiteCUDA) https://git.io/vS35H
<Filystyn>
guys
<Filystyn>
I wnat nix to be
<Filystyn>
multi platform vide 64 vs 86
msd has joined #nixos
<Filystyn>
multiarch*
<Filystyn>
how to do it ?
msd has quit [(Client Quit)]
<goibhniu>
Filystyn: you just want to install 32bit applications on 64bit arch, right? ... you don't need to do anything
<Filystyn>
lol?
<Filystyn>
no multiarch like on debian?
<Filystyn>
but i hope when i compile it's form 64
<Filystyn>
for*
<LnL>
Filystyn: nix-build '<nixpkgs>' -A hello --argstr system i686-linux
<LnL>
that will give you a 32 bit binary for the hello package
<Filystyn>
ihm
<Filystyn>
ok ok
<Filystyn>
thx
<LnL>
I think you could even nixos-rebuild boot with a different system and reboot into 32 bit if you wanted :D
<Filystyn>
good than
<Filystyn>
so i can just install wine and not care about *it need s32 bit arch enabled*
ixxie has joined #nixos
<__red__>
forgive me - but what's the flag to specify my git cloned pkg repo with a nixos-rebuild again? I have lost my notes :-/
marsel has joined #nixos
<LnL>
like -I nixpkgs=/path/to/nixpkgs?
<__red__>
probably - thanks
<__red__>
it;s been ~10 months since I submitted a PR so effectively re-leaning from scratch
<gchristensen>
MoreTea: ping
<Filystyn>
actualy what does influence that program will be compiled or just a binary will be downloaded?
<Filystyn>
this is somethign i am not sure i udnerstand
<LnL>
it tries to download it from cache.nixos.org by default, if that returns a 404 it will fall back to building from source
takle has quit [(Remote host closed the connection)]
byteflam1 has quit [(Quit: leaving)]
byteflam1 has joined #nixos
erasmas has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
<Filystyn>
oh;-)
<Exee7uvo[m]>
I'm stuck. It would be really nice If somebody could paste their tt-rss config here. the-kenny? Nadrieril?
<Filystyn>
can is et cores ones and for ever or each time i want soemthing?
hyphon81 has joined #nixos
deepfire has joined #nixos
eacameron has joined #nixos
hyphon81 has quit [(Client Quit)]
tsmeets[m] has joined #nixos
<joepie91>
Filystyn: what do you mean? configuring the amount of threads for compilation?
eacamero_ has joined #nixos
<Filystyn>
yes there is option in nix-env
<Filystyn>
--CORE or soemthign similar
marsel has quit [(Quit: WeeChat 1.7)]
<Filystyn>
but not sure how it is supposed to use
<Filystyn>
be used*
marsel has joined #nixos
<joepie91>
Filystyn: there's an option somewhere to set the amount of cores for building permanently but I'm not convinced that it actually does anything :)
<joepie91>
you can do a rebuild with --cores though, iirc
<Filystyn>
well it shoudl depend if it tries to compile and code author somehow took this in notice
<Filystyn>
;-)
<Filystyn>
ihmihm
takle has quit [(Ping timeout: 240 seconds)]
<Filystyn>
ill remember will go back to this problem once
<joepie91>
Filystyn: either way, for --cores to work, the package must support setting the amount of cores as a compiler flag
<joepie91>
which I think most autotools packages do
<joepie91>
but don't quote me on that :)
zero812n has quit [(Ping timeout: 240 seconds)]
eacamer__ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
gilligan_ has joined #nixos
eacamero_ has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
yumbox has joined #nixos
<yumbox>
hi, I recently installed nixos, and I can't access nixos.org
eacamer__ has quit [(Read error: Connection reset by peer)]
eacamero_ has joined #nixos
<yumbox>
"ping: nixos.org: Name or service not known"
<yumbox>
google, github, and freenode webchat work fine
<yumbox>
when i tried to "nixos-rebuild switch --upgrade", it built everything from source
<yumbox>
it gave curl error 6 when trying to download binaries from cache.nixos.org
eacameron has quit [(Ping timeout: 240 seconds)]
<ixxie>
weird
<ixxie>
sorry, no idea how to help with this
<yumbox>
:(
<ixxie>
you cannot reach it in the browser either?
<yumbox>
correct
odi has quit [(Ping timeout: 268 seconds)]
<yumbox>
when i reboot into arch linux, i can reach all websites
ebzzry has quit [(Ping timeout: 264 seconds)]
<joepie91>
yumbox: any chance you might've manually configured your DNS on Arch?
<joepie91>
and your router is failing to hand out DNS servers over DHCP?
<yumbox>
no, didn't manually configure
<Filystyn>
guys if the compilation fals started from nix-env
<Filystyn>
what should my step be ?
<yumbox>
when I do `cat /etc/resolv.conf` i can see 3 nameservers
<joepie91>
yumbox: hm. I don't know what the issue is, but start looking at DHCP logs because your system probably isn't getting DNS servers for some reason
<joepie91>
yumbox: 3?
<joepie91>
which?
ebzzry has joined #nixos
bfrog has joined #nixos
<yumbox>
first is my router
<yumbox>
second is an dns from my isp
<yumbox>
as is third
<joepie91>
that seems sane-ish
<joepie91>
hold on..
<joepie91>
yumbox: you said it was compiling from source...?
<yumbox>
well
<joepie91>
because it can't do that when DNS is totally broken
<joepie91>
as it'd never get the sources
<yumbox>
I'm typing now in webchat freenode on nixos
<joepie91>
right
<yumbox>
some websites work
<yumbox>
some don't
<joepie91>
yumbox: moment
<yumbox>
oke, geen probleem
<Filystyn>
need help with this one ;-)
<joepie91>
yumbox: can you run `nix-shell -p bind` and then from within that shell run `dig nixos.org` and gist the output? (https://gist.github.com/)
<NixOS_GitHub>
[nixpkgs] ttuegel closed pull request #24443: suitesparse: add CUDA support (master...sparsesuiteCUDA) https://git.io/vS35H
<joepie91>
yumbox: it may take a while for it to install all of bind
<yumbox>
as root?
<joepie91>
yumbox: can just do that as your own user
<joepie91>
doesn't require root
<goibhniu>
Filystyn: it sounds like the package you're trying to install is broken
<Filystyn>
hoo ?
<Filystyn>
iso what should be my step?
<yumbox>
joepie91: `dig` not found
<joepie91>
yumbox: did you run it *within* the shell that nix-shell produced?
<yumbox>
yes
<joepie91>
yumbox: err, and the nix-shell invocation compiled/installed bind?
<goibhniu>
Filystyn: you can try to fix it
<yumbox>
joepie91: not sure, it showed a bunch of "downloading" and then nothing
<joepie91>
yumbox: and then it dumped you back into a shell, right?
<yumbox>
yes, [nix-shell:~]$
takle has joined #nixos
<joepie91>
yumbox: can you gist the output of `echo $PATH`?
<Filystyn>
how?
<joepie91>
yumbox: from within that shell
<joepie91>
something sounds seriously broken :)
<goibhniu>
Filystyn: or report an issue
<Filystyn>
so what is the bugzilla link?;-)
<Filystyn>
or you have somethign similar like debian
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<yumbox>
what about `sysdig` ?
<joepie91>
never heard of it
sellout- has joined #nixos
<joepie91>
yumbox: anyhow, I don't really know how to proceed from here, and I have a bunch of other stuff I need to get done today, but maybe somebody else around here has an idea
<joepie91>
:p
<yumbox>
thanks for trying anyway
<goibhniu>
yumbox: as a workaround, you could try replacing /etc/resolv.conf with "nameserver 8.8.8.8" (or some other nameserver)
<manveru>
joepie91: dig is part of the bind package
<tranquilloX>
i have a question.. how did it work in nix, to install alternative hardware driver (for RTL8188SU USB wireless in my case)?
guest475 has joined #nixos
acowley_away is now known as acowley
<guest475>
Hi. nix-env -iA nixos.nginxModules.modsecurity - not work. How to install nginx + modsecurity ?
odi__ has joined #nixos
Itkovian has joined #nixos
odi_ has quit [(Ping timeout: 240 seconds)]
<Dr8128>
i am considering trying to build lfs based on nix
<Dr8128>
i think it would be fun to have an lfs sstem tha uses nix
pie__ has quit [(Ping timeout: 246 seconds)]
<gchristensen>
what is lfs if you have an existing package manager?
<ixxie>
tranquilloX: well I am not exactly sure; normally the installer automatically creates a hardware configuration for your system, and there are additional options you can manually set (https://nixos.org/nixos/options.html#hardware )
yumbox has joined #nixos
<Dr8128>
gchristensen: what do you mean?
<Dr8128>
normally lfs has no package manager at all
<yumbox>
goibhniu: i added `networking.useNetworkd = true;` in my config.nix and now everything works correctly.
<yumbox>
(without having to edit /etc/resolv.conf)
<goibhniu>
very interesting yumbox, thanks!
Itkovian has quit [(Read error: Connection reset by peer)]
johnsonav has quit [(Ping timeout: 246 seconds)]
<yumbox>
goibhniu: you might also consider disabling nscd with `services.nscd.enable = false;`
<eacamero_>
nixops lets you define your machines in terms of a "config" argument which is actually recursive (you are defining config in terms of config). Can you do the same for a NixOS configuration.nix?
<ixxie>
eacamero_: I believe it works like that out of the box ^^
<eacamero_>
ixxie: Hm...I always thought the "config" argument to configuration.nix was just the config from .config/nixpkgs/config.nix
<ixxie>
eacamero_: I am not entirely sure exactly how this works, but I believe the .config/nixpkgs/config.nix is user specific while the configuration.nix option is system-wide
<eacamero_>
ixxie: Yes that's right...but I suppose root could have that too
<eacamero_>
guest475: That will give you an nginx derivation with that mod. Then you can use `services.nginx.package = myCustomOverriddenNginx;"
<eacamero_>
guest475: You can also use "stable.nix" instead of "mainline.nix" if you prefer
<ixxie>
eacamero_: I had a hard time finding some clear explanation of this, but I once discussed this here once; NixOS does some kind of recursive thingy with the configuration files, and that is why you can refer to configuration options defined in any module in any other module
jgertm has quit [(Ping timeout: 240 seconds)]
<eacamero_>
ixxie: Yah it gets trippy. I'm gonna try it. I think it's just using the fix-point recursion scheme here as it does for a lot of things.
<eacamero_>
But I didn't realize you could do it here.
gilligan_ has joined #nixos
<deepfire>
globin: hey!
<deepfire>
globin: suppose there's a soul that seeks to help with autometed hydra-based github PR validation
<deepfire>
globin: I'm willing to learn and I have about a week of relatively free time
<ixxie>
eacamero_: it makes a lot of sense!
<deepfire>
globin: gchristensen said you are the person to contact
nschoe has quit [(Ping timeout: 268 seconds)]
m0rphism has quit [(Quit: WeeChat 1.4)]
<guest475>
eacamero_: thanks. But gives an error - syntax error, unexpected ';', expecting $end, at /etc/nixos/myNginx.nix:8:2
<eacamero_>
Yah oops I meant to take that out
<eacamero_>
guest475: Just remove that semicolon at the end of myNginx.nix
<ndowens08>
Edit the nix file for that pkg or do pkg override
<eacamero_>
guest475: I'm not sure what you need to do...but I don't see why building on CentOS would need anything special. If you need to move the nginx binary around you can use nix-copy-closure
<ndowens08>
Well derivation override
isaac_ has joined #nixos
<isaac_>
hello out there
<ndowens08>
You can enable features either way as long as the app can use it
lsix has quit [(Quit: Konversation terminated!)]
<isaac_>
how can I configure.nix to use xmonad with gnome3?
<isaac_>
It works out of the box with kde
<isaac_>
but with gnome3 I get the gnome desktop without xmonad running
erictapen has joined #nixos
<ma9e>
isaac_, the options on nixos website might help
<isaac_>
ma9e: I checked that out
<isaac_>
And it builds fine
<deepfire>
globin, ack, thanks!
bgamari has joined #nixos
<eacamero_>
I always forget...how do you concatenate paths in nix?
<ndowens08>
globin: I did those rebase like ya asked on mass rebuilds
yumbox has joined #nixos
<yumbox>
how do i change a systemd service to only start @ a specific device?
<dtzWill>
and your myNginx.nix example seems ...incomplete? try nix-build myNginx.nix --arg pkgs 'import <nixpkgs> {}' ? maybe?
<dtzWill>
or what eacameron said :)
<Exee7uvo[m]>
disasm: Yep.
<dtzWill>
usually i'd just put the import in the file for less complicated invocation (or refer to it from somewhere that has an appropriate pkg set to pass in)
sellout- has quit [(Ping timeout: 246 seconds)]
carlosda1 has joined #nixos
<disasm>
Exee7uvo[m]: so next thing I'd try is putting a info.php file in the webroot with the content <?php phpinfo();
<NixOS_GitHub>
[hydra] edolstra pushed 2 new commits to master: https://git.io/vSsRX
<disasm>
that would confirm it's routing correctly to the right directory and fastcgi is working
ma9e has quit [(Ping timeout: 256 seconds)]
<guest475>
eacameron: thanks, it seems works
carlosda1 has quit [(Ping timeout: 260 seconds)]
takle has quit [(Remote host closed the connection)]
endformationage has joined #nixos
<ixxie>
has anybody here tried or can advise for/against setting up a nixos server that automatically updates a package to track updates in a git repo (via some script + nix-prefetch-git )
<eacameron>
ixxie: I've done something like that. The server ran a little web server that listened for bitbucket webhook events and then did git pull
<guest475>
eacameron: to add others parameters - configureFlags, it is need to change pkgs/servers/http/nginx/ ? Or can be specified via myNginx.nix ?
<ixxie>
eacameron: with NixOS? because with Nix one would need to update the package definition to reflect a new revision
<eacameron>
ixxie: Oh. Yah I wasn't using nix to track the git package. However, that would be pretty easy to do instead I think.
<eacameron>
ixxie: You'd have a script that updates a derivation and then ran nix-build on it...or maybe used .config/nixpkgs/config.nix to override it and then ran nix-env -iA MyPackage to reinstall it.
<eacameron>
ixxie: I've seen people put the URL and SHA in a json file and then load that into a derivation with (builtins.fromJSON (builtins.readFile "file"))
<eacameron>
ixxie: Then you can run `fitchzip` or `fetchgit` or whathaveyou on that
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
obadz has joined #nixos
<ixxie>
eacameron: that JSON approach sounds neat, except one wouldn't be able to add that checksum to the same repo right? doing so would change the sum xD
<eacameron>
ixxie: Yah...you'd have to have a script update it
<eacameron>
guest475: I'm looking into that
dpren has joined #nixos
<eacameron>
guest475: I don't see a way to override configureFlags easily. You'll probably have to copy that file locally and tweak it.
<pierron>
niksnut: If you need a peer for the Nix encryption, feel free to add me.
johnsonav has joined #nixos
Sonarpulse has joined #nixos
<ixxie>
garbas, you are the nixops expert right? :)
<garbas>
ixxie: not really. i dont use it.
<isaac_>
I added dolphin in nixos and it errors out with This application failed to start because it could not find or load the Qt platform plugin "xcb"
<isaac_>
in "".
<isaac_>
what gives?
<isaac_>
I thought nix would automatically install its dependencies?
<vegai_>
is there a way to find out what package I should install to get some file?
<eacameron>
Is there a way to basically run nix-store --tree for a nixops deployment or a nixops machine?
<vegai_>
like, for instance, I'm trying to build crystal's latest from git right now
<vegai_>
oh, I suppose it's just ncurses, and the failure is due to the lib being in a funny place
<Exee7uvo[m]>
disasm: I'm doing progress. I disabled the virtual host and now use my own nginx httpConfig: http://dpaste.de/DMZD
<Exee7uvo[m]>
Now I get the source code of tt-rss's index.php when requesting http://localhost.
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vSsVV
<NixOS_GitHub>
nixpkgs/master 1af70c3 Michael Raskin: Add a couple of quicklisp packages
isaac_ has quit [(Ping timeout: 260 seconds)]
chakerbenhamed has quit [(Ping timeout: 260 seconds)]
<ixxie>
got it mixed up garbas, looking for Rob :P
<vegai_>
are there some standard set of tricks I should do to make shared libraries and include files and whatnot visible to a C project
<vegai_>
like if I just want to grab a C program from github and compile it, without touching Nix
isaac_ has joined #nixos
<gchristensen>
anyone by any chance have a favorite puppet module for setting up nix-daemon off nixos? :)
<isaac_>
how can I get dolphin working in nixos?
<isaac_>
or how can I install qt?
freusque has quit [(Quit: WeeChat 1.7)]
xAFFE has joined #nixos
<mog>
how do i get the sha256 of a file in the format nixos expects?
gilligan_ has joined #nixos
<simpson>
mog: There's a `nix-prefetch-url` command.
markus1189 has joined #nixos
markus1199 has joined #nixos
<mog>
thanks simpson
<simpson>
mog: Also note that Nix will spit out both the expected and actual SHA256 values when erroring, so you can use that value if you trust that the download was correct.
<disasm>
is it possible to have a container defined declaratively start on boot?
markus1219 has quit [(Ping timeout: 256 seconds)]
markus1209 has quit [(Ping timeout: 240 seconds)]
<mog>
hmm im trying to install genymotion, but we are on 2.8.0 they are on 2.8.1 so i had to update the package. i changed the sum and made it match the file bit it still isnt finding it in my store
<vegai_>
I guess one cannot just go to a directory and call nix-build
<pikajude>
no, one doesn't simply
marsam has quit [(Remote host closed the connection)]
<pikajude>
vegai_: if you're at the top level you can do nix-build . -A some.attr.path
<vegai_>
only at the top-level?
<pikajude>
well that's where all the package calling logic is
<vegai_>
it's unfortunate that there are so many default.nix files out there, if only one can be used in this fashion
<pikajude>
if you want to call a specific package you'd do nix-build -E 'with import <nixpkgs> {}; callPackage ./some-package.nix {}'
<simpson>
vegai_: nixpkgs is not just a pile of default.nix, but also a bunch of library code which ties them together. The top level is absolutely where you want to work.
xAFFE has quit [(Remote host closed the connection)]
griff_ has quit [(Quit: griff_)]
<vegai_>
righto
bfrog has quit [(Ping timeout: 246 seconds)]
xAFFE has joined #nixos
carlosda1 has joined #nixos
derjohn_mob has quit [(Ping timeout: 246 seconds)]
deepfire has joined #nixos
carlosda1 has quit [(Ping timeout: 240 seconds)]
odi has joined #nixos
<isaac_>
anyone seen this one?
<isaac_>
This application failed to start because it could not find or load the Qt platform plugin "xcb"
<isaac_>
in "".
deepfire has quit [(Ping timeout: 240 seconds)]
carlosda1 has joined #nixos
<mbirkis>
hi! is there some place to read about what is coming in 17.03?
<disasm>
Exee7uvo[m]: it looks to me like you haven't configured nginx to handle php files by sending them to php-fpm sock
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vSsyj
<NixOS_GitHub>
nixpkgs/release-16.09 060bd50 Vladimír Čunát: wine-1.8: fix #24446 breakage after gnutls update...
<isaac_>
I figured it out
<isaac_>
qt58.full is not yet available
<isaac_>
and kde5 is incompatible
<isaac_>
kde4 + qt57.full did the trick
tsmeets[m] has quit [(Ping timeout: 256 seconds)]
marsel has quit [(Ping timeout: 258 seconds)]
simendsjo has joined #nixos
chakerbenhamed has joined #nixos
stepcut has joined #nixos
pxc has joined #nixos
hotfuzz_ has joined #nixos
carlosda1 has joined #nixos
alx741 has joined #nixos
hotfuzz has quit [(Ping timeout: 260 seconds)]
IRCFrEAK has joined #nixos
IRCFrEAK has left #nixos []
<disasm>
what do I need to do to access ports inside a container from the host? I added a allowedTcpPorts to the firewall for 80 but still can't hit it from the host. If I login to container I can hit it just fine.
<dtzWill>
hey so I got another machine I wanna provision, probably as a build node... assuming I handle installing NixOS the first time is NixOps a good fit for maintaining it? Mostly want to not have a growing list of machines to ssh to and do a nixos-rebuild or git pull a new configuration O:)
<dtzWill>
so NixOps seems like perfect fit except I'm unsure how appropriate it is for static resources and not reinstalling from scratch. Or is that exactly what "none" targetEnv is for?
<clever>
disasm: should be, ive heard that if you set the targetEnv = "none"; it will just nix-copy-closure and activate it
<clever>
dtzWill: oops, wrong d name
<disasm>
Exee7uvo[m]: well... I reproduced in a container here, and if you run systemctl status tt-rss.service I'm guessing you're going to see errors about the database authentication.
<dtzWill>
okay. I can try it, since I'm already considering just nuking it fresh anyway --not too much to go terribly wrong :P
<dtzWill>
clever: thanks
<clever>
dtzWill: and one tip i would give is to delete the configuration.nix once nixops takes over
<clever>
dtzWill: i have seen somebody recently run nixos-rebuild by mistake, and it reverted the entire machine back to a fresh install
<dtzWill>
okay--so I don't accidentally nixos-rebuild with the wrong thing? hahaha gooood call
<clever>
dtzWill: and keep in mind, you need to correctly specify all of the fileSystem. stuff on the central box, so the builds it pushes out are still able to boot
IRCFrEAK has joined #nixos
<dtzWill>
ah, indeed. mostly I got this machine sitting here doing nothing but I don't particularly want to maintain it. Nevermind maybe I'll just set auto nixos updates on a stable channel and call it good :)
alfie has joined #nixos
<joepie91>
ashkitten: what desktop env are you using?
<clever>
dtzWill: using LABEL=root for things can simplify that last part
<alfie>
ashkitten, meet joepie91, javascript asshole and entirely competent nixOs user :)
<clever>
dtzWill: i believe that is how nixops handles all of the pre-generated stuff on cloud machines
<ashkitten>
oh hi i'm using i3-gaps
IRCFrEAK has left #nixos []
<joepie91>
hmmm
<joepie91>
alfie: idk about the 'competent' part
<joepie91>
:P
<joepie91>
but hold on
<ashkitten>
in arch i modified some config file i forget which lol
<disasm>
clever: that's what I thought needed done. port forwarding shouldn't be needed though to access from the host -> container though right, only if you are trying to share with other hosts on the network?
<gchristensen>
kexec is a super awesome method of installation. very reliable.
<clever>
dtzWill: just remember to put an ssh key in the right spot and to stop the autoreboot timer in systemd
<dtzWill>
aye. I think if it goes wrong at that level worst I've done is booted a kerenl I can't get into.. it doesn't try to auto-install or anything right? haha
<dtzWill>
teehee this'll be fun
<clever>
dtzWill: correct, and the auto-reboot timer will cause it to self-reboot at the end of the hour
<clever>
dtzWill: so it will restore control to the previous os
<disasm>
clever: never mind... I needed to stop/start the container. I made a bad assumption that a rebuild switch would do that!
gilligan_ has quit [(Ping timeout: 264 seconds)]
<clever>
disasm: ah yeah, all of the service@foo things in systemd lack auto-restart
<dtzWill>
great. I mean it's physiaclly next to me so I can just powercycle it if I muck it up re:networking or something
<disasm>
clever: awesome, I'll keep that in mind for the future :)
<clever>
dtzWill: i recently helped somebody else in a very similiar situation, and the only issue was that kexec doesnt work within a xen dom0
<Exee7uvo[m]>
disasm: That's correct (db errors and php unavailability). I'll look into it tomorrow.
<disasm>
Exee7uvo[m]: yeah, looking at the nix file, I think if you add the postgresql user and database it should work. I'm testing now.
<Dezgeg>
maybe we could implement a poor man's kexec that kills all the processes, ptrace's pid 1 and causes it to exec() systemd :)
<clever>
dtzWill: i have also been considering making the above a nixos option, so you can basicaly boot the installer from grub if you ever break the system
taeradan has joined #nixos
<clever>
Dezgeg: most pid1's already have the ability to re-execute /bin/init or similiar, for upgrading
<clever>
Dezgeg: but part of the goal of kexec is to be able to umount /
<Dezgeg>
well, you can unmount / when all the processes using it are killed
Itkovian has joined #nixos
odi has quit [(Ping timeout: 240 seconds)]
xadi1 has quit [(Ping timeout: 260 seconds)]
jophish has quit [(Remote host closed the connection)]
bb has joined #nixos
<gchristensen>
I can't remember, after the `nixos-generate-config` step, do you have the various /nix/ dirs, or does that happen as part of the nixos-install step?
<bb>
When I run nixos-rebuild, my screen goes black and everything craps out on me (mouse, wifi). Any idea how I could figure out what's broken here? I'm on unstable, by the way.
erictapen has quit [(Ping timeout: 240 seconds)]
<sziszi>
gchristensen: afaik that command just generates the configuration.nix
<gchristensen>
hrm cool, ok, thank you!
<ericnoan>
I have a question about using Nixos. The declerative configuration manages all the config files? So what happens if I change some config file?
carlosda1 has quit [(Ping timeout: 240 seconds)]
<gchristensen>
ericnoan: the config files which nix manages are marked as immutable
<ashkitten>
Trying to start pa-applet I get this error: ** (pa-applet:4312): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
thip has quit [(Ping timeout: 258 seconds)]
<ericnoan>
So it will revert any changes made to config files?
odi_ has quit [(Ping timeout: 268 seconds)]
spinus has joined #nixos
<gchristensen>
ericnoan: the files are 0444, ie: read/read/read, I can't change them
<ericnoan>
so is every aspect of the OS managed through the declarative configuration?
<ma9e>
ericnoan, ideally yes, practically no
<ashkitten>
fuck i wish, but some things can't be automatically configured
* ashkitten
glares at hdajackretask
bb has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vSGJU
<NixOS_GitHub>
nixpkgs/master 1258bf9 Michael Raskin: lispPackages.clwrapper: allow to replace the code to load ASDF
marsam has quit [(Remote host closed the connection)]
<ericnoan>
is it possible to see in the source what steps it performs when applying the declerative config? for example, what commands does it use, and can I add my own declarative options?
dredozubov has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
nmikhailov has quit [(Ping timeout: 268 seconds)]
kragniz has quit [(Ping timeout: 258 seconds)]
Guest6666 has quit [(Ping timeout: 240 seconds)]
Guest6666 has joined #nixos
kragniz has joined #nixos
nmikhailov has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vSGUr
<NixOS_GitHub>
nixpkgs/master 08c87ee Vincent Laporte: ocamlPackages.extlib: 1.6.1 -> 1.7.2
dredozubov has joined #nixos
Dr8128 has quit [(Quit: Leaving.)]
thip has joined #nixos
pie__ has quit [(Remote host closed the connection)]
pie__ has joined #nixos
seanz has joined #nixos
seanz1 has joined #nixos
<ericnoan>
or do i basically have to read the paper?
<ericnoan>
I'm reading the manual, will it really setup and configure GitLab if you declare it in the config?
seanz2 has joined #nixos
seanz has quit [(Ping timeout: 246 seconds)]
griff_ has joined #nixos
marsam has joined #nixos
<ashkitten>
ericnoan: if it doesn't, you can always try something else
seanz1 has quit [(Ping timeout: 246 seconds)]
<ericnoan>
so it doesn't work?
<ashkitten>
I have no idea, but it's worth a shot, isn't it?
<ashkitten>
chances are if it says it'll work it'll work
<ericnoan>
i just ask because gitlab is notoriously difficult to manually install
<joepie91>
which, although I think a bit outdated on a few points, is quite easy to understand
<ericnoan>
yes, the paper?
mkoenig has quit [(Ping timeout: 240 seconds)]
<joepie91>
there's quite a few of them
<joepie91>
:P
<dtzWill>
clever: okay so it was a bit of a doozy but got kexec going and ssh'd right in! :D took forever since the machine had a boot partition too small for the initrd... lots of silly minor issues xD
jensens has joined #nixos
<ericnoan>
i'm going to read it all, but let us say i want to install something that isn't packaged, is the correct way to create the package, or can i install it in a directory somewhere?
pxc has quit [(Quit: WeeChat 1.7)]
<ericnoan>
i guess i want to use the declaritive approach if e.g. i want anything to autostart
<yumbox>
anyone using a gtk/qt (icon)theme?
mkoenig has joined #nixos
marsam has joined #nixos
gilligan_ has joined #nixos
<joepie91>
ericnoan: you'd want to package everything always, in some manner, because by default there are no libs in the environment and such
<joepie91>
ericnoan: so eg. a typical statically compiled binary isn't going to work
<joepie91>
out of the box
<joepie91>
that having been said, packaging is generally very low-friction and can be as simple as 'write an expression and nix-build it'
xadi has joined #nixos
<ericnoan>
joepie91: how do you mean the libs aren't in the env? are they linked by nix for each run?
<dash>
ericnoan: yes
<dash>
ericnoan: there's no global library directory, each package is in its own dir and refers to its dependencies directly
Yaniel has quit [(Changing host)]
Yaniel has joined #nixos
Yaniel has quit [(Changing host)]
Yaniel has joined #nixos
filterfish_ has joined #nixos
<ericnoan>
alright, thanks
filterfish_ has quit [(Remote host closed the connection)]
filterfish_ has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
<joepie91>
ericnoan: to clarify that a bit; there's no /lib or /usr/lib, all the dependency paths are either patched into the ELF (for binary stuff), or each dependency's store path is supplied to the build process as a library path (containing ONLY that specific dependency), for source-built stuff
d762b440__ has joined #nixos
<joepie91>
ericnoan: using a custom loader too, I believe
d762b440__ has quit [(Remote host closed the connection)]
<joepie91>
so anything that isn't built or patched that way will flat-out refuse to run
d762b440__ has joined #nixos
d762b440__ has quit [(Remote host closed the connection)]
filterfish_ has quit [(Read error: Connection reset by peer)]
d762b440__ has joined #nixos
filterfish_ has joined #nixos
<joepie91>
ericnoan: anyhow, the lack of a global set of dependencies is where most of NixOS' features come from :)
filterfish_ has quit [(Remote host closed the connection)]
d762b440__ has quit [(Read error: Connection reset by peer)]
filterfish_ has joined #nixos
makefu has quit [(Quit: WeeChat 1.5)]
d762b440__ has joined #nixos
d762b440__ has quit [(Remote host closed the connection)]
tranquilloX has quit [(Ping timeout: 240 seconds)]
filterfish_ has quit [(Read error: Connection reset by peer)]
d762b440__ has joined #nixos
pi3r has joined #nixos
filterfish_ has joined #nixos
filterfish_ has quit [(Read error: Connection reset by peer)]
dbmikus has quit [(Quit: WeeChat 1.7)]
<pi3r>
On hydra.nixos.org binaries are not more available ?
filterfish_ has joined #nixos
<clever>
dtzWill: ah :)
d762b440__ has quit [(Read error: Connection reset by peer)]
filterfish_ has quit [(Read error: Connection reset by peer)]
<pi3r>
or the hydra UI is broken ?
<ma9e>
pi3r, "the binaries are no longer available on hydra?" is how you'd phrase that
filterfish_ has joined #nixos
<pi3r>
ma9e: thanks
<clever>
pi3r: all data is now stored on the binary cache
d762b440__ has joined #nixos
<pi3r>
clever: why do we keep an UI that suggests otherwise ?
<clever>
pi3r: in other setups, where S3 isnt enabled, that UI does work
filterfish_ has quit [(Read error: Connection reset by peer)]
MoreTea has quit [(Quit: Leaving)]
<pi3r>
clever: ok thanks for the info ;-)
<ericnoan>
joepie91: so it is not possible to run pre-compiled software like commercial software?
<simpson>
ericnoan: We have support for e.g. Steam. It merely requires extra effort.
<joepie91>
ericnoan: it's possible, you will just need to patch the binary :)
<joepie91>
but it will not run out-of-the-tarball with zero modifications, no
<chakerbenhamed>
Hey what is the best way to package a web app with bower and node deps. For node apps only node2nix works perfectly
<joepie91>
chakerbenhamed: is this a third-party application or your own project?
<chakerbenhamed>
joepie91: My own
<ericnoan>
then what about each game that steam runs? do they need to be patched as well?
<joepie91>
chakerbenhamed: the easiest solution is to get rid of bower and use NPM instead, generally :P there's nothing bower does that NPM doesn't do, and bower ecosystem support is ever-decreasing for this reason
<clever>
ericnoan: steam uses a FHS chroot to simulate a system with /usr/lib
<clever>
ericnoan: that allows unpatched games to run
ma9e has quit [(Remote host closed the connection)]
yumbox has quit [(Quit: Page closed)]
<chakerbenhamed>
I see, is there any example of such application? I googled it but no lucj
<dtzWill>
clever: zomg yes this worked :D. Thank you!! (last sticking point I ran into was it was previously LVM and I had to convince the kernel to let that go and use my new partition table haha)
<dtzWill>
but just rebooted and now it's 100% nixos muahaha
<ashkitten>
Trying to start pa-applet I get this error: ** (pa-applet:4312): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
<clever>
dtzWill: you need to "vgchange -a n" to close all LVM devices
<clever>
dtzWill: then you can repartition it
<dtzWill>
aw man I should've asked you first, I figured that out... eventually. O:). :D but yes that worked, thankfully
ambro718 has quit [(Ping timeout: 240 seconds)]
gilligan_ has quit [(Quit: Leaving)]
hiratara has quit [(Ping timeout: 246 seconds)]
jgertm has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Remote host closed the connection)]
hiratara has joined #nixos
froglegs1 has joined #nixos
makefu has joined #nixos
mkoenig has joined #nixos
froglegstew has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
georges-duperon has quit [(Ping timeout: 240 seconds)]
<clever>
removing the config. should fix the problem
<clever>
the issue, is that if config is missing, it automaticaly wraps your entire module in config = { ... };
<clever>
so it just works
<alphor>
oh, that's the massaging bit
<clever>
but as soon as you add a single config. entry, you now have config.foo ....; services...; in the same file
<alphor>
it did work.
<clever>
and now you have a services. in the top level, which isnt allowed
<Mateon1>
I have a question regarding Nixpkgs, if I want to submit patches/updates, 1) do I HAVE to be added to the maintainers? 2) If I expect to add further updates and/or review them, can I just add myself to maintainers in the same PR as I update a package?
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
drasich has joined #nixos
Filystyn has quit [(Quit: Konversation terminated!)]
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
crzyp3ck has quit [(Ping timeout: 240 seconds)]
seanz1 has quit [(Quit: Leaving.)]
<NixOS_GitHub>
[nixpkgs] risicle opened pull request #24458: python-packages: add flask-openid package and dependencies (master...flask-openid) https://git.io/vSGRI
alx741 has joined #nixos
alx741 has quit [(Client Quit)]
alx741 has joined #nixos
estewei has quit [(Quit: Quit)]
crzyp3ck has joined #nixos
chakerbenhamed has quit [(Ping timeout: 258 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
marsam has quit [(Remote host closed the connection)]
edwtjo has quit [(Ping timeout: 260 seconds)]
edwtjo has joined #nixos
edwtjo has quit [(Changing host)]
edwtjo has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vSG07
<NixOS_GitHub>
nixpkgs/release-17.03 6e0cd02 Robin Gloster: guileLint: mark as broken
georges-duperon has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos []
ndowens08 has joined #nixos
<ndowens08>
hey
marsam has joined #nixos
marsam has quit [(Remote host closed the connection)]
markus1209 has joined #nixos
markus1219 has joined #nixos
CMCDragonkai has joined #nixos
CMCDragonkai is now known as Guest75297
erasmas has quit [(Quit: leaving)]
markus1199 has quit [(Ping timeout: 260 seconds)]
markus1189 has quit [(Ping timeout: 240 seconds)]
isaac_ has quit [(Quit: Lost terminal)]
<cheshircat>
has anyone got rust racer working?
<adelbertc>
what is the point of the symlinks in /nix/var/nix/profiles/? It seems they are just symlinks into generations and moreover these symlinks are 1:1
<adelbertc>
why cant ~/.nix-profile be symlinked into the generations directly?
<mami>
what can i do when my gcc does not find libraries and headers (gmp) in this case.
<mami>
ndowens08: when using opam, a source package manager for ocaml
<ndowens08>
oh, then idk that one
<mami>
ndowens08: what would it be when writing a pkg?
<ndowens08>
use like makeWrapper to wrap the libary with the binary
<mami>
i see, i will look that up, maybe i find some leads
<mami>
thx!
<yumbox>
I get "CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool."
<ndowens08>
look at the repo for examples, use search feature