<rosa>
Does anyone ever get a __vdso error when trying a new ld.so
<infinisil>
rosa: Can you make a minimum verifiable and reproducible example?
ryantrinkle has joined #nixos
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
<infinisil>
rosa: If you missed what I said: Can you make a minimum verifiable and reproducible example?
<rosa>
Glibc is built from source, bash is downloaded from the arch repos then extracted to a chroot, my distro is arch based
<rosa>
https://i.imgur.com/VOeTzFk.jpg U/UNMODIFIED is a unmodified build of glibc with just the prefix and make DEST given and no other options
<infinisil>
rosa: Then why are you asking this in #nixos?
universalpackage has quit [(Remote host closed the connection)]
<rosa>
Because u people would know more about this than me?
universalpackage has joined #nixos
<ee1943>
wrong OS buddy
<ee1943>
try #archlinux
<infinisil>
rosa: If it has nothing to do with nixos this is the wrong channel
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<rosa>
Ok
<acowley>
What's going on with the queued builds on hydra?
universalpackage has quit [(Client Quit)]
rosa has quit [(Quit: rosa)]
universalpackage has joined #nixos
rosa has joined #nixos
biotim has left #nixos ["User left"]
dustmote has joined #nixos
rosa has quit [(Read error: Connection reset by peer)]
thc202 has quit [(Ping timeout: 240 seconds)]
dustmote has quit [(Remote host closed the connection)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
erictapen has quit [(Ping timeout: 260 seconds)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
rosa has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
rosa has quit [(Ping timeout: 240 seconds)]
Lisanna has joined #nixos
<Lisanna>
what's the trick to debugging a failing container? It decides to exit before I can login and figure out what's wrong ):
<Lisanna>
the container systemd status becomes "Active: deactivating (stop-sigterm) (Result: timeout)"
rosa has joined #nixos
Sonarpulse has quit [(Ping timeout: 240 seconds)]
filterfish_ has quit [(Ping timeout: 248 seconds)]
Wizek__ has quit [(Ping timeout: 255 seconds)]
lambdamu_ has joined #nixos
deepfire has quit [(Ping timeout: 248 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
lambdamu has quit [(Ping timeout: 260 seconds)]
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
rosa has quit [(Quit: rosa)]
chreekat_ is now known as chreekat
rosa has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vF5r2
<NixOS_GitHub>
nixpkgs/master 1c1455f Orivej Desh: zsh-prezto: rehash with fetchpatch
NixOS_GitHub has left #nixos []
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
rosa has quit [(Read error: Connection reset by peer)]
rosa has joined #nixos
<rosa>
How exactly does ld work
<Lisanna>
..or, what would also work: a way to make container starts reproducible? there's state that persists between them (the filesystem) that I don't always want
<rosa>
How do i avoid using the systems libc when patching a package to be... nix compatible
<rosa>
Like how to i get it to use the libc/ld that is bundled with the package while still keeping it is rpath contained to the directory of the package assuming the package is in it is final location
universalpackage has quit [(Remote host closed the connection)]
<Lisanna>
rosa: I have an example of something like this
simpson has joined #nixos
universalpackage has joined #nixos
<simpson>
Hi! Has anybody set up the TLA+ toolchain before? I'm not seeing it in nixpkgs, but perhaps somebody's got it in a private shell.nix already?
<Lisanna>
rosa: I put this in the preFixup for something which is already built and that I want to "nix-ify":
<Lisanna>
rosa: patchelf --set-rpath "${stdenv.lib.makeLibraryPath (buildInputs ++ [ libc.out cc gccStdenv.cc.cc ])}" $out/<object file to fix>
<Lisanna>
rosa: wait, nevermind, you're asking about something different
rosa has quit [(Read error: Connection reset by peer)]
<Lisanna>
well, you can do something similar to what I posted at least
<rosa>
This is how i am currently patching my packages (has an about 75% success rate unless it has hardcoded libs) bpaste.net/show/87197372c158
wapl has quit [(Ping timeout: 248 seconds)]
<rosa>
This is how i am currently patching my packages (has an about 75% success rate unless it has hardcoded libs) but is is not optimized at the moment such as figuring out what files it can make symlinks to reduce disk space https://bpaste.net/show/87197372c158
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc closed pull request #31860: nixos/bash: mark `inputrc` etc file as default (master...nixos/bash/fix/inputrc) https://git.io/vFQ5Z
rosa has quit [(Read error: Connection reset by peer)]
rosa has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<rosa>
The idea is to have each package self contained in a way that allows it to still access dependancies from outside it is directory but not require any chroot/fakeroot in order to work and can be moved simply by updating the rpaths of the applications
<gchristensen>
anyone here know the XML ecosystem well? :)
<rosa>
Welp it looks like no other ld.so can be used apart from the one supplied with the package ;-;
rosa has quit [(Read error: Connection reset by peer)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
rosa has joined #nixos
<rosa>
Is there a version of patchelf made specifically for patching a dynamic loader
avh4 has joined #nixos
<rosa>
Aka designed specifically for patching ld.so as attempting to use patchelf on ld.so fks up ld.so
pie_ has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 3 new commits to master: https://git.io/vF5iG
<NixOS_GitHub>
nixpkgs/master 58adb5d Matthew Bauer: wesnoth: works on darwin
<NixOS_GitHub>
nixpkgs/master c6aba1d Matthew Justin Bauer: SDL_mixer: disable smpegtest...
<NixOS_GitHub>
nixpkgs/master 81cc9bb Daniel Peebles: Merge pull request #31701 from matthewbauer/wesnoth-mac...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vF5in
<NixOS_GitHub>
nixpkgs/staging 0b9cd7a Orivej Desh: pdf2djvu: ignore windres on linux to fix build...
NixOS_GitHub has left #nixos []
kier has joined #nixos
jb55 has quit [(Ping timeout: 255 seconds)]
rosa has quit [(Read error: Connection reset by peer)]
<avh4>
Hi, I'm trying to install clementine without libspotify so I don't have to set allowUnfree; I thought putting { clementine.spotify = false; } in ~/.config/nixpkgs/config.nix would do that, but it doesn't seem to have any effect. Any pointers on how to figure out how to set the option?
dieggsy has quit [(Read error: Connection reset by peer)]
<adisbladis>
hyper_ch: tl;dr: Its fixed once virtualbox 5.2.1 is released
<fearlessKim[m]>
hl you got to install the manpages package
<hyper_ch>
I really should move that vm to kvm
<fearlessKim[m]>
hl: nix-env -iA nixos.manpages
<etu>
hyper_ch: yeah, I feel your pain. I have the same issue. But I can't move from vbox due to work. :/
<hyper_ch>
it's a windows vm that I need - also for work :(
universalpackage has joined #nixos
<etu>
We have a bunch of apple users (plus me then) and they like vagrant with vbox...
<hyper_ch>
hl: or install are manpages to your list of installed packages
<hyper_ch>
etu: the main problem I have with kvm is that I can't dynamic resize to work and need to figure out how to make use of smartcard reader and usb label printer
<adisbladis>
etu: Make them run nix on darwin :)
<etu>
adisbladis: I don't think these fruit-people would be open for that change
<etu>
They can't even do codestyle right
<hyper_ch>
do they use 2-spaces indent instead of 4-spaces? :)(
<etu>
not so much that
<etu>
but sometimes it's 5 spaces instead of 4
universalpackage has quit [(Remote host closed the connection)]
<adisbladis>
I do 3 spaces
<adisbladis>
;)
<hyper_ch>
what sane person would use 5 spaces for indent? oO
<hl>
2.
universalpackage has joined #nixos
<etu>
hyper_ch: If you have code in comment blocks and have a space between the comment and the code and remove the comment-signs... And don't make sure the code is indented....
ma27 has quit [(Ping timeout: 258 seconds)]
<hyper_ch>
but then it would be unaligned with the rest of the code... who would do that?
<hyper_ch>
and I thought Mac users appreciate aesthetics....
grantwu has left #nixos ["WeeChat 1.9.1"]
ericsagnes has quit [(Ping timeout: 258 seconds)]
<adisbladis>
hyper_ch: Why not every other space, every other tab
<adisbladis>
Should make everyone happy
<etu>
adisbladis: Isn't there a language for that?
universalpackage has quit [(Remote host closed the connection)]
<hyper_ch>
adisbladis: do you think the best number is 73?
<amfl>
Hi guys, anyone able to help me get rid of an ad-hoc package please? I ran `nix-env -iA nixos.latest.firefox-bin` using https://github.com/mozilla/nixpkgs-mozilla/blob/master/firefox-overlay.nix and now I want it gone! I've tried `nix-env -e nixos.latest.firefox-bin` and `nix-env -e firefox`, but nothing seems to happen. I still have an entry in `/nix/var/nix/profiles/per-user/amfl/profile/bin/firefox`!
universalpackage has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
universalpackage has joined #nixos
<MichaelRaskin>
nix-env -q firefox
<MichaelRaskin>
That should show you how it is called for removal
<MichaelRaskin>
(It's a bit of a mess, yes)
<amfl>
error: selector 'firefox' matches no derivations
<hedning[m]>
`nix-env -e` can take store paths
rsa_ is now known as rsa
<MichaelRaskin>
Maybe even symlinks to store paths, i.e. /nix/var/nix/profiles/per-user/amfl/profile/bin/firefox
<MichaelRaskin>
I guess nix-env -q '*firefox*' could work better
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #31888: containers: deny networkmanager from managing the ve-* and vb-* NICs (master...fix-containers-networkmanager) https://git.io/vF57x
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
<mbrock>
I lied it's actually of the form `{ nodejs, blender, tuxracer, lotsofstuff }: mkDerivation { ... }`
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<whald>
adisbladis, ahh, so using platformio from unstable *might* help me get that esp8266 code compiled (platformio from stable is too old and 404s while trying to download some obscure dependencies). i'll try that.
<whald>
adisbladis, thanks
<adisbladis>
Happy to help
andrewchamb has joined #nixos
<andrewchamb>
Hi there, is there a way to specify multiple git repos for srcs?
<andrewchamb>
im using src = fetchFromGithub {...};
Tucky has joined #nixos
<andrewchamb>
though would like to fetch two different repos
MP2E has quit [(Remote host closed the connection)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
jensens has joined #nixos
zzamboni has joined #nixos
<DIzFer[m]>
src2 = fetchFromGitHub should be enough, probably
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<andrewchamb>
hmm, didn't seem to work. I have managed to use a custom unpackPhase to reference two different archives though
markus1199 has quit [(Ping timeout: 260 seconds)]
markus1189 has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<pcarrier>
is there a simple way to enter my /mnt chroot from the live cd with everything in place to run nixos-rebuild switch? I know I shouldn't need to but I never got my networking quite figured out from the install
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<whald>
there is a sufficiently recent platformio in unstable. problem is, the cross compilers it provides need an FHS compatible environment. so i created a shell.nix file as explained here: https://nixos.org/nixpkgs/manual/#sec-fhs-environments -- here it is: https://pastebin.com/qsURHaUr but it does not do what i expected. running "nix-shell shell.nix" gives me a shell, but it's neither the expected zsh nor is the "platformio" command found.
<whald>
adisbladis , can you help again?
zzamboni has quit [(Quit: Leaving.)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
zzamboni has joined #nixos
bennofs has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
<tommyangelo[m]>
`nixops ssh` is giving me `no user exists for uid 1506` but the user does exist, and I can ssh directly to the remote host. Anybody seen this before? Apparently this is a local problem, not a remote one, but I cannot find anything wrong. The user exists in /etc/passwd, and `whoami` works. System is nixops 1.5.2 installed via nix on a debian box.
leat has joined #nixos
zzamboni has joined #nixos
asuryawanshi has joined #nixos
rogue_koder has quit [(Quit: Konversation terminated!)]
zzamboni has quit [(Ping timeout: 250 seconds)]
universalpackage has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
universalpackage has joined #nixos
ssmike has joined #nixos
civodul has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
zzamboni has quit [(Ping timeout: 248 seconds)]
ertes-w has joined #nixos
zzamboni has joined #nixos
ssmike1 has joined #nixos
ssmike has quit [(Ping timeout: 264 seconds)]
ssmike1 is now known as ssmike
orivej has quit [(Ping timeout: 268 seconds)]
universalpackage has joined #nixos
jacob has quit [(Remote host closed the connection)]
thc202 has joined #nixos
Taneb has quit [(Ping timeout: 246 seconds)]
Taneb has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
asuryawanshi has quit [(Ping timeout: 258 seconds)]
universalpackage has quit [(Remote host closed the connection)]
davidak has joined #nixos
zzamboni has joined #nixos
universalpackage has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
magnetophon has quit [(Remote host closed the connection)]
goibhniu has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
zzamboni has quit [(Ping timeout: 255 seconds)]
universalpackage has joined #nixos
zzamboni has joined #nixos
andrewchamb has quit [(Ping timeout: 260 seconds)]
zzamboni has quit [(Client Quit)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
andrewchamb has joined #nixos
<andrewchamb>
Another quick question, how do you install clang version 5 ?
<andrewchamb>
I can see clang_5 in all-packages.nix
<andrewchamb>
but I can't install it
<andrewchamb>
sorry if its a dumb question
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
jensens has quit [(Ping timeout: 260 seconds)]
asuryawanshi has joined #nixos
bennofs has quit [(Ping timeout: 264 seconds)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
phreedom has joined #nixos
bennofs has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
<Unode>
I'm trying to build something which depends on gnutls. I'm getting "error: cannot download gnutls-3.5.15.tar.xz from any mirror" even after running "nix-prefetch-url https://src.fedoraproject.org/repo/pkgs/gnutls/gnutls-3.5.15.tar.xz" successfully. Is there any way to go around this?
universalpackage has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
taktoa has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
ma27 has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
whald has quit [(Quit: Leaving)]
roconnor has quit [(Ping timeout: 258 seconds)]
bennofs has joined #nixos
<joko>
andrewchamb: how do you try to install it?
<andrewchamb>
nix-env -i clang_5
<makefu>
hey, i am having some issues installing nix via curl |sh while begin behind an ssl-intercepting proxy. i've updated the trust store of the machine locally in a way that curl does not raise "untrusted" however the installer fails with "unable to check https://nixos.org/channels/nixpkgs-unstable"
universalpackage has joined #nixos
<joko>
Unode: why don't you download the one at ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5/... ?
Biappi has quit [(Ping timeout: 240 seconds)]
<Unode>
joko: it was the first hit on google. They should all be the same
<joko>
Unode: does the sha256 hash match?
<Unode>
seems like my installation of nix is having troubles downloading from that FTP (all ftp://?)
<Unode>
joko: I can't say. I don't see an explicit error about that.
universalpackage has quit [(Excess Flood)]
<joko>
Unode: you could try replacing ftp:// with http://, it might work
universalpackage has joined #nixos
<joko>
Unode: check the hash with nix-prefetch-url
<joko>
andrewchamb: Actually I did nix-env -iA nixos.clang_5
<andrewchamb>
Oh, I see
<andrewchamb>
thank you!
<andrewchamb>
im still a beginner with nix
<andrewchamb>
thanks for the help
<joko>
andrewchamb: Supposedly it's the same command, is it working for you?
ma27 has quit [(Quit: WeeChat 1.9.1)]
ma27 has joined #nixos
whald has joined #nixos
<andrewchamb>
your command worked
<andrewchamb>
my one fails
<andrewchamb>
nix-env -i clang-wrapper-5.0.0 works though
whald has quit [(Client Quit)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
dannyg has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
Neo-- has joined #nixos
jensens has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
universalpackage has joined #nixos
phreedom has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<sphalerite>
myrl: started building Firefox and chromium, but both failed because llvm 4.0.1 which mesa depends on won't build
johnsonav has quit [(Ping timeout: 240 seconds)]
<Dezgeg>
mesa on arm no longer works?
<sphalerite>
Dezgeg: not on 17.09
<sphalerite>
Never has afaik
<Dezgeg>
it did build for me (can't remember when, though)
<sphalerite>
It's fine on unstable but I switched to 17.09 because I didn't want to rebuild all the time
<Dezgeg>
aha
backuitist has joined #nixos
<ertes-w>
is there a channel for 32 bit users that still builds everything or most of the things?
Itkovian has quit [(Quit: Textual IRC Client signing off)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
fendor has joined #nixos
Itkovian has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
ma27 has quit [(Ping timeout: 240 seconds)]
sigmundv has joined #nixos
ma27 has joined #nixos
FRidh has quit [(Remote host closed the connection)]
fendor has quit [(Remote host closed the connection)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
<joko>
I am trying to setup a new nix channel and keep getting "error: undefined variable ‘white’ at (string):3:18". Any idea where to look? nixexprs.tar.xz seems fine to me
universalpackage has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
backuitist has quit [(Quit: Page closed)]
simukis has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
<sphalerite>
ertes-w: iiuc stuff is still built, just that channel updates aren't blocked on i686 failing anymore
<sphalerite>
not sure though
Neo-- has quit [(Ping timeout: 248 seconds)]
universalpackage has joined #nixos
yenzenz has joined #nixos
jensens has quit [(Read error: Connection reset by peer)]
ma27 has quit [(Ping timeout: 240 seconds)]
whald has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] mikoim opened pull request #31890: migmix: init at 20150712 (master...fonts/migmix) https://git.io/vFdYK
NixOS_GitHub has left #nixos []
bennofs has quit [(Read error: Connection reset by peer)]
zzamboni has quit [(Ping timeout: 248 seconds)]
Neo-- has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
dywedir has quit [(Read error: Connection reset by peer)]
zzamboni has quit [(Ping timeout: 255 seconds)]
universalpackage has joined #nixos
erictapen has joined #nixos
zzamboni has joined #nixos
<ertes-w>
hmm, ok
<ertes-w>
thanks
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
zzamboni has quit [(Ping timeout: 258 seconds)]
<jluttine>
can i install firefox plugins with nixos? i'd like to install zotero. do i just install it the "normal" way by installing .xpi via firefox, or can it be done with nix configuration?
zzamboni has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<jluttine>
i'd like to install both zotero (firefox plugin) and zotfile..
<etu>
jluttine: I just install my firefox extensions through their system
<jluttine>
etu: ok. i would prefer installing via nix though
infernal has joined #nixos
<jluttine>
and i can't get zotfile to install.. firefox complains that it's not verified
<NixOS_GitHub>
[nixpkgs] gnidorah opened pull request #31891: wrapGAppsHook: add gsettings_desktop_schemas to dependencies (master...gapps) https://git.io/vFds7
NixOS_GitHub has left #nixos []
<toogley>
jluttine: but as far as i understand, nix cannot configure/manage $HOME in nice way
universalpackage has quit [(Remote host closed the connection)]
<infernal>
Hi, I want to create a nix module that runs some scripts on init for generating config files and sone other mics data. Is there a way to prevent these reruns apart from creating some hidden files and testing for their existence in bash?
<jluttine>
it wouldn't need to configure $HOME. at least in some other distros, it is possible to install some firefox plugins via system package manager and those get then installed system wide.
universalpackage has joined #nixos
talzel has joined #nixos
talzel has quit [(Client Quit)]
talzel has joined #nixos
zzamboni has quit [(Client Quit)]
proteusguy has joined #nixos
periklis has joined #nixos
zzamboni has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
FRidh has joined #nixos
universalpackage has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat opened pull request #31892: SDL2: disable parallel make (master...p/SDL2-parallel) https://git.io/vFdGj
NixOS_GitHub has left #nixos []
<talzel>
hi, i am trying to initialize an hydra instance for my team. I am deploying it with nixops, and it seems that i cannot set the NIX_PATH for the hydra-queue-runner. i tried to set it through the nix configuration options, but still it seems that the hydra-queue-runner cannot recognize all the symbols like <nixpkgs>, although nixpkgs is defined in that machine users' NIX_PATH. what do I miss?
universalpackage has quit [(Remote host closed the connection)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] asymmetric opened pull request #31894: nodePackages.coinmon: init at 0.0.6 (master...asymmetric/coinmon) https://git.io/vFdnR
NixOS_GitHub has left #nixos []
<talzel>
clever: thank you, that explains alot, but still it is not completely build the NIX_PATH as it is usually defined in nix, right? in my NIX_PATH, nixpkgs points to some url holding a nixpkgs.tar.gz, how could i configure the build input to receive it in the same manner? all my efforts were in vain, and eventually i checked out normally from a github repository.
<clever>
talzel: hydra needs an input called nixpkgs that will configure that
<clever>
try giving it an https url so the redirect doesnt happen?
zzamboni has quit [(Ping timeout: 255 seconds)]
universalpackage has quit [(Remote host closed the connection)]
<knedlsepp>
This I've already tried. Actually the error comes when using the https link. When using the http link I get a different error:
universalpackage has joined #nixos
<knedlsepp>
svn: E170011: Repository moved temporarily to
<knedlsepp>
'https:/...
babyflakes has quit [(Quit: Connection closed for inactivity)]
chreekat has quit [(Ping timeout: 240 seconds)]
periklis has quit [(Ping timeout: 248 seconds)]
universalpackage has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
universalpackage has joined #nixos
deepfire has joined #nixos
Biappi has joined #nixos
c0ffee152 has quit [(Quit: Lost terminal)]
<knedlsepp>
clever: This fails for me using both from within a nix file using "fetchsvn { url = "...";}", as well as using: nix-shell -p nix-prefetch-scripts --run "nix-prefetch-svn http://svn.hirlam.org/branches/gl_grib_api/ 16477"
universalpackage has quit [(Remote host closed the connection)]
<clever>
knedlsepp: what if you manualy run "svn export", what kind of questions does it ask?, and what key is the right answer?
universalpackage has joined #nixos
ssmike has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
contrapumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
contrapumpkin has joined #nixos
<knedlsepp>
clever: Manually running it doesn't work either: nix-shell -p subversion --run "svn export --trust-server-cert --non-interactive https://svn.hirlam.org/branches/gl_grib_api/ 16477"
<knedlsepp>
"svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname"
universalpackage has quit [(Remote host closed the connection)]
talzel has joined #nixos
universalpackage has joined #nixos
<ekleog>
hmm, anyone else having issues trying to write to the ML?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vFd8N
<NixOS_GitHub>
nixpkgs/master d16b298 Vladimír Čunát: dns-root-data: use a stable URL that I maintain anyway...
NixOS_GitHub has left #nixos []
* ekleog
can't seem to get a message to the ML for ~10hrs, though it worked well before and I can still message people on gmail
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat closed pull request #31862: dns-root-data: use a stable URL that I maintain anyway (master...p/dns-root-data-stability) https://git.io/vFQpu
NixOS_GitHub has left #nixos []
universalpackage has quit [(Remote host closed the connection)]
ssmike has quit [(Ping timeout: 255 seconds)]
<makefu>
ekleog: yes i have similar issues (using self-hosted mail)
jtojnar has joined #nixos
universalpackage has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 4 new commits to master: https://git.io/vFd45
<NixOS_GitHub>
nixpkgs/master 332ac0b Tim Steinbach: linux: 4.13.14 -> 4.13.15
<NixOS_GitHub>
nixpkgs/master e387744 Tim Steinbach: linux: 4.14 -> 4.14.1
<NixOS_GitHub>
nixpkgs/master 03a3ab5 Tim Steinbach: linux: 4.9.63 -> 4.9.64
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vFd4b
<NixOS_GitHub>
nixpkgs/release-17.09 5125792 Tim Steinbach: linux: 4.13.14 -> 4.13.15...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vFd4x
<NixOS_GitHub>
nixpkgs/release-17.09 63fa303 Tim Steinbach: linux: 4.9.63 -> 4.9.64...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vFd4j
<NixOS_GitHub>
nixpkgs/release-17.09 74c9da9 Tim Steinbach: linux: 4.4.99 -> 4.4.100...
<knedlsepp>
orivej: You are completely right. This command finally does the trick.
<knedlsepp>
orivey: So on my local Linux I can't built this because there is /dev/tty, whereas on hydra it isn't?
ssmike has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zzamboni has quit [(Quit: Leaving.)]
<orivej>
/dev/tty is per process, like /dev/stdin and /proc/self. When you start a process from the interactive shell, it is connected to the tty until it e.g. starts a new session with setsid; but systemd units including hydra have no tty.
zzamboni has joined #nixos
amfl has quit [(Read error: Connection reset by peer)]
universalpackage has quit [(Remote host closed the connection)]
amfl has joined #nixos
universalpackage has joined #nixos
qknight has joined #nixos
<qknight>
hey. i'm using nixpkgs.overlays and i want to extend buildInputs but when doing so i always get:
<qknight>
error: attribute ‘buildInputs’ missing, at /root/nixcloud.monitoring-server/pkgs/nixcloud-webservices/modules/virtualisation/container.nix:34:51
<ma27>
qknight: could you please paste the nix expression in a github gist?
<knedlsepp>
Should we just use the "setsid sh -c" approach you suggested?
<qknight>
ma27: just did so, you are too fast ;-)
<ma27>
qknight: shouldn't it be `drv.buildInputs`?
<ma27>
`super` refers to the parent package set that will be modified and therefore contains packages, but no `buildInputs` attribute
zzamboni has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
__monty__ has joined #nixos
rosa has joined #nixos
infernal has quit [(Quit: Bye)]
<qknight>
ma27: yes it should be drv.buildInputs instead of super.buildInputs
<qknight>
thanks a lot!
<orivej>
knedlsepp: setsid is in util-linux, it may not be available on darwin...
rosa has quit [(Read error: Connection reset by peer)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
rosa has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
<__monty__>
Anyone familiar with myEnvFun? I keep having issues with load-env-* and since my latest nix-channel update the env now seems to forget my username: http://ix.io/CmM
universalpackage has joined #nixos
roconnor has joined #nixos
<goibhniu>
__monty__: FWIW, my understanding is that nix-shell is recommended over myEnvFun
universalpackage has quit [(Remote host closed the connection)]
rosa has quit [(Quit: rosa)]
universalpackage has joined #nixos
<__monty__>
The next to last comment in that thread seems to offer something up but I don't see how it solves the issues jwiegley had with buildEnv and his nix-config still uses myEnvFun so it seems like he either didn't check it out or found that it didn't satisfy.
rosa has joined #nixos
<goibhniu>
interesting, thanks!
earldouglas has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vFdVq
<NixOS_GitHub>
nixpkgs/master 7cdd12e Raymond Gauthier: kernel config: Enable MEDIA_CONTROLLER...
NixOS_GitHub has left #nixos []
rosa has quit [(Client Quit)]
earldouglas has joined #nixos
rosa has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
<orivej>
knedlsepp: could you elaborate your use case? building on linux without Nix sandboxing?
endformationage has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
joko has quit [(Ping timeout: 240 seconds)]
<knedlsepp>
orivej: I'm on Linux with a $HOME/nix install since I'm not root. I think sandboxing also requires root.
<knedlsepp>
I
joko has joined #nixos
<knedlsepp>
orivej: I've however also tried to fetch the svn source from a nixos system and it didn't work either.
waleee has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
rosa has quit [(Read error: Connection reset by peer)]
<orivej>
knedlsepp: I'll have to think about the fix. In the mean time you should be able to run nix-build as "setsid nix-build"
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.09: https://git.io/vFdrk
<NixOS_GitHub>
nixpkgs/release-17.09 bcbd14e Raymond Gauthier: kernel config: Enable MEDIA_CONTROLLER...
NixOS_GitHub has left #nixos []
universalpackage has quit [(Remote host closed the connection)]
universalpackage has quit [(Remote host closed the connection)]
adamt_ has quit [(Ping timeout: 246 seconds)]
dywedir has joined #nixos
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
universalpackage has joined #nixos
<knedlsepp>
orivej: Thank you for your help! Sadly running nix-build inside the setsid doesn't work.
tommyangelo_ has quit [(Ping timeout: 255 seconds)]
<pietranera>
Hello, I need to add an SSL certificate to *Java* on NixOS. I tried using security.pki.certificates but Java does not seem to pick that up. Does anyone have pointers?
<goibhniu>
hyper_ch: you should make a PiPhone, then you can run NixOS on it too ^_^
<hyper_ch>
goibhniu: nixos should run on librem5 I think
<goibhniu>
ah yes, well, while you're waiting for the librem 5
<pietranera>
(of course I can't use $JAVA_HOME/bin/keytool coz the ssl store is readonly)
<hyper_ch>
goibhniu: :)
alfie has quit [(Quit: Bye.)]
alfie has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
phreedom has joined #nixos
<infinisil>
Also waiting for the Librem 5 :D
<infinisil>
Will wanna help getting NixOS to run on it
<hyper_ch>
:)
<hyper_ch>
there's just one app that I need on a cell phone that I don't have in nixos currently
<infinisil>
Which one?
<hyper_ch>
blitzer.de :)
<hyper_ch>
I don't like my pic taken (by speeding cams)
universalpackage has quit [(Remote host closed the connection)]
contrapumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
universalpackage has joined #nixos
contrapumpkin has joined #nixos
zzamboni has joined #nixos
ravloony has quit [(Ping timeout: 240 seconds)]
<infinisil>
And it's probably not open-source huh
<infinisil>
like the database
danharaj has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<hyper_ch>
the databse is user driven
<hyper_ch>
the mobile ones are
<__monty__>
Doesn't mean it's open, sadly.
<hyper_ch>
don't know :) but it has warned me a few times already :)
nico202 has joined #nixos
<nico202>
hi, nix-env -iA nixos.anything can't find the channel "nixos", where do I re-add it?
erasmas has joined #nixos
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
danharaj has quit [(Quit: Leaving.)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<nico202>
stupid question, nix-channel --add + nix-channel update did the trick
nico202 has quit [(Quit: Leaving)]
adamt_ has joined #nixos
adamt__ has joined #nixos
phreedom has joined #nixos
Itkovian has joined #nixos
rosa has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
adamt_ has quit [(Ping timeout: 258 seconds)]
universalpackage has joined #nixos
rosa has quit [(Client Quit)]
rosa has joined #nixos
adamt__ is now known as adamt
adamt has quit [(Changing host)]
adamt has joined #nixos
<adamt>
I'm making an unattended installer. How do I avoid the livesystem activating logical devices, etc.?
<adamt>
(it's annoying to have to disconnect all lvm volumes, groups and devices - would be nicer if they weren't autodetected at all. :-))
rosa has quit [(Read error: Connection reset by peer)]
<adamt>
i suppose i could make do some ugly dd stuff with the option "boot.initrd.preLVMCommands", but that seems like a hack :-)
<acowley>
I was not able to reproduce the build failure locally
zzamboni has joined #nixos
Sonarpulse has joined #nixos
ravloony has joined #nixos
rosa has joined #nixos
zzamboni has quit [(Ping timeout: 255 seconds)]
universalpackage has quit [(Remote host closed the connection)]
<ekleog>
makefu: hmm, I'm with self-hosted mail too :/
zzamboni has joined #nixos
<steveeJ>
Sonarpulse: I hit an issue in my cross environment with the native gcc, it cannot find any header files from installed packages. namely curses.h (from ncurses) cannot be found so kernel menuconfig doesn't work
hariel has joined #nixos
zzamboni has quit [(Client Quit)]
rosa has quit [(Ping timeout: 252 seconds)]
zzamboni has joined #nixos
<infinisil>
adamt: I'm not sure what you mean, can you elaborate?
pietranera has quit [(Quit: Leaving.)]
<adamt>
infinisil: i'm going offline for 10 minutes, but yeah: When my image start up, i can't format my drives, because of auto detected lvm volumes. I want to disable auto detection of pv, vg, and lv's. BRB
ravloony has quit [(Ping timeout: 248 seconds)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
universalpackage has joined #nixos
drewr has joined #nixos
dannyg has quit [(Quit: dannyg)]
adamt has quit [(Ping timeout: 240 seconds)]
<drewr>
I'm using nixpkgs-unstable, but there is a fix for a derivation in master, so I cloned that and ran nix-build and got a successful build in ./result-bin. How do I now install that successful build in /nix?
<drewr>
and consequently activate it in ~/.nix-profile?
adamt has joined #nixos
rosa has joined #nixos
Neo-- has joined #nixos
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
infinisil has joined #nixos
<steveeJ>
drewr: it's already in /nix. you can use nix-env -i from the clone to install it in your current profile
<steveeJ>
adamt: you can always use `lvchange -an` `vgchange -an` to manually deactivate all volumes
<adamt>
steveeJ: will that also clean up device labels etc?
zzamboni has quit [(Quit: Leaving.)]
<steveeJ>
what do you mean by clean up?
<adamt>
(i didn't know that lvchange -an could be run without a device, that helps a lot)
universalpackage has quit [(Remote host closed the connection)]
<adamt>
steveeJ: auto generated device labels (made by udev)
<steveeJ>
do you mean device nodes?
universalpackage has joined #nixos
<adamt>
yeah, and their labels (like /dev/disk/by-label/foo)
<steveeJ>
I'd expect that
<adamt>
i'll try. Thanks a lot.
<steveeJ>
yw!
zzamboni has joined #nixos
ssmike1 has joined #nixos
rogue_koder has joined #nixos
<adamt>
looks perfect, thanks! except lvchange doesn't exist, but it's not necessary. :-)
drewr has quit [(Remote host closed the connection)]
ssmike has quit [(Ping timeout: 264 seconds)]
ssmike1 is now known as ssmike
erictapen has quit [(Ping timeout: 260 seconds)]
zzamboni has quit [(Client Quit)]
Neo--- has joined #nixos
zzamboni has joined #nixos
Neo-- has quit [(Ping timeout: 240 seconds)]
zzamboni has quit [(Ping timeout: 258 seconds)]
universalpackage has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
universalpackage has joined #nixos
rosa has quit [(Read error: Connection reset by peer)]
Neo--- has quit [(Ping timeout: 240 seconds)]
Neo--- has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
zzamboni has quit [(Remote host closed the connection)]
<__monty__>
tester123: Using xclip -sel c -i image.jpg gets a jfif on my clipboard so it seems to work. Don't have a program that takes a pasted image though.
Tucky has quit [(Ping timeout: 260 seconds)]
<tester123>
For some reason I can't Ctrl-V an image using that
<__monty__>
tester123: Try without the target specifying -t results in an empty clipboard for me.
drewr has joined #nixos
Neo--- has quit [(Ping timeout: 240 seconds)]
Sonarpulse has quit [(Ping timeout: 252 seconds)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
tester123 has quit [(Ping timeout: 260 seconds)]
<steveeJ>
bgamari: seems like the python output is empty, even without the patches
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
<bgamari>
steveeJ, I would try to find out why
universalpackage has joined #nixos
fendor has joined #nixos
Neo--- has joined #nixos
<steveeJ>
bgamari: I don't understand the multiple outputs derivation yet. where is the output variable $python defined?
ssmike has quit [(Ping timeout: 240 seconds)]
<bgamari>
steveeJ, by the python setup hook, perhaps?
Neo---- has joined #nixos
Neo--- has quit [(Read error: Connection reset by peer)]
universalpackage has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
universalpackage has joined #nixos
jb55 has joined #nixos
rosa has quit [(Quit: rosa)]
Neo---- has quit [(Ping timeout: 260 seconds)]
rosa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 opened pull request #31902: vimPlugins.vim-grammarous: set languagetool path (master...vim-grammarous) https://git.io/vFdAR
NixOS_GitHub has left #nixos []
jsgrant has quit [(Read error: Connection reset by peer)]
jsgrant has joined #nixos
rosa has quit [(Client Quit)]
universalpackage has quit [(Remote host closed the connection)]
civodul has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
rosa has joined #nixos
<drewr>
steveeJ: what args do I give nix-env to have it point to the working dir as opposed to the channel?
<Sonarpulse>
is I think a good incremental way to get some of cross-elegant in
mikoim has joined #nixos
<Sonarpulse>
it does the both propagated input files
<Sonarpulse>
without changing the accumulation
<Sonarpulse>
I think the same technique can be added to the last "scale back for now" cross-elegant commit to make sure it doesn't initially break anything
universalpackage has quit [(Remote host closed the connection)]
uptime has quit [(Ping timeout: 264 seconds)]
<bgamari>
Sonarpulse, would it be a good candidate to rebase on top of?
<Sonarpulse>
bgamari: I did!
<bgamari>
ahh
<bgamari>
my branch/
universalpackage has joined #nixos
<Sonarpulse>
and the ben-cross one
<bgamari>
awesome
<bgamari>
thank you!
<Sonarpulse>
in the obsidian repo
simpson has left #nixos ["WeeChat 1.0.1"]
<Sonarpulse>
that might be out of date though
<Sonarpulse>
bgamari: but, still need to fix the binutils wrapper for -m flags
<Sonarpulse>
and stuff
jtojnar has joined #nixos
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
<bgamari>
Sonarpulse, what timeframe do you think 31775 will be merged?
_rht has quit [(Quit: Connection closed for inactivity)]
<Sonarpulse>
bgamari: well, today i was hoping
<bgamari>
ahh, lovely
<Sonarpulse>
I assigned to dezgeg because it builds off of that previous one dezgeg wrote
adamt has quit [(Ping timeout: 240 seconds)]
<Sonarpulse>
while I did kick off another build after some fixes
<Sonarpulse>
the only one which would actually change the PR is not observable
<Sonarpulse>
the others probably weren't tested in the first place
<Sonarpulse>
so not sure whether its worth waiting for that second build even
waleee has quit [(Quit: WeeChat 1.9.1)]
rosa has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFdja
<NixOS_GitHub>
nixpkgs/master 89fab17 Andreas Rammhold: microcodeIntel: 20170707 -> 20171117...
universalpackage has quit [(Remote host closed the connection)]
<joko>
I am trying to setup a new nix channel and keep getting "error: undefined variable ‘white’ at (string):3:18". Any idea where to look? nixexprs.tar.xz seems fine to me
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to release-17.09: https://git.io/vFdjp
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
fendor has quit [(Ping timeout: 260 seconds)]
universalpackage has joined #nixos
digitus has joined #nixos
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
fendor has joined #nixos
erictapen has joined #nixos
dhess` has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
dhess has quit [(Ping timeout: 258 seconds)]
rosa has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
leat has quit [(Ping timeout: 258 seconds)]
universalpackage has quit [(Remote host closed the connection)]
<ma27>
b/buffer 7
universalpackage has joined #nixos
<cransom>
I have a cpan package via buildPerlPackage that insists on building it's own libmemcached (yes, there's one already in nixpkgs). but when it does so, it reports a `Warning (mostly harmless): No library found for -lstdc++` which is definitely harmful as I get undefined symbols. any hints as to what i'm missing for it to not find libstdc++.so?
<ma27>
sorry :-D
forgetful has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<forgetful>
Hello everybody! Can somebody help me with a simple problem? I have a hydra server which provides me with a channel. if I try to install a package from the channel it works without problems. But if specify the dependency in a derivation for nix-shell it complains that "build input /nix/store/..." does not exist. Unless I install the package first with nix-env -i ... Then it works. Can somebody explain me why?
sigmundv has quit [(Ping timeout: 248 seconds)]
Neo---- has joined #nixos
<forgetful>
if I query it with nix-repl I get: «derivation ???»
rosa has joined #nixos
Neo--- has quit [(Ping timeout: 248 seconds)]
lambdamu has joined #nixos
rosa has quit [(Client Quit)]
rosa has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
bfrog has joined #nixos
Neo--- has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
contrapumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
Neo---- has quit [(Ping timeout: 248 seconds)]
universalpackage has joined #nixos
contrapumpkin has joined #nixos
bennofs has joined #nixos
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 opened pull request #31907: Libsystem: remove libsystem_kernel symbols for compatibility with macOS 10.13 (staging...darwin-libsystem) https://git.io/vFFkr
NixOS_GitHub has left #nixos []
Neo--- has quit [(Ping timeout: 240 seconds)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
Itkovian has joined #nixos
erictapen has joined #nixos
<BlessJah>
Will nixos-rebuild remove current-system from bootloader menu? I was suprised not to find generation/kernel from before reboot in grub. (I've ran collect-garbage and nixos-rebuild in the meantime).
rosa has quit [(Client Quit)]
rosa has joined #nixos
<clever>
BlessJah: nixos-rebuild will generate the bootloader menu based on what generations currently exist
<clever>
which depends on what user and flags you last ran the garbage collect with
sigmundv has joined #nixos
<BlessJah>
--delete-older-than, and uptime was higher than the number of days
Guanin has joined #nixos
<BlessJah>
however I'd still assume that booted generation should be excluded from GC and be present after reboot
<clever>
[root@system76:~]# ls -l /nix/var/nix/profiles/system*
<clever>
BlessJah: what does this list?
<clever>
the booted generation is excluded from the GC, but the profile for it is still deleted
<clever>
so it wont appear in the bootloader
<BlessJah>
clever: it doesn't include previous boot
<clever>
yeah, because you deleted all of the generations
<Guanin>
Hi, I hope this is not getting annoying (As I asked similar questions a few times already): Is there any way to let a git-interface (like gogs, gitlab or anything else - I'm really free to choose anything here) use the users defined in /etc/passwd with the passwords from /etc/shadow?
erictapen has quit [(Ping timeout: 260 seconds)]
jeaye has quit [(Ping timeout: 260 seconds)]
<Guanin>
or is there a simple solution for this problem on nixos? (like declarative describing the users for gitlab/gogs/whatever?)
rosa has quit [(Client Quit)]
rosa has joined #nixos
<BlessJah>
clever: is there flag for "delete older than 3 days, but keep currently booted"?
<clever>
BlessJah: i dont think so
<Guanin>
I just noticed that I should probably ask this in a different channel, sorry... (but maybe someone has an idea here, too)
<BlessJah>
ok
<BlessJah>
Guanin: I am not aware of any such interface with /etc/passwd integration.
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined #nixos
<BlessJah>
Guanin: what is your use case to have /etc/passwd integrated with github-like service?
erictapen has joined #nixos
<gchristensen>
Guanin: anything with PAM integration could do that
ilyaigpetrov has joined #nixos
<Guanin>
gchristensen, no, only if it runs as root (which should not be done in most cases)
Lisanna has quit [(Ping timeout: 260 seconds)]
<Guanin>
(at least not with pam_unix.so)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 4 new commits to master: https://git.io/vFFLj
<NixOS_GitHub>
nix/master 7536fe3 Eelco Dolstra: Add a warning about the 'trusted-users' option
<NixOS_GitHub>
nix/master 6cdaa85 Eelco Dolstra: Propagate flags like --sandbox to the daemon properly
<Guanin>
BlessJah, I've checked that way already, and pam_unix.so only allows checking different users if gogs can read /etc/shadow
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vFFtk
<NixOS_GitHub>
nixpkgs/master 3d5828e Eelco Dolstra: releaseTools.sourceTarball: Clean up temporary files
NixOS_GitHub has left #nixos []
<Guanin>
(because the helper binary will drop privileges)
<Guanin>
BlessJah, basically I want to run a small homeserver for a few friends. For the sake of reproducibility, I want a clean way of defining users for all services that I plan to setup. SSH and a Git-interface being the two most important, but probably a set of other services will follow (often behind an nginx proxy)
<Guanin>
I never got ldap running for auth (which might solve the problem), and to be honest: it might be a bit overkill in my case
<steveeJ>
Sonarpulse: are the env hooks that allow the libraries to be found by the toolchain documented somehwere?
rosa has quit [(Read error: Connection reset by peer)]
<BlessJah>
how about using ansible for that? It'd be quite easy to have the same set of users created on e.g. gitlab and as regular shell or passwd users
<BlessJah>
unless you wan't to run it on nixos, managing NixOS by ansible isn't best idea (there are nixos tools for that)
<Guanin>
BlessJah, to be honest: never touched that. I'm mostly a tinkering poweruser, and I'd prefer to use nixOS in this case to learn using it (as the concept seems fascinating to me and I'd love to use it as a daily driver, too)
Neo-- has joined #nixos
fleaz has quit [(Ping timeout: 268 seconds)]
<BlessJah>
If it's for sake of learning, go ahead, but if you want to apply the skill on job, you'd better start with debian or centos.
<Guanin>
My current server setup was based on arch with Xen and is breaking away right now, as I did not fix smaller problems when they first arrived.
fleaz has joined #nixos
<BlessJah>
proxmox is nice
JosW has joined #nixos
tungdil has joined #nixos
<__monty__>
Containers might suffice for your purposes.
erasmas has quit [(Ping timeout: 240 seconds)]
erasmas has joined #nixos
Neo-- has quit [(Ping timeout: 240 seconds)]
pierre_ has joined #nixos
<Guanin>
__monty__, yes, probably - when I first setup the server, I was throwing xen on every of my personal devices. But now I've learned my lesson and want something more reproducible
pierre_ is now known as pierrechevalier8
<BlessJah>
proxmox lacks some features real clouds have, proxmox+packer should be really nice both in terms of reproducibility, and doing VMs (both on cloud and regular boring VMs) the right way
sigmundv__ has joined #nixos
agjacome has joined #nixos
colabeer has joined #nixos
tungdil has quit [(Ping timeout: 260 seconds)]
aloiscochard has quit [(Quit: Connection closed for inactivity)]
thblt has joined #nixos
reinzelmann has joined #nixos
shymega has left #nixos ["WeeChat 1.9.1"]
rosa has joined #nixos
vcunat has joined #nixos
asuryawa_ has joined #nixos
asuryawa_ has quit [(Remote host closed the connection)]
asuryawa_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh closed pull request #31819: pythonPackages.pyqt5: Add optional support for qtconnectivity (master...pyqt-qtconnectivity) https://git.io/vFHoi
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Remote host closed the connection)]
asuryawanshi has quit [(Ping timeout: 240 seconds)]
_cyril_ has quit [(Ping timeout: 240 seconds)]
_cyril_ has joined #nixos
<hodapp>
blaaargh. tensorflow requires tensorflow-tensorboard requires bleach 1.5.0 which requires html5lib-0.9999999 (7 9s) but this breaks anything that requires html5lib-0.999999999 (9 9s)
jeaye has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<hodapp>
bleach 2.x supports only html5lib >= 0.99999999 (8 9s)
colabeer has quit [(Remote host closed the connection)]
<Sonarpulse>
steveeJ: you mean the env hook mechanism
<Sonarpulse>
or the specific env hooks?
<Sonarpulse>
this is a partial list in the nixpkgs manual
<Sonarpulse>
but I'd just grep around nixpkgs
<steveeJ>
Sonarpulse: the hooks for the gcc wrapper. I was trying to find why the native gcc in the cross environment can't find any native libraries. I think the answer is that ht NIX_CFLAGS_COMPILE only contain paths from the cross toolchain
leat has joined #nixos
<steveeJ>
I'm trying to create a nix-shell that contains a working toolchain for native and cross
rosa has quit [(Quit: rosa)]
<Sonarpulse>
steveeJ: NIX_BUILD_CFLAGS_COMPILE
rosa has joined #nixos
<Sonarpulse>
contains the native libraries
<Sonarpulse>
steveeJ: there are some extensive comments in the cc-wrapper setup hook
<Sonarpulse>
trying to explain what is a very complicated series of hooks
katyucha has joined #nixos
JosW has quit [(Quit: Konversation terminated!)]
<steveeJ>
Sonarpulse: that variable is unset in my shell
<Sonarpulse>
steveeJ: is buildPackages.stdenv.cc a depsBuildBuild ?
<Sonarpulse>
it should be
<Sonarpulse>
then it will be set
<steveeJ>
Sonarpulse: I haven't set depsBuildBuild for the shell environment
<Sonarpulse>
this a nix-shell -p or nix-shell some-derivation?
<tilpner>
I love how you put an IRC bot and HTML templating into the same file
fendor has quit [(Ping timeout: 248 seconds)]
<gchristensen>
not to mention text format parsing and json emitting
<clever>
that irc bot! lol
<clever>
most networks require you to answer a ping to even connect
<gchristensen>
thank goodness freenode doesn't ;) I'd have had to spend 2x as long to implement this!
<clever>
ive seen an entire irc client with a UI written in bash before
<gchristensen>
nope... *runs away*
<clever>
gchristensen: oh, and you dont need telnet there, at all
<clever>
gchristensen: /dev/tcp/host/port
<clever>
gchristensen: if you redirect to that special path, bash will open a socket
<gchristensen>
I think I have that turned off?
<clever>
oh, your using sh
<clever>
sh mode may not allow it
<MichaelRaskin>
Isn't that zsh feature?
<clever>
MichaelRaskin: its in the bash man page
Lisanna has joined #nixos
<MichaelRaskin>
Already forgot that, maybe because never felt like using this feature is a good idea.
<clever>
MichaelRaskin: and bash has had it for at least 15 years, i remember being confused when i couldnt find it with ls or cat
<MichaelRaskin>
(I did read the entire bash manpage long time ago)
gary828384 has joined #nixos
<clever>
MichaelRaskin: i think i did the same...
<Wizek>
If I've created a .nix file via `cabal2nix . > default.nix`, how can I nix-build? I get `error: cannot auto-call a function that has an argument without a default value (‘mkDerivation’)` when I simply try to `nix-build .`.
<Wizek>
IIRC an attribute may be required with `-A`, right?
<MichaelRaskin>
After reading the bash manpage, I actually read the SUS Shell description and tried to avoid working outside SUS unless there is a really compelling reason
goibhniu1 has joined #nixos
<Lisanna>
heya, does anyone here run gitlab on nixos who might be able to answer some question I have about it?
<Wizek>
clever: whoa, that's a mouthful. Is that really the simplest/shortest way to do it? It appears to start building tho, so than's for that.
<gary828384>
Hi, I can run a script with nix-shell shebang and if in I'm the current directory it will pick up the default.nix or shell.nix, if I call the script outside of the scripts current directory, is there a way to make it pick up default.nix from where the script is located?
<Wizek>
*thanks
orivej has quit [(Ping timeout: 248 seconds)]
<clever>
Wizek: you can put the contents of that string into a release.nix, and then run nix-build on that file instead
goibhniu has quit [(Ping timeout: 255 seconds)]
colabeer has quit [(Ping timeout: 248 seconds)]
<Lisanna>
Wizek: typically you don't build that kind of Nix file directly, rather you import it / callPackage it from a top-level Nix file which imports the things it needs
<Lisanna>
specifically, the manual says to proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket" in the nginx config, but "http://unix:/" doesn't look like a valid URI at all :/
<clever>
gchristensen: damn!, it seems my script blocker also blocks <noscript> tags!
sibi_ has quit [(Quit: Connection closed for inactivity)]
<gchristensen>
LOL
<jmc_fr>
Hello. I have in my conf the following : `defaultLocale = "fr_FR.UTF-8";' which I want to kep, except for LC_MESSAGES which I want to be set to "en_US.UTF-8" or something like that. Looking at https://nixos.org/nixos/options.html#locale has not helped.
<Lisanna>
clever: inb4 your script blocker is just ''if "script" in tag.name"
<clever>
Lisanna: its able to whitelist things on a per-domain basis
<dhess```>
Lisanna: I run a GitLab instance on NixOS
<tilpner>
clever - Not working here either with uBlockO
yenzenz has quit [(Ping timeout: 240 seconds)]
<Lisanna>
dhess```: oh, cool! do you run it in a nixos container?
<dhess```>
Lisanna: no.
<Lisanna>
Oh, okay
<Wizek>
Would it be possible to get the package version in the default.nix from the corresponding .cabal file? To ensure they are in sync and reduce duplication?
<Lisanna>
would you forsee any issues with running it in a container?
<Wizek>
clever: btw, I've put it in a release.nix file, and it works, thanks again!
<dhess```>
Lisanna: I have no experience running things in containers, so I can't say.
<Lisanna>
okay
<Lisanna>
...guess I'll try moving it out of the container then. Neither gitlab nor nginx are giving me any errors, but the container's "start" is timing out :/
<dhess```>
Lisanna: there are a few issues with GitLab on NixOS however
<Lisanna>
Okay. Is the nixos manual's entry on gitlab complete enough to get a working and useful setup? or will I need additional options set?
tgunb has joined #nixos
<Lisanna>
*grumbles because she already has a non-container nginx service enabled in the configuration*
<clever>
Lisanna: the nginx services merge together pretty easily
<dhess```>
I think I just loaded up the gitlab module default.nix and looked at that
<clever>
Lisanna: just give each a different virtualhost
<dhess```>
Yeah I run multiple vhosts on this machine and it works great, no need for a container for that.
adamt_ has joined #nixos
tungdil has joined #nixos
rosa has joined #nixos
<adamt_>
dhess`: What issues are there with Gitlab on NixOS? (we're running it internally as a test, that's why I'm asking)
<Lisanna>
does each vhost have to be a different subdomain then?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] andir opened pull request #31909: clamav: apply patch for CVE-2017-6420 (master...clamav) https://git.io/vFFBZ
NixOS_GitHub has left #nixos []
<Lisanna>
(it would probably also help if I knew anything at all about nginx ^^)
adamt has quit [(Ping timeout: 240 seconds)]
<dhess```>
Lisanna: not a different subdomain, just a different hostname
<dhess```>
Lisanna: if you do, see the PR that closed it, you will need to patch gitaly
<Lisanna>
err, isn't that example a different subdomain?
<Lisanna>
gitlab vs. www
<dhess```>
I don't call that a subdomain, I call it a hostname (or more properly, an FQDN)
<gary828384>
Hi, I can run a script with nix-shell shebang and if in I'm the current directory it will pick up the default.nix or shell.nix, if I call the script outside of the scripts current directory, is there a way to make it pick up default.nix from where the script is located?
<dhess```>
but whatever
<Lisanna>
okay
Itkovian has joined #nixos
rosa has quit [(Ping timeout: 248 seconds)]
<jmc_fr>
Hi, how can I fix this ? I have in my conf the following : `defaultLocale =
<jmc_fr>
"fr_FR.UTF-8";' which I want to keep, except for LC_MESSAGES which I
<jmc_fr>
want to be set to "en_US.UTF-8". (Looking at
<clever>
tungdil: local scriptDir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")
<clever>
tungdil: i dont remember the exact reason why, but ${BASH_SOURCE[0]} is better then $0
<clever>
tungdil: i think it has to do with source'ing other bash scripts
<jmc_fr>
Hi, how can I fix this : I have in my conf the following : `defaultLocale = "fr_FR.UTF-8";' which I want to keep, except for LC_MESSAGES which I want to be set to "en_US.UTF-8". (Looking at https://nixos.org/nixos/options.html#locale has not helped.)
<jmc_fr>
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ttuegel opened pull request #31912: buildRustPackage: make dependencies' source writable (master...rust/rw-source) https://git.io/vFFuX
NixOS_GitHub has left #nixos []
rosa has joined #nixos
deepfire has quit [(Ping timeout: 255 seconds)]
<Lisanna>
dhess```: cool, running it outside the container is showing me problems with my configuration that weren't showing up in the container logs :) I might still be able to get it working in a container yet!
jb55 has joined #nixos
<tungdil>
clever: right. that's likely the better approch
<dhess```>
Lisanna: that gitaly issue I mentioned earlier won't manifest itself until you try to "git clone" via an HTTP URL
<dhess```>
HTTP/HTTPS
<Lisanna>
dhess```: okay, thanks for the heads up
<Lisanna>
curious: how has an issue like that found its way into nixpkgs stable? surely this hasn't *always* been an issue with the gitlab available in nixpkgs?
<Lisanna>
s/gitlab/gitaly
<dhess```>
Lisanna: it's been an issue in upstream until just a few days ago!
<dhess```>
It's only triggered when bundler outputs warnings to stdout
<Lisanna>
huh, okay
pierrechevalier8 has quit [(Remote host closed the connection)]
orivej has joined #nixos
<dhess```>
(it's also an awful hack, even when it works as expected)
<dhess```>
Lisanna: but it also dies with absolutely no information as to why. It took me a few hours to debug it.
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<Lisanna>
dhess```: so how do non-nixos people deal with this issue when running gitlab, since it seems to be fatal to the nixos service?
<Lisanna>
is it only fatal in nixos?
rosa has quit [(Ping timeout: 250 seconds)]
<dhess```>
Lisanna: They must not have triggered that warning. In my case it was happening because of mismatched versions of bundler creating lockfiles, or something like that.
<dhess```>
Lisanna: a similar gitaly fix had been done a few months ago, but it didn't catch everything.
jb55 has quit [(Ping timeout: 248 seconds)]
<dhess```>
gitaly looks pretty awful. It's written in Go, but for this syntax highlighting functionality it shells out to Ruby to figure out where one of its gems is keeping some JSON data, which it then loads and uses itself. :\
<dhess```>
that's where this error was ocurring.
erictapen has quit [(Ping timeout: 248 seconds)]
jmc_fr has quit [(Ping timeout: 260 seconds)]
<Lisanna>
geez
<Lisanna>
also, I don't do much web hosting at all, so bear with me a bit with my ignorance: do I need special DNS entries for each hostname I want to use? e.g., gitlab.example.com, or is an A record for example.com enough?
<dhess```>
you need at least a CNAME for gitlab.example.com
<clever>
Lisanna: or a wildcard subdomain
<Lisanna>
dhess```: ohh, but the CNAME can be a wildcard?
<Lisanna>
so *.example.com would work
<clever>
yeah, that should work
<clever>
you can also use the dig util to test things after configuring them
<clever>
it will show how long until things expire, and you may want to wait that long and confirm its not a cache giving you false results
<dhess```>
I don't think that's technically correct from a DNS RFC perspective
<dhess```>
but I'm not an expert. Personally I just use a CNAME which points foo.example.com to www.example.com, which has an A record
<dhess```>
clever: yeah the very first paragraph basically explains my hesitation about using it
<dhess```>
and then there are a list of caveats in the "In practice" section.
<clever>
so it will depend on where you get your dns hosting
<dhess```>
better to be safe and explcit when it comes to something as critical to DNS, in my opinion.
<clever>
i also prefer cname, because i have things spread over a couple IP's
<Lisanna>
okay, thanks for the info on this, I'll go with explicit just to make sure
<dhess```>
Lisanna: now on the nginx side, it's fine to have a catch-all rule that sends all requests for which there is not an explcit virtual host (vhost) config to a default vhost
<Lisanna>
sure, that seems sensible
<dhess```>
so you only need, say, one vhost for gitlab.example.com and then a vhost for example.com that can handle *.example.com, at the HTTP request layer.
<Lisanna>
Cool, I got it to come up!
qknight has quit [(Quit: leaving)]
<sphalerite>
Just saw how that "release quality 17.09" issue played out
<dhess```>
Lisanna: so what is the issue with running it in a container, then? Any idea?
<vcunat>
sphalerite: fun reading? :-)
<Lisanna>
There were a few things wrong with my implementation, let me try moving it back to the container and see if it works
<sphalerite>
Almost suspect mkocha2 is a smurf account for the same person as 0xABAB.
<Lisanna>
I'll always prefer running it in a container since that's highly reproducible
<vcunat>
heh
<sphalerite>
The account was created in August, less than a month after 0xABAB was banned
<vcunat>
I don't think it's possible to be sure.
<vcunat>
And it doesn't really make a difference to me.
<sphalerite>
vcunat: what a prick.
<gchristensen>
sphalerite: hey now
pierre_ has joined #nixos
<sphalerite>
?
<hodapp>
why why why why must NVidia make everything a bloody clusterfuck
<vcunat>
wanting to get banned? :-)
<gchristensen>
:$
<sphalerite>
OK, let me rephrase. What an unpleasant person.
<MichaelRaskin>
Is it possible to do cross-organisation issue move, I wonder…
<gchristensen>
you can't move issues at all
<MichaelRaskin>
Pity…
<MichaelRaskin>
So, not trollfarm project to move such issues and use the over-aggressive reporters as punching bags…
abrar has quit [(Ping timeout: 240 seconds)]
rosa has joined #nixos
hiratara has quit [(Ping timeout: 252 seconds)]
Sonarpulse_ has joined #nixos
Sonarpulse_ has quit [(Changing host)]
Sonarpulse_ has joined #nixos
Sonarpulse has quit [(Ping timeout: 268 seconds)]
<Lisanna>
dhess```: nope, still getting a message of doom when I try to put it in a container: "container@gitlab.service: Start operation timed out. Terminating."
abrar has joined #nixos
<sphalerite>
I can understand that it's irritating to have issues like that. I couldn't switch to 17.09 right away because of some kernel issues iirc. But I don't get the whole "some things don't work for me therefore everything is awful" mentality
<Lisanna>
oh well
<gchristensen>
yeah, that was really hurtful
hiratara has joined #nixos
asuryawa_ has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin>
Can a bot with proper access unsubscribe other people from issues (if these people opt-in)?
mariel__ has quit [(Ping timeout: 248 seconds)]
Wizek_ has joined #nixos
<dhess```>
Lisanna: Huh. Is it not able to open a socket or something?
<sphalerite>
MichaelRaskin: I think an "app" might be able to. Not sure thougb
<dhess```>
Lisanna: are you running all of its various daemons in the same container?
<gchristensen>
I think only a person can unsubscribe themselves
<sphalerite>
MichaelRaskin: out of curiosity, what for?
<Lisanna>
dhess```: oh, oops, it would help if I actually rsync my changes over :)
<Lisanna>
recently switched from NFS to local storage + rsync, faster for doing local filesystem stuff like git but easy to forget to push the bytton ^^
<MichaelRaskin>
Well, we could have a lower threshold of shadowban, so that only people willing to check if there is some substance see all that trainwreck. Once it gets too repetetive, then a ban can be applied.
<Lisanna>
dhess```: okay, getting a new error now. I'll hack on it for a bit and see if I can't get it to work, at least it works outside the container for now
<Lisanna>
nginx is failing to lookup some basic files, like /var/spool/nginx/html/users/sign_in
<forgetful>
does anybody know how to configure the store cache in hydra? Somehow it is pointing to the base of my hydra installation which is not correct.
<gchristensen>
I think that excludes most of the contributions provided by the "Acknowledgments"
<gchristensen>
since those aren't in cash but in resources
simukis has quit [(Ping timeout: 250 seconds)]
<forgetful>
when I download the one-click-install file I get NIXPKG1 http://invalid.org/ {stuff} {stuff} {stuff} http://<myip>:3000/ the last url is wrong because I serve the store via nix-serve -p 8080. How can I change that?
<Lisanna>
dhess```: what do you specify as the "listen" parameter to the virtualhost to get CNAME hostnames enabled? nginx is getting my HTTP requests to gitlab okay when running on gitlab.example.com, but gitlab is returning an error 500.
ris has joined #nixos
dhess``` has quit [(Ping timeout: 268 seconds)]
<clever>
forgetful: did you set hydraUrl in the nixos config?
<clever>
forgetful: and hydra already provides the same API as nix-serve
<forgetful>
clever: I installed hydra manually (nix-env -i hydra)
rosa has joined #nixos
<forgetful>
clever: when I try to query a derivation served by the hydra channel with nix-repl I get the following: «derivation ???». but I am able to install it correcty with nix-env -i. I thought it was related to the missing cache. Isn't that so?
<vcunat>
Wizek: I heard a rumour that (just) the binary cache from Amazon costs ~2k Euro/month
<clever>
forgetful: i dont think that channel hydra serves works anymore
<clever>
forgetful: you need to just eval the same expressions hydra is evaling
<Wizek>
vcunat: interesting, thanks! Any ideas how I could find out more?
<forgetful>
clever: not sure I understand. Hydra channels are obsolete?
<clever>
forgetful: ive never seem them work
<vcunat>
Wizek: asking niksnut is the only way that occurs to me. I'm not sure who pays what, but I think it would be nice if the foundation was transparent wrt. its expenses.
miko__ has quit [(Ping timeout: 246 seconds)]
<vcunat>
(At least historically, the binary cache bill was donated by Eelco's employer.)
<forgetful>
clever: and how can I have a private channel then?
<vcunat>
forgetful: they're not used anymore on hydra.nixos.org at least, I believe
<vcunat>
and hydra.nixos.org is the main reason for hydra's existence and development
<clever>
forgetful: depends on what you want private, if the end-user is given the full nix expression for building it, along with the sha256's of the sources, nix will just grab the build from a binary cache
<clever>
forgetful: if the user has the exact same nixpkgs as hydra used (pinning it in your expresison helps)
vcunat has quit [(Quit: Leaving.)]
rosa has quit [(Ping timeout: 255 seconds)]
<forgetful>
clever: I would like the user to be able to install packages with nix-env and use them in nix-shells withouth comlplex confinguration
<clever>
forgetful: youll want to modify the nix expression to work without <nixpkgs> How_to_fetch_Nixpkgs_with_an_empty_NIX_PATH
<clever>
forgetful: then the user can just git clone, and run nix-env -f . -i or nix-shell
dywedir has quit [(Remote host closed the connection)]
<forgetful>
clever: I am not sure... I will take a deeper look. But nix is still supporting a channel, right?
<clever>
forgetful: you can also package those expressions up into a nixexprs.tar.gz and then use nix-channel on that
<forgetful>
so, a channel is only an http server serving nixexprs.tar.gz?
pierre_ has joined #nixos
<clever>
yeah
<clever>
just point nix-channel at a server you can see access.log on, and you can see what its doing
<forgetful>
the best practice then would be: maintain the nix-expressions in a git repository and package them?
<gerschtli>
hey, is anyone here who has tried to build a nix package with maven?
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
<forgetful>
clever: so hydra should just call the derivations in the repo to make the build?
<ma27>
gerschtli: I tried it once and gave up %)
<ma27>
the thing is that there is almost no documentation about Nix on a JVM and I currently lack time to improve the situation in our ecosystem...
<gerschtli>
ma27: Thats not want I wanted to here :D
<clever>
forgetful: yeah
<gerschtli>
*what
<forgetful>
clever: ok, thank you!
<gerschtli>
it seems that some dependencies arent included in the project-info.json..
Wizek_ has quit [(Ping timeout: 264 seconds)]
<Lisanna>
are there special container networking configuration requirements for running apps like gitlab with a CNAME'd hostname?
<Lisanna>
gitlab is giving me a lovely "SocketError (getaddrinfo: System error):" in the log ):
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
dhess``` has joined #nixos
<ma27>
gerschtli: I'll give it another try, maybe there's something I could do :)
<Lisanna>
hey dhess``` does anything like this look familiar to you? starts happening when I try to start using a cname: https://hastebin.com/raw/oyijuwuqeg
<gerschtli>
ma27 that would be awesome!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vFFPu
<NixOS_GitHub>
nixpkgs/staging b8e1e71 Orivej Desh: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
jtojnar_ has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has quit [(Read error: Connection reset by peer)]
rosa has joined #nixos
<ma27>
gerschtli: I'm currently fighting against other issues like missing attributes
<ma27>
seems as there's way more stuff broken (or at least not stable enough), so I wouldn't use it for now
<ma27>
unfortunately I'm currently quite busy, so I can't improve this ATM :/
<gerschtli>
ma27: oh okay.. thanks anyway!
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 opened pull request #31917: Csu: fix build with CoreFoundation (staging...darwin-csu) https://git.io/vFFM1
NixOS_GitHub has left #nixos []
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #31918: nixopsUnstable: upgrade to HEAD and use a tarball from hydra (master...nixopsUnstable-upgrade) https://git.io/vFFDL
NixOS_GitHub has left #nixos []
agjacome has quit [(Quit: leaving)]
astronav_ has joined #nixos
Lisanna has quit [(Ping timeout: 260 seconds)]
astronav_ has quit [(Remote host closed the connection)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
<neonfuz>
how do I check the evaluated value of a variable in nixos?