gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
mmlb has quit [Read error: Connection reset by peer]
<fusion809> LnL: I already ran which sudo and showed its output, which is equivalent to command -v sudo, right? I ran it and it gave the same output too.
mmlb has joined #nixos
<fusion809> /run/current-system/sw/bin/sudo is the output, in case you missed where I mentioned it earlier.
<LnL> yeah that's not normal
<fusion809> What is normal for it?
<srhb> fusion809: /run/wrappers/bin/sudo
<LnL> setuid is not allowed in the store, the usable sudo binary is in /run/wrappers/bin
<LnL> this is what security.sudo.enable, but that's enabled by default
<fusion809> Ah, the sudo and su symlinks in /run/wrappers/bin are dead
Radivarig has quit [Ping timeout: 250 seconds]
vidbina has quit [Ping timeout: 268 seconds]
<LnL> hmm, that's not good
<LnL> is there anything else in /run/wrappers?
<fusion809> https://pastebin.com/f4AsKWTb is the output of ls -ld /run/wrappers/bin/*
<LnL> eg. I have bin -> /run/wrappers/wrappers.9pZ7n6SAfZ and wrappers.9pZ7n6SAfZ
<LnL> can you try /run/wrappers/bin/sudo /run/wrappers/bin/su -
<fusion809> That actually got me into root.
<LnL> I think /run/wrappers/bin isn't in your PATH then
freeman42x]NixOS has quit [Ping timeout: 250 seconds]
<fusion809> Yeah it's not. I'll have to edit ~/.bashrc and ~/.zshrc accordingly.
<LnL> ah
<LnL> the system bash/zsh will be configured properly but if you override those somewhere you might run into trouble like this
jluttine has quit [Ping timeout: 240 seconds]
wladmis has joined #nixos
<fusion809> I ran `rm ~/.bashrc ; bash` to enter a fresh Bash shell and sudo still returned that error, so I do not think my bashrc is to blame here
<fusion809> fresh and clean^
vidbina has joined #nixos
jluttine has joined #nixos
<LnL> what about __NIXOS_SET_ENVIRONMENT_DONE= bash -c 'echo $PATH'
<fusion809> That includes /run/wrappers/bin
tim_nixos has joined #nixos
<LnL> starting a new shell at this point should work then
<jackdk> I am spinning my wheels trying to fix #50902, and would appreciate a hand from someone who understands linker paths and cabal. The build log linked in the issue shows undefined symbols for a bunch of openssl stuff, but I'm not sure how to add the correct dep and linker paths/
<{^_^}> https://github.com/NixOS/nixpkgs/issues/50902 (by endgame, 5 days ago, open): haskellPackages.postgresql-libpq fails to link on Darwin
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9c96d120aa7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<kandinski> Hey folks, can't find this issue I'm having, so I'd like some confirmation before I post it to the tracker. nixos-rebuild switch fails because it can't fin vboxnet0 device, unless a Virtualbox VM is running.
<fusion809> Thanks LnL and gchristensen for helping with that issue. Now NixOS seems like a pleasant experience.
<kandinski> Would it be this issue? https://github.com/NixOS/nixpkgs/issues/44344
<{^_^}> #44344 (by davidak, 16 weeks ago, open): X11 crash at end of nixos-rebuild switch --upgrade
<gchristensen> all thanks to LnL :)
<kandinski> I don't have a X11 crash. I just have an "error(s) occurred while switching, or maybe it's justa warning... hmm...
<LnL> fusion809: gchristensen: the setuid wrappers are a bit confusing, since there are 2 versions of eg. sudo in path (but only one of those works properly)
<LnL> jackdk: the static libraries are in $out instead of $lib try just pkgs.postgresl (I think lib gets added automatically) or both
<LnL> without the typo that is
fusion809 has quit [Quit: Konversation terminated!]
<jackdk> LnL: thanks, but my commit is a red herring. the https://raw.githubusercontent.com/endgame/nixpkgs/haskell-postgres-libpq/pkgs/development/haskell-modules/hackage-packages.nix on that tree actually has postgresql, and the missing symbols seem to come from openssl.
vidbina has quit [Ping timeout: 246 seconds]
<tim_nixos> Hello people, I would like to run my own compiled version of LLVM to test IR optimization passes, I built LLVM succesfully but when I try to compile something it can not find any libs (e.g. stdio). How do I tell LLVM where my standard libs are?
<tim_nixos> or is this generally not a good aproach? should I maybe create a nix derivation for that which pulls in standard libs?
romildo has joined #nixos
<elvishjerricco> tim_nixos: You need to use the cc wrapper. e.g. check out the difference between `clang` and `clang-unwrapped` in pkgs/top-level/all-packages.nix
<tim_nixos> thanks, will do :)
<jackdk> https://github.com/endgame/nixpkgs/commit/3a46a2eadc9101aadd610409fed7889b0102efbb is what I currently have, but it is still not linking on darwin
init_6 has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9c96d120aa7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jtojnar has quit [Read error: Connection reset by peer]
<LnL> jackdk: oh, the ar error is another issue
<qyliss^work> Is that the postgres ranlib one?
<jackdk> no, I found the postgres ranlib one chasing this. It's been a !FUN! week :-)
<qyliss^work> oh, right
<jackdk> tyvm for your work overnight, btw
<qyliss^work> are you endgame?
<jackdk> on gh yea
<qyliss^work> ah cool
<{^_^}> [nixpkgs] @Mic92 merged pull request #51142 → postgresql: disable parallel building on Darwin → https://git.io/fpgzR
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpgQS
romildo has quit [Quit: Leaving]
vk3wtf has joined #nixos
<azazel> how can I change the group of the usb devices created in /dev/usb/* so that i can share them with a virtualbox machine?
<jackdk> qyliss^work ugh, work firewall doesn't let me smtp out, I'll do it from a real mailer when I get home
<Mic92> azazel: udev rules maybe?
<qyliss^work> eww
<azazel> Mic92: I immagine you're right, but how to set them in nixos, is there a clear "nixos way" to do that?
<azazel> I'm checking the manual now...
sgillespie has joined #nixos
<sgillespie> Howdy, I just repaired my fs due to some errors
<sgillespie> Now I'm getting a few warnings
<clever> sgillespie: nix-store --verify --check-contents
<sgillespie> Faster than I could paste it
drakonis1 has joined #nixos
<Mic92> well conditioned
<tim_nixos> elvishjerricco: can you please give me another hint? I don't understand how to use the cc wrapper..
<elvishjerricco> tim_nixos: What don't you understand?
<tim_nixos> well, what it is in the first place :D then what it does and how I can use it in my situation
<azazel> Mic92: thanks, it seems strange tough that a similar config insn't in place when config.virtualisation.virtualbox is enabled
<elvishjerricco> tim_nixos: there's a function somewhere in nixpkgs whose precise name escapes me at the moment (something like wrapCC maybe?) that takes a compiler derivation and returns a derivation that builds a wrapper script that pass system libraries to the original compiler, among other things
dbmikus_ has joined #nixos
jbaum98 has quit [Quit: Connection closed for inactivity]
<qyliss^work> It's wrapCC, yeah
<elvishjerricco> If you look at the definitions of clang and clang-unwrapped, you'll see an example of how to do it
rprije has quit [Ping timeout: 272 seconds]
<tim_nixos> elvishjerricco: thanks for the explanation. I did not find a definition of clang-unwrapped unfortunately
<elvishjerricco> tim_nixos: It's in all-packages.nix I think. It'll point you to another file that defines llvmPackages, which is where it's extracted from
<sgillespie> unbelievable, it fixed all my warnings; Thanks clever
<tim_nixos> thanks :) will just search for it in the repo then..
<{^_^}> [nixpkgs] @dtzWill opened pull request #51153 → yaru: init at 18.10.7 → https://git.io/fpg77
<delroth> jackdk: on which filesystem did you reproduce the postgresql parallel build issue? hfs+ or apfs or something else?
<clever> delroth: have you heard of disorderfs?
<qyliss^work> There's no clang-unwrapped package at the top level
<Mic92> there is llvmPacakges.clang-unwrapped afaik
<qyliss^work> yeah
<delroth> pretty sure even disorderfs won't cause open(O_CREAT)/close/open(O_RDONLY) to fail on the 2nd open
<delroth> which seems to be what's happening in this "parallel build issue"
<delroth> (from reading the cctools code)
<sgillespie> I get a bunch of expected/actual hash messages in `nix-store --verify --check-contents`, and `warning: not all errors were fixed`
<clever> delroth: related, stack based builds on windows can fail in parallel, because the package-info.d locking is stupid
<sgillespie> But I suppose that seems fairly safe?
pie__ has joined #nixos
* delroth is kind of annoyed at the fact that we just disable parallel build without understanding the issue, making things slower for everyone and not properly fixing the problems upstream
<clever> sgillespie: youll want to either delete the corrupt paths (nix-store --delete /nix/store/foo) or repair them (nix-store --repair-path /nix/store/foo), dont use force with delete
pxc has quit [Quit: WeeChat 2.3]
pie_ has quit [Remote host closed the connection]
<qyliss^work> delroth: you're still welcome to investigate the issue though?
<delroth> I am investigating it :)
<jackdk> delroth: I'm debugging on someone else's machine; they said apfs
<qyliss^work> This way, the issue isn't preventing people using postgres, but can still be investigated
<delroth> yeah, ideally this would have been caught before being pushed to master
<{^_^}> [nixpkgs] @dtzWill merged pull request #51125 → gmime3: 3.2.1 -> 3.2.3 → https://git.io/fpgO4
rprije has joined #nixos
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fpg7x
<delroth> but I guess it's pseudorandom so...
<qyliss^work> I'm curious whether it's just one version of postgres, or all of them
<qyliss^work> eg if we can't get it in postgresql11, that gives us something to bisect
<qyliss^work> although impossible to know for sure whether we're just not getting it due to randomness
<LnL> jackdk: hopefully that gets you on the right track
carlosdagos has joined #nixos
* LnL -> bed
<{^_^}> [nixpkgs] @Ekleog pushed 3 commits to staging: https://git.io/fpg5U
<jackdk> thanks LnL, sleep well.
<{^_^}> [nixpkgs] @Ekleog merged pull request #46056 → binutils: use shared libs → https://git.io/fABSz
<{^_^}> [nixpkgs] @dtzWill merged pull request #51120 → libical: disable parallel check, fix → https://git.io/fpgkt
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fpg5I
<tim_nixos> elvishjerricco: there seems to be no 'wrapCC' in NixOS/nixpkgs: https://github.com/NixOS/nixpkgs/search?q=wrapCC&unscoped_q=wrapCC
<sgillespie> verifying again
<tim_nixos> qyliss^work: thanks, I just saw your link, will check that :)
<elvishjerricco> tim_nixos: I don't trust github's search :P It's missed many times for me
<tim_nixos> yeah, true that :D
<qyliss> It doesn’t like the size of nixpkgs
<gchristensen> search.nix.gsc.io!
<elvishjerricco> tim_nixos: ctrl+f in the all-packages.nix file
<elvishjerricco> Or that
<clever> gchristensen: or grep :P
<gchristensen> grep is harder to link
<qyliss> Oh that’s handy
<sgillespie> Presumably, I would get the same effect via nix-collect-garbage, then repair all the paths?
<infinisil> ripgrep!
<clever> sgillespie: yeah, but nix-collect-garbage deletes things that arent corrupt as well (but only un-needed ones)
<infinisil> Using it all the time for my local nixpkgs
<gchristensen> indexed trigrams!
<tim_nixos> I'm using rg ;) but I don't have a local clone of the repo (yet)
<sgillespie> gchristensen: Pure gold
vk3wtf has quit [Ping timeout: 252 seconds]
bbarker_home has quit [Remote host closed the connection]
<qyliss> I like git grep
<sgillespie> git grep searches all history, no?
dbmikus_ has quit [Quit: WeeChat 2.3]
<qyliss> No other fancy grep replacement has ever handled the edge-casey gitignore files ive thrown at it
<sgillespie> er, reachable from the current commit
<qyliss> no, just the working tree
<qyliss> By default at least
<qyliss> It’s just a nice grep replacement that understands gitignores and stuff
<infinisil> ripgrep respects .gitignore, but I'm not sure how it's implemented
<qyliss> I remember ag tried to but failed badly on Homebrew
<{^_^}> [nixpkgs] @Mic92 opened pull request #51154 → Various cross-compilation fixes → https://git.io/fpg5E
Growpotkin has joined #nixos
<Growpotkin> hey does anybody know which package has mkfs?
<Growpotkin> I need to format a flash drive
<jackdk> depends on the file system
<elvishjerricco> clever: What is disorderfs?
<Growpotkin> exfat
mconstant has joined #nixos
<jackdk> ,locate mkfs.exfat
<elvishjerricco> growpotkin: I think it's just pkgs.exfat, isn't it?
<{^_^}> Found in packages: exfat-utils
<sgillespie> I usually `find ... \! -path ./.git/\* ...`, your's is better
<Growpotkin> thank you
<mconstant> having trouble getting ssh working
<Ralith> rg is nice
<Growpotkin> yeah I was just hoping for the best with the pkgs page online
<jackdk> if I try it on my nixos bash it says `exfat` not `exfat-utils`, FWIW
<{^_^}> [nixpkgs] @Ekleog pushed 6 commits to release-18.09: https://git.io/fpg5P
mconstant has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Ekleog merged pull request #51092 → [18.09] php: 7.2.10 -> 7.2.12, 7.1.22 -> 7.1.24 (CVE-2018-17082) → https://git.io/fpzIq
goibhniu has quit [Ping timeout: 250 seconds]
<tim_nixos> qyliss^work: I already stumbled upon that nix package definition when researching earlier, do I have to create a derivation now and put this in a shell.nix?
<tim_nixos> qyliss^work: and thanks for your help btw :P
<Growpotkin> This is actually a good segway into another question; how do y'all usually query for packages?
<infinisil> jackdk: Yeah, the cache used by the bot is a bit old, I should set up some auto-updating for it
<sgillespie> FWIW grep also has `--exclude-standard` which respects gitignore
<Growpotkin> I am always going to the packages webpage which feels ridiculous
tathougies has quit [Quit: Leaving.]
<Growpotkin> I know there is some nix-env -fjaseipj silliness but I of course never remember the flags or syntax
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fpg5d
<simpson> growpotkin: I usually try names I know from other distros like Debian and Fedora, I grep my local nixpkgs, and I'll ask the bot here if all else fails.
<simpson> growpotkin: Also, nix-repl is extremely useful.
<Growpotkin> I want to hook it up to FZF
<Growpotkin> THE FUTURE of fuzzy query technology!
ottidmes has joined #nixos
<infinisil> growpotkin: Probably the best solution nowadays is to use `nix search`, but I still just ripgrep through nixpkgs to find stuff, which has the added bonus of finding related modules or docs
<tim_nixos> growpotkin: that would be nice :D
<ottidmes> is there a faster way to get from hash to actual file name than: find /nix/store -name 'pd3xx55jjik53gvbyrs4h0him03l3wah-*' -print -quit
<Growpotkin> whoa I had no idea "nix search" was a thing
<sgillespie> I copy the output of `nix-env -qaP` to /tmp and then grep/awk it. Feels equally ridiculous
<infinisil> growpotkin: nix search supports a json output, could pipe that through jq, and then to fzf :)
<Growpotkin> why is that not plastered at the top of the manual? lol
<qyliss> tim_nixos: I am at this point too sleepy to have a good answer, but I’m glad I helped and hope somebody else can help you figure it out :)
<Growpotkin> praise, ty, bless
<qyliss> I’ve never had much luck with nix search
<qyliss> I use the repl
<Growpotkin> oh wow I ran a query like a minute ago and am now realizing that its still searching lol
<Mic92> I use the zsh completion
<tim_nixos> qyliss: alright, thanks for the support! have a good night :)
<Growpotkin> I forget how dense the package base is
<Mic92> nix-shell -p foo<TAB>
<samueldr> if you do not have an aversion to web interfaces, https://nix.samueldr.com/explorer
<{^_^}> [nixpkgs] @Ekleog merged pull request #49633 → pulumi: init at 0.16.2 → https://git.io/fxx0s
<infinisil> ottidmes: Um, why you only have the hash in the first place? A derivation is uniquely defined by its full name, not only the hash part. Whoever stripped the name from it shouldn't do that
rprije has quit [Ping timeout: 268 seconds]
virus_dave has joined #nixos
wladmis has left #nixos [#nixos]
<ottidmes> infinisil: it is? I always thought it was just the hash, the name being there for readability sake
<Mic92> my 48 cores are bored when building rustc
<Mic92> They could parallalize the build more.
<infinisil> ottidmes: I mean, it technically is, but there's no real reason to strip the name still
<infinisil> (I think at least)
<ottidmes> infinisil: I am just cleaning my config and going trough all my helper functions, and wanted to cover all my bases for my nix-store-path function that returns a valid path or returns 1
<infinisil> Why would you need a helper function that returns a store path for a hash?
<sgillespie> What I don't understand is `nix search busybox` and `nix-env -qaP busybox` give 2 totally different results
<infinisil> ottidmes: As an answer to your actual question: I don't know of an easier way than to just find /nix/store
<sgillespie> Ah, I guess I just needed to update the cache
<ottidmes> infinisil: ok, too bad, ah well, at least it works
<infinisil> Why do you need it??
<infinisil> I'm seriously wondering
<ottidmes> infinisil: relax! I am using it for my interactive shell helper functions, any function that accepts a nix path, I put it first through nix-store-path, that tries to convert it to a valid path, and checks for its existance
<infinisil> Sorry, didn't mean to sound stressed :P
steshaw has joined #nixos
<infinisil> I still don't get it but anyways
<ottidmes> infinisil: your instance of me answering that question and double question marks, made me interpret it that way
sgillespie has quit [Quit: leaving]
<ottidmes> infinisil: but actual use cases, what if I got and old hash of a previous build (running nix-build again would result in other hash because of changes made afterwards) and I want to inspect the contents of said hash in the store
<infinisil> ottidmes: Well if you got the old hash then you must also have the old hash+name, right?
<gchristensen> actually the hash part is the address in the binary cache for the narinfo
<ottidmes> infinisil: not per se, but you are not getting the reason: because I want to make it as easy for myself as possible, thats why, like I said, covering all basis
<gchristensen> example, infinisil, ottidmes: https://gist.github.com/grahamc/e050a1bd21d5349bf0e66350ee6dfada
<ottidmes> infinisil: another one would lazy copy pasting
<infinisil> Hmm okay, there is a point, not one that convinces me, but still a point :P
<ottidmes> basically because I can imagine use cases, so why not include it, its 2 lines of shell
muvlon has joined #nixos
Growpotkin has quit [Quit: WeeChat 2.0]
tim_nixos has quit [Quit: Page closed]
<muvlon> hi #nixos!
rprije has joined #nixos
Rusty1 has joined #nixos
<lassulus> does anyone use purescript under nixos? I can't get it to compile under unstable or 18.09
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpgFt
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.2]
<muvlon> what's the proper way to configure dependencies between systemd targets/units
thc202 has quit [Ping timeout: 246 seconds]
cyounkins has quit [Ping timeout: 240 seconds]
<azazel> muvlon: see https://nixos.org/nixos/options.html#services.%3Cname%3E.requiredby and company
<azazel> or .wantedBy
muvlon has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Ekleog pushed commit from @andrew-d to staging-next « libtiff: 2018-11-04 -> 4.0.10 »: https://git.io/fpgFN
<ottidmes> infinisil: BTW without nix support, this is so much faster than find: local path_name=$(bash -c "echo /nix/store/$1-*"); [[ -e $path_name ]] && echo "$path_name" (i.e. using glob rather than find)
<{^_^}> [nixpkgs] @endgame opened pull request #51155 → postgresql: Remove static libs using host platform extension → https://git.io/fpgbJ
<infinisil> > firefox.name
<{^_^}> "firefox-61.0.2"
<infinisil> > firefox.name
<{^_^}> "firefox-63.0.3"
cyounkins has joined #nixos
<infinisil> The bot will now follow master, updated every minute
<lassulus> it magically changed?
<lassulus> ah cool
<infinisil> (Just restarted it with the changes for that)
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to release-18.09: https://git.io/fpgbu
<{^_^}> [nixpkgs] @Ekleog closed pull request #51105 → libtiff: 2018-11-04 -> 4.0.10 → https://git.io/fpzzV
cyounkins has quit [Ping timeout: 246 seconds]
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
<ottidmes> infinisil: I assume you load the repl with <nixpkgs> (or the path to your master checkout), could you maybe add a file that basically does: builtins // lib? Or do you disagree?
<infinisil> ottidmes: Nah, that's one of the thing I've wanted to fix for a while, I could just manually do it for now though
<infinisil> I have a whole nother repl fit for here I've been writing, will try to incorporate it soon
<ottidmes> infinisil: ok cool
<infinisil> It has lib always in scope now too (which includes most builtins)
<infinisil> > hasPrefix "/" "/foo"
<{^_^}> error: undefined variable 'hasPrefix' at (string):207:1
<infinisil> *should*
<infinisil> > hasPrefix "/" "/foo"
<{^_^}> true
<infinisil> There we go
<ottidmes> yay!
<ottidmes> infinisil++
<{^_^}> infinisil's karma got increased to 44
<infinisil> Unfortunately it doesn't work in definitions, which is one major flaw of the current repl
<infinisil> > x = hasPrefix "/" "/foo"
<{^_^}> error: undefined variable 'hasPrefix' at (string):197:6
cyounkins has joined #nixos
<ottidmes> I did not know that, thats unfortunate :(
tdeo has joined #nixos
<{^_^}> [nixpkgs] @ElvishJerricco opened pull request #51156 → Backport: Ghc 8.4.4 default 18.09 → https://git.io/fpgbh
<tdeo> hi, is there a way to set polybar to be built with mpd support?
<elvishjerricco> Only some users can instruct ofborg to build packages, right?
<elvishjerricco> Like I can't do it on my own PR?
<samueldr> exactly, though I think you're known enough to at least be approved for known users https://github.com/NixOS/ofborg
<ottidmes> tdeo: you plan to install it in your systemPackages? if so, you can do this: environment.systemPackages = with pkgs; [ (polybar.override { mpdSupport = true; }) ]; (or something similar)
<tdeo> thanks!
<{^_^}> [nixpkgs] @marsam opened pull request #51157 → gitAndTools.git-reparent: init at 2018-11-27 → https://git.io/fpgNm
<ottidmes> tdeo: if it is installed via some other module and you want to overwrite polybar everywhere with mpd support, you can do: nixpkgs.overlays = [ (self: super: { polybar = super.polybar.override { mpdSupport = true; }; }) ];
<elvishjerricco> gchristensen: Can I be made a known user for ofborg?
<gchristensen> send a PR! :)
<elvishjerricco> gchristensen: Oh it's just a file in that repo?
<gchristensen> look at any recent PR :)
<elvishjerricco> gchristensen: Sweet. What's the difference between known and extra-known?
<gchristensen> make yourself extra-known. the "known" list is auto-generated
<elvishjerricco> gchristensen: Okie dokie
pie__ has quit [Ping timeout: 268 seconds]
<qyliss> delroth++ for figuring out that Postgres parallelism issue
<{^_^}> delroth's karma got increased to 1
hellrazo1 has joined #nixos
<teto> seems like stack hardcodes the ghc compiler ? it references ghc802 but this is not available on nixpkgs anymore. How can I tell stack to use my current ghc compiler plz ? https://github.com/NixOS/nixpkgs/pull/51050#issuecomment-442293992
hellrazor has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/92e700d2971 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<ottidmes> teto: I have some potential hacky solutions if you are interested
<ottidmes> teto: make an overlay pointing haskell.compiler.ghc802 to whatever you want
<teto> ottidmes: yep I've been blocked for some time on this (first finding out that the error was stemming from stack. Why the hell would they hardcode this ?)
<teto> ottidmes: hum sounds good
<teto> haskell ecosystem is so weird
<ottidmes> teto: or even more hacky, LD_PRELOAD stack with a library that overwrites the necessary glibc functions that are being called with ghc802 and change the behavior there (definite last resort choice though)
<ottidmes> teto: just thought of another solution, which is probably the least hacky (least potential negative consequences), wrap stack with a different NIX_PATH and another value for nixpkgs= where you then can customized it just for that particular usage
rprije has quit [Ping timeout: 250 seconds]
<teto> ottidmes: would you have a concrete example of how to override ghc802 ? I can't manage to get it right
<teto> (I find your first overlay solution the cleanest btw)
rprije has joined #nixos
marusich has joined #nixos
<lovek323> nixos is running `mysqld`... but I can't work out why
<lovek323> is there any way of knowing where that's coming from?
<ottidmes> teto: something like this maybe: haskell = super.haskell // { compiler.ghc802 = super.haskell.compiler.ghc843; };
<{^_^}> [nixpkgs] @samueldr opened pull request #51158 → Fix FAT32 partition issues on sd-image-based images → https://git.io/fpgAb
<ottidmes> teto: nope this works: haskell = super.haskell // { compiler = super.haskell.compiler // { ghc802 = super.haskell.compiler.ghc843; }; };
<teto> ottidmes: thanks I used: compiler = prev.haskell.compiler // { ghc802 = prev.haskell.compiler.ghc844; };
<teto> I'll update the github issue
<gchristensen> lovek323: ps auxfg | grep mysqld
acowley has joined #nixos
Supersonic has quit [Ping timeout: 268 seconds]
<acowley> Can anyone offer any suggestion as to how one ought to use the pharo derivation? Running it asks for an image file, but I have none. The pharo-launcher derivation crashes on startup (it is unmaintained in nixpkgs). If I try to download Pharo from their web page, I can run their image with a nixpkgs pharo executable... but it just gives me a blank window.
<samueldr> timclassic: rest assured, your fingers got it right, looks like there was an issue with the boot partition on those images
<lovek323> lol. yep. thanks. it is run by docker... I am losing my mind :)
acarrico has quit [Ping timeout: 245 seconds]
<gchristensen> uid 999 seemed suspicious :) good
<ottidmes> teto: you could also do it like this: haskell = super.lib.recursiveUpdate super.haskell { compiler.ghc802 = super.haskell.compiler.ghc843; };
<teto> raah "I don't know how to install GHC on your system configuration, please install manually" even though I have --nix
Supersonic has joined #nixos
<ottidmes> teto: maybe it expects it already being built, try running the expression it is running yourself
<teto> ottidmes: -v gives 2018-11-28 12:08:44.334453: [debug] Found already installed GHC builds:
<teto> I don't know how to install GHC on your system configuration, please install manually
<{^_^}> [nixpkgs] @samueldr opened pull request #51159 → [18.09] mtools 4.0.18 -> 4.0.21 → https://git.io/fpgxl
<acowley> I found a zip file among the things one downloads from pharo.org and it had an image I can use! Hooray!
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
rprije has quit [Ping timeout: 246 seconds]
sigmundv_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @samueldr merged pull request #51159 → [18.09] mtools 4.0.18 -> 4.0.21 → https://git.io/fpgxl
<{^_^}> [nixpkgs] @samueldr pushed 6 commits to release-18.09: https://git.io/fpgpn
<joehh> /
technoidX has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.2]
layus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @develCuy opened pull request #51161 → Palemoon: 27.9.4 -> 28.2.1 → https://git.io/fpgp1
jperras has quit [Quit: WeeChat 2.2]
layus has joined #nixos
<jasongrossman> acowley: Hooray!
marusich has quit [Ping timeout: 268 seconds]
<develCuy> tilpner: finally managed to publish my pull request: https://git.io/fpgp1
<infinisil> Does anybody happen to know how I can get a Rust build with debug symbols enabled?
<infinisil> Mic92: You might know this since you're involved with rust a lot
<infinisil> Specifically I'm trying to get a backtrace with symbol names when I do `RUST_BACKTRACE=1 nix-index`
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #51162 → z3: 4.8.1 -> 4.8.3 → https://git.io/fpgh0
bigvalen has quit [Quit: ZNC by prozac - http://znc.sourceforge.net]
cyounkins has quit [Ping timeout: 240 seconds]
<ekleog> infinisil: from a nix build or from a cargo build? from a cargo build there should be debug symbols by default unless `--release` is passed ; for a nix build I guess it depends on whether you're using buildRustCrate or carnix
<infinisil> Aha! Just got it
<infinisil> Just needed noStrip = true; in a nix build
<infinisil> and nix-index does a debug build by default even in release (specified in its Cargo.toml file)
<{^_^}> [nixpkgs] @Ekleog merged pull request #51157 → gitAndTools.git-reparent: init at 2018-11-27 → https://git.io/fpgNm
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fpghX
<ekleog> infinisil: nice :)
<{^_^}> [nixpkgs] @veprbl merged pull request #50079 → vscode-extensions.ms-vscode.cpptools: 0.19.0 -> 0.20.1 → https://git.io/fpLo7
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fpghh
<infinisil> Arghh, I still have no idea why it fails
<infinisil> It only fails when I run it in systemd
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> infinisil: do you have coredumpd enabled?
<infinisil> Error is "IO error: No such file or directory (os error 2)"
<clever> infinisil: does it fail under systemd-run ?
<infinisil> No and no idea
<infinisil> clever: I'll try with systemd-run (if I can figure out how to use it)
<edef> is NIX_PATH set in that env
hedning has quit [Quit: hedning]
<edef> or, hm, actually, i misparsed how this thing works
<clever> infinisil: other option is to set systemd.services.foo.script = "strace -ff -o /tmp/logfiles thing";
<{^_^}> [nixpkgs] @kalbasit opened pull request #51163 → aminal: init at 0.7.4 → https://git.io/fpgjZ
<edef> though running things with an empty env often reveals hidden env deps (env -i)
<edef> i really ought to give error_chain a shot
<infinisil> clever: The strace only revealed a read to /dev/null
<infinisil> somewhere
<infinisil> edef: Hmm, I'll try env -i
<infinisil> edef: Yeah, can reproduce failure with env -i
<infinisil> Now to try to figure out which env var it is
<clever> `env` to print them all, `unset` to delete em one by one
<edef> env -u FOO also lets you unset individual ones
marusich has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/db561c90ef3 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
srl295 has quit [Quit: Connection closed for inactivity]
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #51164 → sqlcheck: init at 1.2 → https://git.io/fpgj7
marusich has quit [Ping timeout: 268 seconds]
vk3wtf has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/92e700d2971 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<infinisil> Aha
<infinisil> edef: clever: It was an impurity, it took the nix binaries from /run/current-system/sw/bin
<infinisil> But it never showed anything of this is the strace
Mateon3 has joined #nixos
Brejic has joined #nixos
<infinisil> Neither in the backtrace or the source
<infinisil> Really weird
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon3 is now known as Mateon1
<edef> infinisil: it'd normally stat the directories in PATH
jtojnar has joined #nixos
<clever> infinisil: was that with -f ?
<infinisil> Ahhh
<infinisil> Nope
<clever> i prefer `-ff -o logfiles` since it makes `logfiles.<pid>`
<clever> the interleaving of `-f` makes things a lot harder to read
joehh has quit [Ping timeout: 250 seconds]
<clever> [pid 25444] execve("nix-env", ["nix-env", "-qaP", "--out-path", "--xml", "--arg", "config", "{}", "--file", "nixos-18.09/repo"], 0x7ffc3d2c5078 /* 64 vars */) = -1 ENOENT (No such file or directory)
<clever> infinisil: i think its failing to run nix-env due to no PATH
hamishmack has joined #nixos
<infinisil> Yeah I already know :P
<infinisil> Adding nix to PATH makes it succeed
<clever> makeWrapper with yep
<infinisil> Ah right, should probably fix the nix-index build to account for that
mbrgm has quit [Ping timeout: 252 seconds]
<clever> oh right, patch it to bake a path in, that also works
vk3wtf has quit [Ping timeout: 268 seconds]
mbrgm has joined #nixos
epicmetal has quit [Ping timeout: 246 seconds]
Brejic has quit [Quit: Quit]
<kaychaks[m]> I'm in macOS. `nix-shell -p haskell.compiler.ghc862` is failing with error `ValueError: unknown locale: UTF-8` (same happening for 861 but 844 is fine). My env vars for `LC_ALL, LANG, LC_CTYPE` are all `en_US.UTF-8` (which is the common sol. I found with some quick Google searches). Any idea ?
<{^_^}> [nixpkgs] @Infinisil opened pull request #51165 → nix-index: Wrap with nix-env in PATH → https://git.io/fp2vf
<infinisil> clever: ^
rprije has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6ea49f6f863 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
virus_dave has quit [Quit: virus_dave]
reinhardt has joined #nixos
orivej has joined #nixos
<clever> infinisil: and approved!
ent has quit [Ping timeout: 244 seconds]
<infinisil> clever: How I found out in the end:
<infinisil> for f in /run/current-system/sw/bin/*; do p=$(dirname $(readlink $f)); echo $p; PATH=$p /nix/store/vwq6y1b8icwrphkdxffhmkkpavdppacz-nix-index-0.1.2/bin/nix-index --nixpkgs nixos-18.09/repo --db nixos-18.09/nix-index; done
ent has joined #nixos
<infinisil> Failure is fast, so I just had to wait a bit until it stopped on the nix path :P
<clever> infinisil: strace was likely goinggg to be faster
<clever> but i find i sometimes jump to stracce too quickly, lol
<infinisil> If I *knew* about strace it would've been faster
<infinisil> About -f specifically, and how to find the bad line
<clever> i just ctrl+f'd for enoent
<clever> and there was one hit in the gist, about 50% down, all by itself
<infinisil> I'll remember that
endformationage has quit [Ping timeout: 246 seconds]
markus2341 has quit [Ping timeout: 245 seconds]
<infinisil> Ahhh darn
<infinisil> I went through all this trouble in the hopes of being able to automate nix-index updates on my server
<infinisil> For the ,locate bot function
<infinisil> But now it turns out that my server doesn't have enough memory to even do a nix-index :/
markus2341 has joined #nixos
<infinisil> Very much looks like it, I see lots of brk syscalls being made, and it's been stuck on one for a while now
Rusty1 has quit [Quit: Konversation terminated!]
klntsky has quit [Ping timeout: 256 seconds]
<infinisil> Yup :(
<worldofpeace> This is devistating for me personally, as I've never bothered using nix-index on my machine for the same reason, and would just pm your bot :D
klntsky has joined #nixos
vk3wtf has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
tomberek has joined #nixos
mmlb has joined #nixos
<tomberek> anyone familiar with how building the manual creates cross-links to github vice a filepath?
jtojnar has quit [Quit: jtojnar]
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/9c96d120aa7 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
tomberek has quit [Ping timeout: 256 seconds]
<infinisil> worldofpeace: That's a good point
<{^_^}> [nixpkgs] @worldofpeace pushed to master « gitAndTools.git-reparent: correct version »: https://git.io/fp2fb
<infinisil> I'll probably get a VPS with more memory for it
clever has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 246 seconds]
palo5 has joined #nixos
<worldofpeace> infinisil: Memory is nice and cheap nowadays so it shouldn't bite too much. Though a sponsored hosting would be cool
palo4 has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
isHavvyGhosting has joined #nixos
isHavvy has quit [Ping timeout: 268 seconds]
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bjornfor opened pull request #51166 → nixos/jenkins-job-builder: improve error handling and add accessTokenFile option → https://git.io/fp2Us
mayhewluke has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #51167 → ocamlPackages.frontc: 3.4 -> 3.4.1 → https://git.io/fp2UC
aither has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9deeaa225b5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
lnikkila has joined #nixos
equivrel has quit [Ping timeout: 244 seconds]
worldofpeace has quit [Ping timeout: 246 seconds]
craige[m] has joined #nixos
[Leary] has joined #nixos
xelxebar has quit [Quit: ZNC 1.7.1+deb2~bpo9+1 - https://znc.in]
Lears has quit [Read error: No route to host]
xelxebar has joined #nixos
xelxebar has quit [Client Quit]
slyfox_ is now known as slyfox
xelxebar has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
lnikkila has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
hyper_ch2 has joined #nixos
pita has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51087 → librepcb: 20181031 -> 0.1.0 → https://git.io/fpu5n
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp2Ta
metastance has joined #nixos
<Ralith> anyone know how to set up a bluetooth serial port under nixos 18.09? it seems like bluez5 removed all the necessary tools...
vasiliy_san has quit [Quit: Connection closed for inactivity]
technoidX has quit [Ping timeout: 250 seconds]
Ariakenom has quit [Quit: Leaving]
kisik21 has joined #nixos
orivej has joined #nixos
kisik21 has left #nixos [#nixos]
<{^_^}> [nixpkgs] @kalbasit pushed 3 commits to update/nm-1.12.4: https://git.io/fp2kh
<{^_^}> [nixpkgs] @kalbasit pushed 0 commits to update/nm-1.12.4: https://git.io/fp2Ie
troydm has quit [Ping timeout: 246 seconds]
lnikkila has joined #nixos
<MasseR> I remember seeing a configuration value that sets the default shell for nix-shell (wanting to replace bash with zsh in nix-shell environment), but I can't remember what it was
reinhardt has quit [Ping timeout: 268 seconds]
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
pkx3 has joined #nixos
pkx3__ has quit [Read error: Connection reset by peer]
reinhardt has joined #nixos
<sphalerite> MasseR: I don't think there's such a thing, nix-shell will always use bash because the stdenv uses lots of bash-specific features
<sphalerite> MasseR: you can do stuff like `nix-shell --run 'exec zsh'`
Tucky has joined #nixos
troydm has joined #nixos
<MasseR> Yeah I'm usually doing 'nix-shell --run zsh'
reinhardt has quit [Ping timeout: 268 seconds]
thedavidmeister has joined #nixos
<thedavidmeister> hi
<thedavidmeister> how could i get nodejs to use a specific version in nix-shell?
<adisbladis> thedavidmeister: There are separate packages for 6, 8 and 10 in unstable at the moment: nodejs-6_x, nodejs-8_x
<adisbladis> You get the idea I think
<thedavidmeister> mmm, but i need 8.13.0 exactly
<adisbladis> thedavidmeister: You can achieve that via an override
<thedavidmeister> tell me more :)
<ekleog> either pin nixpkgs to a version that suits you (see nixos wiki research “pinning”) or override (see nixpkgs manual section “overriding”)
<adisbladis> thedavidmeister: Something like https://ptpb.pw/Vlfy/nix
<adisbladis> You need to figure out the sha on your own, the rest should work
reinhardt has joined #nixos
pi3r has joined #nixos
<thedavidmeister> ah ok amazing
<thedavidmeister> yeah i foudn the bit in the manual but fighting syntax
<thedavidmeister> i'll try this
<adisbladis> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<adisbladis> thedavidmeister: ^
<{^_^}> [nixpkgs] @srhb merged pull request #51107 → valgrind: Apply upstream patch for Makefile race in coregrind → https://git.io/fpzro
<{^_^}> [nixpkgs] @srhb pushed 2 commits to staging-next: https://git.io/fp2q3
<teto> ottidmes: not sure if I thanked you properly for your haskell help this morning. So thanks. I spent the rest of the day fighting stack not detecting ghc and other funny things but managed to reach my goal.
johanot has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @nyanloutre opened pull request #51168 → jackett: 0.10.446 -> 0.10.471 → https://git.io/fp2qD
goibhniu has joined #nixos
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @nyanloutre opened pull request #51169 → [18.09] jackett: 0.10.434 -> 0.10.471 → https://git.io/fp2mT
bigvalen has joined #nixos
<tilpner> develCuy - Yay! \o/
<{^_^}> [nixpkgs] @Mic92 closed pull request #26206 → buildRustPackage: inherit preUnpack → https://git.io/vHCnw
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to staging: https://git.io/fp2Y0
<{^_^}> [nixpkgs] @vcunat merged pull request #50249 → libjpeg-turbo: 1.5.3 -> 2.0.1 → https://git.io/fpqmL
boogiewoogie has joined #nixos
<thedavidmeister> abisbladis++
<{^_^}> abisbladis's karma got increased to 1
<thedavidmeister> works great thanks
<thedavidmeister> ekleog++
<{^_^}> ekleog's karma got increased to 4
<ekleog> adisbladis++
<{^_^}> adisbladis's karma got increased to 6
<ekleog> ^ was a typo :°
<{^_^}> [nixpkgs] @veprbl closed pull request #32513 → [WIP] initial code drop for Gurobi solver → https://git.io/vbBTE
sigmundv_ has joined #nixos
thc202 has joined #nixos
the-kenny has quit [Read error: Connection reset by peer]
<Taneb> Is there a way to add stuff to a build that doesn't change the build but can be discovered from the JSON given to the command launched by Hydra's RunCommand plugin?
<{^_^}> [nixpkgs] @eburimu opened pull request #51170 → xfsprogs: fix cross compilation → https://git.io/fp2Oy
mmercier has joined #nixos
arjen-jonathan has joined #nixos
<srhb> Taneb: No.
<srhb> essentially you have outputs and products to play with, and altering either will change the hash.
arjen-jonathan has quit [Ping timeout: 250 seconds]
<Taneb> OK
arjen-jonathan has joined #nixos
<srhb> Thinking about it, you _might_ be able to hack something by changing the _name_ of the job, but encoding meaningful information there sounds really hacky :-P
<Taneb> Also, is there an easy way to get that JSON for an already-run build so I can experiment?
<srhb> Taneb: I think you juts curl the build endpoint, requesting JSON.
<{^_^}> [nixpkgs] @veprbl closed pull request #40084 → mosquitto: 1.4.15 -> 1.5 → https://git.io/vpomf
vk3wtf has quit [Ping timeout: 252 seconds]
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
arjen-jonathan has quit [Ping timeout: 250 seconds]
<Taneb> srhb: that looks like it's worked, thanks
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @eburimu opened pull request #51172 → swig: fix cross compilation → https://git.io/fp2GT
vidbina has joined #nixos
<moredhel> hi there, I'm wanting to install a custom haskell package for a project. I'm not 100% sure how to go about this though. I used cabal2nix to generate the dependencies and am now trying to do a nix-build -A project and I am having errors loads of errors pop up.
<moredhel> I'm following the format from the nur-packages repo: https://github.com/nix-community/nur-packages-template and am adding a package as specified in the example.
<moredhel> I assume cabal2nix is not generating a compatible expression, so I will need to change how it is being called.
<moredhel> the package in question is 'discord-haskell' which is present on hackage but not in the repos it seems
<Taneb> srhb: I think what I'll do is add the extra stuff as additional build outputs and just live with the hash changing
<srhb> moredhel: It's in unstable. :)
<srhb> Taneb: Sounds good :)
<srhb> moredhel: It's broken though. If you share your expression, maybe someone can help
<qyliss> MasseR: I use https://github.com/chisui/zsh-nix-shell. The caveat is that you don’t get access to the Bash functions Nix defines. But usually I only want those when debugging a package, and —pure gets me Bash anyway.
<{^_^}> [nixpkgs] @Mic92 merged pull request #50762 → Ntp default restrictions → https://git.io/fpCAo
<{^_^}> [nixpkgs] @Mic92 pushed commit from @reardencode to master « nixos/ntp: use upstream default restrictions to avoid DDoS (#50762) »: https://git.io/fp2ZT
ThatDocsLady has joined #nixos
<moredhel> I've uploaded the expression here:
<moredhel> I put up my modified version where I tried fiddling with the dependencies a little to try and get it to build
mayhewluke has quit [Ping timeout: 246 seconds]
<srhb> moredhel: That mkDerivation looks wrong. It doesn't know anything about libraryHaskellDepends.
<srhb> stdenv.mkDerivation, that is..
<moredhel> yep. I saw what I did wrong. it should be pkgs.haskellPackages.callPackage
<schopp0r> hm. I am just trying to compile nix again, this time with stuff installed from pkgsrc. for some reason, it requires libeditline ... and pkg-config cannot find that package, even though it is installed /o\
mayhewluke has joined #nixos
<moredhel> I just ran that and I'm getting dependency conflicts... I updated the gist
<srhb> moredhel: You'll have to change the deps there. You cannot possibly satisfy both those constraints.
<moredhel> yeah, it's the same error that is happening on unstable... would it be worth easing up on the restrictions a bit?
<srhb> moredhel: Yup.
<schopp0r> ok it works when setting the env-variables manually.
<moredhel> srhb: thanks, that did the trick. I did just completely remove the dependency restrictions on those three libraries. I assume I should figure out what versions I compiled against and make a PR against the upstream with that? that should then propogate down and fix the nixpkgs build
mbrgm has quit [Ping timeout: 240 seconds]
<srhb> moredhel: Something like that, yeah. Basically it's often just upper bounds that need a little lifting.
mbrgm has joined #nixos
<moredhel> thanks, will put that together now
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/fp2n2
<thedavidmeister> anyone know why a ledger nano s would not be picked up by a nixos machine?
<{^_^}> [nixpkgs] @Mic92 merged pull request #51172 → swig: fix cross compilation → https://git.io/fp2GT
<srhb> thedavidmeister: Picked up in what sense? Nothing in lsusb? No permissions?
<thedavidmeister> good question
<thedavidmeister> picked up as in metamask being able to find it
<thedavidmeister> which i suppose relies on those things
<thedavidmeister> oh interesting
<thedavidmeister> yeah it's like... mixed in with a whole bunch of irrelevant stuff
<thedavidmeister> but worth trying
<srhb> Otherwise more diagnosis is required to figure out what metamask needs and tries :)
<thedavidmeister> yeah that's fair
<thedavidmeister> ok, gimme a bit to try some things then
__monty__ has joined #nixos
<schopp0r> hm. hi again. so I am trying to compile nix, and it requires <editline.h>, but libeditline only has editline/readline.h
<srhb> schopp0r: It's in editline itself.
<srhb> ,locate editline.h
* srhb prods the bot
<srhb> Guess you'll have to take my word for it. :-P
<schopp0r> srhb: what do you mean by "editline itself"?
<srhb> s/libeditline/editline
<sphalerite> schopp0r: where are you finding this libeditline?
thedavidmeister has quit [Ping timeout: 256 seconds]
thedavidmeister has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
<thedavidmeister> ok, ledger working
<srhb> thedavidmeister: What was it? :)
<thedavidmeister> the udev extra rules
<srhb> \o/
<srhb> It's sad that psychic debugging is so much more satisfying than using actual knowledge to get stuff done. Being a human sucks. :-)
jluttine has joined #nixos
<schopp0r> sphalerite: I installed editline from pkgsrc
<sphalerite> schopp0r: what's pkgsrc again? Which OS/distro?
<schopp0r> sphalerite: it is the package tree of bsd.
<qyliss^work> It's from NetBSD
<qyliss^work> Also used on SmartOS
<sphalerite> schopp0r: oh boy, nix on BSD... That ought to be interesting :p
<qyliss^work> I have to write pkgsrc packages for work sometimes. It's not too bad (but nowhere near Nix).
init_6 has joined #nixos
<schopp0r> sphalerite: no, I compile it under linux. it is just the package collection.
<Mic92> qyliss^work: if you define a cross-target, then bsd is not far away :)
<sphalerite> schopp0r: ooooh right.
<srhb> Mic92: I imagine the sandbox might be tricky though?
<qyliss^work> We actually use it for SmartOS (Solaris), not BSD
<qyliss^work> but yes
<sphalerite> schopp0r: I'd suggest building nix with nixpkgs, not some other package repository
<sphalerite> schopp0r: nix even comes with a release.nix for building with nix, and a shell.nix for manual building :)
<sphalerite> schopp0r: potentially also a relevant question: why are you trying to build nix from source?
<Mic92> srhb: it is not as much code as one might think to have a sandbox ported to jails
<srhb> Mic92: Interesting!
<sphalerite> Mic92 knows things about the sandbox, he did a talk at nixcon about it :p
<srhb> I saw it :)
<srhb> (Sort of why I baited the question :-P)
<thedavidmeister> srhb++
<{^_^}> srhb's karma got increased to 26
<Mic92> ha my patch has been deployed to the travis community image has been deployed: https://travis-ci.com/nix-community/NUR/builds/92830504#L461
<{^_^}> [nixpkgs] @Mic92 merged pull request #51143 → spdlog: 0.14.0 -> 0.17.0 & 1.1.0 -> 1.2.1 → https://git.io/fpgas
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp2WC
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « pandoc: adapt postInstall hook to embedded-data-files build »: https://git.io/fp2Wa
<{^_^}> [nixpkgs] @peti pushed 9 commits to haskell-updates: https://git.io/fp2Wr
<{^_^}> [nixpkgs] @peti pushed 0 commits to haskell-updates: https://git.io/fp2Wy
<{^_^}> [nixpkgs] @peti pushed 6 commits to master: https://git.io/fp2WD
<{^_^}> [nixpkgs] @zimbatm merged pull request #48494 → xcpretty init → https://git.io/fxus7
<{^_^}> [nixpkgs] @zimbatm pushed commit from @nicknovitski to master « xcpretty: init at 0.3.0 (#48494) »: https://git.io/fp2l3
johnnyfive has quit [Quit: I go now.]
vidbina has quit [Ping timeout: 246 seconds]
<infinisil> ,locate editline.c
<infinisil> I broke something didn't I
<infinisil> > 1
<{^_^}> 1
<makefu> Anybody has a working configuration for setting up a chrooted sftp-only user in nixos?
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fp2lD
joehh has joined #nixos
<joehh> makefu: I've used this: https://paste.debian.net/1053544/
<joehh> not entirely happy with it as it requires creating the right directories before hand, but otherwise seems to work
<schopp0r> sphalerite: I have no root access on this machine, so I cannot use /nix as a store directory. I already tried to build nix with nixos, but I never managed to run it on another computer afterwards.
<sphalerite> schopp0r: if user namespaces are available, nix-user-chroot is a better option
<{^_^}> [nixpkgs] @markuskowa merged pull request #50503 → modularity: Document the ability to use non-files in imports → https://git.io/fpnAl
<{^_^}> [nixpkgs] @markuskowa pushed commit from @Baughn to master « modularity: Document the ability to use non-files in imports (#50503) »: https://git.io/fp28q
metastance has quit [Ping timeout: 250 seconds]
<sphalerite> schopp0r: if you can do `unshare -r` on the machine, user namespaces are available and it's the best way to get nix running there
<schopp0r> sphalerite: unshare: unshare failed: Operation not permitted
<infinisil> ,locate editline.c
<sphalerite> schopp0r: well that's not going to be fun then >.<
<{^_^}> Couldn't find in any packages
<joehh> makefu: I had this as an activation script to make the relevant directories and set permissions. I'm not currently using it (hence the commment chars), but can't remember if it was due to issues with the script or mounting the efs (and running out of time at the time)
<schopp0r> sphalerite: I already tried it several days ...
<sphalerite> schopp0r: if the pkgsrc package for editline isn't the right thing, then you're probably best off grabbing editline from the github repo someone mentioned earlier and buidling that yourself too
<sphalerite> schopp0r: or you could use proot as an alternative to user namespcaes, although I don't know how to do that and it has a performance impact
<sphalerite> schopp0r: oh right, actually the easiest option would be if you could get your admin to create /nix and give you ownership. Then you can use nix without any expensive hacks. Is that categorically not an option?
<schopp0r> sphalerite: that is categorically not an option, I already asked.
<schopp0r> sphalerite: I try to manually build readline now
<sphalerite> schopp0r: not readline, editline ;)
<v0|d> how do I generate the file pkgs/servers/x11/xorg/default.nix
<srhb> v0|d: What do you mean generate it? It's in nixpkgs.
<srhb> Oh
<srhb> I understand now :)
<srhb> v0|d: I'll guess it's related to generate-expr-from-tarballs.pl
<v0|d> no params?
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to release-18.09: https://git.io/fp28Q
<{^_^}> [nixpkgs] @Ekleog merged pull request #51156 → Backport: Ghc 8.4.4 default 18.09 → https://git.io/fpgbh
<srhb> v0|d: Take a look at the comment in the top of the file :)
<schopp0r> ah, before I forget it: is there a configure flag to disable tests? I tried --disable-test[{s,ing}], all three are not accepted.
<v0|d> srhb: .kk
mmercier has quit [Quit: mmercier]
<sphalerite> schopp0r: just don't run make installcheck
joehh has quit [Ping timeout: 272 seconds]
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
rprije has quit [Ping timeout: 246 seconds]
<infinisil> The bot now has the nixos-unstable and nixos-18.09 package set in addition to master
<srhb> infinisil: Example?
<infinisil> > deepEval [ pkgs.postgresql.name unstable.postgresql.name stable.postgresql.name ]
<{^_^}> [ "postgresql-9.6.10" "postgresql-9.6.10" "postgresql-9.6.11" ]
<srhb> infinisil: Thanks :) Neat.
<infinisil> :)
<infinisil> Should also stay up to date
locallycompact has joined #nixos
<locallycompact> Hi, how can I diagnose chromecast not working on google-chrome or chromium on nixos
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @bennofs opened pull request #51175 → Fix efivar cross compilation → https://git.io/fp2BT
<colemickens> locallycompact: you can cheat and disable the firewall short-term
<colemickens> theres an open issue about it
<locallycompact> how do I do that
<locallycompact> I have networking.firewall.enable = false; already in my conf
mmercier has joined #nixos
fusion809 has joined #nixos
<colemickens> oh, it worked for me after that, at least from Google Chrome.
<colemickens> I can't get Chromecast to work from Chromium in any platform.
fendor has joined #nixos
virus_dave has joined #nixos
<locallycompact> hrmm
<locallycompact> I'll try rebooting
slyfox_ has joined #nixos
<locallycompact> thanks
locallycompact has quit [Remote host closed the connection]
<infinisil> clever isn't here! Very strange
slyfox has quit [Ping timeout: 268 seconds]
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
<fendor> When using KDE, the command `ssh-add`, does not work by default, because the agent has not been started yet. On gnome, this worked by default. Do I have to add another service, or do I have to use anotther command?
virus_dave has quit [Quit: virus_dave]
<{^_^}> [nixpkgs] @peti opened pull request #51177 → pandoc: adapt postInstall hook to embedded-data-files build → https://git.io/fp2uU
thedavidmeister has quit [Ping timeout: 256 seconds]
<srhb> fendor: I think gnome keyring includes an ssh agent
<srhb> fendor: You can use openssh's with programs.ssh.startAgent
romanofskiWork has quit [Ping timeout: 250 seconds]
<fendor> srhb, I added that to the configuration.nix: `programs.ssh.startAgent = true;`
<fendor> srhb, but ssh-add does still not work
<{^_^}> [nixpkgs] @Twey opened pull request #51179 → pythonPackages.glom: init at 18.3.1 → https://git.io/fp2ze
<fendor> srhb, take it back, rebooting the pc fixed it
<fendor> sorry
pie__ has joined #nixos
acarrico has joined #nixos
philippD has joined #nixos
arjen-jonathan has joined #nixos
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
palo5 is now known as palo
cyounkins has joined #nixos
<srhb> fendor: I think probably a relogin would have done the trick, but yeah :)
<tilpner> To anyone searching for "error: writing to file: Connection reset by peer", try clearing ~/.cache/nix/tarballs
cyounkins has quit [Ping timeout: 250 seconds]
cyounkins has joined #nixos
erictapen has joined #nixos
metastance has joined #nixos
drakonis has joined #nixos
bbarker_home has joined #nixos
<bbarker_home> Would there be any forseeable issues with configuring the root user in configuration.nix (e.g., to add a public ssh key to the root account)?
acarrico has quit [Ping timeout: 250 seconds]
<bbarker_home> Recently I've lost faith in either myself or passwords/sudo, so I need some other mechanism..
<srhb> bbarker_home: That is a (the most?) common approach.
<bbarker_home> ok
<barrucadu> I set all my ssh keys through configuration.nix
<srhb> bbarker_home: Or, well, the most is probably configuring a user to be able to log in with ssh, and sudo.
<srhb> with/without password.
<bbarker_home> yeah, i may switch to that approach (normal users not having a password)
<{^_^}> [nixpkgs] @globin opened pull request #51180 → [WIP] xorg: cross-fixes → https://git.io/fp2oK
sir_guy_carleton has joined #nixos
<bbarker_home> can system.activationScripts also set system-wide custom environment variables, or what is the (most) appropriate way to do that?
<{^_^}> [nixpkgs] @globin merged pull request #51175 → Fix efivar cross compilation → https://git.io/fp2BT
<{^_^}> [nixpkgs] @globin pushed commit from @bennofs to master « efivar: fix cross compilation »: https://git.io/fp2oQ
<bbarker_home> I know it is generally frowned on but I'm actually doing this in a container
<srhb> bbarker_home: Avoid using activationScripts -- use environment.variables
<bbarker_home> srhb, ok, thanks. Interestingly, neither activationScripts or environment.variables are mentioned in the nixos manual i think - maybe intentional? ;-)
jperras has joined #nixos
jperras has quit [Client Quit]
fendor has quit [Ping timeout: 250 seconds]
jperras has joined #nixos
<srhb> bbarker_home: That's not true, the manual has an appendix with every option. :)
<srhb> You can also see them with man configuration.nix
<bbarker_home> oh, wow, that will be helpful ...
<srhb> Yep! There's also https://nixos.org/nixos/options.html# which is neat for jumping to the source definition of a given option
<srhb> That's useful for some of the less helpfully documented options.
joehh has joined #nixos
iyzsong has quit [Ping timeout: 268 seconds]
acarrico has joined #nixos
mayhewluke has quit [Ping timeout: 246 seconds]
<avn> Folks, anyone use ufraw (or nfraw) in nixos?
mayhewluke has joined #nixos
steshaw has quit [Quit: Connection closed for inactivity]
ninjin has joined #nixos
ckauhaus is now known as ckauhaus[afk]
liori has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
fendor has joined #nixos
tim_nixos has joined #nixos
<infinisil> ,ask avn
<{^_^}> avn: Just ask your question. It's the best way to know if anybody can help.
ckauhaus[afk] is now known as ckauhaus
<{^_^}> [nixpkgs] @peti merged pull request #51177 → pandoc: adapt postInstall hook to embedded-data-files build → https://git.io/fp2uU
<{^_^}> [nixpkgs] @peti pushed 2 commits to release-18.09: https://git.io/fp2iP
<tim_nixos> Hello people, I've bee trying to get my own compiled clang to work for some time now.. I'm having issues with the linker and telling it where the stdlibs are.. some people have pointed me to wrapCC but as far as I understand, this can only be used in nix package definitions, but I'm trying to have all needed information in a nix-shell. When I enter a nix-shell I have tow environment variables which should provide what I need but wh
<tim_nixos> 'clang fibonacci.c -o fib $NIX_CFLAGS_COMPILE $NIX_LDFLAGS' I get not found errors
<avn> infinisil: both ufraw/nfraw segfaulting right after loading lensfun files. Does it common behaviour, or it happens only on my setup.
<tim_nixos> clang-7: error: unknown argument: '-rpath ...' and clang-7: error: no such file or directory: ' -isystem ...'
<avn> (nfraw is newer ufraw fork, which I want to package as well)
<tim_nixos> does anybody of you know what I'm doing wrong?
vidbina has joined #nixos
<infinisil> avn: you could try to use an older nixpkgs version, find one where it worked, then you can bisect
<infinisil> And if it even doesn't work when it initially was introduced, then it's probably an impurity
<avn> infinisil: yup, although bisecting gimp and gimp's stuff is significant amount of build. I do ofc, but if no one responds
<tim_nixos> or can anybody point me into the direction of (maybe) helpful documentation?
jperras has quit [Ping timeout: 252 seconds]
__monty__ has quit [Quit: leaving]
jperras has joined #nixos
ng0 has joined #nixos
<infinisil> avn: you can git bisect skip the commits you want to ignore
<avn> infinisil: I definelly would like to skip commits, which follow to bootstrap toolchain ;)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50720 → slic3r-prusa3d: multiple fixes → https://git.io/fpC0h
<{^_^}> [nixpkgs] @c0bw3b pushed 4 commits to master: https://git.io/fp214
guaraqe has joined #nixos
<ottidmes> tim_nixos: the only thing I could suggest, having no experience with this, is to actually first try wrapCC before ruling it out thinking its not necessary
__monty__ has joined #nixos
ashkitten has quit [Quit: WeeChat 2.2]
<infinisil> If somebody feels like packaging something for macOS: https://news.ycombinator.com/item?id=18550649
<infinisil> Apparently just became free and open source and has a long history of positive experiences
<infinisil> Never used it myself and never will, but it seems like a good fit to package with Nix now :)
<steveeJ> has anyone has success with the bluejeans-gui app? I can't get the sound to work and can't spot an error message in the log
<steveeJ> s/has success/had success
<steveeJ> it seems to be able to connect to pulseaudio as it shows a valid list of sound devices, but there's no I/O
ashkitten has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
mmlb has quit [Ping timeout: 246 seconds]
fendor has joined #nixos
reinhardt has quit [Quit: Leaving]
Lears has joined #nixos
<tim_nixos> ottidmes: I looked at it but it seems I can only use it when I create a package and I try to avoid that because it seems to me I need to recompile then (which takes about 2 hours on my machine :( ) so I'm looking for a way to get the functionality of wrapCC in a nix-shell
[Leary] has quit [Ping timeout: 246 seconds]
<Taneb> Is there any way to find the inputs to the hydra jobset from the JSON given by RunCommand?
dbmikus has joined #nixos
<Taneb> (RunCommand the Hydra plugin)
endformationage has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
erasmas has joined #nixos
lnikkila has quit [Quit: lnikkila]
mkoenig has quit [Ping timeout: 250 seconds]
illegalprime has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #50235 → fix FHSUserEnv blacklists → https://git.io/fptb6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fp2Qm
<Taneb> I've looked pretty hard and kind find a way to do this
<Taneb> So I'm going to make an issue becuase it feels like something reasonable to have
fendor has quit [Ping timeout: 245 seconds]
sigmundv_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fp27T
<{^_^}> [nixpkgs] @Ekleog merged pull request #51111 → doc: document upgrading Ruby packages → https://git.io/fpzQK
joehh has quit [Ping timeout: 246 seconds]
slyfox_ is now known as slyfox
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fp2Fe
<{^_^}> [nixpkgs] @Ekleog merged pull request #51043 → nixos/urxvtd: remove socket activation → https://git.io/fpEC6
tim_nixos has quit [Quit: Page closed]
clever has joined #nixos
mkoenig has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
pi3r has quit [Ping timeout: 250 seconds]
rihardsk has joined #nixos
<bbarker> Is there any existing work for NixOS on PPC64, or relevant info on what might be needed to make that happen?
lnikkila has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
<gchristensen> I know some Anonymous Crosscompilers have worked on power8 stuff
goibhniu has quit [Ping timeout: 246 seconds]
<bbarker> anonymous meaning, unknown to you, but probably some version of gcc? sounds promising, I was thinking of getting a Power9 box. Would it make more sense to just start with nixpkgs on a supported distro?
lnikkila has quit [Client Quit]
lnikkila has joined #nixos
fendor has joined #nixos
<gchristensen> probably ye
<gchristensen> I know who they are, and committed the patch on their behalf, but complicated things mean they can't be associated with it
<bbarker> interesting
<bbarker> looks like Nix itself isn't regularly built for PPC: https://nixos.org/releases/nix/nix-2.1.3/; is it simple to bootstrap nix outside of nix-land?
<dmj`> So
<bbarker> (or are we back to cross compiling)
lulia has joined #nixos
<dmj`> How do I use the COPY or ADD commands in the buildImage DSL
<{^_^}> [nixpkgs] @guaraqe opened pull request #51181 → ncurses: upgrade from 6.1 -> 6.1-20181027 → https://git.io/fp2x4
<dmj`> for docker
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fp2xD
goibhniu has joined #nixos
<dmj`> there's nothing in the example
<dmj`> what is src and dest, a set? a list?
<dmj`> I need to mount a directory into the container
<dmj`> how does the DSL do it
<gchristensen> where do you see dest? or src?
<gchristensen> you can't mount a directory in with buildImage, but you can copy stuff in with buildImage
<dmj`> gchristensen: how do I copy things in?
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp2pC
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51164 → sqlcheck: init at 1.2 → https://git.io/fpgj7
<{^_^}> [nixpkgs] @domenkozar pushed commit from @jerith666 to release-18.09 « elm: extract makeDotElm and fetchElmDeps »: https://git.io/fp2p8
<dmj`> gchristensen: using lib.readFile?
<gchristensen> you pass an array of things you want in "contents", like contents = [ pkga pkgb pkgc ]; etc ... maybe you an tell me more about what you're trying to get done?
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @domenkozar closed pull request #51137 → (18.09) postgresql: Enable systemd integration for 9.6+ → https://git.io/fpg4m
johanot has quit [Quit: WeeChat 2.2]
<dmj`> gchristensen: I'm trying to copy text files into a docker container
<dmj`> gchristensen: and then call cat on one of them
<gchristensen> you want to call `cat` when you `docker run` the container?
<dmj`> gchristensen: sudo docker exec <docker-image>
<dmj`> gchristensen: sure, this is more of a test of how to get data into the docker container
<dmj`> w/o using ADD or COPY...
<gchristensen> you just add it like you would any other nix expression
<gchristensen> contents = [ ./my-text-file ]; or even skip that and pass: config.Cmd = [ "${pkgs.hello}/bin/hello" ];
<gchristensen> contents = [ ./my-text-file ]; or even skip that and pass: config.Cmd = [ "${pkgs.coreutils}/bin/cat" ./my-text-file ];
<dmj`> isn't ./my-text-file pointing to a file that doesn't exist in the docker container?
<dmj`> or that's a path that gets expanded on my system
<dmj`> and nix somehow copies it into the container
<gchristensen> this isn't just a DSL over a dockerfile, this is Nix building everything, so everything nix usually does will be done here.
mmlb has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed commit from @thoughtpolice to release-18.09 « postgresql: enable systemd service notification on 9.6+ »: https://git.io/fp2hk
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fp2hl
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fp2h4
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
<kgz> if anyone has any thoughts on stickers for 35c3 and fosdem https://discourse.nixos.org/t/nixos-stickers-for-35c3-and-fosdem/1540
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #51155 → postgresql: Remove static libs using host platform extension → https://git.io/fpgbJ
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from Jack Kelly to staging « postgresql: Remove static libs using host platform extension »: https://git.io/fp2hx
<dmj`> @gchristensen nice, it works
<dmj`> @gchristensen is there a way I can use tildes in my paths with nix?
<dmj`> to do relative dirs
<gchristensen> no, Nix paths are always relative to the directory the .nix file is in
__Sander__ has quit [Quit: Konversation terminated!]
<fendor> is it normal that localectl can not find any locale?
guaraqe has quit [Remote host closed the connection]
<fendor> for examples, it cant find any keymaps
<fendor> may or may not be unrelated, every time I enter an unknown command, the following message is shown and I dont understand why: https://hastebin.com/unuropikac.sql
<ottidmes> fendor: I has a similar warning, it has to do with conflicting glibc versions of LOCALE_ARCHIVE, which are not always backwards compatible, and we just updated to a version that is not backwards compatible
<fendor> ottidmes, can i fix that somehow?
<ottidmes> fendor: in my case I had somehow installed man via nix-env, and that used an older version of glibc, while my system had set LOCALE_ARCHIVE to a value that did not work with it correctly, in my case I just uninstalled it and used my global man
<ottidmes> fendor: it should be fixable, but it might depend on your situation what you need to do
<{^_^}> #38991 (by peti, 32 weeks ago, closed): glibc 2.27 breaks locale support
<{^_^}> nix#599 (by seschwar, 3 years ago, closed): Nix broken by having LANG and LC_* set
<fendor> ottidmes, I dont think i have man pages manually installed, but in the systemPackages
<ottidmes> fendor: the man pages was just my situation where I got the error, what you get from perl, I got from man, thats all
<fendor> ottidmes, but I am not even using perl?
<ottidmes> fendor: but clearly something
<ottidmes> fendor: is
<fendor> ottidmes, probably true, maybe konsole somehow
<ottidmes> fendor: try: readlink -f $(which perl)
<ottidmes> fendor: or maybe in this case just: which perl
capisce has left #nixos [#nixos]
<fendor> ottidmes, what can I do with that information?
<fendor> which perl ==> /run/current-system/sw/bin/perl
nika has joined #nixos
<ottidmes> fendor: so we can rule out any other than global system installation of it
hotfuzz_ has joined #nixos
<clever> fendor: its likely a different perl, from command-not-found
<fendor> ok, I dont actually know what to do with that information?
hotfuzz has quit [Ping timeout: 246 seconds]
mayhewluke has quit [Ping timeout: 250 seconds]
<ottidmes> clever: I just checked, it just used pkgs.perl, so I doubt it
srl295 has joined #nixos
mayhewluke has joined #nixos
<lulia> I
<lulia> Is there a solution to easily enter nixos chroot from a livecd (I expect to be able to run nixos-rebuild from there)
<clever> lulia: nixos-enter
<clever> lulia: and you only can run `nixos-rebuild build` and `nixos-rebuild boot` inside there
<ottidmes> fendor: maybe see if you got 2 perl versions when you do: nix-store --query --requisites /run/current-system/sw | grep perl
<lulia> clever: thanks a lot <3
nikka has joined #nixos
<fendor> ottidmes, i only get the same version
<fendor> 5.28
Tucky has quit [Quit: WeeChat 2.2]
nika has quit [Ping timeout: 250 seconds]
<lulia> When running nixos-rebuild I get this error : "error: cloning builder process: Operation not permitted
<lulia> " what can I do to fix it, please ?
Thra11 has joined #nixos
arjen-jonathan has quit [Ping timeout: 246 seconds]
vidbina has quit [Ping timeout: 250 seconds]
nikka has quit [Ping timeout: 250 seconds]
nikka has joined #nixos
<ottidmes> fendor: and what about: nix-store --query --requisites /run/current-system/sw | grep glibc
<dmj`> I noticed Haskell builds when done with nix don't short circuit when a type error occurs, but continue building all modules, this is contrary to how stack and cabal perform
<fendor> ottidmes, only version 2.27
<dmj`> Does anybody know why this is
<clever> dmj`: that might be -j, it will fail later on
<dmj`> clever: I'm not enabling -j though, I just call nix-build
<ottidmes> fendor: and what about: readlink -f $(echo "$LOCALE_ARCHIVE")
<clever> dmj`: nix still uses -j on cabal build
<dmj`> clever: what...
<{^_^}> [nixpkgs] @stephengroat opened pull request #51182 → terraform-providers: bump versions and add selvpc → https://git.io/fpaUT
<dmj`> clever: can this behavior be disabled?
<fendor> ottidmes, looks fine to me: /nix/store/18lvyggpwnv9i6gn4vdmj89n2frv7l1n-glibc-locales-2.27/lib/locale/locale-archive
<clever> dmj`: then it will build more slowly
<dmj`> clever: how much more slowly?
<dmj`> clever: it should be fine
<dmj`> clever: I disable core optimizations
<clever> dmj`: by however many cores you have
jtojnar has joined #nixos
mmercier has quit [Remote host closed the connection]
<gchristensen> dmj`: how much longer does it build for after the failure? is it building other packages that have not had a type error?
<ottidmes> fendor: then we need more context, where do you get the error you posted?
fendor has quit [Ping timeout: 250 seconds]
jperras has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<boogiewoogie> hey, is there a way I can tell the genericBuild's cmake a path to be executed from?
pmade has joined #nixos
snajpa has quit [Quit: ZNC 1.7.1 - https://znc.in]
<boogiewoogie> I want it to `cmake /some/path -flags` instead of `cmake -flags`
Adluc has quit [Ping timeout: 252 seconds]
snajpa has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #48273 → fetchgit: use buildPackages's git → https://git.io/fx4Vl
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpaTX
nika has joined #nixos
enleth has joined #nixos
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51118 → mkpasswd: fix cross compilation → https://git.io/fpgfR
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpaTx
nikka has quit [Ping timeout: 250 seconds]
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
<enleth> Hi there. Second day on NixOS here, standard installation, Plasma 5 desktop on a Thinkpad with integrated graphics, long story short yesterday everything was fine, today all Akonadi helper processes (such as akonadi_imap_resource) are aborting on startup with "Could not initialize GLX", as far as I can tell all other Plasma/KDE applications work fine.
<drakonis> post configs?
<enleth> Result: akonadi daemon and database work, but otherwise it's dead with no backend.
<enleth> On it.
<drakonis> on a gist or what have you
ng0 has quit [Remote host closed the connection]
sanscoeu_ has joined #nixos
ixxie has joined #nixos
ng0 has joined #nixos
nikka has joined #nixos
mkoenig has quit [Remote host closed the connection]
sanscoeur has quit [Ping timeout: 268 seconds]
nika has quit [Ping timeout: 246 seconds]
sanscoeu_ has quit [Remote host closed the connection]
sanscoeur has joined #nixos
nikka has quit [Ping timeout: 246 seconds]
rtjure has joined #nixos
<ixxie> anybody know how to get a bluetooth speaker like a JBL flip work on NixOS?
sigmundv_ has quit [Ping timeout: 250 seconds]
<ixxie> tried installing the full pulseaudio package and enabled bluetooth
sanscoeur has quit [Ping timeout: 245 seconds]
<dmj`> gchristensen: it will build an additional 15 modules after the failure
<dmj`> gchristensen: not a big deal, might try to make it configurable
sanscoeur has joined #nixos
<enleth> drakonis: ^
<drakonis> i actually just needed the configs
<enleth> I'm *sure* it worked at least once
<ixxie> gchristensen: yeah, been looking at that; tried pulseaudioFull and enabled bluetooth ofc
<enleth> and I'd say I did not really change anything in the meantime, but something must have changed
<drakonis> no drivers declared?
<drakonis> where's the graphics drivers?
<gchristensen> and at what stage does it not work?
<clever> ixxie: how did you use pulseaudioFull ?
<drakonis> its complaining about opengl here
<enleth> good question, as I've got working compositing and all in plasma
acarrico has quit [Ping timeout: 246 seconds]
<drakonis> just enable hw drivers
<enleth> I saw it work out of the box, so I assumed it got figured out automagically somehow and didn't think twice
<drakonis> these aren't on by default for some reason
<enleth> ok, will do
sanscoeur has quit [Remote host closed the connection]
<enleth> why do *some* things work, though?
<ixxie> clever: pulseaudio.package = pkgs.pulseaudioFull
<enleth> I've got the whole KDE desktop running fine, and Chrome too
<drakonis> i ask myself that sometimes
ixxie has quit [Remote host closed the connection]
<enleth> I'm pretty sure I'd notice Chrome falling back to software rendering, it's unusable without hardware accel
<clever> ixxie: and you ensured that the daemon was restarted?
<clever> enleth: this should stress test your hw accel! https://iohk.io/
<drakonis> hardware.opengl.enable = true; and hardware.opengl.driSupport = true
<drakonis> weird that its not on by default but
<drakonis> not pulled in by any DE
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
<enleth> drakonis: is it going to be useful for anyone if I try to figure out what's going on before I just fix it and forget about the problem?
<enleth> clever: I don't see an FPS indicator but it's definitely doing 60fps in a maximized window without breaking a sweat
ixxie has joined #nixos
<clever> enleth: some people have reported the cpu fan ramping up just opening the site
<ixxie> ah turns out it needed a reboot
mkoenig has joined #nixos
<ixxie> like gnome needed a restart
<ixxie> likely*
<clever> ixxie: pactl exit would also do
sanscoeur has joined #nixos
Ariakenom has quit [Client Quit]
<drakonis> enleth: its opengl
<clever> ixxie: also of note, chrome entirely looses capture support if pulse is restarted, then you must restart chrome to get it back
<ixxie> clever: sound profile is abit weird though.... I think I need pulseaudio-modules-bt
<drakonis> "Could not initialize GLX"
<ixxie> clever: I ain't got no chrome
<ixxie> fff :)
<clever> ixxie: check the configuration tab of pavucontrol
<ottidmes> lol, checking the website, I definitely do not have acceleration on, since the FPS is worthless (no suprise using modesetting)
<ixxie> clever: what is pavucontrol?
Ariakenom has joined #nixos
<drakonis> ixxie: pulseaudio volume control?
<enleth> drakonis: I figured as much - but othere stuff *works*, and I absolutely definitely do have working opengl in kwin and Chrome at the same time as akonadi fails to initialize it
<clever> ixxie: pulse audio volume control
<drakonis> its good for when you're not running a full DE
<gchristensen> ixxie: probably just need a2db
<gchristensen> a2dp*
<bbarker> what's the correct way to reload all the network configruation (in particular NAT) without rebooting the system in NixOS? I tried nixos-rebuild test and systemctl daemon-reload; rule appears to be added to iptables. So either something else is missing or my rule isn't doing what I think it is
rfold has joined #nixos
<ixxie> gchristensen: yeah that is what I thought too
<enleth> drakonis: so it looks like without any graphics driver defined, the intel driver got pulled in anyway, with all the glx libraries and stuff, but not everything links to them consistently?
<clever> bbarker: the nat is handled by firewall.service, so thats the service you likely want to restart
<ixxie> gchristensen: but it seems hardware.pulseaudio.extraModules is deprecated
<drakonis> kvm-intel? that's not the intel driver
<ixxie> clever: where do I find pavcontrol?
<drakonis> that's for VMs
<enleth> drakonis: jeez, yes, I know
<clever> ixxie: nix-env -iA nixos.pavucontrol
<enleth> drakonis: I did not state it is
<gchristensen> ixxie: I didn't need to add any moules for a2dp... nix-shell -p pavucontrol --run pavucontrol
lnikkila has quit [Ping timeout: 240 seconds]
<enleth> drakonis: I said the intel driver must have gotten installed anyway because *I have working 3D acceleration in some programs*
<enleth> they start and they render 3D
<drakonis> see if its not software rendering
<drakonis> you don't need hardware rendering to draw 3d
<bbarker> not very clever, I have networking.firewall.enable = false;
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/db561c90ef3 (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<clever> bbarker: if you change the state of firewall.enable, the nat has to move to another serivce and nixos-rebuild gets very confused
<drakonis> and as far as i know, chrome doesn't use hardware rendering on linux by default
<drakonis> hardware acceleration
<bbarker> clever, hmm, not sure i totally follow that - will a reboot make things happy after the rebuild then?
<tilpner> "just enable hw drivers"
<clever> bbarker: yeah
<ixxie> gchristensen: well the option is there in gnome sound menu, but it doesn't seem to stick
<bbarker> clever, ok cool
<tilpner> Hah, I see you have not met Allwinner chips
hyper_ch2 has quit [Quit: Page closed]
<drakonis> tilpner: the horror
c0bw3b_ has joined #nixos
<drakonis> just give that a shot
<tilpner> I hear it's possible, so I haven't quite given up on it
cyounkin_ has joined #nixos
arjen-jonathan has joined #nixos
monotux has quit [Quit: prutt]
<gchristensen> ixxie: how abot https://nixos.wiki/wiki/Bluetooth#Enabling_A2DP_Sink ? :)
<ixxie> gchristensen: oh cool missed that, thanks!
cyounkins has quit [Ping timeout: 250 seconds]
<enleth> drakonis: the "chrome://gpu/" page absolutely positively says that it does use hardware accelerated WebGL right now here. Listen, I'm not trying to argue with you for the sake if arguing, I'm trying to say that something *weird* has emerged here as a result of an incomplete config and understanding things like that often helps find bugs before they surface in a more typical situation, so I can try to *help*
<enleth> here.
<enleth> but, sure, I can just fix my config and forget about it, no problem
lulia has quit [Ping timeout: 256 seconds]
monotux has joined #nixos
<enleth> and let someone else bother being helpful when whatever behavior caused this comes up again somewhere else
ixxie has quit [Quit: Lost terminal]
<drakonis> i'm just slightly busy right now
ixxie has joined #nixos
<drakonis> it is definitely not the first time this happened
<{^_^}> #9415 (by joepie91, 3 years ago, open): libGL not working on non-NixOS (without setting up)
<ixxie> hmm gchristensen - doesn't seem to work; but there is a note in that section stating 'Using gdm as the display manager can cause failures to connect to A2DP Sink.'
<gchristensen> ack
<ixxie> so that is likely my issue
<drakonis> enleth: you don't have mesa
orivej has quit [Ping timeout: 246 seconds]
<tilpner> I'm cross-compiling out-of-tree kernel modules, and it wants to have "gcc"
<tilpner> Right now, I put a writeShellScriptBin "gcc" into nativeBuildInputs that execs $NIX_CC/bin/*-gcc "$@", but that is most likely terribly wrong
<tilpner> It worked fine for the first module, but before I temporarily™ use it in the second one... what's a better solution to this?
<enleth> drakonis: I do have *a* mesa derivation in nix store (mesa-noglu-18.1.7), as well as mesa-drivers (mesa-drivers+txc-18.1.7)
<enleth> stuff that does start and render 3D links to libglvnd, which I assume somehow loads mesa at runtime, I'm not familliar with that library, nixos or not
endformationage has quit [Ping timeout: 250 seconds]
graphene has quit [Remote host closed the connection]
<enleth> actually, kwin_x11 (which starts and compositest just fine) links to exactly the same GL libraries as e.g. akonadi_sendlater_agent which aborts with the GLX error
graphene has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #51183 → Fix breaking changes to make-derivation → https://git.io/fpam5
<joepie91> enleth: which Thinkpad are you using?
sanscoeur has quit [Remote host closed the connection]
<joepie91> ixxie: you may need to set the audio profile a few times before it sticks
<joepie91> known issue (not specific to NixOS either)
<enleth> joepie91: T480s 20L7001LPB, integrated graphics only
<enleth> HD Graphics 620, to be exact
<joepie91> enleth: one moment, let me grab my own thinkpad and compare...
sanscoeur has joined #nixos
<joepie91> (I think I have a CPU gen before you, but might still be same GPU)
<joepie91> yep, 620 too
arjen-jonathan has quit [Ping timeout: 252 seconds]
<enleth> i7-8550U
<joepie91> enleth: I don't have any special configuration for Intel graphics and it all works here :/
<joepie91> as far as I know
<joepie91> only driSupport32Bit set to true
<joepie91> enleth: i5-7200U here
<joepie91> (x270)
<enleth> should be the same exact thing as far as this is concerned
<joepie91> yeah
<joepie91> also running Plasma
<joepie91> sorry, I have no idea then :/
<enleth> and there still is the fact that I was able to start Akonadi once and it worked, fetched emails, displayed them in KMail and all that
<enleth> yesterday
<joepie91> it sounds like you hit an edge case of some sort
<bbarker> clever, interesting ... after enabling the firewall, I can no longer access my container internally from the host; previously I was able to do so, e.g. lynx 192.168.100.11:1234 used to work, now it doesn't. Here is my config, if anything looks fishy.
<bbarker> clever, woops, here's the config: https://paste.lucko.me/wiVPvF6T1G
sanscoeur has quit [Ping timeout: 250 seconds]
dslegends has joined #nixos
<enleth> joepie91: I'll keep investigating, but not now, drakonis's habit of assuming to know best what I have or do not have working and installed here got me a bit too irritated to focus on this at the moment
<bbarker> (but lynx 192.168.100.11:1234 does work internally inside the container)
<drakonis> enleth: sorry, i'm busy with something else right now
<drakonis> otherwise i would've been much more helpful
<enleth> drakonis: that's fine, I don't have a problem with it
ThatDocsLady_ has quit [Ping timeout: 268 seconds]
<enleth> drakonis: I don't expect you to drop stuff and come running to help, but I was a little put off when you adamantly stated things about what I see here that were simply inconsistent with reality, despite me trying to say that it really *is* something weird going on
<enleth> no hard feelings, just a bit irritated
<bbarker> for network interfaces is "ve-+" actually expanded into a list? this seems unlikely, since I have internalInterfaces = ["ve-+"]; which seems like it would be a list of lists, but maybe that's how the nix expression works
<joepie91> enleth: no worries, I can't help much more now anyway, some health issues keep me from sticking around for too long
<enleth> drakonis: I'm probably not going to touch it today anyway and I'll stay on the channel, so just message me here with any ideas you get on how to figure out what's going on, I'll try it out when I'm around
<drakonis> alright
<enleth> if I do decide to touch it, I'll snapshot the rootfs first
nikka has joined #nixos
<ixxie> joepie91: hmm... so a completely unreproducible imperative procedure, sounds like a dream!
<enleth> I have that ZFS set up, I might as well make some proper use of it
<joepie91> ixxie: yep, bluetooth is a nightmare
sanscoeur has joined #nixos
<enleth> it Just Works, except when it doesn't
<ixxie> lol
<enleth> then it Just Doesn't Work, I guess
<ixxie> joepie91: do you know if this issue has to do with gnome or is it even more general?
monotux has quit [Quit: prutt]
monotux has joined #nixos
freeman42x]NixOS has joined #nixos
<joepie91> ixxie: more general, I've heard it reported for pavucontrol from a few people, and have had the same issue with pavucontrol myself
erictapen has quit [Quit: leaving]
<gchristensen> apparently ZFS 0.8.0 will contain stable encryption support
halfbit has joined #nixos
<gchristensen> oh, and the reason that is notable is because 0.8.0 is in RC status
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51130 → x42-plugins: 20180812 -> 20181103 → https://git.io/fpgs4
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpaGU
<elvishjerricco> gchristensen: \o/
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpaGn
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51073 → Minor doc fixes → https://git.io/fpuo0
<bbarker> hmm, i'm getting a warning about getting locked out even though I have "extraGroups = [ "wheel" "networkmanager" ];" and a non empty openssh.authorizedKeys.keys for two users
<gchristensen> what does the error say?
<bbarker> building the system configuration...
<bbarker> error:
<bbarker> Failed assertions:
<bbarker> - Neither the root account nor any wheel user has a password or SSH authorized key.
<bbarker> You must set one to prevent being locked out of your system.
<bbarker> (use '--show-trace' to show detailed location information)
<bbarker> i've tested the authorized keys and wheel usage already; i just was trimming out passwords
<bbarker> oh, i bet it is coming from my container config
<bbarker> hmm
<bbarker> ok, thanks, i'll take a look, as it actually was not the container user
Thra11 has quit [Ping timeout: 246 seconds]
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @rycee pushed to master « eclipse-plugin-spotbugs: 3.1.8 -> 3.1.9 »: https://git.io/fpaZN
<bsima> hey, anyone know what this error means?
<bsima> gcc-wrapper-7.3.0/nix-support/utils.bash: line 87: /dev/fd/62: No such file or directory
shabius_ has joined #nixos
arjen-jonathan has joined #nixos
<ixxie> joepie91: thanks for the info
orivej has joined #nixos
<bsima> I have no idea what it's referring to
shabius has quit [Ping timeout: 252 seconds]
shabius_ has quit [Ping timeout: 252 seconds]
mmlb has quit [Read error: Connection reset by peer]
baconicsynergy has joined #nixos
mmlb has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50757 → marp: 0.0.13 -> 0.0.14 → https://git.io/fpCbw
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @puffnfresh to master « marp: 0.0.13 -> 0.0.14 »: https://git.io/fpacT
<enleth> gchristensen: unfortunately, trim/discard support is still not coming
<enleth> so using ZFS on an NVMe pretty much requires doing a send/blkdiscard/zpool create/send from time to time as the thing gets slower with time otherwise
ixxie has quit [Ping timeout: 246 seconds]
<gchristensen> yikes
<gchristensen> some recent activity starting https://github.com/zfsonlinux/zfs/pull/5925#issuecomment-441258395 from our community member Baughn
<cransom> i'm still on btrfs on my ssds/nvme drives because zfsonlinux doesn't have a trim patch landed on stable yet :\
<gchristensen> this is interesting, I don't understand the ramifications of no trim/discard. also, I think all my deployments of zfs are either on short-lived systems or ones with rotational platters
<bbarker> gchristensen, regarding the nixos-rebuild assertion with system lockout failing ... it looks right to me; here's my config: https://github.com/bbarker/felix/blob/8ea92c2b6bb29c5daacfe9ccdd3c06704d9cc55e/src/web/configuration.nix
magnetophon has joined #nixos
nika has joined #nixos
<gchristensen> looks like I don't get TRIM by default anyway since I use luks
nikka has quit [Ping timeout: 268 seconds]
lord| has quit [Ping timeout: 260 seconds]
<azazel> I need for my firefox to load a certificate from a smartcard using opensc-pkcs11.so library, but its path needs to be constant, any idea how to do that? I checked the config options, but there's nothing pertaining to opensc
<magnetophon> I maintain faust, a compiler that generates cpp files. It has scripts to comile these to a binary using GCC. After an attempted of faust one of these scripts gives me "fatal error: boost/circular_buffer.hpp: No such file or directory", but the wrapper around it sets NIX_CFLAGS_COMPILE to the correct boost path, amongst others. any ideas?
<magnetophon> sorry for the bad proof-read. I meant to say "after an upgrade of faust".
lord| has joined #nixos
<bbarker> gchristensen, i'm sorry, it actually was the container user causing the problem... forgot I had a second container user
<{^_^}> [nixpkgs] @danielfullmer opened pull request #51186 → rclone: 1.44 -> 1.45 → https://git.io/fpaWi
<gchristensen> ah :) good
lord| has quit [Read error: Connection reset by peer]
endformationage has joined #nixos
<ottidmes> gchristensen: I run my LUKS with --allow-discards, which should enable TRIM, although it has security risks
lord| has joined #nixos
<bbarker> though it seems like a container shouldn't necessarily need a privileged user thanks to root-login; i suppose I could always add a superfluous user to make it pass the test
<gchristensen> more to my point of I've been using this machine pretty heavily for a year without trim, so I don't feel so worried about zfs
<ottidmes> gchristensen: I was about to use ZFS on SSD VPSes, so I am now rethinking it slightly, but I probably will just have to wait and see, I can always reinstall them later if it becomes a problem
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fpalL
<{^_^}> [nixpkgs] @LnL7 merged pull request #51163 → aminal: init at 0.7.4 → https://git.io/fpgjZ
pie___ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 closed pull request #50599 → python36Packages.piexif: 1.0.13 -> 1.1.2 → https://git.io/fpc2I
<pie___> iirc there was some tool for installing nixos from a linux
<azazel> what do you mean? there are plenty on the wiki
<pie___> i tried gogoling but didnt really remember what to look fo- ah ok ill check the wiki
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<azazel> ops .. pie___: the link were for you
<azazel> too many pies, and is not my birthday
drakonis has quit [Quit: WeeChat 2.2]
nbathum has joined #nixos
<nbathum> anyone up for reviewing https://nixos.wiki/wiki/Talk:Lvm ? I ran into a few things when following the page that didn't quite line up
<nbathum> put those into the talk page
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<pie___> thx
<bbarker> clever, it appears that you don't need firewall enabled for NAT - at least, not for containers, but the containers config has its own port forwarding entries
<pie___> azazel: the irony is i read that the other day and promptly forgot
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9deeaa225b5 (from 17 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<azazel> pie___: you aren't alone, it happens to me too a lot with nixos, information is scattered in many places, like the three manuals, the wiki, the nixpkgs sources, the discourse site, the old mailing list, the old old mailing list and so on...
lord| has quit [Read error: Connection reset by peer]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lord| has joined #nixos
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<{^_^}> [nixpkgs] @freepotion opened pull request #51188 → boohu: 0.10 -> 0.11 → https://git.io/fpa4Y
<bbarker> Is it possible, with a declarative container, to start up a new "copy of" that container dynamically? Probably not, I'm guessing it is better to use a separate container config file in this case
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1bf18e4c852 (from 5 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<pie___> azazel: irc is the main index :P
__Sander__ has joined #nixos
asymmetric has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #51190 → mesa: 18.2.5 -> 18.2.6 → https://git.io/fpaBe
<boogiewoogie> can I have an expression make a subdirectory of the installation not read-only?
<gchristensen> "the installation"?
<gchristensen> is there a way to tell prometheus to store more than 2wks of data with our config?
Thra11 has joined #nixos
steshaw has joined #nixos
lord| has quit [Read error: Connection reset by peer]
<azazel> gchristensen: for the version 2? use services.prometheus.extraFlags and see https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects
<gchristensen> oh neat, thank you azazel
lord| has joined #nixos
graphene has quit [Remote host closed the connection]
<gchristensen> oh, no, prom1
graphene has joined #nixos
baconicsynergy has quit [Remote host closed the connection]
<azazel> who does uses prometheus 1?
<azazel> ;-)
<gchristensen> apparently nixos 18.09?
<gchristensen> oh what in the world why isn't this server running nixos 18.09 yet... it is on 18.03. I'll get back to you azazel!
epicmetal has joined #nixos
<azazel> gchristensen: you may have to apply https://github.com/NixOS/nixpkgs/pull/49802
__monty__ has quit [Quit: leaving]
<{^_^}> #49802 (by azazel75, 3 weeks ago, open): Add Prometheus 2 service in parallel with 1.x version
<gchristensen> ok well anyway I'll be using prom1 then for now
<azazel> I need to find some time to finalize it
<azazel> the thing is that the docs on the site (prometheus' one) do consider that the user is using 2.x... you have been warned.. ;-)
<qyliss> <azazel> too many pies, and is not my birthday
<qyliss> No, it’s mine!
<gchristensen> happy birthday, qyliss!
<qyliss> :)
<azazel> happy birthday then, you're lucky that you don't have to offer a drink ;-)
pkx3 has quit [Read error: Connection reset by peer]
vk3wtf has quit [Ping timeout: 268 seconds]
<gchristensen> ah, -storage.local.retention 360h0m0s, azazel
<azazel> gchristensen: yep, you found it, add it to the extraArgs... ah, and the old docs are online....see https://prometheus.io/docs/prometheus/1.8/storage/#disk-usage
hamishmack has joined #nixos
<gchristensen> <3 thank you azazel
<azazel> you're welcome
lord| has quit [Read error: Connection reset by peer]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
nikka has joined #nixos
<gchristensen> every 3 months I kick myself for having only 2 weeks of data
nika has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @lovek323 closed pull request #51147 → conky: init latest → https://git.io/fpgot
lord| has joined #nixos
lord| has quit [Read error: Connection reset by peer]
<c0bw3b_> No one else ran into https://github.com/NixOS/nixpkgs/issues/51025 on a 19.03 OVA?
<{^_^}> #51025 (by LightDiscord, 3 days ago, open): chmod cannot operate on dangling symlink
vidbina has joined #nixos
lord| has joined #nixos
__Sander__ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #51191 → sage: fix test timeout and downgraded R tests → https://git.io/fpaur
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
mmlb has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « doc: fix incorrect example »: https://git.io/fpaub
mmlb has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #51192 → sage: don't test the downgraded R → https://git.io/fpazv
__Sander__ has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #51083 → kubetail: install completions → https://git.io/fpuQa
<{^_^}> [nixpkgs] @kalbasit pushed commit from @yurrriq to master « kubetail: install completions »: https://git.io/fpaz3
rihardsk has quit [Quit: rihardsk]
romanofskiWork has joined #nixos
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fpaz1
<{^_^}> [nixpkgs] @timokau merged pull request #51191 → sage: fix test timeout and downgraded R tests → https://git.io/fpaur
lord| has quit [Ping timeout: 250 seconds]
halfbit has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #51192 → sage: don't test the downgraded R → https://git.io/fpazv
<{^_^}> [nixpkgs] @timokau pushed to release-18.09 « sage: don't test the downgraded R (#51192) »: https://git.io/fpago
<{^_^}> [nixpkgs] @eadwu closed pull request #49717 → vscode-with-extensions: fix insiders build → https://git.io/fxhw2
worldofpeace has joined #nixos
lord| has joined #nixos
metastance has quit [Ping timeout: 250 seconds]
nikka has quit [Quit: Konversation terminated!]
vk3wtf has joined #nixos
rprije has joined #nixos
mmlb has quit [Ping timeout: 246 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<kingemp> hello, is there a flag to install a package without using the binary cache? eg go through the build phases?
<tilpner> --option substituters ""
__Sander__ has quit [Ping timeout: 246 seconds]
<kingemp> tilpner, is that for nix-env or something else?
<tilpner> I use it with nix-build
<tilpner> But it might work with nix-env as well
mmlb has joined #nixos
<kingemp> hm, like this? `nix-build --option substituters "" '<nixpkgs>' -A julia_10`
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<tilpner> Yep
philippD has joined #nixos
mmlb has quit [Ping timeout: 246 seconds]
cyounkin_ has quit [Remote host closed the connection]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
rfold has quit [Quit: leaving]
pie___ has quit [Ping timeout: 256 seconds]
jperras has quit [Ping timeout: 268 seconds]
<kingemp> tilpner, that just spits out a "/nix/store/...-julia-1.0.1" without actually building it seems
<kingemp> I tried nix-collect-garbage and verified it is not installed
jperras has joined #nixos
<gchristensen> nix-build '<nixpkgs>' -A julia_10 --check
Thra11 has quit [Ping timeout: 244 seconds]
<kingemp> gchristensen, awesome that did the trick! thx
asymmetric has quit [Ping timeout: 246 seconds]
c00w has joined #nixos
jackdk has quit [Remote host closed the connection]
jackdk has joined #nixos
porrifolius has joined #nixos
<porrifolius> Hi, I'm trying to move from Ubuntu to NixOS, I'm also trying out Xfce is it appeared to be a 'supported' desktop environment on NixOs... I'm having some problems. Not much experience in nixos, xfce, or xmonad so that might be why!
c0bw3b_ has quit [Remote host closed the connection]
<magnetophon> porrifolius: Feel free to ask! And what does xmonad have to do with it?
<porrifolius> I've got a message popping up when logging into xfce, via lightdm, saying that the panel is not running, that I can't change settings because it's in kiosk mode...
<porrifolius> magnetophon: I'm using xmonad as the layout manager in xfce... xfce+xmonad
<magnetophon> porrifolius: have you tried without xmonad, to narrow down the issue?
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos
<porrifolius> I will do so, however I didn't have the panel message problem initially. xmonad was working for multiple logins, then I was trying to 'hide' the panel, some posts I saw called xfce4-panel -q and then re-ran it when they wanted it to 'reappear'
<porrifolius> magnetophon: I did that in the command line, I could re-run the panel and it would appear, but since then on login I've had this problem.
dbmikus has quit [Ping timeout: 250 seconds]
<porrifolius> magnetophon: The messages on login suggest that I should just run it and then save session on exit to fix the problem... that doesn't seem to be working though. I'll try now without xmonad.
porrifolius has quit [Quit: Leaving]
<boogiewoogie> gchristensen: with `the installation` I meant everything that's in the store's out-path of the derivation after installing it -- everything read-only. i'd like one config directory writable, since I don't know how to edit the source code to place it somewhere else (eg in ~/.config like most packages)
<gchristensen> no, /nix/store can't have anything writable in it
<boogiewoogie> alright then, good to know. thanks!
init_6 has quit []
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
porrifolius has joined #nixos
<magnetophon> can I do a rollback on a nixops managed system from within that system? My co-coder removed sshd, I diud a deploy, now we can't reach the machine. But I'm still connected, so I'd just need to do a rollback
<porrifolius> magnetophon: Hmmmm... how does one _not_ use xmonad? Selecting the plain xfce (out of none+xmonad, xfce, xfce+xmonad) option before logging in still left me with working xmonad keybindings.
<magnetophon> porrifolius: sorry, idk, never used a hybrid wm/dm
<porrifolius> magnetophon: In any event, having logged in/out multiple times the panel now seems to be run at login but still pops the message saying that it is in kiosk mode and can't have it settings changed. I'll have a look for an answer.
<Unode> hi guys, how do you typically build a static binary in nix-shell (non-nixos)? I'm trying to build a static binary with 'nix-shell -p zlibStatic gcc5' but I still get http://dpaste.com/1062V6S
vidbina has quit [Ping timeout: 250 seconds]
<Unode> sorry `nix-shell --pure -p ...`
<ottidmes> porrifolius: uninstalling xmonad would definitely do the trick (by changing your configuration.nix and doing nixos-rebuild boot and rebooting, maybe nixos-rebuild switch works too and restarting the display-manager)
<Unode> ok that was odd. Seems like `nix-shell -p zlibStatic zlib.static gcc5 glibc.static --pure` works. I don't get why both `zlibStatic` and `zlib.static` are needed
porrifolius has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51080 → pythonPackages.uarray: init at 0.4 → https://git.io/fpuDH
<{^_^}> [nixpkgs] @worldofpeace pushed 10 commits to master: https://git.io/fpaKZ
erasmas has quit [Quit: leaving]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2c848ea92d9 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @veprbl opened pull request #51193 → [18.03] libtiff: fix download url → https://git.io/fpaKA
lovek323 has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @rht opened pull request #51194 → brave: 0.56.12 -> 0.56.15 (70.0.3538.77 -> 70.0.3538.110) → https://git.io/fpa6e
<enleth> ah, I haven't seen the new comments
Ariakenom has quit [Quit: Leaving]
jperras has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @rht opened pull request #51195 → chromium: Add ungoogled flag to enable ungoogled-chromium patches → https://git.io/fpa68
<gchristensen> enleth: they're brand new!
jperras has joined #nixos
<enleth> gchristensen: the way I'm reading this, there's a good chance for a branch that does TRIM, but merging it to master anytime soon is probably still rather unlikely because it would interfere significantly with keeping ZOL in sync with OpenZFS
vk3wtf has quit [Ping timeout: 252 seconds]
<enleth> so it would take one of the OpenZFS contributors to port/merge it, so that ZOL can inherit it down the line
<{^_^}> [nixpkgs] @dezgeg merged pull request #51158 → Fix FAT32 partition issues on sd-image-based images → https://git.io/fpgAb
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to master: https://git.io/fpa6Q
<gchristensen> ack
pie__ has quit [Remote host closed the connection]
porrifolius has joined #nixos
pie___ has joined #nixos
<{^_^}> [nixpkgs] @elitak opened pull request #51197 → steem: init at 0.20.6 → https://git.io/fpaPi
<{^_^}> [nixos-org-configurations] @grahamc pushed to overlay « Create an overlay for Delft »: https://git.io/fpaPd
<enleth> gchristensen: there seems to be some ongoing work on that at Joyent: https://cr.joyent.us/#/c/4929
<enleth> but no ETA
<enleth> and it would actually prompt ZOL to port that instead of merging the dweeezil's port, unless maybe they happen to be extremely similar by sheer chance
<porrifolius> In nixos how do you find out where an app is reading/writing configuration? Trying to resolve a problem with a kiosk-mode panel in xfce and the internet points to /etc/xdg... and /usr/local/etc/xdg... etc. Where would these be in nixos?
<Ralith> joyent does filesystem development? huh.
<clever> porrifolius: strace and/or strings
<clever> porrifolius: it might obey --prefix, which would result in $out/etc/ on nix
<enleth> Ralith: they develop SmartOS and contribute back to illumos, so it's not a huge stretch that they'd touch ZFS too
<Ralith> enleth: weird, I'm used to thinking of them as the node guys
<enleth> that too
boogiewoogie has quit [Ping timeout: 245 seconds]