gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || 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
<clever> nix-repl> :b (import <nixpkgs> { crossSystem = (import <nixpkgs/lib>).systems.examples.muslpi; }).hello
<clever> mjacob: neat, there is even a muslpi target, which also has a compiler on the cache
<clever> and in not even 60 seconds, it cross-compiled hello-world for 32bit arm, with musl
* infinisil is attempted to enable building for the nixbot
broccoli has quit [Ping timeout: 268 seconds]
<mjacob> clever: not sure what got wrong, but my case gcc-7.3.0-x86_64-unknown-linux-musl-stage-static was built, using this: https://paste.pound-python.org/show/8tuxz4hl0s1k6IILK3vV/
<clever> mjacob: i think the path to the libc is hard-coded into the gcc at build-time
<mjacob> maybe because i'm not using super.musl.override?
<clever> so changing the musl makes it rebuild the gcc
<mjacob> but for you it worked fine i think
<clever> i didnt override musl
<mjacob> ah, right
<clever> so its using the same musl and gcc that the cache has
<mjacob> but you said 'and the gcc its using is linked against glibc'
<mjacob> how can i find out, btw?
<jack[m]> Gah. NFS mounted stores are dangerous.
<jack[m]> error: cannot unlink ‘/nfs/../store/pmx2365bda1x4fgry2r8sbbnww32n615-glibc-2.25-49/lib’: Directory not empty
<clever> the gcc is linked against glibc, and uses that at runtime, but it also has the path of musl hard-coded into it, as the libc it uses in the generated binaries
<clever> jack[m]: with most filesystems, you can delete a file that is still in-use, and it will magically garbage collect the file when its last handle it closed
<clever> jack[m]: nfs doesnt fully support that, and will rename things to a specially hidden name to keep the file alive
camsbury has joined #nixos
<clever> leading to directories that are empty yet not empty
<mjacob> clever: ok, now i understand. is there a way to avoid this?
<clever> mjacob: none that i know it
<clever> of*
<jack[m]> clever; mmm. except our nfs servers create .nfs000000006d1a52bb00005155 files as ghosts.
<jack[m]> Mmm. Need to move them to a trash directory first, and then unlink them so that the directory can be removed.
<jack[m]> Sorry. That made no sense.
<jack[m]> Move the containing directory to the trash, and then try and unlink everything there.
<clever> i'm not sure if the nfs server allows deleting thost ghost files
<clever> you have to close whatever program was using the file first
camsbury has quit [Ping timeout: 260 seconds]
thc202 has quit [Ping timeout: 255 seconds]
broccoli has joined #nixos
<mjacob> clever: there is something wrong... when building "hello" with the expression i sent in the pastebin, it still links against the musl that's not from the overlay
<mjacob> when building the musl package manually now it's built, so i'd guess it wasn't even built earlier
nico202 has joined #nixos
<clever> mjacob: my only guess is that overlays may apply to the cross-compiled side, and not the inputs of the cross-compiler, whic happens to include the libc itself
Lisanna has quit [Ping timeout: 276 seconds]
<mjacob> i don't know how the overlay system works... can it also replace things in the stdenv?
<clever> there was a special thing to handle that side, but i havent looked at how the cross-compiler changes affect it
broccoli has quit [Ping timeout: 268 seconds]
nixosnewbie has joined #nixos
<nixosnewbie> hi all. I am struggling with the documentation and how to implement simple nixos system overlay file.
<nixosnewbie> where to put the file and how to invoke it in my main configuration.nix file. This does not seem to be easily documented in the nixos manuals online.
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
<clever> nixosnewbie: nixpkgs.overlays = [ (import ./overlayfile.nix) ];
<clever> nixosnewbie: you put a relative (or absolute) path into configuration.nix like this
<clever> and that file will look like this, self: super: { ... }
<nixosnewbie> thanks clever, I will try it. it is a (little) bit more helpful than the description here - https://nixos.org/nixpkgs/manual/#chap-overlays .
<nixosnewbie> for someone used to the syntax, that help file may be sufficient, but it is not quite as concrete as your example.
<clever> you may want to check the nixos manual
<clever> the nixpkgs manual doesnt explain how the nixos side of things work
<nixosnewbie> the (nixos) manual is what I have been tripping over. I read the nixpkgs manual, but it mentions only user-level paths and I was looking for a recommended convention for system-level location of overlay configs.
<nixosnewbie> what I'm really trying to do is to be able to pin packages from master without subscribing to unstable channel.
<nixosnewbie> so I want to build up an overlay to do this. Is there a more recommended way to handle this scenario? my goal is to use declarative, system-level configuration. so no nix-env, and no deprecated override syntax.
<clever> nixosnewbie: here is an example of an overlay i recently did: https://github.com/cleverca22/nixos-configs/blob/master/qemu.nix#L35-L37
<srhb> nixosnewbie: It would be simpler to just not use an overlay for that.
nico202 has quit [Quit: Leaving]
<nixosnewbie> srhb, so that is another (nixos documentation) issue. It is not clear when I have this desired scenario of cherry picking pinned packages, how is recommended to accomplish that. Is it to source an ad-hoc file in configuration.nix or to create an overlay?
<nixosnewbie> the pros/cons of overlays are not explored in all the documentation I have been able to find.
<srhb> nixosnewbie: (As in: let masterpkgs = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/13d55dd65afcd4c30b59ef7f07cf79c7db8734cf.tar.gz") {}
<srhb> nixosnewbie: Right... I don't disagree with that, but finding a common "recommended way" is sort of difficult. It's a programming language after all, there are many ways to do it. But I agree that more examples with pros/cons would be great.
<nixosnewbie> srhb - thanks very much for your examples. in your linked nixpkgs tarball, if I were on my own without IRC, how would I find and select that tarball? is that one of the releases of nixpkgs ?
<srhb> nixosnewbie: For now, where overlays really shine is when you want to redefine or add packages in your nixpkgs "branch"
<srhb> nixosnewbie: I chose an arbitrary commit hash
<srhb> nixosnewbie: You can get them from git log in a nixpkgs checkout or by visiting github.com
<nixosnewbie> ah yes, I see that commit has now, latest master. thanks. so to translate your comment about when overlays shine - does that mean it is best when a person is trying to create a nixpkgs branch for private distribution or for upstreaming?
<srhb> nixosnewbie: It's great for distributing a collecting package set without integrating it into nixpkgs, but it's also great for your own ad-hoc modifications to packages.
<srhb> nixosnewbie: I wonder if I have a good example...
<srhb> nixosnewbie: For instance, I might simply add an overlay to patch a single package, and everything else in nixpkgs will pick up those changes.
<nixosnewbie> srhb, then that may be applicable as I intend to build up a set of vanilla nix packages that are more recent than 18.03, as well as a set of my own customized nix pkgs. so does that mean an overlay may be a better approach ? I am first starting with just pinning a few master packages, but will expand my use over time.
<srhb> I can't tell without more information really. I would start with the simple, separate master pkgs and when you have a specific need for something that doesn't cover, come ask :)
<nixosnewbie> in particular, I am exploring postgres extensions that were just added to master in the past month, after 18.03 was released. I want to use in production, so I don't want to subscribe to master or unstable though. then I will be creating a set of other nix pkgs for my use. an overlay might work for this.?
<srhb> Aha, okay, _that_ does sound like something that approaches overlay usage
Ariakenom has quit [Quit: Leaving]
<nixosnewbie> I realize there is more than one way to do it(tm). Thanks for clarifying... I will experiment.
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> Great! :)
acarrico has quit [Ping timeout: 240 seconds]
goibhniu has quit [Ping timeout: 240 seconds]
<nixosnewbie> clever, thanks again for your example config. there don't seem to be many public examples of using overlays in system configuration.nix
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
acarrico has joined #nixos
Supersonic112 is now known as Supersonic
blankhart has joined #nixos
blankhart has quit [Client Quit]
ajs124 has left #nixos ["Machine going to sleep"]
hamishmack has joined #nixos
olto has quit [Ping timeout: 248 seconds]
olto has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm has joined #nixos
<cheshircat> where should I go to find documentation on how to write a nixos systemd recurring job?
<cheshircat> Should I just look at existing files, or is there documentation?
<{^_^}> [nixpkgs] @matthewbauer pushed 0 commits to release-1803: https://git.io/vppoE
<{^_^}> [nixpkgs] @grahamc pushed 0 commits to release-1803: https://git.io/vppog
shabius has quit [Remote host closed the connection]
hiroshi- has joined #nixos
hiroshi has quit [Ping timeout: 264 seconds]
hiroshi- is now known as hiroshi
<cheshircat> actually, I'm just going to copy the offlineimap service
<cheshircat> we good
<infinisil> Oh and the enable = true; isn't needed (it's on by default), and the User is optional of course
blankhart has joined #nixos
markus1189 has joined #nixos
nuncanada has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @WhittlesJr opened pull request #40747 → services.synergy: Use graphical target (fixes #9468) → https://git.io/vppKT
markus1199 has quit [Ping timeout: 260 seconds]
Maxdaman1us has joined #nixos
Maxdamantus has quit [Ping timeout: 240 seconds]
acarrico has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #40748 → lua 5.1: fix broken source fetch → https://git.io/vppKa
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/50bbc56b0bd (from 26 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
marusich has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
lord| has quit [Ping timeout: 268 seconds]
jperras has quit [Quit: WeeChat 2.1]
Supersonic112 is now known as Supersonic
lord| has joined #nixos
Maxdaman1us is now known as Maxdamantus
<{^_^}> [nixpkgs] @bhipple opened pull request #40749 → vim: unpin from old lua 5.1 → https://git.io/vppK5
Havvy has quit [Ping timeout: 240 seconds]
Havvy has joined #nixos
Have-Quick has quit [Quit: Have-Quick]
broccoli has joined #nixos
Have-Quick has joined #nixos
Have-Quick has quit [Client Quit]
broccoli has quit [Ping timeout: 256 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Have-Quick has joined #nixos
lassulus_ has joined #nixos
justanotheruser has quit [Ping timeout: 255 seconds]
blankhart has quit [Quit: WeeChat 1.9.1]
Have-Quick has quit [Quit: Have-Quick]
lassulus has quit [Ping timeout: 255 seconds]
drakonis has joined #nixos
realrokka has quit [Read error: Connection reset by peer]
realrokka has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40199 → mongodb-compass: init at 1.13.1 → https://git.io/vpiDs
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpp6y
<{^_^}> → f6e061f6 by Nathan Smyth: mongodb-compass: init at 1.13.1
<{^_^}> → 05ff6862 by @matthewbauer: Merge pull request #40199 from jarjee/newpkg/mongodb-compass
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40252 → pgmanage: update to current name (minor). → https://git.io/vpX0Z
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpp6H
<{^_^}> → c218cd38 by @ariutta: pgmanage: update to current name (minor).
<{^_^}> → cbac4d3e by @matthewbauer: Merge pull request #40252 from ariutta/pgmanage
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40510 → gomuks: init at 2018-05-16 → https://git.io/vpQm3
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpp67
<{^_^}> → c1efa891 by @tilpner: gomuks: init at 2018-05-16
<{^_^}> → bc35f54a by @matthewbauer: Merge pull request #40510 from tilpner/gomuks-init
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40493 → gdal: 2.2.4 -> 2.3.0 → https://git.io/vpHGq
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpp6b
<{^_^}> → 17ccab6b by R. RyanTM: gdal: 2.2.4 -> 2.3.0
<{^_^}> → dd56a439 by @matthewbauer: Merge pull request #40493 from r-ryantm/auto-update/gdal
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40444 → nginxModules.ipscrub: init at 99230f6 → https://git.io/vp9Zk
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpp6N
<{^_^}> → db5ab167 by @jfrankenau: nginxModules.ipscrub: init at 99230f6
<{^_^}> → 64fb6c35 by @matthewbauer: Merge pull request #40444 from jfrankenau/nginx-ipscrub
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40571 → coqPackages.stdpp: init at 1.1 → https://git.io/vp5dZ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpp6p
<{^_^}> → da72ac20 by @matthewbauer: Merge pull request #40571 from vbgl/coq-stdpp
<{^_^}> → 42462d7b by @vbgl: coqPackages.stdpp: init at 1.1
mounty has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40166 → yrd: init at 0.5.3 → https://git.io/vp6Y6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vppiv
<{^_^}> → 82550c63 by @akru: yrd: init at 0.5.3
<{^_^}> → d1605c55 by @matthewbauer: Merge pull request #40166 from akru/yrd-init
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40606 → Fix/tryton update → https://git.io/vpFHB
<{^_^}> [nixpkgs] @matthewbauer pushed 6 commits to master: https://git.io/vppif
<{^_^}> → 0f8749b0 by @udono: udono: Add myself to maintainer list
<{^_^}> → 31ebb53b by @udono: pythonPackages goocalendar: init at 0.3
<{^_^}> → 5a3ccf19 by @udono: pythonPackages cdecimal: init at 2.3
Have-Quick has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
mrkgnao has joined #nixos
justanotheruser has joined #nixos
Have-Quick has quit [Quit: Have-Quick]
Have-Quick has joined #nixos
mounty has joined #nixos
smallville7123 has joined #nixos
Tobba has quit [Read error: Connection reset by peer]
marusich has quit [Ping timeout: 276 seconds]
hoshineko has joined #nixos
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
schoppenhauer has quit [Ping timeout: 248 seconds]
schoppenhauer has joined #nixos
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
olto has quit [Read error: Connection reset by peer]
olto has joined #nixos
v0latil3 has quit [Read error: Connection reset by peer]
MP2E has joined #nixos
v0latil3 has joined #nixos
mounty has quit [Ping timeout: 268 seconds]
mounty has joined #nixos
udono1 has joined #nixos
udono has quit [Ping timeout: 264 seconds]
smallville7123 has quit [Quit: rosa]
Lisanna has joined #nixos
smallville7123 has joined #nixos
smallville7123 has quit [Client Quit]
<hoshineko> Hello, is it possible to use dash as /bin/sh in nixOS?
<hoshineko> (without things breaking)
<dash> :-o
<eacameron> what does nginx use for dhparams if you don't set them up yourself?
Huddo121 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/18e1aea5c51 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nallar has joined #nixos
Ross has quit [Ping timeout: 276 seconds]
nallar is now known as Ross
smallville7123 has joined #nixos
smallville7123 has quit [Client Quit]
iyzsong has joined #nixos
smallville7123 has joined #nixos
broccoli has joined #nixos
broccoli has quit [Ping timeout: 240 seconds]
smallville7123 has quit [Quit: rosa]
<{^_^}> [nixpkgs] @veprbl opened pull request #40750 → vim: 8.0.1655 -> 8.1.0001 → https://git.io/vppXZ
drakonis has quit [Read error: Connection reset by peer]
<kandinski> hi, I tried to upgrade my system and got this: http://paste.debian.net/1025335/. This is my main laptop, so I'm a bit worried. What can I do to debug it?
<kandinski> binned paste includes the output of nix-info as well as the error from running nixos-rebuild switch.
Rusty1_ has quit [Quit: Konversation terminated!]
smallville7123 has joined #nixos
hoshineko has left #nixos [#nixos]
<elvishjerricco> kandinski: You'ved (... snipped ...) the part we need to see :P Look for the line `builder for ... failed`. Then take the path in that line and run `nix-store --read-log /nix/store/the-path`
<nixosnewbie> clever, if you're still there, or srhb or anyone: I am trying to set up an overlay in configuration.nix and refer to an overlay file in /etc/nixos/overlays/overlay-1/default.nix. how can I refer to it in configuration.nix ?
<elvishjerricco> nixosnewbie: `nixpkgs.overlays = [/etc/nixos/overlays/overlay-1/default.nix];`
<nixosnewbie> In configuration.nix, I tried the following: nixpkgs = { overlays = [ (import ./overlays/overlay-1) ]; };
<elvishjerricco> That should work too
<nixosnewbie> later in configuration.nix, I refer to overlay1, and I get error: undefined variable 'overlay1' at /etc/nixos/configuration.nix:115:17
<elvishjerricco> nixosnewbie: What do you mean "refer to overlay"?
<elvishjerricco> Things you add in an overlays are added to `pkgs`, not the global scope
<elvishjerricco> so you probably need `pkgs.overlay1` or something
<nixosnewbie> ok yes, I think that might be the issue. I will try pkgs.overlay1...
v0latil3 has quit [Read error: Connection reset by peer]
<etu> I think that packages on your overlay is available as pkgs.your-package
<etu> Not including the overlay name
v0latil3 has joined #nixos
<elvishjerricco> etu: Oh, yea. I figured `overlay1` was the name of the thing he added :P
<kandinski> elvishjerricco: ta
<nixosnewbie> so that is why this is confusing. I have system state 18.03 which has an old postgresql. Then I add an overlay pinned to a commit of master. I want to add overlay1.postgresql to system packages. plus some extensions.
<nixosnewbie> if packages in overlay are under pkgs.postgresql, then what about the old pkgs.postgresql ?
<elvishjerricco> nixosnewbie: What do you mean "an overlay pinned to a commit of master?" An overlay is not a nixpkgs checkout.
<elvishjerricco> nixosnewbie: FWIW, 18.03 has newer versions of postgres included as well, including 10.3
<nixosnewbie> in /etc/nixos/overlays/overlay-1/default.nix, I have self: super: { overlay1 = super.fetchFromGitHub { <nixos master repo > }; };
<elvishjerricco> Ohhh
<elvishjerricco> Yea, then you'd use `pkgs.overlay1.postgres...`
<nixosnewbie> then in /etc/nixos/configuration.nix, I have nixpkgs = { overlays = [ (import ./overlays/overlay-1) ]; };
<nixosnewbie> so how can I access the packages in the overlay inside configuration.nix
<elvishjerricco> pkgs.overlay1
<nixosnewbie> ok
<elvishjerricco> nixosnewbie: But again, make sure that you actually need that. One of the newer postgresqls in 18.03 without any overlay may be all you need
<nixosnewbie> I'm adding a bunch of extensions that popped into master after 18.03
<nixosnewbie> so overlay seems to help with that
<nixosnewbie> postgres extensions
freeman42x]NixOS has joined #nixos
sary has quit [Ping timeout: 248 seconds]
blahdodo has quit [Quit: Bye bye]
<nixosnewbie> added in my overlay: timescaledb (latest version), postgresql itself (latest version), pg_topn, cstore_fdw
boomshroom has quit [Quit: WeeChat 2.0]
coot has joined #nixos
blahdodo has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
<angerman> elvishjerricco: revisions?
<elvishjerricco> angerman: Yea I'm experimenting with a new generic builder and finding myself needing to add --allow-newer for many builds because the cabal files have tight upper bounds. Stackage pins the Hackage revisions, and if these cabal files were from those revisions there wouldn't be a problem.
<angerman> elvishjerricco: look at the `exactConfig` combinator :-)
<angerman> elvishjerricco: if we are tarlking about version bounds only, that should be fixed once and for all with that.
<angerman> elvishjerricco: that however would only work if you build via the Setup.hs as nix does.
robstr has joined #nixos
<angerman> elvishjerricco: for full revision support, I think the the all-cabal-hashes repo, would somehow need them. I'm not sure they are in there.
<elvishjerricco> angerman: Well the cabal files can change in more ways than just version bounds. Seems wrong to try to work around incorrect cabal files when we could just fetch the right one.
<angerman> elvishjerricco: the exactConfig is primarily so that cabal doesn't even try to run the solver. As we are providing a fixed package set with one candidate per package anyway.
<angerman> elvishjerricco: I do understand the concern for non-version-bounds changes though.
<elvishjerricco> angerman: Yea, I'm content just passing `--allow-newer` or `--allow-older` for the version bounds; but if we can just get the right cabal files, that seems better
Lisanna has quit [Quit: Lisanna]
<angerman> elvishjerricco: true. Let's see if the all-cabal-hashes repo does have the revisions. I doubt it though :(
<elvishjerricco> angerman: It might be better to operate on the hackage index db rather than all-cabal-hashes. That would include everything, right?
<angerman> elvishjerricco: could be. the all-cabal-hashes, was just a quick way to get them all.
<elvishjerricco> fair enough. At least all-cabal-hashes is versioned :P
<angerman> elvishjerricco: the `hackage.nix` repo is generated from the `all-cabal-hashes`.
<angerman> elvishjerricco: `$(find . -type f -name "Hashes2Nix") all-cabal-hashes > all-cabal-hashes.nix`; and then you end up with the contents of github.com/angerman/hackage.nix
<angerman> elvishjerricco: so feel free to optimize that appraoch to use the hackagedb directly.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/93a5152c82a (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
simukis has joined #nixos
sary has joined #nixos
<nixosnewbie> so I got a little further by refrring to the overlay packages like this in the environment.systempackages: overlay1.cstore_fdw.
<nixosnewbie> my next issue is when I try to add overrides in services.postgresql extraPlugins, there is no attribute for the overlay extensiosn I am trying to addd
<nixosnewbie> e.g. extraPlugins = [ (pkgs.pg_repack.override { postgresql = pkgs.overlay1.postgresql100; }) ] -- no compiler complaints. Then,
<nixosnewbie> extraPlugins = [ (pkgs.overlay1.cstore_fdw.override { postgresql = pkgs.overlay1.postgresql100; }) ; ] -- this one does not work
<nixosnewbie> error: attribute 'cstore_fdw' missing, at /etc/nixos/configuration.nix:129
<nixosnewbie> so I'm wondering where the postgresql extension attributes are. I checked the nixpkgs code for postgresql and I did not find the attribute listing
joehh1 has joined #nixos
<nixosnewbie> I also tried with extraPlugins = [(pkgs.cstore_fdw.override { postgresql = pkgs.overlay1.postgresql100; }) ] -- but it had the same error message
hotfuzz has joined #nixos
<nixosnewbie> is there a way to add this cstore_fdw attribute in my overlay file ?
hotfuzz_ has quit [Ping timeout: 260 seconds]
jasom has quit [Ping timeout: 260 seconds]
broccoli has joined #nixos
broccoli has quit [Ping timeout: 256 seconds]
smallville7123 has quit [Quit: rosa]
aarvar has quit [Ping timeout: 264 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #40745 → nixos/tests/hardened: fix test → https://git.io/vppEy
<{^_^}> [nixpkgs] @dotlambda pushed commit from @xeji to master « nixos/tests/hardened: fix test (#40745) »: https://git.io/vppDg
throwboy has joined #nixos
throwboy has quit [Remote host closed the connection]
MP2E has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @TravisWhitaker opened pull request #40752 → alacritty: Fix darwin. → https://git.io/vppDS
joehh1 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #40753 → thunderbird, thunderbird-bin: 52.7.0 -> 52.8.0 [Critical security fixes] → https://git.io/vppDA
NightTrain has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #40754 → firefox, firefox-bin: 60.0 -> 60.0.1, firefox-esr: 60.0esr -> 60.0.1esr [staging-18.03] → https://git.io/vppyv
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e86be6919ad (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
ryantrinkle has joined #nixos
jasom has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #40755 → ocamlPackages.earley: init at 1.0.2 → https://git.io/vppSv
xy2_ has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
kreetx has joined #nixos
<ryantrinkle> anyone know why hydra-queue-runner would be giving me error: AWS error checking bucket 'nixcache.reflex-frp.org': Access Denied
<ryantrinkle> i've verified that ~hydra-queue-runner/.aws/credentials has credentials to that bucket
<ryantrinkle> and strace shows that hydra-queue-runner is actually reading that file
joehh1 has joined #nixos
ericsagnes has quit [Ping timeout: 265 seconds]
ericsagnes has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @geistesk opened pull request #40757 → pynmea2: init at 1.12.0 → https://git.io/vppSH
broccoli has joined #nixos
<nikivi> I installed Go with nix but now all my `go get ..` commands fail with
<nikivi> fatal: unable to access 'https://github.com/itchyny/fillin/': error setting certificate verify locations:
<nikivi> full error: https://hastebin.com/usefiyadet
<nikivi> it doesn't matter what library I try to go get
joehh1 has quit [Ping timeout: 240 seconds]
broccoli has quit [Ping timeout: 256 seconds]
joehh1 has joined #nixos
<{^_^}> [nixpkgs] @kirelagin opened pull request #40758 → wireguard-go: init at 0.0.20180514 → https://git.io/vpp9a
<{^_^}> [nixpkgs] @pngwjpgh opened pull request #40759 → Revert "zsh: move setEnvironment stuff to zprofile" → https://git.io/vpp9o
maingo has quit [Quit: Connection closed for inactivity]
orivej has joined #nixos
<{^_^}> [nixpkgs] @markus1189 opened pull request #40760 → pygments: add pillow dependency → https://git.io/vpp95
<{^_^}> [nixpkgs] @jensbin opened pull request #40761 → openshift: add {bash,zsh}-completion → https://git.io/vppHf
thblt has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed to master « Revert "iasl: 20180313 -> 20180508 (#40613)" »: https://git.io/vppHL
spear2 has joined #nixos
<{^_^}> [nixpkgs] @geistesk opened pull request #40762 → geojson: init at 2.3.0 → https://git.io/vppHZ
xy2_ has quit [Ping timeout: 248 seconds]
Arcaelyx has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40759 → Revert "zsh: move setEnvironment stuff to zprofile" → https://git.io/vpp9o
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vppHo
<{^_^}> → effb0213 by @pngwjpgh: Revert "zsh: move setEnvironment stuff to zprofile"
<{^_^}> → 94afddcd by @xeji: Merge pull request #40759 from pngwjpgh/fix/zshenv
shabius has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #40753 → thunderbird, thunderbird-bin: 52.7.0 -> 52.8.0 [Critical security fixes] → https://git.io/vppDA
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/vppH9
<{^_^}> → 0544c38b by @taku0: thunderbird-bin: 52.7.0 -> 52.8.0
<{^_^}> → 6099ad33 by @taku0: thunderbird: 52.7.0 -> 52.8.0
<{^_^}> → b7709b99 by @dotlambda: Merge pull request #40753 from taku0/thunderbird-bin-52.8.0
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-18.03: https://git.io/vppQv
<{^_^}> → ee80654b by @taku0: thunderbird: 52.7.0 -> 52.8.0
<{^_^}> → db0720e2 by @taku0: thunderbird-bin: 52.7.0 -> 52.8.0
<{^_^}> [nixpkgs] @xeji merged pull request #40743 → nixos/tests/nexus: fix for i686 → https://git.io/vpp4E
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/tests/nexus: fix for i686 (#40743) »: https://git.io/vppQJ
<{^_^}> [nixpkgs] @andir opened pull request #40763 → WIP: 18.03/sec updates → https://git.io/vppQL
<{^_^}> [nixpkgs] @FRidh closed pull request #40760 → pygments: add pillow dependency → https://git.io/vpp95
<{^_^}> [nixpkgs] @dotlambda pushed 34 commits to staging: https://git.io/vppQc
<{^_^}> → c218cd38 by @ariutta: pgmanage: update to current name (minor).
<{^_^}> → f6e061f6 by Nathan Smyth: mongodb-compass: init at 1.13.1
<{^_^}> → db5ab167 by @jfrankenau: nginxModules.ipscrub: init at 99230f6
kuri0 has left #nixos ["Leaving"]
iyzsong has quit [Ping timeout: 265 seconds]
iyzsong has joined #nixos
mahalel_ has joined #nixos
mahalel_ has left #nixos [#nixos]
rotaerk has quit [Ping timeout: 255 seconds]
rotaerk has joined #nixos
shabius has quit [Quit: Leaving]
broccoli has joined #nixos
shabius has joined #nixos
Tobba has joined #nixos
goibhniu has joined #nixos
<Plato[m]> The ledger package installs ledger.so into lib/python2.7/site-packages/ledger.so. I'd like my python application to find this .so file.
<Plato[m]> Putting ledger into propagatedBuildInputs didn't do anything, however.
chisui has joined #nixos
camsbury has joined #nixos
shabius has quit [Quit: Leaving]
udono1 has quit [Remote host closed the connection]
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
<ryantrinkle> i got a hydra server set up here: https://hydra.reflex-frp.org/project/reflex-platform but it doesn't seem to actually add notes to the PRs it builds
<ryantrinkle> does anyone know how to make it do that?
<ryantrinkle> e.g. this PR has a circle ci status check: https://github.com/reflex-frp/reflex-platform/pull/295
<ryantrinkle> it'd be nice to have one from hydra as well
camsbury has quit [Ping timeout: 268 seconds]
fendor has joined #nixos
<clever> ryantrinkle: first, you need a github_authorization block, that contains "owner = token <sha1>" pairs, using github personal access tokens, the token just needs push access to the repo
<clever> ryantrinkle: then you need a <githubstatus> block, jobs is a regex (with hidden anchors), that matches the job name from project:jobset:job
<clever> ryantrinkle: hydra will then check the github url of the input named by input, and the rev from that build, and report the status there
<clever> it parses the blocks in that order, and stops at the first match
Huddo121 has joined #nixos
broccoli has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ee80654b526 (from 72 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
__manu has joined #nixos
<__manu> Hi, I'm new to nixos. I like to add a notice to a package that the packe is outdated. Do I open a pull request or where I do this?
derchris_ has quit [Ping timeout: 260 seconds]
<__manu> tha a packae is outdated and should not be used anymoe...
derchris_ has joined #nixos
<__manu> I lost characters on my keyboaard, sorry :)
b has joined #nixos
mahalel_ has joined #nixos
<makefu> i am not sure about the 'official' policy but for an update you can simply create a PR with the new version
<makefu> if it is outdated and should not be used anymore at all you can create a PR which removes the package
<{^_^}> [nixpkgs] @FRidh merged pull request #40762 → geojson: init at 2.3.0 → https://git.io/vppHZ
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vppdv
<{^_^}> → 2db356fe by @geistesk: pythonPackages.geojson: init at 2.3.0
<{^_^}> → c757111a by @FRidh: Merge pull request #40762 from geistesk/python-geojson-2.3.0
<__manu> makefu: What is PR?
fendor has quit [Ping timeout: 256 seconds]
<Aleksejs> hi, is there any torrent for RPi3 image?
<__manu> Pull request on Github or in the security group at google?
<__manu> Do you have a link to the package section on GH for me to make a PR?
<makefu> PR is pull request against the nixos/nixpkgs repository
<__manu> okay. Thx
sellout-1 has quit [Ping timeout: 276 seconds]
shabius has joined #nixos
sellout- has joined #nixos
mahalel_ has quit [Ping timeout: 240 seconds]
mahalel_ has joined #nixos
<Aleksejs> I'm trying to download RPi3 image from here https://www.cs.helsinki.fi/u/tmtynkky/nixos-arm/installer/ but speed is extremely slow for 2GB file. Is there any other option?
mahalel_ has left #nixos [#nixos]
bbarker has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #40761 → openshift: add {bash,zsh}-completion → https://git.io/vppHf
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vppFf
<{^_^}> → 6f20bc3e by @jensbin: openshift: add {bash,zsh}-completion
<{^_^}> → fccf7f11 by @Mic92: openshift: simplify shell completion installation
<{^_^}> → e5cbbd6f by @Mic92: Merge pull request #40761 from jensbin/openshift
brandon__ has quit [Ping timeout: 265 seconds]
ixxie has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
ericsagnes has quit [Ping timeout: 256 seconds]
freeman42x[nix] has joined #nixos
MichaelRaskin has quit [Ping timeout: 256 seconds]
<__manu> makefu: did it.
__manu has quit [Quit: Page closed]
silver has joined #nixos
xy2_ has joined #nixos
ericsagnes has joined #nixos
joehh1 has quit [Ping timeout: 260 seconds]
<samueldr> Aleksejs: there's no torrent, I host a mirror which may be faster [citation needed] here, always verify shasums with the original source first https://mirrors.samueldr.com/nixos-arm/installer/
shabius_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #40758 → wireguard-go: init at 0.0.20180514 → https://git.io/vpp9a
<{^_^}> [nixpkgs] @Mic92 pushed 6 commits to master: https://git.io/vppbT
<{^_^}> → b599f672 by @kirelagin: wireguard-go: init at 0.0.20180514
<{^_^}> → 5f3480e0 by @kirelagin: wireguard-go: use deps2nix for dependencies
<{^_^}> → 3b44015e by @kirelagin: wireguard-go: use postPatch instead of patchPhase
shabius has quit [Ping timeout: 256 seconds]
AstroBadger has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
coot has quit [Quit: coot]
alex`` has quit [Ping timeout: 255 seconds]
alex`` has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ee80654b526 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
AstroBadger has joined #nixos
Martin89 has joined #nixos
ixxie has quit [Ping timeout: 248 seconds]
joehh1 has joined #nixos
<kandinski> I don't understand why I'm caught with this bug: https://github.com/NixOS/nixpkgs/pull/38655
<kandinski> I recently downgraded from unstable to 18.03, but I still have pipenv-11.9.0
<kandinski> damn, I'm on 18.09 for some reason...
<kandinski> yes, I'm on unstable still. That would explain.
shabius has joined #nixos
shabius_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
Ross has quit [Ping timeout: 248 seconds]
Ross has joined #nixos
ThatDocsLady has quit [Ping timeout: 268 seconds]
<{^_^}> [nix] @NinjaTrappeur closed pull request #2167 → Fix `builtins.path` error handling → https://git.io/vpxyF
<tfc[m]> hi there. i have set up a hydra build server and builds work great. however, i have some git repos that either need https credentials or git pubkey for clone access. how can i make all hydra build jobs use a specific pubkey that i can register in those repos? or what other method would be advised?
jtojnar has quit [Read error: Connection reset by peer]
grumblr has joined #nixos
grumble has quit [Quit: Humans finding the key to immortality would be like the Earth getting cancer - cells that live forever and don't stop multiplying.]
grumblr is now known as grumble
ckauhaus has joined #nixos
jtojnar has joined #nixos
xy2_ has quit [Ping timeout: 268 seconds]
yyyyyyyyyyyy has joined #nixos
yyyyyyyyyyyy has left #nixos [#nixos]
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktopPackages.preview: 1.2.20 -> 1.2.21 »: https://git.io/vppNN
Rusty1_ has joined #nixos
<mjacob> is there a way to show what inputs where used for a derivation in the nix store?
<mjacob> nevermind, i just found nix show-derivation
MichaelRaskin has joined #nixos
<{^_^}> [nixpkgs] @Assassinkin opened pull request #40767 → WIP: pythonPackages.ModernGL: init at 5.2.1 → https://git.io/vppAw
ckauhaus has quit [Remote host closed the connection]
endformationage has joined #nixos
ckauhaus has joined #nixos
<nixosnewbie> I am still struggling with getting an overlay working. my goal is to be able to install latest postgresql and related extension packages for postgresql that have been added to nixpkgs after 18.03 release in an overlay.
<nixosnewbie> I have created an overlay file at /etc/nixos/overlays/overlay-1/default.nix and have referenced it in /etc/nixos/configuration.nix
<nixosnewbie> when I try to nixos-rebuild switch, it errors out in a part of configuration.nix where I am adding the postgresql extensions using extraPlugins: error: attribute 'cstore_fdw' missing, at /etc/nixos/configuration.nix:129:12
ixxie has joined #nixos
<{^_^}> [nixpkgs] @CommunicationAnimale opened pull request #40768 → nixos/thinkfan: use non-deprecated keywords in config file. → https://git.io/vppxL
<joehh1> anyone using buildkite agents on nixos?
<nixosnewbie> cstore_fdw is one of the postgresql extensions/plugins that was added to nixpkgs after 18.03, that is present in my overlay nixpkgs that I get using getFromGitHub. so I'm confused why in the configuration.nix I can't figure out how to reference the overlaid package
ckauhaus has quit [Remote host closed the connection]
<nixosnewbie> example of my overlay and configuration.nix here: https://pastebin.com/PvWA8bsD
<joehh1> having trouble with my runtimePackages not seeming to be available
<{^_^}> [nixpkgs] @Mic92 merged pull request #40752 → alacritty: Fix darwin. → https://git.io/vppDS
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vppx3
<{^_^}> → b739397a by @TravisWhitaker: alacritty: Fix darwin.
<{^_^}> → a5b47bb3 by @Mic92: alacritty: 2018-04-16 -> 2018-05-09
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/ee80654b526 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<{^_^}> → 4c132c40 by @Mic92: Merge pull request #40752 from TravisWhitaker/alacritty-darwin
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @mnacamura opened pull request #40769 → slib: 3b2 -> 3b5 → https://git.io/vppxG
rain1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mnacamura opened pull request #40770 → gauche: init at 0.9.5 → https://git.io/vppxg
<{^_^}> [nixpkgs] @wucke13 opened pull request #40771 → standard-tar: init at 1.5.3 → https://git.io/vppxw
<gchristensen> is there a way to know every store path that (a) came from a specific binary path, (b) had a build-time dependency on a store path from a specific binary path or (c) had a run-time dependency on a store path from a specific binary path?
<gchristensen> specific binary _cache_*
primeos_ has joined #nixos
<gchristensen> use case: I no longer trust a binary cache I used to trust
<gchristensen> cc copumpkin who thinks about these things
primeos has quit [Ping timeout: 256 seconds]
blankhart has joined #nixos
MinceR has quit [Ping timeout: 260 seconds]
Yaniel has quit [Remote host closed the connection]
aarvar has joined #nixos
MinceR has joined #nixos
Yaniel has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/70c60a2fdca (from 78 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @primeos opened pull request #40772 → html-proofer: init at 3.8.0 → https://git.io/vpppk
grp has joined #nixos
<ixxie> gchristensen: I am not sure, but the dependency bit is a graph analytics problem and I had an idea to do something similar for otherwise flagged packages/store addresses
romildo has joined #nixos
<ixxie> gchristensen: I was thinking about a 'reproducibility rating' flag
acarrico has joined #nixos
romildo has left #nixos [#nixos]
stumble has joined #nixos
<{^_^}> [nixos-homepage] @ryantm opened pull request #218 → add discourse to community page → https://git.io/vpppn
acarrico has quit [Ping timeout: 260 seconds]
acarrico has joined #nixos
joehh1 has quit [Ping timeout: 268 seconds]
Taneb has quit [Quit: I seem to have stopped.]
ckauhaus has joined #nixos
<ixxie> gchristensen: I think https://github.com/craigmbooth/nix-visualize/blob/master/nix_visualize/visualize_tree.py could be leveraged to get this done relatively quickly
<gchristensen> ixxie: ooh cool
<gchristensen> to all of that
<ixxie> gchristensen: once the graph loaded into python its a piece of cake to find the store addresses affected by a bad address
<ixxie> so that hard part is done for you :)
<{^_^}> [nixpkgs] @primeos merged pull request #40772 → html-proofer: init at 3.8.0 → https://git.io/vpppk
<{^_^}> [nixpkgs] @primeos pushed to master « html-proofer: init at 3.8.0 (#40772) »: https://git.io/vpppM
ajs124 has left #nixos ["Stream closed by us: Timed out waiting for stream resumption (connection-timeout)"]
dvim has quit [Quit: WeeChat 2.1]
acarrico has quit [Ping timeout: 248 seconds]
ckauhaus has quit [Remote host closed the connection]
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
nixosnewbie has quit [Ping timeout: 260 seconds]
nuncanada has joined #nixos
grp has quit [Ping timeout: 248 seconds]
<mjacob> i'm trying to build a system with a custom musl, using an overlay: https://paste.pound-python.org/show/9m76dNIlPJxn6af0b1jR/
<mjacob> but when i build the 'hello' package with it, it still links to the original musl, more specifically /nix/store/k23gcrzg18yyspkk9dflrgn6h9j1chbs-musl-1.1.19-x86_64-unknown-linux-musl/lib/libc.so
<mjacob> can an overlay replace packages in a stdenv?
romildo has joined #nixos
<romildo> nixos-rebuild on the unstable channel is giving the warning: You don't have `system.nixos.stateVersion` explicitly set. Expect things to break. What am I expected to do to fix this on my NixOS unstable system?
pi3r has joined #nixos
<pi3r> Is there an idiomatic way to add system executable dependencies for a turtle program that use for instance jq and pepper in Haskell ?
<pi3r> I have been trying to use ` extra-libraries: jq, pepper
<pi3r> `. The first one is found when running nix run but the second one (pepper) is never found.
<pi3r> I don't really want to depends on a library only on one executable
ckauhaus has joined #nixos
zielmicha_ has quit [Ping timeout: 256 seconds]
<pi3r> I am a bit confused by the name 'librarySystemDepends'. Is that for linking to system lib so it would not help my use case ?
<manveru> pi3r: how do you run it, and do you have a derivation yo ucan share?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « minikube: 0.26.0 -> 0.27.0 »: https://git.io/vpphx
jD91mZM2 has joined #nixos
<manveru> generally executables need to be in $PATH
desttinghim[m] has quit [Ping timeout: 256 seconds]
jameshjacksonjr[ has quit [Ping timeout: 256 seconds]
<manveru> so usually you'd wrap your executable in one that adds the needed things to PATH
cryp2nomicon has joined #nixos
bhipple[m] has quit [Ping timeout: 256 seconds]
unlmtd has quit [Ping timeout: 256 seconds]
freeman42x has quit [Ping timeout: 256 seconds]
sphalerit has quit [Ping timeout: 256 seconds]
zielmicha_ has joined #nixos
Dezgeg[m] has quit [Ping timeout: 256 seconds]
malteof[m] has quit [Ping timeout: 256 seconds]
pierrebeaucamp[m has quit [Ping timeout: 256 seconds]
Ralith has quit [Ping timeout: 256 seconds]
<cryp2nomicon> anybody here has a recommended configuration.nix for 18.03 for a thinkpad T440?
ckauhaus has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
colemickens has quit [Ping timeout: 256 seconds]
benkolera has quit [Ping timeout: 256 seconds]
benkolera has joined #nixos
<pi3r> manveru: I am running `nix run -f release.nix project` with http://nixpaste.lbr.uno/OOfwFOiS?nix
Wizek_ has joined #nixos
<pi3r> And I generate my default.nix with cabal2nix . > default.nix
hl has quit [Ping timeout: 256 seconds]
Wizek has quit [Ping timeout: 256 seconds]
tghume has quit [Ping timeout: 256 seconds]
Wizek_ is now known as Wizek
colemickens has joined #nixos
<pi3r> Here is the default.nix : http://nixpaste.lbr.uno/aSWP082y?nix
<pi3r> manveru: I guess I need to create a wrapper, what I am currently doing is really for system lib deps not for executable deps
unlmtd has joined #nixos
sphalerit has joined #nixos
Dezgeg[m] has joined #nixos
malteof[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
freeman42x has joined #nixos
Ralith has joined #nixos
<pi3r> I might get confused because of the explanation from https://github.com/Gabriel439/haskell-nix/tree/master/project2 which use such an approach to mark test exec deps
tghume has joined #nixos
bhipple[m] has joined #nixos
desttinghim[m] has joined #nixos
jameshjacksonjr[ has joined #nixos
hl has joined #nixos
broccoli has joined #nixos
acarrico has quit [Ping timeout: 256 seconds]
ixxie has quit [Ping timeout: 256 seconds]
<alexteves> how should I handle a derivation without source, only build inputs? I have something like https://nixos.org/nixpkgs/manual/#how-to-create-ad-hoc-environments-for-nix-shell, but simpler (just name & nativeBuildInputs), but nix errors because it wants a src/srcs parameter in the unpackPhase - should I just override that phase?
<symphorien> alexteves: for nix-shell, there is a function mkShell which only takes buildInputs iirc
<alexteves> so there is - trying it now
<clever> alexteves: there is also runCommand
<{^_^}> [nixpkgs] @orivej opened pull request #40774 → linuxPackages.dpdk: 17.05.1 -> 17.11.2 → https://git.io/vppjh
acarrico has joined #nixos
<jD91mZM2> To cross compile with nix, do you just need to `import <nixpkgs> { crossSystem = ...; }`?
<clever> jD91mZM2: yep
<clever> (import <nixpkgs> { crossSystem = (import <nixpkgs/lib>).systems.examples.muslpi; }).hello
<electrocat> :O
<clever> this would produce a 32bit arm binary targeting musl
<clever> (import <nixpkgs> { crossSystem = (import <nixpkgs/lib>).systems.examples.raspberryPi; }).linuxPackages_rpi.kernel
<electrocat> clever: where is this documented?
<clever> and this produces an rpi kernel
<jD91mZM2> <nixpkgs/lib> is short for <nixpkgs>.lib, right, btw?
<clever> (import <nixpkgs> { crossSystem = (import <nixpkgs/lib>).systems.examples.raspberryPi; }).hello would be a 32bit arm binary with normal glibc
<jD91mZM2> Could you do <nixpkgs/lib/systems/examples>.raspberryPi?
<clever> jD91mZM2: it refers to the lib directory in nixpkgs, not the lib attribute
<jD91mZM2> oh
<clever> think of it like #include <foo/bar.h> in c/c++
<{^_^}> [nixpkgs] @xeji merged pull request #40646 → pgroonga: 2.0.5 -> 2.0.6 → https://git.io/vpbxm
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pgroonga: 2.0.5 -> 2.0.6 (#40646) »: https://git.io/vphek
<jD91mZM2> So is there a difference between (import <nixpkgs> {}).lib.systems.examples.raspberryPi and your thing?
<clever> (import <nixpkgs> {}).lib imports the top-level of nixpkgs, which is a much more complex expression, and potentially slower
<jD91mZM2> ah
<clever> while import <nixpkgs/lib> is just the lib and nothing else, no support for overrides, overlays, cross-compiling, and 20,000 packages
nixosnewbie has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40660 → obs-studio: 21.1.1 -> 21.1.2 → https://git.io/vpNYC
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « obs-studio: 21.1.1 -> 21.1.2 (#40660) »: https://git.io/vpheY
blankhart has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @xeji merged pull request #40664 → librelp: 1.2.15 -> 1.2.16 → https://git.io/vpNGf
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « librelp: 1.2.15 -> 1.2.16 (#40664) »: https://git.io/vphes
<jD91mZM2> I'm trying to compile to MingW and getting an error with -lpthread
<jD91mZM2> Do I just need to add some pthread lib to buildInputs?
broccoli has quit [Ping timeout: 256 seconds]
<electrocat> my god
<electrocat> this cross compilation is the coolest thing
<clever> jD91mZM2: i think you want windows.pthreads
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « git-ftp: 1.4.0 -> 1.5.1 (#40673) »: https://git.io/vpheE
<{^_^}> [nixpkgs] @xeji merged pull request #40673 → git-ftp: 1.4.0 -> 1.5.1 → https://git.io/vpNVq
<jD91mZM2> clever: Is that a package?
<clever> jD91mZM2: yeah
<jD91mZM2> Ah crap that package is broken
<jD91mZM2> "error: undefined variable 'hostPlatform'"
nico202 has joined #nixos
<jD91mZM2> Seems just like #40207 but for the 64-bit version
<{^_^}> https://github.com/NixOS/nixpkgs/issues/40207 (by jD91mZM2, closed): pthread-w32: undefined variable 'hostPlatform'
pi3r has quit [Ping timeout: 256 seconds]
<clever> jD91mZM2: i think it only evals when your using cross-compiling
<clever> not sure though
<nico202> Hi, when I run run-nixos-vm the first time it works. If I re-launch it it freezes at login time. I can get it working only by deleting the nixos.qcow2 and trying again, does it happens only to me?
<jD91mZM2> clever: I am cross compiling though... I think....
<mjacob> clever: thank you for helping me yesterday. i still couldn't fix the problem, though (see also my three messages about an hour ago). if you have another idea, that would be great!
pi3r has joined #nixos
<electrocat> is there a function that links packages static?
<{^_^}> [nixpkgs] @xeji merged pull request #40653 → mlt: 6.6.0 -> 6.8.0 → https://git.io/vpNkE
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mlt: 6.6.0 -> 6.8.0 (#40653) »: https://git.io/vphvL
<electrocat> similar to haskell's justStaticExecutables
leat has quit [Ping timeout: 240 seconds]
<electrocat> symphorien: thank you
<electrocat> bookmarking that page
<{^_^}> [nixpkgs] @dywedir opened pull request #40775 → connman: 1.35 -> 1.36 → https://git.io/vphvl
freeman42x[nix] has quit [Ping timeout: 256 seconds]
<noefk> does nixops have anything like puppet factor or ansible facts? where it can learn things about the remote system that aren't say in the deployment configuration?
<alexteves> symphorien: mkShell has the same problem in my case - it works for nix-shell, but not for nix-build
<symphorien> alexteves: what are you trying to achive ?
<alexteves> have a derivation for use by nix-shell exposed at the top level without messing up the default nix-build
karlguy has joined #nixos
<alexteves> i.e. have both "nix-shell -A myDrv" and "nix-build work"
jtojnar has quit [Read error: Connection reset by peer]
<symphorien> just write it without bothering for nix-shell and it should work
nico202 has quit [Ping timeout: 276 seconds]
<alexteves> right, that's the original problem: there's no source here, only buildInputs - do I just override unpack phase?
<symphorien> what is this derivation ?
jtojnar has joined #nixos
<clever> alexteves: have you tried runCommand?
<alexteves> symphorien: just mkDerivation { name = "blabla"; nativeBuildInputs = [a b c] }
<alexteves> clever: no, looking it up
<symphorien> what is the point to build it, then ?
<{^_^}> [nixpkgs] @xeji merged pull request #40748 → lua5.1: fix broken source fetch → https://git.io/vppKa
<{^_^}> [nixpkgs] @xeji pushed commit from @bhipple to master « lua5.1: fix broken source fetch (#40748) »: https://git.io/vphvM
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome-desktop-testing: 2016.1 → 2018.1 »: https://git.io/vphvS
<alexteves> I don't want to build it per-se, but it seems to me I need to if I want have "nix-build" at the root not error and the shell derivation be available at the top level...
<alexteves> could totally be a XY problem
<symphorien> alexteves: rename default.nix in shell.nix then
<symphorien> nix-shell will work and nix-build won't see the file
leat has joined #nixos
<alexteves> hmm true
terrorjack has quit [Remote host closed the connection]
akl has quit [Remote host closed the connection]
gridaphobe has quit [Remote host closed the connection]
thoughtpolice has quit [Remote host closed the connection]
dmj` has quit [Remote host closed the connection]
eddyb has quit [Remote host closed the connection]
xplat|work_ has quit [Remote host closed the connection]
mgdelacroix has quit [Remote host closed the connection]
kyrre has quit [Remote host closed the connection]
mpickering has quit [Remote host closed the connection]
scott has quit [Remote host closed the connection]
indika has quit [Remote host closed the connection]
Tritlo has quit [Remote host closed the connection]
srid has quit [Remote host closed the connection]
philips has quit [Remote host closed the connection]
nand0p has quit [Remote host closed the connection]
jxf has quit [Remote host closed the connection]
yurrriq has quit [Remote host closed the connection]
chimay has joined #nixos
<alexteves> I was trying to keep it being "nix-shell -A blabla" but guess there's not much point when blabla is "shell"
<alexteves> actually, that should still be possible by having a top level attribute in shell.nix right?
blahdodo has quit [Ping timeout: 240 seconds]
<symphorien> alexteves: shell.nix is the real default of nix-shell
orivej has quit [Ping timeout: 256 seconds]
srid has joined #nixos
<symphorien> so nix-shell without argument will read shell.nix
Xal has quit [Ping timeout: 260 seconds]
tmplt has quit [Ping timeout: 260 seconds]
<symphorien> if there is no shell.nix then it will default to default.nix
Tritlo has joined #nixos
jxf has joined #nixos
<symphorien> but nix-build will ignore shell.nix
<{^_^}> [nixpkgs] @jtojnar pushed 9 commits to master: https://git.io/vphvx
<{^_^}> → 683d397d by @jtojnar: gnome3.gnome-boxes: 3.28.3 → 3.28.4
<{^_^}> → 2ffff13c by @jtojnar: gegl_0_4: 0.4.0 → 0.4.2
<alexteves> right
<{^_^}> → 3929be84 by @jtojnar: gnome3.gnome-getting-started-docs: 3.28.1 → 3.28.2
thoughtpolice has joined #nixos
gridaphobe has joined #nixos
mpickering has joined #nixos
<symphorien> so there is no problem of top level, is there ?
akl has joined #nixos
dmj` has joined #nixos
xplat|work_ has joined #nixos
yurrriq has joined #nixos
mgdelacroix has joined #nixos
terrorjack has joined #nixos
philips has joined #nixos
nand0p has joined #nixos
eddyb has joined #nixos
<Myrl-saki> How does `types.submodule` compose with `types.nullOr`?
kyrre has joined #nixos
tmplt has joined #nixos
blahdodo has joined #nixos
scott has joined #nixos
indika has joined #nixos
jtojnar has quit [Remote host closed the connection]
Xal has joined #nixos
acarrico has quit [Ping timeout: 256 seconds]
<mjacob> should i write to the mailing list or to the discourse instance? https://nixos.org/nixos/community.html doesn't even list discourse
<Myrl-saki> Oh wow. I'm a disaster. I forgot to place mkOption on my options...
<joepie91> ... discourse instance? there's a discourse instance?
<maurer> Evidently they're switching to it from a mailing list. God damn I hate the future.
<joepie91> I have some criticisms regarding discourse but this seems like an improvement from an accessibility POV
<mjacob> think positive: at least it's not slack :)
<mjacob> anyway, i didn't want to start a discussion, i just wanted to ask what's the canonical way to approach the nix community
<maurer> joepie91: I think you mean barriers to entry - from an accessibility POV it's gonna be worse because it's a super ajaxy UI, which usually works worse than usual with screen readers
<maurer> mjacob: Right now it's still the mailing list, but they've announced that it will be the discourse in the future
<joepie91> maurer: 'accessibility' encompasses more than just screen readers and other assistive tools
<mjacob> zimbatm: since you announced the change from mailing list to discourse, which one should i use *right now*?
<joepie91> I think Discourse does have measures to deal with screenreaders, actually?
<maurer> joepie91: Sure, it also means things like the shortcuts I use to avoid carpal tunnel
<maurer> joepie91: which I already know from rust discourse doesn't support
<manveru> i use saka key for that
<maurer> but w/e, this isn't super important since I wasn't a heavy mailing list user to begin with
<joepie91> maurer: it also includes the ability to participate in something based on technical knowledge and experience :) and that's where mailing lists tend to score very poorly as their operation is not self-evident
<maurer> I'm just annoyed every time that something moves off a technology where there are a variety of comfortable clients and onto "You must run at least this much javascript to play"
<joepie91> which is what my remark was originally based on
<manveru> also the forum and mailing list are linked anyway
pi3r has quit [Remote host closed the connection]
<joepie91> also, I thought that no-JS accessibility was solved in Discourse at some point, but I get a blank page now - what?
<manveru> so you can write mails and subscribe
<joepie91> not really sure what's going on there..
pi3r has joined #nixos
<joepie91> hrm, I guess something has changed with that...
<joepie91> :.
<joepie91> :/ *
Mateon3 has joined #nixos
<joepie91> mmm, there's still a noscript tag in the page contents, but apparently JS-blocking extensions don't always make that visible, so that's why I'm getting a blank page... but it's *possible* to view things without JS
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
<zimbatm> mjacob: discourse is fine
<disasm> trying to write configs for two separate services that share the same user. But it complains that " The unique option `users.users.hledger.uid' is defined multiple times" What's the best way to do this? Should I just put both in the same module?
<mjacob> zimbatm: will i reach as many people?
<clever> disasm: what if you make a module that defines the user once, and has an enable option?
<disasm> clever: you mean a 3rd module just for the user? Is that done elsewhere in nixos modules in nixpkgs?
the_real_plumps has quit [Remote host closed the connection]
<disasm> I'm thinking maybe just putting both in same file. hledger.api.enable and hledger.web.enable, then in extraUsers if either is enabled, create the user.
<clever> disasm: most of the time, the user is defined once in the service that uses it
<clever> and only if that service is enabled
broccoli has joined #nixos
<roconnor> I don't have system.nixos.stateVersion set; how do I figure out what to set it to?
the_real_plumps has joined #nixos
<clever> roconnor: if everything is currently working, set it to the default value from `nixos-option nixos.stateVersion`
<jD91mZM2> Did somebody mention moving away from a mailing list? Woohoo, I hate emails :)
<roconnor> clever: right. There was a tool to query this sort of thing ...
<clever> roconnor: nixos-option
<roconnor> hmmm, it always returns nothing
<clever> roconnor: did you run it on an option name?
<jD91mZM2> roconnor: Yeah but does it give you the default value?
<roconnor> oops i probably need sudo
<clever> ah, the option is system.stateVersion, not nixos.stateVersion
<clever> [root@amd-nixos:~]# nixos-option system.stateVersion
<roconnor> clever: thanks. Running it as root (but not as sudo) works
<roconnor> except it doesn't print the default value.
<roconnor> I should just set it to "18.03" What could go wrong. :D
blankhart has joined #nixos
jtojnar has joined #nixos
<clever> roconnor: if your already on 18.03, nothing
<jD91mZM2> May god have mercy on your soul
aarvar has quit [Ping timeout: 255 seconds]
<alexteves> symphorien: thanks, I got all the combinations to work nicely by moving the shell thing into shell.nix
jD91mZM2 has quit [Quit: WeeChat 2.0]
<alexteves> clever: I couldn't figure out what to give as the last argument to runCommand, but I found out an existing case of that: https://github.com/reflex-frp/reflex-platform/blob/develop/default.nix#L663
<clever> alexteves: runCommand "name" { buildInputs = []; } "script"
aarvar has joined #nixos
pi3r has quit [Ping timeout: 256 seconds]
<alexteves> right, but I didn't know what to use as script
<clever> alexteves: nix will run that script to build the thing you wanted to build
<{^_^}> [nixpkgs] @xeji merged pull request #40734 → lastpass-cli: 1.3.0 -> 1.3.1 → https://git.io/vppvb
<{^_^}> [nixpkgs] @xeji pushed commit from @efx to master « lastpass-cli: 1.3.0 -> 1.3.1 (#40734) »: https://git.io/vphUZ
pi3r has joined #nixos
aarvar has quit [Ping timeout: 240 seconds]
GiGa has joined #nixos
GiGa has quit [Remote host closed the connection]
<zimbatm> mjacob: is it for help or announce? worst case you can post a link to discourse on the mailing list
xy2_ has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
alex`` has joined #nixos
pi3r has quit [Ping timeout: 256 seconds]
<mjacob> zimbatm: i'd like to describe a drawback of nix's design and discuss possible solutions. it's more of a meta issues as opposed to a be limited to nix or nixpkgs.
<mjacob> s/issues/issue/
kreisys has joined #nixos
dvim has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40775 → connman: 1.35 -> 1.36 → https://git.io/vphvl
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « connman: 1.35 -> 1.36 (#40775) »: https://git.io/vphTs
<zimbatm> sounds good, Discourse is where people should go for that type of discussion
pi3r has joined #nixos
<zimbatm> maurer: please let me know if Discourse is not accessible
<{^_^}> [nixpkgs] @disassembler opened pull request #40777 → nixos/hledger: initial web/api services → https://git.io/vphTu
<zimbatm> for existing threads it's possible to configure a mailing-list mode and reply by email
<zimbatm> for new threads it's more problematic
<zimbatm> I am thinking of introducing a catch-all email address and then have the moderators classify the discussions for you
mkoenig has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40658 → Unbreak gv (fixes #34841) → https://git.io/vpNmM
<{^_^}> [nixpkgs] @xeji pushed commit from @iblech to master « Unbreak gv (fixes #34841) (#40658) »: https://git.io/vphTi
broccoli has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « gcc5: delete unused patch »: https://git.io/vphTj
<{^_^}> [nixpkgs] @phile314 opened pull request #40778 → Slimserver: Fix media scanning & transcoding → https://git.io/vphkJ
<zimbatm> I created https://discourse.nixos.org/t/about-the-inbox-category/233 for email integration
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to release-18.03: https://git.io/vphkP
<{^_^}> → c6a5b161 by @YorikSar: chromium: 66.0.3359.139 -> 66.0.3359.170
<{^_^}> → fcea258c by @YorikSar: chromium: 66.0.3359.170 -> 66.0.3359.181
<{^_^}> [nixpkgs] @vcunat merged pull request #40718 → chromium: 66.0.3359.139 -> 66.0.3359.181 → https://git.io/vpxC9
<{^_^}> → 6d9aa787 by @vcunat: Merge #40718: chromium: 66.0.3359.139 -> 66.0.3359.181
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.03: https://git.io/vphky
<{^_^}> → 7e14bdca by @matthewbauer: xquartz: fix build
<{^_^}> → 23855490 by @vcunat: Merge #40407: xquartz: fix build
<{^_^}> [nixpkgs] @vcunat merged pull request #40407 → xquartz: fix build → https://git.io/vpSiP
broccoli has joined #nixos
xy2_ has quit [Ping timeout: 260 seconds]
ckauhaus has joined #nixos
nschoe has joined #nixos
<nschoe> Hello everyone, I'm trying to write a default.nix file for a simple library (https://github.com/payden/libwsclient). I was wondering where I could get some basic example one how to write a nix file for a library?
ckauhaus has quit [Ping timeout: 240 seconds]
mkoenig has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #40781 → Revert "iasl: 20180313 -> 20180508 (#40613)" → https://git.io/vphIz
<Izorkin> in latest update error - /etc/zshenv:10: command not found: mkdir - how to fix?
<nikivi> I installed Git with nix and started getting issues when I try to git clone things
<nikivi> I always get this error: SSL: can't load CA certificate file /bin/curl-ca-bundle.crt
<nikivi> I am on macOS however not linux
<nikivi> I asked on #apple and they don't know anything about it :(
<nikivi> #macos*
<maurer> zimbatm: It mostly works, evidently since the rust community started using it initially, they've fixed the keyboard shortcut issue (I hadn't been tracking it closely)
<zimbatm> cool
<nschoe> rycee, thanks :)
<zimbatm> maurer: what kind of software do you use to interact with discourse?
<rycee> nschoe: I'll try to find some more specific example that would be suitable for you.
xy2_ has joined #nixos
<nschoe> rycee, cool, thanks!
<nschoe> (in case this is not obvious, this is my first time trying to write a nix file for a library that is not already available to nix users ^^)
<rycee> nschoe: So from what I can tell there are no official releases of libwsclient so you should use some specific commit reference for the rev field. And it doesn't seem to include a configure script so you should include `nativeBuildInputs = [ autoreconfHook pkgconfig ];` like in the example aboe.
griff_ has quit [Ping timeout: 256 seconds]
<maurer> zimbatm: I use the vimium plugin for chrome and pentadactyl in firefox - basically both allow you to browse without using a mouse.
<nschoe> rycee, thanks for your time and your help. I had indeed planned to use a specific commit for 'rev'.
<maurer> zimbatm: As I mentioned earlier, I wasn't a huge mailing list user, so this is not actually that important to consider me - it was mostly "old man yells at cloud" more than real concern for an inability to continue dev work
<nschoe> rycee, on the other hand, I'm not sure I understand the autoreconfHook and pkgconfig, neither 'nativeBuildInputs'. What is the difference between 'buildInputs' and 'nativeBuildInputs'?
<rycee> nschoe: No worries. Good luck :-)
Ariakenom has quit [Read error: Connection reset by peer]
<rycee> nschoe: buildInputs are inputs needed for the target host and the nativeBuildInputs are inputs needed for the build host.
<rycee> nschoe: So it's basically for cross-compilation.
rain1 has joined #nixos
dmc has quit [*.net *.split]
<maurer> nschoe: nativeBuildInputs are similar to the "build" part of build-host-target in cross comp
<nschoe> oh I see okay.
<maurer> So, like, "patch" (if it weren't already in stdenv) would be nativeBuildInputs
<maurer> but a library should definitely not be
cryp2nomicon has quit [Quit: leaving]
<nschoe> So if hydra makes a binary out of the package, when we as users install the library, we won't need to fecth the deps in 'nativeBuildInputs', right/
<clever> nschoe: thats entirely seperate
Izorkin has quit [Read error: Connection reset by peer]
<clever> nschoe: after the build is done, nix will basically grep the output for the paths of every single input
<clever> nschoe: any path you refer to becomes a runtime dep
Izorkin has joined #nixos
<clever> and it has to download those before it can download the thing that depends on them
<nschoe> clever, okay, but... even what's in 'nativeBuildInput'?
<clever> nschoe: if your naughty and refer to the native build inputs in $out, yes
<nschoe> This seems unnecessary, since the user is installign the binary, it won't need to compile it, right?
<clever> but if you dont refer to them in the output, then they wont be runtime deps
<nschoe> oh okay, but otherwise, no.
<nschoe> Ok
<maurer> Stuff in buildInputs isn't even necessarilly pulled down during installation
<maurer> all the input stuff only defines what's needed for the build
<clever> yeah
<clever> the runtime deps are a strict subset of the build-time ones
<nschoe> okay
<nschoe> thank you all.
<nikivi> I thought that if you install things with nix from nixpkgs it should build? No?
<rycee> nikivi: Never seen that error before but then again I don't use a mac. The "/bin/curl-ca-bundle.crt" path seems odd.
<nschoe> What about autoreconfHook?
<maurer> What about it?
<nikivi> rycee I think the issue is that when I ran nix-env -iA nixpkgs.git it installed some minimal version of Git
dmc has joined #nixos
<rycee> nschoe: Since the libwsclient repo doesn't include a configuration script you have to create one before the build can start. The autoreconfHook will automatically do that for you.
<nikivi> I tried to install the actual Git tool but got a build error https://github.com/NixOS/nixpkgs/issues/40783
<clever> nschoe: the default git lacks gui and some other things
<nschoe> rycee, okay thanks
<maurer> nschoe: Oh, if you just want that level of information, try the manual in the future: https://nixos.org/nixpkgs/manual/
<clever> nikivi: nix-env -iA nixpkgs.gitAndTools.gitFull gives you the full git and everything
<maurer> If you ^F autoreconfHook, it'll tell you what it's for
Synthetica has joined #nixos
<nschoe> maurer, of course, I was just pushing my luck, asking. But yeah I'll definitely do this.
<maurer> The manual's incomplete, so don't be afraid to ask questions, but check it first :)
<nikivi> clever Thank you. Now I get a different error: https://hastebin.com/acanuqofim
<nikivi> Still certificate related
<clever> nikivi: are you in a nix-shell?
<nikivi> clever I am not, just normal zsh
<clever> nikivi: env | grep ssl, what does this find?
<nikivi> NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
<clever> nikivi: try `export SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt` and then clone again
griff_ has joined #nixos
<nschoe> Now that I have written the default.nix, what is the correct way of testing if this works? The manual talks about adding an entry in all-packages.nix and then using nix-build. It feels weird to have to add the entry, is there a quicker, "better" way?
<clever> nikivi: do you happen to have an ssh key setup with github for pushing?
<nikivi> clever I do yes
<clever> nikivi: try cloning git@github.com:felixangell/mac then
<clever> that will use ssh instead of https
<nikivi> I moved to Nix from my other package manager and nuked it yesterday (brew)
<nikivi> was really stressing out about this
<rycee> nschoe: There must be an entry for the package in all-packages.nix anyway.
<clever> nschoe: nix-build -E 'with import <nixpkgs> {}; callPackage ./. {}' is a quick way to test it
<nikivi> clever still error https://hastebin.com/aseyetetiw
<nschoe> rycee, yesh eventually, but when testing, it seems cumbersome.
<nschoe> clever, ah, thanks, that's what I was looking for. Thanks again.
<clever> nschoe: your ssh_config file contains config that ssh doesnt understand, you may want to comment those lines out
<rycee> nschoe: Then clever has the answer :-)
<nschoe> clever, -> nikivi :)
<nschoe> rycee, yep just saw. I'm testing now ^^
<clever> too many n names talking at once, lol
<nschoe> Np ^^
rauno has quit [Ping timeout: 255 seconds]
knupfer has joined #nixos
<nikivi> clever I never edited /etc/ssh/ssh_config before
<clever> nikivi: its possible that the ssh in nixpkgs has those features disabled, or somethign else you did performed automated changes to ssh_config
<nikivi> clever still error https://hastebin.com/eboxugizem (I commented the two errored SSH options)
<nikivi> I think the reason is that I reinstalled GPG that may have contained my key for GitHub
<clever> nikivi: your public key hasnt been added to your github account
<nikivi> when I installed it with Nix
broccoli has quit [Ping timeout: 256 seconds]
<nikivi> thanks clever will try solve this now
<nikivi> nice nick too :)
<clever> nikivi: you can also test your github setup with just `ssh git@github.com`
coot has joined #nixos
<clever> if its working, it will show you your own github username
<Izorkin> howt fix error - /etc/zshenv:10: command not found: mkdir
<infinisil> rycee: I just wish all nix stuff could use something better than bash
<symphorien> infinisil: https://github.com/NixOS/nixpkgs/pull/40759 is probabily related
<symphorien> Izorkin: sorry
<symphorien> I meant that it was for Izorkin
<Izorkin> thanks
orivej has joined #nixos
<{^_^}> [nixpkgs] @orivej merged pull request #40774 → linuxPackages.dpdk: 17.05.1 -> 17.11.2 → https://git.io/vppjh
<{^_^}> → d3071137 by @orivej: linuxPackages.pktgen: 3.4.0 -> 3.5.0
<{^_^}> [nixpkgs] @orivej pushed 4 commits to master: https://git.io/vphtc
<{^_^}> → 52ad7f73 by @orivej: linuxPackages.dpdk: 17.05.1 -> 17.11.2
<{^_^}> → fc10e188 by @orivej: linuxPackages.odp-dpdk: 1.15.0.0 -> 1.19.0.0_DPDK_17.11
<rycee> infinisil: Yeah, that would be nice.
romildo has quit [Quit: Leaving]
<rycee> infinisil: Not sure what it would be though.
<rycee> Maybe scheme :-)
<nschoe> ok sorry to bother again, I have added the entry in all-packages.nix, but when I'm trying to run `nix-build -I/home/nschoe/nixpkgs -A libwsclient-d416f` I still get the "error: cannot auto-call a function that has an argument without a default value ('stdenv')". I'm following the manual here. Is there smth obvious that I missed?
<clever> nschoe: you didnt tell it which file to load, so it opened default.nix in the current dir
<clever> nschoe: you want nix-build /home/nschoe/nixpkgs -A libwsclient-d416f
<nschoe> clever, but there is a default.nix in my current dir, what's the issue?
<clever> that default.nix can only be loaded with callPackage
<clever> nix-build cant run it directly
<nschoe> hum, ok.
<nschoe> Thanks, and sorry
rauno has joined #nixos
<rycee> nschoe: Did you name your attribute in all-packages "libwsclient-d416f"?
<nschoe> (nix gets ever more confusing when I try to actually understand it ^^)
<rycee> Can also use `nix build -f /home/nschoe/nixpkgs libwsclient-d416f` :-)
<nschoe> rycee, no I named it 'libwsclient'
<clever> nschoe: then you want -A libwsclient
<clever> -I/home/nschoe/nixpkgs doesnt tell it to load nixpkgs, that tells it that it can search in that dir when you do things like <foo>
<nschoe> clever, yes I've just seen that. But then should I keep `name = "libwsclient-$(version)"` in the default.nix?
nuncanada has quit [Quit: Leaving]
<clever> nschoe: yeah
<nschoe> ok
pi3r has quit [Ping timeout: 256 seconds]
<rycee> nschoe: Note, you cannot use "d416f" as a version. It must start with a digit and should be always increasing when new versions are released.
<rycee> nschoe: For packages with no official releases then the date should be used as version.
<nschoe> rycee, good to know, thanks.
<nschoe> date of the commit I suppose?
vaninwagen has joined #nixos
<clever> yeah
<nschoe> sorry :/
<rycee> nschoe: Yes, the date of the commit is best. Also according to this documentation the package name should be "libwsclient-unstable-YYYY-MM-DD"
<rycee> nschoe: So I'd suggest the "name" field inside the package to be that but for the attribute name in all-packages to remain libwsclient.
<nschoe> yep, "unstable" it is.
<rycee> nschoe: The reason why the version must start with a digit is because Nix uses that to parse out the version: `builtins.parseDrvName "libwsclient-d416f"` => `{ name = "libwsclient-d416f"; version = ""; }`
<rycee> While `builtins.parseDrvName "libwsclient-unstable-1900-01-01"` => `{ name = "libwsclient-unstable"; version = "1900-01-01"; }`
nuncanada has joined #nixos
<nschoe> Ho I see, thanks
<nschoe> (btw the build was successfull :-)
<blankhart> i am encountering an issue that might be described here https://github.com/NixOS/nixpkgs/issues/6802 while trying to compile https://hackage.haskell.org/package/cuboid in a nix shell
<nschoe> rycee, so to recap... in all-packages.nix, the name is simply 'libwsclient', but in default.nix, version = "YYYY-MM-DD" and name = "libwsclient-unstable-${version}", gives a "full name" of "libwsclient-unstable-YYYY-MM-DD", ok?
nuncanada has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
pip3000 has joined #nixos
<blankhart> cuboid compiles but when run, it can't find drivers in /run/opengl-drivers/. setting up symbolic links to the actual drivers doesn't seem to work any better. any ideas?
<rycee> Yes, that looks good :-)
nuncanada has joined #nixos
iyzsong has quit [Ping timeout: 255 seconds]
<rycee> nschoe: This naming thing is a bit tricky. Especially since there are multiple different types of name for a single package.
<rycee> blankhart: I guess you aren't running NixOS? Nixpkgs packages that use OpenGL are a bit tricky to use outside NixOS.
griff_ has quit [Quit: griff_]
<nschoe> rycee, indeed. I guess practice will make it easier to understand.
<nschoe> Now that the nix-build worked, let's see if I can have a shell.nix in order to use this lib ^^
<blankhart> rycee, no i am using ubuntu. i was wondering if this was an issue arising because i was building with nix. maybe if i try stack outside the shell it will work.
nuncanada has quit [Read error: Connection reset by peer]
pip3000 has quit [Ping timeout: 260 seconds]
<rycee> nschoe: Yeah, it gets easier :-) The https://nixos.org/nixpkgs/manual/#sec-package-naming section also describes it reasonably clearly.
nuncanada has joined #nixos
<MichaelRaskin> Well, a very low amount of LD_LIBRARY_PATH magic is required for Nix-outside-NixOS-with-OpenGL, but it is nonzero and you'd better know what you are doing
chimay has quit [Quit: WeeChat 2.1]
<blankhart> i tried setting that variable from within the shell while building but it didn't work at all. i definitely have no idea what i am doing
<rycee> blankhart: Hmm, I'm not certain.
<rycee> blankhart: You might want to have a look at this: https://github.com/guibou/nixGL
<rycee> blankhart: I've never used it though so I can't vouch for its effectiveness.
<blankhart> it looks like the answer though, or as good as i'm going to get. thanks
<infinisil> rycee: I wouldn't mind Haskell personally :P
<rycee> blankhart: Yeah, unfortunately I don't know of a really good solution for using nix packaged opengl applications outside NixOS. This was actually one of the reasons why I switched to running NixOS rather than running nix under a different distro.
cnidario has joined #nixos
<rycee> infinisil: That would be nice. Not sure if it is suitable for this type of generated script though. Every user of home manager would need a ghc installation and sit through it compiling a tiny program ;-)
<rycee> I guess could run it using runghc, though.
<rycee> But it's still a pretty hefty runtime to force on everybody.
saeedgnu has joined #nixos
<infinisil> rycee: Wouldn't need compilation if there was a cache for it
<rycee> infinisil: I guess Hugs would be nice for such cases :-)
saeedgnu has quit [Client Quit]
<nschoe> And this works! Thanks for your help rycee clever and maurer :)
saeedgnu has joined #nixos
xy2_ has quit [Ping timeout: 276 seconds]
<saeedgnu> hi, i'm trying to compile a program that uses boost, installed it with "nix-env -i boost.dev", but still says: fatal error: boost/version.hpp: No such file or directory
<infinisil> ,library saeedgnu
<{^_^}> saeedgnu: Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<rycee> infinisil: True. In this particular case I with there was some ready package in Nixpkgs for just opening a browser in a cross-platform safe way. I couldn't find any :-/
<rycee> s/with/wish/
<infinisil> rycee: bash scripts are lacking abstraction and libraries in general :(
<blankhart> rycee, the nixGL method you sent works
broccoli has joined #nixos
<{^_^}> [nixpkgs] @yurrriq opened pull request #40785 → lfe: 1.2.1 -> 1.3 → https://git.io/vphq0
<saeedgnu> infinisil: thank you
freeman42x[nix] has joined #nixos
<rycee> blankhart: Nice!
xy2_ has joined #nixos
marusich has joined #nixos
ixxie has joined #nixos
<rycee> infinisil: Yeah, good bash code it tricky. Something better would be nice. A long time ago I used to contribute to the Source Mage GNU/Linux distro and we wrote everything in Bash (including the package manager itself).
marusich has quit [Client Quit]
<rycee> With enough discipline and experience it was doable and turned out reasonably bug free :-)
<infinisil> rycee: Oh god
<rycee> Don't remember exactly but the package manager itself was something like 10k+ lines of code.
<MichaelRaskin> After compiling C++ on a compiler mere 10 years newer, I actually find Bash quite a nice choice…
<saeedgnu> :O
broccoli has quit [Ping timeout: 256 seconds]
<saeedgnu> that's why there is Rust and Go :D
<rycee> But yeah, would not recommend coding big applications in bash :-D
<gchristensen> bash is a great language for calling exec
maingo has joined #nixos
<MichaelRaskin> I have coded quite big things in Bash, not that bad.
<rycee> saeedgnu: Neither of them were around in the early 2000s when I was contributing to sourcemage :-)
sary has quit [Ping timeout: 264 seconds]
<saeedgnu> rycee: yeah i know, but there are now :)
<MichaelRaskin> Yeah, my Big Bash Script was also older than Rust and Go. I did consider Pascal — but I was not even sure people wouldn't mess up installing FPC in ten years' time
seppellll has joined #nixos
<saeedgnu> i'm kind of a bash guy too (my .bashrc is >370 lines, i wrote/change every line, track it with git), but when the logic gets complicated, i move to python / go
<rycee> Seems there was an 18.03 channel update :-D
<saeedgnu> bash is good for what it does, I'm not sure why people are using php when there is python
<saeedgnu> #languageWar
<infinisil> Personally I can't code anything with a not-statically-compiled language. I got used to Haskell's type checking that I'm gonna miss it wherever I don't have it
<infinisil> Well I can, but I don't like it
<infinisil> Should probably move to #nixos-chat for the language war though :P
<MichaelRaskin> Where we also have it anyway!
roconnor has quit [Read error: Connection reset by peer]
roconnor has joined #nixos
matthias_wahl has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
spear2 has quit [Quit: Leaving]
mkoenig has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<Unode> hi all. If I change a default.nix file in nixpkgs, shouldn't nix-env see the change and pick it up if I'm targetting the package. "nix-env -iA nixos.package"
<Unode> I'm trying to get a fresher version of freerdp but changing its default.nix doesn't seem to make any effect.
<symphorien> use -I nixpkgs=/path/to/checkout
<symphorien> and remove nixos.
<Unode> symphorien: good point. Somehow my user has 17.09 in NIX_PATH.
<Unode> and I was editing the 18.03 channel
<Unode> how does NIX_PATH get set?
<Unode> (I thought I had fixed this in the past)
blankhart has quit [Ping timeout: 256 seconds]
<symphorien> with nix-channel ? not sure, though
blankhart has joined #nixos
<Unode> I'm not using nix-channel anymore. just a git checkout
<Unode> Still somehow NIX_PATH is set
<Unode> to a clearly old channel
<Ralith> where can I get a musl stdenv?
cyris212 has joined #nixos
<{^_^}> [nixpkgs] @LnL7 merged pull request #40724 → m-cli: init at 0.2.5 → https://git.io/vpxaB
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/vphYO
<{^_^}> → 84919cd3 by @yurrriq: m-cli: init at 0.2.5
<{^_^}> → 41f3cede by @LnL7: Merge pull request #40724 from yurrriq/init/m-cli
<infinisil> > option "nix.nixPath"
<{^_^}> "The default Nix expression search path, used by the Nix\nevaluator to look up paths enclosed in angle brackets\n(e.g. <literal>&lt;nixpkgs&gt;</literal>).\n"
<infinisil> Unode: This option ^^
toby1851 has joined #nixos
<Unode> infinisil: thanks! I had changed system.stateVersion but missed that one.
toby1851 has quit [Client Quit]
<saeedgnu> i have another problem, while compiling: /nix/store/...-binutils-2.30/bin/ld: cannot find -lssl
<saeedgnu> and a bunch of others
<saeedgnu> openssl.dev is installed
<infinisil> ,library saeedgnu
<{^_^}> saeedgnu: Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<saeedgnu> i used nix-shell
<infinisil> How exactly?
<saeedgnu> nix-shell -p openssl.dev
<infinisil> Okay, but you have a nix file that you're building?
<saeedgnu> no, it's a qt-based software
<saeedgnu> qmake
<saeedgnu> make
<infinisil> I'm not sure why it can't find the library, but you should probably use a nix file for building
rauno has quit [Ping timeout: 240 seconds]
<saeedgnu> it does not support nix
<infinisil> What doesnt?
<saeedgnu> i never wrote a nix file
<saeedgnu> i'm new
<saeedgnu> do i have to write it?
<infinisil> If you wanna use nix you'll have to know how to write nix eventually
alex`` has quit [Ping timeout: 240 seconds]
<saeedgnu> hmmm
<infinisil> ,pills saeedgnu
civodul has joined #nixos
alex`` has joined #nixos
<saeedgnu> do i need to define all the dependencies and everything in the nix file?
<infinisil> Yeah, the nix file tells nix how to build something
<saeedgnu> i mean, it's a big c++ program with a lot of dependencies
<saeedgnu> the qmake + make is supposed to handle all that
<infinisil> Everything in nixpkgs is specified like this and nixpkgs has lots of stuff that makes it easier to build all kinds of things
<clever> saeedgnu: if you set nativeBuildInputs = [ qmake ]; then it will automatically run the project.pro file i believe
<infinisil> Yeah nix should call qmake, make
<{^_^}> [nixpkgs] @primeos pushed to master « jekyll: 3.8.1 -> 3.8.2 »: https://git.io/vphYF
mrkgnao has quit [Ping timeout: 240 seconds]
<saeedgnu> thanks, i'll try
<{^_^}> [nixpkgs] @bhipple opened pull request #40786 → poppler: 0.63.0 -> 0.65.0 → https://git.io/vphYA
alex`` has quit [Remote host closed the connection]
alex`` has joined #nixos
pie__ has joined #nixos
nipav has joined #nixos
nipav has left #nixos [#nixos]
rauno has joined #nixos
pie_ has quit [Ping timeout: 256 seconds]
griff_ has joined #nixos
tertle||eltret has joined #nixos
pi3r has joined #nixos
broccoli has joined #nixos
<{^_^}> [nixpkgs] @Assassinkin opened pull request #40789 → P4Merge init 18.2 → https://git.io/vph3e
broccoli has quit [Ping timeout: 255 seconds]
<phry> infinisil: as you seem to be online right now: have you already tried the flameshot service on home-manager? it doesn't seem to be working for me and I'm not sure if I'm doing something wrong
<Plato[m]> phry: Doesn't work for me either. Not sure why...either.
<phry> xD
<infinisil> I haven't tried it, checking it out
<{^_^}> [nixpkgs] @symphorien closed pull request #40746 → rust-bindgen: wrap with cc-wrapper to provide location of headers → https://git.io/vppaD
<manveru> doesn't everyone use scrot? :)
<phry> cool, thanks :) I'm not comfortable enough with systemd user services yet to really know how to debug that
<infinisil> manveru: I use imagemagick
<manveru> you should check it out then
ertes has quit [Ping timeout: 276 seconds]
<phry> manveru: I didn't really have a screenshot tool until now, but as home-manager has a module for it I thought I'd check out flameshot and when starting it manually, it looks really good. just the systemd service doesn't seem to work ^^
<{^_^}> [nixpkgs] @peti pushed 8 commits to master: https://git.io/vph3g
<{^_^}> → 9cd17025 by @peti: LTS Haskell 11.9
<{^_^}> → 02834ba4 by @peti: hackage-packages.nix: automatic Haskell package set update
<{^_^}> → d83d20c1 by @peti: haskell-pandoc: update override for ghc-8.4.x
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/238554904f0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
robstr has quit [Quit: WeeChat 1.9.1]
<manveru> no worries, just been using it for ages and find it neat, and it doesn't need to run all the time
pi3r has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti closed pull request #40691 → fix ghc bootstrap on non-nixos nonstd-storepath → https://git.io/vpAJs
<symphorien> phry: the environment inside a systemd user unit is really different: no $DISPLAY, no $DBUS_THINGS and so on
<Plato[m]> That might explain it.
<phry> yeah, but seeing it was merged in home-manager I guess it should have worked for hamhut1066 and rycee, so I assume there is something going on
<phry> and the polybar service works fine, too, so there should be some kind of DISPLAY available in there
<symphorien> if they are there, they might be imported with systemctl system-environment, and the only time it can reasonably be done is by the desktop manager, so it might depend on the dm you use
<symphorien> systemctl set-environment *
<manveru> `systemctl --user import-environment QT_PLUGIN_PATH` for example is one i use
<manveru> in xsession.profileExtra
camsbury has joined #nixos
<symphorien> for display this is usually done by hardcoding to :0, also
<phry> interesting, giving it a try :)
ivanivan has joined #nixos
<phry> argh...
<phry> flameshot was missing something in PATH
<infinisil> This is what I use for screenshots btw: https://github.com/Infinisil/system/blob/master/config/pkgs/screenshot.nix
<infinisil> Very simple and I haven't needed for than that :)
<phry> I _really_ should spend an afternoon looking thorugh your nix config xD
<phry> neat :)
drakonis has quit [Remote host closed the connection]
<srk> infinisil: I'use 'scrot -q 90'
<neonfuz> is switching from system.stateVersion to system.nixos.stateVersion just as simple as changing the variable name?
<srk> scrot -d 1 does pretty much what you have there
camsbury has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @romildo opened pull request #40790 → materia-theme: 20180321 -> 20180519 → https://git.io/vphsI
camsbury has joined #nixos
aarvar has joined #nixos
<ivanivan> has anyone else run into issues starting an openvpn client with systemctl?
<ivanivan> systemd-ask-password is waiting for my private key's passphrase, but no prompt is displayed
<phry> ivanivan: do you by any chance have an open tty on Alt+1? happens sometimes for me with ssh-agent
<ivanivan> phry: checking...
<{^_^}> [nixpkgs] @corngood opened pull request #40791 → fix xf86-video-amdgpu → https://git.io/vphss
<ivanivan> phry: no, i don't think so. if i ctrl+alt+F1 I get a tty with a login prompt
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
<symphorien> ivanivan: run pkttyagent, maybe
nur0n0 has joined #nixos
saeedgnu has left #nixos [#nixos]
<ivanivan> symphorien: running `sudo pkttyagent --process PID` hangs
<symphorien> that's the goal
<symphorien> it is where polkit will ask your password
<phry> Plato[m]: so it seems the qt platform plugin "xcb" is not available for flameshot. I'll let you know if I figure it out
<manveru> phry: see my import-environment above
<{^_^}> [nixpkgs] @bachp opened pull request #40792 → riot-web: 0.14.2 -> 0.15.3 → https://git.io/vphsw
<manveru> it solved that issue
<infinisil> phry: I don't even know how my nixos config got that big tbh
<infinisil> It's all over the place though :P
<infinisil> There's like 3 refactorings in there
matthias_wahl has quit [Ping timeout: 256 seconds]
<phry> manveru: that import seems to be part of it, but not all for me. I still have to import PATH and that seems quite dirty, so I'm trying it in a pure nix-shell right now
cyris212 has quit [Quit: WeeChat 2.0]
<manveru> yeah, the PATH thing should be handled in the systemd daemon definition
<phry> yup. seems like $(pkgs.flameshot)/bin is not enough though :/
<{^_^}> [nixpkgs] @xeji merged pull request #40755 → ocamlPackages.earley: init at 1.0.2 → https://git.io/vppSv
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocamlPackages.earley: init at 1.0.2 (#40755) »: https://git.io/vphsj
<manveru> wonder what else it depends on...
<manveru> no info from journalctl?
the_real_plumps has quit [Remote host closed the connection]
<ivanivan> symphorien: still no luck. maybe I'm misunderstanding -- I'll read up on polkit
<symphorien> phry: there is a packages option in units, the derivations specified there will be added to the unit PATH
<symphorien> you should not have to import PATH
<phry> manveru: May 19 23:03:16 izalith flameshot[21376]: This application failed to start because it could not find or load the Qt platform plugin "xcb"May 19 23:03:16 izalith flameshot[21376]: in "".
<srk> infinisil: do you use nixops to manage your machines?
<infinisil> srk: Yup
<srk> cool, I like how your repo is organized
<srk> might be even worth adding few words in the readme :D
<infinisil> phry: Oh, that's a well known qt impurity, but I don't know how to fix it
<infinisil> srk: Yeah.. I'm lazy
<srk> same. I'm reinstalling my remaining fedora installations so this might be quite handy
<infinisil> Ask away if you have any questions regarding my config
<srk> so far I was using only one desktop and it kind-of occured to me that I can manage it from itself
<phry> looking at strace, it seems to look into "lib/qt-5.10/plugins/platforms/" for everything on PATH
<srk> infinisil: think it's clear, recursive include to populate mine. and separate hardware configs
<srk> machines/ to configure mine opts
<infinisil> Yup, most of the folders in config/ have its own way of including files within it (specified in the default.nix)
<infinisil> srk: Most mine. options are actually configured here: https://github.com/Infinisil/system/blob/master/config/new-modules/profiles/desktop.nix
<infinisil> It propagates many mine. options to a single mine.profiles.desktop.enable option
ixxie has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @xeji pushed to gcc8 « Revert "iasl: 20180313 -> 20180508" »: https://git.io/vphGs
<srk> infinisil: ah, cool, you even have profiles
<srk> infinisil: where's the home-manager integration?
<srk> ah
<srk> infinisil: try teeworlds btw!
<infinisil> And I'm using this here to have a `mine.userConfig` option that sets hm options for all users set in mine.mainUsers: https://github.com/Infinisil/system/blob/master/config/new-modules/main-user.nix
<srk> yes, that's the wrapper I was looking for, thanks!
<infinisil> It's kind of unnecessary because I am the only user, but I don't like having `home-manager.users.infinisil` all over the place
<infinisil> Not much of a gamer :)
fragamus has joined #nixos
goibhniu has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji closed pull request #40781 → Revert "iasl: 20180313 -> 20180508 (#40613)" → https://git.io/vphIz
<{^_^}> [nixpkgs] @averelld opened pull request #40793 → x2goclient: 4.1.0.0 -> 4.1.1.1 → https://git.io/vphGR
<neonfuz> nixos rebuild gives me this warning, even though I do have this variable set
<neonfuz> trace: warning: You don't have `system.nixos.stateVersion` explicitly set. Expect things to break.
<infinisil> Weird, can you show your configuration.nix?
<{^_^}> [nixpkgs] @averelld opened pull request #40794 → mattermost-desktop: init at 4.1.1 → https://git.io/vphGa
toppler` has joined #nixos
toppler has quit [Remote host closed the connection]
<neonfuz> well I can say I have the line system.nixos.stateVersion = "17.09";
<neonfuz> the whole config I think I have some personal details in it because it's sorta messy
orivej has quit [Ping timeout: 240 seconds]
ckauhaus has joined #nixos
ivanivan has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @xeji merged pull request #40790 → materia-theme: 20180321 -> 20180519 → https://git.io/vphsI
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « materia-theme: 20180321 -> 20180519 (#40790) »: https://git.io/vphGo
freeman42x[nix] has quit [Ping timeout: 256 seconds]
seppellll has quit [Quit: Leaving]
<infinisil> Ah right, hmm
<infinisil> neonfuz: What does `nix-instantiate --eval '<nixpkgs/nixos>' -A options.system.nixos.stateVersion.highestPrio` give you?
ckauhaus has quit [Ping timeout: 255 seconds]
<neonfuz> 100
vaninwagen has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/238554904f0 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
_superuser has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40707 → nms: init at 0.3.3 → https://git.io/vpArB
<{^_^}> [nixpkgs] @xeji pushed commit from @Infinisil to master « nms: init at 0.3.3 (#40707) »: https://git.io/vphGF
smichel17 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40792 → riot-web: 0.14.2 -> 0.15.3 → https://git.io/vphsw
<{^_^}> [nixpkgs] @xeji pushed commit from @bachp to master « riot-web: 0.14.2 -> 0.15.3 (#40792) »: https://git.io/vphGx
hydraz is now known as thepope
<infinisil> neonfuz: That's weird.. And `nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel` gives you the warning?
smichel17 has quit [Client Quit]
<_superuser> Hi guys! Is that a full list of supported arm devboards? https://nixos.wiki/wiki/NixOS_on_ARM which device you may recommend for nixos? Is Orange PI PC ok?
<clever> infinisil: i dont see a nixos in the attrpath for stateVersion
thepope is now known as hydraz
<clever> infinisil: odd, on master it does exist, something must have been changed
<infinisil> Weird..
<clever> yeah
<infinisil> But the declaration above doesn't use nixos
<infinisil> Oh it does
<clever> yeah
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
goibhniu has joined #nixos
<infinisil> Wait what
<{^_^}> [nixpkgs] @xeji merged pull request #40737 → blockhash: init at 0.3 → https://git.io/vppmT
<{^_^}> [nixpkgs] @xeji pushed commit from @Infinisil to master « blockhash: init at 0.3 (#40737) »: https://git.io/vphZL
<infinisil> In the second last commit in that history it just moves from options.system = { nixos.stateVersion to options.system.nixos = { stateVersion = ...
<infinisil> Which afaik doesn't change anything
<infinisil> But yet the commit adds the `nixos` attribute thing to other places
Ariakenom has joined #nixos
<infinisil> Yeah no idea why the warning is happening
goibhniu has quit [Ping timeout: 240 seconds]
Rovanion has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_superuser has quit [Quit: Page closed]
<Rovanion> Hi all. When I run nix-env --list-generations both as root and my normal user I only get one generation in each of the commands. Yet when I run ncdu there are six versions of mono in my store, why would this be? Or three versions of libreoffice and chromium.
<clever> Rovanion: run nix-store --query --roots on each version of mono
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #40795 → purple-lurch: init 0.6.7 → https://git.io/vphZZ
<clever> Rovanion: what does it output?
kanotix has joined #nixos
<Rovanion> sec, collecting data
joehh1 has joined #nixos
<Rovanion> clever: Here is some of it: http://paste.debian.net/1025431/
<Rovanion> Oops, looks like the last two were a repeat of the same hash.
<{^_^}> [nixpkgs] @xeji merged pull request #40793 → x2goclient: 4.1.0.0 -> 4.1.1.1 → https://git.io/vphGR
<{^_^}> [nixpkgs] @xeji pushed commit from @averelld to master « x2goclient: 4.1.0.0 -> 4.1.1.1 (#40793) »: https://git.io/vphZl
Rusty1_ has quit [Ping timeout: 268 seconds]
<clever> Rovanion: thats what i thought, its your 3rd profile, `nix-env -p /nix/var/nix/profiles/system --list-generations`
<clever> thats where the nixos generations are stored
<clever> and the command tells you which generation needs each variant of mono
<neonfuz> infinisil: I did manually change system.stateVersion to system.nixos.stateVersion earlier, but it gives me the warning either way I think
<clever> Rovanion: so you can `nix-env -p /nix/var/nix/profiles/system --delete-generations 82 83` to get rid of the 2nd one in the pastebin
<neonfuz> I did it because a warning told me it had been renamed
<neonfuz> infinisil: and yes that command does give me the warning
kanotix is now known as Rusty1
<clever> Rovanion: but, you also have 2 version inside 84-88, which is a different problem, `nix why-depends $(realpath /run/current-system) /nix/store//a7hvkr0waaw7b6rsp7iilkrk1kipzfrw-mono-4.0.4.1` and then again on the y1kv variant, and see what is to blame
hiratara has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40744 → WireGuard: Make tools available on other platforms → https://git.io/vpp0h
<{^_^}> [nixpkgs] @Mic92 pushed 6 commits to master: https://git.io/vphZu
<{^_^}> → 865abfa6 by @kirelagin: wireguard: Enable tools on other platforms
<{^_^}> → a9defaef by @yegortimoshenko: top-level: remove wireguard attr
<{^_^}> → 60d96d77 by @yegortimoshenko: top-level/aliases: add wireguard -> wireguard-tools alias
symphorien has left #nixos ["WeeChat 2.1"]
<Rovanion> clever: Thank you, removing those old generations cleaned up 10GB of disk space.
aarvar has quit [Ping timeout: 240 seconds]
<Rovanion> Now, is there a one-shot command for deleting all generations older than 30 days from all the three profiles?
<Rovanion> Or all but the newest three generations.
knupfer has quit [Ping timeout: 255 seconds]
<clever> Rovanion: nix-collect-garbage --delete-older-than 30d
hiratara has joined #nixos
<clever> Rovanion: if ran as root, it can delete from every profile
<Rovanion> Rigth, I probably only ran it as the local user.
<clever> yeah, it only works on profiles it has write access to
<{^_^}> [nixpkgs] @benley opened pull request #40796 → pciutils: build with dns query support → https://git.io/vphZM
<Rovanion> Thank you!
<bbarker> It seems a bit unusual that building from a local nixpkgs would fail whereas it doesn't fail if I use nix-channels' nixpkgs: https://github.com/NixOS/nixpkgs/issues/40782
<justanotheruser> whats the main difference between the nixos channel and nixpkgs channel
aarvar has joined #nixos
<johnw> justanotheruser: nixos doesn't need to build on darwin
<johnw> i don't think the *content* is different, but the hydra requirements
<justanotheruser> ok, so nixpkgs is specifically for nix running on non-nix machines?
<johnw> it's for nix running on any machine
<johnw> including inxos
<johnw> also, I don't know if the nixos hydra sets allowUnfree to be true or false
<clever> as long as the nixos components dont come from the a nixpkgs channel
<clever> johnw: all unfree stuff is blocked on hydra
<justanotheruser> mhm
<johnw> clever: ok, good to know
<phry> Plato[m]: I've found a fix, see: https://github.com/rycee/home-manager/pull/269
aarvar has quit [Quit: Leaving.]
<infinisil> phry: I'll see if it works, I certainly have nothing qt related on my system
ryantrinkle has quit [Read error: Connection reset by peer]
slyfox has quit [Remote host closed the connection]
<infinisil> Nice it works, that is a pretty fancy GUI indeed
<infinisil> I'll use that for my screenshots :)
<infinisil> phry: Wait, what does the daemon actually do?
<infinisil> Why is it a daemon?
broccoli has joined #nixos
<phry> good question, no idea why it is implemented in such a way ^^
<phry> I guess it's the most DM-agnostic way of starting a taskbar-icon?
<infinisil> Ah, yeah I'm not using any icons or so
<ryantm> I posted a new topic on Discourse about nixpkgs attrpath naming policy: https://discourse.nixos.org/t/an-attrpath-format-policy/235 I'd appreciate hearing any comments you have about it.
<yurrriq> How best can I go about tracking down when/whyy exactly a package broke? Lilypond has been broken on Darwin for a long time now, and I'd like to fix it.
drakonis has joined #nixos
<phry> yurrriq: if it still compiles: start the binary through dtrace/dtruss and look for anomalies I guess.
<yurrriq> it does not compile
broccoli has quit [Ping timeout: 248 seconds]
<ryantm> yurrriq: If it doesn't build, you can use hydra.
<drakonis> is this a macos thing
<yurrriq> no, it's a nixpkgs thing
<infinisil> ryantm: Nice, you might have missed this, but all of the haskell packages use name_(major)_(minor)_(patch)_(optional something else)
<yurrriq> the same lilypond package used to build, then someone broke a dependency or something, and now it doesn't work
Have-Quick has quit [Ping timeout: 248 seconds]
<yurrriq> I'd like to track down the cause and then fix it :)
<manveru> define "doesn't work"? :)
<infinisil> ryantm: Well the ones with a specific version I mean
<yurrriq> it doesn't build, so I can't run it
<manveru> and what's the build failure?
<yurrriq> it's big, but here's the end of it...
<yurrriq> well it's a segfault acutally
<ryantm> infinisil: What's the "optional something else" part?
<infinisil> ryantm: Not sure, see e.g. https://hackage.haskell.org/package/mtl
<infinisil> and the mtl_2_1_3_1 attr
<ryantm> yurrriq: last successfull build on darwin staging: https://hydra.nixos.org/job/nixpkgs/staging/lilypond.x86_64-darwin/all?page=9
<ryantm> infinisil: Oh, you're just talking about the standard packaging versioning policy of Haskell. That should be covered fine under my policy. Also, great that the separators already match too.
<yurrriq> ryantm, infinisil: https://pvp.haskell.org/
<yurrriq> yeah
<infinisil> ryantm: Yeah, just thought I'd let you know
broccoli has joined #nixos
<yurrriq> ryantm: thanks for the hydra link
<ryantm> one thing I'm worried about is this won't cover some case like someone wants to have "firefox_with_flash"
Have-Quick has joined #nixos
<infinisil> ryantm: Tbh, I really want a proper version passthru attribute in the future
<ryantm> infinisil: yes, please
<infinisil> ryantm: So e.g. if you need version 2 of hello, you'd do `pkgs.hello.version 2
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
hiratara has quit [Quit: ZNC - http://znc.in]
hiratara has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #40799 → tmon: fix missing libgcc_s.so required by pthreads → https://git.io/vphct
slyfox has joined #nixos
<drakonis> has anyone dealt with kio-gdrive on nixos?
jeaye has quit [Quit: WeeChat 1.9.1]
kim0 has joined #nixos
jeaye has joined #nixos
<infinisil> Alright so I don't think anybody would know a fix, but I guess I could ask still
<infinisil> Weechat has forever had the problem that ncurses shifts everything slightly. This happens when a NOTICE mentions me, and when I detach a channel
<infinisil> (/quote detach $channel, sent to my bouncer)
<infinisil> It's certainly some ncurses problem, but I have no idea what's causing it
<phry> sorry, also using weechat here, but never noticed anything like that, neither in xterm not kitty
<infinisil> Ah, it might be my terminal then, I'm using alacritty
<phry> yeah, that would be my first guess
Huddo121 has quit [Remote host closed the connection]
Huddo121 has joined #nixos
Ariakenom_ has joined #nixos
<phry> if you're in the market for a new terminal, I am using kitty for two weeks now and it works really great for me 🐈
<infinisil> phry: Actually, I just tested it with kitty and xterm, it happens there too :/
Have-Quick has quit [Read error: Connection reset by peer]
<phry> infinisil: if you're not using screen or tmux, I'm out of ideas then, sorry :/
<infinisil> I also built weechat with ncurses5 instead of ncurses6, but the same thing happens
<infinisil> It happens in tmux and out of it too
<phry> weird
Have-Quick has joined #nixos
Ariakenom has quit [Ping timeout: 248 seconds]
<infinisil> Oh, actually I do get an error, as if something was outputting to the tty, ignoring that there's ncurses running
<infinisil> This is what it looks like: https://infinisil.com/screenshot.png
<infinisil> "Unknown option --:"
<infinisil> I guess I could strace or something to find out where this comes from
cnidario has quit [Remote host closed the connection]
yastero has quit [Ping timeout: 255 seconds]
babs_ has joined #nixos
ronAm has joined #nixos
<phry> hmmm
<phry> maybe a plugin or script?
<infinisil> Yup..
<infinisil> Disabling all scripts makes it not do that anymore
<ronAm> Can someone help me craft a patchelf for these libs: ibmono-2.0.so.1 libm.so.6 librt.so. libdl.so.2 libpthread.so.0 libc.so.6
yastero has joined #nixos
<phry> I'm almost asleep so I'll say good night for now :)
<infinisil> phry: Night :)
<{^_^}> [nixpkgs] @xeji merged pull request #40740 → nixos/cjdns: fix service for i686 → https://git.io/vppZW
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/cjdns: fix service for i686 (#40740) »: https://git.io/vphCk
kreetx has quit [Ping timeout: 260 seconds]
<infinisil> > fortune
<{^_^}> "Stay the curse."
<maurer> Is there an easy link for "don't install libraries"
simukis has quit [Ping timeout: 240 seconds]
drakonis has quit [Remote host closed the connection]
<infinisil> ,library maurer
<{^_^}> maurer: Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
coot has quit [Quit: coot]
joehh1 has quit [Ping timeout: 248 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2fe842a2000 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nur0n0 has joined #nixos
broccoli has quit [Ping timeout: 260 seconds]
babs_ is now known as Nobabs27
<manveru> am i ignoring that bot?
<infinisil> manveru: Probably :)
<ronAm> Any info on patching prebuilt binary software with for nix?
ryantrinkle has joined #nixos
lsyoyom has quit [Ping timeout: 256 seconds]
<nur0n0> well first off it wouldn't follow the nix philosophy, but if you can't/won't build from scratch I suppose creating a wrapper is sufficient to allow it to integrate with other nix packages
<{^_^}> [nixpkgs] @ttuegel opened pull request #40800 → cmake: 3.10.2 -> 3.11.2 → https://git.io/vphWs
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a0f7ee0e60c (from 4 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<ryantrinkle> clever: are there any particular permissions the github context needs?
<ryantrinkle> i have a githubstatus block approximately like that
lsyoyom has joined #nixos
<MichaelRaskin> ronAm: patchelf is the name of the tool you need for changing library path and binary interpreter
<ronAm> MichaelRaskin: thx :)
martingale has quit [Read error: Connection reset by peer]
martingale has joined #nixos
<nur0n0> sorry, I misunderstood the issue!
mkoenig has quit [Remote host closed the connection]
<ronAm> nur0n0: No that helped too :)
<clever> ryantrinkle: i dont believe it needs any special perms
<clever> ryantrinkle: as long as your user has push access, it can create status's on any rev
<nur0n0> ronAm: that's a relief. awesome!
slyfox has quit [Quit: no need to cry]