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
<kreisys> wonder why it's failing for you and not for me?
<clever> i have sandboxing enabled
<kreisys> I'm on darwin but that shouldn't matter...
<clever> which forces you to declare inputs properly
<kreisys> oh could be that
<clever> so mine fails the moment it does something bad
<clever> while yours just keeps going
<kreisys> what's the bad thing I'm doing there?
<clever> you somehow lost the context on those tar files
<kreisys> are you on darwin or nixos?
<clever> so nix doesnt think you depend on them
<clever> nixos
<kreisys> oh I don't want the tarfiles to be runtime dependencies obviously
<kreisys> and I think we established that it loses the context whenever I serialize it to json
<clever> ntar xf /nix/store/9pawlbxkvpb4wjibvbjv6vm6z87pnlzn-node-cli-cursor-2.1.0.tgz
<clever> this is inside the buildCommand
<kreisys> which I do a few times there
<clever> so you passed it a string in buildCommand, that lacked context
<clever> so nix doesnt give you the tar in the sandbox
<kreisys> Ok it's becoming clear to me that it's gonna be a back to the drawing board situation :P
<clever> ../../voodoo.nix: tar xf ${attrs.npmPackage} --warning=no-unknown-keyword --directory=$moduleDir --strip-components=1
<kreisys> I thought I could get away with serial(ization) abuse
<clever> so the problem is with mkUntarPackageScriptlet maybe
<clever> the values given to it lack context
tertle||eltret has joined #nixos
telent has quit [Ping timeout: 240 seconds]
dan_b has quit [Ping timeout: 240 seconds]
<kreisys> voodoo.nix is the most complex file there
<{^_^}> [cabal2nix] @ryantm closed pull request #345 → WIP: CC0-1.0 is now a known license → https://git.io/vxQNG
<kreisys> I'm basically stealing the way pnpm constructs the node_modules directory
<{^_^}> [nix-pills] @dudebout opened pull request #58 → fix last pp-aterm instance → https://git.io/vx7kQ
<clever> dependenciesFor maybe
<kreisys> dependenciesFor takes a package name/version and the full context and returns only the dependencies for the given package
<kreisys> this is for dependencies that require compilation
<clever> where does it get the full context from?
<kreisys> the original full context is derived from the root package package.json and its npm-shrinkwrap.json
<kreisys> the idea is that only the root package has references to all its dependencies
seafood has quit [Quit: seafood]
<kreisys> so all the dependencies remain "neutral"
<kreisys> which allows maximum reuse
<kreisys> that was the idea at least
<clever> your somehow loosing the nix context along the way
<clever> so i need to see how the data got from the fetchurl to the mkUntarPackageScriptlet
<kreisys> and it's not because I serialize everything to json?
m3lt has quit [Ping timeout: 240 seconds]
<clever> not sure yet
<clever> need to check each step
<kreisys> default.nix shows you the "conceptual" process
<kreisys> maybe it's time I renamed everything to what it actually does
<kreisys> lemme add a few comments to default.nix
Guanin has quit [Remote host closed the connection]
<clever> magic.nix: context = importJSON contextJson;
<clever> witchcraft.nix: context = importJSON contextJson;
<clever> kreisys: i have a feeling these are the problem
<clever> kreisys: fromJSON looses context, so you must pass that json into the derivation, and parse it at build-time
<clever> using maybe jq
<kreisys> clever: the only reason I'm serializing is to force all the derivations to be realized when I want them to
<kreisys> is there any other way to do that?
<clever> not that i know of
<kreisys> like I want to first fetch all the tarballs and extract them. then and only then continue
<kreisys> that's because I need to import the package.jsons from all the dependencies to find peerdependencies, bins and such
<clever> if you do things properly, nix will always build the thing before you can use it
<clever> and things will never not be built yet
<kreisys> yeah but if I try to import a file from a derivation the derivation will be built at eval time
<kreisys> which is bad
<clever> then dont import it, but just pass its output path as a normal input
<kreisys> that was my previous blocker
<clever> and parse the result at build-time
<kreisys> mmm... that would mean scrapping lots of code and rewriting it in a different language
<kreisys> maybe I can use nix during the build?
<kreisys> or is that to meta?
<kreisys> *tt
<kreisys> *too
<clever> recursive nix currently isnt an option
sehqlr has quit [Ping timeout: 245 seconds]
ndrei has quit [Remote host closed the connection]
<kreisys> If I didn't need to import the package.json files I wouldn't need all this serialization nonsense
<kreisys> I wonder if I can just prefetch all of them at eval time with builtins.fetch*
shiver32 is now known as shiver
Tobba has quit [Ping timeout: 256 seconds]
ndrei has joined #nixos
<clever> as long as you pass a sha256 to the fetch functions, that might work
freeman42]NixOS has joined #nixos
logzet has joined #nixos
logzet_ has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0288f77c300 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @andrewchambers opened pull request #38625 → peg: 0.1.4 -> 0.1.18 → https://git.io/vx7I8
matklad has quit [Remote host closed the connection]
freeman42x]NixOS has quit [Ping timeout: 268 seconds]
freeman42]NixOS has quit [Ping timeout: 265 seconds]
<achambe> Is there a way we can mirror tarballs.nixos.org ?
<achambe> and is there any info about how it gets populated?
ndrei has quit [Ping timeout: 265 seconds]
<tnks> the cudatoolkit package goes out of it's way to put one of the shared library in a separate output directory... but it's just 1MB out of 2GB of stuff.
day|flip has joined #nixos
nD5Xjz has joined #nixos
<clever> tnks: that can help if the derivation is in the binary cache, and you only want to link to the library
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tnks> clever: wait... sorry it makes sense if someone wants to link to only it... I'm being silly.
<tnks> one of these Makefiles is being really clever and finding a root path, which is getting broken, because the libraries are in two places... the larger 2GB set and the smaller one forked off.
lopsided98_ has joined #nixos
lopsided98 has quit [Ping timeout: 260 seconds]
jackdk has joined #nixos
<{^_^}> [nix-pills] @Ericson2314 merged pull request #58 → fix last pp-aterm instance → https://git.io/vx7kQ
<{^_^}> [nix-pills] @Ericson2314 pushed commit from @dudebout to master « fix last pp-aterm instance »: https://git.io/vx7Ix
sehqlr has joined #nixos
markus1199 has joined #nixos
jperras has joined #nixos
markus1189 has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/06ba591a851 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
jperras has quit [Ping timeout: 265 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm has joined #nixos
Supersonic112 is now known as Supersonic
tomberek has quit [Ping timeout: 260 seconds]
<samueldr> [time-appropriate greetings] I think I may need some guidance to integrate something with the nixos-homepage build
ruhatch has quit [Quit: Connection closed for inactivity]
<samueldr> hmm, I'll come back to this later, sorry to disrupt the conversation ;)
sehqlr has quit [Ping timeout: 264 seconds]
<day|flip> anyknow why adding xorg config leads to video driver not working at boot? did something change. cuz these two config don't work for me. https://hastebin.com/jekumokome.vbs
<tnks> although I've done a fair share of building with Nix, I'm still not in the habit of doing builds in nix-shell... but I've actually got a super long build in front of me now, and thinking I should get with the program.
<tnks> so I did a "nix-build -K" to get the tmp directory with the build in the right shape.
<tnks> and I can nix-shell the derivation that failed to build.
<tnks> but I get a touch lost at all the phases I need to run in the shell to reproduce a proper build.
<tnks> does anyone here have a recommended set?
xcmw has joined #nixos
<vaibhavsagar> tnks: I think you're supposed to be able to source the environment variables from a file
<tnks> vaibhavsagar: oh yeah, I do see that environment variables file.
<vaibhavsagar> but that's almost never worked for me in practice :)
<tnks> wat? that makes me sad.
<vaibhavsagar> I mean, it does have the environment variables
<tnks> I suppose it's fine, though. I get the environment variables from a nix-shell too, right?
<tnks> and I can go all --pure to be more careful.
<tnks> mostly I avoid this because I'm unsure about phases.
hamishmack has quit [Quit: hamishmack]
<tnks> I wish there was just one function I could call to run everything once in a nix-shell.
hamishmack has joined #nixos
<vaibhavsagar> tnks: nix-shell is supposed to give you a build environment with dependencies
<tnks> I suppose somethings are not idempotent, though.
<tnks> vaibhavsagar: yeah, but I'd hope the environment variables in the -K dump have those dependencies too, right?
<vaibhavsagar> yes
logzet has quit [Remote host closed the connection]
<{^_^}> [nix-pills] @dudebout opened pull request #59 → fix rename mistake in 02de506 → https://git.io/vx7tf
ericsagnes has joined #nixos
Guest29 has joined #nixos
<{^_^}> [nix] @andrew-d opened pull request #2059 → Fix missing $DESTDIR when installing programs → https://git.io/vx7tq
<Guest29> Anyone use Wireguard? I've followed the Nixos Wiki, but cannot seem to get it working for the life of me.
sigmundv__ has quit [Ping timeout: 255 seconds]
<{^_^}> [nix-pills] @dudebout opened pull request #60 → fix import issues in pill 20 → https://git.io/vx7t8
<{^_^}> [nixpkgs] @martinetd opened pull request #38626 → linux kernel generic: use passAsFile for kernelConfig → https://git.io/vx7t2
<gchristensen> cool PR
<gchristensen> I think passAsFile is likely way underused
<tnks> as nixpkgs gets larger and larger, what's the likelihood of it being split up?
<tnks> something about this model feels untenable.
<gchristensen> not unlikely
<tnks> how active are discussions about it?
<gchristensen> but it is critical the solution for that be easy to use, pleasant, and composable.
<gchristensen> not very
<gchristensen> its worked okay for ~15yrs. it'd be good to think of improvements, but it isn't the top of anyone's mind afaict right now
<tnks> holy shit... that long... I didn't realize.
<Dezgeg> wasn't nixos a separate repo at some point though, but got merged in
<gchristensen> yeah, it was. I think merged because it was too hard to managed separately
<tnks> I'm surprised people can follow the issue tracker at all.
<tnks> so many concerns overloading one system.
<kuri0> what prefix do i have to build packages for nix with ?
<kuri0> is the default /usr ok ?
<gchristensen> tnks: me too ...
<boomshroom> kuri0: Each package gets its own prefix in /nix/store/
<kuri0> boomshroom, yes but in most applications you can change the prefix when doing ./configure or cmake
<gchristensen> set the prefix to $out
<gchristensen> in the nix expression
<kuri0> gchristensen, what about when doing ./config --prefix=???
iqubic has quit [Remote host closed the connection]
<gchristensen> you should probably write a nix expression for it
<boomshroom> kuri0: configurePhase = "./config --prefix=$out";
<kuri0> ok
<boomshroom> kuri0: I take it you haven't used Nix for very long? It's very different from most other systems.
<kuri0> uses it for around 2 days
<gchristensen> kuri0: welcome aboard :)
<kuri0> what would about if i have a proprietory application who's prefix is hardcoded /usr ?
<clever> kuri0: it will need to be patched
<boomshroom> kuri10: Welcome! I hope you'll come to appreciate Nix's strengths in time. It's grown to become not just my favourite package manager, but my favourite build tool.
<achambe> kuri0: there is a wiki article of ways to do it
<kuri0> link ?
<achambe> one sec, trying to find it
<achambe> perhaps some info in there
tomberek has joined #nixos
<achambe> the build-fhs-userenv seems to use a chroot to support some things
<clever> an FHS user env is almost never the answer
markus1189 has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<achambe> sure, i mean if you have a real proprietry application you can test
<achambe> otherwise why worry now?
markus1199 has quit [Ping timeout: 264 seconds]
<kuri0> none of those seems to be applications which have stuff stored in /usr ?
<kuri0> ill try that guide on the debian gimp and see what happens
<boomshroom> kuri0: Is it a precompiled binary that specifically tries to call something in /usr, or does it try to open a dynamic library in /usr, or is it something else?
<kuri0> boomshroom, they have stuff stored in /usr/share/programname/
<achambe> is there some sort of way for github users to signal they are actively working on an issue?
<achambe> it seems really frustrating that I can't see or coordinate with people working blocking issues.
<boomshroom> kuri0: you would likely need to open up the binary and replace instances of /usr with the the store path. patchelf might be able to do that, but I don't know if it works on arbitrary strings.
<boomshroom> achambe: Github has an assignment system, but I don't know how it works.
<kuri0> boomshroom, yes but /usr and the nix prefix are not the same length
<kuri0> i do this for flatpaks (/usr to /app) since its the same length
<kuri0> i think you need LD_PRELOAD library which redirects it to the prefix
<boomshroom> kuri0: I know. Which means you have to completely change the binary. It should be possible if you can update every pointer to things later in the file but difficult. There's a chance that patchelf could do so.
kmicklas has quit [Ping timeout: 265 seconds]
<clever> kuri0: libredirect is the answer
<clever> this example remaps /usr/share/X11/xkb
<kuri0> that seems good
<kuri0> i actually wrote a program to do that same thing around 2 years ago
<clever> i found a bug in libredirect a few months ago, turns out several syscalls like stat() will happily accept a null pointer as a filename
<clever> but libredirect does not!
silver has quit [Read error: Connection reset by peer]
<kuri0> libredirect would be good if it worked on armv8 too
<clever> it should
<clever> i believe it will work on any linux platform
xAFFE has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vx7q9
<{^_^}> → f236c4d3 by R. RyanTM: freetds: 1.00.70 -> 1.00.80
<{^_^}> → 734397af by @peterhoeg: Merge pull request #38561 from r-ryantm/auto-update/freetds
<{^_^}> [nixpkgs] @peterhoeg merged pull request #38561 → freetds: 1.00.70 -> 1.00.80 → https://git.io/vxQve
rev_strangehope has joined #nixos
lopsided98_ is now known as lopsided98
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38081 → todiff: init at 0.4.0 → https://git.io/vxrJT
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7qd
<{^_^}> → cf9e5dd1 by @matthewbauer: Merge pull request #38081 from Ekleog/todiff
<{^_^}> → f582b0d3 by @Ekleog: todiff: init at 0.4.0
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38086 → libmowgli: 0.9.50 -> 2.1.3 → https://git.io/vxrkG
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7qF
<{^_^}> → 09b14764 by @ryantm: libmowgli: 0.9.50 -> 2.1.3
<{^_^}> → fb7f4afb by @matthewbauer: Merge pull request #38086 from ryantm/auto-update/libmowgli
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38155 → renpy: 6.99.14 -> 6.99.14.2 → https://git.io/vxoHs
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7qA
<{^_^}> → 562cc544 by R. RyanTM: renpy: 6.99.14 -> 6.99.14.2
<{^_^}> → a34ca44e by @matthewbauer: Merge pull request #38155 from r-ryantm/auto-update/renpy
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38158 → rocksndiamonds: 4.0.1.3 -> 4.0.1.4 → https://git.io/vxo73
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7qx
<{^_^}> → 0b5256a9 by R. RyanTM: rocksndiamonds: 4.0.1.3 -> 4.0.1.4
<{^_^}> → 17389226 by @matthewbauer: Merge pull request #38158 from r-ryantm/auto-update/rocksndiamonds
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38160 → qtbitcointrader: 1.10.01 -> 1.40.13 → https://git.io/vxod6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7qp
<{^_^}> → 63e0da91 by R. RyanTM: qtbitcointrader: 1.10.01 -> 1.40.13
<{^_^}> → 7a3516b5 by @matthewbauer: Merge pull request #38160 from r-ryantm/auto-update/qtbitcointrader
lopsided98 is now known as lopsided98_
lopsided98_ is now known as lopsided98
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38165 → picard-tools: 2.17.11 -> 2.18.1 → https://git.io/vxoxW
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7qh
<{^_^}> → d5f23bb9 by R. RyanTM: picard-tools: 2.17.11 -> 2.18.1
<{^_^}> → 209dce5a by @matthewbauer: Merge pull request #38165 from r-ryantm/auto-update/picard-tools
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38167 → pgroonga: 2.0.3 -> 2.0.4 → https://git.io/vxopq
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7qj
<{^_^}> → 59010945 by R. RyanTM: pgroonga: 2.0.3 -> 2.0.4
<{^_^}> → 7982b8c8 by @matthewbauer: Merge pull request #38167 from r-ryantm/auto-update/pgroonga
lopsided98 is now known as lopsided
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38169 → pdns-recursor: 4.1.1 -> 4.1.2 → https://git.io/vxop6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7me
<{^_^}> → 22b2b6ad by R. RyanTM: pdns-recursor: 4.1.1 -> 4.1.2
<{^_^}> → a926d980 by @matthewbauer: Merge pull request #38169 from r-ryantm/auto-update/pdns-recursor
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38171 → ocamlPackages.alcotest: 0.8.1 -> 0.8.2 → https://git.io/vxojL
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mv
<{^_^}> → 2ddd5398 by R. RyanTM: ocamlPackages.alcotest: 0.8.1 -> 0.8.2
<{^_^}> → 8f0bd1fb by @matthewbauer: Merge pull request #38171 from r-ryantm/auto-update/ocaml4.05.0-alcotest
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38173 → osinfo-db: 20180311 -> 20180325 → https://git.io/vxojl
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mJ
<{^_^}> → 022b5bf6 by R. RyanTM: osinfo-db: 20180311 -> 20180325
<{^_^}> → 3b9a01ec by @matthewbauer: Merge pull request #38173 from r-ryantm/auto-update/osinfo-db
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38175 → ocamlPackages.ocaml_expat: 1.0.0 -> 1.1.0 → https://git.io/vxoj9
<kuri0> is anyone working on pantheon for nixos ?
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mU
<{^_^}> → a1632f94 by R. RyanTM: ocamlPackages.ocaml_expat: 1.0.0 -> 1.1.0
<{^_^}> → c55d2356 by @matthewbauer: Merge pull request #38175 from r-ryantm/auto-update/ocaml4.05.0-expat
monokrome has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38182 → ocamlPackages.cstruct: 3.0.2 -> 3.1.1 → https://git.io/vxKey
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mT
<{^_^}> → f8bb0982 by @matthewbauer: Merge pull request #38182 from r-ryantm/auto-update/ocaml4.05.0-cstruct
<{^_^}> → eacc74df by R. RyanTM: ocamlPackages.cstruct: 3.0.2 -> 3.1.1
<kuri0> afaik only the terminal is ported
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38183 → ocamlPackages.ssl: 0.5.4 -> 0.5.5 → https://git.io/vxKvI
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mk
<{^_^}> → fc442fef by R. RyanTM: ocamlPackages.ssl: 0.5.4 -> 0.5.5
<{^_^}> → aaae2c1f by @matthewbauer: Merge pull request #38183 from r-ryantm/auto-update/ocaml4.05.0-ssl
<samueldr> ouch, someone's merge-happy
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38184 → ocamlPackages.containers: 1.3 -> 1.4 → https://git.io/vxKvW
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mI
<{^_^}> → c4489fd5 by R. RyanTM: ocamlPackages.containers: 1.3 -> 1.4
<{^_^}> → 61e6b5cd by @matthewbauer: Merge pull request #38184 from r-ryantm/auto-update/ocaml4.05.0-containers
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38185 → ocamlPackages.stdint: 0.3.0 -> 0.5.0 → https://git.io/vxKvQ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mt
<{^_^}> → 676a19ff by R. RyanTM: ocamlPackages.stdint: 0.3.0 -> 0.5.0
<{^_^}> → 31d25252 by @matthewbauer: Merge pull request #38185 from r-ryantm/auto-update/ocaml4.05.0-stdint
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38186 → ocamlPackages.ppx_derivers: 1.0 -> 1.2 → https://git.io/vxKfs
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mq
<{^_^}> → bc5c98fc by R. RyanTM: ocamlPackages.ppx_derivers: 1.0 -> 1.2
<{^_^}> → 06817a80 by @matthewbauer: Merge pull request #38186 from r-ryantm/auto-update/ocaml4.05.0-ppx_derivers
<boomshroom> samueldr: At least it doesn't apear to be a single Cthulhu merge.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38190 → openfst: 1.6.6 -> 1.6.7 → https://git.io/vxKJ7
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7m3
<{^_^}> → dc1b32d0 by R. RyanTM: openfst: 1.6.6 -> 1.6.7
<{^_^}> → 63a064e1 by @matthewbauer: Merge pull request #38190 from r-ryantm/auto-update/openfst
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38188 → ocamlPackages.uchar: 0.0.1 -> 0.0.2 → https://git.io/vxKfh
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mZ
<{^_^}> → 1864eb7a by R. RyanTM: ocamlPackages.uchar: 0.0.1 -> 0.0.2
<{^_^}> → ac162ce0 by @matthewbauer: Merge pull request #38188 from r-ryantm/auto-update/ocaml4.05.0-uchar
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38198 → mate.mate-themes: 3.22.15 -> 3.22.16 → https://git.io/vxKkt
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mn
<{^_^}> → 761e2695 by R. RyanTM: mate.mate-themes: 3.22.15 -> 3.22.16
<{^_^}> → 2037baae by @matthewbauer: Merge pull request #38198 from r-ryantm/auto-update/mate-themes
Kim has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38209 → libsolv: 0.6.33 -> 0.6.34 → https://git.io/vxKmt
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38209 → libsolv: 0.6.33 -> 0.6.34 → https://git.io/vxKmt
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7ml
<{^_^}> → ea18a00a by R. RyanTM: libsolv: 0.6.33 -> 0.6.34
<{^_^}> → f5813d7c by @matthewbauer: Merge pull request #38209 from r-ryantm/auto-update/libsolv
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38205 → languagetool: 4.0 -> 4.1 → https://git.io/vxKtO
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mR
<{^_^}> → 6a71e651 by R. RyanTM: languagetool: 4.0 -> 4.1
<{^_^}> → 519b6970 by @matthewbauer: Merge pull request #38205 from r-ryantm/auto-update/LanguageTool
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38204 → libmediainfo: 18.03 -> 18.03.1 → https://git.io/vxKLM
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7m0
<{^_^}> → a3b98b1c by R. RyanTM: libmediainfo: 18.03 -> 18.03.1
<{^_^}> → 79b637a1 by @matthewbauer: Merge pull request #38204 from r-ryantm/auto-update/libmediainfo
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38201 → memcached: 1.5.6 -> 1.5.7 → https://git.io/vxKIb
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mE
<{^_^}> → 17035bb3 by R. RyanTM: memcached: 1.5.6 -> 1.5.7
<{^_^}> → 3893581d by @matthewbauer: Merge pull request #38201 from r-ryantm/auto-update/memcached
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38200 → matio: 1.5.11 -> 1.5.12 → https://git.io/vxKI2
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mu
<{^_^}> → 84af16a5 by R. RyanTM: matio: 1.5.11 -> 1.5.12
<{^_^}> → 4685d4d1 by @matthewbauer: Merge pull request #38200 from r-ryantm/auto-update/matio
aristid has quit [Ping timeout: 276 seconds]
Kim has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38110 → tahoe-lafs: install documentation, run tests → https://git.io/vxrgO
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vx7mz
<{^_^}> → 7e00b9d6 by @oxij: tahoelafs: rename to `tahoe-lafs`
<{^_^}> → 23a814e1 by @oxij: tahoe-lafs: build HTML and info documentation
<{^_^}> → d0849b6f by @oxij: tahoe-lafs: run tests
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38094 → nixos/network-scripted: print error details → https://git.io/vxrcW
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mg
<{^_^}> → a6c8e488 by @volth: nixos/network-scripted: print error details
<{^_^}> → 9c668717 by @matthewbauer: Merge pull request #38094 from volth/patch-120
<achambe> Where do I find the list of contributers with merge rights?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38074 → mediainfo-gui: 17.12 -> 18.03.1 → https://git.io/vxwj5
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7m2
<{^_^}> → b2f577d0 by @ryantm: mediainfo-gui: 17.12 -> 18.03.1
<{^_^}> → 89bbbf97 by @matthewbauer: Merge pull request #38074 from ryantm/auto-update/mediainfo-gui
monokrome has joined #nixos
<boomshroom> kuri0: From what I can tell, pantheon is just a Gnome session. Gala seems to be the window manager it uses and a derivation shouldn't be too hard for it.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38308 → wine: 3.4 -> 3.5 → https://git.io/vx6Zc
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mK
<{^_^}> → 7e97675f by @ikervagyok: wine: 3.4 -> 3.5
<{^_^}> → e05cd546 by @matthewbauer: Merge pull request #38308 from ikervagyok/wine
jperras has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38225 → click: init at 0.3.1 → https://git.io/vxKG0
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7m6
<{^_^}> → 3fda5528 by @mbode: click: init at 0.3.1
<{^_^}> → 1d951cfa by @matthewbauer: Merge pull request #38225 from mbode/click_0_3_1
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38223 → jackett: 0.8.716 -> 0.8.823 → https://git.io/vxKsz
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mP
<{^_^}> → 17e84dce by R. RyanTM: jackett: 0.8.716 -> 0.8.823
<{^_^}> → b6d32f47 by @matthewbauer: Merge pull request #38223 from r-ryantm/auto-update/jackett
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38214 → libsass: 3.5.1 -> 3.5.2 → https://git.io/vxKY5
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mX
<{^_^}> → 8faf41fe by R. RyanTM: libsass: 3.5.1 -> 3.5.2
<{^_^}> → bec0a905 by @matthewbauer: Merge pull request #38214 from r-ryantm/auto-update/libsass
<day|flip> anyone know how I can change a url to a packages??
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38239 → freeswitch: 1.6.19 -> 1.6.20 → https://git.io/vxKlN
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7m1
<{^_^}> → 34aad990 by R. RyanTM: freeswitch: 1.6.19 -> 1.6.20
<{^_^}> → 13fe3dc2 by @matthewbauer: Merge pull request #38239 from r-ryantm/auto-update/freeswitch
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38244 → closurecompiler: 20180204 -> 20180319 → https://git.io/vxKB2
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mD
<{^_^}> → a8cceae6 by R. RyanTM: closurecompiler: 20180204 -> 20180319
<{^_^}> → bdb46302 by @matthewbauer: Merge pull request #38244 from r-ryantm/auto-update/closure-compiler
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38248 → easyloggingpp: 9.96.1 -> 9.96.2 → https://git.io/vxK0H
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7my
<{^_^}> → 75d80d6c by R. RyanTM: easyloggingpp: 9.96.1 -> 9.96.2
<{^_^}> → 44c3e749 by @matthewbauer: Merge pull request #38248 from r-ryantm/auto-update/easyloggingpp
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38250 → electrum-ltc: 3.0.6.2 -> 3.1.2.1 → https://git.io/vxKEb
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mS
<{^_^}> → 3e599e33 by R. RyanTM: electrum-ltc: 3.0.6.2 -> 3.1.2.1
<{^_^}> → 4e729301 by @matthewbauer: Merge pull request #38250 from r-ryantm/auto-update/electrum-ltc
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38267 → chromedriver: 2.36 -> 2.37 → https://git.io/vxKif
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7m7
<{^_^}> → 083eb539 by R. RyanTM: chromedriver: 2.36 -> 2.37
<{^_^}> → ad563d7f by @matthewbauer: Merge pull request #38267 from r-ryantm/auto-update/chromedriver
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38273 → clojure: 1.9.0.329 -> 1.9.0.358 → https://git.io/vxKXE
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7md
<{^_^}> → 786b5bb8 by @jlesquembre: clojure: 1.9.0.329 -> 1.9.0.358
<{^_^}> → eeece37e by @matthewbauer: Merge pull request #38273 from jlesquembre/clj
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38319 → ocamlPackages.ocamlnet: fix build with OCaml 4.06 → https://git.io/vx6is
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mb
<{^_^}> → 32cdc796 by @vbgl: ocamlPackages.ocamlnet: fix build with OCaml 4.06
<{^_^}> → 4f8e60f6 by @matthewbauer: Merge pull request #38319 from vbgl/ocamlnet-4.06
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38234 → icoutils: 0.32.2 -> 0.32.3 → https://git.io/vxKn7
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mN
<{^_^}> → dc27c397 by R. RyanTM: icoutils: 0.32.2 -> 0.32.3
<{^_^}> → e349272b by @matthewbauer: Merge pull request #38234 from r-ryantm/auto-update/icoutils
jperras has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38418 → scheherazade: init at 2.100 → https://git.io/vx1Wa
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7mj
<{^_^}> → 491bac13 by @jbaum98: scheherazade: init at 2.100
<{^_^}> → 43ee8923 by @matthewbauer: Merge pull request #38418 from jbaum98/scheherazade
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38437 → k3b: fix build inputs and library/binary paths → https://git.io/vxMrw
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7Ye
<{^_^}> → ccbf3c89 by @jluttine: k3b: fix build inputs, library path and binary path
<{^_^}> → d6ce4855 by @matthewbauer: Merge pull request #38437 from jluttine/fix-k3b-libpath
<boomshroom> day|flip: You mean the source url? pkg.overrideAttrs (old: { src = newSource; }
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38524 → lxc: 2.1.1 -> 3.0.0 → https://git.io/vxHvp
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7Yv
<{^_^}> → 33fdfac2 by R. RyanTM: lxc: 2.1.1 -> 3.0.0
<{^_^}> → def275ac by @matthewbauer: Merge pull request #38524 from r-ryantm/auto-update/lxc
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37985 → lxcfs: 2.0.8 -> 3.0.0 → https://git.io/vx22X
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7YJ
<{^_^}> → 9522d06e by @ryantm: lxcfs: 2.0.8 -> 3.0.0
<{^_^}> → 5a365025 by @matthewbauer: Merge pull request #37985 from ryantm/auto-update/lxcfs
<day|flip> boomshroom: ya. just change a fonts url a little bit. one my fav fonts I like to used. just don't like it default or normal option
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38521 → rclone: 1.39 -> 1.40 → https://git.io/vx9bZ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to release-18.03: https://git.io/vx7Yk
<{^_^}> → 9f3cfef6 by @danielfullmer: rclone: 1.39 -> 1.40
<{^_^}> → d74b169e by @matthewbauer: Merge pull request #38521 from yesbox/nixos-18.03-backport
<boomshroom> day|flip: Which font is it?
ericsagnes has quit [Ping timeout: 260 seconds]
<day|flip> fantasque-sans-mono
sehqlr has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38472 → Gramps → https://git.io/vxyK4
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vx7Yq
<{^_^}> → 360d241b by @symphorien: gramps: fix startup
<{^_^}> → d8bd255a by @symphorien: gramps: 4.2.6 -> 4.2.8
<{^_^}> → a2b9d847 by @matthewbauer: Merge pull request #38472 from symphorien/gramps
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38498 → wireshark-gtk: 2.4.5 -> 2.4.6 → https://git.io/vxSXd
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7YY
<{^_^}> → b97550f4 by R. RyanTM: wireshark-gtk: 2.4.5 -> 2.4.6
<{^_^}> → 15ab41c0 by @matthewbauer: Merge pull request #38498 from r-ryantm/auto-update/wireshark-gtk
aristid has joined #nixos
Elorm[m] has joined #nixos
<boomshroom> day|flip: You might be able to do overrideAttrs (old: { url = "${new}"; }), but I'm not sure it will work with fetchzip. You could try that.
<{^_^}> [nixpkgs] @ivanbrennan opened pull request #38629 → nixos/less: add configFile option → https://git.io/vx7Yc
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7Yl
<{^_^}> → 79c0c491 by @matthewbauer: Merge pull request #38213 from schneefux/pkg.shaarli-material
<{^_^}> → 11587282 by @schneefux: shaarli-material: 0.9.1 -> 0.9.5
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38213 → shaarli-material: 0.9.1 -> 0.9.5 → https://git.io/vxKYW
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38260 → tamarin-prover: install vim syntax highlighting files → https://git.io/vxKrh
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7Y4
<{^_^}> → d432cb7f by @symphorien: tamarin-prover: install vim syntax highlighting files
<{^_^}> → 72a54f3b by @matthewbauer: Merge pull request #38260 from symphorien/tamarin-vim
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38143 → sonarr: 2.0.0.5153 -> 2.0.0.5163 → https://git.io/vxo4q
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7YR
<{^_^}> → f42f3b54 by R. RyanTM: sonarr: 2.0.0.5153 -> 2.0.0.5163
<{^_^}> → 9cb28035 by @matthewbauer: Merge pull request #38143 from r-ryantm/auto-update/sonarr
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38029 → uhd: 3.10.3.0 -> 3.11.0.0 → https://git.io/vxVLS
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7Yz
<{^_^}> → 72b14716 by @tomberek: uhd: 3.10.3.0 -> 3.11.0.0
<{^_^}> → 193cbc11 by @matthewbauer: Merge pull request #38029 from tomberek/uhd_update
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38560 → freewheeling: 0.6.2 -> 0.6.4 → https://git.io/vxQeQ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7Y2
<{^_^}> → 53a2a47c by R. RyanTM: freewheeling: 0.6.2 -> 0.6.4
<{^_^}> → 2fa95f0e by @matthewbauer: Merge pull request #38560 from r-ryantm/auto-update/freewheeling
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38538 → matrix-synapse: 0.26.1 -> 0.27.2 → https://git.io/vxHrh
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7Yw
<{^_^}> → 29473c52 by @Ralith: matrix-synapse: 0.26.1 -> 0.27.2
<{^_^}> → 6366973e by @matthewbauer: Merge pull request #38538 from Ralith/matrix-synapse
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38546 → balsa: init at 2.5.5 → https://git.io/vxH7c
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7Yr
<{^_^}> → 20212c72 by @romildo: balsa: init at 2.5.5
<{^_^}> → 842278d6 by @matthewbauer: Merge pull request #38546 from romildo/new.balsa
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38533 → duplicati: init at 2.0.3.3 → https://git.io/vxH88
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vx7YK
<{^_^}> → 20f18c7d by @nyanloutre: duplicati: init at 2.0.3.3
<{^_^}> → b3aa9ecd by @nyanloutre: duplicati: create service
<{^_^}> → 1381606b by @matthewbauer: Merge pull request #38533 from nyanloutre/duplicati-package
<Elorm[m]> Hi
<boomshroom> Elorm[m]: Hi! :D
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38064 → oidentd: 2.0.8 -> 2.2.2 → https://git.io/vxwSt
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7YP
<{^_^}> → 7f957242 by @ryantm: oidentd: 2.0.8 -> 2.2.2
<Elorm[m]> So I'm having this issue where ldm gets stuck in a login loop if I place a couple of startup scripts scripts in my .xsession. I'm able to login again once I delete it.
<{^_^}> → cd636254 by @matthewbauer: Merge pull request #38064 from ryantm/auto-update/oidentd
<Elorm[m]> Is that the right place for them ? In .xsession ?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38055 → sylpheed: 3.6.0 -> 3.7.0 → https://git.io/vxwzV
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7YX
<{^_^}> → 904330cb by @ryantm: sylpheed: 3.6.0 -> 3.7.0
<{^_^}> → 67bde55c by @matthewbauer: Merge pull request #38055 from ryantm/auto-update/sylpheed
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38056 → radamsa: 0.4 -> 0.5 → https://git.io/vxwVa
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7YM
<{^_^}> → 5c7c6fd5 by @ryantm: radamsa: 0.4 -> 0.5
<{^_^}> → 54cb6aff by @matthewbauer: Merge pull request #38056 from ryantm/auto-update/radamsa
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38060 → polyml: 5.7 -> 5.7.1 → https://git.io/vxwiB
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7YD
<{^_^}> → c381bdc1 by @ryantm: polyml: 5.7 -> 5.7.1
<{^_^}> → 2ce5d2a1 by @matthewbauer: Merge pull request #38060 from ryantm/auto-update/polyml
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38062 → ptex: 2.1.28 -> 2.1.33 → https://git.io/vxw1p
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7Yy
<{^_^}> → fcdff201 by @ryantm: ptex: 2.1.28 -> 2.1.33
<clever> Elorm[m]: when .xsession exits, the entire session is terminated
<{^_^}> → 94c21768 by @matthewbauer: Merge pull request #38062 from ryantm/auto-update/ptex
<clever> Elorm[m]: you probably want .xprofile
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38051 → slurm: 17.11.3 -> 17.11.5 → https://git.io/vxwRV
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7Y9
<{^_^}> → 0e0b80d4 by @ryantm: slurm: 17.11.3 -> 17.11.5
<{^_^}> → 3085d34f by @matthewbauer: Merge pull request #38051 from ryantm/auto-update/slurm
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38050 → gitAndTools.stgit: 0.17.1 -> 0.18 → https://git.io/vxw8Y
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7YH
<{^_^}> → fc038883 by @ryantm: gitAndTools.stgit: 0.17.1 -> 0.18
<{^_^}> → ac04a2e2 by @matthewbauer: Merge pull request #38050 from ryantm/auto-update/stgit
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37974 → mariadb: 10.2.13 -> 10.2.14 → https://git.io/vx2GJ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7Y7
<{^_^}> → 610c49ef by @Izorkin: mariadb: 10.2.13 -> 10.2.14
<{^_^}> → e5dde2c9 by @matthewbauer: Merge pull request #37974 from Izorkin/mariadb-10.2.14
ona has left #nixos ["..."]
<Elorm[m]> > Elorm[m]: you probably want .xprofile
<Elorm[m]> Oh ok. Thanks I'll try that
<Elorm[m]> But weird.
<infinisil> I mean I like PR's getting merged, but not when the package they contain doesn't even build..
<{^_^}> [nix-pills] @Ericson2314 merged pull request #59 → fix rename mistake in 02de506 → https://git.io/vx7tf
<{^_^}> [nix-pills] @Ericson2314 pushed commit from @dudebout to master « fix rename mistake in 02de506 »: https://git.io/vx7YF
<kuri0> Does NixOS have any overhead since I tried NixOS on a USB and KDE took like 3 minutes to start
<kuri0> On Kubuntu KDE starts much faster
xAFFE has joined #nixos
<clever> kuri0: when installed to the same usb stick?
<kuri0> clever, yes
<clever> thats a bit odd
<Elorm[m]> I have Nix on multiple usbs
<Elorm[m]> One of them running plasma
<Elorm[m]> Another xmonad
<kuri0> is there a nixos gnome iso or something ?
<Elorm[m]> Start times are pretty much the same
<{^_^}> [nix-pills] @Ericson2314 merged pull request #60 → fix import issues in pill 20 → https://git.io/vx7t8
<{^_^}> [nix-pills] @Ericson2314 pushed commit from @dudebout to master « fix import issues in pill 20 »: https://git.io/vx7Of
<Elorm[m]> I'm running them from a USB 3.0 though. I don't know if that counts ?
<kuri0> i'm using usb 2.0 on a usb 3.0 port
ericsagnes has joined #nixos
<Elorm[m]> Haven't run Nix on a 2.0 before but previous builds of Archlinux(even when minimal) were pretty slow
schoppenhauer has quit [Ping timeout: 264 seconds]
<kuri0> arch usb takes a long time to boot if you aren't using ethernet for some reason
<Elorm[m]> Dhcpd
<kuri0> has anyone tried to sandbox nix applications so they can only access their config in /etc/ and not other program's ?
<kuri0> since some programs store api keys and stuff in plaintext
schoppenhauer has joined #nixos
<kuri0> one example is ddclient
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d74b169e6f9 (from 43 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Guest39 has joined #nixos
Guest39 is now known as NitroZ
srdqty has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @rail opened pull request #38630 → py3status: 3.7 -> 3.8; add pytz tzlocal deps → https://git.io/vx7O1
NitroZ has left #nixos [#nixos]
<day|flip> boomshroom: ^^ any ideas?
<boomshroom> day|flip: By default, set elements aren't in scope when evaluating the set itself. If you want set elements to reference each other you need to add rec in front of the set: `oldAttrs: rec { ... }`
<fearlessKim[m]> I want to forward a call like `y = {...} @args: (x args) // { additions }` but then nix says `x` hasn't received necessary arguments. How can I achieve that ?I tried removing the `{...} @` to no avail
<boomshroom> fearlessKim[m]: What are x's arguments?
<fearlessKim[m]> boomshroom: {config, pkgs, lib, ...} (`x` being the nixops machine generation function)
<boomshroom> fearlessKim[m]: Then naturally those same attributes would need to be in y's argument. You can add them to y's formal parameters to catch it earlier, but what really needs to happen is that those attributes get passed in at y's call site.
<fearlessKim[m]> boomshroom: nixops passes the arguments, I've copied the parameter names (which works) but surely there is way to bypass that
* samueldr shouldn't put his 16:9 screen in a vertical orientation
<samueldr> I'm writing "only one screenful" as a PR description
<boomshroom> fearlessKim[m]: I'm not too familiar with nixops. You can try adding default parameters to those attributes in case nixops doesn't provide them.
<kreisys> clever: I solved it :D
<{^_^}> [nixos-homepage] @samueldr opened pull request #209 → Adds a completely re-made packages listing (explorer). → https://git.io/vx73f
srdqty has joined #nixos
<samueldr> eek, now let's hope the wall of text doesn't scare people
<day|flip> boomshroom: im almost there. but now im getting this: The option `myfsm' defined in `/etc/nixos/fsm.nix' does not exist.
<clever> kreisys: yay
<clever> [clever@amd-nixos:~/apps/nixpkgs]$ nix build -f . teamspeak_client --arg config '{ packageOverrides = pkgs: { libpulseaudio = pkgs.enableDebugging pkgs.libpulseaudio; }; allowUnfree = true; }'
<clever> kreisys: now to figure out why this segfaults constantly...
<boomshroom> day|flip: If the package is the kind that gets called with callPackage, then you should just return the derivation, not a set containing the derivation.
akkad has joined #nixos
<{^_^}> [nixos-homepage] @samueldr closed pull request #189 → Splits the navigation in two navbars... → https://git.io/vx73q
<day|flip> boomshroom: any links I can look at?
<day|flip> now im not sure what to do
<kreisys> clever: I basically just had to recreate the input derivations in the same context. it's a bit of a hack but I basically just used the same function I used to extract the tarballs from the npm registry to sort of do it again but since they're already in the store it doesn't actually end up doing anything other than the desirable side effect that it makes nix see them as derivations again
<kreisys> now I gotta clean up all that awful code
<boomshroom> day|flip: ` { stdenv, pkgs, ... }: pkgs.fantasque-sans-mono.overrideAttrs (old: { ... })` overrideAttrs is generally prefered to overrideDerivation, but it may be nessisary in this situation.
<kreisys> I had to process what you said for a while (and smoke a couple bowls) to figure it out :|
<boomshroom> kreisys: Sorry. overrideAttrs should pretty much be used whenever you can. That said, if you can't use it, overrideDerivation might work.
sehqlr has quit [Ping timeout: 260 seconds]
<Izorkin_> help. how to use virtualisation/qemu-vm.nix ?
<kreisys> boomshroom: oh sorry lol I was referring to something else. it would've been rude of me to say that in this context! :>
<boomshroom> kreisys: I actually didn't realise that you weren't day|flip, so my bad!
sehqlr has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon3 is now known as Mateon1
<boomshroom> day|flip: That's even further from working than last time. Don't store the overriden derivation in a set!
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38059 → gpu-switch: init at 2017-04-28 → https://git.io/vxwi8
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx73P
<{^_^}> → 055c2f28 by @msiedlarek: gpu-switch: init at 2017-04-28
<{^_^}> → 9191670c by @matthewbauer: Merge pull request #38059 from msiedlarek/master
blankhart has quit [Quit: WeeChat 1.9.1]
blankhart has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37732 → pcsc-scm-scl011: init at 2.09 → https://git.io/vxBFn
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @sephalon to master « pcsc-scm-scl011: init at 2.09 (#37732) »: https://git.io/vx73D
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38043 → nx-libs updates → https://git.io/vxwLE
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vx73S
<{^_^}> → e901dae0 by Averell Dalton: libxcomp: 3.5.0.33 -> 3.5.99.16
<{^_^}> → d13af8be by Averell Dalton: nxproxy: 3.5.0.33 -> 3.5.99.16
<{^_^}> → 22e7c83d by @matthewbauer: Merge pull request #38043 from averelld/nxlib-updates
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38052 → sxhkd: 0.5.8 -> 0.5.9 → https://git.io/vxwEa
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx739
<{^_^}> → 62f752e2 by @ryantm: sxhkd: 0.5.8 -> 0.5.9
<{^_^}> → 6447e4f4 by @matthewbauer: Merge pull request #38052 from ryantm/auto-update/sxhkd
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to release-17.09: https://git.io/vx73Q
<{^_^}> → 7e61e7f9 by Yannik Sander: (misc) add myself to list of maintainers
<{^_^}> → eb89ca88 by Yannik Sander: (krunner-pass): init at version v1.3.0
<{^_^}> → a4a4d270 by @matthewbauer: Merge pull request #37804 from ysndr/backport/krunner-pass
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37804 → (krunner-pass): init at 1.3.0 on 17.09 → https://git.io/vx0kU
schoppenhauer has quit [Ping timeout: 264 seconds]
<fearlessKim[m]> anyone got multihoming working with nixops ? It seems even more buggy than usual :'(
Sokol has quit []
<{^_^}> [nixpkgs] @matthewbauer closed pull request #37624 → bazel: 0.10.1 -> 0.11.1 → https://git.io/vxlmL
schoppenhauer has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37630 → gdal: 2.2.3 -> 2.2.4 → https://git.io/vxlB3
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx735
<{^_^}> → dcd13b92 by @ryantm: gdal: 2.2.3 -> 2.2.4
<{^_^}> → 1eb2904d by @matthewbauer: Merge pull request #37630 from ryantm/auto-update/gdal
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37524 → ocamlPackages.bitstring: 2.1.0 -> 2.1.1 → https://git.io/vxc3y
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx73d
<{^_^}> → 42097781 by @ryantm: ocamlPackages.bitstring: 2.1.0 -> 2.1.1
<{^_^}> → fddad914 by @matthewbauer: Merge pull request #37524 from ryantm/auto-update/ocaml-bitstring
markus1189 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37525 → ocamlPackages.comparelib: 109.60.00 -> 113.00.00 → https://git.io/vxcs4
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx73b
<{^_^}> → 71ebb80f by @ryantm: ocamlPackages.comparelib: 109.60.00 -> 113.00.00
<{^_^}> → 843cdc92 by @matthewbauer: Merge pull request #37525 from ryantm/auto-update/ocaml-comparelib
markus1189 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37526 → ocamlPackages.herelib: 109.35.02 -> 112.35.00 → https://git.io/vxcGg
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx73N
<{^_^}> → 55d37876 by @ryantm: ocamlPackages.herelib: 109.35.02 -> 112.35.00
marusich has joined #nixos
<{^_^}> → af1955ea by @matthewbauer: Merge pull request #37526 from ryantm/auto-update/ocaml-herelib
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37528 → ocamlPackages.pa_bench: 112.06.00 -> 113.00.00 → https://git.io/vxcZe
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx73A
<{^_^}> → 69f93166 by @ryantm: ocamlPackages.pa_bench: 112.06.00 -> 113.00.00
<{^_^}> → 38146297 by @matthewbauer: Merge pull request #37528 from ryantm/auto-update/ocaml-pa_bench
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37530 → ocamlPackages.pipebang: 110.01.00 -> 113.00.00 → https://git.io/vxcn2
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx73h
<{^_^}> → 11b36454 by @ryantm: ocamlPackages.pipebang: 110.01.00 -> 113.00.00
<{^_^}> → 8dd875c3 by @matthewbauer: Merge pull request #37530 from ryantm/auto-update/ocaml-pipebang
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37531 → ocamlPackages.ppx_tools_versioned: 5.0.1 -> 5.1 → https://git.io/vxccG
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx73j
<{^_^}> → 160972a9 by @matthewbauer: Merge pull request #37531 from ryantm/auto-update/ocaml-ppx_tools_versioned
<{^_^}> → 6de74b07 by @ryantm: ocamlPackages.ppx_tools_versioned: 5.0.1 -> 5.1
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37533 → ocamlPackages.ocamlbuild: 0.11.0 -> 0.12.0 → https://git.io/vxcCa
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7se
<{^_^}> → 7312e850 by @ryantm: ocamlPackages.ocamlbuild: 0.11.0 -> 0.12.0
<{^_^}> → aaee9158 by @matthewbauer: Merge pull request #37533 from ryantm/auto-update/ocamlbuild
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37383 → notmuch: fix /bin/sh impurity in ./configure → https://git.io/vxGqi
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7sf
<{^_^}> → d9741619 by @hedning: notmuch: fix /bin/sh impurity in ./configure
<{^_^}> → c472940c by @matthewbauer: Merge pull request #37383 from hedning/notmuch-fix-/bin/sh
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37312 → luakit: init at 2018.08.10 → https://git.io/vx3va
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx7sk
<{^_^}> → aa5921a9 by @lprndn: luakit: init at 2018.08.10
<{^_^}> → 39132f6d by @matthewbauer: Merge pull request #37312 from lprndn/luakit
Myrl-saki has joined #nixos
hamishmack has quit [Quit: hamishmack]
hamishmack has joined #nixos
hamishmack has quit [Client Quit]
<Myrl-saki> Raspbian is weird and doesn't have `stat` under `bin`, so `source prefix/etc/profile.d/nix.sh` fails.
iqubic has joined #nixos
iqubic has quit [Remote host closed the connection]
iqubic has joined #nixos
<iqubic> Well this is an odd issue.
reinzelmann has joined #nixos
asuryawanshi has joined #nixos
<iqubic> My F4 key has a little light on in that tells me if my microphone is muted. Fn + F4 sends XF86AudioMicMute to my machine.
<avn> rustc now builds with bundled llvm?
<iqubic> Earlier today when I was using nixos the indicator light was off. Now it is on, and I can't seem to turn it off.
<Myrl-saki> How do I disable signed-binary-caches?
<Myrl-saki> error: Nix was not compiled with libsodium, required for signed binary cache support
<Myrl-saki> warning: unknown setting 'signed-binary-caches'
<clever> Myrl-saki: install the sodium-dev package and re-run configure to add support
<boomshroom> avn: It's configurable.
<iqubic> How can I get this darn indicator light to turn off?
<iqubic> This light only turns on once I pass through the boot loader menu.
jperras has joined #nixos
<Myrl-saki> clever: No way to disable it now?
asuryawanshi has quit [Ping timeout: 256 seconds]
<clever> Myrl-saki: not sure, the defaults have changed and the options been renamed
<iqubic> Where can I go to get help with my issue?
<Myrl-saki> clever: Mkayy, I let make run on nix run overnight, so I'd have rather not. Haha.
<Myrl-saki> clever: Welps, if it gets it to work.
<clever> Myrl-saki: also, nix sandboxes only work if the nix itself was built with nix
<Myrl-saki> clever: What do you mean by that?
<clever> Myrl-saki: if you built nix manually with ./configure && make && make install, some of the parts of the nix sandbox wont work
<Myrl-saki> clever: Can I have an example? I tend to use Nix as a build tool, so I'm thinking it might be relevant.
<Izorkin_> How to create nix-config to build custom vm with qemu-kvm?
<clever> Myrl-saki: if your not using sandboxes, its less of an issue
<Myrl-saki> clever: Like, --pure?
<Myrl-saki> clever: Or nix-shell?
day|flip has quit [Remote host closed the connection]
<clever> nix-shell cant use any sandbox features
jperras has quit [Ping timeout: 256 seconds]
<Myrl-saki> clever: I guess I'm not missing anything?
iqubic has quit [Remote host closed the connection]
ericsagnes has quit [Ping timeout: 255 seconds]
iqubic has joined #nixos
iqubic has left #nixos [#nixos]
iqubic has joined #nixos
johnw has joined #nixos
mahalel_ has quit [Ping timeout: 276 seconds]
b5509cd has joined #nixos
<b5509cd> where are PGP sigs of nixos devs or something?
<achambe> good question - dunno if you can disable cloudfront and get the sha from the original https
<achambe> b5509cd: or do you not trust https in case it is changed?
Rusty1_ has quit [Quit: Konversation terminated!]
<adisbladis[m]> b5509cd: `nixos-option nix.binaryCachePublicKeys`
<achambe> he needs an initial cd image though
<achambe> oh
<achambe> is there a sig for the iso?
<b5509cd> iso sig would be nicer than https for a domain I think
<achambe> grahamc: are there signed iso's ? (I see your gpg key on the security page)
xy2_ has joined #nixos
<achambe> b5509cd: I think you are right, now we have to trust the developer + cloudflare + the website host. gpg would lower that to just the developers.
sehqlr has quit [Quit: Konversation terminated!]
sehqlr has joined #nixos
MercurialAlchemi has joined #nixos
ma27 has joined #nixos
ericsagnes has joined #nixos
johnw has quit [Ping timeout: 260 seconds]
hamishmack has joined #nixos
ma27 has quit [Ping timeout: 265 seconds]
<Myrl-saki> clever: Ping
<Myrl-saki> clever: If I build from source, I won't be able to copy my /nix/store to a different installation reliably?
fragamus has joined #nixos
<boomshroom> Myrl-saki: If you build from source, the first thing you should do after is build nix with nix.
<clever> Myrl-saki: what boomshroom said
<Myrl-saki> Kk
seafood has joined #nixos
* fearlessKim[m] sent a long message: fearlessKim[m]_2018-04-09_05:34:58.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/XSAVULUhgJXIzjykQlbNLsnx>
robstr has joined #nixos
Xal has joined #nixos
<Xal> is there some way to get nix/hydra to build a statically-linked executable
johnw has joined #nixos
marusich has quit [Quit: Leaving]
rauno has joined #nixos
sehqlr has quit [Ping timeout: 240 seconds]
xAFFE has left #nixos [#nixos]
<elvishjerricco> Xal: Yea. You can link in the `pkgs.glibc.static` derivation to statically link libc. You basically need to do this for all libraries you want to link in statically
tomberek has quit [Ping timeout: 260 seconds]
<boomshroom> elvishjerricco: Would it be possible to create a package environment that reimports nixpkgs with the libc set to pkgs.glibc.static?
<elvishjerricco> boomshroom: Probably. https://github.com/WebGHC/wasm-cross does this the long and hard way (completely custom stdenv)
<elvishjerricco> boomshroom: You'd have to contend with the dynamic linker magic that nixpkgs does though
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #38632 → win-dll-link: Fix to look for DLLs in lib/ → https://git.io/vx7nB
<Xal> some searching has turned up "makeStaticBinaries"
<Xal> how can I use this?
<{^_^}> [nixpkgs] @Mic92 merged pull request #38630 → py3status: 3.7 -> 3.8; add pytz tzlocal deps → https://git.io/vx7O1
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vx7no
<{^_^}> → e1630344 by @rail: py3status: 3.7 -> 3.8; add pytz tzlocal deps
<elvishjerricco> Xal: Seems pretty self explanatory. Pass it `stdenv`, then replace your uses of `stdenv` with the result.
<{^_^}> → 5386ece0 by @Mic92: python.pkgs.py3status: move to python-modules
<{^_^}> → 4669e9aa by @Mic92: Merge pull request #38630 from rail/py3status
<Xal> elvishjerricco: my build fails with "cannot find -lm, -lpthread, and -lc" now
<{^_^}> [nixpkgs] @Mic92 merged pull request #38629 → nixos/less: add configFile option → https://git.io/vx7Yc
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx7nX
<{^_^}> → 6e4096d7 by @ivanbrennan: nixos/less: add configFile option
<{^_^}> → 53611a9b by @Mic92: Merge pull request #38629 from ivanbrennan/less-configFile
<elvishjerricco> Xal: Hm. I guess you need to add `-L${glibc.static}/lib` to your linker flags
xy2_ has quit [Quit: WeeChat 1.9.1]
<Xal> elvishjerricco: I need to substitute a variable in the source Makefile but I can't modify any of the sources
<Xal> how cann I dot that?
<Xal> for an output I would make a patch that replaces the relevant bit with @MYVAR@ and then I would substitute it in in installPhase, but I want to modify the makefile before building
<elvishjerricco> Xal: Most variables in a make file can be set on the command line when you call `make`. You can set these from nix with e.g. `buildFlags = ["C_FLAGS=-L${glibc.static}/lib"];`. Does this help?
<elvishjerricco> Otherwise you can always resort to patch files
<elvishjerricco> `patches = [./mypatch.patch];`
<Xal> that's a more reasonable way of doing it, thanks
<Xal> I'll path the Makefile to use an environment variable
<Xal> patch*
<{^_^}> [nix] @IohannesArnold opened pull request #2060 → Add all dependencies to source prerequisites → https://git.io/vx7cT
<Myrl-saki> Who here uses Nix as a build tool only?
<Myrl-saki> User programs are on aptitude/etc, wbut builidng is through Nix.
<elvishjerricco> Myrl-saki: I know some people at work like that
<Myrl-saki> elvishjerricco: Reminds me of the reflex project.
<elvishjerricco> how so?
<Myrl-saki> elvishjerricco: Wait, no, reminds me of that blog post.
<Myrl-saki> Give me a few.
<Myrl-saki> elvishjerricco: Also, it reminds me of the reflex project because to build it, you have to install Nix, which is kinda funny, IMO.
<Myrl-saki> Not in a bad funny way.
<elvishjerricco> eek. I hope no one is linking code against nix-env installed libraries. That's a worst practice for sure :P
<elvishjerricco> Nix is definitely *primarily* a build tool for me. But it's secondly a deployment system and thirdly an operating system.
<Myrl-saki> elvishjerricco: Do you deploy to FHS?
<elvishjerricco> No I deploy to NixOS :P Which I guess transitively means it's in fact secondly an operating system.
<Myrl-saki> Haha. :P
<Myrl-saki> NixOS is pretty nice, really.
<elvishjerricco> Agreed
<elvishjerricco> as far as linuxes go, it's definitely my favorite.
<Myrl-saki> I've been using Arch for like 2 years, then the remaining years were on NixOS after figuring about it.
<elvishjerricco> But I actually kind of hate linux for any purpose other than software developement
<Myrl-saki> elvishjerricco: What's your main OS?
<elvishjerricco> NixOS :P My main computer use is software development
<elvishjerricco> otherwise it'd for sure be macos
<Myrl-saki> elvishjerricco: Ah. :P
<elvishjerricco> MacOS is just so freakin bad for software development
<elvishjerricco> better than windows I guess...
<Myrl-saki> elvishjerricco: I use Linux for everything, and everything seems to work very well until audio.
<elvishjerricco> or until nvidia :P
<Myrl-saki> elvishjerricco: Guess who doesn't use NVidia! :D
<Myrl-saki> Oh, yeah, OpenCL too.
<Myrl-saki> But I think that's more of a NixOS thing.
Tucky has joined #nixos
* joepie91 has a complicated opinion of Linux
<Myrl-saki> If I understand correctly, Nixpkgs has Mesa OpenCL disabled, so I don't have AMD OpenCL drivers.
<Myrl-saki> joepie91: What are your opinions about it?
<joepie91> it's like, it's good that it exists, and a lot of stuff is supported (for some value of 'supported'), and there's a lot effort going into it with the right intentions... but there is just _so much_ rotten stuff under the hood, technical debt, undocumented things that are nevertheless used widely, unnecessary duplication of work as a result of that, etc
<Myrl-saki> Also, I'm glad that Wine works *so well*, in a non-sarcastic tone.
<joepie91> organizationally, Linux as an ecosystem is not doing very well
jrolfs has quit [Ping timeout: 240 seconds]
jrolfs_ has joined #nixos
<Myrl-saki> My primary usage of Wine is games, and all 32-bit games I've tried so far works.
<joepie91> and the complexity is insane at points; not due to inherent complexity of what is being implemented, but due to poorly maintained code or duplication of effort
<joepie91> these are fixable issues but right now it's... yeah
<joepie91> :P
<elvishjerricco> My main problem with the Linux ecosystem is: While I appreciate that I *can* customize everything, I really wish I didn't *have* to. Ubuntu is one of the only distros with sane defaults and it's still garbage
<Myrl-saki> joepie91: I agree, I wonder if it's because it started out as a hobbyist project.
<joepie91> Myrl-saki: I think it's far more complex than that
<Myrl-saki> Like, what if it started out as an organizational project from the start.
<joepie91> Myrl-saki: one constantly recurring theme I've seen, is that the set of 'developers who like tinkering and refining things' almost doesn't overlap at all with the set of 'developers who understand UX or the importance of documentation'
<joepie91> you get a sort of self-selection for developers who think they're done once the code is written
<Myrl-saki> joepie91: I think the KDE devs work pretty well on the "UX" part, even though I don't use most of their tools anymore, it may just be personal taste though.
<joepie91> and like, no amount of organization is going to fix the widespread proliferation of that "all that matters is code" attitude
<joepie91> Myrl-saki: eh. like, KDE does make some attempts, but there are a number of really obvious UX issues
<joepie91> and there's nowhere near enough user testing taking place, for example
jperras has joined #nixos
<Myrl-saki> joepie91: Luckily, I use command-line tools for the most part, but even then, there are some issues. :/
<joepie91> one nice example of where KDE drops the ball: it seems like all UX features are considered in isolation without looking at the interactions
<fearlessKim[m]> I guess nowadays all the components are here, just need someone to glue things (which Ubuntu did/does well). As every component moves fast, it's hard to keep up things which means the 10guys working on ubuntu desktop can't keep up
<joepie91> you can see this in eg. the case where if you drag a link in Konversation to another window, it tries to download the file/page behind the URL and then initiate a DCC transfer
<joepie91> which makes _no sense_ from a UX perspective, and can unintentionally leak information
<Myrl-saki> Wow.
<joepie91> in isolation, each of those features is justifiable - download a link when clicked and show it locally, drag a file means you want to send it, etc. - but clearly nobody ever thought through the interactions
<joepie91> there are a lot of these kind of papercuts in KDE software
<joepie91> and it results in way, way too many unexpected behaviours
<joepie91> admittedly KDE has gotten better over time, but it's still nowhere near what I would consider acceptable from a 'shipping a product' perspective, really
<Myrl-saki> joepie91: It seems to be a recurring pattern in Linux to have "easter eggs," w.r.t. features?
<Myrl-saki> joepie91: I'm pretty sure that there's way more history involved, but you can observe the same thing with the clipboard system.
<joepie91> oh man, clipboards are a whole different bucket of fun :P
jmeredith has quit [Quit: Connection closed for inactivity]
<joepie91> Myrl-saki: but yeah, I'm not sure what you mean with 'easter eggs' in this context, but lack of clear documentation (for developers *and* users) on how stuff is implemented and how it behaves, ie. unexpected behaviour, can lead to these kind of issues real easy
Guest25108 has joined #nixos
<joepie91> two particularly illustrative examples of lack of documentation around core stuff:
jperras has quit [Ping timeout: 268 seconds]
<joepie91> * the official 'getting started with dbus' tutorial for dbus has said that it's a "work in progress" and "incomplete" for years now, and there's still no comprehensive explanation of it, despite literally every distro relying on it
<Myrl-saki> joepie91: I guess by easter eggs, I mean "deviate from Windows" in a sense, considering that Windows is pretty much the norm w.r.t. UX. There are a lot of niche illogical interactions that people make, which others subsequently integrate to their workflow.
<Myrl-saki> that people develop*
<joepie91> * the freedesktop dbus notifications spec has lived in some random GNOME dev's userspace for years, and now lives on the GNOME developer site; despite being presumably a desktop-environment-independent specification that's actually a freedesktop thing, not a GNOME thing
<joepie91> it's also been unclear for quite some time *which* of the versions of the spec was the authorative one
<joepie91> no clear data on who implements what
<joepie91> etc
<joepie91> once you start digging into the constituent parts of a typical Linux system, you see this _absolutely everywhere_
<joepie91> most of the parts have no authorative documentation at all, specs are ad-hoc and never formalized
<joepie91> interoperability mostly consists of "you'll have to read the code for these other 5 implementations to see what they do, I guess"
<Myrl-saki> joepie91: I guess modularity comes at this price?
<joepie91> the documentation that _does_ exist is often poorly written, difficult to understand, uses jargon that is not defined anywhere but rather exists as institutional knowledge, outdated, poorly hyperlinked, etc. etc.
<Myrl-saki> Not saying that it's inherent to modularity
<joepie91> Myrl-saki: no, not at all
jluttine has quit [Ping timeout: 265 seconds]
<joepie91> it's just that almost nobody in this ecosystem recognizes the importance of docs :)
<joepie91> I mean, there's a reason that "just read the source code" is a trope
<joepie91> this is genuinely the view held by many of the people working on this stuff, in my experience
<Myrl-saki> joepie91: RTFM should be RTFS. :P
<joepie91> the result is that you just don't have docs and everybody just tries to implement what everybody else implements
<joepie91> with no attempt at standardization or reconciliation
<joepie91> and you often get honed away when you try to address the lack of docs...
<Myrl-saki> joepie91: This topic reminds me of the XCB project.
<Myrl-saki> joepie91: Up until now, the standard for keyboard IO is still "use Xlib"
<Myrl-saki> joepie91: I'm not sure if that's a good thing or a bad thing, maybe they're trying to discuss on a sane API for doing so.
<joepie91> Myrl-saki: not something I've particularly closely tracked, but my experience is that a standardization process that isn't open in some way isn't really worth a damn, and that if you can't *find* the discussions on API design or standardization, then for all practical purposes they don't exist :P
jluttine has joined #nixos
<Myrl-saki> joepie91: Do you think that "make it work first, generalize later" and derivatives contriube to this problem?
<joepie91> Myrl-saki: not necessarily. but it's important that the "generalize and standardize" step comes before the point where people start writing alternative implementations
<Myrl-saki> (Also, FWIW, my code is severely lacking in comments. :x)
<joepie91> (or anything serious that ties into the existing implementation)
<joepie91> Myrl-saki: code lacking comments can be totally fine, btw.
<joepie91> in fact, code should generally have few comments; comments are for describing *why* the code does something, not *what* it does, and if you have to write a lot of explanations about why your code does something then that probably hints at a design issue :)
reinzelmann has quit [Ping timeout: 260 seconds]
<Myrl-saki> joepie91: Yeah, I agree. The general rule I use for commenting is for (a) hacks to workaround a library bug (b) deviating from "good code" in order to increase speed, or (c) the algorithm that I used, with a link to the page that I took it from.
<joepie91> yeah, those are good things to be commenting
<Myrl-saki> joepie91: Oh, right. This reminds me, the best part of the Linux ecosystem is unmaintained code deep into the dependency tree.
<Myrl-saki> Or *cough* left-pad *cough*
<joepie91> Myrl-saki: btw, as an example of how a standardization process *can* work just fine in a modular ecosystem; see JS, where there are a lot of different implementations of Promises, but they are all interoperable with each other because some people wrote an 'interoperability spec' that defines the base API each implementation needs to provide to interact with others
<joepie91> Myrl-saki: forget about leftpad, very likely everything you think you know about it is wrong :)
<joepie91> specifically, leftpad had absolutely zero to do with dependencies, and everything with poor registry policies
<Myrl-saki> joepie91: What do you mean by registry policies?
boomshroom has quit [Ping timeout: 265 seconds]
<joepie91> unfortunately, the popular interpretation of that incident was, well, completely wrong, and mostly served as a sort of twisted "ha, I told you so!" attempt by people who had been ragging on JS' module system for some time without actually understanding how it works or why
<joepie91> Myrl-saki: the problem with the leftpad incident was that npm allowed dependencies to be deleted
<joepie91> at all
<Myrl-saki> joepie91: Oh, right.
<joepie91> it had nothing to do with small modules, or deep dependency trees, or whatever - it was purely and solely a policy fuckup
<joepie91> that has since been rectified, although not entirely to my liking, but that's a separate discussion
<joepie91> (and I have... Opinions, about npm as a company)
<joepie91> anyway, most every other package registry got this right and just flat-out disallows deletion of packages
<joepie91> under any circumstances, usually
<joepie91> npm's policy now is to only allow deletion within 24 hours of publication if there's no evidence of the package being used by anybody, or something like that
<Myrl-saki> joepie91: How about renaming packages?
<joepie91> renaming packages is fine, provided the old name remains reserved and existing versions remain accessible at their original location
<joepie91> honestly, package registry policy isn't that difficult; it's mostly 1) never break anybody's install process unless your *intention* is to break it (eg. for insecure packages), 2) never allow name reuse, 3) do whatever you can to prevent account or package takeovers
<joepie91> there's a lot of bikeshedding beyond that about stuff like namespacing vs global namespaces and whatever, but that's all just that - bikeshedding
<joepie91> the one single most important thing is "don't break stuff, don't compromise stuff"
<joepie91> npm *seems* to follow those three points now, although it's a process
<joepie91> Myrl-saki: as for unmaintained code deep in the dep tree... this is a problem in Linux especially with drivers, and I've been told that this has to do mostly with not having access to the original hardware anymore to test changes against
reinzelmann has joined #nixos
<Myrl-saki> joepie91: Is the interoperability spec defined at the API level? Think, interfaces(Java)-esque?
<joepie91> Myrl-saki: the Promises one? yes
<joepie91> Myrl-saki: https://promisesaplus.com/
<joepie91> important to note that it _only_ covers interoperability; beyond that, implementations are free to implement whatever they want
<joepie91> so long as it doesn't violate the interoperability
<{^_^}> [nixpkgs] @peterhoeg merged pull request #38195 → php: 7.0.28 -> 7.0.29, 7.1.15 -> 7.1.16, 5.6.34 -> 5.6.35 → https://git.io/vxKTw
<{^_^}> [nixpkgs] @peterhoeg pushed 4 commits to master: https://git.io/vx7WU
<{^_^}> → a56b5d67 by @etu: php70: 7.0.28 -> 7.0.29
<{^_^}> → 9b59a912 by @etu: php71: 7.1.15 -> 7.1.16
<joepie91> effectively every Promises implementation in JS-land conforms to it
<{^_^}> → 13000810 by @etu: php56: 5.6.34 -> 5.6.35
<Myrl-saki> joepie91: Right. On the same note, I "wish" Haskell had an easy way of switching between String implementations, but that'd probably cause more confusion.
<Myrl-saki> joepie91: Like, the kind of thing that would be nice to have, but will probably be problematic to implement.
<joepie91> heh
<Myrl-saki> Anyways, game time with friends. joepie91 Thanks for the chat.
<joepie91> same :)
wangoe has joined #nixos
zzamboni has joined #nixos
rauno has quit [Remote host closed the connection]
jensens has joined #nixos
<telent[m]> So who's at nixos London meeting tonight?
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Izorkin_> How to create nix-config to build custom vm with qemu-kvm?
<telent[m]> I was going to bring some hw for a nixwrt demo until I realised how much stuff I'd need to unplug (router, rasp pi, switch, cables, power supplies ...) & decided it'd be easier to show it remotely over ssh
seafood has quit [Quit: seafood]
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a4a4d2706ef (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<{^_^}> [nixpkgs] @Mic92 pushed to master « lxc: enable pam_cgfs and fix module »: https://git.io/vx7Wj
<{^_^}> [nixpkgs] @Mic92 merged pull request #38625 → peg: 0.1.4 -> 0.1.18 → https://git.io/vx7I8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx7lm
<{^_^}> → c86c9b20 by @Mic92: Merge pull request #38625 from andrewchambers/updatepeg
<{^_^}> → 68639325 by Andrew Chambers: peg: 0.1.4 -> 0.1.18
<kuri0> why does blender installed with Nix give this error libGL error: unable to load driver: r600_dri.so ?
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
<kuri0> using Nix on Ubuntu
goibhniu has joined #nixos
<vaibhavsagar> kuri0: looks like a graphics driver thing, have you seen https://askubuntu.com/questions/614422/problem-with-installing-steam-on-ubuntu-15-04?
<kuri0> kuri0, normal blender works though and also did have delete that file for steam to work
xAFFE has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c1e1690f629 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<reinzelmann> Good morning! Is anyone else using qutebrowser and noticed that media playback and google sheets stopped working?
hotfuzz_ has joined #nixos
periklis has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #38120 → flint: Always create proper so file, support blas → https://git.io/vxrdh
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vx7lF
<{^_^}> → d836d320 by Timo Kaufmann: flint: Always create proper so file, support blas
hotfuzz has quit [Ping timeout: 268 seconds]
<{^_^}> → 27bafa07 by @7c6f434c: Merge pull request #38120 from timokau/flint-improvements
MichaelRaskin has quit [Quit: MichaelRaskin]
<Aleksejs> hi, is there a way to update location of .nix files for nixops deployment?
<vaibhavsagar> Aleksejs: you can import .nix files from wherever you want, do you have an example of something you want changed?
<Aleksejs> vaibhavsagar: I created a deployment with nixops create path/to/foo -d foo. Now I moved files to path/to/bar. Should I destroy foo deployment and re-create it or can I somehow edit path to files?
vaninwagen has joined #nixos
<vaibhavsagar> oh, I see what you mean now, I misunderstood your question earlier
<achambe> perhaps nixops modify -s
<achambe> just a guess
<achambe> actually probably no
<achambe> nixops modify -d my-deployment newpath.nix ?
<Aleksejs> yep, thanks!
hyper_ch2 has joined #nixos
optikfluffel has joined #nixos
telent_[m] has joined #nixos
asuryawa_ has joined #nixos
MP2E has quit [Remote host closed the connection]
Ross has quit [Quit: ZNC - http://znc.in]
windy328ghoee[m] has joined #nixos
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
jackdk has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38518 → nodePackages.webtorrent-cli: init at 1.11.0 → https://git.io/vx95e
Ross has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx74t
<{^_^}> → 1a161215 by @bricewge: nodePackages.webtorrent-cli: init at 1.11.0
<{^_^}> → df6638dc by @Mic92: Merge pull request #38518 from bricewge/webtorrent-cli
<{^_^}> [nixpkgs] @Mic92 merged pull request #38503 → terraria-server: 1.3.1.1 -> 1.3.5.3 → https://git.io/vxSAP
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx743
<{^_^}> → 7656367f by Okina Matara: terraria-server: 1.3.1.1 -> 1.3.5.3
<{^_^}> → 7578dde3 by @Mic92: Merge pull request #38503 from Chiiruno/submit/terraria-server
Khetzal_ is now known as Khetzal
<{^_^}> [nixpkgs] @Mic92 pushed commit from Okina Matara to release-18.03 « terraria-server: 1.3.1.1 -> 1.3.5.3 »: https://git.io/vx74l
vaninwagen_ has joined #nixos
vaninwagen_ has quit [Client Quit]
<{^_^}> [nixpkgs] @peterhoeg pushed to master « textql: run tests and install man page »: https://git.io/vx74D
<{^_^}> [nix] @edolstra merged pull request #2059 → Fix missing $DESTDIR when installing programs and BUILD_SHARED_LIBS=0 → https://git.io/vx7tq
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vx74h
<{^_^}> → 9387163d by @edolstra: Merge pull request #2059 from andrew-d/adunham/fix-destdir
<{^_^}> → f8ab9cef by @andrew-d: Fix missing $DESTDIR when installing programs
pkill9 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #38513 → clementine: provide free derivation by default → https://git.io/vx9X8
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vx7Bf
<{^_^}> → c1f1d863 by @Ma27: Revert "chromaprint: 1.3.2 -> 1.4.3"
<{^_^}> → c7579286 by @Mic92: Merge pull request #38513 from Ma27/clementine-license-fixes
<{^_^}> → ef5e212d by @Ma27: clementine: provide free derivation by default
rauno has joined #nixos
thc202 has joined #nixos
periklis has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38362 → fix: nixos/nginx certificate location → https://git.io/vxPvt
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx7BG
<{^_^}> → 8614e222 by Kjetil Ørbekk: fix: nixos/nginx certificate location
<{^_^}> → 41ec2c22 by @Mic92: Merge pull request #38362 from orbekk/acme-path
telent has joined #nixos
dan_b has joined #nixos
<{^_^}> [nixpkgs] @layus opened pull request #38636 → git: 2.16.2 -> 2.17.0 → https://git.io/vx7BV
reinzelmann has quit [Remote host closed the connection]
reinzelmann has joined #nixos
pie_ has joined #nixos
<Mic92> LnL: one step closer to a custom generator: https://github.com/NixOS/nixpkgs/pull/38620#issuecomment-379585059
<Mic92> *new generator
<LnL> !!
<achambe> whats a generator?
<LnL> nice, I tried to get rid of git:// before once but must have missed something because the next update added them all back :/
<LnL> attribute 'surround' missing
<LnL> aramiscd: there are various generator tools to make it easier to update certain groups of packages like python, haskell, etc.
<LnL> yeah :)
<{^_^}> [nixpkgs] @vbgl opened pull request #38637 → ocamlPackages.js_of_ocaml-lwt: init at 3.1.0 → https://git.io/vx7Rc
<{^_^}> [nixpkgs] @Mic92 pushed to master « vimPlugins.surround: fix typo (was sourround) »: https://git.io/vx7R2
periklis has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2055 → fix typo in nix-env man page → https://git.io/vxQCH
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vx7R6
<{^_^}> → d8a1c278 by @dudebout: fix typo in nix-env man page
<{^_^}> → d8b752ff by @edolstra: Merge pull request #2055 from dudebout/patch-1
blankhart has quit [Ping timeout: 240 seconds]
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
Guest25108 has quit [Ping timeout: 256 seconds]
Guest25108 has joined #nixos
jperras has joined #nixos
gillmanash has quit [Ping timeout: 264 seconds]
<kuri0> has anyone tried sandboxing nix applications using selinux/apparmor ?
<kuri0> since most applicatons don't need to access /etc of other applications
jperras has quit [Ping timeout: 255 seconds]
periklis has quit [Ping timeout: 276 seconds]
periklis has joined #nixos
<achambe> kuri0: nixos has container support, not totally sure what gets isolated, the nix store is shared
<achambe> oh, selinux/apparmor sorry, missed that
<makefu> kuri0: this PR may be related to what you are searching for https://github.com/NixOS/nixpkgs/pull/36978
ottidmes has joined #nixos
utdemir has joined #nixos
<kuri0> hi
fendor has joined #nixos
Neo-- has joined #nixos
optikfluffel has quit [Quit: Textual IRC Client: www.textualapp.com]
<Izorkin_> How to create nix-config to build custom vm with qemu-kvm?
<achambe> Izorkin_: I don't understand your question. What is a custom vm?
Alling has joined #nixos
<Alling> How can I install Dropbox on NixOS?
civodul has joined #nixos
<achambe> Alling: what have you tried?
<Alling> Adding dropbox to packages works, but when I run it, Firefox opens with a login page, and when I log in, I get an error "You're using an old version of Dropbox" in said page.
<achambe> what version of nixos are you on?
<Alling> achambe: 17.09.3205.12512f25e9e (Hummingbird)
<Izorkin_> achambe: make on analog containers.vm-01 = { privateNetwork = true; }; done through qemu - qemu-kvm.gues-vm
coot has joined #nixos
<achambe> Alling: 18.03 was released, could try updating, it would give you a newer version of dropbox
asuryawa_ has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<fendor> morning, still got problems with stack and gloss, when executing gloss, i get the error: https://hastebin.com/buqigovoke.pl
<Alling> achambe: Doing that right now. Downloading quite a lot of binaries, it seems.
<Mic92> Alling: nix-shell -p dropbox
<Mic92> it was already in 17.09
<Alling> Mic92: unfree is already enabled.
<Mic92> Alling: sorry, did not read your second statement
<Alling> Mic92: NP. I'll probably be back when the upgrade is done. :D
<achambe> Izorkin_: https://nixos.wiki/wiki/Virtualization_in_NixOS gives some hints
periklis has quit [Remote host closed the connection]
periklis has joined #nixos
<Mic92> achambe: https://github.com/Mic92/nixos-shell this is useful for testing, or do you want qemu images?
<Izorkin_> achambe: in the same way works - nixos-rebuild build-vm -I nixos-config=/home/user/custom-vm.nix ?
<Mic92> Izorkin_: actually asked ^
Alling has quit [Ping timeout: 260 seconds]
reinzelmann has quit [Ping timeout: 255 seconds]
<Izorkin_> ok, thanks
Alling has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-17.09: https://git.io/vx7zq
<{^_^}> → 86ab2403 by @benley: dropbox: fix version sort order
<{^_^}> → 7944954e by @bendlas: dropbox: 38.4.27 -> 40.4.46
<Alling> achambe: Mic92: NixOS upgrade is done. Still same error about old Dropbox version.
<Alling> $ nix-channel --list
<Mic92> Alling: are you sure, your dropbox was upgraded too?
<LnL> what's the output of nix-info
<Mic92> 40.4.46
<Alling> Mic92: No, I don't know.
<Mic92> Alling: I also just backported the latest dropbox to 17.09
rauno has quit [Ping timeout: 265 seconds]
<Alling> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(root): "nixos-17.09.3222.21693048d72", channels(me): "nixpkgs-18.03.131807.489a14add9a", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<Alling> That's interesting.
<Alling> I mean "channels(root)"
<Mic92> Alling: nix-env -q | grep dropbox
<hyper_ch2> isn't dropbox evil? :)
<Alling> Mic92: empty output
<{^_^}> [nixpkgs] @Mic92 merged pull request #38374 → nix-pin: init at 0.1.2 → https://git.io/vxPVA
<{^_^}> → a1cf6165 by @timbertson: nix-pin: init at 0.1.2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx7zW
<{^_^}> → 9392b10d by @Mic92: Merge pull request #38374 from timbertson/nix-pin
<achambe> if you do the channel as non root, it doesn't update the whole system
<Alling> achambe: I thought sudo would be enough.
<Mic92> Alling: how did you install dropbox?
<LnL> Alling: nixos-rebuild only uses the root channels, not whatever you configured for your user
<Alling> Mic92: I put dropbox in users.users.me.packages
<Alling> LnL: Oh, seems like I still have 17.09 on root.
<Alling> Let me try updating.
<achambe> The system etc doesn't matter, just that dropbox is at the latest
<LnL> yeah, 17.09 has not updated in 6 days so it probably doesn't have the fix yet
<Alling> Gonna do the upgrade as root now. Even if 17.09 could work, I would like to upgrade to 18.03 anyway.
<achambe> cool
<Alling> By the way: warning: unknown setting 'signed-binary-caches'
<Mic92> Alling: that warning should go away after the upgrade
s33se has quit [Ping timeout: 256 seconds]
johnw has quit [Ping timeout: 260 seconds]
Alling has quit [Ping timeout: 260 seconds]
zybell_ has quit [Ping timeout: 265 seconds]
klntsky has joined #nixos
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a4a4d2706ef (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/61249b5de8a (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
selaux has joined #nixos
Alling has joined #nixos
<Alling> Upgrade is done. nix-info shows "nixos-18.03..." as channels(root). Dropbox still complains about old version.
thblt has joined #nixos
<Alling> nix-channel --list as root displays "nixos https://nixos.org/channels/nixos-18.03"
<Alling> achambe: Mic92 So I'm out of ideas.
<vaibhavsagar> Alling: how did you install dropbox? nix-env or in configuration.nix?
<achambe> Alling: If i hit a situation like that I usually go and look at the git repository on github to see what versions are in the bleeding edge
coot_ has joined #nixos
<achambe> and maybe try those ones.
coot has quit [Ping timeout: 260 seconds]
<Alling> vaibhavsagar: I put dropbox in users.users.me.packages, and just now also in system.packages.
orivej has joined #nixos
<Alling> in configuration.nix
<vaibhavsagar> cool, I asked because installing with nix-env doesn't automatically upgrade packages but it doesn't sound like that's the issue
zybell_ has joined #nixos
<vaibhavsagar> can you do `dropbox --version` to see what version is running?
<vaibhavsagar> or something like that
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/60b53847803 (from 75 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<yorick> so will nix 2.1 get backported to 18.03?
<Mic92> vaibhavsagar: it does not report that on the command line
<Alling> WTF ... I tried dropbox --version and suddenly it worked.
<Alling> "Your computer is linked"
<achambe> haha
vidbina has joined #nixos
<achambe> perhaps some background process was still running an old version
<achambe> then it died
<Alling> achambe: Although the Dropbox folder is empty and I have no idea how I can see any status or anything.
<Myrl-saki> How do I make Nix build using -O3 and -march=native?>
<Myrl-saki> Like
<Myrl-saki> My whole system.
<vaibhavsagar> bahahahahaha
<achambe> Alling: I must admin, I never used dropbox
<etu[m]> yorick: What will nix 2.1 contain?
<vaibhavsagar> Myrl-saki: you want NixOS to be Gentoo?
<yorick> etu[m]: constant-memory for nix-copy-closure
<Myrl-saki> vaibhavsagar: Yes.
<achambe> nix 2.1 has some useful memory fixes
<achambe> yeah
<vaibhavsagar> just use gentoo then
<Myrl-saki> vaibhavsagar: It's on my RasPi, so I need all the speed I can.
<Myrl-saki> vaibhavsagar: I use Nix as my OS and my build tool...
<etu[m]> yorick: That's nice
<yorick> etu[m]: like, 80MB used instead of gigabytes
<achambe> Myrl-saki: I dunno if a rpi can build itself
<vaibhavsagar> Myrl-saki: you'd have to override the build options of all of your packages and their dependencies
<achambe> not enough ram etc
<vaibhavsagar> it's not impossible, but for all practical purposes it might as well be
<achambe> you need a bigger arm machine I think.
<Mic92> Myrl-saki: something in cc-wrapper
Guest25108 has quit [Ping timeout: 260 seconds]
<Myrl-saki> I tried last time, and I couldn't compile gcc.
kerrhau- has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38626 → linux kernel generic: use passAsFile for kernelConfig → https://git.io/vx7t2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx7wG
<{^_^}> → b64f407c by @martinetd: linux kernel generic: use passAsFile for kernelConfig
<{^_^}> → 3458776b by @Mic92: Merge pull request #38626 from martinetd/kernelConfigAsFile
<Myrl-saki> ${NIX_ENFORCE_PURITY-1}
<Myrl-saki> What does that mean?
periklis has quit [Ping timeout: 240 seconds]
Guest25108 has joined #nixos
zzamboni has quit [Quit: Leaving.]
rauno has joined #nixos
chisui has joined #nixos
<Myrl-saki> ${rest+"${rest[@]}"}
Alling has quit [Ping timeout: 260 seconds]
<Myrl-saki> What do the plus and minuses mean?
<Myrl-saki> Oh, - is default.
sigmundv__ has joined #nixos
<Myrl-saki> What does the plus mean?
<Asmadeus> in shell, ${FOO+bar} only prints bar if FOO is set
<Asmadeus> Looks like you found the minus yourself
<Myrl-saki> yorick: Thanks.
<Myrl-saki> I was looking at the wrong term lol
<Myrl-saki> I was searching "string substitution" instead.
<Guest25108> When defining an option, is something like this allowed? types.listOf (types.either A B)
<yorick> Guest25108: I don't see why not
Guest25108 has quit [Changing host]
Guest25108 has joined #nixos
Guest25108 is now known as adamt
<adamt> yorick: Ok, i'll try figuring what the problem is then. :P
<fearlessKim[m]> I have to fallback to nix1 as nix2 keeps spouting "out of memory" whatever I try. I thought nixpkgs wasn't supposed to use nix 2 features but I got on rebuild `undefined variable ‘placeholder’ at /home/teto/nixpkgs/pkgs/development/libraries/glib-networking/default.nix`
<yorick> fearlessKim[m]: fixed in nix master
<fearlessKim[m]> yorick: I have the same problem with nix master
<Myrl-saki> http://ix.io/17mS
<Myrl-saki> Is this good?
<Myrl-saki> I changed hardeningCFlags, and removed the ENFORCE_NO_NATIVE check.
<fearlessKim[m]> except if it was fixed this weekend
<achambe> A quick hack, maybe someone here cares https://github.com/andrewchambers/terranix
<achambe> terraform nixos plugin
MercurialAlchemi has quit [Ping timeout: 260 seconds]
<Myrl-saki> I'll compile on x86 before doing anything lol
humanoyd has joined #nixos
<Asmadeus> Is there a way to tell what pulls in a build listed in nixos-rebuild dry-build? I don't get why it insists on building linux twice
simukis has joined #nixos
<LnL> nix-store -q --tree /nix/store/<name>.drv
<LnL> that will show the dependency tree
Alling has joined #nixos
<Alling> I get disconnected every time I close my laptop, but yeah ... Dropbox folder is still empty. ^
<Alling> ^^*
<kuri0> How much RAM does Nix require since I got out of memory when installing a package on a 1GB QEMU virtual machine
<Asmadeus> LnL: Great... except that both are the same, except for the linux-config*.drv... and when I do the same command on the linux-configs, they're exactly the same aside of the linux-config hash itself
<etu> kuri0: more :D
<Asmadeus> I don't see why I would have both configs. I guess it's a side effect of the config-in-kernelPatches in boot.crashDump.enable = true?
ericsagnes has quit [Ping timeout: 268 seconds]
<adamt> reg. nix types: What does "types.listOf (types.either A B)" actually mean? I expected a list where each individual element could be of type A or B, but it seems like it can be a list of either A or a list of B
<kuri0> how do people use it on 1GB RPi then ?
<LnL> Asmadeus: possibly, I guess something else is depending on the kernel without those config changes
<achambe> kuri0: there are patches coming soon to fix some ram usage issues
<Asmadeus> Ugh. Any magic nix-store reverse-tree command?
<kuri0> nix still seems beta quality :\
<kuri0> its better than all package managers otherwise
<adamt> kuri0: You can also build the entire machine/system on a different host, and then push it to the tiny VM. :P
<LnL> nix 2.0 was a full rewrite so there are some rough edges
<kuri0> maybe it uses so much ram since its written in C++ while others are C
<etu[m]> kuri0: I was setting up my raspberry pi with nixos this weekend and created a swapfile :p
<achambe> no, its because the hash code currently is loading the whole nar into ram
<etu[m]> Nah
<Alling> adamt: I would also expect that to mean something like Haskell's [Either a b].
ma27 has joined #nixos
<kuri0> has anyone tried using selinux or apparmor to sandbox nix packages ?
<Asmadeus> Sigh, I guess I'll give up trying to set DEBUG_INFO on this kernel and just try to reproduce my bug in a non-nix VM....
<kuri0> so that they can't read each other's configuration files
<LnL> Asmadeus: nix-store -q has --requisites and --references but tree is only in one direction AFAIK
<Asmadeus> Hm will give references a try
<adamt> Alling: Maybe it's because i'm using submodules for A and B, but it seems like nix expects every element to be of the same type as the first one specified in the either. Hmm.
<Asmadeus> Both configs are referenced by the same items as well, so meh
MercurialAlchemi has joined #nixos
<Alling> adamt: So you mean you get like [a], not even Either [a] [b]?
<adamt> Alling: Yeah, that seems like it.
<Asmadeus> Anyway sorry for the rant, I love nix and have had no problems with it whatsoever until I tried building a kernel, which is something stupidely simple to do manually - the nix framework is supposed to make builds simpler not harder :/
<{^_^}> [nixpkgs] @shlevy opened pull request #38639 → Don't bypass unsupported platforms with allowBroken. → https://git.io/vx7iD
<adamt> Maybe it's because my types are defined like...: a = types.submodule ({ ... }: { options = { foo = mkOption .... and nix just sees everything as a submodule or something, instead of a proper type. Not sure
MercurialAlchemi has quit [Ping timeout: 265 seconds]
tmaekawa has joined #nixos
alaricsp has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
warbo has joined #nixos
pkill9 has quit [Quit: WeeChat 2.0.1]
tmaekawa has quit [Quit: tmaekawa]
<Myrl-saki> clever: Ping.
<Myrl-saki> clever: Were you the guy who taught me, around a year or 2 ago how to use my x86 machine as a build slave for ARM?
jperras has quit [Ping timeout: 260 seconds]
<warbo> hello, I'm running emacs --daemon as a systemd service on NixOS
<warbo> since I live in emacs(client), I don't want it to restart when I run "nixos-rebuild switch"
<warbo> I have "reloadIfChanged=true" and an "ExecReload" script, which seemed to work for 16.09
<warbo> but since upgrading to 17.09 the service seems to get stopped during nixos-rebuild switch
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7944954e21f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<avn> Works at least for system servives, I have reloadIfChanged=true on my pulseaudio unit.
<warbo> yeah, I'm using system services for everything (single user laptop)
iqubic` has joined #nixos
<warbo> looking through journalctl I see "stopping emacs daemon..." "Unit cannot be reloaded because it is inactive" "State stop-sigterm timed out. Killing" "Main process exited, code=killed" "unit entered failed state" "Failed with result timeout"
iqubic has quit [Ping timeout: 245 seconds]
<warbo> I have Type="forking", so I don't know why it would be "inactive"
Guanin has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
avn has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @expipiplus1 opened pull request #38640 → asciidoctor: 1.5.6.1 -> 1.5.6.2, also add mathematical and coderay → https://git.io/vx7XX
<warbo> hmm, maybe it's due to a name conflict since NixOS added its own 'emacs' service
<warbo> I'll try renaming mine to 'myEmacs'
reinzelmann has joined #nixos
alexteves_ has joined #nixos
Alling has quit [Ping timeout: 260 seconds]
Tobba has joined #nixos
ThatDocsLady has joined #nixos
MercurialAlchemi has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
avn has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed to master « nixos/tests.chromium: actually notice the tab crash »: https://git.io/vx7Ds
jrolfs_ has quit [Ping timeout: 256 seconds]
dj_goku has quit [Ping timeout: 268 seconds]
freusque has joined #nixos
TweyII has joined #nixos
<freusque> what is the standard way to fetchTarball with a hash?
<freusque> I want to download a gzipped file and specify a hash.
<TweyII> I'm trying to set up the proprietary NVIDIA drivers on my Optimus laptop. I've been trying this for a while, but with no luck — I get to initializing the X11 server in my boot process, but then everything hangs and won't respond (to ctrl-alt-del, &c.). I was looking back through my logs and saw: Apr 09 12:15:42 uruz systemd-modules-load[683]: Module 'nvidia' is blacklisted
<achambe> freusque: what did you try?
<TweyII> Why would nvidia be blacklisted? I don't have anything in my configuration that explicitly blacklists it
<freusque> achambe: I tried fetchurl and fetchzip
<freusque> I'm wondering if there is a trivial build helper for this somewhere
<freusque> I didn't find anything by code searching gunzip in nixpkgs
<achambe> lol
coot_ has quit [Quit: coot_]
<freusque> :-)
<achambe> I recently used builtins.fetchTarball and specified a sha256
xcmw has joined #nixos
ma27 has quit [Ping timeout: 255 seconds]
TweyII has quit [Quit: WeeChat 1.7]
Mateon1 has quit [Quit: Mateon1]
ma27 has joined #nixos
<{^_^}> [nixpkgs] @frontsideair opened pull request #38641 → nodejs: 9.10.1 -> 9.11.1 → https://git.io/vx7yO
<freusque> thanks achambe
<fendor> spam again: morning, still got problems with stack and gloss, when executing gloss, i get the error: https://hastebin.com/buqigovoke.pl
ericsagnes has joined #nixos
alaricsp has joined #nixos
<yorick> how do I force re-querying substituters for missing paths?
knupfer has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #38642 → guake: 0.8.3 → 3.0.5 → https://git.io/vx79q
rauno has quit [Remote host closed the connection]
tmplt_ has joined #nixos
<infinisil> What command are you running?
fendor has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @peti merged pull request #38636 → git: 2.16.2 -> 2.17.0 → https://git.io/vx7BV
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vx79j
<{^_^}> → 5d65b4eb by @layus: git: 2.16.2 -> 2.17.0
<{^_^}> → 1cdcc192 by @peti: Merge pull request #38636 from layus/git-2.17.0
coot_ has joined #nixos
<{^_^}> [nix] @shlevy opened pull request #2061 → nix-daemon: Exit successfully when interrupted. → https://git.io/vx7Hl
utdemir has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Myrl-saki> YEESSS
<Myrl-saki> I WAS ABLE TO BUILD GCC WITH -O2 and -march=native
zzamboni has joined #nixos
<Myrl-saki> I wonder how long it'd take to build my whole system...
ashgillman has joined #nixos
<Myrl-saki> And -ftree=vectorize and all that stuff. :D
flyx has quit [Quit: ZNC - http://znc.in]
dbe has joined #nixos
<TimePath> Hm, how would -march=native work with the binary cache?
<TimePath> I think you'd have to set a dummy attribute or something based on what native arch is
<{^_^}> [nix] @edolstra merged pull request #2061 → nix-daemon: Exit successfully when interrupted. → https://git.io/vx7Hl
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vx7Qa
<{^_^}> → 346c0ac3 by @shlevy: nix-daemon: Exit successfully when interrupted.
<{^_^}> → 3ec1b3da by @edolstra: Merge pull request #2061 from shlevy/nix-daemon-interrupt
fendor has joined #nixos
<Myrl-saki> TimePath: It doesn't. I'm going the Gentoo route.
<dbe> What do I do in a mkDerivation to install a file with a file ending? Setting installPhase to 'cp myfile.txt $out' works fine, but I'd like to store the result in /nix/store/hash-file.txt, not /nix/store/hash-file.
<shlevy> Myrl-saki: would love to see some benchmarks
<Myrl-saki> shlevy: "Barely any change," probably.
ndrei has joined #nixos
<Myrl-saki> shlevy: Might be more useful in the Raspi though.
<TimePath> Myrl-saki: nixos is simultaneously a better gentoo and arch :)
<Myrl-saki> TimePath: A better Arch, sure, but Gentoo, IMO not.
<Myrl-saki> TimePath: IMO, Gentoo has better "USE_FLAGS," than NixOS.
<TimePath> Myrl-saki: system configuration still makes it better imo
ashgillman has quit [Ping timeout: 256 seconds]
<makefu> Announcement: This week on wednesday there will be the third monthly NixOS meetup at the shackspace in Stuttgart (Germany) - https://shackspace.de/2018/04/07/NixOS_Meetup_3/
<TimePath> It's not as gentoo as gentoo, sure :)
zzamboni has quit [Ping timeout: 264 seconds]
<gchristensen> nice, makefu!
knupfer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @brainrape opened pull request #38643 → nixos/prosody: add dataDir option → https://git.io/vx7QN
<Myrl-saki> Conceptually, can't you DoS a Nix-enabled machine by filling the /nix/store?
knupfer has joined #nixos
zzamboni has joined #nixos
<TimePath> Can't you DoS *any* machine by doing that?
<lewo> makefu: "fetch from signed git branch to rebuild NixOS -> module" Is this already existing ?
tmaekawa has joined #nixos
<Myrl-saki> TimePath: Technically, yes, but /nix/store is owned by root.
<makefu> lewo: i am not sure, musicmatze[m] ^ ?
<gchristensen> Myrl-saki: builders aren't privileged
<TimePath> Okay that does make things a bit worse off then
<TimePath> Maybe /nix should be its own partition
<Myrl-saki> TimePath: That's what i do.
tmaekawa has quit [Client Quit]
<Dezgeg> you will now encounter murphy's law of partitioning
<Myrl-saki> Dezgeg: Yesss, so true.
<Myrl-saki> Dezgeg: I realized way too late that 32 GB is a bad partition size.
<Dezgeg> ^^
<gchristensen> when writing to the store, the directory isn't owned by root
<TimePath> If it can fill up, it will :)
<musicmatze[m]> makefu sounds good
<Dezgeg> you could make root download all the possible things from the binary cache
<TimePath> Okay, glad I *don't* partition
<Myrl-saki> /nix/store/pl787r1y9m8fn9wq8ljn0flwwdm1accn-nixos-rebuild.drv
<Myrl-saki> these paths will be fetched (186.27 MiB download, 382.85 MiB unpacked):
<Myrl-saki> That's amazing.
<TimePath> I thought 32GB would be heaps
<Myrl-saki> I didn't know nixos-rebuild's dependencies are that... large.
<gchristensen> Dezgeg: that should probably not be done by root anyway
<dbe> I'm stupid. The name should contain the file ending. Got it. (for logs)
<makefu> musicmatze[m]: i was referring to the question of lewo regarding fetch from signed git branch to rebuild nixos -> module
<Dezgeg> that is true (and maybe it isn't)
zzamboni has quit [Ping timeout: 260 seconds]
<lewo> musicmatze[m]: do you already implement a such module?
ashgillman has joined #nixos
knupfer has quit [Remote host closed the connection]
lord| has quit [Quit: WeeChat 2.1]
knupfer has joined #nixos
<musicmatze[m]> Ummm... No, I don't. I don't know who proposed this for the timeline.
zzamboni has joined #nixos
<gchristensen> Dezgeg: I think it is :/ the old perl script was definintely running as root
<lewo> musicmatze[m]: hmm, it could be me... but it's not the case:/
jperras has joined #nixos
<makefu> :D
xcmw has joined #nixos
winem_ has joined #nixos
ashgillman has quit [Ping timeout: 245 seconds]
Mercuria1Alchemi has joined #nixos
<lewo> musicmatze[m]: I had added a "preStart" option to the autoUpdate nixos module to pull signed commits before rebuilding the system (but never submitted upstream)
Mercuria1Alchemi has quit [Client Quit]
knupfer has quit [Ping timeout: 260 seconds]
Mercuria1Alchemi has joined #nixos
Mercuria1Alchemi has quit [Client Quit]
knupfer has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
Mercuria1Alchemi has joined #nixos
MercurialAlchemi has quit [Ping timeout: 255 seconds]
tmplt_ has quit [Ping timeout: 264 seconds]
rauno has joined #nixos
seafood has joined #nixos
<{^_^}> [nixpkgs] @magnetophon opened pull request #38644 → faust: add more faust2appl scripts → https://git.io/vx75U
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
<musicmatze[m]> lewo: I'm not sure why you're telling me this? I have nothing to do with the autoUpdate functionality!
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<makefu> musicmatze[m]: i think because of the agenda of the nixos meetup where i guessed that you had something to do with that :D
<musicmatze[m]> :-)
<lewo> yes, sorry musicmatze[m] !
<musicmatze[m]> No problem.
Rusty1_ has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.cached-property: 1.4.0 -> 1.4.2 »: https://git.io/vx7dq
vaninwagen has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « sbt: 1.1.2 -> 1.1.3 »: https://git.io/vx7dC
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « sbt: 1.1.2 -> 1.1.3 »: https://git.io/vx7dB
nikivi has quit [Quit: ZNC 1.6.6 - http://znc.in]
flyx has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
spear2 has quit [Ping timeout: 240 seconds]
<achambe> is there a way to deny users the right to install packages?
reinzelmann has quit [Quit: Leaving]
blankhart has joined #nixos
<achambe> Myrl-saki: ah, you can set the permissions on /nix/var/nix/daemon-socket
<achambe> to disallow users
xcmw has quit [Ping timeout: 240 seconds]
spear2 has joined #nixos
<{^_^}> [nix] @shlevy pushed 2 commits to master: https://git.io/vx7bs
<{^_^}> → 72902ec3 by @mightybyte: Add missing eval-okay-regex-split.exp test file
<{^_^}> → 377cf43f by @shlevy: Merge branch 'add-split-test-file' of git://github.com/mightybyte/nix
coot_ has quit [Quit: coot_]
<{^_^}> [nix] @shlevy merged pull request #2049 → Add missing eval-okay-regex-split.exp test file → https://git.io/vx9j8
<{^_^}> [nixpkgs] @FRidh pushed 285 commits to staging: https://git.io/vx7bn
<{^_^}> → aa5921a9 by @lprndn: luakit: init at 2018.08.10
<{^_^}> → d9741619 by @hedning: notmuch: fix /bin/sh impurity in ./configure
<{^_^}> → 42097781 by @ryantm: ocamlPackages.bitstring: 2.1.0 -> 2.1.1
ndrei has quit [Remote host closed the connection]
prooftechnique_ is now known as prooftechnique
jperras has joined #nixos
seafood has quit [Quit: seafood]
freusque has quit [Quit: WeeChat 2.0]
ndrei has joined #nixos
<zybell_> achambe:the dir /nix/var/nix should work too (allows more complicated setups by hardlinking the socket)
<achambe> it would be cool if there were a dedicated group for it in the hardened profile perhaps
<LnL> achambe: allowed-users
rauno has joined #nixos
<achambe> oh thank you
<LnL> no need to mess with the socket permissions :)
seafood has joined #nixos
<achambe> LnL: yeah, and it even has an @groupname option
<achambe> cool
<LnL> yeah, same with trusted-users
<achambe> perhaps adding @nix-users or something in the hardened profile would be decent
jperras has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @domenkozar pushed to master « xalanc: /usr -> / »: https://git.io/vx7AL
<{^_^}> [nixpkgs] @domenkozar pushed to release-18.03 « xalanc: /usr -> / »: https://git.io/vx7Aq
szicari has joined #nixos
jperras has joined #nixos
<warbo> yay, I solved my issue! Turns out my emacs service had local-fs.target in its "requires", and nixos-rebuild switch was stopping and starting the filesystem targets (local and remote), hence why emacs was getting stopped :)
zzamboni has quit [Quit: Leaving.]
<warbo> (in case it's useful, since I know the channel gets logged) I tracked it down by digging through the nixos-rebuild script, to see that it does 'nix-build "<nixpkgs/nixos>" -A system' to build the switch-to-configuration script; built that and executed it with 'sudo perl -d /path/to/switch-to-configuration test', which let me step through the Perl code
zzamboni has joined #nixos
<avn> btw folks, `modern` `nix` command use nixpkgs. prefix for packages, `nix-build` uses `pkgs.` (I haven't use channels, only git checkout)
<avn> how I can correct it, and have similiar prefix to both commands?
<avn> (alsi I curious, how I can disable fancy output in `nix build`)
rosa has joined #nixos
<warbo> avn: as far as I'm aware, 'pkgs' is just the name of a set, e.g. nix-build -E 'with import <nixpkgs> {}; pkgs.bash'
<warbo> avn: so if you want the word 'nixpkgs' to work in the same way as 'pkgs', just define a set called 'nixpkgs'
<warbo> you could do this in ~/.nixpkgs/config.nix or /etc/nixos/configuration.nix
<warbo> just put e.g. 'nixpkgs = pkgs;' somewhere in the top-level overrides
ilyaigpetrov has joined #nixos
zzamboni has quit [Ping timeout: 256 seconds]
<avn> well, toplevel overrides looks interesting idea. I just want to have similiar attrpath when use both tools
rauno has quit [Ping timeout: 260 seconds]
<mg-> To upgrade is still just nix-channel --add https://nixos.org/channels/nixos-18.03 nixos and nixos-rebuild switch --upgrade right? And I still want to keep system.stateVersion = "16.09"; in /etc/nixos/configuration.nix ?
<tazjin> Is there something that can be set in a derivation to tell Nix that the build output is uncacheable?
<{^_^}> [nixpkgs] @djgoku opened pull request #38646 → erlang: 20.3.1 -> 20.3.2 → https://git.io/vx7pv
<achambe> mg-: good question, the default comment tells us to wait updating the state version until the release notes say
<achambe> but the release notes never say
<warbo> tazjin: you could put something like { cacheBuster = with builtins; toString currentTime; }
<{^_^}> [nixpkgs] @Profpatsch opened pull request #38647 → modules/profiles/minimal: sound is disabled by default → https://git.io/vx7pT
<achambe> mg-: actually, the release notes do say, you can have a state version of 18.03 now
<achambe> but you should check the notes
leat has quit [Ping timeout: 260 seconds]
<warbo> tazjin: the nice thing about currentTime is that it's set once when Nix starts evaluating, so even if it takes ages to evaluate all occurrences will be the same
<{^_^}> [nixpkgs] @Mic92 opened pull request #38648 → CODEOWNERS: add Mic92/LnL7 for rustc → https://git.io/vx7pC
<mg-> achambe: hm. When I upgraded to 17.09 I was told to keep it at 16.09. Do you have a link?
xy2_ has joined #nixos
<achambe> https://nixos.org/nixos/manual/release-notes.html -> search for stateVersion
<achambe> that variable seems to mostly be about stability of databases
<tazjin> @warbo that's a cool workaround, thanks
<mg-> achambe: thanks.
<mg-> Perhaps I can just upgrade the channel for now then
<samueldr> stateVersion shouldn't be updated when using software that uses stateVersion, but keeping it low should not be an issue
<warbo> it was my understanding that "stateVersion" basically records which version the system was "originally" built with
<samueldr> almost!
<samueldr> it *can* be updated if you have verified that all modules using stateVersion that were in use were manually updated
<warbo> so that scripts can use this to guess which install scripts, etc. have been run, and hence which side-effects they might have had
<samueldr> well, their databases and state were updated
<samueldr> e.g. postgresql had a change where the system user used to run it changed
<warbo> (yeah
<samueldr> there is a condition, stateVersion < 17.09 it uses the older user, else the new user
<samueldr> there aren't that many `stateVersion` uses in <nixpkgs>, if you're curious you can grep around to see if there can be any breakge
fendor has quit [Ping timeout: 240 seconds]
rosa has quit [Quit: rosa]
rosa has joined #nixos
leat has joined #nixos
xcmw has joined #nixos
wangoe has quit [Quit: WeeChat 1.9.1]
joe3 has joined #nixos
<goibhniu> lol
hyper_ch2 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @jtojnar pushed to release-18.03 « gsmartcontrol: 0.8.7 → 1.1.3 »: https://git.io/vx5eL
fendor has joined #nixos
erasmas has joined #nixos
<gchristensen> I dunno, yorick, you should try it
<yorick> gchristensen: it makes smoe changes but nothing is much better
Aleksejs has quit [Remote host closed the connection]
<yorick> mostly adds spaces
seafood has quit [Quit: seafood]
<fendor> morning, got problems with stack and gloss, when executing a gloss applications, i get the error: https://hastebin.com/buqigovoke.pl
WhittlesJr has joined #nixos
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7944954e21f (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<zybell_> mg-: system.stateVersion is about the directory layout you installed nix with, meaning:where the installer put important files. Unless you want to move these files around to their new locations I would think it better to keep the number which unfortunately looks like the version which choosed the directories.
coot_ has joined #nixos
hihello has joined #nixos
marcinkuzminski has quit [Quit: ZNC - http://znc.in]
deba5e12 has quit [Quit: WeeChat 1.9.1]
<hihello> Hi, can anyone point me to something that can help me to accomplish this -> I want to be able have the latest gnome3(everything) while being on 18.03?
jperras has quit [Ping timeout: 265 seconds]
<WhittlesJr> Hey guys. My /etc/os-release is empty on some RPi3s that were deployed with NixOps, and I can't use them as remote builders as a result. Any thoughts?
<{^_^}> [nixpkgs] @baroncharlus closed pull request #38586 → Add `stubby` DNS-over-TLS service module → https://git.io/vxQCo
<yorick> WhittlesJr: put something in /etc/os-release :P
<gchristensen> why would os-release block the use of remote builders?
ThatDocsLady has quit [Ping timeout: 260 seconds]
<mg-> zybell_: I understand, leaving it for another release then :)
<gchristensen> mg-: you shouldn't change the stateVersion unless the docs indicate you should
Aleksejs has joined #nixos
xcmw has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti merged pull request #38613 → haskellPackages.blank-canvas: disable tests → https://git.io/vxQ69
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/vx5vM
<{^_^}> → 2d01bb7f by @endgame: haskellPackages.blank-canvas: disable tests
<{^_^}> → c2ce7070 by @endgame: Whitespace lint
<{^_^}> → 62e06d98 by @peti: Merge pull request #38613 from endgame/blank-canvas-dontcheck
<WhittlesJr> gchristensen: I get "machine-name> generating new SSH keypair... done machine-name> warning: cannot determine NixOS version". Then I later get "error: a 'aarch64-linux' is required to build '/nix/store/....drv', but I am a 'x86_64-linux'".
<WhittlesJr> gchristanses: But my nix.buildMachines and nix.distributedBuilds is configured correctly
<WhittlesJr> gchristanses: And I found that warning comes from https://github.com/NixOS/nixops/blob/master/nixops/deployment.py#L973
<kreisys> Is there any documented best practice on how to deal with build-time secrets so that they don't end up in the store?
<gchristensen> ... weird, WhittlesJr ...
<hihello> goibhniu: environment.systemPackages = [ unstable.PACKAGE_NAME ]; -> Is there like an alias for all the gnome package pulled by setting gnome3 to default?
<goibhniu> sorry hihello, I don't know
rosa has quit [Quit: rosa]
<Dezgeg> hm, who is responsible for setting up /etc/os-release? the installer or nixos-rebuild switch?
<zybell_> kreisys:there shouldn't be any build time secrets.
<hihello> goibhniu: Thanks anyway. Guess I'll get to searching. :)
<gchristensen> kreisys: you can use impure environment variables ... impureEnvVars (https://nixos.org/nix/manual/) but ideally don't have them
<WhittlesJr> gchristensen: So I'm trying to deploy to these RPi3s from an x86_64 using the RPi3s themselves as builders but it's not working. And my ssh connectivity is fine.
rosa has joined #nixos
<gchristensen> Dezgeg: activation time (switch)
<LnL> WhittlesJr: what's the build that's failing?
<samueldr> I personally hardcoded a path to something like /etc/secrets/some_file in the compiled package, and manage it without nix, kreisys, though I too would like to see what others are doing
<Dezgeg> ok, not the rpi image build scripts to blame then
<kreisys> zybell_: in real life there have to be sometimes... just like we can fetch a tarball using a fixed output derivation we should be able to fetch a tarball that's hosted behind an auth wall
<WhittlesJr> LnL: /nix/store/0lcllwrkw2f4xqpkpx5hzdmnr7r6b35c-append-initrd-secrets.drv
<kreisys> gchristensen: I'm aware of impureEnvVars but that doesn't apply to daemon builds
<{^_^}> [nixpkgs] @7c6f434c merged pull request #38119 → tachyon: Add support for jpeg, png, more platforms → https://git.io/vxrdU
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vx5fU
<{^_^}> → c7acd932 by Timo Kaufmann: tachyon: Add support for jpeg, png, more platforms
<samueldr> oh, build-time, sorry
<{^_^}> → b39f5398 by @7c6f434c: Merge pull request #38119 from timokau/tachyon-improvements
<gchristensen> kreisys: it does, you'd have to specify them to the daemon's process on startup.
<gchristensen> kreisys: unfortunately the truth is, the best way to not have them in the store is to not havee them
<kreisys> gchristensen: those are user specific secrets... they aren't supposed to be shared
<LnL> WhittlesJr: are you sure distributed builds are working?
<gchristensen> kreisys: what kind of secrets are you dealingwith?
<kreisys> npm auth token and github ssh key
<{^_^}> [nix] @shlevy pushed to master « Make prim_exec and prim_importNative available to plugins »: https://git.io/vx5fm
troydm has quit [Ping timeout: 265 seconds]
<LnL> WhittlesJr: nix-build '<nixpkgs>' -E 'with import <nixpkgs> { system = "bla"; }; hello.overrideDerivation { REBUILD = builtins.currentTime; }'
<zybell_> kreisys:Thats a fetch time secret;-) How about prefetching?
<gchristensen> yeah, best bet IMO is to fetch them before you run nix-build. it isn't pretty, but alas ...
<hihello> goibhniu: I'm slow... Two words -> Package overides
<gchristensen> think though about the implications of the artifacts you're fetching ending up in the nix store, and the value of the credentials preventing you from fetching them without creds in the first place
<kreisys> zybell_: I was looking into using builtins.fetchurl (which is supposed to take place during eval time I believe?) but that had 2 problems... 1) can't specify http headers and 2) only supports sha256 while I need to use several types of hashes (because npm -_-)
silver has joined #nixos
<kreisys> I'd rather avoid having to prefetch manually prior to building because I want my devs to actually adopt this
<zybell_> A ssh-key can be avoided by manually loging in with ssh as master session and having ssh config set up to slave to that master session.
joe3 has quit [Ping timeout: 256 seconds]
<WhittlesJr> LnL: Sorry, that's not evaluating for me... I assume you want system to be "aarch64-linux", but I'm not sure what else I would have to change for that to evaluate
rosa has quit [Quit: rosa]
<kreisys> zybell_: do you have a link detailing that method by any chance?
<LnL> WhittlesJr: yeah system = "aarch64-linux"; in your case :)
hihello has quit [Ping timeout: 260 seconds]
<woffs> Hi. I'm trying to fix 18.03 on i686 for me. How to override gcc = gcc6 for qt and haskellPackages.hslua?
jperras has joined #nixos
adamt has quit [Ping timeout: 260 seconds]
<zybell_> I did it to login to web space that didn't allow authorized-keys and found out about it from 'man ssh_config'/ControlMaster . I worked it out by myself so I cant give you a link atm. If you really need one, holler and I will google around, but it will take a while.
jrolfs_ has joined #nixos
fendor has quit [Remote host closed the connection]
<shlevy> puffnfresh: About to review nix-script-store-plugin and possibly integrate it into nix-plugins. Can you add a license if you don't have an objection? Also, would you object to renaming it command:// or stdio:// or some such?
fendor has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « multi-ghc-travis: update to latest git version »: https://git.io/vx5TK
szicari has quit [Quit: szicari]
xcmw has joined #nixos
szicari has joined #nixos
xAFFE has left #nixos ["Rechner geht in den Ruhezustand"]
selaux has quit [Remote host closed the connection]
<{^_^}> [nix] @shlevy pushed 4 commits to master: https://git.io/vx5ku
<{^_^}> → 399f43c3 by @samueldr: nix-shell: Fixes use with ruby shebangs.
<{^_^}> → 9478f886 by @samueldr: Adds `nix-shell` test for special-cased ruby interpreter.
<{^_^}> → a4c9b259 by @samueldr: Hardcodes `nix-shell` instead of `/usr/bin/env nix-shell`...
<{^_^}> [nix] @shlevy merged pull request #2056 → nix-shell: Fixes use with ruby shebangs. → https://git.io/vxQlp
ryanartecona has joined #nixos
xcmw has quit [Client Quit]
joe3 has joined #nixos
adamt has joined #nixos
adamt is now known as Guest17535
<WhittlesJr> LnL, gchristensen: Sorry, I'm a little stupid. The distributed build problem was my fault (had the config in the wrong place). But the empty os-release is real. Not sure if it matters. Sorry for the noise.
hph^ has quit []
detran` has joined #nixos
iqubic` has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @sondr3 opened pull request #38650 → gitea: 1.3.3 -> 1.4.0 → https://git.io/vx5IK
orivej has quit [Ping timeout: 260 seconds]
spietz has joined #nixos
sanscoeur has quit [Remote host closed the connection]
<kreisys> zybell_: That's all I needed. Thanks!
deepfire has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #38651 → musl: enable musl-gcc, ld.musl-clang, musl-clang → https://git.io/vx5Ly
joe3 has quit [Ping timeout: 265 seconds]
coot_ has quit [Quit: coot_]
coot_ has joined #nixos
<WhittlesJr> Well I got further with my RPi3 deployment, but... https://pastebin.com/17PmUCw6. It's expecting hashes of 0 for everything built on the RPi3s.
Guest17535 has quit [Ping timeout: 256 seconds]
knupfer has quit [Ping timeout: 264 seconds]
troydm has joined #nixos
<telent_[m]> ```
<telent_[m]> install: cannot stat '/nix/store/pbfbn27lwkrr2305i0cnxhbs6hpg7rlc-Libsystem-osx-10.11.6/bin/getconf': No such file or directory
<telent_[m]> ```
<telent_[m]> trying to install rabbitmq_server on darwin, any ideas?
<telent_[m]> macos 10.13.4 apparently
<telent_[m]> (sudden thought: I hope the matrix->irc gateway does something sensle with markdown formatting)
<gchristensen> (it does not)
Guest17535 has joined #nixos
<telent_[m]> sorry. ok, well, the bit inside teh backticks is an error message from running nix-shell -I nixpkgs=$HOME/nixpkgs -p rabbitmq_server
warbo has left #nixos [#nixos]
<telent_[m]> where $HOME/nixpkgs is current HEAD checkout of nixpkgs from github
<kreisys> zybell_: whoa thanks that's actually awesome! it really cuts down on those git fetches (got quite a few of those)
winem_ has quit [Ping timeout: 240 seconds]
fendor has quit [Ping timeout: 265 seconds]
mmercier has joined #nixos
<Dezgeg> WhittlesJr: try running nix-store --verify --check-contents on the rpi
<Dezgeg> I probably need to fix the rpi3 image building scripts to have hashes in the initial database
<{^_^}> [nixpkgs] @hedning opened pull request #38652 → zsh: 5.4.2 -> 5.5 → https://git.io/vx5qM
knupfer has joined #nixos
<WhittlesJr> Dezgeg: Thanks, I'll try that. And I assume I'd have to run that on every pi on the network (since they're all being used as builders?)
<ocharles> How do I generate a sha256 to give to builtins.fetchTarball?
<Dezgeg> yes
<ocharles> Note that when obtaining the hash with nix-prefetch-url the option --unpack is required. aha
mizu_no__ has joined #nixos
<WhittlesJr> Dezgeg: OK. And is adding the --repair flag optional or necessary? (Or even recommended?)
<telent_[m]> I still do date | sha256sum then run the derivation to get an error message then paste the actual sha256 in :-)
<Dezgeg> hmm
<Dezgeg> I can't remember right now
spear2 has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @shlevy pushed to master « Export required C++ version in pkgconfig. »: https://git.io/vx5mM
<WhittlesJr> Dezgeg: ok. my assumption is that --repair is for redownloading wrong things. But the problem here is that all of the hashes are just missing, I think? (Pretty much everything is saying "fixing missing hash" and "updating size field")
<Dezgeg> I think it should just be recomputing the hash
mizu_no__ has quit [Client Quit]
<Dezgeg> not downloading anything
<Dezgeg> if --repair makes it download things then don't pass --repair
<WhittlesJr> Dezgeg: Got it.
fendor has joined #nixos
jtojnar has quit [Remote host closed the connection]
<WhittlesJr> Dezgeg: It seems to only redownload if it computes a hash that is not what it should be. For missing hashes it just computes the hash.
<Dezgeg> I don't know why hash mismatches are happening though
knupfer1 has joined #nixos
<WhittlesJr> Dezgeg: I do get a handful, and they're all related to python2.7-azure-mgmt-*****
kmicklas has joined #nixos
<Dezgeg> hmmh
knupfer has quit [Read error: Connection reset by peer]
knupfer1 is now known as knupfer
pacmeister has joined #nixos
<pacmeister> Hello
<pacmeister> Can I ask general noobie questions here or is this IRC for development?
<{^_^}> [nixpkgs] @dotlambda pushed to master « abcmidi: 2018.03.21 -> 2018.04.01 »: https://git.io/vx5Oe
<shlevy> pacmeister: we have #nixos-dev :) Ask away!
<WhittlesJr> Dezgeg: That did the trick! Thank you.
sehqlr has joined #nixos
<pacmeister> cool
<fendor> morning, got problems with stack and gloss, when executing a gloss applications, i get the error: https://hastebin.com/buqigovoke.pl
<Dezgeg> ok, great. it should get fixed for new images soonish
Xyoff is now known as unacceptable
<pacmeister> does nixos care if i create my own configs in my home directory? e.g. installing oh-my-zsh without nix-env, or creating my own .desktop files in ~/.local/share/applications
<pacmeister> like will it break something?
<telent_[m]> hmm, looks liek redis has the same issue on darwin. I am speculating but
knupfer has quit [Ping timeout: 265 seconds]
<telent_[m]> is this expected to work on non-glibc?
<WhittlesJr> Dezgeg: sounds good. Thanks again.
<telent_[m]> (line 9 or so)
<Myrl-saki> I don't get how to use why-depends.
Guest17535 has quit [Ping timeout: 276 seconds]
<Myrl-saki> I'm passing a drv to it, but it tries to download from cache.nixos.org
<Myrl-saki> I'm trying to figure out why my system depends on something.
<benny> pacmeister: I'm doing that and nothing breaks
jrolfs_ has quit [Ping timeout: 264 seconds]
<telent_[m]> no, I'm wrong abotu redis being broken, it's just rabbitmq
<{^_^}> [nixpkgs] @Mic92 merged pull request #38652 → zsh: 5.4.2 -> 5.5 → https://git.io/vx5qM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx53L
<{^_^}> → 9d53bc38 by @hedning: zsh: 5.4.2 -> 5.5
<{^_^}> → e357eb04 by @Mic92: Merge pull request #38652 from hedning/zsh-5.5
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
johnw has joined #nixos
nhill has quit [Quit: WeeChat 0.4.2]
<clever> Myrl-saki: probably
<Myrl-saki> clever: Ah, good. Do you have any updated tips? I finally started tinkering with my Raspi again.
<clever> Myrl-saki: i recently made this nixos module to simplify the process: https://github.com/cleverca22/nixos-configs/blob/master/qemu.nix
<clever> just add it to imports and qemu-user.arm = true;
<Myrl-saki> clever: Do `-march=native`s have the same hash?
<clever> any change to the flags will affect the storepath
<clever> and the native vs cross will always have different paths
<Myrl-saki> clever: I mean, for example, I have an i7 and a p4, will -march=native have the same hash?
<clever> oh wait, but the qemu-user stuff is a fake "native->native" build
<clever> so the compiler will think you have an armv7l cpu
<Myrl-saki> I disabled the NIX_ENFORCE_NO_NATIVE check, so -march=native is getting passed to the compiler.
TweyII has joined #nixos
<zybell_> fendor: The Prtocol message is often about missing XAUTHORITY. Do you correctly authorize DISPLAY :1?
<fendor> zybell_, i dont know how i would do that
<TweyII> I'm sure there used to be a single command to make a binary cache, didn't there?
<clever> TweyII: nix-push
<TweyII> Ahh, thanks
<zybell_> Then I would start with telling what you *do* to get that message.
<TweyII> What happened to that?
<fendor> zybell_, i use stack exec
freeman42x]NixOS has joined #nixos
<TweyII> I don't see an equivalent in the new Nix command
knupfer has joined #nixos
<TweyII> Ah, nix copy
danyc0_ has quit [Remote host closed the connection]
<Myrl-saki> clever: After enabling it, what should I do next? Also, this is armv7?
<clever> Myrl-saki: v6 and v7
<clever> Myrl-saki: just nixos-rebuild and it will just work
<Myrl-saki> clever: What should I add on the RasPi side?
<clever> the normal build slave config in /etc/nix/machines
<Myrl-saki> clever: Does this still have that xargs bug?
<Myrl-saki> clever: The one where it doesn't work for insanely long argument?
<Myrl-saki> Or at least that's how I remember it.
* Myrl-saki is forgetful
<clever> Myrl-saki: i think its been fixed
hakujin has joined #nixos
<Myrl-saki> clever: http://ix.io/17mS
<Myrl-saki> clever: + hardeningCFlags+=('-O2' '-fopt-info-optimized' '-ftree-vectorize' '-march=native' '-D_FORTIFY_SOURCE=2')
<Myrl-saki> clever: Am I doing this correctly?
jrolfs_ has joined #nixos
<Myrl-saki> clever: FWIW, I'm removing march=native and using https://www.funtoo.org/Raspberry_Pi_(Version_2)
<clever> not sure what that will do to things
<Myrl-saki> clever: I guess I'll figure out soon? Do the nixpkgs of both machines have to be the same, or will the .drv of the RasPi get passed to my desktop?
<clever> it will push the .drv over
<Myrl-saki> clever: Thanks for the help.
<clever> yep
<Myrl-saki> clever: Do I have to add /etc/nix/machines to NIX_PATH?
<clever> no
<{^_^}> [nixpkgs] @peterhoeg opened pull request #38653 → home-assistant: make hass cloud integration work → https://git.io/vx5ZM
jensens has quit [Ping timeout: 240 seconds]
<zybell_> fendor:Probably not. What is stack for? Is it a script or binary? How is the *full* command you give? What is the meaning of flags you give? Why is there a second DISPLAY in the picture? Obviously you are doing something not right, please take care to give helpers as much and *accurate* info as you can. Your helper may be behind a small bw connection(as I am), that prevents him to download your sw to play with it. Maybe he doesn't want to
<zybell_> install any sw he himself doesn't need. You ask now for half a day and nobody touches that question. In your place I would think about,why not.
telent has quit [Ping timeout: 268 seconds]
dan_b has quit [Ping timeout: 265 seconds]
vidbina has joined #nixos
<fendor> stack is a build tool for haskell projects. i can provide an example via git. I dont know why any of that stuff is happening, i am pretty sure it is some config issue involving nixos, stack and glut/opengl, and i also found some resources about it.
<fendor> i dont know what information i should provide thats why i am pretty vague
coot_ has quit [Quit: coot_]
jrolfs has joined #nixos
<Myrl-saki> clever: How to verify that the remote build is working?
jrolfs has quit [Client Quit]
<clever> Myrl-saki: check to see if gcc is running on the remote machine
<Myrl-saki> clever: Doesn't seem so.
<Myrl-saki> clever: Oh wait, your module is still compiling.
<Myrl-saki> clever: I'll report back once it's done
<zybell_> ok, as a build tool stack itself sholdn't touch a XServer, probably some build script. Since opengl is involved I would suspect some build rule for opengl. Normal build rules sholdn't touch X either, but tests can. That would also explain the second DISPLAY. Do you need the tests?
<fendor> zybell_, i am not executing any tests, when executing the program, it dies as soon as it tries to open a window
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/40fd4903c2c (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
pacmeister has quit [Quit: WeeChat 2.0]
knupfer has quit [Remote host closed the connection]
<zybell_> But *why* does it try to open a window? I do *not* see any reason it should. Btw I would like to see the full command line.
<clever> fendor: i suspect that whatever your building has fully built, and the exec in `stack exec` is now running a gui program
xcmw has joined #nixos
pacmeister has joined #nixos
<clever> fendor: does xterm work from the same shell?
ambro718 has joined #nixos
<fendor> clever, yes, it does fully compile and xterm works from the same shell
<pacmeister> how would one go about getting kdialog/qtdialog to work with chromium? it should support it without a patch (unlike firefox which opensuse had to make a patch for)
<zybell_> clever:DISPLAY is :1!
<ambro718> I want to enable plasma5 and xfce and get this error https://github.com/NixOS/nixpkgs/issues/33231 is there a workaround?
<hakujin> clever: do you know of a way to use the nix build environment for side effects? e.g. I want to use the host nix store to `nix-copy-closure`. I understand this isn't the, uh, recommended fashion.
goibhniu has quit [Ping timeout: 268 seconds]
<clever> hakujin: its simpler to just manually run nix copy after nix-store has finished
Turion has joined #nixos
Ariakenom has joined #nixos
hakujin has quit [Quit: WeeChat 2.1]
logzet has joined #nixos
xcmw has quit [Ping timeout: 240 seconds]
<avn> Folks, does anyone remember, what package provides x11-xcb for pkg-config?
<clever> [clever@amd-nixos:~]$ nix-locate x11-xcb
<clever> xlibs.libX11.dev 371 r /nix/store/2802m84rk70vac9n6wz6d8cgzzzk2600-libX11-1.6.5-dev/lib/pkgconfig/x11-xcb.pc
<clever> avn: just add xlibs.libX11 and pkgconfig to buildInputs
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
blankhart has quit [Ping timeout: 268 seconds]
vidbina has quit [Ping timeout: 260 seconds]
<cbarrett> i'm on 18.03 but I'm not seeing nix 2.0
<cbarrett> (i'm on a mac using the darwin channel)
<cbarrett> I'm sure it's something obvious that I'm missing
<clever> cbarrett: what does `type nix-store` return?
<cbarrett> nix-store is /nix/var/nix/profiles/default/bin/nix-store
vidbina has joined #nixos
<clever> cbarrett: `sudo -i` then `nix-env -iA nixpkgs.nix`
<avn> clever: ty, looks it works ;) Just some "if we have mass rebuild here, why not fix also...."
<{^_^}> [nixpkgs] @thoughtpolice pushed 21 commits to pgsql-fixes: https://git.io/vx5CV
<{^_^}> → 9fdec8ec by @thoughtpolice: nixpkgs: deprecate the badly named 'postgresql100' attribute
<{^_^}> → 495794c9 by @thoughtpolice: nixpkgs: move postgresql patches into a common directory
<{^_^}> → 02a51bc5 by @thoughtpolice: nixpkgs: reorganize the postgresql extensions
sanscoeur has joined #nixos
<cbarrett> clever: i'll try it
<{^_^}> [nixpkgs] @thoughtpolice pushed 0 commits to pgsql-fixes: https://git.io/vx5Cr
<thoughtpolice> oops, haha, sorry about that
blankhart has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #38654 → testssl: 2.9.5-3 -> 2.9.5-4 → https://git.io/vx5CX
<cbarrett> clever: looks like there were some turds leftover in /var/root
<cbarrett> had a .nix-channels and a .nix-defexpr
<cbarrett> maybe that was causing it
<clever> cbarrett: those are supposed to be there
<cbarrett> Why? i'm not using a mulit-user install
<cbarrett> (or at least I shouldn't be)
<clever> cbarrett: where does ~/.nix-profile point for the non-root user?
<cbarrett> /nix/var/nix/profiles/per-user/cbarrett/profile
<clever> cbarrett: then you are using a multi-user install
<cbarrett> that's quite surprising to me
<clever> the darwin installer defaults to that
<cbarrett> I know
<cbarrett> I thought I changed it. I have services.nix-daemon.enable = false;
<zybell_> Does ps show that nix-daemon doesn't run?
<cbarrett> yes
<cbarrett> output of ps ax | grep nix
<cbarrett> 37737 s000 R+ 0:00.00 /nix/store/v8s78asc7k39a2jh9g06md52d9v3vhn3-gnugrep-3.1/bin/grep --color=auto nix
<clever> cbarrett: who owns /nix/store/ ?
<cbarrett> I do
<cbarrett> I own /nix
<cbarrett> as well as /nix/store and /nix/var
<clever> ah, then its mostly single-user
<clever> but your nix was still in roots profile
<cbarrett> if I'm on some frankensystem, I wannt fix it :)
fendor_ has joined #nixos
<zybell_> I think its former multiuser converted to singleuser.
<cbarrett> that sounds like what I did
<{^_^}> [nixpkgs] @LnL7 merged pull request #38648 → CODEOWNERS: add Mic92/LnL7 for rustc → https://git.io/vx7pC
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/vx5lc
<{^_^}> → ed453ccb by @Mic92: CODEOWNERS: add Mic92/LnL7 for rustc
<{^_^}> → 8d7c9630 by @LnL7: Merge pull request #38648 from Mic92/rustc
<zybell_> I think /root/.nix... wasn't deleted then. Maybe for rollback, that never came.
<{^_^}> [nixpkgs] @dotlambda pushed to master « ghostwriter: 1.5.0 -> 1.6.1 »: https://git.io/vx5l0
ndrei has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 264 seconds]
fendor_ is now known as fendor
<zybell_> Could it be that the multiuser state is recorded as a generation?
<{^_^}> [nixpkgs] @nlewo merged pull request #38021 → krakenx: init at 0.0.1 → https://git.io/vxaxv
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vx5l2
<{^_^}> → 60720eb2 by @WilliButz: krakenx: init at 0.0.1
<{^_^}> → a15c5787 by @nlewo: Merge pull request #38021 from WilliButz/add-krakenx
boomshroom has joined #nixos
<boomshroom> Hello!
bpa has joined #nixos
vidbina has quit [Ping timeout: 265 seconds]
Myrl-saki has quit [Quit: WeeChat 2.0]
<cbarrett> zybell_: yeah I just noticed those (if you scroll up a bit) and nuked them
coot_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #38655 → pipenv: 10.1.2 -> 11.9.0 → https://git.io/vx5l7
<cbarrett> what should I do now
hotfuzz has joined #nixos
<cbarrett> trying a gc
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/03667476e33 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
hotfuzz__ has joined #nixos
<cbarrett> I wonder if this is relevant -- i'm using nix-darwin
mmercier has quit [Ping timeout: 260 seconds]
hotfuzz_ has quit [Ping timeout: 264 seconds]
sigmundv__ has quit [Ping timeout: 268 seconds]
coot_ has quit [Quit: coot_]
hotfuzz has quit [Ping timeout: 256 seconds]
ryanartecona has quit [Quit: ryanartecona]
johnw has quit [Ping timeout: 260 seconds]
lo_mlatu has joined #nixos
hotfuzz has joined #nixos
johnw has joined #nixos
<LnL> cbarrett: what's the problem?
<cbarrett> not updating nix
<zybell_> cbarrett:I meant there is a formal nix object called 'generation' which may reference these and may be broken by just rm.
<cbarrett> ah
<cbarrett> LnL7: still on 1.11.13 for some reason
<{^_^}> [nixpkgs] @Mic92 pushed to master « vimPlugins.UltiSnips: add old alias back »: https://git.io/vx54l
ndrei has joined #nixos
<LnL> can you paste nix-info
fragamus has joined #nixos
Myrl-saki has joined #nixos
pie_ has quit [Remote host closed the connection]
<Myrl-saki> I'm not the only person who stupidly removed all my substituters, right?
<Myrl-saki> Err
pie_ has joined #nixos
<Myrl-saki> Rather, who made a configuration.nix without a substituter.
hotfuzz__ has quit [Ping timeout: 260 seconds]
<Myrl-saki> And is now trying to fix it but has no idea of oing so?
<cbarrett> don't seem to have that cmd
<LnL> --option substituters https://cache.nixos.org
<Myrl-saki> Because --option is not helping.
freeman42x]NixOS has joined #nixos
<mkaito> I'm building a remote system with `nixos-rebuild --target-host`, and there are a few nix files on the remote that I want to put in `includes`. Do I need to download them first, or can I tell Nix that these files are on the target host?
<Myrl-saki> LnL: I get an untrusted substituter.
<LnL> run that as root or a trusted user
<Myrl-saki> LnL: i have.
<Myrl-saki> Errr.
<LnL> euh
<Myrl-saki> LnL: Is root a trusted user by default?
<LnL> yes
<Myrl-saki> LnL: I mean, implicitly*
<Myrl-saki> LnL: If, say, I set a trusted user explicitly, is root no longer trusted?
<LnL> no, I'm pretty sure it's always considered trusted
<LnL> and otherwise you can bypass the daemon with --store local
<LnL> cbarrett: that's weird, with nix-darwin you should have it
<cbarrett> I think i may be stuck on an old version somehow
Myrl-saki has quit [Quit: WeeChat 2.0]
<cbarrett> darwin-rebuild changelog gives the newest entry as 2017-07-28
Myrl-saki has joined #nixos
<Myrl-saki> LnL: Thanks.
<LnL> what about nix-shell -p nix-info --run nix-info
<cbarrett> undefined variable
<LnL> hrm
<LnL> that? :D
ryanartecona has joined #nixos
<cbarrett> nice :)
<cbarrett> that's a win for nix
<cbarrett> system: "x86_64-darwin", multi-user?: no, version: nix-env (Nix) 1.11.13, channels(cbarrett): "nixpkgs-18.03pre131930.03667476e33, darwin", channels(root): "darwin, nixpkgs-17.09pre112229.e619ace733", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
<{^_^}> [nixpkgs] @Mic92 pushed to master « vimPlugins.colors-solarized: add old alias back »: https://git.io/vx5RU
<Myrl-saki> clever: Ping, are you currently here?
<LnL> cbarrett: ok, so your channels are managed as root not your user
<cbarrett> I don't think I want that
<cbarrett> But i'm not sure
johnw has quit [Ping timeout: 265 seconds]
TweyII has quit [Ping timeout: 256 seconds]
<LnL> my new installer will ask to configure user channels by defaukt
<zybell_> Check that you own /nix/var/nix/per-user/root despite its name /nix/var you do.
<Myrl-saki> How do I import the ARM nixpkgs?
coot has joined #nixos
<zybell_> *nix/profiles/per-user grr
<cbarrett> zybell_: nothing at that path for me .did you miss a profiles
<cbarrett> heh
<LnL> Myrl-saki: nix-build -E 'with import <nixpkgs> { system = "aarch64-linux"; }; hello'
<cbarrett> and yeah I own /root
<zybell_> faster;-)
<Myrl-saki> LnL: Thanks.
<cbarrett> .../root
<cbarrett> so how do I get my channels to be user channels? pointer to the relevant docs would be appreciated
<clever> Myrl-saki: desktop is freezing up
orivej has joined #nixos
pacmeister has quit [Quit: WeeChat 2.0]
<zybell_> How does it find channels(root) Didn't you nuke it? Where does cbarrett/.nix-profile point?
<LnL> cbarrett: just running the installer again might work
<Myrl-saki> clever: Take your time, I have a few things I need help with, if that's okay with you.
fendor_ has joined #nixos
fendor_ has quit [Client Quit]
jrolfs_ has quit [Ping timeout: 260 seconds]
ambro718 has quit [Quit: Konversation terminated!]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @krav opened pull request #38656 → sleepyhead: init at 1.0.0-beta → https://git.io/vx5uf
ryanartecona has quit [Quit: ryanartecona]
<Myrl-saki> pi@raspberrypi:~ $ strace nix build nixpkgs.nix --builders '@/home/pi/.config/nix/machines'
<Myrl-saki> It's not trying to read .config/nix/machines..
jmeredith_ has joined #nixos
<LnL> is that a trusted user?
<Myrl-saki> LnL: How do I find out? I know less about just-nix than NixOS
<LnL> what does the nix-daemon log look like?
<Myrl-saki> LnL: How do I get the log
<LnL> accepted connection from pid 11127, user lnl (trusted)
<Myrl-saki> Ohh
<LnL> depends how it's running :)
<Myrl-saki> LnL: accepted connection from pid 1295, user pi
<Myrl-saki> How do I make it trusted?
<Myrl-saki> LnL: Does nix-daemon read /etc/nix/nix.conf?
<LnL> yeah
<clever> [clever@system76:~]$ cat /etc/nix/nix.conf
<clever> trusted-users = builder
<Myrl-saki> pi@raspberrypi:~ $ cat /etc/nix/nix.conf
<Myrl-saki> builders = @/etc/nix/machines
<LnL> ^ add that and restart the daemon
<clever> Myrl-saki: also, you can set a default for that in nix-daemon's env
<clever> not sure about that config you pasted
<Myrl-saki> clever: So, in my case, trusted-users=pi?
<clever> yeah
<Myrl-saki> Errr, I think I have to place it in /usr/local/etc
Drakonis[m] has quit [Changing host]
Drakonis[m] has joined #nixos
Drakonis[m] has joined #nixos
<Myrl-saki> clever: LnL: Should I consider rebuilding nix with a different prefix?
<clever> id say rebuild nix with nix
<LnL> :D
<Myrl-saki> clever: LnL: The /usr/local throws me off a bit, but I'm scared it might conflict with apt.
<cbarrett> back
<Myrl-saki> clever: True, makes sense.
<LnL> eww apt
johnw has joined #nixos
<Myrl-saki> unable to open SSH connection to 'ssh://disnix@192.168.1.101': cannot connect to 'disnix@192.168.1.101'; trying other available machines...
<Myrl-saki> It's something!
<Myrl-saki> LnL: Shh
<Myrl-saki> I presonally hate apt, but it's probably the only sane RasPi OS.
<LnL> that looks better, let me find a gist...
<cbarrett> oh boy
<cbarrett> i figured it out
<cbarrett> NIXPATH is darwin-config=/Users/cbarrett/.nixpkgs/darwin-configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<gchristensen> I can never remember how to call borgbackup
mmlb has quit [Read error: Connection reset by peer]
<Myrl-saki> LnL: It's actually funnier than that. Make a guess.
<LnL> Myrl-saki: ignore the darwin parts, but go over the steps I posted in the coment
<Myrl-saki> clever: Thanks! The binfmt works.
<LnL> oh?
mmlb has joined #nixos
<Myrl-saki> LnL: Yeah, it was the known_hosts thing. I just ssh'd to it manually and it started working.
<LnL> yeah that's an annoying one
<LnL> guess who made that nicer recently?
<clever> you?
<Myrl-saki> LnL: You?
<{^_^}> [nixpkgs] @Mic92 merged pull request #38654 → testssl: 2.9.5-3 -> 2.9.5-4 → https://git.io/vx5CX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx5gI
<{^_^}> → 7b4ed22b by @etu: testssl: 2.9.5-3 -> 2.9.5-4
<{^_^}> → 43a3cfe0 by @Mic92: Merge pull request #38654 from etu/testssl-update
<LnL> euh, no
<Myrl-saki> clever: LnL: Once again, thanks. I really appreciate the help. This RasPi can finally be put to use.
mmlb has quit [Read error: Connection reset by peer]
<LnL> gchristensen: ^ :D
<gchristensen> what'd I do? :)
mmlb has joined #nixos
<Myrl-saki> How does --cores and --max-jobs work with remote?
<cbarrett> ran darwin-rebuild switch with a more sensisble NIX_PATH
<cbarrett> and it's now building
<LnL> gchristensen: known_hosts error handling or did I dream that?
mmlb has quit [Read error: Connection reset by peer]
<gchristensen> ah, no, I haven't done anything about that
<gchristensen> I wish, though ...!
<LnL> huh?
* LnL is confused
<Myrl-saki> Question w.r.t. remote builds
<gchristensen> nice
<LnL> gchristensen: hmm, what was the awesome thing you did recently then?
rauno has joined #nixos
<gchristensen> hehehe I sent a patch to explain what features were required when it couldn't use any existing remote builders
<gchristensen> (but it isn't merged)
<Myrl-saki> I have machine foo. On foo, I want to build c, with the dep graph a->b->c. I have `a` already built on foo(the master). I have a build slave, bar, which wants to build b. Will foo copy a to bar or will bar rebuild a?
<LnL> oh! yeah that's what I was thinking of
<gchristensen> hmm I should wait for this backup to finish prior to deleting some partitions on another disk ...
humanoyd has quit [Quit: WeeChat 2.1]
<cbarrett> hm
<cbarrett> something seems to have put this in bashrc
<cbarrett> 18 export NIX_PATH="darwin-config=$HOME/.nixpkgs/darwin-configuration.nix:/nix/ var/nix/profiles/per-user/root/channels:$HOME/.nix-defexpr/channels"
<cbarrett> (copied out of a terminal sorry for the funky spacing)
dweller has quit [Remote host closed the connection]
ottidmes has quit [Quit: WeeChat 2.0]
<cbarrett> /etc/bashrc I mean
johnw has quit [Ping timeout: 264 seconds]
palo has quit [Remote host closed the connection]
<LnL> that's from nix-darwin
jrolfs_ has joined #nixos
fragamus has joined #nixos
vaninwagen has joined #nixos
barrucadu has quit [Quit: Rebooting for kernel upgrade]
barrucadu has joined #nixos
barrucadu has quit [Changing host]
barrucadu has joined #nixos
dan_b has joined #nixos
telent has joined #nixos
ma27 has quit [Quit: WeeChat 2.0]
marin has joined #nixos
marin is now known as Guest16390
ma27 has joined #nixos
<Guest16390> how do i install gnome on nixos
asuryawanshi has quit [Remote host closed the connection]
<tilpner> services.xserver.desktopManager.gnome3.enable
xcmw has joined #nixos
asuryawanshi has joined #nixos
<Guest16390> thank you
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37634 → opendylan: 2013.1 -> 2016.1pre → https://git.io/vxlE4
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx5rA
<{^_^}> → 989c4e94 by @matthewbauer: Merge pull request #37634 from coreyoconnor/opendylan
<{^_^}> → 00823f01 by @coreyoconnor: opendylan: 2013.1 -> 2016.1pre
freeman42x]NixOS has quit [Read error: Connection reset by peer]
jrolfs_ has quit [Ping timeout: 240 seconds]
ryanartecona has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37066 → mcelog: 154 -> 156 → https://git.io/vxLYz
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx5om
<{^_^}> → f4474380 by @ryantm: mcelog: 154 -> 156
<Profpatsch> What’s the most minimal shell I can put in a closure?
<{^_^}> → 2729fcf5 by @matthewbauer: Merge pull request #37066 from ryantm/auto-update/mcelog
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37060 → live555: 2018.02.12 -> 2018.02.28 → https://git.io/vxLqE
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx5oO
<{^_^}> → 5c320487 by @matthewbauer: Merge pull request #37060 from ryantm/auto-update/live555
<{^_^}> → 6ab10aba by @ryantm: live555: 2018.02.12 -> 2018.02.28
freeman42x]NixOS has joined #nixos
jrolfs_ has joined #nixos
Guest16390 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @dasJ opened pull request #38658 → dnsdist: init at 1.3.0 → https://git.io/vx5oR
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36884 → p4v: init at 2017.3.1601999 → https://git.io/vxJLP
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vx5ou
<{^_^}> → b07bc129 by @nioncode: p4v: init at 2017.3.1601999
<{^_^}> → 7d767d3a by @nioncode: p4v: patch the interpreter for all binaries, not just p4merge.bin
<{^_^}> → be40a8b2 by @nioncode: p4v: use https links
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36852 → sasview: init at 4.1.2 → https://git.io/vxv4Y
<{^_^}> [nixpkgs] @matthewbauer pushed 10 commits to master: https://git.io/vx5ow
<{^_^}> → e1edb557 by @rprospero: pythonPackages.periodictable: init at 1.5.0
<{^_^}> → db2e6b6e by @rprospero: pythonPackages.unittest-xml-reporting: init at 2.1.1
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> → 242e3780 by @rprospero: pythonPackage.bumps: init at 0.7.6
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36821 → f3: 6.0-2016.11.16-unstable -> 7.0 → https://git.io/vxewQ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx5oH
<{^_^}> → 5b1cd5d2 by @jfrankenau: f3: 6.0-2016.11.16-unstable -> 7.0
<{^_^}> → cc5c927a by @matthewbauer: Merge pull request #36821 from jfrankenau/update-f3
rauno has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36488 → libetpan: 1.6 -> 1.8 → https://git.io/vANiT
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vx5Ks
<{^_^}> → 17e8da6b by @mogorman: libetpan: 1.6 -> 1.8
<{^_^}> → 44882a9b by @mogorman: mailcore2: 0.5.1 -> 0.6.2
<{^_^}> → 200e016e by @matthewbauer: Merge pull request #36488 from mogorman/libetpan
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36448 → ldc: 1.7.0 -> 1.8.0 → https://git.io/vAbpa
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx5KC
<{^_^}> → be8c9afa by @ThomasMader: ldc: 1.7.0 -> 1.8.0
<{^_^}> → 20d7561a by @matthewbauer: Merge pull request #36448 from ThomasMader/dlang-update
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36444 → kdebugsettings: init → https://git.io/vAbAQ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx5KB
<{^_^}> → 0a9319a4 by @rittelle: kdebugsettings: init
<{^_^}> → 5336176a by @matthewbauer: Merge pull request #36444 from rittelle/master
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36363 → i3-wk-switch: init at 484f840 → https://git.io/vA7dV
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to master: https://git.io/vx5Kg
<{^_^}> → 24246f2d by @Synthetica9: i3-wk-switch: init at 2017-08-21
<{^_^}> → f3c5939a by @Synthetica9: fix license
<{^_^}> → eba94285 by @Synthetica9: Following @teto's suggestion with regards to pname
<Myrl-saki> Wow, qemu is still not done with ./configure
<{^_^}> [nixpkgs] @dezgeg pushed to master « rustc: Disable failing test on aarch64 »: https://git.io/vx5KF
MP2E has joined #nixos
<clever> Myrl-saki: whats the last thing it output?
<Myrl-saki> clever: I mean ./configure under qemu.
<clever> ah
<clever> yeah, that can take forever
<Myrl-saki> clever: It has been running for around 30 minutes already.
<clever> ive had perl configure run for several hours
<Myrl-saki> clever: Lmao. Yep. It's perl!
<clever> just go to bed :P
<Myrl-saki> It's still 3 AM, too early. x
<Myrl-saki> :x
<clever> with any luck, it might be done by the time you wake up
<clever> you still need luck if you want it done by the time you wake up :P
<Myrl-saki> clever: So true.
<clever> also, its 4pm here!
<Myrl-saki> clever: How do I prioritize the local machine w.r.t. building ?
<clever> not sure how you can do that, other then turning remote building off entirely
<Myrl-saki> clever: Oh. :(
<Myrl-saki> clever: Also. I have machine foo. On foo, I want to build c, with the dep graph a->b->c. I have `a` already built on foo(the master). I have a build slave, bar, which wants to build b. Will foo copy a to bar or will bar rebuild a?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #35475 → kodi: add IPTV Simple addon → https://git.io/vAVjv
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx56n
<{^_^}> → 3c801e92 by @ljli: kodi: add IPTV Simple addon
<{^_^}> → 205dfeb8 by @matthewbauer: Merge pull request #35475 from ljli/kodi-iptv-simple
<clever> if you run the nix-build on the master with a, it will push a out to foo
<Myrl-saki> clever: push a out to bar*?
<clever> whatever the slave happens to be
<Myrl-saki> clever: Right.
<Myrl-saki> clever: Thanks.
<Myrl-saki> clever: So, my best bet is to disable remote building, build perl, enable remote building?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #35121 → firehol: 3.1.5: fix errors when running firehol command → https://git.io/vA83K
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vx56V
<{^_^}> → d8a4e098 by @xeji: firehol: 3.1.5: search for config files in /etc/firehol
<{^_^}> → dce83f0b by @xeji: firehol: 3.1.5: fix uname command path quoting bug
<{^_^}> → b91fc28d by @xeji: firehol: build firehol command by default
<clever> yeah
aarvar has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #35545 → Adding photoflow → https://git.io/vAwxs
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/vx56K
<{^_^}> → f3045a5a by Marko Poikonen: photoflow: init at unstable-2018-03-06
<{^_^}> → f1c8417c by @jtojnar: Merge pull request #35545 from MtP76/photoflow
dweller has joined #nixos
<kreisys> LnL: do you have any idea whether it's possible to prevent macos starting mdworker (and a bunch of other daemons.. including /usr/libexec lsd *eyeroll*) for each and every nixbld user being used? I'm pretty sure that's what's making my laptop melt whenever I try to build something...
<{^_^}> [nixpkgs] @matthewbauer merged pull request #34864 → graph-tool: 2.16 -> 2.26 → https://git.io/vAqEP
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vx56y
<{^_^}> → a842f0e9 by @ciderale: graph-tool: 2.16 -> 2.26
<{^_^}> → db8d8ac3 by @matthewbauer: Merge pull request #34864 from ciderale/py3k-graph-tool-update
<{^_^}> → 83dc28ca by @ciderale: graph-tool: use buildPythonPackage with format = "other";
jrolfs_ has quit [Ping timeout: 264 seconds]
jtojnar has joined #nixos
<kreisys> Asking LnL because he wrote nix-darwin but if anyone else knows.. please! I don't need another stove top :P
<{^_^}> [nixpkgs] @matthewbauer merged pull request #34318 → mono{48,50,54}: make sure configureFlags are used in configurePhase → https://git.io/vNMZb
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx56h
<{^_^}> → f2622e6a by @cumber: mono{48,50,54}: make sure configureFlags are used in configurePhase
<{^_^}> → 0dd1bb16 by @matthewbauer: Merge pull request #34318 from cumber/fix/mono-use-configure-flags
<{^_^}> [nixpkgs] @kazcw opened pull request #38659 → iaca: init at 3.0, 2.1 → https://git.io/vx5iO
<{^_^}> [nixpkgs] @matthewbauer merged pull request #33919 → hll2390dw-cups: init at 4.0.0-1 → https://git.io/vNWpr
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx5ic
<{^_^}> → 22de8e19 by @samueldr: hll2390dw-cups: init at 4.0.0-1
<{^_^}> → 5df54f9e by @matthewbauer: Merge pull request #33919 from samueldr/feature/hll2390dw-cups
<{^_^}> [nixpkgs] @matthewbauer merged pull request #33794 → config.hardware.onlykey configuration option → https://git.io/vNZe5
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx5i4
<{^_^}> → 738bcfde by @yrashk: config.hardware.onlykey configuration option
<{^_^}> → 07886aaf by @matthewbauer: Merge pull request #33794 from yrashk/onlykey
<LnL> kreisys: not entirely sure, but I think disabling spotlight helps
<kreisys> No I like spotlight I just want it gone for nixbld users
<kreisys> Because I'm pretty sure they wouldn't mind 😌
<{^_^}> [nixpkgs] @matthewbauer merged pull request #32605 → hl1110 : init at 3.0.1-1 → https://git.io/vbznF
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx5iM
<{^_^}> → cbe48055 by @xrvdg: hl1110 : init at 3.0.1-1
<{^_^}> → bfda2d47 by @matthewbauer: Merge pull request #32605 from xrvdg/hl1110
knupfer has joined #nixos
nikivi has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #31651 → keybase-bin: init at 1.0.35-20171110170110.68245d46b → https://git.io/vF6O3
asuryawanshi has quit [Remote host closed the connection]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asuryawanshi has joined #nixos
telent has quit [Ping timeout: 264 seconds]
dan_b has quit [Ping timeout: 260 seconds]
<avn> Folks, do we need /build/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/obj-x86_64-pc-linux-gnu/dist/firefox-59.0.2.en-US.linux-x86_64.stylo-bindings.zip with stylo stuff?
<cbarrett> kreisys: maybe mdutil has something
asuryawanshi has quit [Remote host closed the connection]
<LnL> kreisys: well, you probably don't want it for the store
asuryawanshi has joined #nixos
fragamus has joined #nixos
fendor has quit [Quit: Connection closed for inactivity]
<LnL> kreisys: try mdutil -i off /nix and mdutil -E /nix
coot has quit [Ping timeout: 276 seconds]
fragamus has quit [Client Quit]
<kreisys> I think I'm looking for something more general because for each of my working nixbldN users it spawns mdworker, lsd, distnoted and trustd. I'm pretty sure none of which are needed
<kreisys> and they star at the top of top
Arcaelyx_ has joined #nixos
jrolfs_ has joined #nixos
aw has quit [Ping timeout: 265 seconds]
infinisil has quit [Ping timeout: 240 seconds]
jophish has quit [Ping timeout: 255 seconds]
<LnL> only special things are that I disabled spotlight and created the build users with nix-darwin
fragamus has joined #nixos
Unode has quit [Ping timeout: 256 seconds]
jophish has joined #nixos
aw has joined #nixos
Arcaelyx has quit [Ping timeout: 265 seconds]
michas_ has joined #nixos
MichaelRaskin has joined #nixos
infinisil has joined #nixos
zybell_ has quit [Ping timeout: 256 seconds]
mbrgm has quit [Ping timeout: 268 seconds]
Turion has quit [Ping timeout: 260 seconds]
<kreisys> LnL: let me try your sleep builder test. I wonder if it's happening because of something my builder is doing
<LnL> gchristensen: do the hydra builds still have those random processes?
simendsjo has joined #nixos
johnw has joined #nixos
<gchristensen> Don't know, I could check. How should I test for that? I'm AFK but can test in somewhere between ten minutes and like 3 hours depending on how this line at a government office goes.
Turion has joined #nixos
fragamus has quit [Client Quit]
zybell_ has joined #nixos
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
simendsjo has quit [Client Quit]
raving has quit [Ping timeout: 268 seconds]
<LnL> gchristensen: sudo ps aux | grep nixbld | grep mdworker
mbrgm has joined #nixos
mkaito has quit [Quit: ZNC - http://znc.in]
<sphalerite> LnL: pgrep -aG nixbld mdworker
<sphalerite> :D
nikivi has quit [Quit: ZNC 1.6.6 - http://znc.in]
<LnL> heh, I never use that
jrolfs_ has quit [Ping timeout: 264 seconds]
<zybell_> Myrl-saki:prioritizing local: first make localhost a remote builder,second set an unique build attribute on buildhost 'localhost', third require that buildattribute in your recipe.
<clever> zybell_: fourth, deal with nix deadlocking because its building something on localhost but has to wait for itself to finish before it can start
<zybell_> clever:-j2?
<clever> zybell_: happens even with 1 thread
<clever> nix gets a local lock on the storepath, because its being built
<clever> then ssh's into the slave (itself) and says "build this!"
<clever> the slave see's the lock there, assumes another thread is building it already, and waits
<kreisys> LnL: seems like those processes also stick around for a while after the build is finished -_-
nh2 has joined #nixos
<kreisys> I love apple. but I hate apple *sigh*
nh2 has quit [Client Quit]
nh2 has joined #nixos
nh2 has quit [Client Quit]
<clever> kreisys: check pstree, what is the parent?
<LnL> kreisys: do you also see them with nix-build -E 'with import <nixpkgs> {}; runCommand "foo" {} "sleep 1000"' like I did?
<norfumpit> how do you all do your gnome configuration? like things youd normaly use gnome-tweak-tool to set, stuff like themes and so on. gsettings stuff
robstr has quit [Quit: WeeChat 1.9.1]
<clever> norfumpit: the xfce session settings include an option for ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
<clever> norfumpit: running the gnome settings daemon
<LnL> lol
<zybell_> set COMMAND on ssh key to deal with this
<clever> LnL: and that would be my desktop locking up once more, lol
<kreisys> clever: launchd of course :P
<clever> kreisys: pid 1 or other?
<kreisys> clever: pid 1.
<kreisys> LnL: I haven't tried yet. still waiting for all those processes to go away
<clever> it was probably started by something that has since quit
<zybell_> clever:login
<kreisys> oh also @clever I tried enabling sandbox but apparently the nodejs package isn't pure? it complains that it's trying to open some dylibs
<kreisys> that *might* be the trigger
ndrei has quit [Remote host closed the connection]
<zybell_> kreisys:I believe mdworker is started for every user by login to be able to mount diskimages as user.
<kreisys> And it's not disable-able?
<kreisys> I don't see why nix builder would need to mount dmgs
<zybell_> And the other 'helpful' procs for similar reasons
<kreisys> s/builder/builders
<kreisys> also @clever this is what I get when I try to build my hellojs-nogulp test in sandbox mode: https://gist.github.com/kreisys/7577cfb4fa158a7dd71f19e5a507f87c
civodul has joined #nixos
<clever> kreisys: id recomend doing the initial work on linux, darwin is just weird
Unode has joined #nixos
<LnL> heh
<kreisys> I thought the darwin impurity issues have been already dealt with
fede_run has joined #nixos
<LnL> kreisys: sandboxing doesn't work with frameworks yet
<fede_run> Hello!
<clever> kreisys: there are non-free libraries that cant be put into the store
<kreisys> I c but can't I build a pure version of nodejs somehow?
<zybell_> I dont see it either, but my view isnt important, OSXs is. And for OSX is login the last chance to start sth as root for the user. Follows:Dont use login. Try su.
raving has joined #nixos
<kreisys> zybell_: ... try su for starting nix-daemon?
Turion has quit [Remote host closed the connection]
<fede_run> I want to greet to everyone, it's my first week with nixos and I find it great, I love the ability to do reproducible build. There is only one flaw, I can't find anyware a way to add localization to plasma (it isn't a big flaw I can stick with English).
<kreisys> like I'm not really sure why the nixbldN users go through a full-on login
<zybell_> try su in nix-daemon to switch to builduser.
<zybell_> I think they are run by sshd, which ofc does a full login.
<zybell_> Sorry mixed that up with another issue.
Guanin has quit [Remote host closed the connection]
Guanin has joined #nixos
jrolfs_ has joined #nixos
<kreisys> k they aren't going anywhere. I even tried to murder all of them but they keep coming back. I'm gonna give up and reboot -_-
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
mahalel_ has joined #nixos
asuryawa_ has joined #nixos
asuryawanshi has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jtojnar closed pull request #36469 → vala_0_38: 0.38.4 → 0.38.8 → https://git.io/vANEV
asuryawa_ has quit [Ping timeout: 255 seconds]
kreisys has joined #nixos
<kreisys> yeah @LnL when I run that sleepy builder no extra processes are spawned... weird
mahalel_ has quit [Quit: Leaving.]
mahalel_ has joined #nixos
fendor has joined #nixos
silver has quit [Read error: Connection reset by peer]
<aminechikhaoui> Did anyone notice spurious issues with systemd user@.service that trigger randomly sometimes ? e.g https://pastebin.com/RzsQmrGD
<aminechikhaoui> It might be a systemd issue as we don't seem to do any relevant service override for it
fede_run has quit [Quit: Konversation terminated!]
coot has joined #nixos
<kreisys> LnL: Can you run this please?
<kreisys> nix-shell --pure -p coreutils nodejs-8_x --run 'cat `command -v node` | strings | grep CoreFoundation'
nick_l has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<LnL> what about that?
<kreisys> Like I don't actually know what I'm talking about but it looks like there's an impure reference to CoreFoundation in the node binary
<kreisys> but I might have no idea what I'm talking about
<kreisys> Like if I try the same thing for python I get only this: "@rpath/CoreFoundation.framework/Versions/A/CoreFoundation"
<LnL> yes, look at otool -L
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 3.2.0.8 -> 3.2.0.9 »: https://git.io/vx57g
<kreisys> with node I get that, and also this: "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation"
<nick_l> Is there anyone who upgraded to 18.03 on a desktop system without issues?
<telent[m]> So, dunno how to match irc usernames to real names but if anyone here was at (or was organising) the London meetup - I had some great conversations, thanks!
<telent[m]> <- nixwrt guy
ryanartecona has quit [Quit: ryanartecona]
<tilpner> nick_l - Maybe. I had a weird keyboard freeze once, but I'm not sure it's related
<kreisys> LnL: otool shows both the @rpath one and the absolute one
<{^_^}> [nixpkgs] @tadfisher opened pull request #38660 → btrbk: fix SSH filter script; clean up build inputs → https://git.io/vx55q
johnw has quit [Ping timeout: 263 seconds]
<nick_l> How can I use multiple NixOS machines to compile work generated by a configuration.nix configuration?
<nick_l> That is, I have a fairly fast network between two locations and I would like to use the cores from the other location in order to rebuild my system faster.
detran` has quit [Ping timeout: 255 seconds]
vaninwagen has quit [Ping timeout: 260 seconds]
detran` has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « sbt: 1.1.3 -> 1.1.4 »: https://git.io/vx55o
freedomcode is now known as reardencode
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « sbt: 1.1.3 -> 1.1.4 »: https://git.io/vx556
katona has joined #nixos
<mpickering> I'm trying to debug why a executable fails to load a dynamic library. I have tried setting (DY)LD_LIBRARY_PATH but that doesn't work. How can I diagnose why it is failing?
<jtojnar> mpickering: strace?
<tilpner> mpickering - ldd, patchelf --print-needed, patchelf --print-rpath
WhittlesJr has quit [Quit: Page closed]
<mpickering> good idea. I've never used it before though. Another problem is that the executable is being invoked by the main executable I am packaging.
<jtojnar> strace -f then
jtojnar has quit [Quit: jtojnar]
<LnL> kreisys: nix-shell -p nodejs-8_x --run 'otool -l `command -v node` | grep -A2 RPATH'
<nick_l> How should I specify a non-standard port for hostname of the nix.buildMachines option? Just <host>:<port>?
<LnL> with ssh config
<kreisys> cmd LC_RPATH cmdsize 40 path /System/Library/Frameworks (offset 12)
<LnL> so those are both the same
ma27 has quit [Ping timeout: 255 seconds]
michas_ has quit [Ping timeout: 260 seconds]
<nick_l> LnL: the system wide one you mean?
<nick_l> LnL: that could use improvement. I just looked at the Perl script (I thought we got rid of Perl as a dependency), but it seems fairly limited.
<LnL> hmm?
<LnL> what perl script :p
<nick_l> LnL: build.pl
<nick_l> LnL: build-remote.pl
<kreisys> LnL: nix-build -E 'with import <nixpkgs> {}; runCommand "foo" { buildInputs = [ nodejs-8_x ]; } "HOME=$TMPDIR npm pack chalk ; sleep 1000"'
<nick_l> locate build-remote.pl
<kreisys> try this. this triggers the aux processes
<nick_l> Does "beep" work on your systems?
knupfer has quit [Ping timeout: 260 seconds]
<LnL> nick_l: sorry to many conversations at the same time, with nix 2.0 it was rewritten so that's no longer a perl script
<{^_^}> [nixpkgs] @7c6f434c pushed to release-18.03 « libreoffice: wrap to set JAVA_HOME, SAL_USE_VCLPLUGIN and DBus session if not set »: https://git.io/vx5Fj
<LnL> kreisys: interesting, I wonder if frameworks trigger these somehow
<kreisys> I sure hope not! that would be hard to get rid of!
asuryawanshi has joined #nixos
detran` has quit [Ping timeout: 240 seconds]
<zybell_> kreisys:other buildInputs trigger too? other npm commands?
detran` has joined #nixos
<{^_^}> [nix] @shlevy merged pull request #2060 → Add all dependencies to source prerequisites → https://git.io/vx7cT
<{^_^}> [nix] @shlevy pushed commit from @IohannesArnold to master « manual: Add all dependencies to source prerequisites (#2060) »: https://git.io/vx5bP
<{^_^}> [nixpkgs] @dezgeg pushed to master « nixos/make-ext4-fs: Use closureInfo »: https://git.io/vx5b1
coot has quit [Quit: coot]
<kreisys> zybell_: I tried: nix-build -E 'with import <nixpkgs> {}; runCommand "foo" { buildInputs = [ nodejs-8_x ]; } "node -e \'console.log(`hello`)\' ; sleep 1000"'
sigmundv__ has joined #nixos
<kreisys> this did not trigger any processes
<kreisys> so I'm guessing apple might actually be doing the right thing and I'm being a troll
<kreisys> I looked up trustd and looks like it's simply in charge of providing processes with CA certificates
<kreisys> it makes sense that npm would want to use that
detran` has quit [Ping timeout: 256 seconds]
ottidmes has joined #nixos
<katona> Hi, any idea how could I get KDE git unstable on nixos? I mean I have seen the fetch.sh file in the plasma-5 dir, and tried to change one specific package to use fetchgit instead of fetchurl, but I didn't get it to work.
detran` has joined #nixos
lord| has joined #nixos
Mercuria1Alchemi has quit [Ping timeout: 264 seconds]
nick_l has quit [Ping timeout: 260 seconds]
<zybell_> that makes sense, but not in all npm commands. There must be some where it doesn't. does loading npm by itself trigger trustdb? Or does it need a dl command?
Ariakenom has quit [Quit: Leaving]
detran` has quit [Ping timeout: 240 seconds]
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
szicari has quit [Quit: szicari]
<wilornel> Hi #nixos! I'm trying to install cmake. I need version 3.10 or above. I found https://nixos.org/nixos/packages.html#cmake and when I try nix-env -iA nixos.cmake, I get installing 'cmake-3.8.2'
<wilornel> How can I install cmake 3.10?
<mpickering> dtruss immediately crashes when I try to run the application through it, it was never meant to be easy was it
<wilornel> nixos-version 17.09.2683.360089b3521 (Hummingbird)
<clever> wilornel: try using the nixos-18.03 channel
<{^_^}> [nixpkgs] @ryantrinkle merged pull request #25148 → dockerTools: optionally preserve directory symlinks → https://git.io/v9ket
<{^_^}> [nixpkgs] @ryantrinkle pushed 3 commits to master: https://git.io/vx5Af
<{^_^}> → dce2c258 by @ryantrinkle: dockerTools: optionally preserve directory symlinks
<{^_^}> → ded1281f by @ryantrinkle: Merge branch 'master' into docker-dirlinks
<{^_^}> → 1034aa8e by @ryantrinkle: Merge pull request #25148 from obsidiansystems/docker-dirlinks
<wilornel> Hmm I should update ,right?
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Izorkin has joined #nixos
<clever> wilornel: yeah, check the nix-channel man page, and run it as root
simukis has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jbboehr opened pull request #38661 → altcoins.mist: init at 0.10.0 → https://git.io/vx5Aw
Izorkin_ has quit [Ping timeout: 260 seconds]
<wilornel> I think reading this is better https://nixos.org/nixos/manual/index.html#sec-upgrading
<wilornel> Or I should probably use this instead: https://github.com/nix-community/nixbox
<puffnfresh> shlevy: sure thing, I'll license it same as nix-plugins
<puffnfresh> actually it was 99% copied from Nix itself, should have that license
<shlevy> puffnfresh: Cool, thanks!
hiratara has quit [Ping timeout: 255 seconds]
<shlevy> Hmm
<boomshroom> Wow. GHC takes a really long time to compile!
pkill9 has joined #nixos
<boomshroom> Any chance that we could get an unregistered build of GHC in the repos? It would definitely save a few hours when you want to inspect the C output.
hiratara has joined #nixos
<zybell_> boomshroom:What are its build inputs?
<puffnfresh> boomshroom: you mean like ghc821Binary?
kerrhau has quit [Ping timeout: 260 seconds]
<boomshroom> zybell_: I mean built with the --enable-unregistered configure flag.
<{^_^}> [nixpkgs] @dezgeg pushed 656 commits to unstable-aarch64: https://git.io/vx5pb
<{^_^}> → ded1281f by @ryantrinkle: Merge branch 'master' into docker-dirlinks
<{^_^}> → dce2c258 by @ryantrinkle: dockerTools: optionally preserve directory symlinks
<{^_^}> → cbe48055 by @xrvdg: hl1110 : init at 3.0.1-1
hamishmack has quit [Quit: hamishmack]
Taneb has quit [Quit: I seem to have stopped.]
sdhand has quit [Quit: ZNC 1.6.5 - http://znc.in]
pie__ has joined #nixos
<zybell_> Ok,my question was more unrelated. Because only GHC can compile GHC (so the myth) I was really interested what you put in buildInputs?
pie_ has quit [Ping timeout: 240 seconds]
<boomshroom> zybell_: I didn't do anything. I did `ghc.overrideAttrs (old: { configureFlags = old.configureFlags ++ ["--enable-unregisterised"]; })
* zybell_ looks on github
<wilornel> how does the new nixos 18 do nixos 17's `nix-env -iA nixos.myPackages` with the packageOverrides
<wilornel> ?
alexteves_ has quit [Ping timeout: 240 seconds]
pkill9 has quit [Quit: WeeChat 2.0.1]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fecaa5491e3 (from 70 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
szicari has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
xy2_ has quit [Ping timeout: 260 seconds]
<zybell_> ghc/8.2.2.nix says on line 153 nativeBuildInputs=[... ghc ...] how does it ever build and reproducible too?
<mpickering> The boot compiler is an older version of ghc
orivej_ has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
ryanartecona has joined #nixos
joelpet has quit [Remote host closed the connection]
joelpet has joined #nixos
joelpet has quit [Changing host]
joelpet has joined #nixos
hiratara has quit [Quit: ZNC - http://znc.in]
tmplt_ has joined #nixos
<tmplt> How can I use packages from a specific channel when starting a nix-shell?
<zybell_> mpickering:ofc it is, but how does nix select it, where does it get from, and how will that ver be compiled for *reproducibility*? Does ghc (the new one) care about the hash of the old one?
hiratara has joined #nixos
Rusty1_ is now known as Rusty1
<boomshroom> I should mention that nix was set to build only 1 package. So it's not building anything but my GHC.
<mpickering> look in "top-level/haskell-packages.nix"
<mpickering> The "bootPkgs" attribute is set to the version of the compiler which is needed to do the bootstrapping
<boomshroom> [1/0/1 built, 29 copied (1535.1 MiB), 141.7 MiB DL]
spietz has quit [Quit: WeeChat 1.9.1]
<tmplt> I managed to do it with -I nixpkgs=..., but I surmise there is some way to use a channel that's listed by nix-channel?
szicari has quit [Quit: szicari]
hamishmack has joined #nixos
bpa has quit [Remote host closed the connection]
tmplt_ has quit [Ping timeout: 265 seconds]
johnw has joined #nixos
cufisz has joined #nixos
<cufisz> Hey All, are there any other docs you guys recommend for setting up sound? Neither https://nixos.wiki/wiki/PulseAudio nor https://nixos.wiki/wiki/ALSA have prooved fruitful.
<achambe> cufisz: I just had to do sound.enable = true; then make sure that master wsa not muted in alsamixer
<achambe> for some reason it had been muted
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @LnL7 closed pull request #38544 → stdenv: introduce meta.supported → https://git.io/vxHSK
civodul has quit [Ping timeout: 256 seconds]
xcmw has joined #nixos
spear2 has joined #nixos
blankhart has joined #nixos
Guest29 has quit [Remote host closed the connection]
xcmw has quit [Ping timeout: 264 seconds]
dbe_ has joined #nixos
day|flip has joined #nixos
<{^_^}> [nixpkgs] @pbogdan closed pull request #37946 → {erlang,elixir}/generic-builder: /bin/sh fixes → https://git.io/vxg17
<boomshroom> GHC has been building for so long that I'm beginning to suspect that something is actually wrong.
xcmw has joined #nixos
<LnL> how long is that?
<boomshroom> LnL: A few hours at this point. It seems to switch between 2 phases every so often. Right now it's going `inplace/bin/ghc-stage1`
<day|flip> that is a long time. normally webkitgtk or qt-webengine take the longest
<cufisz> achambe: You didn't need to change users.extraUsers.___.extraGroups = [ "audio" ] ?
orivej_ has quit [Ping timeout: 256 seconds]
<LnL> doesn't sound abnormal
<LnL> depends a bit on what kind of hardware you havve
<achambe> cufisz: oh, perhaps i had that already for some reason
<cufisz> So I have sound.enable = true, hardware.pulseaudio.enable = true (will disable and reboot), and the extraGroups above
<boomshroom> Now it's in "<<ghc" Where it prints various memory statistics. It's gone back and forth of quite a while now.
<LnL> the last build on my machine was 1h45
cufisz_ has joined #nixos
<LnL> but it's pretty memory intensive I think the amount of ram you have has a pretty big impact on the build time
<cufisz_> hrm, alsamixer looks ok (many volume columns, not muted) but aplay is silent
cufisz has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/62658a37e37 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
dbe_ has quit [Ping timeout: 255 seconds]
erasmas has quit [Quit: leaving]
Neo-- has quit [Ping timeout: 256 seconds]
<cufisz_> I'm running Realtek ALC1150 - not listed in https://www.kernel.org/doc/Documentation/sound/hd-audio/models.rst
<cufisz_> Is there a correct way to use the manufacture provided driver in NixOS? See for example these Debian instructions: https://wiki.debian.org/ALSA#Alternative_Method
<Dezgeg> probably that kernel.org document is just out-of-date
<cufisz_> Dezgeg: any other ideas were to look for module options?
logzet has quit [Remote host closed the connection]
<Dezgeg> I personally would go read the source code, but might not be an ideal option
<Dezgeg> in my experince it's usually some weirdly named volume control out of those 20 available that has it's volume at 0% or something
<zybell_> Run a linux distro (from iso) where it works, note all relevant options, copy configs, and try to reproduce in nix.
<zybell_> First manually, then with nix expr.
<{^_^}> [nixpkgs] @jbboehr opened pull request #38662 → cockroachdb: 1.1.5 -> 2.0.0 → https://git.io/vxdkp
dan_b has joined #nixos
telent has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
jackdk has joined #nixos
ericsagnes has quit [Ping timeout: 264 seconds]
<cufisz_> Dezgeg: set all mixers to 100% volume, no sound. Any ideas on which source file I should read?
<ottidmes> cufisz_: When I moved from 17.09 to 18.03 I had to indeed include sound.enable = true; and running these commands fixed my muted sound: https://askubuntu.com/questions/77522/command-to-unmute-and-maximize-volume/336122#336122 I could not get to work via alsamixer, but that might have been my inexperience with alsamixer
<cufisz_> zybell: thanks for the suggestion. Any idea on what all the relevant configs may be or where to find them?
<cufisz_> ottidmes: that worked!
<ottidmes> cufisz_: Great to hear :)
<cufisz_> that's a one time thing right? no changes to /etc/nixos/configuration.nix required.
<ottidmes> cufisz_: One time thing, it has worked fine for me since, across reboots, without any changes other than sound.enable = true; (I already had enabled pulseaudio and added my main user to the audio group)
<cufisz_> =)