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
infty has quit [Quit: WeeChat 1.4]
blankhart has quit [Ping timeout: 245 seconds]
<shachaf> Same issue with vesa, though
kreisys has joined #nixos
infty has joined #nixos
blankhart has joined #nixos
mekeor has quit [Ping timeout: 255 seconds]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
lnikkila has quit [Ping timeout: 245 seconds]
Intensity has quit [Ping timeout: 260 seconds]
tzemanovic has quit [Ping timeout: 248 seconds]
tzemanovic has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Leira has joined #nixos
<Leira> I have nix installed on my machine, I tried to install kakoune, but `nix-env -qa kakoune` cannot find any thing. ~/.nix-defexpr/channels/nixpkgs/pkgs//applications/editors/kakoune shows platform as "platforms = platforms.unix", mac os should be part of it, right?
Intensity has joined #nixos
logzet has quit [Remote host closed the connection]
<rotaerk> hmm any idea why my master audio in alsamixer is muted and min volume every time I boot?
<Leira> is there anyway I can verify if my platform is considered as "platforms.unix", like through nix repl?
<gchristensen> Leira: what about nix-env -iA nixpkgs.kakoune
JasonGrossman has quit [Remote host closed the connection]
JasonGrossman has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
blonkhart has joined #nixos
<Leira> @gchristensen, it installed~! Maybe it was because of the name I searched, `nix-env -qa 'kakoune.*'` did give me kakoune-unstable-2018-05-21, so the package name is not kakoune, but kakoune-unstable
<gchristensen> ayee
<gchristensen> nix-env is frustrating I thihnk
<Leira> hmmm, I need to keep in mind that it takes an RE to match, not a term to search
sigmundv__ has quit [Ping timeout: 276 seconds]
nuncanada2 has quit [Quit: Leaving]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/94073e791b9 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
thc202 has quit [Ping timeout: 240 seconds]
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
baconicsynergy has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
jtojnar has joined #nixos
tmaekawa has quit [Ping timeout: 264 seconds]
aarvar has quit [Ping timeout: 240 seconds]
andreabedini has joined #nixos
Guanin has joined #nixos
Leira has quit [Ping timeout: 260 seconds]
sbdchd has joined #nixos
jackdk98 has joined #nixos
jackdk has quit [Ping timeout: 256 seconds]
tmaekawa has joined #nixos
ericsagn1 has joined #nixos
jackdk98 is now known as jackdk
sk8forether has quit [Quit: Connection closed for inactivity]
<sorixelle> Well, I fixed my GSchema issues in that package, but it's a pretty dirty hack tbh
sigmundv has joined #nixos
<sorixelle> Ended up prefixing $(find ${gnome3.gtk}/share/gsettings-schemas -name gtk\*} to XDG_DATA_DIRS in the wrapper
Fare has joined #nixos
smallville7123 has joined #nixos
kreisys has joined #nixos
kreisys has quit [Client Quit]
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/vhz8T
kreisys has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.4.135 -> 4.4.136 »: https://git.io/vhz8t
smallville7123 has quit [Client Quit]
<baconicsynergy> can nix be installed on android like guix can?
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.9.106 -> 4.9.107 »: https://git.io/vhz83
tmaekawa has quit [Quit: tmaekawa]
smallville7123 has joined #nixos
sanscoeur has quit [Ping timeout: 264 seconds]
Fare has quit [Ping timeout: 240 seconds]
seafood has quit [Quit: seafood]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has joined #nixos
Fare has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
eqyiel has quit [Ping timeout: 248 seconds]
eqyiel has joined #nixos
lassulus_ has joined #nixos
smallville7123 has quit [Quit: rosa]
olto has joined #nixos
oltoAltn has quit [Ping timeout: 276 seconds]
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
<mog> i am on unstable, and the linux testing kernel was upgraded 10 days ago
<mog> but i dont see it when i do a nixos-rebuild switch --upgrade
oahong has quit [Ping timeout: 264 seconds]
oahong has joined #nixos
<shlevy> Anyone here have calibre working? I'm seeing 'This application failed to start because it could not find or load the Qt platform plugin "xcb"' when I try to run it from a nix-shell
<shlevy> Ah seems I need it in my systemPackages :(
<gchristensen> works okay for me in a nix sell
<shlevy> Seems to be some kind of qt plugin conflict
freeman42x[nix] has quit [Ping timeout: 256 seconds]
sigmundv has quit [Ping timeout: 265 seconds]
Fare has quit [Ping timeout: 256 seconds]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has joined #nixos
sir_guy_carleton has joined #nixos
Lisanna has quit [Quit: Lisanna]
bbarker has joined #nixos
<rotaerk> is there some way to see roughly what commit on NixOS/nixpkgs my current <nixpkgs> is from
<rotaerk> I got sometthing building on current <nixpkgs>, now I want to lock down the version of nixpkgs...
<rotaerk> doesn't build on the latest
kreisys has quit [Ping timeout: 245 seconds]
<gchristensen> rotaerk: `nix-info -m` should say
<rotaerk> k thanks
isomorphismes has joined #nixos
isomorphismes has left #nixos [#nixos]
<bbarker> rotaerk, if you don't have nix-info i think you can do e.g.:
<bbarker> NIXPKGS_VERSION=$(nix-instantiate --eval '<nixpkgs/lib>' -A version)
<bbarker> NIXOS_VERSION=$(nix-instantiate --eval '<nixos/lib>' -A version)
sbdchd has quit [Remote host closed the connection]
<rotaerk> ah cool
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ca6569c96ae (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
aw has joined #nixos
spacefrogg has joined #nixos
Fare has joined #nixos
steell has joined #nixos
CodeWarrior has quit [Read error: Connection reset by peer]
Mateon1 has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a381b789984 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
chessai has joined #nixos
Mateon2 has joined #nixos
Have-Quick has joined #nixos
smallville7123 has joined #nixos
smallville7123 has quit [Quit: rosa]
mahalel_ has quit [Ping timeout: 264 seconds]
steell has quit [Ping timeout: 268 seconds]
blonkhart has quit [Quit: WeeChat 1.9.1]
schoppenhauer has quit [Ping timeout: 264 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
schoppenhauer has joined #nixos
sorixelle has quit [Read error: Connection reset by peer]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sorixelle has joined #nixos
chessai has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41648 → flashplayer: fix sha256 hash → https://git.io/vhzYw
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhzEB
Ross has quit [Ping timeout: 256 seconds]
Ross has joined #nixos
Mateon3 has joined #nixos
Mateon2 has quit [Ping timeout: 276 seconds]
Mateon3 is now known as Mateon1
slyfox has quit [Remote host closed the connection]
reinzelmann has joined #nixos
softinio has joined #nixos
i0-dfn has quit [Ping timeout: 240 seconds]
Sonarpulse has quit [Ping timeout: 240 seconds]
smallville7123 has joined #nixos
Wharncliffe has quit [Quit: Lost terminal]
spear2 has joined #nixos
reinzelmann has quit [Quit: Leaving]
smallville7123 has quit [Quit: rosa]
jperras has quit [Quit: WeeChat 2.1]
smallville7123 has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a381b789984 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Fare has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41654 → xonsh: 0.6.4 -> 0.6.6 → https://git.io/vhzgE
aarvar has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41655 → xmlsec: 1.2.25 -> 1.2.26 → https://git.io/vhzgh
MercurialAlchemi has joined #nixos
bbarker has quit [Ping timeout: 260 seconds]
baconicsynergy has quit [Ping timeout: 264 seconds]
robstr has joined #nixos
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
Guanin has quit [Ping timeout: 240 seconds]
baconicsynergy has joined #nixos
hotfuzz has joined #nixos
Guanin has joined #nixos
smallville7123 has quit [Quit: rosa]
hotfuzz_ has quit [Ping timeout: 248 seconds]
<ghostyy> where is the make package?
orivej has joined #nixos
<ghostyy> oh its gnumake
andreabedini has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41656 → wolfssl: 3.13.0 -> 3.15.0 → https://git.io/vhzr6
Ariakenom has joined #nixos
smallville7123 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41657 → urlwatch: 2.11 -> 2.13 → https://git.io/vhz6a
reinzelmann has joined #nixos
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
asuryawanshi has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41658 → securefs: 0.8.1 -> 0.8.2 → https://git.io/vhziU
xy2_ has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
phdoerfler has joined #nixos
smallville7123 has quit [Quit: rosa]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7fc58ea6a74 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
phdoerfler has quit [Ping timeout: 240 seconds]
phdoerfler has joined #nixos
smallville7123 has joined #nixos
_rvl has quit [Quit: ZNC 1.6.5 - http://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41659 → talloc: 2.1.12 -> 2.1.13 → https://git.io/vhzir
logzet has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @kylewlacy opened pull request #41660 → libbluray: fix Java build → https://git.io/vhziD
phdoerfler has quit [Quit: Leaving.]
mmlb has quit [Ping timeout: 245 seconds]
_rvl has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ariakenom has quit [Read error: Connection reset by peer]
andreabedini has joined #nixos
mmlb has joined #nixos
xy2_ has quit [Ping timeout: 268 seconds]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smallville7123 has quit [Quit: rosa]
Have-Quick has quit [Quit: Have-Quick]
<ldlework> Can you use mkIf other places than assigning to config?
<ldlework> like
<ldlework> can you do
<ldlework> { config = mkIf config.some.thing.enable { some.option = mkIf config.some.thing.else "option value"; }; }
andreabedini has joined #nixos
Neo--- has joined #nixos
<ldlework> have have `some.option` only set to "option value" if config.some.thing.else is true?
fresheyeball has quit [Ping timeout: 260 seconds]
goibhniu has joined #nixos
smallville7123 has joined #nixos
Ariakenom has joined #nixos
tilpner has quit [Ping timeout: 276 seconds]
Neo---- has joined #nixos
Have-Quick has joined #nixos
smallville7123 has quit [Client Quit]
Neo--- has quit [Ping timeout: 240 seconds]
<hyper_ch2> hmmmm, zfs is still incompatible with 4.16 kernel :(
orivej has quit [Ping timeout: 240 seconds]
tilpner has joined #nixos
<ldlework> is it just me or the docs here completely wrong? https://nixos.org/nixos/manual/index.html#sec-option-declarations-eot
tzemanovic has quit []
<ldlework> it claims that modules like the slim and sddm displayManager modules extend the options of the displayManager with enums
<ldlework> so as to enforce the case that only one displayManager is utilized, without depending on assertions
Neo--- has joined #nixos
<ldlework> but right here, we see that slim has its own enable option, https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/display-managers/slim.nix#L50
smallville7123 has joined #nixos
<ldlework> I'm so confused
myshoe has joined #nixos
Neo---- has quit [Ping timeout: 256 seconds]
nico202 has joined #nixos
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
smallville7123 has quit [Quit: rosa]
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
johanot has joined #nixos
civodul has joined #nixos
nckx has joined #nixos
Have-Quick has quit [Quit: Have-Quick]
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smallville7123 has joined #nixos
smallville7123 has quit [Client Quit]
andreabedini has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #41593 → haskellPackages.http-link-header: disable tests → https://git.io/vh0Xu
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vhzMz
smallville7123 has joined #nixos
winem_ has joined #nixos
smallville7123 has quit [Client Quit]
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
smallville7123 has joined #nixos
<{^_^}> [nixpkgs] @dezgeg merged pull request #29944 → [RDY] kernel doc: explain how to configure custom kernel → https://git.io/vdGHD
<{^_^}> [nixpkgs] @dezgeg pushed commit from @teto to master « doc: Explain how to hack on kernel »: https://git.io/vhzDU
<Plato[m]> Is /run/opengl-driver really supposed to contain libGL.so.1?
Lisanna has joined #nixos
smallville7123 has quit [Remote host closed the connection]
Lisanna has quit [Quit: Lisanna]
jensens has joined #nixos
vaninwagen has joined #nixos
thc202 has joined #nixos
johanot has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @ookhoi opened pull request #41661 → pinentry-debian-patch - "anonscm.debian.org has migrated to salsa.deb… → https://git.io/vhzya
smallville7123 has joined #nixos
nico202 has quit [Ping timeout: 265 seconds]
nico202 has joined #nixos
i-am-the-slime has joined #nixos
Neo---- has joined #nixos
ixxie has joined #nixos
Ariakenom_ has joined #nixos
reinzelmann has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41662 → pynac: 0.7.19 -> 0.7.21 → https://git.io/vhzSL
Neo--- has quit [Ping timeout: 245 seconds]
Ariakenom has quit [Ping timeout: 264 seconds]
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
Ariakenom_ has quit [Ping timeout: 264 seconds]
<Akii> giving networkmanager on kde another go. unfortunately something seems to be missing "Could not find module 'kcm_networkmanagement.desktop'."
jbboehr has joined #nixos
jackdk has quit [Ping timeout: 240 seconds]
Neo-- has joined #nixos
Neo---- has quit [Ping timeout: 264 seconds]
Neo--- has joined #nixos
<goibhniu> Hi Akii how have you enabled it?
_rvl has quit [Quit: ZNC 1.6.5 - http://znc.in]
<Akii> networking.networkmanager.enable = true;
johanot has joined #nixos
<Akii> I can run "kcmshell5 kcm_networkmanagement.desktop" as root but not as normal user >_>
_rvl has joined #nixos
<Akii> hmm
<Akii> I also added my user to the group "networkmanager"
Neo-- has quit [Ping timeout: 268 seconds]
_rvl has quit [Client Quit]
reinzelmann has joined #nixos
wildsebastian has quit [Quit: WeeChat 2.1]
_rvl has joined #nixos
<srhb> Plato[m]: Only for 18.03 and lower
<{^_^}> [nixpkgs] @srhb merged pull request #41610 → ats2: 0.3.9 -> 0.3.11 → https://git.io/vhEaH
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/vhz93
__Sander__ has joined #nixos
freeman42x]NixOS has joined #nixos
Ariakenom has joined #nixos
i-am-the-slime has quit [Ping timeout: 260 seconds]
philippD has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41663 → owl-lisp: 0.1.15 -> 0.1.16 → https://git.io/vhzHU
Jetien has joined #nixos
Ariakenom has quit [Quit: Leaving]
nD5Xjz has quit [Ping timeout: 260 seconds]
inquisitiv3 has joined #nixos
<inquisitiv3> For how long is a channel maintained?
<inquisitiv3> I'm refer to the stable channels.
<srhb> inquisitiv3: General until the next release is out, with a little overlap
<srhb> Generally*
<inquisitiv3> srhb: So no "hard" limit?
<LnL> yeah, 1 month after a new release
<{^_^}> [nixpkgs] @vbgl pushed commit from @kamilchm to master « ponyc: 0.22.5 -> 0.22.6 »: https://git.io/vhzHz
<{^_^}> [nixpkgs] @vbgl merged pull request #41634 → ponyc: 0.22.5 -> 0.22.6 → https://git.io/vhuRm
<inquisitiv3> Thanks! I couldn't find it anywhere in the wiki.
<srhb> Honestly it varies. There were some 17.09 commits pretty late in the cycle this time.
<srhb> BUt the word "support" is pretty fluffy anyway.
<LnL> sometimes people backport stuff to older releases but won't have all security patches
<LnL> and it's nix so it will obviously continue to work :)
Jetien_ has joined #nixos
lnikkila has joined #nixos
Jetien has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @woffs opened pull request #41664 → nwipe: init at 0.24 → https://git.io/vhzQL
selaux has joined #nixos
nD5Xjz has joined #nixos
nD5Xjz has quit [Ping timeout: 256 seconds]
<logzet> Just out of interest: How long does it take for a change in nixpkg's master branch to reach the distribution (18.03 atm)?
<srhb> logzet: Commits never go from master to 18.03 directly.
<srhb> logzet: Some commits are backported (minor version bumps, security fixes)
atu has joined #nixos
<manveru> if you want stuff from master, use nixos-unstable instead, or wait for 18.09 :)
<logzet> And other changes like new packages will be included in the next release?
<srhb> logzet: But release branches are branched off just one before release and master is not intended to go into them ever again.
<srhb> logzet: Yes.
<Akii> is nixos-unstable the master? or is it also behind a bit
<srhb> Akii: Yes, it is master which has passed certain tests.
<logzet> Ahh, that explains why the software versions are quite up to date and new packages arn not available :)
nD5Xjz has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<logzet> srhb and manveru: Thanks
<etu> Akii: Ant currently, the nixos-unstable tests looks a bit grim ;)
<srhb> "a bit" :-)
<etu> :D
<LnL> you can use multiple channels and get specific stuff from unstable
<srhb> It's only five days behind though, so it's been worse.
<etu> srhb: five days ago it switched to something that is 14 days old or something ;)
<etu> Yeah, we've seen 14 days since last update at some points
<srhb> Yikes..
<srhb> But yes, master is in a.. State right now.
<etu> And that's why we have tests!
<srhb> Indeed.
<srhb> tbf I'm currently running master with no problems, so it's not terrible.
<steveeJ> etu: AFAIU the tests are not enforced to merge to master
<etu> srhb: Did you see the circus I caused by digging into Cython on aarch64?
atu has quit [Ping timeout: 240 seconds]
<srhb> etu: I did not actually!
<etu> I've reported issues running a specific test on aarch64 upstream
<etu> And then debian chimed in
<srhb> steveeJ: That's correct. The tests happen between master and unstable (short of ofborg testing, but that is not mandated (yet))
woodson has quit [Ping timeout: 256 seconds]
<srhb> etu: Oh interesting!
<srhb> steveeJ: One thing that would be excellent is better and more per-package testing, since that happens continually and is checked by ofborg.
<etu> But cython on aarch64 won't end up in the binary cache even though I've excluded the failing test #41453 because it seems to take a *very* long time to run their tests on aarch64. Took 14.5 hours on my Raspberry and on Hydra it timed out after 10 hours: https://hydra.nixos.org/build/75636013
<{^_^}> https://github.com/NixOS/nixpkgs/pull/41453 (by etu, closed): python36Packages.cython: Disable tests on aarch64
<srhb> steveeJ: A lot of packages do have this, but it would be excellent if we could define something akin to NixOS tests more easily in the actual checkPhase, or post that. Maybe something containerized
<srhb> etu: It was recently made possible to override the timeout, but that's probably not reasonable in this case.
<srhb> See 537d14f4e2c8ef908641223bc80fe8e2bca74e90
woodson has joined #nixos
<etu> srhb: wow, that's handy. But shouldn't really be needed :/
<etu> Not for this
<srhb> Agreed. But the builders are overloaded, too, and it's a compounding issue with really slow builds. :(
nschoe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41666 → nextcloud: 13.0.2 -> 13.0.3 → https://git.io/vhz53
<etu> But cython seems to have a very big test suite, more than 11000 tests :)
<etu> I'm not sure if that's good or bad.
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
<srhb> Probably good, considering... :P
<srhb> Honestly if it's not timeouts, maybe that does make it fair to increase Hydra's patience.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41667 → ndpi: 1.8 -> 2.2 → https://git.io/vhz5u
<srhb> How fast do they run on x86_64-linux?
<etu> Since it's quite many it may actually not be timeouts.
<etu> 2h 36m 9s was last one
<etu> (that actually had to build anything)
<srhb> Okay, that's quite a bit faster...
<etu> Ran 11287 tests in 8989.382s
<srhb> So most of the time is the tests. I don't know, I'd rule out timeouts in the test at least and then consider bumping meta.timeouts
<etu> I only know that it takes ~1 hour to build cython on my raspberry and then 14.5 hours to run all the tests on that machine. But that's a raspberry.
<srhb> It would be nice to try and run it on something faster than an RPi and see how long it takes
<srhb> Maybe try asking gchristensen or one of the other people who have access to bigger aarch64 machines?
smallville7123 has quit [Remote host closed the connection]
<etu> Maybe, but I'm off to lunch about now:)
<srhb> Seeya
atu has joined #nixos
smallville7123 has joined #nixos
smallville7123 has quit [Remote host closed the connection]
blankhart has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
smallville7123 has joined #nixos
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41668 → ngspice: 27 -> 28 → https://git.io/vhzdL
martingale has quit [Read error: Connection reset by peer]
martinga_ has joined #nixos
<manveru> goddamnit bundler...
<manveru> can't it just be easy once?
<steveeJ> srhb: I see. is your concern that the checkPhase tests need to be distribution-agnostic?
<srhb> steveeJ: Not really. I just want to be able to bring in whatever tools I'd need to make a thorough test easily.
<srhb> manveru: No. gitlab again? :P
<manveru> nah, internal project :P
<manveru> path specs are the worst
<steveeJ> srhb: using nixos containers is an obvious option
freeman42x]NixOS has joined #nixos
<srhb> Not sure it's that obvious...
<manveru> steveeJ: how do you make containers with different architectures?
<manveru> (i'm a noob at this)
<clever> manveru: you could maybe set nixpkgs.system within the containers config
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
smallville7123 has quit [Remote host closed the connection]
<steveeJ> manveru: in theory you could register qemu-user for each respective architecture, and then run the foreign binaries directly. in practice this doesn't work with all the things
simukis has joined #nixos
smallville7123 has joined #nixos
ixxie has joined #nixos
smallville7123 has quit [Remote host closed the connection]
NightTrain has joined #nixos
<steveeJ> srhb: I would not rely on a tool that isn't integrated with nixos which makes nixos-containers the only option I know :D
<{^_^}> [nixpkgs] @Mic92 pushed to master « rustc: disable test-inherit-env »: https://git.io/vhzbe
<adisbladis[m]> Or with something like dockerTools you should be able to cross compile for different arches
<Akii> how can I find out where a package was installed to? like the store-hash path
smallville7123 has joined #nixos
<fearlessKim[m]> Akii: nix repl is a fun option
nico202 has quit [Remote host closed the connection]
<Myrl-saki> Am I the only one whose nix repl's autocomplete doesn't work?
nico202 has joined #nixos
<Myrl-saki> I mean, it works, works. In the literal sense of working.
<fearlessKim[m]> like nix repl '<nixpkgs>' then you type " <pkg>.outPath"
<Myrl-saki> ...what
<Myrl-saki> YOU CAN DO THAT!/
<Myrl-saki> I always just invoked it as `nix repl`
<Myrl-saki> dammit. I feel like I missed a lot.
<Akii> error: undefined variable 'openssl' at (string):1:1
nico202 has quit [Read error: Connection reset by peer]
<Akii> :(
nico202 has joined #nixos
<Akii> I'm confused
<Akii> all I need is the openssl.cnf
<steveeJ> adisbladis[m]: do you mean running the cross compiler inside docker?
<Myrl-saki> nix repl '<nixpkgs>' --arg overlays '[(import ./crstonfig.nix)]'
<Myrl-saki> This doesn't seem to work though.
lonokhov has joined #nixos
<fearlessKim[m]> Myrl-saki: pro tip: nix repl '<nixpkgs>' '<nixpkgs/nixos>' and then you get your config too
<adisbladis[m]> I meant cross compiling using nixpkgs cross compiling facilities
<Akii> aha i did that wrong
<Akii> thanks :)
<steveeJ> adisbladis[m]: and then what? :D
<Myrl-saki> Akii: Ping. `nix-build ... --no-out-link 2>&1` shoudl do what you want.
<fearlessKim[m]> Akii: use the autocompletion, several openssl will popup
<adisbladis[m]> steveeJ: And then you have whatever arch containers? Isn't that the goal?
<Akii> I just ran `nix repl`without the <nixpkgs> part
<Myrl-saki> Yeah, I don't think --arg is working.
<jluttine> anyone using (spac)emacs? is it possible to have environments defined in shell.nix for projectiles? for instance, i'd like to define my python project environment in shell.nix and be able to run unit tests in emacs
<manveru> jluttine: well, it's possible, but it's not easy...
<adisbladis[m]> jluttine: I use emacs-direnv + nix + direnv for that
<jluttine> :/
<Unode> hi all, going through available pomodoro-like apps in nixpkgs. Are there any working alternatives to gnome3.pomodoro? I tried haskellPackages.pomodoro but it fails to install/compile.
<manveru> i tried the direnv route, but for some reason it won't work with a lot of packages
<adisbladis[m]> Not using projectile specifically but it works for most other modes
<adisbladis[m]> manveru: Why not?
<manveru> so i'm using nix-sandbox now and patch whatever package relies on executing stuff directly
<adisbladis[m]> I do the same thing with some pretty insane projects
<Akii> so nixos' openssl comes without a /etc/ssl/openssl.cnf ?
Neo---- has joined #nixos
nico202 has quit [Ping timeout: 260 seconds]
<manveru> Akii: it's in /nix/store/3ag1mbdvkg6jx29dl5wnwypvckkfy3sv-openssl-1.0.2o/etc/ssl/openssl.cnf for me
<manveru> but not linked into /etc
<Akii> I have "/nix/store/89p9lf28cyc3dn3p180fv68a9nda97j1-openssl-1.1.0h-bin"
Olgierd has joined #nixos
<Akii> and only a bin is in there
Olgierd has quit [Changing host]
Olgierd has joined #nixos
<manveru> i'd recommend https://github.com/bennofs/nix-index for such questions :)
olto has quit [Quit: ZNC - https://znc.in]
<adisbladis[m]> Akii: Openssl is a multi output derivation
<manveru> openssl.out has it, but openssl.bin doesn't
<adisbladis[m]> Note the -bin on the end of the path manveru pasted
Neo--- has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41669 → mbedtls: 2.9.0 -> 2.10.0 → https://git.io/vhzNV
inquisitiv3 has quit [Ping timeout: 248 seconds]
olto has joined #nixos
<jluttine> adisbladis[m]: is there an example for this direnv+nix+etc configuration somewhere to see?
ericsagn1 has quit [Ping timeout: 260 seconds]
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
<adisbladis[m]> jluttine: Fairly straight forward :) Install emacs-direnv somehow. I do it with home-manager https://github.com/adisbladis/nixconfig/blob/master/home-adisbladis-nixpkgs/emacs.nix#L78
<adisbladis[m]> Follow the setup guide for your shell at https://github.com/direnv/direnv#setup
NightTrain has quit [Quit: Lost terminal]
<adisbladis[m]> A minimal nix direnv .envrc just contains 'use nix'
<jluttine> adisbladis[m]: ok, thanks!
woodson has quit [Ping timeout: 260 seconds]
<Akii> so openssl has multiple outputs.. how do I select the one that contains the bin and the etc stuff?
<manveru> Akii: openssl.out should have all
<manveru> hmm, maybe not
<manveru> well, you can always use both openssl.out and openssl.bin
<Akii> that did work
<manveru> they shouldn't conflict
<Akii> ah ok lol
Neo--- has joined #nixos
<Akii> I think that's really complicated
sigmundv has joined #nixos
woodson has joined #nixos
Neo---- has quit [Ping timeout: 256 seconds]
oahong has quit [Quit: 暂离]
<{^_^}> [nixpkgs] @couchemar opened pull request #41670 → hub: 2.3.0 -> 2.4.0 → https://git.io/vhzAo
<{^_^}> [nixpkgs] @jtojnar merged pull request #41365 → at-spi2-atk, at-spi2-core, clutter-gtk, fribidi: updates, build with meson, adding updareScript → https://git.io/vhCa0
<{^_^}> [nixpkgs] @jtojnar pushed 12 commits to staging: https://git.io/vhzAy
__monty__ has joined #nixos
johanot has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @woffs opened pull request #41671 → detox: fix missing safe.tbl → https://git.io/vhzxW
tpanum has joined #nixos
<tpanum> If I wish to make so that my right shift button behaves as a super key, is xkbOptions the recommended way?
jensens has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41672 → lxc: 3.0.0 -> 3.0.1 → https://git.io/vhzxj
Olgierd has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nix] @AmineChikhaoui opened pull request #2215 → use debug instead of printTalkative to avoid spamming hydra queue-runner → https://git.io/vhzpY
smallville7123 has quit [Quit: rosa]
<{^_^}> [nixpkgs] @woffs opened pull request #41674 → loadwatch: init at 1.1 → https://git.io/vhzpl
genesis has joined #nixos
<__monty__> I have single user nix running on arch, I have nix-daemon running on mac os. Can I use the mac as a remote build host for the linux box? I don't want to initiate darwin builds on the linux host, I want to offload the building for the linux host to the mac.
selaux has quit [Ping timeout: 276 seconds]
<LnL> not sure what you're asking, but you can't build linux stuff on darwin
<LoneTech> a cross compiler should be capable of doing it.. but that doesn't mean nix has the infrastructure to build the same thing using cross compilers as native compilers
<LoneTech> something like UML or some other virtualization to run a linux layer on the darwin host should work
<__monty__> The original problem is the linux box runs out of memory trying to build ghc 8.2.2, which I need to rebuild because I need a new dependency.
fendor has joined #nixos
silver has joined #nixos
<LoneTech> you need a new dependency for ghc? what for?
<__monty__> Not a ghc dependency. I need a new haskell package as a dependency for my project.
<__monty__> Nix always rebuilds the entire thing if I update my channel.
NightTrain has joined #nixos
jensens has joined #nixos
ris has joined #nixos
Jetien_ has quit [Ping timeout: 264 seconds]
<ris> am I going mad or has the phantomjs2 currently in 18.03 not been linked with libQt5Core.so.5?
<ris> $ ldd /nix/store/hmsh7l7gdrsakz8nvi9qm0a80c9z9wsr-phantomjs-2.1.1/bin/.phantomjs-wrapped
<ris> ...
<__monty__> Since you're using nix, I think most people'd agree you've already gone mad ; )
<ris> libQt5Core.so.5 => not found
<ris> unfortunately most of the alternatives are madder
<{^_^}> [nix] @edolstra merged pull request #2215 → use debug instead of printTalkative to avoid spamming hydra queue-runner → https://git.io/vhzpY
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vhzh1
<__monty__> I agree, but only the in-crowd knows.
tzemanovic has joined #nixos
<LoneTech> __monty__: https://nixos.wiki/wiki/Distributed_build has notes on remote building, I suspect the easy thing to do is use VirtualBox as there's a starting image of nixos for it
<goibhniu> Akii: gah, sorry, I got distracted :D
<LoneTech> ris: is that ldd output? if so, it indicates more that it's missing than that it wasn't linked
<LoneTech> a nix build should have the full path to it though
<LoneTech> iirc
iyzsong has joined #nixos
<ris> right yes but i thought nix used rpath tricks to bind a binary's dependencies together
<ris> so technically maybe not "linking"
<__monty__> LoneTech: Thank you.
<ris> but yknow
<__monty__> How do I find out what the current default ghc version is? (Considering just using the default since that should have everything cached?)
<{^_^}> [nixpkgs] @volth opened pull request #41675 → perlPackages.DB_File: 1.831 -> 1.841 → https://git.io/vhzjO
nschoe has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @volth opened pull request #41676 → perlPackages.CompressRawZlib: 2.074 -> 2.081 → https://git.io/vhzj4
<goibhniu> Akii: FWIW, I have the plasma nm-applet working here. I thought you needed to add plasma-nm to your package groups but I don't seem to have that. All I've done is enable plasma and networkmanager.
<gchristensen> __monty__: for the mac to build Linux stuff you need a Linux VM on the mac
hamishmack has joined #nixos
<goibhniu> Akii: can you post your configuration.nix to a pastebin please?
<__monty__> gchristensen: Yeah, looking into the page LoneTech linked. Could nix-darwin run a nixos container?
<gchristensen> don't think so? but maybe check out http://github.com/nix-community/linuxkit-builder/
<gchristensen> ^ it has a bootstrapping problem right now :)
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #41677 → perlPackages.DBDPg: 3.5.3 -> 3.7.4 → https://git.io/vhzj1
<ris> bah what package is `ldd` in?
<LnL> glibc
<ris> thx
orivej has joined #nixos
<LnL> __monty__: no but it does make setting up distributed builds a bit easier
karlguy has quit [Ping timeout: 265 seconds]
<goibhniu> Akii: hrm, I can't see anything wrong. FWIW my user groups are only: nogroup wheel audio (no networkmanager)
<Akii> inb4 this needs wheel
Mateon1 has quit [Quit: Mateon1]
raynold has quit [Quit: Connection closed for inactivity]
<goibhniu> I hope that's it!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41678 → librealsense: 2.11.1 -> 2.12.0 → https://git.io/vhgeR
<{^_^}> [nixpkgs] @volth opened pull request #41679 → libvirt: 4.1.0 -> 4.4.0 → https://git.io/vhgeu
nico202 has joined #nixos
<Akii> nope, wasn't it
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/vhgeo
<goibhniu> sorry Akii, I have no idea then
<Akii> np, thanks anyway!
<goibhniu> I presume nmtui works for your user?
owickstrom has joined #nixos
owickstrom has quit [Remote host closed the connection]
<Akii> seems to work
<Akii> oh well it's not so important
<goibhniu> oh, could it be that it's there, but hidden in the sub-menu? (the triangle at the side of the plasma tray)
<{^_^}> [nixpkgs] @Assassinkin opened pull request #41681 → pythonPackages.ansiconv: init at 1.0.0 → https://git.io/vhgvU
<Akii> the tray icon is there, just the configuration window can't be opened
alter-schjetne has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #41682 → perlPackages.BerkeleyDB: 0.54 -> 0.55 → https://git.io/vhgv0
schjetne has quit [Ping timeout: 260 seconds]
nh2 has joined #nixos
steell has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #41683 → perlPackages.ListBinarySearch: 0.20 -> 0.25 → https://git.io/vhgvj
logiq_ has joined #nixos
<thblt> Is there a reason biber is not part of texlive.combined.scheme-full?
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktopPackages.preview: 1.3.3 -> 1.3.4 »: https://git.io/vhgf5
NightTrain has quit [Quit: Lost terminal]
<__monty__> gchristensen: Hmm, linuxkit would allow a mac to do remote linux builds for a linux host? Does it require nix-darwin?
Fare has joined #nixos
owickstrom has joined #nixos
steell has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41684 → libupnp: 1.6.21 -> 1.8.3 → https://git.io/vhgJR
<gchristensen> it allows a mac to do linux builds
<gchristensen> then you'd need to do the work to make that linux system inside mac accessible via your linux system
owickstrom has quit [Ping timeout: 264 seconds]
nh2 has quit [Quit: Leaving.]
<__monty__> gchristensen: So still in a vm?
<manveru> well, there's no way to do it without a vm, the question is just which vm you choose :)
<LnL> yeah, that's what I was saying before
<LnL> cross compiling is something completely different
Fare has quit [Ping timeout: 240 seconds]
<ryantm> Do we have anything checking that the src derivations in nixpkgs build later? Do we have automated checks that would catch upstream removing a release after Hydra has built it?
logzet_ has joined #nixos
<gchristensen> ryantm: I think copumpkin has something about that, but nothing formal
logzet has quit [Ping timeout: 276 seconds]
nh2 has joined #nixos
blankhart has quit [Ping timeout: 256 seconds]
<contrapumpkin> yeah, I periodically check everything I use at work for validity
<contrapumpkin> occasionally you'll see a commit or few from me or coworkers fixing up broken source links, but that's obviously not exhaustive
<Unode> Hi all, trying to create an overlay to override mpv with a newer version and stumbling on newbie mistakes. How do I import fetchFromGitHub in http://dpaste.com/3N3JXZB ?
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
ris has quit [Quit: Konversation terminated!]
<Unode> If I add the import to the top of the file I get an infinite recursion error.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41685 → itstool: 2.0.2 -> 2.0.4 → https://git.io/vhgUx
<ryantm> contrapumpkin: Do you have any public code related to this?
<contrapumpkin> nope, but I could probably clean it up and make it public if you wanted it
<contrapumpkin> it's basically a fancy --check invocation
<contrapumpkin> with a workaround for an obscure Nix bug I still haven't figured out
<gchristensen> I'd love to formalize it in a job runner that runs against all of nixpkgs. I now have five things I want to run like this, this would be a sixth... so it is time to set it uup :P
blankhart has joined #nixos
<contrapumpkin> I actually do maintain a cache for it ryantm
<contrapumpkin> so basically only check each FO drv hash (not the output hash, the input hash) once
<LnL> Unode: import? that looks fine just use super.fetchFromGitHub
<contrapumpkin> so as long as nobody changes the download URL or the downloader source code, I don't recheck FO derivations
<Unode> LnL: I still don't quite understand what self/super/<insert_var> represents in different contexts.
<contrapumpkin> ryantm: you thinking of setting up an automated nixpkgs checker? I'd love to see that
<Unode> LnL: thanks
<contrapumpkin> gchristensen: and yes :)
<ryantm> Yeah, that sounds like what I was thinking of. The part I don't exactly know how to do is how to discover all the FO drvs.
<contrapumpkin> oh
<contrapumpkin> I use a variant of https://nixos.org/nix-dev/2017-March/023108.html
<contrapumpkin> basically nix-instantiate whatever you use, filter the output for outputHash
<LnL> Unode: self/super both are the entire nixpkgs set, but super doesn't include your overlays/overrides
<Unode> I see
<ryantm> contrapumpkin: Okay maybe that approach could work if I had a copy of the Hydra nix store, I was thinking more like I'd interate over all the packages in all-packages and try to do something.
<gchristensen> ryantm: sounds awesome :D
woodson has quit [Ping timeout: 255 seconds]
<contrapumpkin> ryantm: hmm, doesn't seem like you'd really need to do anything special though
alexteves_ has joined #nixos
<contrapumpkin> `nix-instantiate '<nixpkgs>'
<contrapumpkin> that'll produce a ton of .drvs which you can now search for outputHash
<contrapumpkin> I guess the usual hydra concerns of whether packages are marked as broken and such apply
woodson has joined #nixos
<ryantm> contrapumpkin: You can't instantiate all of nixpkgs that directly.
<gchristensen> https://github.com/NixOS/ofborg/blob/released/ofborg/src/outpaths.nix <- you can instantiate all of nixpkgs by calling this
<contrapumpkin> yeah I realized after typing :(
<gchristensen> (set checkMeta to false though)
<LnL> sure you can, just with some asterisks
<contrapumpkin> nice
<ryantm> gchristensen: Oh right, duh.
<ryantm> gchristensen: I'm trying to use that for other stuff, so I should have thought of that.
nh2 has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41658 → securefs: 0.8.1 -> 0.8.2 → https://git.io/vhziU
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgTN
<gchristensen> I'm so glad we got to the point where all of nixpkgs can evaluate
<gchristensen> feels like a real win for tooling
<Unode> LnL: if you don't mind me bothering, to override 'version' and 'src' should I be using override/overrideAttrs? I tried both but overrideAttrs has no effect (0.27.0 is still built) and override fails with "error: anonymous function at /var/nixpkgs-channels/nixos-18.03/pkgs/applications/video/mpv/default.nix:1:1 called with unexpected argument 'version', at
<Unode> /var/nixpkgs-channels/nixos-18.03/lib/customisation.nix:74:12"
__monty__ has quit [Ping timeout: 245 seconds]
freeman42x]NixOS has joined #nixos
<LnL> derivations don't have a version, you have to override the name
<contrapumpkin> gchristensen: yeah :)
__monty__ has joined #nixos
<LnL> but except that the store path still has the old version it should be building with your override
<LnL> Unode: overrideAttrs
<ryantm> gchristensen: nix-instantiate outpaths.nix --arg checkMeta false
<ryantm> nix-instantiate outpaths.nix --arg checkMeta false
<ryantm> error: cannot bootstrap GHC on this platform
<contrapumpkin> grr
<ryantm> (sorry for the formatting)
<Unode> Was going with: http://dpaste.com/2X1NRB7 and then overrideAttrs -> http://dpaste.com/1CHZAZN
<Unode> LnL: ^
<LnL> Unode: the one with overrideAttrs is 0.28.2, just with an 'incorrect' name
<LnL> overrideAttrs (drv: { version = "foo" }) doesn't to anything
nschoe has joined #nixos
<Unode> LnL: I'm not sure I understand. Are you saying I also need to override name='' ?
<LnL> you want mpv.overrideAttrs (drv: { name = "mpv-0.28.2"; })
<Unode> Ah!
<Unode> ok progress. Thanks
<{^_^}> [nixpkgs] @Mic92 merged pull request #41682 → perlPackages.BerkeleyDB: 0.54 -> 0.55 → https://git.io/vhgv0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgkp
sbdchd has joined #nixos
<contrapumpkin> language proposal: get rid of "rec", since it confuses people when it doesn't behave like self/super
<contrapumpkin> :P
<clever> contrapumpkin: ive also seen people use rec in nixos modules, and refer to users.users.foo.home
<LnL> it's because of rec in the original expression, overriding it has no influence on the name
<clever> contrapumpkin: and then it cant refer to the default home nixos sets, so they began setting redundant home values on every user
spear2 has quit [Ping timeout: 276 seconds]
<contrapumpkin> ugh
<{^_^}> [nixpkgs] @Mic92 merged pull request #41683 → perlPackages.ListBinarySearch: 0.20 -> 0.25 → https://git.io/vhgvj
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgIL
<infinisil> Oh that makes me think
<Unode> I don't understand rec either. I remember reading it is meant to recurse but I don't know what that means in this context.
<clever> > rec { a = 5; b = a; }
<{^_^}> { a = 5; b = 5; }
<clever> thats all rec does
<gchristensen> > { a = 5; b = a; }
<{^_^}> { a = 5; b = <CODE>; }
<gchristensen> O.o
<clever> > a
<{^_^}> undefined variable 'a' at (string):43:1
<contrapumpkin> > { a = 5; b = a; }.b
<{^_^}> undefined variable 'a' at (string):43:14
<infinisil> Huh
<clever> gchristensen: its probably a thunk that looks up a in the global vars, and will fail when forced, like you just did
<infinisil> A while ago we concluded that `let ...; in` was syntactic sugar for `with rec { ...; };`
<infinisil> > let a = 5; b = a; in b
<{^_^}> 5
<infinisil> > with rec { a = 5; b = a; }; b
<{^_^}> 5
<infinisil> However
<clever> > let a = b; in { inherit a; }
<{^_^}> { a = <CODE>; }
<clever> a is a thunk, that should fail when forced
<clever> > (let a = b; in { inherit a; }).a
<{^_^}> undefined variable 'b' at (string):43:10
<infinisil> > let a = "outer"; in let a = "inner"; in a
<{^_^}> "inner"
<infinisil> > let a = "outer"; in with rec { a = "inner"; }; a
<{^_^}> "outer"
<infinisil> Oh no! It's not syntactic sugar..
<contrapumpkin> nice counterargument
<contrapumpkin> when in doubt, bring up how weird with's scoping rules are
<gchristensen> ok but the key question is
<LnL> yeah
<infinisil> Man, it would've been so nice if that was just syntactic sugar..
<gchristensen> Unode: do you "get" rec now?
<contrapumpkin> > with rec { a = "outer"; } with rec { a = "inner"; }; a
<{^_^}> error: syntax error, unexpected WITH, expecting ';', at (string):43:27
<Unode> infinisil: just destroyed what little understanding I had :D thanks xD
<contrapumpkin> > with rec { a = "outer"; }; with rec { a = "inner"; }; a
<{^_^}> "inner"
<contrapumpkin> maybe it's fine after all :)
<clever> <foo> maps to (__find_file __nixPath "foo") when parsing
<clever> let and rec are nearby
<Unode> so rec forces evaluation of recursive references?
freeman42x]NixOS has quit [Remote host closed the connection]
<contrapumpkin> Unode: rec brings keys of the current map into scope in their values
<clever> infinisil: look at lines 390 and 392!
<clever> let creates a recursive set
<contrapumpkin> a normal attrset: { a = 5; b = a + a; } a isn't in scope in that definition of b
<Unode> contrapumpkin: and in nixpkgs context this means... variables from the definition?
<Unode> I mean the derivation
<LnL> copumpkin: well practical example of where it's not is { stdenv, darwin }: stdenv.mkDerivation { ... meta.platforms = with stdenv.lib.platforms; [ darwin ]; }
<clever> let a = body; in a
<clever> > let a = body; in a
<{^_^}> undefined variable 'body' at (string):43:9
<LnL> I think you mean this
<LnL> > let { a = 42; body = a; }
<{^_^}> 42
<infinisil> Huh
alexteves_ has quit [Remote host closed the connection]
<clever> LnL: no, the comments imply there is a special body attr in let blocks: https://github.com/NixOS/nix/blob/master/src/libexpr/parser.y#L387-L388
<clever> LnL: oh wait, yeah, what you did is weird
jmaki__ is now known as jimki
<infinisil> > :v let
<{^_^}> let = let is not defined
alexteves_ has joined #nixos
<LnL> yes, body attr not variable :)
<clever> LnL: oh, i think i see, `let foo = x; in bar` turns into `(rec { foo = x; body = bar; }).body`
<ij> What's wrong with nixos `man'? It includes unprintable chars when piping.
<{^_^}> [nixpkgs] @dotlambda merged pull request #41633 → python27Packages.cython, python36Packages.cython: Disable tests on i686 → https://git.io/vhu4R
<{^_^}> [nixpkgs] @dotlambda pushed commit from @volth to master « pythonPackages.cython: Disable tests on i686 (#41633) »: https://git.io/vhgIj
<{^_^}> [nixpkgs] @Mic92 merged pull request #41194 → Add Bazel buildtools → https://git.io/vhOYz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgLf
<clever> LnL: oh, i think we are confusing let's
<contrapumpkin> let's what?
<clever> there is `let { ... }` and also `let foo = bar; in baz`
* contrapumpkin runs
<infinisil> Whoa, are you serious with this body thing..
<infinisil> I did not know that..
<gchristensen> let's help people who have questions contrapumpkin :)
<LnL> yeah there are 2 let syntaxes
<contrapumpkin> gchristensen: already ran, too late
<clever> i didnt know that
nschoe has quit [Quit: Program. Terminated.]
<gchristensen> ij: works for me?
<LnL> gchristensen: I think it's too late, they will be too confused now ;)
<gchristensen> ij: what are you man-ing and what are eyou see-ing?
<goibhniu> Akii: oh, have you got any Qt programs installed in your user or root profiles?
<Unode> gchristensen: here's one: if I want to override a dependency in http://dpaste.com/2W6DCAA how do I do that?
<LnL> as in another version?
<gchristensen> LnL: this is one of the concerns I have with a code evaluation bot, drowning away questions as people get too deep in to esoteric syntax topics
<ij> gchristensen, man ssh | awk 'NR == 3 { print $0 }' | hexdump
<manveru> ij: export MANPAGER="less -rX"
<ij> gchristensen, Do you see the unprintables?
<Myrl-saki> Uhh
<Akii> goibhniu: not that again.. probably
<gchristensen> ij: with `man ssh | less` I don't
<Myrl-saki> defaultFonts.monospace = [ "foo:pixelsize=12" "bar" ]; makes bar load instead of foo.
<goibhniu> Akii: yeah, it's a pain ... you're best off to put all Qt stuff in your systemPackages
<ij> gchristensen,
<Akii> goibhniu: I've everything in systemPackages
<ij> oops… I remember arch manpages didn't print unprintables with just man. So they must've patched their man?
<ij> manveru, Yeah, that makes it work.
<goibhniu> hrmpf
<Myrl-saki> I guess setting the DPI technically works.
<gchristensen> ij: unprintables like formatting options? color/bold/etc?
<{^_^}> [nixpkgs] @Mic92 pushed to master « perlPackages.FileDesktopEntry: fix build by adding missing Module::Build »: https://git.io/vhgLg
<ij> gchristensen, It has a lot of ^H
<ij> You can see them if you pipe to vim.
<gchristensen> I think that is part of how less does bolding
Fare has joined #nixos
seafood has joined #nixos
<ij> I feel like removing those if man doesn't invoke less would be a great idea.
<gchristensen> sure
<{^_^}> [nixpkgs] @Mic92 merged pull request #41675 → perlPackages.DB_File: 1.831 -> 1.841 → https://git.io/vhzjO
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgLM
gerschtli has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41678 → librealsense: 2.11.1 -> 2.12.0 → https://git.io/vhgeR
<LnL> ij: do you also get that with PAGER=cat?
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgL7
nh2 has joined #nixos
woodson has quit [Ping timeout: 276 seconds]
<ij> LnL, Yes, on `PAGER=cat man ssh | vim -`
<{^_^}> [nixpkgs] @Mic92 merged pull request #41661 → pinentry-debian-patch - "anonscm.debian.org has migrated to salsa.deb… → https://git.io/vhzya
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgtv
<infinisil> Hey, what do y'all think of using #nix-lang to discuss Nix as a language?
<gchristensen> yeah this is man doing bold
<{^_^}> [nixpkgs] @Mic92 merged pull request #41670 → hub: 2.3.0 -> 2.4.0 → https://git.io/vhzAo
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgtq
<infinisil> #nix-lang would not be used for stuff like build problem and such, only Nix the language, all day :D
vaninwagen has quit [Ping timeout: 240 seconds]
MercurialAlchemi has quit [Ping timeout: 268 seconds]
<infinisil> (#nix is a private channel for some reason so that won't work)
<gchristensen> #nix is marked as invite-only, and redirects uninvited users to #nixos. nobody is invited afaik
<aminechikhaoui> shouldn't nix-core be the channel for that stuff ?
<aminechikhaoui> doesn't seem to be heavily used :D
<infinisil> aminechikhaoui: "#nix-core: Discussion channel for the Nix core team"
<infinisil> Nothing to do with Nix as a language
<gchristensen> I think #nixos is a fine place for the nix lang chat
<gchristensen> (imo)
<{^_^}> [nixpkgs] @Mic92 merged pull request #41676 → perlPackages.CompressRawZlib: 2.074 -> 2.081 → https://git.io/vhzj4
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgtu
<gchristensen> I came off a bit grumpy above
<infinisil> gchristensen: There's just a lot of noise in here, lots of people asking about build related problems, which are not really interesting
gerschtli has joined #nixos
vaninwagen has joined #nixos
<infinisil> And as above, we could miss some people's questions about this stuff because of discussions about the language
<gchristensen> it is important to me that people with questions and problems with nixos get priority over other things I think, though
<gchristensen> aye
jerengie[m] has joined #nixos
<gchristensen> maybe don't overthink it for now and let's wait for it to be a more glaring problem?
<{^_^}> [nixpkgs] @Mic92 merged pull request #41671 → detox: fix missing safe.tbl → https://git.io/vhzxW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgti
<gchristensen> all imo of course
<infinisil> Hmm I guess
<infinisil> I'm just always hesitant to discuss the language part in here, because a lot of people don't care and lot of people have other problems
<infinisil> And using {^_^} for nix eval can get pretty noisy fast
i-am-the-slime has joined #nixos
<i-am-the-slime> Hello, I am fighting a problem where I try to compile a Haskell stack project and I get this error:
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41686 → graylog: 2.4.4 -> 2.4.5 → https://git.io/vhgtN
<{^_^}> [nixpkgs] @Mic92 merged pull request #41656 → wolfssl: 3.13.0 -> 3.15.0 → https://git.io/vhzr6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgtA
danielrf has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #41687 → perlPackages.FileDesktopEntry: 0.04 -> 0.22 → https://git.io/vhgqf
<__monty__> Question, why does nix have to rebuild ghc every time I add a dependency and update the channel? I assume it's because the derivation's changed because dependencies changed but does it really have to rebuild ghc?
<clever> __monty__: which ghc is it building?, i would expect it to be on the binary cache
<i-am-the-slime> ...7.3.0/collect2': execv Argument list too long
<manveru> __monty__: i think that's when you compile with hoogle?
<i-am-the-slime> So it won't compile.
<clever> i-am-the-slime: try switching to stack2nix maybe?
<i-am-the-slime> this is a work project, I don' t know how manageable that will be
<__monty__> clever, manveru: ghcWithHoogle for ghc-8.2.2
<i-am-the-slime> but if it allows me to work it would be good
<manveru> __monty__: if i remember right, if you use ghcWithHoogle it'll recompile everything for some kind of documentation thingy
atu has quit [Ping timeout: 240 seconds]
<clever> i-am-the-slime: if you run `stack2nix .` it will create a default.nix file that refers to every package defined in your stack.yaml
<clever> i-am-the-slime: you can then just -A your package name with nix-build and it will build everything under nix
<i-am-the-slime> -A to which command?
<clever> i-am-the-slime: nix-build
tzemanovic has quit [Remote host closed the connection]
<__monty__> manveru: Ah, unfortunate.
<manveru> i might be wrong though :)
reinzelmann has quit [Quit: Leaving]
<manveru> it's been ages since i used it
<__monty__> manveru: Just not using haskell anymore or found a better haskel+nix workflow?
<__monty__> The local hoogle's pretty useful to me.
<{^_^}> [nixpkgs] @volth opened pull request #41688 → [staging] perlPackages: convert some modules to aliases → https://git.io/vhgqM
<manveru> no haskell for me... felt too much like punching my brain through a meatgrinder
<__monty__> How far'd you take it?
sbdchd has quit [Remote host closed the connection]
<manveru> i built a parser for some game save files with it
<manveru> took me about 3 weeks :P
<{^_^}> [nixpkgs] @Mic92 merged pull request #41660 → libbluray: fix Java build → https://git.io/vhziD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgqA
jperras has joined #nixos
sbdchd has joined #nixos
<infinisil> ,channels = Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<{^_^}> channels defined
<manveru> i'm fine Elm, but Haskell felt like people make things complicated just because it looks a bit nicer or is intellectually stimulating
<gchristensen> infinisil: #nixos-aarch64
<manveru> not to mention the horrible compilation times...
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41689 → gromacs: 2018 -> 2018.1 → https://git.io/vhgm0
<manveru> so for me C++ and Haskell are in the category of "why don't we just get on without them" :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #41667 → ndpi: 1.8 -> 2.2 → https://git.io/vhz5u
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgmg
<infinisil> ,channels = Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<{^_^}> channels defined
seafood has quit [Quit: seafood]
<infinisil> gchristensen: thx
<__monty__> Haskell's way more than just a brainteaser but to each his own I guess.
<__monty__> For small projects I hardly notice compile times and it doesn't matter because I use ghci during development. And with ghcid it's basically instant.
<clever> __monty__: ive found some files that take ghcid 30+ seconds to reload
<infinisil> clever: Must be a pretty big file then..
<clever> infinisil: oddly, bigger files compile faster
<clever> it must have to do when what the file is doing
<__monty__> clever: I did say small projects. Did you find out why they took long though? Tons of extensions, TH or something?
<infinisil> There *are* bigger files that compile faster then, not that bigger files generally compile faster :P
<clever> __monty__: the cabal file enables a ton of extensions globally, lol
<manveru> my $DAYJOB atm is 90% with Go, with a little Crystal on the side, and i'm getting nervous if something takes longer than a second to build
<logiq_> does anybody know if shellcheck is able to detect the shell when my script starts with `#!/nix/store/4sp0sc2wxas7213x59smrwhliqmhc5yk-bash-4.4-p12/bin/bash` ?
<logiq_> currently, i get SC2148, https://github.com/koalaman/shellcheck/wiki/SC2148
<gchristensen> logiq_: I _think_ yes
<logiq_> "Tips depend on target shell and yours is unknown. Add a shebang."
<gchristensen> oh, then no
<infinisil> > :v weird1
<{^_^}> weird1 = weird1 is not defined
<logiq_> gchristensen: what are the alternatives for shebangs?
<__monty__> manveru: Ghcid checks my projects faster than I can look up at its output.
<gchristensen> usually I use #!/usr/bin/env bash, shellcheck it, then use patchShebangs to replace #!/usr/bin/env bash with #!/nix/store/4sp0sc..../bin/bash
<__monty__> clever: Maybe that particular file just used more of them than others? Or it used something iffy like undecidableinstances?
<manveru> __monty__: my favorite is compiling ghc :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41690 → harfbuzz-icu: 1.7.6 -> 1.8.0 → https://git.io/vhgmj
Fare has quit [Ping timeout: 260 seconds]
<clever> __monty__: probably
<__monty__> manveru: I don't care how long bootstrapping takes tbh. Actually rather it'd take longer if it meant 2G was enough memory.
<manveru> logiq_: usually `#!/usr/bin/env yourshell`
owickstrom has joined #nixos
<manveru> logiq_: but looking at https://github.com/koalaman/shellcheck/blob/master/src/ShellCheck/Parser.hs#L2854 it seems to use the basename
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgYm
<{^_^}> [nixpkgs] @Mic92 merged pull request #41687 → perlPackages.FileDesktopEntry: 0.04 -> 0.22 → https://git.io/vhgqf
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<manveru> so i'm not sure why yours wouldn't be valid
<Mic92> Looking at the bot traffix on github we will reach singularity in nixpkgs soon.
<gchristensen> Mic92: are there bots other than ofborg and r-ryantm?
<Mic92> gchristensen: looks like perl packages are also now semi-automatic.
<{^_^}> [nixpkgs] @volth opened pull request #41691 → perlPackages.GD: 2.53 -> 2.68 → https://git.io/vhgY2
<gchristensen> :o
atu has joined #nixos
<infinisil> A "Bot" tag in PR's might be nice
<Mic92> description is enough
<Mic92> ok maybe for filtering
<infinisil> Fot filtering i mean
<Mic92> But I usually filter by bot.
<manveru> __monty__: i don't mean to diss haskell btw, it just doesn't map well with my brain, but that doesn't mean it's a problem with the language
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgYx
<{^_^}> [nixpkgs] @Mic92 merged pull request #41663 → owl-lisp: 0.1.15 -> 0.1.16 → https://git.io/vhzHU
Ariakenom_ has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #41692 → perlPackages.DBDSQLite: 1.55_07 -> 1.58 → https://git.io/vhgO0
<__monty__> manveru: Was just trying to figure out why you didn't like it because many (if not most) people I've spoken to that didn't, didn't based on outdated info about haskell. Haskell isn't perfect by any means, tooling's a huge painpoint still.
Ariakenom has quit [Ping timeout: 240 seconds]
martinga_ is now known as martingale
Effilry has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #41693 → perlPackages.DBDmysql: 4.041 -> 4.046 → https://git.io/vhgO6
<manveru> well, my reason for trying Haskell was that i enjoyed Elm, but wanted a bit more flexibility in the type system
FireFly has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41657 → urlwatch: 2.11 -> 2.13 → https://git.io/vhz6a
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgO1
<manveru> turns out i didn't actually want _that_ much flexibility :)
<{^_^}> [nixpkgs] @janisozaur opened pull request #41694 → openrct2: Update homepage → https://git.io/vhgOy
<Mic92> __monty__: I found documentation sometimes hard to understand.
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgOA
<{^_^}> [nixpkgs] @Mic92 merged pull request #41654 → xonsh: 0.6.4 -> 0.6.6 → https://git.io/vhzgE
karlguy has joined #nixos
alexteves__ has joined #nixos
<srk> manveru: you know about miso?
<manveru> srk: the soup?
<{^_^}> [nixpkgs] @asymmetric opened pull request #41695 → keybase: 1.0.44 -> 2.0.0 → https://git.io/vhg3T
<srk> almosty :D
<__monty__> Mic92: That's why we don't document most things ; )
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhg3Y
<{^_^}> [nixpkgs] @Mic92 merged pull request #41691 → perlPackages.GD: 2.53 -> 2.68 → https://git.io/vhgY2
<srk> Mic92: lol@bots, just cool..
<srk> is there a backup plan for nixos if github goes bonkers? :D
<manveru> srk: hadn't seen it yet, i'm helping development of https://www.mint-lang.com/ atm
<Mic92> I suppose
<Mic92> probably gitlab
alexteves_ has quit [Ping timeout: 260 seconds]
<Mic92> maybe self-hosted
<srk> yeah
asuryawanshi has quit [Ping timeout: 264 seconds]
<srk> I find gitlab horrible though, speed/UI
Effilry is now known as FireFly
<manveru> you ever used phabricator?
<manveru> i think that might be a better fit for our needs...
<gchristensen> srk: we'll probably find an alternate solution that not everybody likes
jmiven has quit [Quit: co'o]
<srk> yeah, running few mediawikis /o\
<gchristensen> I hear Visual Source Safe is nice
karlguy has quit [Ping timeout: 256 seconds]
<srk> gchristensen: sure, just wondering if it's discussed anywhere
samrose has joined #nixos
jmiven has joined #nixos
<manveru> i think haskell uses phabricator too: https://phabricator.haskell.org/
<srk> gchristensen: given enough time we can probably make our own custom tailored solution as well
<{^_^}> [nixpkgs] @Mic92 merged pull request #41693 → perlPackages.DBDmysql: 4.041 -> 4.046 → https://git.io/vhgO6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhg3d
<gchristensen> that sort of sounds like the worst possible option
<gchristensen> I'd rather our committed community contributing to the project, not project management projects
<samrose> anyone know if there is a more accurate set of instructions for installation of hydra than https://nixos.org/hydra/manual/#idm140737315960992 ?
<srk> pagure is also nice, way more simple than gitlab (uses flask, gitolite), than there's gitea/gogs
<samrose> the obstacle I run into is nix-channel --add http://hydra.nixos.org/jobset/hydra/master/channel/latest results in nix-channel --update error: unable to download 'http://hydra.nixos.org/jobset/hydra/master/channel/latest': HTTP error 404 (curl error: No error)
<gchristensen> a major problem is Nixpkgs is one of the biggest projects on github, and so casual alternatives to github aren't necessarily going to work
<manveru> i use gitea myself, but don't think it'd scale well for our needs...
<samrose> srk: pagure looks good
<srk> I've tried pagure, fedora uses it for thousands of repositories. it's backed by git-daemon/gitolite so that's the perfomance "bottleneck" I guess
<srk> then auth is bit of an issue
<manveru> what was the system SuSE uses?
<srk> but again, if you have a way to deliver ssh keys to gitolite all is well
<{^_^}> [nixpkgs] @Sorixelle opened pull request #41696 → jetbrainsjdk: 152b1136.20 -> 152b1248.6 → https://git.io/vhgsC
npmccallum has joined #nixos
<srk> anyone running gitlab? what's your experience with it?
<ar> generally good
<ar> but i don't have too much load on it
<samrose> srk: gitlab is good, more resources needed than some of these other examples
<srk> people who run it on non-nixos-es often report breakage, I've deployed one with nixops to play with
<srk> samrose: yeah, that sucks
<srk> for personal selfhosting
<ar> srk: the only non-nix viable way to deploy gitlab when selfhosting, is the omnibus things
<{^_^}> [nixpkgs] @taku0 opened pull request #41697 → firefox, firefox-bin: 60.0.1 -> 60.0.2, firefox-esr: 52.8.0esr -> 52.8.1esr, 60.0.1esr -> 60.0.2esr [Critical security f… → https://git.io/vhgs0
<srk> even nixops fails with default sized vm :)
<samrose> srk: yeah just for personal self hosting I would use one of these other slimmer options
yeme has joined #nixos
<srk> ar: sounds scary
<{^_^}> [nixpkgs] @jtojnar merged pull request #41523 → quodlibet: 4.0.2 -> 4.1.0 → https://git.io/vhRo8
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/vhgsz
<maurer> I technically run a gitlab service, my experience is basically that it being in Ruby makes it a security nightmare
<gchristensen> samueldr: I finally had to do it, nix-collect-garbage --delete-older-than 365d
<maurer> I eventually just gave up on trying to keep it secure and put it behind an apache reverse proxy with an apache login
<maurer> so you can't even talk to it without that
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41517 → dylibbundler: init → https://git.io/vhR01
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhgsa
npmccallum_ has joined #nixos
nh2 has quit [Quit: Leaving.]
<samueldr> F
<ar> gitea uses very little resources, is trivial to install, but i haven't tested it at scale
<srk> manveru: uh
<gchristensen> how about we take git service chat to #nixos-chat
<manveru> https://build.opensuse.org/ this one
<manveru> good idea :)
<{^_^}> [nixpkgs] @jtojnar closed pull request #41685 → itstool: 2.0.2 -> 2.0.4 → https://git.io/vhgUx
<srk> right, never heard of that channel
<{^_^}> [nixpkgs] @volth opened pull request #41698 → perlPackages.UnicodeString: 2.09 -> 2.10 → https://git.io/vhgs6
olto has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
olto has joined #nixos
<hyper_ch2> gchristensen: you haven't been able to fix zfs with 4.16 yet it seems?
npmccallum has quit [Ping timeout: 256 seconds]
<gchristensen> I haven't tried, hyper_ch2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgsb
<{^_^}> [nixpkgs] @Mic92 merged pull request #41669 → mbedtls: 2.9.0 -> 2.10.0 → https://git.io/vhzNV
<hyper_ch2> ah... well, I tried and the initrd looked fine to me :(
Ariakenom_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41694 → openrct2: Update homepage → https://git.io/vhgOy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgsx
<srk> ryantm: ty!
<samrose> so wait, is this all it takes to install hydra? https://nixos.wiki/wiki/Hydra
karlguy has joined #nixos
atu has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41653 → hiawatha: GitHub -> GitLab, clean-up → https://git.io/vhzZF
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgG4
<ryantm> Mic92: I saw you were trying to use the r-ryantm Cachix cache. How did it go?
<clever> samrose: pretty much
<clever> samrose: i manage 3 hydra's and have helped others setup at least 2 more
nico202 has quit [Ping timeout: 240 seconds]
blankhart has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Ping timeout: 248 seconds]
<samrose> clever: ok cool. I am very new to this, just trying to figure it out. I am 100% sold on using nix and nixos, pretty incredible stuff
<Mic92> ryantm: at the moment it does not yet seem to pull from cachix, I have the following in my nix.conf: https://r-ryantm.cachix.org
<Mic92> substituters = https://r-ryantm.cachix.org
<Mic92> and the key
alexteves__ has quit [Ping timeout: 256 seconds]
jtojnar has quit [Remote host closed the connection]
<LnL> Mic92: you can't specify trusted-public-keys in a user nix.conf unless a fix was backported to 2.0
<LnL> Mic92: and you need to be a trusted user
slyfox has joined #nixos
<Mic92> LnL: ah, so I need nixUnstable?
chessai has joined #nixos
<mpickering> "cachix use" now just prints some formatted instructions instead of modify nix.conf?
owickstrom has quit [Ping timeout: 260 seconds]
<Mic92> yes
<Mic92> on nixos at least
atu has joined #nixos
<mpickering> What's the reason for this
<maurer> On NixOS, /etc/nix/nix.conf is autogenerated
sorixelle has quit [Ping timeout: 265 seconds]
<maurer> I have no idea what cachix is, but if it wants to modify nix.conf, it's going to want you to modify your configuration.nix and rebuild instead
<mpickering> ok
<LnL> Mic92: hmm, it was cherry-picked so I'd expect it to be in 2.0.4
tzemanovic has joined #nixos
vaninwagen has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « xcode: update Xcode URL »: https://git.io/vhgne
nschoe has joined #nixos
erasmas has joined #nixos
tzemanovic has quit [Ping timeout: 265 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgnV
<{^_^}> [nixpkgs] @Mic92 merged pull request #41672 → lxc: 3.0.0 -> 3.0.1 → https://git.io/vhzxj
atu has quit [Ping timeout: 240 seconds]
jensens has quit [Ping timeout: 268 seconds]
matthewbauer has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @kirelagin opened pull request #41699 → ihaskell: Do not unset $PATH in the wrapper → https://git.io/vhgnN
<henrycrutcher> Silly question: Are there any docs on how to set up container networking? I've tried reading the test cases, and I'm just baffled. I just want my container to be able to talk to the internet, and I have no idea how to do that. The host can talk to the internet, and I'm using NixOps
knupfer has joined #nixos
nh2 has joined #nixos
ogotai has quit [Remote host closed the connection]
<__monty__> How would I go about limiting ghc's memory usage (-M ?) for nix builds of ghcwithhoogle?
Neo--- has quit [Ping timeout: 240 seconds]
matthewbauer has joined #nixos
<henrycrutcher> It would be if its nat instructiobns worked -- they don't. They also don't talk about bridging at all, which would be another solution. Also, no idea whether the configuration goes in the host or container
<{^_^}> [nixpkgs] @Mic92 merged pull request #41699 → ihaskell: Do not unset $PATH in the wrapper → https://git.io/vhgnN
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgca
<henrycrutcher> @clever -- trying your gist now -- thanks!!!
<{^_^}> [nixpkgs] @Mic92 merged pull request #41688 → [staging] perlPackages: convert some modules to aliases → https://git.io/vhgqM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/vhgcK
<Myrl-saki> (x: callPackage x {}) (fetchFrom ...) will this raise some questions or nah?
<clever> Myrl-saki: ive seen some things doing pkgs.callPackage ({ stdenv, hello }: stdenv.mkDerivation { ... }) {}
<LnL> henrycrutcher: didn't ask yesterday, did you open up the firewall ports?
<{^_^}> [nixpkgs] @Mic92 merged pull request #41649 → wireguard: 0.0.20180524 -> 0.0.20180531 → https://git.io/vhzO2
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vhgC7
alexteves_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #41636 → nheko: 0.4.2 -> 0.4.3 → https://git.io/vhuoK
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgWG
<__monty__> Hmm, ran out of memory just fetching files from cache.nixos.org, what do?
<henrycrutcher> I tried, but to no avail. The problem isn't that you can't see the container from the outside. It's more that the container cannot see anything except the host
<henrycrutcher> trying @clever's gist now
<clever> __monty__: which thing was it downloading when it failed?
jperras has quit [Ping timeout: 264 seconds]
hyper_ch2 has quit [Quit: Page closed]
<__monty__> ghc
karlguy has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @winniequinn opened pull request #41700 → vscode: 1.23.1 -> 1.24.0 → https://git.io/vhgWy
yeme has quit [Quit: Page closed]
jperras has joined #nixos
Jetien has joined #nixos
selaux has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #41696 → jetbrainsjdk: 152b1136.20 -> 152b1248.6 → https://git.io/vhgsC
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhglJ
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Sorixelle to release-18.03 « jetbrainsjdk: 152b1136.20 -> 152b1248.6 »: https://git.io/vhglm
<adisbladis[m]> jbboehr: Ping?
<Jetien> hi! how to configure the nix-daemon in non-nixos (e.g. ubuntu)? i'd like to add a binary cache
<mpickering> Is it possible to modify an existing derivation to add an extra output?
<hodapp> what's the magical way to start building things in my shell.nix, but drop me into the environment at the step where it fails if it does?
<__monty__> clever: : / Was hoping the latest release had those fixes because the release was after edolstra's comment about landing them in master. But ran into the same issue.
<mpickering> hodapp: -K and then, source env-vars
<adisbladis[m]> mpickering: Sure thing! Just do `someDrv.overrideAttrs(oldAttrs: { oldAttrs.outputs ++ [ "man" "info" ]})`
<clever> __monty__: the nix in nixpkgs needs to update, its a bit old
<__monty__> clever: It's 2.0.4, that doesn't have those fixes?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41701 → gperftools: 2.6.3 -> 2.7 → https://git.io/vhg8f
<samrose> clever: do you happen to have a git repo or similar with examples of how you set up hydra?
<clever> samrose: each project has its own spec.json for declarative project definitions, which directs hydra to load the nearby default.nix to generate all jobsets
<clever> so nearly all hydra config is in git and can be tracked and re-configured easily
<adisbladis[m]> Jetien: Just start nix-daemon as root
<hodapp> hrmph... can't modify the build directory now though
<samrose> clever: thank you!
<adisbladis[m]> And export NIX_REMOTE=daemon
<{^_^}> [nixpkgs] @Mic92 merged pull request #41700 → vscode: 1.23.1 -> 1.24.0 → https://git.io/vhgWy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhg8Z
<adisbladis[m]> Jetien: Actually the manual has a short section on this: https://nixos.org/nix/manual/#idm140737318368208
<samrose> I just tried reproducing the last good build at https://hydra.nixos.org/build/75221841 and then nix-env -i hydra which appears to be working
<Jetien> adisbladis[m]: thanks. i've figured it was ~/.config/nix/nix.conf
<adisbladis[m]> Jetien: /etc/nix/nix.conf is the global one
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41702 → grml-zsh-config: 0.14.3 -> 0.15.0 → https://git.io/vhg8D
<adisbladis[m]> Jetien: If you want to run the daemon at startup I suggest making a systemd job. I've pastebinned the current one from my nixos laptop here: https://paste.pound-python.org/show/Rk6UFqH76HcnXI0VL5PJ/
<adisbladis[m]> You should only need to adapt the path in ExecStart
<Jetien> adisbladis[m]: thanks
<mpickering> What happens if you have "outputs = ["out", "out1", "out1"]"
<clever> mpickering: something will probably fail
Fare has joined #nixos
<adisbladis[m]> Just tried what would happen: error: duplicate derivation output 'out1', .....
<hodapp> uggggh I fucking hate CMake... doing full trace output, and it's looking right at libboost_chrono.so and setting Boost_CHRONO_FOUND, and then ignoring libboost_atomic.so in exactly the same directory and complaining it can't find these (and others)
halfbit has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #41647 → odt2txt: 0.4 -> 0.5 → https://git.io/vhztR
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhg4b
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41705 → guake: 3.2.1 -> 3.2.2 → https://git.io/vhg4N
<{^_^}> [nixpkgs] @Mic92 merged pull request #41652 → minio: Output server logs & startup in json format → https://git.io/vhzZu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhg4j
winem_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41706 → harfbuzz: 1.7.6 -> 1.8.0 → https://git.io/vhgBC
<{^_^}> [nixpkgs] @ookhoi opened pull request #41707 → cups-not-found - "error: cannot download cups-2.2.6-source.tar.gz fro… → https://git.io/vhgBb
<{^_^}> [nixpkgs] @ookhoi opened pull request #41708 → 18.03-pinentry-debian-patch - anonscm.debian.org has migrated to sals… → https://git.io/vhgBj
<hodapp> hmm... so boost = boost16x, boost16x = boost166, and boost166 = callPackage ../development/libraries/boost/1.66.nix { }, and 1.66.nix has callPackage ./generic.nix blahblahblah, and what I need is to set enableStatic in generic.nix's arguments to true
<hodapp> how do I go about finding the 'right' override construct for this? this is never clear to me
<{^_^}> [nixpkgs] @ookhoi opened pull request #41709 → 18.03-cups-not-found - "error: cannot download cups-2.2.6-source.tar.… → https://git.io/vhgRT
<{^_^}> [nixpkgs] @Mic92 merged pull request #41624 → Jetbrains CLion: 2018.1.2 -> 2018.1.3 → https://git.io/vhExK
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgRt
<{^_^}> [nixpkgs] @Mic92 pushed commit from @sondr3 to release-18.03 « Jetbrains CLion: 2018.1.2 -> 2018.1.3 »: https://git.io/vhgRs
<clever> nix-repl> (import <nixpkgs> { overlays = [ (self: super: { boost166 = "foo"; }) ]; }).boost
<clever> "foo"
<clever> hodapp: it looks like it correctly cascades
<hodapp> not sure what that means
<clever> hodapp: an override of boost166 also effects boost
<hodapp> I don't care if it affects boost; I just want to make a modified version of one of them for which enableStatic is true
<clever> hodapp: oh, one min
<eeva> Anyone has experience with closure size reduction with Haskell. justStaticExecutable doesn't seem to cut it : when I `nix-store --query --requisites` is still giving me the whole haaskell universe of deps. My package only requires base and hakyll!
<clever> hodapp: boost166.override { enableStatic = true; }
<clever> eeva: try nix why-depends
<hodapp> clever: ahh, thanks
lonokhov has quit [Quit: WeeChat 2.0]
<hodapp> I just always have a hard time with articulating queries about how to do things like overrides
<eeva> clever: how can you use that "locally"? "nix why-depends -f release.nix package dep" always returns attribute dep not found
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @zx2c4 opened pull request #41710 → wireguard-go: remove from tree → https://git.io/vhg0t
<clever> eeva: `nix why-depends /nix/store/yourthing /nix/store/ghc`
<eeva> ah ok, that's what is meant by package
<eeva> thanks
<eeva> Well, ok. My problem is that requisites should be build-time deps, not runtime
henrycrutcher has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<clever> eeva: are you able to pastebin the output of why-depends?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/72f07e74f3b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Myrl-saki> How do I override callPackage's default arguments?
justanotheruser has quit [Ping timeout: 268 seconds]
<Myrl-saki> I tried the naive {...} // super
<clever> Myrl-saki: can you paste an example that you have tried?
<Myrl-saki> callPackage = x: a: super.callPackage x ({ pythonPackages = selfpkgs.pythonPackages; } // a);
<Myrl-saki> That "type" errors.
<Myrl-saki> If pythonPackages is not in the argument set.
<clever> Myrl-saki: if a contains a pythonPackages, it overwrites the entire pythonPackages
<Myrl-saki> clever: Yeah, that's what I was going for.
<clever> Myrl-saki: you probably want newScope i think
<Myrl-saki> clever: I've been trying to look at how newScope is declared.
ixxie has joined #nixos
<Myrl-saki> Or used.
<eeva> clever: https://framabin.org/p/?ea66bf7dd9362c50#j0HrKijr4fWjcPhSwIw0sj+kZoG9ylEQDS1ACljt7to= (more in detail problem)
<clever> nix-repl> myCallPackage = pkgs.newScope { pythonPackages = "foo"; }
<clever> nix-repl> myCallPackage ({ pythonPackages }: pythonPackages) {}
<clever> "foo"
<clever> Myrl-saki: you run pkgs.newScope on a set, which will return a new variant of callPackage
<clever> and that new version checks the given set first, then falls back to pkgs
selaux has quit [Remote host closed the connection]
ixxie has quit [Client Quit]
<clever> eeva: can you also include the output of `nix why-depends /nix/store/yourthing /nix/store/6qd7z9w1hi1885almynw4088n8v0xii9-ghc-8.2.2`
<Myrl-saki> clever: How about makeScope?
ixxie has joined #nixos
<clever> eeva: site refers to a path within pandoc at runtime, and pandoc depends on ghc
<clever> eeva: do you know why you are refering to paths in pandoc?
<clever> eeva: you may need to also justStaticExecutables pandoc as well
<eeva> My default.nix for my project only refers to base and hakyll (which may refer to pandoc)
<clever> eeva: are you able to build hakyll without pandoc?
<eeva> clever: https://framabin.org/p/?a0f62e8b8d682a7e#HENi2bcaQbwqFSWI+yUodKadH7P1vwfXY2OjTVU+IcY=
<eeva> I think hakyll heavily relies on pandoc
fendor has quit [Ping timeout: 240 seconds]
ixxie has quit [Ping timeout: 268 seconds]
<clever> eeva: which version of nixpkgs are you using?
<eeva> Pinned on 1x1aiph1d0xfwnfa61wqvjpgdga87h82dp3rwh14lj489wi133y4
iyzsong has quit [Ping timeout: 240 seconds]
<clever> eeva: thats not a git revision
<eeva> ooops
<eeva> 7aa6d2c808b14aa04dc93c2ca64344c9eee0876a
<eeva> :D
<eeva> (took the sha256 instead)
<clever> eeva: thats pretty recent, it should have the split-output improvements
<{^_^}> [nixpkgs] @Mic92 merged pull request #41702 → grml-zsh-config: 0.14.3 -> 0.15.0 → https://git.io/vhg8D
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgEh
<eeva> yeah, latest LTS published
<eeva> I have a couple of call to pandoc in my haskell source, they may be re-exported by hakyll
<{^_^}> [nixpkgs] @volth opened pull request #41712 → perlPackages.JSON: 2.90 -> 2.97001 → https://git.io/vhguB
<eeva> Well thanks for looking into it, I didn't know about nix why-depends
<{^_^}> [nixpkgs] @LnL7 pushed 216 commits to staging: https://git.io/vhgug
sbdchd has quit [Remote host closed the connection]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #41579 → bibutils: 6.2 -> 6.3 → https://git.io/vh0Zu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhguh
i-am-the-slime has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @ookhoi closed pull request #41708 → 18.03-pinentry-debian-patch - anonscm.debian.org has migrated to sals… → https://git.io/vhgBj
mekeor has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #41713 → i3lock-pixeled: github -> gitlab → https://git.io/vhgzC
<{^_^}> [nixpkgs] @Mic92 merged pull request #41689 → gromacs: 2018 -> 2018.1 → https://git.io/vhgm0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhgzl
silver has quit [Quit: rakede]
<{^_^}> [nixpkgs] @LnL7 pushed commit from @edolstra to release-18.03 « nix: 2.0.3 -> 2.0.4 »: https://git.io/vhgzh
nschoe has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @bjornfor pushed to master « lttng-modules: use kernel.moduleBuildDependencies »: https://git.io/vhggR
<Myrl-saki> Ugh.
<Myrl-saki> Now I wish I bought a PocketCHIP.
woodson_ has joined #nixos
<gchristensen> is there a Nix more for Emacs which handles let-in indentation properly?
jperras has quit [Quit: WeeChat 2.1]
<__monty__> Can I just curl ghc from cache.nixos.org to sidestep the download in ram issue?
<thblt> texlive.combined.scheme-full doesn't contain biber. Should I report a bug?
<infinisil> gchristensen: You mean when you do 2 newlines, it jumps to column 0?
<clever> __monty__: it still has to be restored into the store by nix, which is where the problem occurs
<gchristensen> infinisil: if I type `let\n<tab>pkgs = imp...` it'll not indent the `pkgs` line
<clever> __monty__: your best option is to setup a swap file
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aab0775d9ee (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<gchristensen> infinisil: it is bad enough that I often just switch to text-mode
<infinisil> gchristensen: Without you pressing <tab>?
<gchristensen> even without pressing tab it goes to col0
<infinisil> Huh, <tab> works just like it should for me
schoppenhauer has quit [Ping timeout: 268 seconds]
<infinisil> Using nix-mode
<LnL> gchristensen: vim-nix
<Mic92> emacs has completion, which vim-nix does not have.
<__monty__> clever: I'm on btrfs so I'd have to mount a swapfile as a loop device. Would a nixos vm as remote build host or a hydra vm even be an easier option?
<infinisil> LnL: vim-nix does work pretty well, thanks! Much better than nix-mode, so I often end up editing stuff in vim even though I'd prefer to use emacs
<infinisil> Mic92: Completion for what?
Sonarpulse has joined #nixos
nh2 has quit [Quit: Leaving.]
<clever> __monty__: nix build slaves would still result in it trying to download ghc locally, then upload it to the slave
<Mic92> infinisil: I have seen the other day on someones laptop that it can complete nixos options or pkgs.<TAB>
<{^_^}> [nixpkgs] @rickynils opened pull request #41715 → nixos: Add option networking.networkmanager.dynamicHosts → https://git.io/vhg2B
<{^_^}> [nixpkgs] @Mic92 merged pull request #41713 → i3lock-pixeled: github -> gitlab → https://git.io/vhgzC
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhg2E
<gchristensen> LnL: lol
<gchristensen> (I'm assuming that was a joke)
<infinisil> Mic92: Hmm.. I do have nixos-options and company-nixos-options installed, but have never figured out how it worked
<__monty__> clever: Hmm, foiled again. Any idea why the download for ghc got bigger? This same machine has successfully installed ghc-8.2.2 before. It has 2G ram + 2G swap.
<{^_^}> [nixpkgs] @xeji merged pull request #41571 → eid-mw: 4.4.1 -> 4.4.2 → https://git.io/vh0mW
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « eid-mw: 4.4.1 -> 4.4.2 (#41571) »: https://git.io/vhg2a
<clever> __monty__: how much is free in `free -g` right now?
<Myrl-saki> __monty__: What machine?
<Myrl-saki> __monty__: Your OS might have a 2GB/2GB split.
<clever> __monty__: 32bit or 64bit cpu?
<__monty__> clever: That doesn't seem to work totals are 1 and 1, free is also 1 and 1 for memory and swap.
<__monty__> 64bit arch linux on an old laptop.
<clever> __monty__: check `top` to see whats using a lot of ram and see if you can free some up
jbboehr has quit [Read error: Connection reset by peer]
<Myrl-saki> __monty__: Do you have another Nix device?
jbboehr has joined #nixos
<LnL> gchristensen: Mic92: mostly joking :)
<infinisil> Oh nice, to get nixos option completion in emacs, you just need company-nixos-options installed and do (add-to-list 'company-backends 'company-nixos-options)
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<Myrl-saki> infinisil: :o
<Myrl-saki> I think I already have that.
<Myrl-saki> Wait, how would I know
<infinisil> package-list-packages shows which ones you got
<Myrl-saki> infinisil: I have some company completion on my configuration.nix, but I think it's just textual completion.
<infinisil> You might want to make company complete faster
<Myrl-saki> Oh wait. There's a dedicated package for it. I'ma install it.
<__monty__> Myrl-saki: I had an arch server I used for remote builds but no access currently. I do have nix on a mac though.
<infinisil> (setq company-minimum-prefix-length 1)
<infinisil> (setq company-idle-delay 0.3)
<infinisil> ^^ Can recommend
<Myrl-saki> infinisil: Do you know about the straight package manager?
<infinisil> I do not
<Myrl-saki> infinisil: Oh wait, are you the one who uses home-manager?
<infinisil> Yes I'm one of them :)
<Myrl-saki> infinisil: Awww. You won't benefit from it. :P straight is a declarative package manager for Emacs. Not really as Nixy as Nix though.
<{^_^}> [nixpkgs] @xeji merged pull request #41712 → perlPackages.JSON: 2.90 -> 2.97001 → https://git.io/vhguB
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « perlPackages.JSON: 2.90 -> 2.97001 (#41712) »: https://git.io/vhgaI
<Myrl-saki> It's literally just "install these packages if they're missing" + version pinning.
<{^_^}> [nixpkgs] @Mic92 merged pull request #41574 → elfutils: 0.170 -> 0.171 → https://git.io/vh0Oo
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/vhgam
<infinisil> Well nixpkgs has an emacs package manager already
<Myrl-saki> infinisil: True. :P
<Myrl-saki> Dunno why, but I didn't really feel like using them.
<Myrl-saki> The only with*package that I have globally installed is texlive.
jbboehr has quit [Ping timeout: 276 seconds]
<infinisil> Oh you know what, nixos options completion is actually not very useful..
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to release-18.03 « eid-mw: 4.4.1 -> 4.4.2 (#41571) »: https://git.io/vhga4
<Myrl-saki> infinisil: lol
<Myrl-saki> infinisil: :(
<Myrl-saki> infinisil: What does it do?
<infinisil> If you have services = { <cursor> it can't complete the right thing, it would still suggest stuff like `services.xserver...`
sanscoeur has joined #nixos
<Myrl-saki> I already installed it
<infinisil> It doesn't know about the nested attributes
<{^_^}> [nixpkgs] @xeji merged pull request #41289 → libunistring: 0.9.9 -> 0.9.10 → https://git.io/vhGAT
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to staging « libunistring: 0.9.9 -> 0.9.10 (#41289) »: https://git.io/vhgag
<infinisil> And I rarely use options exactly like `services.xserver.wacom.enable`, I have them nested almost always
jbboehr has joined #nixos
netsan has joined #nixos
<Myrl-saki> Ah. :/
jbboehr has quit [Client Quit]
<infinisil> I guess it's still good for discoverability
<Myrl-saki> infinisil: Do you use evil?
<infinisil> Yup
<Myrl-saki> Am I the only one who's more efficient with readline bindings? <.<
jbboehr has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
<jbboehr> adisbladis[m]: Pong
<infinisil> Myrl-saki: I guess you haven't used vim bindings much then :P
<Myrl-saki> infinisil: I actually spent a year in both.
<Myrl-saki> I started with Emacs, spent a year, then Vim, spent a year. Then went back to Emacs with Evil.
<Myrl-saki> infinisil: I use Vi keybindings on everywhere except for Emacs lol.
<{^_^}> [nixpkgs] @aszlig pushed to release-18.03 « autoPatchelfHook: Patch PIC exes/libs as well »: https://git.io/vhgax
<infinisil> Well whatever float your boat :)
<Myrl-saki> Firefox has Vimium, zsh uses vi.
<Myrl-saki> infinisil: True. :P
<{^_^}> [nixpkgs] @xeji merged pull request #41698 → perlPackages.UnicodeString: 2.09 -> 2.10 → https://git.io/vhgs6
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « perlPackages.UnicodeString: 2.09 -> 2.10 (#41698) »: https://git.io/vhgVe
<Myrl-saki> infinisil: I think readline fits my "think *after* typing" attitude.
<Myrl-saki> Counting how many words to move is just tiring. >~<
netsan has quit [Changing host]
netsan has joined #nixos
<infinisil> (#nixos-chat?)
i-am-the-slime has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41686 → graylog: 2.4.4 -> 2.4.5 → https://git.io/vhgtN
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « graylog: 2.4.4 -> 2.4.5 (#41686) »: https://git.io/vhgVl
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41716 → dcraw: 9.27.0 -> 9.28.0 → https://git.io/vhgV2
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41662 → pynac: 0.7.19 -> 0.7.21 → https://git.io/vhzSL
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pynac: 0.7.19 -> 0.7.21 (#41662) »: https://git.io/vhgVo
humanoyd has joined #nixos
samrose has quit [Ping timeout: 260 seconds]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41655 → xmlsec: 1.2.25 -> 1.2.26 → https://git.io/vhzgh
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « xmlsec: 1.2.25 -> 1.2.26 (#41655) »: https://git.io/vhgVp
johnw has joined #nixos
<mpickering> So is there an elegant way to add an extra output with a function? Checking to see if the output already exists in the list is a bit meh
<mpickering> It seems better to interpret the list as a set and ignore duplicates unless I am missing something
dbmikus has quit [Quit: WeeChat 2.1]
sbdchd has joined #nixos
sbdchd has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7179bad1b2c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
d3mon has joined #nixos
d3mon has left #nixos [#nixos]
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fio: 3.6 -> 3.7 (#41564) »: https://git.io/vhgw9
<{^_^}> [nixpkgs] @xeji merged pull request #41564 → fio: 3.6 -> 3.7 → https://git.io/vh0Tx
inquisitiv3 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41677 → perlPackages.DBDPg: 3.5.3 -> 3.7.4 → https://git.io/vhzj1
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « perlPackages.DBDPg: 3.5.3 -> 3.7.4 (#41677) »: https://git.io/vhgwx
Izorkin has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41716 → dcraw: 9.27.0 -> 9.28.0 → https://git.io/vhgV2
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « dcraw: 9.27.0 -> 9.28.0 (#41716) »: https://git.io/vhgrZ
barrucadu has quit [Quit: Yay, linode upgrade]
cyris212 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41717 → chirp: 20180519 -> 20180606 → https://git.io/vhgr0
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed to release-18.03 « haskell infra: Use `self.ghc` rather than closing over initial value, take II »: https://git.io/vhgr1
xy2_ has quit [Ping timeout: 240 seconds]
thekolb has joined #nixos
mupf has joined #nixos
<mupf> Hello
<{^_^}> [nixpkgs] @xeji merged pull request #41697 → firefox, firefox-bin: 60.0.1 -> 60.0.2, firefox-esr: 52.8.0esr -> 52.8.1esr, 60.0.1esr -> 60.0.2esr [Critical security f… → https://git.io/vhgs0
<{^_^}> [nixpkgs] @xeji pushed 5 commits to staging-18.03: https://git.io/vhgof
<mupf> I have a problem. I just migrrated to NixOS but for some reason I can't login with my root account
<mupf> to set the pasword of my regular user
<mupf> any idea?
i-am-the-slime has quit [Ping timeout: 256 seconds]
<clever> mupf: how did you install nixos?
<mupf> using a usb stick
<clever> mupf: what command did you run to make the install?
<mupf> nixos-install
<clever> mupf: did it ask for a password when it was done?
<mupf> yes it did
<clever> does that password contain any non-ascii characters?
Jetien has quit [Ping timeout: 240 seconds]
<mupf> when i enter a wrong password it says: login incorrect
<mupf> when i enter the correct one
<mupf> nothing happens.
<mupf> i get back to the login prompt
<clever> did you properly un-mount everything when the install was done?
<mupf> no
<mupf> I just rebooted
<clever> normal shutdown -r or reboot?
<mupf> reboot
halfbit has quit [Ping timeout: 265 seconds]
<clever> did you change roots shell with configuration.nix?
<mupf> yes
<mupf> oh
<mupf> I need to check something real quick
<clever> you probably didnt set it correctly, and its breaking roots shell
<mupf> yes, this might be the case
<mupf> thanks
Drakonis has joined #nixos
<clever> boot from the liveusb again, mount the fs's up again, comment that out, and then nixos-install again
<mupf> I like the way how you solve problems, heh :)
<mupf> I check the path i entered
Ariakenom has joined #nixos
<thblt> mupf: the value of users.users.<name>.shell is not a filesystem path, it's a package
Drakonis has quit [Read error: Connection reset by peer]
mariel__ has quit [Read error: Connection reset by peer]
<mupf> thblt: I changed it globally
orivej has quit [Ping timeout: 276 seconds]
<thblt> wait the description says it can be a path, but then it should be a quoted string I think, or /bin/sh
<mupf> using users.defaultUserShell
matthewbauer has quit [Read error: Connection reset by peer]
<mupf> I try using the package name instead
<thblt> start by just commenting out the setting, so your install will be usable.
jbboehr has quit [Quit: Leaving]
sigmundv__ has joined #nixos
barrucadu has joined #nixos
barrucadu has quit [Changing host]
barrucadu has joined #nixos
matthewbauer has joined #nixos
* hodapp stabs the nearest CMake build in the face.
jbboehr has joined #nixos
<mupf> thblt: I give it one more try. but how is a package name defined?
<mupf> "zsh" doesnt seem to work
<mupf> "pkgs/shells/zsh/default.nix" ?
<thblt> pkgs.zsh;
<thblt> but
<thblt> add programs.zsh.enable = true; somewhere in the config
Sonarpulse has quit [Ping timeout: 276 seconds]
<mupf> did it already
<mupf> thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41718 → darktable: 2.4.3 -> 2.4.4 → https://git.io/vhgK8
mekeor has quit [Quit: digital revolution = cryptoanarchism + cybercommunism]
barrucadu has quit [Client Quit]
szicari has joined #nixos
atu has joined #nixos
<mupf> thblt: I already have a ~/.nixpkgs/config.nix file. Does it automatically install the packages defined in this file after login in with the user?
<mupf> or how does it work with per-user configuration files?
<phry> can someone tell me if stdenv.lib.platforms.unix includes darwin?
<mupf> fyi zsh works perfectly now
nico202 has joined #nixos
<phry> mupf: it will not automatically install everyhting in ~/.config/nixpkgs/config.nix - but you can define a derivation there that depends on everything you want installed, and then you can just install that "one derivation"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41719 → ddcutil: 0.9.0 -> 0.9.1 → https://git.io/vhg6T
<mupf> whats a derivation? I tried to use the config.nix file of a former friend of mine
<mupf> this one
reinzelmann has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
nico202 has quit [Ping timeout: 240 seconds]
asuryawanshi has joined #nixos
<phry> mupf: a package definition. in your case, it's a virtual package called ertes-base, ertes-dev etc.
<mupf> ah thanks. and how to install these virtual defined packages?
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/94073e791b9 (from 23 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<mupf> I really have to get used to nixos. I start to like it :)
<phry> nix-env -i ertes-base
<manveru> phry: i'd avoid using -i without -A... it's way slower and a bit unpredictable
<phry> true
<mupf> what's -A ?
jbboehr has quit [Ping timeout: 245 seconds]
<LnL> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<LnL> basically dict lookup vs search by name
<mupf> thanks.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41720 → appstream-glib: 0.7.8 -> 0.7.9 → https://git.io/vhgiE
jbboehr has joined #nixos
barrucadu has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41721 → burp: 2.1.32 -> 2.2.4 → https://git.io/vhgiD
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9b3c53e0f71 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
logzet_ has quit [Ping timeout: 265 seconds]
sbdchd has joined #nixos
Mr_Keyser_Soze has joined #nixos
humanoyd has quit [Ping timeout: 276 seconds]
<mupf> Okay, this could take a while
BenceF has joined #nixos
sbdchd has quit [Ping timeout: 245 seconds]
BenceF has quit [Remote host closed the connection]
BenceF has joined #nixos
BenceF has quit [Remote host closed the connection]
netsan has left #nixos ["Leaving"]
nico202 has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
humanoyd has joined #nixos
sigmundv__ has quit [Remote host closed the connection]
humanoyd has quit [Client Quit]
Sonarpulse has joined #nixos
knupfer has joined #nixos
logzet has joined #nixos
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #41722 → [WIP] mbedtls: build with cmake&ninja → https://git.io/vhgXK
<hodapp> bleh, just ran into what looks like https://github.com/NixOS/nixpkgs/issues/29877 while trying to build Open Shading Language, which I guess assumes it has both GCC and Clang/LLVM
<hodapp> for whatever reason
johnw has quit [Ping timeout: 245 seconds]
<hodapp> but I feel like Open Shading Language is a clusterfuck no matter how you build it
Fare has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @aszlig pushed 2 commits to master: https://git.io/vhgXQ
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
adisbladis has joined #nixos
<hodapp> looks like, if I am reading that issue right, it's unsolved... trying to figure out what the workarounds actually are
<adisbladis> jbboehr: I wanted to ask you something about https://github.com/adisbladis/pnpm2nix/issues/1
sk8forether has joined #nixos
<adisbladis> Can you run "nix-shell -p nix-info --run 'nix-info --host-os'" and paste me the output?
jbboehr has quit [Quit: Quit]
jbboehr has joined #nixos
<jbboehr> adisbladis: system: "x86_64-linux", host os: Linux 4.14.43, NixOS, 18.03.132500.2f6440eb09b (Impala), multi-user?: yes, version: nix-env (Nix) 2.0.2, channels(rin): "", channels(root): "nixos-18.03.132500.2f6440eb09b", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
sbdchd has joined #nixos
fendor has joined #nixos
Izorkin has joined #nixos
MichaelRaskin has joined #nixos
<jbboehr> adisbladis: looks like it fixed it for my reduced case, but not for my real project
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
<adisbladis> jbboehr: So you're still having issues in a private project?
<jbboehr> adisbladis: yeah, I'll send a more complete example on the github issue
<adisbladis> Cool, thanks :)
<jbboehr> adisbladis: Thanks for taking a look! node2nix works perfectly, but it takes forever to unpack everything each build :S
atu has quit [Ping timeout: 245 seconds]
Mrmaxmeier has quit [Quit: ZNC 1.7.0 - https://znc.in]
atu has joined #nixos
halfbit has joined #nixos
reinzelmann has quit [Quit: Leaving]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9b3c53e0f71 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
grumble has quit [Remote host closed the connection]
matthewbauer has quit [Remote host closed the connection]
xy2_ has joined #nixos
owickstrom has joined #nixos
ThatPako has joined #nixos
<ThatPako> has anyone got stepmania running on nixos?
<ThatPako> if I install the package from nixpkgs and try to run `stepmania` it crashes complaining about some folders missing
<ThatPako> which, I believe, have to be next to the binary
grumble has joined #nixos
<hodapp> hmm, could you pastebin the error?
<ThatPako> I hope a gist is okay too: https://gist.github.com/e19de8f057bd44ccbbfa9fa22f67ed34
i0-dfn has joined #nixos
<hodapp> yeah, I just meant pastebin very generically :)
<ldlework> stepmania
<ldlework> now that is a name I have not heard in a long time
<hodapp> I used to play PyDance back when it was PyDDR.
orivej has joined #nixos
<ThatPako> I usually play osu but that only runs through wine while stepmania is native :^)
<hodapp> can stepmania read data from DDR?
unacceptable has quit [Ping timeout: 276 seconds]
<hodapp> so, it's strange that missing files would cause a segmentation fault
<ThatPako> I'm just as stumped as you are.
<hodapp> I have to wonder if that's the actual problem, or just *a* problem
<ThatPako> I assume that it has something to do with the game expecting the Data and Save folder next to the binary
<adisbladis> jbboehr: Ah.. I had a suspicion this was gonna be the case. It's circular dependencies
<adisbladis> Something which node package managers happily allow :/
<hodapp> but it would seem like it can't be *that* fatal, if it proceeds to try to read the next file
<ThatPako> which is usually the case when just unpacking the game "normally"
<adisbladis> But in nix we get infinite recursion
Fare has joined #nixos
<ThatPako> maybe it tries to read, fails, then tries to use the stuff it couldn't read which reads memory that isn't allocated?
<hodapp> possible I guess
<ThatPako> Anything I could do to fix that other than having all of stepmania's dependencies in my systemPackages and using it as if I were not using nix?
phdoerfler has joined #nixos
<hodapp> does said configuration ship with the distribution that's being built, to where it might just be a matter of hacking the derivation a little to copy it alongside the binary?
phdoerfler has quit [Ping timeout: 256 seconds]
civodul has joined #nixos
<ThatPako> hodapp: it just got weirder. the thing in /bin is just a symlink to the actual binary, which has the Data folder. Inside it is missing some the files though
<ThatPako> so it _does_ ship with _some_ of the stuff needed, but not everything
<ThatPako> neither does the file I could download from their site though
matthewbauer has joined #nixos
sigmundv has joined #nixos
<hodapp> the actual binary has the Data folder? what do you mean?
<ThatPako> the folder that contains the binary, which the file in /bin symlinks to is next to the Data folder
<ThatPako> so the folder itself exists, and also contains some stuff
<ThatPako> but apparently not what the game wants
rprimus has left #nixos [#nixos]
<pie_> so i started trying to poke at haskell again but whenever i try to import anything it does Failed to load interface for ‘Graphics.UI.GLFW’ when i try to import that package
<pie_> similarly for other packages
<pie_> i used nix-shell -p haskellPackages.whatever
unacceptable has joined #nixos
chessai has quit [Remote host closed the connection]
<hodapp> are you running GHC directly from that? or stack or cabal?
<pie_> ghci from that
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<hodapp> if you want to call it directly, rather than via stack or cabal, you may have to follow what's in https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure around 9.5.2.2
jperras has joined #nixos
<hodapp> not sure, I have only used stack --nix and the like
<pie_> ah.
<pie_> thanks
<pie_> ghcwithpackages
<pie_> whoops.
sigmundv has quit [Ping timeout: 240 seconds]
owickstrom has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5c2d2ad432c (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
szicari has quit [Quit: Leaving.]
szicari has joined #nixos
deepfire` has quit [Ping timeout: 264 seconds]
<sphalerite> anybody know if tpflug/gilligan is on IRC?
Izorkin has joined #nixos
<LnL> sometimes
deepfire` has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
vaninwagen has joined #nixos
<ldlework> The displayManager modules don't work like this at all
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vhg99
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #41461 → fix opam tool support → https://git.io/vh8Nt
jperras has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/a381b789984 (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41375 → nixos/programs.mosh: refactor → https://git.io/vhWJV
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vhg9b
aarvar has quit [Ping timeout: 268 seconds]
sbdchd has quit [Ping timeout: 240 seconds]
blankhart has joined #nixos
jperras has quit [Ping timeout: 265 seconds]
samrose has joined #nixos
<samrose> It looks like the build of hydra itself is broken: https://hydra.nixos.org/jobset/hydra/master
ThatPako has quit [Quit: Lost terminal]
<aminechikhaoui> folks what's the deal with the mailutils pkg, seems it fails spuriously in one of the tests
<aminechikhaoui> should the tests be disabled maybe ?
oida has quit [Remote host closed the connection]
pacmeister has joined #nixos
<ldlework> sphalerite: amirite?
<pacmeister> hi, is nixos considering moving to gitlab with the whole microsoft buying github thing?
<ldlework> pacmeister: are there any technical concerns at play?
<sphalerite> pacmeister: https://discourse.nixos.org/t/github-was-purchased-by-microsoft/313/1 there's a discussion about it but ¯\_(ツ)_/¯
<pacmeister> no just politics, just want to know nixos' stance
<sphalerite> ldlework: I'm not sure. I had a brief look when you mentioned it this morning but was moslty just confused by the documentation
<ldlework> sphalerite: a minimum the docs claim that the displayManager modules use this enumeration method
<ldlework> but they all have their own enable option
<ldlework> and no such enumeration support exists on the displayManager module itself
jperras has joined #nixos
szicari has quit [Quit: Leaving.]
aj_ has joined #nixos
<ldlework> I think the most interesting thing in that conversation is the proposal to breakup nixpkgs, rather than any arguments the proponents of migration make.
<gchristensen> pacmeister: https://github.com/NixOS/nixpkgs/issues/41448#issuecomment-394408062 this is pretty much the official stance
<hodapp> ldlework: break up nixpkgs?
<pacmeister> gchristensen: thanks!
<ldlework> hodapp: yeah
<hodapp> breaking it up how?
<ldlework> it is mentioned as an idea in that thread
<ldlework> hodapp: into multiple repos, instead of a monorepo
<hodapp> ahh, okay
<ldlework> packages would be owned by package maintainers instead of the nixos organization
<maurer> Multiple repos are generally a disaster zone without some pretty strict discipline
<maurer> And that many different project owners would _definitely_ be a disaster
npmccallum_ has quit [Quit: npmccallum_]
<ldlework> maurer: it sounds like there are some existing pain points with the monorepo as is
<hodapp> errr, yeah, if it is to be split up per-package that sounds ridiculously unmaintainable
<pacmeister> what about splitting it up using channels?
<{^_^}> github defined
npmccallum_ has joined #nixos
<infinisil> gchristensen: ^^
<gchristensen> cool :)
<ldlework> one of the problems is that if you are the maintainer of package "foo" you don't get notifications when there are bugs opened for that package (or any other package) or you get notifications for everything.
<ldlework> "For example ArchLinux maintains a “core” repository for the base distro and then has individual repos in AUR for all the extra packages. As a package maintainer I am given my own git repo where users can post issues to it.
<ldlework> Debian has a repository with issue tracker for each package. Canoncial built their own solution as well.
<maurer> ldlework: We might be able to fix that by adding it to the issue checklist?
<ldlework> "
<maurer> ldlework: I will also note that the AUR is the biggest security nightmare known to man
<hodapp> if one thing comes out of this in general, I hope it's some sort of way to migrate things that sort of have to live alongside a repo - like PRs and issues and their associated discussion - between different providers
<ldlework> because of this?
<maurer> Yeah
<ldlework> I'm skeptical that nixpkgs monorepo is a source of security
<maurer> basically, AUR is de-facto standard to get a lot of things done in arch
<maurer> so you end up having to turn it on to install many packages
<maurer> once AUR is on, you have to trust on an _ongoing_ basis a huge number of people
<ldlework> same with nixpkgs no?
<maurer> In the PR monorepo model, you trust random people, but only after verification, and only at discrete points
<ldlework> not everyone is reviewing each change to each package
<maurer> Sure, but someone is reviewing each change
<ldlework> so you still are depending on a huge number of disparate eyes
szicari has joined #nixos
szicari has quit [Client Quit]
<MichaelRaskin> A hundred of people with some track record
<gchristensen> and a handful of corporations keeping eyes
<hodapp> if split up per-package would we be expecting that it would typically be via people getting nix derivations pushed upstream to the project in question?
<MichaelRaskin> Big Brother watches you? And subscribes to your repositories?
<maurer> ldlework: Would your notion about package maintainers getting pinged be resolved if we added to the issue checklist "Run nox --get-maintainer packagename, and add @foo to your issue" (after implementing a functionality like that)
__monty__ has quit [Quit: leaving]
<ldlework> I don't know, I'm an utter neophyte and not a maintainer of nixpkgs.
<infinisil> mention-bot was a thing..
<maurer> I don't remember what happened with mention-bot
<ldlework> I'm still hung up on that bit of the docs that seems wrong regarding enumerations lol :D
<maurer> In any case, the tl;dr of my position here is:
<infinisil> ldlework: You can make a PR to fix it :D
<ldlework> I wanna try out the design pattern but I'm suspicious of it given that the actual displayModules don't utilize the method
<ldlework> infinisil: yes, maybe, if someone with authority confirms my suspicions
<maurer> * Each repo you want to add is a trust relationship. If you want to add more than a few to get stuff done, this is going to get vulernable and brittle very quickly
<ldlework> and if the suspicions are confirmed, then well, we need some other example of the enum pattern being used :D
<ldlework> because it really seems like displayManager doesn't
<ldlework> maurer: make it heirarchical
<ldlework> that's how basically all other domains of human activity handle this problem
<maurer> ldlework: So now, in order to facilitate a move to a multirepo environment (which none of the maintainers are asking for), you want to add a management layer to a project already short on manpower
<ldlework> maurer: it is your claim that the management layer is already in place
<maurer> ...
<maurer> I'm done with this.
<ldlework> that you have reliable maintainers who are sufficiently capable of reviewing every package
<ldlework> well, I'm not trying to upset you, sorry.
<ldlework> just doing my best to reason about the problem.
halfbit has quit [Ping timeout: 256 seconds]
<hodapp> from my perspective: anything that makes it more difficult for me to grep -R the entire nixpkgs repository to figure out how to do something because it was never really documented is not something I can get behind presently.
<ldlework> it seems the complaint with separate repos is that you have to trust random package owners and so having a monorepo is better because you trust a known group (to review every single PR). I was simply suggesting that you assign areas of ownership across the package space.
<gchristensen> hodapp++
<{^_^}> hodapp's karma got increased to 2
<hodapp> whoa, how was my karma already 1?
<LnL> no multiple repositories is harder to maintain
<MichaelRaskin> Historical observation: NixOS was a separate repository, then we gave up
<LnL> ^^
<LnL> was just going to give that as an example :)
<hodapp> still a better love story than Twilight?
<gchristensen> I think my karma is negative :$
<ldlework> I'll leave it to the experts. :)
<thekolb> Did /var/setuid-wrappers move?
<infinisil> gchristensen++
<{^_^}> gchristensen's karma got increased to 5
<hodapp> don't we already have areas of ownership across the package space? we do, at least, have maintainers.
<MichaelRaskin> Historical observation number two: NixOS in Subversion was only separate-ish, because SVN is really good with the narrow checkout stuff but in a sense everything is simply versioned at once.
<gchristensen> :o
<LnL> thekolb: 2 releases ago yes
<infinisil> gchristensen: You figured out how to get karma xD
<MichaelRaskin> thekolb: to /run/wrappers/bin I think
<gchristensen> infinisil: do cool stuff?
<hodapp> pay people?
<hodapp> bring cookies?
<MichaelRaskin> MiсhaelRaskin++
<{^_^}> MiсhaelRaskin's karma got increased to 4
<infinisil> gchristensen: Nah, make people wonder what your score is, because the only way to see it is to first increase it
<hodapp> I do owe the channel several batches of cookies at this point.
<ldlework> hodapp: then those same maintainers can be responsible for the same separate area-specific repos
<MichaelRaskin> Cheating is simpler
<thekolb> MichaelRaskin: Thanks! alien high five!
<MichaelRaskin> hodapp: giving people cookies over internet is highly regulated nowadays in EU
<infinisil> ,botsnack
<hodapp> MichaelRaskin: ...I see what you did there
<infinisil> > botsnack
<{^_^}> "Thank you very much."
<maurer> Outside the NixOS sphere, ChromeOS dev started as a bunch of git repos held together by submodule glue
<ldlework> you hide the complexity of having repos for seperate packages, by having trusted maintainers update pinning merges after reviewing related changes in the specific package repo
<maurer> they've since moved to a combination of monorepo and the "repo" tool
<gchristensen> maurer: and have you_SEEN AOSP's `rep....
<samueldr> :/ I need nix 2.0+ to be deployed automatically, with the daemon, on a non-nixos platform
<hodapp> ldlework: considering the number of packages and maintainers we're talking, this doesn't seem a tenable transition
<LnL> thekolb: you might want to reboot if you did an upgrade, otherwise old processes might not work anymore
<gchristensen> samueldr: systemd?
<samueldr> is there a reason, gchristensen, the --daemon script doesn't want to run as root
<samueldr> yes
<aminechikhaoui> is it rude to ping a pkg maintainers on irc for build issues ? :D
<ldlework> so each package maintainer gets its own repo, issues, notifications, etc. when they make a release, a maintainer would review the changes, just like they do now apparently, and move some pin
<maurer> gchristensen: Yeah, AOSP is a mess, but it turns out it's better than full tiny repos :P
<samueldr> it is automated at provisionning, and sudo/non-root would be highly annoying
<hodapp> aminechikhaoui: might just ask here before pinging the maintainer
<thekolb> LnL: no, I am just trying to retrofit a sudo-in-build.nix module from 16.03.
<aminechikhaoui> yeah I asked :)
robstr has quit [Quit: WeeChat 1.9.1]
<ldlework> the individual package mainatiner could even be responsible for making the change to the pin on behalf of the reviewer.
<aminechikhaoui> "folks what's the deal with the mailutils pkg, seems it fails spuriously in one of the tests"
<samueldr> I previously was using the (unsanctioned) 1.11 .deb that hydra built
<LnL> thekolb: ah
<aminechikhaoui> it's probably a known issue but it's causing some random build failures every once in a while
<hodapp> ldlework: that large a number of repos seems basically unmanageable, combined with the fact that there'd have to be some management of specific revisions of every single repo
<aminechikhaoui> so if the test isn't reproducible, seems it would be better to disable tests for the pkg
<LnL> thekolb: was renamed because since 17.09 we also support setcap wrappers
<MichaelRaskin> If the tests are organised sanely, killing just one test should be a simple operation…
<gchristensen> samueldr: I don't know :|
<gchristensen> samueldr: I have terrible hacks we could talk about ....
<samueldr> it all depends on the height of the pile of hacks :)
<LnL> I've also done some weird stuff to install nix :)
<gchristensen> samueldr: very short ...
<samueldr> the .deb was pretty hands-off, which was fun
<samueldr> install .deb, create users and groups, sip from cup, all done :)
<thekolb> so I am one step further, sudo now apparently tries to load libcap-ng.so.0, so I guess I have to try configure it without
* samueldr might have forgotten the systemd services
<samueldr> gchristensen I'm interested, obviously :)
<thekolb> would they call that configure option --without-cap-ng or --without--libcap-ng?
pie_ has quit [Ping timeout: 264 seconds]
<thekolb> hmm no such option...
pacmeister has quit [Quit: WeeChat 2.1]
<thekolb> So this nix expression builds a sudo without pam and makes it available during build (along with /etc/passwd and some other files), while relaxing the sandbox. But this injected sudo barfs because it fails to load libcap-ng, do I no try to make that shared library available in the sanbox too? :/
<{^_^}> [nixpkgs] @flokli opened pull request #41723 → udisks 2.1.6 -> 2.7.6 → https://git.io/vhg5P
pacmeister has joined #nixos
<gchristensen> wow
<gchristensen> what are you doing :o
<thekolb> abusing hydra as a CI server for a network processing framework that needs root (DMA, ...) to run
<thekolb> ask domenkozar
<thekolb> ;-)
<gchristensen> snabb?
<thekolb> yup
<gchristensen> I have a secret hydra for doing dirty things too. definitely abuse :)
<thekolb> all hail hydra
<infinisil> A network processing framework that needs root??? WHY
<LnL> better question is why not
<thekolb> or how not^^
<thekolb> infinisil: you need to talk to the hardware somehow
i-am-the-slime has joined #nixos
adisbladis has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<infinisil> Linux can make any user talk to the hardware without requiring root
<thekolb> infinisil: linux is root ;-)
<infinisil> Is there seriously something in snabb that requires root or is it just shitty programming?
<infinisil> Oh I guess there are these setuid binaries that need root..
<infinisil> Right, iftop needs root too
<gchristensen> I mean "can compromise all the networking everything" should probably require root
<infinisil> By default at least, maybe you could give your user certain permissions to not require root though
<thekolb> infinisil: Snabb implements its own hardware drivers, its direct DMA
<infinisil> Ah alright, fair enough
<infinisil> Okay, but why run that in a nix build?
<infinisil> Oh, to test it?
fendor_ has joined #nixos
bennofs has joined #nixos
fendor has quit [Ping timeout: 265 seconds]
halfbit has joined #nixos
matthewbauer has quit [Remote host closed the connection]
<Dezgeg> I just added a setuid-root wrapper executable inside the nix sandbox via the impure paths mechanism to do root-only stuff
<gchristensen> I'd love to hear about all the dirty things people do with Nix =)
<samueldr> there are things that would definitely be NSFW
<gchristensen> samueldr: like the chrome thing is def. nsfw
matthewbauer has joined #nixos
foldingcookie has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41679 → libvirt: 4.1.0 -> 4.4.0 → https://git.io/vhgeu
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vhgFB
matthewbauer has quit [Remote host closed the connection]
sigmundv has joined #nixos
sigmundv has quit [Ping timeout: 256 seconds]
<thoughtpolice> domenkozar: Think I already might have a use case for Cachix, tbh
<thoughtpolice> When can I pay you money to make sure it stays around :P
johnw has joined #nixos
woodson_ has quit [Remote host closed the connection]
i-am-the-slime has quit [Quit: Konversation terminated!]
pie_ has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #41724 → haskellPackages.hnix: dont jailbreak → https://git.io/vhgbF
blankhart has quit [Ping timeout: 264 seconds]
tzemanovic has joined #nixos
freeman42x[nix] has joined #nixos
vaninwagen has quit [Quit: WeeChat 2.1]
tzemanovic has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #41466 → Haproxy 1.8.9 → https://git.io/vh8hu
<{^_^}> [nixpkgs] @andir pushed 5 commits to master: https://git.io/vhgAJ
freeman42x]NixOS has joined #nixos
inquisitiv3 has quit [Ping timeout: 248 seconds]
Anthony_Bourdain has joined #nixos
fendor_ has quit [Ping timeout: 256 seconds]
toonn has joined #nixos
<toonn> Hmm, trying to install ghcWithHoogle with dhall-text which fails because of the missing dependency dhall >=1.14.0 && <1.15... Would jailbreaking work? (Took hourse to get this far so trial and error doesn't seem like a great idea.)
hiratara has quit [Ping timeout: 245 seconds]
MP2E has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #41709 → 18.03-cups-not-found - "error: cannot download cups-2.2.6-source.tar.… → https://git.io/vhgRT
hiratara has joined #nixos
saep has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #41725 → perlPackages.DBDSQLite: 1.55_07 -> 1.58 (please ignore it) → https://git.io/vhgxc
<{^_^}> [nixpkgs] @andir merged pull request #41465 → 18.03/haproxy 1.8.9 → https://git.io/vh8hE
<{^_^}> [nixpkgs] @andir pushed 5 commits to release-18.03: https://git.io/vhgxV
myshoe has quit [Quit: Lost terminal]
schoppenhauer has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #41707 → cups-not-found - "error: cannot download cups-2.2.6-source.tar.gz fro… → https://git.io/vhgBb
alexteves_ has quit [Ping timeout: 256 seconds]
chessai has joined #nixos
NightTrain has joined #nixos
<{^_^}> [nixpkgs] @volth closed pull request #41692 → perlPackages.DBDSQLite: 1.55_07 -> 1.58 → https://git.io/vhgO0
<ldlework> Does anyone want to give me an example of adding an activation script that simply copies a directory next to the nix-expression to a directory like /home/ldlework?
<ldlework> or /etc/somewhere/else
pacmeister has quit [Ping timeout: 256 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
goibhniu has quit [Ping timeout: 264 seconds]
toonn has quit [Quit: leaving]
Mr_Keyser_Soze has quit [Ping timeout: 248 seconds]
__monty__ has joined #nixos
sbdchd has joined #nixos
<ldlework> If you make option.foo.bar = mkEnableOption, can you also option.foo = mkEnableOption?
<ldlework> I guess I'll just hope the answer is yes for now
sbdchd has quit [Ping timeout: 276 seconds]
<hodapp> https://github.com/NixOS/nixpkgs/issues/29877 anyone have any creative solutions to work around this? Open Shading Language seems to require clang, and not sure if it also requires gcc but the CMake build tries to use g++
softinio has quit [Quit: Connection closed for inactivity]
nico202 has quit [Ping timeout: 264 seconds]
<hodapp> the shellHook trick didn't seem to do anything
npmccallum_ has quit [Quit: npmccallum_]
<infinisil> Hmm, why would one prefer `abort` over `throw`?
<infinisil> You can't catch aborts, but you can throws
<LnL> abort should only be used in fatal cases, things like the hydra evaluator will just stop
<{^_^}> [nixpkgs] @xeji merged pull request #41725 → perlPackages.DBDSQLite: 1.55_07 -> 1.58 → https://git.io/vhgxc
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vhghf
<infinisil> LnL: Why can't throw be used for that?
<ldlework> :(
johnw has quit [Ping timeout: 248 seconds]
<infinisil> It seems that throw allows the calling party to decide whether to catch the error or not
<hodapp> orrrr... what are the chances that I could make this build use *just* clang, and leave gcc out?
<LnL> sometimes you might not want evaluation to continue
<infinisil> Without using tryEval throw will abort just like abort
pacmeister has joined #nixos
<LnL> best example I can think of is import <nixpkgs> { system = "makesnosense"; }
<infinisil> Yeah, but throw will work too
<ldlework> Do you guys know if there is a "option.foo.bar" option, can you make a "option.foo" option?
<infinisil> You won't get any value anyways in he end, so why not make it catchable
<ldlework> I'm thinking of making it so like, if you enable option.foo, then option.foo.* gets enabled
<hodapp> huh. I'm guessing that by the cryptic error CMake gave me when I tried 'clangStdenv', the answer is "not good"
<{^_^}> [nixpkgs] @xeji merged pull request #41501 → xpra: 2.3 -> 2.3.1 → https://git.io/vhR3R
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « xpra: 2.3 -> 2.3.1 (#41501) »: https://git.io/vhghW
za1b1tsu has joined #nixos
<ldlework> or can nested options only be used for namespacing
chessai has quit [Remote host closed the connection]
<infinisil> LnL: I'll replace this with throw as soon as im at my machine, I don't think there will be a problem with it
za1b1tsu has quit [Quit: WeeChat 2.1]
<LnL> catching throw would result in potential syntax errors
<LnL> you want to explicitly bail out in this case
<infinisil> How?
<{^_^}> [nixpkgs] @xeji merged pull request #41500 → urh: 2.0.4 -> 2.1.0 → https://git.io/vhROl
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « urh: 2.0.4 -> 2.1.0 (#41500) »: https://git.io/vhghR
hiratara has quit [Quit: ZNC - http://znc.in]
<infinisil> I don't think nix can even start evaluating syntactically invalid files
<LnL> but this should probably be throw for example https://github.com/NixOS/nixpkgs/blob/master/lib/generators.nix#L176
<hodapp> "llvm_ops.cpp:101:10: fatal error: 'iostream' file not found" okay I should just take my hint on this issue and give up
hiratara has joined #nixos
<hodapp> unless there's someplace I can stick clang-specific flags
<LnL> something like CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11";
<infinisil> LnL: Can you show me something concretely that has a *need* for abort? The throw in nixpkgs/default.nix works just fine
<hodapp> LnL: but it has to coexist with gcc
<infinisil> At some point at least gchristensen was also not sure of throw vs abort: https://github.com/NixOS/nixpkgs/pull/32365#pullrequestreview-81378033
<{^_^}> [nixpkgs] @xeji merged pull request #41412 → nixos/sslh: support transparent proxying → https://git.io/vhlkr
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « nixos/sslh: add transparent proxying support (#41412) »: https://git.io/vhgjk
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5c2d2ad432c (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<hodapp> so I tried both llvmPackages.clang-unwrapped and llvmPackages.libcxxClang
bennofs has quit [Quit: WeeChat 2.0]
<hodapp> with the former, clang calls fail because they don't have the required -stdlib=libc++, and with the latter calls to g++ fail because -stdlib=libc++ is passed in
<{^_^}> [nixpkgs] @xeji merged pull request #41526 → qsampler: 0.5.0 -> 0.5.1 → https://git.io/vhRox
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « qsampler: 0.5.0 -> 0.5.1 (#41526) »: https://git.io/vhgjs
<{^_^}> [nixpkgs] @xeji merged pull request #41534 → mopidy-iris: 3.18.0 -> 3.20.0 → https://git.io/vhRXN
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mopidy-iris: 3.18.0 -> 3.20.0 (#41534) »: https://git.io/vhgjW
<{^_^}> [nixpkgs] @xeji merged pull request #41533 → altcoins.parity-ui: 0.2.1 -> 0.2.5 → https://git.io/vhR6D
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « altcoins.parity-ui: 0.2.1 -> 0.2.5 (#41533) »: https://git.io/vhgju
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « powerstat: 0.02.16 -> 0.02.17 (#41531) »: https://git.io/vhgja
<{^_^}> [nixpkgs] @xeji merged pull request #41531 → powerstat: 0.02.16 -> 0.02.17 → https://git.io/vhR60
<{^_^}> [nixpkgs] @xeji merged pull request #41528 → pstoedit: 3.71 -> 3.73 → https://git.io/vhRKS
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pstoedit: 3.71 -> 3.73 (#41528) »: https://git.io/vhgj6
<hodapp> not sure what else to try, except somehow hacking up the wrapped version of clang to have special options or something
<{^_^}> [nixpkgs] @Gerschtli opened pull request #41726 → dwm-status: init at 0.4.0 → https://git.io/vhgjy
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/951d3cc4b90 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @xeji merged pull request #41509 → nixos/munge: run munge as user munge instead of root. → https://git.io/vhRnt
<{^_^}> [nixpkgs] @xeji pushed commit from @markuskowa to master « nixos/munge: run munge as user munge instead of root. (#41509) »: https://git.io/vhgj5
<{^_^}> [nixpkgs] @xeji merged pull request #41541 → mate.mate-themes: 3.22.16 -> 3.22.17 → https://git.io/vhRyn
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-themes: 3.22.16 -> 3.22.17 (#41541) »: https://git.io/vhgjN
<{^_^}> [nixpkgs] @xeji merged pull request #41546 → mate.mate-applets: 1.20.1 -> 1.20.2 → https://git.io/vhR92
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-applets: 1.20.1 -> 1.20.2 (#41546) »: https://git.io/vhgjh
<{^_^}> [nixpkgs] @andir opened pull request #41727 → memcached: 1.5.5 -> 1.5.8 → https://git.io/vh2eL
<{^_^}> [nixpkgs] @xeji merged pull request #41547 → libpqxx: 6.2.3 -> 6.2.4 → https://git.io/vhRHI
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libpqxx: 6.2.3 -> 6.2.4 (#41547) »: https://git.io/vh2eG
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @xeji merged pull request #41536 → ne: 3.0.1 -> 3.1.1 → https://git.io/vhRM4
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « ne: 3.0.1 -> 3.1.1 (#41536) »: https://git.io/vh2ec
xy2_ has quit [Ping timeout: 256 seconds]
<andi-> Is anyone actually reading any/many of those changelogs of the bumped packages? How do we know if things change despite compiling just fine?
* andi- has a bad feeling about that..
<{^_^}> [nixos-hardware] @michaelpj opened pull request #61 → Add a basic t480s profile → https://git.io/vh2ez
sanscoeur has quit [Ping timeout: 240 seconds]
* hodapp gives up
Izorkin_ has joined #nixos
<{^_^}> [nixos-hardware] @yegortimoshenko merged pull request #61 → Add a basic t480s profile → https://git.io/vh2ez
<{^_^}> [nixos-hardware] @yegortimoshenko pushed 3 commits to master: https://git.io/vh2eX
pacmeister has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41567 → focuswriter: 1.6.12 -> 1.6.13 → https://git.io/vh0I9
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « focuswriter: 1.6.12 -> 1.6.13 (#41567) »: https://git.io/vh2eM
Izorkin has quit [Ping timeout: 276 seconds]
sbdchd has joined #nixos
johnw has joined #nixos
qewzee has joined #nixos
aj_ has quit [Ping timeout: 260 seconds]
<infinisil> Damnit, I just tried to do something for like an hour, but am now realizing that it's not possible to do what I want
<infinisil> Has to do with Nix errors, throws, and such
<ldlework> figuring out how to organize my nixos configuration is sooo hard
<ldlework> it makes me dizzy
<hodapp> ehh, I'm just stuck trying to build Open Shading Language still and finding it to be impossible due to USE_LIBCPLUSPLUS
<hodapp> I guess I could try to build it in Docker or something... I don't know
<infinisil> My objective was to write a function getSrcs, which you can pass pkgs, and it will return all urls of all derivations that get used as a source in nixpkgs
<{^_^}> [nixpkgs] @florianjacob opened pull request #41728 → matrix-synapse: 0.30.0 -> 0.31.1 → https://git.io/vh2vC
pie_ has quit [Ping timeout: 256 seconds]
<infinisil> This requires error handling of all sorts, because as soon as the first error occurs the evaluation would stop
<infinisil> But you can *only* catch throws and aborts
<infinisil> Stuff like `x.y` will throw an uncatchable error when x doesn't have y as an attribute
<infinisil> > tryEval {}.y
<{^_^}> undefined variable 'tryEval' at (string):43:1
tusj has quit [Read error: Connection reset by peer]
<infinisil> > builtins.tryEval {}.y
<{^_^}> attribute 'y' missing, at (string):43:18
<infinisil> Can't catch that
lnikkila has quit [Ping timeout: 265 seconds]
<infinisil> And that's the problem. While you can catch your own uses of attributes by doing `(tryEval x).success && x ? y && (tryEval x.y).success`. It would take a lot of work to do that for all the code in nixpkgs
<infinisil> I wish that was catchable as well..
<thekolb> So I am using security.wrappers.*.user = "root"; but it doesn’t change the owner of the resulting binary? :O
<thekolb> mhm I am doing something wrong
<florianjacob> grahamc: do I need to be a known / trusted user of grahamcofborg to be allowed to run the tests through the bot? did not find that in the readme.
<rotaerk> bleh, alsamixer is still muted on boot ... wtf
<samueldr> thekolb: the binary in /nix/store will not be owned by whoever, the wrapper in /run/wrappers
<thekolb> does nix.sandboxPaths change the ownership somehow?
<samueldr> (that I do not know)
<{^_^}> [nixpkgs] @xeji merged pull request #41625 → phpPackages.phpc(s|bf): 3.2.3 -> 3.3.0 → https://git.io/vhEjm
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vh2fq
<{^_^}> [nixpkgs] @xeji merged pull request #41591 → ocamlPackages: use opaline instead of opam-installer → https://git.io/vh0iE
<{^_^}> [nixpkgs] @xeji pushed 17 commits to master: https://git.io/vh2f3
<{^_^}> [nixpkgs] @xeji pushed commit from @fuzzy-id to master « jenkins: 2.89.4 -> 2.107.3 (#41618) »: https://git.io/vh2fG
<{^_^}> [nixpkgs] @xeji merged pull request #41618 → jenkins: 2.89.4 -> 2.107.3 → https://git.io/vhEi1
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8b95e263c6d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @xeji merged pull request #41727 → memcached: 1.5.5 -> 1.5.8 → https://git.io/vh2eL
<{^_^}> [nixpkgs] @xeji pushed commit from @andir to release-18.03 « memcached: 1.5.5 -> 1.5.8 (#41727) »: https://git.io/vh2f4
<endformationage> How does one normally go about testing packages with modules? I wish to use an updated package in my local nixpkgs repo with a service module.
<thekolb> Hmm, I’m out of idea... anyone got an idea of how to get a working sudo inside nix builds on nixos 18.03?
<clever> thekolb: sudo should never work inside a nix build
<thekolb> clever: yeah I kow, we had a hack that worked with 16.03 though... need that back :}
<clever> thekolb: what was the hack?
<clever> thekolb: and why do you need sudo?
ericsagn1 has joined #nixos
<thekolb> clever: to run tests/benchmarks that involve DMA on hardware
<clever> thekolb: run `type sudo`, note that sudo is in a different directory now
<thekolb> clever: yeah I am past that
<clever> i cant think of anything else that would have changed to break it
<thekolb> https://gist.github.com/eugeneia/6169ee084e0dd9c2a22d33e8c7a10203 <- this is my updated version but it doesn’t work
<thekolb> well first the wrapper now looks for libcap-ng and libcap, and last I end up with sudo-chroot: /nix/store/3xsjm8rfpy0ysfjs1pcybj33fsigszgp-wrapper.c:203: main: Assertion `!(st.st_mode & S_ISUID) || (st.st_uid == geteuid())' failed.
<clever> ah, no, thats different
tzemanovic has joined #nixos
<clever> thekolb: you need to set allow-new-privileges = true in your nix config
smallville7123 has joined #nixos
steell has joined #nixos
simukis has quit [Ping timeout: 260 seconds]
* clever heads to bed
sk8forether has quit [Quit: Connection closed for inactivity]
<thekolb> clever: thanks! will try that
tzemanovic has quit [Ping timeout: 264 seconds]
<thekolb> clever: what’s the prefix of that option though? oO
thc202 has quit [Ping timeout: 256 seconds]
<thekolb> error: The option `allow-new-privileges' defined in `/etc/nixos/sudo-in-builds.nix' does not exist.
<clever> thekolb: it has to go in nix.conf
<clever> thekolb: which is done via nix.extraOptions
palo has quit [Ping timeout: 245 seconds]
palo has joined #nixos
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
<thekolb> hmm that doesn’t seem to work
ZaraChimera has left #nixos ["Herding cats."]
<thekolb> still the same error, which afaict is because the setuid wrapper is owned by nobody:nogroup while it expects to be root:root
<thekolb> clever: thanks anyways! and good night :-)