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
jrolfs has joined #nixos
xcmw has joined #nixos
cript0nauta has quit [Ping timeout: 265 seconds]
boomshroom has joined #nixos
<boomshroom> Hello!
seafood has quit [Quit: seafood]
<boomshroom> Is anyone familiar with Not-OS or other minimal nix based distrobutions? I want to try writing a custom init, but I need a way to test it and the steps in https://www.mustafaak.in/posts/2016-02-08-writing-my-own-init-with-go/ haven't been working for me.
<pie_> Myrl-saki, well fwiw the speed issue was this https://github.com/piroor/treestyletab/issues/1844#issuecomment-380634165
<pie_> boomshroom, maybe clever can help if he's around
<boomshroom> pie_: clever seems to be a master at all things Nix. :P
<gchristensen> and other things
lopsided is now known as lopsided98
paraseba has quit [Ping timeout: 240 seconds]
maingo has joined #nixos
srdqty has quit [Ping timeout: 260 seconds]
lopsided98 has left #nixos [#nixos]
lopsided98 has joined #nixos
srdqty has joined #nixos
moth_ has quit [Ping timeout: 260 seconds]
thc202 has quit [Ping timeout: 256 seconds]
iyzsong has joined #nixos
jackdk has joined #nixos
kerrhau has quit [Ping timeout: 240 seconds]
paraseba has joined #nixos
srdqty has quit [Ping timeout: 264 seconds]
<boomshroom> `SyntaxError: invalid syntax` On the plus side, that means my script at least tried to run. Yay!
srdqty has joined #nixos
<boomshroom> What language should I write a toy PID1 in? Not C, because most production inits are in C.
random-nixor has joined #nixos
<boomshroom> I've considered Rust because it's basically a better C, but I'm feeling a little adventurous, so I'm thinking of using Haskell.
<maurer> boomshroom: Rust is well suited to the task. Haskell can do it too, but putting GCs or laziness into things that you want predictable time and memory bounds in is a bit perilous
jrolfs has quit [Ping timeout: 240 seconds]
detran` has joined #nixos
jrolfs_ has quit [Ping timeout: 240 seconds]
<achambe> boomshroom: you should look at ziglang
<achambe> bonus, the developer of ziglang uses nixos
<boomshroom> achambe: This is the first time I've seen Zig outside of reddit. I've heard that it's safer than unsafe Rust, but that's the only positive thing I've heard so far.
<achambe> if rust is like C++
<achambe> zig is like C
<achambe> I dunno, it has some nice stuff
detran has quit [Ping timeout: 265 seconds]
<achambe> also, you can call C libraries directly
<achambe> it doesn't have any fancy memory analysis like rust, just some tools to stop you from forgetting to do stuff
<maurer> So, uh, what's the use case for Zig over Rust then?
<boomshroom> Part of the reason I considered Haskell is because no one would expect and init in Haskell.
jrolfs has joined #nixos
<achambe> rust is a disorganized clusterfuck but if you are willing to tolerate that
<achambe> then rust is probably better
<maurer> achambe: Uh, what do you mean by that?
<boomshroom> achambe: Given that Rust is currently my favoourite programming language, I would say that I tolerate it.
<achambe> well, for example - rust stdlib just assumed memory allocation couldn't fail, now they are trying to fix it post 1.0 by hacking on stuff
<achambe> I can only see the complexity of rust increasing over time, but if you are willing to tolerate that
<achambe> its a great language
<boomshroom> What I want is a language that looks like Haskell and acts like Rust.
jrolfs has quit [Ping timeout: 256 seconds]
<achambe> maurer: also, the fact that the developers shunted to the community on nearly every library
m0rphism1 has quit [Ping timeout: 276 seconds]
<achambe> so there are lots of high quality libraries, but no way to know if it will be supported
<maurer> achambe: So, I am not aware of any successful language which _didn't_ punt to the community on stuff beyond basic data structures
m0rphism1 has joined #nixos
<maurer> there's too wide a variety of "basic functionality" and only so much horsepower in a core dev team
<achambe> I dunno, Go, python and C# seem to be counter examples to me
<boomshroom> Go's standard library is one of the fullest I've seen and people complain about it having things that shouldn't be there while omiting things it should have.
<achambe> meh anyways, this might go way too far off topic :P
random-nixor has quit [Ping timeout: 260 seconds]
Fare has joined #nixos
<achambe> does anyone use hydra as a general purpose CI system?
<elvishjerricco> achambe: Hydra + Hail makes for pretty good continuous integration / deployment. It's a pain to setup though
<maurer> achambe: I used to, the problem is that every time hydra needs to be updated, 123092183098 things break
<maurer> and I ended up having to discard the database about once a month
<maurer> so I eventually just gave up
<achambe> hmm ok
<elvishjerricco> this PR makes the setup much easier: https://github.com/NixOS/hydra/pull/501
<elvishjerricco> FWIW, I've never had to discard the database
<elvishjerricco> been using Hydra for about half a year now
stumble has quit [Quit: Leaving]
<achambe> elvishjerricco: what is Hail?
<elvishjerricco> achambe: https://github.com/TaktInc/hail
<elvishjerricco> It polls your hydra server for successful builds and automatically deploys them
jtojnar has quit [Quit: jtojnar]
<{^_^}> [nix] @shlevy pushed to master « initPlugins: Fix dlopen error message. »: https://git.io/vxAiu
dvim has quit [Ping timeout: 264 seconds]
jtojnar has joined #nixos
<achambe> thanks for the link. (sorry, that name wasn't so googleable)
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iyzsong has quit [Ping timeout: 268 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
mbrgm has quit [Ping timeout: 256 seconds]
Supersonic112 is now known as Supersonic
mbrgm has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #38817 → scallion: init at 2.1 → https://git.io/vxAPT
m0rphism1 has quit [Ping timeout: 240 seconds]
m0rphism1 has joined #nixos
<boomshroom> Does stack2nix work right now? I tried using it, but it failed to build before I could even run it.
<{^_^}> [nixpkgs] @abbradar pushed to master « sleekxmpp: fix SSL certificates checks »: https://git.io/vxAPR
ericsagnes has joined #nixos
<ryantm> gchristensen: You pinged?
nuncanada has quit [Remote host closed the connection]
<gchristensen> ryantm: sorry, I take it back :)
nuncanada has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
<ryantm> Okay. Oh, I should probably tell you I changed nixpkgs-update to monitor your stats page like you suggested.
<gchristensen> oh awesome!
<boomshroom> stack2nix seams to be broken: Setup: Encountered missing dependencies: deriving-compat ==0.3.*
<boomshroom> The official stack2nix is broken, but I can just run it straight from the git repo!
iyzsong has joined #nixos
<boomshroom> It's pretty awesome that I can literally `import` a git repo as long as it has a default.nix.
<{^_^}> [nixpkgs] @shlevy pushed to master « nix-plugins: 4.0.2 -> 4.0.3 »: https://git.io/vxAXw
<{^_^}> [nixpkgs] @shlevy pushed to release-18.03 « nix-plugins: 4.0.2 -> 4.0.3 »: https://git.io/vxAXo
<boomshroom> How can I set up NixOS to clean out /tmp? It's getting pretty full, ie: 1.6 GB
Mateon2 has joined #nixos
<boomshroom> gchristensen: Thank you.
<gchristensen> yeah, I wonder if that should default to true
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon2 is now known as Mateon1
Fare has joined #nixos
jrolfs has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #38818 → top-level: apply platform config to cross system → https://git.io/vxA1Y
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
winsome has joined #nixos
sigmundv__ has quit [Ping timeout: 268 seconds]
m0rphism1 has quit [Ping timeout: 260 seconds]
m0rphism1 has joined #nixos
<boomshroom> I just realized that it's completely possible to write an init in Java.
<Dezgeg> can you handle SIGCHLD in java?
<Dezgeg> (I also wonder if the JVM starts without /proc or /dev mounted, but I guess you could require the initrd to mount those)
jrolfs has quit [Ping timeout: 240 seconds]
<rotaerk> hmm is it normal for a PR to nixpkgs to not get any attention?
<boomshroom> Dezgeg: I guess the ability to write a signal handler would be the the biggest thing that would prevent a language from being able to work, and even then you could also implement that in a separate language that calls back to the main language.
<{^_^}> [nixpkgs] @Ralith opened pull request #38819 → purple-hangouts: 2017-10-08 -> 2018-03-28 → https://git.io/vxAMv
<gchristensen> handling sigchld is like "the thing" pid1 needs to do
<Dezgeg> it probably isn't safe to hook SIGCHLD in FFI code in case the JVM has already hooked it
klntsky_ has quit [Ping timeout: 268 seconds]
<boomshroom> It looks like the JVM hijacks SIGQUIT, SIGTERM, SIGINT, and SIGHUP, meaning SIGCHLD should be available for the init writer.
klntsky_ has joined #nixos
<boomshroom> stack2nix is taking a long time to build, probably because it's building all of its transitive dependencies manually.
blankhart has joined #nixos
<boomshroom> It seems that even python and bash are capable of signal handling.
c0ffee152 has quit [Quit: Lost terminal]
vidbina has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
<boomshroom> Does stack2nix really have to include Win32 in the nix file and then not actually call it, and then have the audacity to prevent my build from working because of one package that isn't used?
<boomshroom> Looks like it pulled in hfsevents as well and still doesn't use it. To make matters worse, I can't just fix it with NIXPKGS_ALLOW_BROKEN=1.
<boomshroom> Opps, looks like I don't know how to use stack2nix
jperras has quit [Ping timeout: 268 seconds]
kerrhau has joined #nixos
jperras has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<boomshroom> Nix isn't the fastest build system, but it can generate an entire linux system and build my init along with it.
jrolfs has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/12cecfc2c31 (from 72 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<achambe> maybe a stupid question, " sudo nixos-rebuild switch " doesn't take the curren't shells NIX_PATH into account?
<boomshroom> Nix brands itself as a package manager, but it's really a build tool that just happens to build entire systems instead of just programs.
<achambe> ah, need -E I guess
<elvishjerricco> achambe: I usually use `-I` with nixos-rebuild
<elvishjerricco> e.g. `-I nixpkgs=$(pwd)/nixpkgs -I nixos-config=$(pwd)/configuration.nix`
<achambe> thanks
<achambe> Another question, does nix inspect the contents of ./foo.patch files to determine if it should rebuild?
<achambe> I'm trying to debug the gitlab runner
<elvishjerricco> If any aspect of a derivation changes, it will be rebuilt. So if a patch file changes at all, the derivation will be rebuilt
<achambe> neat, this is so handy.
<boomshroom> I don't know of any other build tool capable of building an entire, fresh, linux system just to test out an init daemon.
<achambe> checkout the same gitlab version, and am just using git diff -p to add another patch with my debug prints
<achambe> boomshroom: yeah its awesome
<elvishjerricco> I sometimes test my whole personal config with `nixos-rebuild build-vm` :P With home-manager, I can just deploy my config to a machine and have it boot up with everything I'm used to instantly. Completely unreasonable without nix.
<achambe> thats a good idea
<boomshroom> `src = ././.;` Hmm... 🤔
mitchty has quit [Quit: WeeChat 1.7.1]
siel has quit [Ping timeout: 245 seconds]
siel has joined #nixos
siel has quit [Changing host]
siel has joined #nixos
<boomshroom> `<<< NotOS Stage 2 >>>` `setting up /etc...` `Welcome!` 📣
kmicklas has quit [Ping timeout: 260 seconds]
jrolfs has quit [Ping timeout: 240 seconds]
freeman42x]NixOS has quit [Quit: Leaving]
iqubic has joined #nixos
nuncanada has quit [Quit: Leaving]
aarvar has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
blankhart has quit [Quit: WeeChat 1.9.1]
<boomshroom> Are there any kernels other than Linux in Nixpkgs?
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/e984f9e48e1 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<boomshroom> Are all system service scripts handled by nixos itself rather than coming from upstream packages?
<zybell_> to build a PID1:use C to write a proxy init;make 2 while()s;the inner while is wait()ing and writes pid+status to a pipe while a certain Process is running;the outer while fork()s that process and exec()s your real init with the other end of the pipe as stdin. The real init you can write in any language.
ardfard has joined #nixos
<boomshroom> zybell_: Exactly why does that need to happen? Signal handlers can be writen in any language with a library for them, and SIGCHLD is the number one purpose of PID1.
jperras has joined #nixos
ardfard has quit [Client Quit]
seafood has joined #nixos
schoppenhauer has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/12cecfc2c31 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
schoppenhauer has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
ardfard has joined #nixos
usrshv has joined #nixos
<zybell_> That makes the proxy easy to debug (only a dozen lines)and therefore rocksolid. On the other hand the real handling can be augmented as needed,the process debugged and *restarted*. When did you last change a running init after a recompile;-) Short: it makes for a comfortable dev environment
<Myrl-saki> boomshroom: Haskell is like Rust, and Rust is like Haskell. Therefore use Haskell and Rust.
pie_ has quit [Ping timeout: 264 seconds]
<boomshroom> Myrl-saki: But I can't control memory in Haskell and I can't write `main = run >> forever (awaitSignals None)` in one line in Rust.
<zybell_> Haskell *and* Rust
Myrl-saki has quit [Quit: WeeChat 1.6]
Myrl-saki has joined #nixos
<zybell_> was the proposal
<boomshroom> zybell_: But everything becomes easier if you're only using one language, and writing the Haskell runtime in Rust would match or exceed the size of the haskell code its supporting.
<Myrl-saki> zybell_: Well, we can defined `likeenss` such that it is an equivalence class. Equivalence classes are reflexive, therefore `Haskell ~ Haskell ^ Haskell ~ Rust`.
<Myrl-saki> `Haskell ~ Haskell /\ Haskell ~ Rust`.
iyzsong has quit [Ping timeout: 265 seconds]
<boomshroom> Myrl-saki: ∧ and it's friend, ∨. Also ˜ ≠ ~
<zybell_> Writing a haskell rt in rust could make bootstrappable.org come a great step closer to its goal. So it amortizes.
<Myrl-saki> zybell_: I checked it, and one of the articles is "Reflections on Rusting Trust." It's never a programming article without the puns.
<Myrl-saki> Anyways, I haff to leave now. Bai bai~
marusich has joined #nixos
<zybell_> And it was *not my* proposal
<boomshroom> Myrl-saki: Bye! And good night if you're in the same timezone as me.
<kuri0> Has anyone ported / built NixOS for ILP32
Biappi has quit [Remote host closed the connection]
liori has quit [Remote host closed the connection]
iqubic` has joined #nixos
fusion809 has joined #nixos
winsome has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 276 seconds]
fusion809 has quit [Client Quit]
ardfard has quit [Remote host closed the connection]
guest____ has quit [Quit: Page closed]
ardfard has joined #nixos
zybell_ has quit [Ping timeout: 255 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
kerrhau has quit [Ping timeout: 256 seconds]
ardfard has quit [Remote host closed the connection]
ardfard has joined #nixos
jperras has joined #nixos
zybell_ has joined #nixos
rosa has joined #nixos
MercurialAlchemi has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
<fearlessKim[m]> is there some kind of roadmap for 17.09 ? apart from the kinda useless https://github.com/NixOS/nixpkgs/issues?q=is%3Aopen+is%3Aissue+milestone%3A18.09
<fearlessKim[m]> 18.09*
<{^_^}> [nixpkgs] @brainrape opened pull request #38820 → nixos/prosody: add user/group options, fix pidfile path → https://git.io/vxA7I
rosa has quit [Quit: rosa]
Guanin has quit [Ping timeout: 256 seconds]
rosa has joined #nixos
endformationage has quit [Ping timeout: 265 seconds]
iqubic` has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38821 → xtermcontrol: 3.3 -> 3.4 → https://git.io/vxA7l
Guanin has joined #nixos
klntsky_ has quit [Ping timeout: 268 seconds]
rosa has quit [Client Quit]
rauno has joined #nixos
klntsky_ has joined #nixos
rosa has joined #nixos
klntsky_ has quit [Remote host closed the connection]
<usrshv> Where are questions that, i.e. "my sistem wont start?". Are you all developers?
<zybell_> Do you want to help?
<boomshroom> usrshv: This is a good place to ask that. A lot of us are developers, but we mostly work with nix rather than on nix.
rosa has quit [Quit: rosa]
rosa has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
<boomshroom> What are your thaughts on basing an init system on Nix itself? I'm tempted to hook into the nix interpreter for handling the init config files.
<usrshv> zybell_ boomshroom I will proudly help.. i great at breaking things, when i "repair" them! Seriously, i cannot help to anyone. Just curious.
<boomshroom> Alternatively I can be boring and just use something like JSON.
<boomshroom> usrshv: Nix is great for people who break stuff because of `nixos-rebuild switch --rollback` and `nix-env --rollback`
zarkone has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #38822 → [preview] Introducing NetBSD userland → https://git.io/vxA54
jtojnar has quit [Quit: jtojnar]
<boomshroom> It would be kind of awkward if a package ended up built on bootup because a script requested a package that wasn't installed.
jtojnar has joined #nixos
hamishmack has quit [Quit: hamishmack]
<kuri0> Mic92, i tried sandboxing bastet using apparmor and it works perfectly
ericsagnes has quit [Ping timeout: 240 seconds]
<kuri0> it only needs access to it's dependencies and .bastetrc and .bastetscores
<kuri0> I was going to try XBill but it doesn't seem to be packaged
<boomshroom> And of course someone's already tried reimplementing Nix in Haskell... multiple times.
usrshv has quit [Ping timeout: 264 seconds]
<johnw> boomshroom: hnix is almost passing the Nix language tests
rauno has joined #nixos
<boomshroom> johnw: Alternate implementation are always nice.
<johnw> it sure does teach you about odd corner cases
<johnw> like that "builtins.deepSeq (let x = x; in x) true" diverges, but "builtins.deepSeq (let y = { x = y; }; in y) true" does not
<zybell_> I thought that nix is developed from haskell`?
<johnw> well, the current implementation is in C++
rosa has quit [Quit: rosa]
<zybell_> I meant nix the lang from haskell the lang whatever the impl
rosa has joined #nixos
astiles has joined #nixos
<fearlessKim[m]> I am packaging A who works with a patched program B. The patch lives in A source folder. I thus wrote my derivation B = mkDerivation { patches ] [ A + "/B.patch"] but A has B as buildInput which generates an infinite recursion. Should I extract B.patch from A source and put it in nixpkgs ? or is there another way ? like A.src
<boomshroom> fearlessKim[m]: Is the patch in A's source tree? Then A.src would be your best bet.
Judson1 has quit [Ping timeout: 264 seconds]
xy2_ has joined #nixos
<astiles> Hi, I am trying to package R (a particular version). During the "configure" step of installation, I receive an error because the readline headers (readline-devel in centos) aren't available. That makes sense, but how would I express "this package requires building readline-devel"?
<boomshroom> Fuck it: init scripts in Nix! :D
<astiles> lol
<astiles> haven't learned about those yet
<fearlessKim[m]> boomshroom: yep it worked
<symphorien> astiles: add readline to buildInputs
Ariakenom has joined #nixos
kuri0 has left #nixos ["Leaving"]
rosa_ has joined #nixos
rosa has quit [Read error: Connection reset by peer]
<astiles> symphorien: that seemed to work, thanks! my understanding is that because I used "nixpkgs.readline", it'll fetch the "readline" package from the nixpkgs repository. How do I know that "nixpkgs.readline" means the same thing tomorrow as it does today?
rosa_ has quit [Client Quit]
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/cb4067b4125 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-18.03)
rosa_ has joined #nixos
jensens has joined #nixos
<symphorien> If you update your channel it won't. You are looking for "nixpkgs pinning". There are various ways to do so.
<symphorien> astiles: ^
<astiles> ah cool thanks
<fearlessKim[m]> wft vim2nix is written in vimscript...
xAFFE has joined #nixos
rosa_ has quit [Quit: rosa]
<astiles> seeing a strange issue now where I can't resolve the hostname of the nixos cache (although I can ping it)
rosa_ has joined #nixos
jperras has joined #nixos
xy2_ has quit [Ping timeout: 265 seconds]
zybell_ has quit [Ping timeout: 264 seconds]
zybell_ has joined #nixos
iyzsong has joined #nixos
jperras has quit [Ping timeout: 276 seconds]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #38823 → [18.03]: Cherry-pick various fixes from master → https://git.io/vxAFb
astiles has quit [Remote host closed the connection]
astiles has joined #nixos
Ariakenom has quit [Quit: Leaving]
rosa_ has quit [Quit: rosa]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #38470 → linux module handling: support kernels without modules → https://git.io/vxyow
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxAbl
<{^_^}> → 30bff422 by @roberth: linux module handling: support kernels without modules
<boomshroom> I remember there was a function for generating an executable script within Nix, but I forget what it's called.
<{^_^}> → 38e04bbf by @7c6f434c: Merge pull request #38470 from roberth/linux-without-modules
astiles has quit [Ping timeout: 260 seconds]
asuryawanshi has quit [Remote host closed the connection]
hamishmack has joined #nixos
seafood_ has joined #nixos
<seafood_> Does Eelco Dolstra hang out here on this channel? If so, what is his IRC handle?
<symphorien> WriteScriptBin ?
rosa_ has joined #nixos
mog has quit [Ping timeout: 240 seconds]
mog has joined #nixos
ardfard has quit [Remote host closed the connection]
<boomshroom> symphorien: That's it. I was also wondering where it was and it's in <nixpkgs>
<MichaelRaskin> boomshrom: do you want to write an init or a daemon manager?
<boomshroom> MichaelRaskin: The difference?
rosa_ has quit [Quit: rosa]
<MichaelRaskin> Well, my lang-os runs sinit as init, and has only rudimentary service management that is done by the Lisp daemon. You could easily write a config that removes the Lisp/Scheme daemons and run something like runit under sinit.
ericsagnes has joined #nixos
<MichaelRaskin> Basically, PID1 has a very limited list of irreplacable obligations: reap orphans, not die, exec the shutdown script (or perform the shutdown)… and that's all, I think.
<boomshroom> MichaelRaskin: Link? I'd like to see your work.
orivej has joined #nixos
ardfard has joined #nixos
<seafood_> Question: is the “closure” of a store path dependent on the keep-derivation and keep-outputs flags?
<MichaelRaskin> closure of the output path is the runtime dependency closure
<seafood_> i.e. is the closure smaller if the keep-outputs flag is false?
<boomshroom> I guess I'm kind of going the route of putting both together. PID1 needs something to execute, so I figured I would tell it what by way of the service scripts.
<seafood_> MichaelRaskin: I’m reading through the Nix Manual right now and reading the glossary, the definition of “closure” does not make this distinction.
rosa_ has joined #nixos
<seafood_> MichaelRaskin: Would you agree?
<MichaelRaskin> seafood: yes and no
<MichaelRaskin> The closure goes by hard dependencies
<MichaelRaskin> Hard dependencies of an output path are exactly its runtime dependencies (as found by Nix)
<seafood_> MichaelRaskin: I’m promise I’m not trying to be difficult here but the term “hard dependency” isn’t defined in the manual :-)
<MichaelRaskin> Manual just calls them dependencies
<seafood_> Okay.
asuryawanshi has joined #nixos
<MichaelRaskin> Basically, keep-derivations means that GC (and only GC) keeps both dependencies and (if available) the derivations of output paths
<{^_^}> [nixpkgs] @dotlambda pushed commit from lassulus to release-18.03 « bepasty: make it a package again »: https://git.io/vxANW
reinzelmann has joined #nixos
<seafood_> MichaelRaskin: Okay, this is helpful. I am thinking about proposing some wording changes to the Nix Manual in a PR.
jensens has quit [Ping timeout: 256 seconds]
<seafood_> But I want to have some of the dialog here on IRC, in real time, so I can get through most of the objections/misunderstandings faster.
rosa_ has quit [Client Quit]
<fearlessKim[m]> I believe the doc for cleanSourceWith is wrong ? it says it to call it ( filter: src: ...) when it expects in fact {filter=; src= ;};
<MichaelRaskin> Might be a good idea, as long as people writing the manual are people who have already read the thesis, the wording might miss the target audience.
<MichaelRaskin> I am leaving soon.
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
<seafood_> MichaelRaskin: I was wondering if Eelco hangs out here?
<MichaelRaskin> boomshroom: note that lang-os just ignores the idea of good initramfs design and goes the «Nix on <4GiB is painful, so I can have a 500MiB initramfs if I clean up afterwards» way
<boomshroom> MichaelRaskin: It's all (or mostly) writen in Lisp? Cool.
<{^_^}> [nixpkgs] @peti merged pull request #38763 → git: 2.16.2 -> 2.17.0 → https://git.io/vxNYQ
<{^_^}> [nixpkgs] @peti pushed 4 commits to staging: https://git.io/vxANb
<{^_^}> → 26019419 by @dtzWill: git: 2.16.2 -> 2.16.3
<{^_^}> → ad076ff7 by @layus: git: 2.16.3 -> 2.17.0
<{^_^}> → 2ddba49f by @layus: git: fix perl libs path
<MichaelRaskin> seafood_: not sure if he is still in this channel, but getting enough of his attention is hard even for questions where his opinion is actually needed. You don't look like someone who will ask a question today that can only be answered by him, though — a lot of time there are some people who know Nix well.
<seafood_> MichaelRaskin: You’re right. Perhaps that was too forthright of me. I’ll keep asking the channel as a whole.
* boomshroom tells himself "I will not stay up until 3:30 debugging Haskell tonight!"
MercurialAlchemi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed commit from @dtzWill to master « git: 2.16.2 -> 2.16.3 »: https://git.io/vxAAU
<niksnut> yes, I'm still here :-)
<MichaelRaskin> boomshroom: bash for bootscripts, then it spawns sinit as PID1 and spawns a Common Lisp daemon to implement the actual work
ardfard has quit [Ping timeout: 268 seconds]
seafood has quit [Quit: seafood]
seafood_ is now known as seafood
<MichaelRaskin> boomshrom: and then it is a collaboration of a user's Lisp session, the system daemon, user's StumpWM process…
<MichaelRaskin> niksnut: nice. Didn't want to highlight your nick without a clear question.
MercurialAlchemi has joined #nixos
ardfard has joined #nixos
rosa_ has joined #nixos
Guanin has quit [Read error: Connection reset by peer]
zarkone has quit [Ping timeout: 256 seconds]
Guanin_ has joined #nixos
rosa_ has quit [Client Quit]
ardfard_ has joined #nixos
ardfard has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed commit from @mdorman to master « taffybar: fix build »: https://git.io/vxAA6
ldlework has quit [Quit: co'o ro pendo be mi]
ldlework has joined #nixos
ldlework has quit [Changing host]
ldlework has joined #nixos
ardfard has joined #nixos
<boomshroom> MichaelRaskin: I see an init in fat-initramfs.nix that does a "switch_root" before calling out to $targetInit. Those are...?
<MichaelRaskin> What do you mean?
<MichaelRaskin> There is a stage 1 init in shell
<MichaelRaskin> switch_root is implemented in busybox, for example.
ardfard_ has quit [Ping timeout: 264 seconds]
<MichaelRaskin> (which I think I use)
reinhardt has joined #nixos
<boomshroom> I'm trying to find the stage 1 init.
reinhardt has quit [Remote host closed the connection]
<MichaelRaskin> Well, it is combined together from a few strings
jw_p has joined #nixos
rosa_ has joined #nixos
<seafood> MichaelRaskin: I’ve now read through more of the manual and, in many places, the distinction between the closure of a derivation and the closure of an output is made, just not in the “closure” definition in the glossary. I’m thinking about doing some clarifications there.
<MichaelRaskin> Technically, applying the definition of closure to the path and to the derivation file works; but better wording would be helpful
<boomshroom> MichaelRaskin: I found where sinit gets called: https://github.com/7c6f434c/lang-os/blob/master/system-bin.nix#L81
jw_p has quit [Client Quit]
astiles has joined #nixos
hakujin has joined #nixos
<MichaelRaskin> That's in stage2
<boomshroom> MichaelRaskin: Really? Because it looks like that script writes a buch of scripts to the root and that one is called "init" which from what I can tell, is called implicitly by the kernel as PID1.
dvim has joined #nixos
hakujin has quit [Ping timeout: 260 seconds]
<boomshroom> Now that I've cloned your repo, I can now git grep on it.
rosa_ has quit [Quit: rosa]
rosa_ has joined #nixos
<MichaelRaskin> It runs sinit from /run/
<MichaelRaskin> The expression writes to $out that gets linked as /run/current-system/bin
<MichaelRaskin> local/ contains top-level calls
MichaelRaskin has quit [Quit: MichaelRaskin]
jperras has joined #nixos
<boomshroom> MichaelRaskin: It looks like fat-initramfs is the stage 1.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38824 → gnome3.webkitgtk: 2.20.0 -> 2.20.1 → https://git.io/vxAp0
<boomshroom> targetInit would be /run/currentSystem/bin/init... Shouldn't it be /run/currentSystem/sw/bin/init?
spear2 has quit [Ping timeout: 264 seconds]
chisui has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
__Sander__ has joined #nixos
ardfard has quit [Remote host closed the connection]
coot has joined #nixos
ardfard has joined #nixos
reinzelmann has quit [Remote host closed the connection]
reinzelmann has joined #nixos
selaux has joined #nixos
vaninwagen has joined #nixos
selaux has quit [Client Quit]
selaux has joined #nixos
<boomshroom> This has been very interesting, and I already I have better understanding of the startup process than before. (I'll have an even better understanding after more time and work.) You really can break everything down into micro-services, or have one binary handle everything. I will need to see kernels other than Linux in nixpkgs so I can test them out.
<boomshroom> Goodnight everyone! It's almost one and I have my last exam tomorrow.
boomshroom has quit [Quit: WeeChat 2.0]
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
Jetien has joined #nixos
reinzelmann has quit [Quit: Leaving]
hexagoxel has quit [Ping timeout: 265 seconds]
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #38826 → yosys: fix build on darwin → https://git.io/vxAjq
lo_mlatu has quit [Quit: Connection closed for inactivity]
fadenb has quit [Ping timeout: 256 seconds]
hexagoxel has joined #nixos
fadenb has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38827 → riot-web: 0.13.5 -> 0.14.0 → https://git.io/vxAjG
jackdk has quit [Ping timeout: 240 seconds]
MP2E has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @luke-clifton opened pull request #38828 → ipfs: 0.4.13 -> 0.4.14 → https://git.io/vxAjV
jensens has joined #nixos
lonokhov has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/1c52531bbe9 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-18.03)
astiles has quit [Remote host closed the connection]
ardfard has quit [Remote host closed the connection]
astiles has joined #nixos
<{^_^}> [nixpkgs] @lsix pushed to release-18.03 « pythonPackages.libais: 0.16 -> 0.17 (#37876) »: https://git.io/vxxeU
ardfard has joined #nixos
ardfard has quit [Remote host closed the connection]
rosa_ has quit [Quit: rosa]
xCuri0 has joined #nixos
ardfard has joined #nixos
astiles has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @StillerHarpo opened pull request #38829 → lolcat: 90.8.8 -> 99.9.10 → https://git.io/vxxe6
__Sander__ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.js_of_ocaml-camlp4: add deriving support »: https://git.io/vxxe5
<{^_^}> [nixpkgs] @vbgl merged pull request #38447 → ocamlPackages.js_of_ocaml-camlp4: add deriving support → https://git.io/vxDSO
ardfard has quit [Client Quit]
rosa_ has joined #nixos
goibhniu has joined #nixos
ardfard has joined #nixos
jrolfs_ has joined #nixos
zybell_ has quit [Read error: Connection reset by peer]
m0rphism1 has quit [Ping timeout: 264 seconds]
jrolfs_ has quit [Ping timeout: 256 seconds]
spear2 has joined #nixos
jrolfs has joined #nixos
xAFFE has left #nixos ["Error from remote client"]
winem_ has joined #nixos
xAFFE has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
zybell_ has joined #nixos
<{^_^}> [nixpkgs] @abbradar pushed to master « python.pkgs.sleekxmpp: fix failure to verify a certificate »: https://git.io/vxxfa
ardfard has quit []
ardfard has joined #nixos
Biappi has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
reinzelmann has quit [Quit: Leaving]
ardfard has quit [Read error: Connection reset by peer]
ardfard has joined #nixos
thc202 has joined #nixos
ardfard has quit [Remote host closed the connection]
ardfard has joined #nixos
ardfard has quit [Client Quit]
nschoe has joined #nixos
reinzelmann has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
jperras has joined #nixos
jperras has quit [Ping timeout: 245 seconds]
marusich has quit [Quit: Leaving]
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @rdnetto opened pull request #38831 → Improve cross referencing in NixOS Manual → https://git.io/vxxUZ
<{^_^}> [nixpkgs] @jtojnar pushed to master « guake: 0.8.3 → 3.1.0 »: https://git.io/vxxUi
sigmundv__ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #38642 → guake: 0.8.3 → 3.0.5 → https://git.io/vx79q
<fearlessKim[m]> I made a mistake and rebuild without X, the process is kinda violent: after the rebuild nixos killed X and I faced a terminal. what If I had unsaved files in background ???
clefru has joined #nixos
<joko> fearlessKim[m]: the files could get corrupted / not properly saved, but this is to be expected since you did such a big system change.
<fearlessKim[m]> joko: except that wansn't on purpose :'(
<fearlessKim[m]> couldn't there be some kind of warning "gonna kill X, press enter" before actually killing everything
nschoe has quit [Read error: Connection reset by peer]
<clefru> is there a way for nixops to update the machine definition? for instance, after running deploy, I changed the number of vcpus my libvirtd VM gets. I can't seem to find a way to update the machine without destroying it.
<fearlessKim[m]> clefru: I opened an issue because of the same pb, no answer though :/
ditadi has joined #nixos
rosa_ has quit [Quit: rosa]
<clefru> fearlessKim[m]: thanks, at least I know that it doesn't work
<clefru> (and I can stop reading the man page a 3rd time)
humanoyd has joined #nixos
rosa_ has joined #nixos
sigmundv__ has joined #nixos
<{^_^}> [nix] @sseefried opened pull request #2071 → Add to glossary and clarify garbage collection → https://git.io/vxxtG
hyper_ch2 has joined #nixos
nschoe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38833 → pick: 2.0.1 -> 2.0.2 → https://git.io/vxxqC
pie_ has joined #nixos
<silver_hook> What does it change that Borg is in Impala now a service (it wasn’t one in Humbingbird)?
<{^_^}> [nixpkgs] @volth closed pull request #37594 → xfce4-13: fix build, add nixos module → https://git.io/vxC74
ma27 has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1092f6d0865 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
jtojnar_ has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #38812 → maxima: add various fixes, re-add ecl support → https://git.io/vxAW6
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vxxqN
<{^_^}> → eb119b04 by Timo Kaufmann: maxima: add various fixes, re-add ecl support
<{^_^}> → 722d8226 by @peti: Merge pull request #38812 from timokau/maxima-ecl
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ is now known as jtojnar
rosa_ has quit [Quit: rosa]
seafood has quit [Quit: seafood]
<{^_^}> [nixpkgs] @jtojnar merged pull request #38809 → handbrake: move FDK codec to optional choice → https://git.io/vxAce
<{^_^}> [nixpkgs] @jtojnar pushed commit from @Anton-Latukha to master « handbrake: add FDK as option (#38809) »: https://git.io/vxxmD
humanoyd has quit [Ping timeout: 265 seconds]
seafood has joined #nixos
<lonokhov> o/
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to staging: https://git.io/vxxYl
<{^_^}> → b9219912 by @jtojnar: cairo: 1.14.10 → 1.15.10
<{^_^}> → 2b659696 by @jtojnar: librsvg: 2.42.2 → 2.42.3
<{^_^}> → 8bf523e1 by @jtojnar: python.pkgs.pycairo: 1.15.4 → 1.16.3
<{^_^}> [nixpkgs] @jtojnar merged pull request #38680 → librsvg: 2.42.2 → 2.42.3 → https://git.io/vxFea
Synthetica has joined #nixos
seafood has quit [Client Quit]
<nschoe> Hi everyone, can someone explains why I have this error "collision between xxx/firefox-bin-58.0.2/bin/firefox and firefox-59.0.2/bin/firefox ; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages" when trying to upgrade / install firefox?
<{^_^}> [nixpkgs] @primeos merged pull request #38829 → lolcat: 90.8.8 -> 99.9.10 → https://git.io/vxxe6
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/vxxY1
<{^_^}> → 81b2e4fc by Florian Engel: lolcat: 90.8.8 -> 99.9.10
<{^_^}> → ad45ebeb by @primeos: Merge pull request #38829 from StillerHarpo/lolcat
<nschoe> What does it mean to have a "collision" if packages are installed in separate location, as I believe is the essence of the nix pkgs manager?
<clever> nschoe: you have 2 copies of firefox installed in `nix-env -q`
<clever> nschoe: you need to remove one of them
<clever> otherwise, it wont know which one should be in $PATH
chimay has joined #nixos
<nschoe> clever, hum, okay. I'm looking it up then
<lonokhov> question about haskell infra: I do nix-shell into derivation.env, and it's $NIX_GHC_DOCDIR does not have any haddocks. Is that expected?
<nschoe> clever, nix-env -qaPs on ".*firefox.*" returns this: https://s17.postimg.cc/kz0oai2pb/firefox-query.png. The multiple versions you mentionned, this is because of the "P" flags?
<clever> nschoe: try just `nix-env -q` with nothing else
<nschoe> Because I don't see any "I" flags (which, IIRC stands for "installed on the system"
<nschoe> clever, okay, here I see only one firefox: "firefox-bin-58.0.2"
<clever> nschoe: the name changed from firefox-bin to firefox, so nix-env doesnt consider it an upgrade
<clever> nschoe: so nix-env is trying to add a 2nd firefox
<clever> you need to uninstall 58 before you can instal 59
<nschoe> clever, ah okay! Now I understand, this is because of the name change, thanks!
<nschoe> clever, worked like a charm, thanks.
pie_ has quit [Ping timeout: 240 seconds]
romildo has joined #nixos
humanoyd has joined #nixos
mounty has quit [Ping timeout: 240 seconds]
mounty has joined #nixos
<{^_^}> [nix] @shlevy pushed 2 commits to master: https://git.io/vxxsy
<{^_^}> → 2ef8f060 by @sseefried: Add to glossary and clarify garbage collection
<{^_^}> → 3d748d33 by @shlevy: Merge pull request #2071 from sseefried-forked/clarify-glossary-and-garbage-collection
<{^_^}> [nix] @shlevy merged pull request #2071 → Add to glossary and clarify garbage collection → https://git.io/vxxtG
ericsagnes has quit [Ping timeout: 240 seconds]
<romildo> Why the last nixos-unstable release is already 19 days old? It used to happen more frequently.
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/82233e0bb7e (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
jrolfs has joined #nixos
<Myrl-saki> Scary how 4 days ago is considered as yellow.
* Myrl-saki is not a bleeding edge person anymore
<clefru> since zfs 0.7.7 I'll probably think that too.
<Myrl-saki> clefru: It was more of an "I'm too lazy to update" that became a "well, I prefer stability anyway."
tmaekawa has joined #nixos
simukis has joined #nixos
<Myrl-saki> clefru: For programming, I still bleed, and that's just more reason to love Nix.
<unacceptable> What's the difference between 18.03-small and 18.03 (besides one being "small")
xAFFE has left #nixos ["Error from remote client"]
<clever> unacceptable: -small doesnt wait for hydra to finish building every single package
sigmundv__ has quit [Ping timeout: 264 seconds]
<clever> both wait for critical tests
<unacceptable> clever: a smaller subset of nixpkgs then?
<clever> yeah
<clefru> Myrl-saki: yes, managing programming environments is really great under nix
<Myrl-saki> clever: Ping. I already nix-built nix. What do I do now?
tmaekawa has quit [Quit: tmaekawa]
tmaekawa has joined #nixos
<clefru> has anyone used emoji font fallbacks under nix? like with noto or emojione as font
astiles has joined #nixos
<unacceptable> clefru: I keep reading that, but I never seemed to get it to work properly
cx405 has joined #nixos
sigmundv__ has joined #nixos
astiles has quit [Ping timeout: 245 seconds]
<cx405> Hi! A question about nix expression language. I want to do several actions in the function instead of just one, but how can I implement this?
teto2 has quit [Quit: WeeChat 2.0]
<Taneb> cx405: what exactly do you mean by "action"?
<cx405> Taneb: I mean function calls. I want to create a function that contains two function calls.
tmaekawa has quit [Quit: tmaekawa]
Myrl-saki has quit [Quit: WeeChat 1.6]
<cx405> something like this: let func2 = "hello"; func3 = " everyone."; func1 = ( func2 && func3 ); in func1
<Taneb> How do you want to combine "hello" and " everyone." there?
<Taneb> Just string concatenation?
ixxie has joined #nixos
<cx405> Taneb: no, I want nix to evaluate first branch, then second.
<cx405> Taneb: just like nix evaluates addition operators: (x: y: x + y + y ) 10 20
Myrl-saki has joined #nixos
<cx405> here are two operator calls, but I want to do two+ function calls. Its fine if they are evaluated sequentially.
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/cc95cbed4a2 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-18.03)
<cx405> Oh, nice, I can update!
olto has joined #nixos
xAFFE has joined #nixos
d0nkey has joined #nixos
iyzsong has quit [Ping timeout: 276 seconds]
liori has joined #nixos
romildo has quit [Quit: Leaving]
fendor has joined #nixos
<srhb> cx405: Your question makes little sense. There are no actions or instructions(*), just values.
<srhb> cx405: I think you're thinking of nix in an imperative way, which will not work :)
<cx405> srhb: no, actually, I want to call two groups sequentially, which should unpack during evaluation.
<srhb> cx405: There is no "sequentially" either. Perhaps you should pose the actual problem you have. :)
romildo has joined #nixos
<cx405> srhb: this is actually the actual problem, I am learning nix, carefully, turtle tempo and made it to loops in "nix by example", where the suggested recursion just outputs one of the arguments - and I am trying to figure how to do a "_call_back" "function" equivalent.
<cx405> srhb: The nix by example: https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55 Its under "loops" paragraph.
<srhb> cx405: But notice how this recursion is just producing a value. That's what the questions were about before.
<cx405> however, I am trying to expand whats possible. I know how nix evaluates tree nodes, so theoretically this should be possible.
<cx405> srhb: well, its fine, the functions can also produce values.
<srhb> Sure, the question is "how do you want to combine the values"
<cx405> srhb: I mean nix-type of "function", when I say "function" ofc.
<cx405> srhb: hmmmmm, interesting!
jrolfs has quit [Ping timeout: 264 seconds]
<srhb> So assuming you have two functions f and g that you want to apply to x and y, and combine with g, your answer is h (f x) (g y)
<srhb> But it's not clear that that's what you're asking, because you seem to be mixing in a "do this, *then* that"
<srhb> And there is no "then"
<cx405> Well, "then" can be concatenation of results ofc, but I get the idea. :)
<srhb> OK! Then yes, my answer stands. :)
<srhb> (Although I meant combine with *h* not g)
<cx405> The build of last-current [18.03] update, which is few minutes ago, breaks on my system with "flash_player_npapi_linux.x86_64.tar.gz.drv" failing.
<cx405> srhb: I can figure out from here, I guess - I got what you mean. Thank you! :)
<srhb> cx405: Great! :)
<srhb> cx405: About that error, am I right to guess that it's complaining about a wrong hash?
<srhb> cx405: Adobe has a tendency to mutate the file in place, so our hashes are no longer true when they update the version (more or less silently...)
<srhb> Hm, no, guess in this case they just remove the old url entirely. Fun.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38836 → openvdb: 5.0.0 -> 5.1.0 → https://git.io/vxxW0
<cx405> srhb: Yes, I had same fun experience with teamviewer, when I was writing my first "configuration.nix". Yet, people behind teamviewer use nix - but don't want to take responsibility :/
<srhb> Oh, really? I didn't know that.
<das-g[m]> acowley: I've documented the answer I got from you re extensions.gnome.org on https://unix.stackexchange.com/a/437249/161209
<{^_^}> [nixpkgs] @eonpatapon opened pull request #38837 → dockerTools.buildImage: add /nix/store with correct permissions → https://git.io/vxxlR
<srhb> cx405: Anyway, flashplayer was updated yesterday in the release branch, so it should be in soon.
<cx405> srhb: nice! thanks for sharing. :)
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
zybell_ has quit [Ping timeout: 240 seconds]
jrolfs has joined #nixos
<mkaito> how can I list the files that exist in a certain package, given a package name like "nixos.foo"?
ThatDocsLady has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @volth opened pull request #38838 → exfat-utils, fuse_exfat -> exfat → https://git.io/vxx4L
<{^_^}> [nixpkgs] @jtojnar merged pull request #38819 → purple-hangouts: 2017-10-08 -> 2018-03-28 → https://git.io/vxAMv
<{^_^}> [nixpkgs] @jtojnar pushed commit from @Ralith to master « purple-hangouts: 2017-10-08 -> 2018-03-28 (#38819) »: https://git.io/vxx4q
jrolfs has quit [Ping timeout: 240 seconds]
xcmw has joined #nixos
<srhb> mkaito: build it and list all the files.
ericsagnes has joined #nixos
<srhb> mkaito: I think nix-index also contains an index of what files were in there when hydra built it.
<srhb> (Which is essentially the same method, only someone elses computer did the work for you!)
<{^_^}> [nixpkgs] @dotlambda merged pull request #38762 → m4ri: init at 20140914 → https://git.io/vxNYq
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxx4z
<{^_^}> → 280b421c by Timo Kaufmann: m4ri: init at 20140914
<{^_^}> → 077bf8de by @dotlambda: Merge pull request #38762 from timokau/m4ri-init
shikiryogy has joined #nixos
mojjo has joined #nixos
<srhb> mkaito: Explicitly, this method: find $(nix-build '<nixpkgs>' -A hello --no-out-link)
<mkaito> I kinda miss `pacman -Ql` :P
<srhb> What does that do?
<mkaito> list files contained in an installed package
<srhb> Well.. What's wrong with find :P
<mkaito> nothing, just more convenient to type lol
<srhb> Make an alias :)
<mkaito> yep already on it lol
<srhb> \o/
<srhb> The nice thing here is how little magic is involved
telent has joined #nixos
dan_b has joined #nixos
<srhb> Every package has its own subtree in the store, so finding all the files really is as simple as listing them.
<mkaito> I already wrote myself a shell function that wraps `nix-env -qaP | grep -i <stuff>` with a cache file.
<Dezgeg> maybe one could add such a feature to nix-locate, then you wouldn't even need to download the package
<mkaito> yeah, the hard part is finding which path in the store it is sometimes
<symphorien> mkaito: nix-index / nix-locate might make up for some use cases
<srhb> Dezgeg: Yes, that would be handy
<symphorien> Ah too late
<shikiryogy> Hi guys, after upgrading to 18.03, I don't have sound. I read the release notes and added "sound.enable", I enabled pulseadio, but still no sound whatsoever, is there something else I should enable? Sound was working fine on 17.09
<srhb> mkaito: Right, that's where nix-build helps :)
<mojjo> hi! I had good experiences with running NixOs on a macbook. A question: Is there a good support for a "DELL XPS 13 9360R" laptop? I guess so, but just to make sure...
Fare has joined #nixos
ThatDocsLady has joined #nixos
<goibhniu> hi shikiryogy, did you check if the volume is turned up in alsamixer?
<shikiryogy> goibhniu checked, it is
rosa has joined #nixos
<goibhniu> shikiryogy: hrm ... in pavucontrol ... are applications using the right device? (they might be defaulting to HDMI or something)
<{^_^}> [nixpkgs] @7c6f434c closed pull request #22532 → WIP: Setuid interface → https://git.io/vDBGz
<srhb> Speaking of sound, is there a nice pavucontrol applet?
<srhb> Anything lightweight.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38839 → marp: 0.0.11 -> 0.0.12 → https://git.io/vxxBF
<d0nkey> How can I enable the redis php extension for the interpreter?
<shikiryogy> goibhniu thanks, it was there, fixed now :)
iyzsong has joined #nixos
<goibhniu> shikiryogy: yay!
<{^_^}> [nixpkgs] @7c6f434c closed pull request #36682 → sbcl: 1.4.4 -> 1.4.5 → https://git.io/vAh3r
rosa_ has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #38768 → singular: 3.1.7 -> 4.1.1 → https://git.io/vxN0U
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxxR3
<{^_^}> → fa3d0cef by Timo Kaufmann: singular: 3.1.7 -> 4.1.1
<{^_^}> → 783204bd by @7c6f434c: Merge pull request #38768 from timokau/singular-4.1.1
<srhb> d0nkey: Do you mean phpredis? It does not appear to be packaged.
<{^_^}> [nix-pills] @dudebout opened pull request #67 → Pill 20 buildable → https://git.io/vxxR0
<srhb> d0nkey: Yeah, though that's just a package. Not sure what the difference is
rosa has quit [Read error: Connection reset by peer]
<cx405> srhb: hmm, I remember there was a certain case, where PA would disable "monitors" of output,- but the only way to see their status or to enable them was via pavucontrol. This results in inability to record any sound, whats played on the system. They are listed on "input devices". Thats something to remember and check if there is pavucontrol alternative. I use what KDE offers plus pavucontrol (just for this case).
<srhb> cx405: I think part of that message was aimed at shikiryogy? But thanks! :)
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/vxxRX
<{^_^}> → aa9bc177 by @NeQuissimus: linux: 4.16.1 -> 4.16.2
<{^_^}> → a34de6c4 by @NeQuissimus: linux: 4.15.16 -> 4.15.17
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.15.16 -> 4.15.17 »: https://git.io/vxxRM
cx405 has quit [Quit: Goodbye cruel world!]
jrolfs has joined #nixos
<srhb> pasystray appears to fit the bill.
rosa_ has quit [Quit: rosa]
rosa_ has joined #nixos
rosa_ has quit [Remote host closed the connection]
zzamboni has joined #nixos
rosa has joined #nixos
seafood has joined #nixos
rauno has quit [Ping timeout: 260 seconds]
maxventu has joined #nixos
pkill9 has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
rosa has quit [Quit: rosa]
hodapp has quit [Ping timeout: 265 seconds]
bbsl has joined #nixos
rosa has joined #nixos
<bbsl> can anoyne tell me how nixos links its packages in the store? say if I install package A that depends on lib B then I install package C that allso depends on lib B. Given that they both depend on the same version will package C be able to use the same lib first installed by package A (dinamicly linked) or is it all staticaly linked in package A?
<{^_^}> [nixpkgs] @domenkozar merged pull request #38839 → marp: 0.0.11 -> 0.0.12 → https://git.io/vxxBF
<{^_^}> [nixpkgs] @domenkozar pushed commit from R. RyanTM to master « marp: 0.0.11 -> 0.0.12 »: https://git.io/vxxEy
<gchristensen> bbsl: they will be dynamically linked annd share
<gchristensen> bbsl: https://gist.github.com/grahamc/caffbdcd1e4271b8f4f841d6fb316958 notice that, for example, libc is the same between these two programs
rauno has joined #nixos
<bbsl> gchristensen: ok that makes sense I guess but then how are the packages also isolated from eachother?
<benny> I thought I had a handle on nixpkgs but apparently I do not. I want to nix-env -iA something that is only in my copy of nixpkgs so I exported NIX_PATH=nixpkgs=$HOME/nixpkgs but it's not using the latest version in my nixpkg repo
Fare has joined #nixos
<gchristensen> bbsl: notice the very interesting URL by which they reference their libs :)
<gchristensen> s/URL/file path/ d'oh
<gchristensen> benny: nix-env breaks rules :(
<TweyII> benny: nix-env supports -I, so you can nix-env -I$HOME/nixpkgs -iA hello
<gchristensen> or you may need nix-env -f $HOME/nixpkgs? I'm not sure ... I don't use nix-env because it is confusin to me.
<TweyII> Oh, yeah, -f is probably better
hodapp has joined #nixos
<TweyII> benny: nix-env knows about channels, so it does channel magic & probably doesn't support NIX_PATH in the same way as other things
<gchristensen> fwiw I either put packages in systemPackages globally, or use nix-shell. I don't use nix-env.
<{^_^}> [nixpkgs] @dotlambda pushed commit from @timokau to master « pythonPackages.cysignals: init at 1.6.9 (#38781) »: https://git.io/vxxu8
<{^_^}> [nixpkgs] @dotlambda merged pull request #38781 → cysignals init → https://git.io/vxN5T
<mkaito> stupid question. I should have added myself to maintainers.nix a while ago. should I do that in a separate PR?
jrolfs has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38841 → ncmpcpp: 0.8.1 -> 0.8.2 → https://git.io/vxxuu
<benny> that is very confusing and also doesn't work for me, hehe. nix-env -I $HOME/nixpkgs -iA blabla picks up the old blabla from before my modifications
<{^_^}> [nixpkgs] @thorerik opened pull request #38842 → Add mopidy-mpris → https://git.io/vxxu2
<TweyII> benny: Did you try -f?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TweyII> I think I used to do nix-env -f~/nixpkgs -iA hello
<benny> pointed at my local nixpkgs repo "error: attribute 'nixos' in selection path 'nixos.libsForQt5.qtstyleplugin-kvantum' not found"
<TweyII> benny: That's to be expected — the attribute will be relative to pkgs
<benny> yeah without nixos it works, thanks!
<TweyII> NP
<TweyII> Mmmm
<TweyII> benny: -I and NIX_PATH will only affect <angle-bracket paths> anyway
<TweyII> benny: So ‘nixos’ probably refers to your env nixos channel
<TweyII> benny: But if you evaluate <nixpkgs> you'd probably get your ~/nixpkgs
<benny> my nix-build used <nixpkgs> to get it to build as it requires an argument, that's why I was confused between the tools
<steveeJ> hey, I'm experiencing very distorted font rendering in umlet and plantuml, which are both java based. seems like it's an issue with java font rendering but I wouldn't know how to fix it. I'm on 18.03
MercurialAlchemi has quit [Ping timeout: 256 seconds]
<TweyII> benny: If you're doing something like nix-build -E '(import <nixpkgs> { }).callPackage ./package.nix { }' you can also just do nix-build -E '(import /home/benny/nixpkgs { }).callPackage ./package.nix { }'
<TweyII> And bypass NIX_PATH entirely
MercurialAlchemi has joined #nixos
<benny> good to know, because when you're new you don't know how much magic is behind the various things
xcmw has joined #nixos
<TweyII> benny: nix-env has more magic than most things :þ
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ixxie has joined #nixos
<benny> thanks for the help, I'm now able to fix the first issue on Github from someone other than me :P
mkoenig has joined #nixos
jrolfs has joined #nixos
<TweyII> Congrats!
<xCuri0> has anyone ported nixos to arm64ilp32 ?
<xCuri0> if not how can I try to build it myself ?
mkoenig_ has quit [Ping timeout: 240 seconds]
<benny> do you add yourself to the maintainers when you update a version? or what's the etiquette here
mkoenig_ has joined #nixos
chimay has quit [Quit: WeeChat 2.1]
mkoenig has quit [Ping timeout: 240 seconds]
rauno has quit [Ping timeout: 255 seconds]
jrolfs has quit [Ping timeout: 264 seconds]
FareTower has joined #nixos
__Sander__ has joined #nixos
lord| has quit [Quit: WeeChat 2.1]
raynold has quit [Quit: Connection closed for inactivity]
coot has quit [Quit: coot]
Fare has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38843 → miniupnpd: 2.0.20180222 -> 2.0.20180410 → https://git.io/vxxgm
acarrico has joined #nixos
xCuri0 has left #nixos ["Leaving"]
rosa has quit [Quit: rosa]
<{^_^}> [nixpkgs] @bandresen opened pull request #38844 → libsForQt5.qtstyleplugin-kvantum: 0.10.4 -> 0.10.6 → https://git.io/vxxgl
tertle||eltret has quit [Quit: Connection closed for inactivity]
seville has joined #nixos
<fadenb> benny: if you intend to use it for some time and keep it up to date most people add themselves as maintainer
shikiryogy has quit [Ping timeout: 276 seconds]
<benny> for this package I decided against it, I just wanted to try it and found out it was broken and it was a good excuse to learn more nix
<benny> thanks :-)
m0rphism1 has joined #nixos
FareTower has quit [Ping timeout: 240 seconds]
<thor> I made the changes that dotlambda suggested in https://github.com/NixOS/nixpkgs/pull/38842, when I now run nix-build, it started pulling in rust, didn't do that with the original PR, why would it do that for a python package?
reinzelmann has quit [Quit: Leaving]
<Myrl-saki> Who here uses Nix only?
<Myrl-saki> Like, non-NixOS.
mmercier has joined #nixos
<Myrl-saki> I built Nix with Nix already. What do I do next?
<Myrl-saki> nix-env?
<Myrl-saki> Or is there a declarative way like NixOS?
seafood has quit [Quit: seafood]
m0rphism1 has quit [Ping timeout: 260 seconds]
m0rphism1 has joined #nixos
seafood has joined #nixos
pie_ has joined #nixos
<TweyII> Myrl-saki: I use it on some servers, yeah
<Myrl-saki> TweyII: Without NixOps?
<Myrl-saki> TweyII: I'm setting up my Pi2, and I got nix built on nix already. I'm trying to figure out how to proceed from that.
darlan has joined #nixos
<Myrl-saki> nix-env -iA nix; cd ~/nix; sudo make uninstall
darlan has quit [Client Quit]
<Myrl-saki> ?
Aleksejs has quit [Quit: Goodbye]
Aleksejs has joined #nixos
vaninwagen has quit [Ping timeout: 240 seconds]
vaninwagen has joined #nixos
telent has quit [Ping timeout: 264 seconds]
dan_b has quit [Ping timeout: 264 seconds]
kgz is now known as kragniz
Rusty1_ has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
maxventu has left #nixos [#nixos]
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<TweyII> Myrl-saki: I just use it from there
<Myrl-saki> TweyII: Use what?
<Myrl-saki> pie_: Nope.
<pie_> ran across it by accident it might work better for me *shrug*
<TweyII> Myrl-saki: Nix
<TweyII> nix-shells for development environments, nix-env for overriding the incredibly old packageset on the server
rosa has joined #nixos
<Myrl-saki> TweyII: No more replacing the nix?
<Myrl-saki> I mean
<Myrl-saki> TweyII: No more replacing the tarball nix?
<TweyII> No, I just leave it there
<Myrl-saki> Mkay.
<TweyII> What do you want to do with it exactly?
kragniz is now known as kgz
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<steveeJ> I found an issue on GH about my previously explained java font rendering issue: https://github.com/NixOS/nixpkgs/issues/31294
<steveeJ> is the 17.09 milestone still maintained?
<Myrl-saki> TweyII: Use the Nix that I built with Nix.
propumpkin is now known as contrapumpkin
<TweyII> Myrl-saki: You can nix-env it in?
<Myrl-saki> TweyII: Yeah.
<Myrl-saki> I think I just did.
szicari has joined #nixos
xcmw has joined #nixos
nschoe has joined #nixos
<Myrl-saki> Okay. I'm pretty lost now.
<Myrl-saki> bash /nix/store/08y68rgc01gkqfbmn0v5f0v74hflzv66-nix-2.0/etc/profile.d/nix.sh
<Myrl-saki> How do I add that to my .profile?
<Myrl-saki> `.nix-profile/etc/profile.d/nix.sh`?
ditadi has quit [Ping timeout: 268 seconds]
toby1851 has joined #nixos
<Myrl-saki> `sudo` removes the nix.sh from the $PATH/
seafood has quit [Quit: seafood]
<Myrl-saki> I mean
<Myrl-saki> pi@raspberrypi:~ $ bash -c 'echo $PATH'
<Myrl-saki> /home/pi/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
<Myrl-saki> pi@raspberrypi:~ $ sudo bash -c 'echo $PATH'
<Myrl-saki> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
<{^_^}> [nixpkgs] @dotlambda merged pull request #38757 → conan: 1.1.1 -> 1.2.3 → https://git.io/vxNLi
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to staging: https://git.io/vxxro
<{^_^}> → 36ce7ac8 by @dotlambda: python.pkgs.deprecation: init at 2.0.2
<{^_^}> → 13dadd48 by @dotlambda: conan: 1.1.1 -> 1.2.3
<{^_^}> → 04001d8b by @dotlambda: Merge pull request #38757 from dotlambda/conan-1.2.3
zybell_ has joined #nixos
mmercier has quit [Ping timeout: 260 seconds]
xy2_ has joined #nixos
crooksey has joined #nixos
silver has joined #nixos
telent has joined #nixos
dan_b has joined #nixos
alexteves_ has joined #nixos
logzet has joined #nixos
<MarcWeber> @garbas: does pypi2nix support find_packages() from setuptools sometimes used in setup.py?
asuryawanshi has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38845 → ipset: 6.36 -> 6.38 → https://git.io/vxxoM
<nschoe> I have a small question regarding channels: when I run `nixos-rebuild build/switch/test`, it will rebuild against the channels that were added as root, i.e. those I see with `sudo nix-channels --list`, right? But when I install packages as standard user (with `nix-env -i`), the versions which are installed ar ebased on the user's channel, right?
<nschoe> And *if* I don't have any user channels (output of `nix-channels --list run as non-root user being empty), *then* it takes the root channels, is that correct?
nocnoc has joined #nixos
<tilpner> All of that behaviour is customizable and depends on the values of NIX_PATH and the contents of ~/.nix-defexpr, for each user
<nocnoc> 0/
nocnoc has left #nixos [#nixos]
<Myrl-saki> I have no idea how the hell sudo works now.
<nschoe> tilpner, hum okay, I see nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs so I guess my regular user uses root's channels.
robstr has joined #nixos
<tilpner> nschoe - All tools that use <nixpkgs> will use root's channels like that, yes. Unfortunately, nix-env doesn't care for your NIX_PATH
m0rphism1 has quit [Ping timeout: 245 seconds]
<crooksey> I am trying to create a nix configuration for my desktop, so I can simply run a nixos-install, then pull in a user profile, install that, then pull in any configuration files etc, would this be the most logical approach?
<nschoe> tilpner, okay, thanks. Thing is: I have had 'nixos' and 'unstable' added as root's channel and no user channels since I installed nixOS. And it has caused me some troubles. So my thought was to have only 'nixos' in root's channel and add 'unstable' only in the user's channels.
romildo has quit [Quit: Leaving]
<nschoe> But with what you've jsut told me, it means that nix-env won't care about that, and always use root's channels?
<nschoe> So I can't effectively do what I wanted.
<tilpner> nschoe - No, nix-env will look at the contents of ~/.nix-defexpr
fendor has quit [Ping timeout: 260 seconds]
<tilpner> nschoe - If you want to make nix-env honor NIX_PATH, make sure that ~/.nix-defexpr contains a single file "default.nix" with the contents "import <nixpkgs>"
<nschoe> tilpner, hum this is very confusing :/ in my .nix-deferxpr I have two symbolic links: 'channels' and 'channels_root'.
<Myrl-saki> I have no idea anymore
<nschoe> Based on this, it should take both the root and the user's channel (I checked: 'channels' point to my user's channels). And since I want to enable 'unstable' as my user's channels, this should work, right?
<{^_^}> [nixpkgs] @aszlig pushed to master « kernel: Fix running kernels *with* modules »: https://git.io/vxx6E
<{^_^}> [nixpkgs] @Mic92 pushed to master « coreclr: 2.0.0 -> 2.0.7 »: https://git.io/vxx6V
<Myrl-saki> Okay...
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.03 « coreclr: 2.0.0 -> 2.0.7 »: https://git.io/vxx6P
<tilpner> nschoe - Your nix-env should look at your user channels, yes
nschoe_ has joined #nixos
leat has quit [Ping timeout: 256 seconds]
bbsl has quit [Remote host closed the connection]
nschoe has quit [Ping timeout: 264 seconds]
vidbina has joined #nixos
rosa has quit [Quit: rosa]
acarrico has quit [Ping timeout: 246 seconds]
rosa has joined #nixos
olto has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38846 → knot-dns: 2.6.5 -> 2.6.6 → https://git.io/vxxiX
<{^_^}> [nixpkgs] @pbogdan opened pull request #38847 → rtkit: fix build → https://git.io/vxxiy
kmicklas has joined #nixos
leat has joined #nixos
ryanartecona has joined #nixos
mmercier has joined #nixos
jperras has joined #nixos
<Myrl-saki> Okay. I'm done.
<Myrl-saki> Basically, Debian is magical. Do not touch.
xcmw has quit [Ping timeout: 260 seconds]
xcmw has joined #nixos
hakujin has joined #nixos
kai_w has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed to master « rtkit: Add patch to fix format string errors »: https://git.io/vxxXe
<Myrl-saki> I have no idea how computers work. Why does NixOS properly set the profile, but not Debian
<nschoe_> Myrl-saki, I get that feeling too. nix/nixOS are confusing, but you should not quit ^^
iyzsong has quit [Ping timeout: 256 seconds]
<joepie91> Myrl-saki: I mean, you're assuming there that computers *do* work, which is a mighty shaky assumption... :)
<{^_^}> [nixpkgs] @gebner closed pull request #38847 → rtkit: fix build → https://git.io/vxxiy
MercurialAlchemi has quit [Ping timeout: 246 seconds]
<Myrl-saki> Wow.
<Myrl-saki> So, basically, `sudo` in NixOS preserves PATH, but not Debian.
m0rphism1 has joined #nixos
<joepie91> "As a security measure on Debian, /etc/sudoers has the secure_path option set to a safe value."
<nschoe_> Myrl-saki, man sudo tells about PATH, it "may be overriden by the security policies"
<elvishjerricco> I feel like `sudo` does something different on every OS :/
xcmw has quit [Ping timeout: 276 seconds]
<Myrl-saki> I was looking at shell scripts...
<joepie91> yeah, same thread
<Myrl-saki> Who'd have thought it was in sudoers.
<nschoe_> Myrl-saki, well the configuration for "sudo" in "sudoers" seems pretty logic, don't you think?
rosa has quit [Quit: rosa]
<Myrl-saki> nschoe_: I was thinking that it was because of /etc/profile.
<Myrl-saki> :(
rosa has joined #nixos
erasmas has joined #nixos
jrolfs_ has joined #nixos
<benny> is someone running kde on unstable? I get segfaults on login
rosa has quit [Client Quit]
alp has left #nixos ["Leaving"]
alp has joined #nixos
rosa has joined #nixos
jensens has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @magnetophon opened pull request #38849 → gotop: init at 1.2.9 → https://git.io/vxxMy
coot has joined #nixos
rosa has quit [Quit: rosa]
<{^_^}> [nixpkgs] @aszlig pushed to master « gnumake3: Fix build against glibc-2.27 »: https://git.io/vxxDT
{^_^} has quit [Remote host closed the connection]
ThatDocsLady has quit [Read error: Connection reset by peer]
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
ThatDocsLady has joined #nixos
rosa has joined #nixos
knupfer has joined #nixos
robstr has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
rosa has quit [Quit: rosa]
hyper_ch2 has quit [Quit: Page closed]
rosa has joined #nixos
sanscoeur has joined #nixos
knupfer has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1034aa8e9cb (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
knupfer has joined #nixos
<{^_^}> [nixpkgs] @smatting opened pull request #38851 → Add nvidia_x11 as a dependency in Theano → https://git.io/vxxyw
<{^_^}> [nixpkgs] @Mic92 merged pull request #38838 → exfat-utils, fuse_exfat -> exfat → https://git.io/vxx4L
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxxyQ
<{^_^}> → 49ed1229 by @volth: exfat-utils, fuse_exfat -> exfat
<{^_^}> → d803c60f by @Mic92: Merge pull request #38838 from volth/patch-123
rosa has quit [Quit: rosa]
rosa has joined #nixos
cript0nauta has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
ma27 has quit [Ping timeout: 246 seconds]
nuncanada has joined #nixos
FareTower has joined #nixos
<{^_^}> [nixpkgs] @yorickvP opened pull request #38852 → jetty: 9.3.10.v20160621 -> 9.4.8.v20171121 → https://git.io/vxxHa
cript0nauta has left #nixos [#nixos]
<zybell_> Myrl-saki:Do you really want to preserve PATH on nixos? As root not having the root profile seems to me wrong, sudo nix install cmd works, but sudo cmd after that not?
<Myrl-saki> zybell_: I wanted it on Debian. NixOS does that by default, I believe.
rosa has quit [Quit: rosa]
d0nkey has quit [Ping timeout: 260 seconds]
rosa has joined #nixos
<zybell_> On nixos it feells wrong. Check that it really preserves path (and not accidentally set to the same value)
prooftechnique has quit [Quit: ZNC http://znc.in]
maingo has quit [Quit: Connection closed for inactivity]
rosa has quit [Quit: rosa]
<Myrl-saki> zybell_: I did, yeah.
<Myrl-saki> zybell_: I changed PATH and it preserved it.
rosa has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #38852 → jetty: 9.3.10.v20160621 -> 9.4.8.v20171121 → https://git.io/vxxHa
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vxxdP
<{^_^}> → 28a74fa1 by @yorickvP: jetty: 9.3.10.v20160621 -> 9.4.8.v20171121
<{^_^}> → d8e65482 by @yegortimoshenko: Merge pull request #38852 from yorickvP/jetty
<zybell_> That would mean you run commands from user channel with sudo, but install from root channel.
<{^_^}> [nixpkgs] @adisbladis merged pull request #38704 → trezord: 1.2.1 -> 2.0.12 → https://git.io/vxb8T
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vxxFG
<{^_^}> → a60e1743 by Russell O'Connor: trezord: 1.2.1 -> 2.0.12
<{^_^}> → fbcbac67 by @adisbladis: Merge pull request #38704 from roconnor-blockstream/trezor
<zybell_> Thats bug prone
<petersjt014[m]> has anyone been able to run wicd?
<electrocat> hey, are there some docs available for building things with musl instead of glibc?
<petersjt014[m]> I found an obnoxious error that keeps it from starting, and the solution I usually see online does nothing
<gchristensen> what is the problem and typical solution
<gchristensen> I think most people use networkmanager?
<maurer> I just use wpa_supplicant directly
<maurer> it works fairly well
zzamboni has quit [Quit: Leaving.]
<petersjt014[m]> trying to start the daemon gives me "error backing up resolv.conf ". the suggested solution involves doing something with symlinks, but nix's not following the FHS seems to make that not work
ZeDestructor has joined #nixos
spear2 has quit [Ping timeout: 240 seconds]
vidbina has quit [Ping timeout: 268 seconds]
<tilpner> petersjt014[m] - Are you starting it manually or via networking.wicd.enable?
seville has quit [Quit: Leaving]
<petersjt014[m]> it's a service? I didn't know that. one sec while I try that
rosa has quit [Quit: rosa]
<petersjt014[m]> .....
zzamboni has joined #nixos
<petersjt014[m]> one metric crapton of symlinks later...
nixer has quit [Quit: Page closed]
ma27 has joined #nixos
zzamboni has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38853 → efivar: 34 -> 35 → https://git.io/vxxb6
<petersjt014[m]> two syntax errors later..
<{^_^}> [nixpkgs] @yorickvP opened pull request #38854 → postgresql-jdbc: 9.3-1100 -> 42.2.2 → https://git.io/vxxbd
<petersjt014[m]> yup that works
<petersjt014[m]> thanks :)
nschoe_ has quit [Ping timeout: 246 seconds]
jperras has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38841 → ncmpcpp: 0.8.1 -> 0.8.2 → https://git.io/vxxuu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxxNc
<{^_^}> → 8a41729c by R. RyanTM: ncmpcpp: 0.8.1 -> 0.8.2
<{^_^}> → 21042229 by @Mic92: Merge pull request #38841 from r-ryantm/auto-update/ncmpcpp
xAFFE has left #nixos ["Error from remote client"]
<{^_^}> [nixpkgs] @Mic92 pushed commit from R. RyanTM to release-18.03 « ncmpcpp: 0.8.1 -> 0.8.2 »: https://git.io/vxxNg
rosa has joined #nixos
ottidmes has joined #nixos
mojjo has quit [Ping timeout: 240 seconds]
nschoe_ has joined #nixos
rosa has quit [Client Quit]
<ottidmes> I have a submodule, but and when I was defining an additional option for it and forgetting to use mkDefault for the default config value, I got an error that the value could not be merged (it had type int). However I have no clue why it would be assigned multiple times, since the only assignment to it is the config block of the submodule where I forgot to wrap it in a mkDefault
knupfer has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @pbogdan opened pull request #38855 → eq10q: fix build with glibc 2.27 → https://git.io/vxxAH
rosa has joined #nixos
nschoe_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38854 → postgresql-jdbc: 9.3-1100 -> 42.2.2 → https://git.io/vxxbd
<{^_^}> [nixpkgs] @Mic92 pushed commit from @yorickvP to master « postgresql-jdbc: 9.3-1100 -> 42.2.2 (#38854) »: https://git.io/vxxxc
<{^_^}> [nixpkgs] @yorickvP opened pull request #38856 → acme.sh: init at 2.7.8 → https://git.io/vxxx4
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 4.14.33 -> 4.14.34 »: https://git.io/vxxxi
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.33 -> 4.14.34 »: https://git.io/vxxxM
asuryawanshi has joined #nixos
rosa has quit [Quit: rosa]
__Sander__ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @zimbatm merged pull request #38640 → asciidoctor: 1.5.6.1 -> 1.5.6.2, also add mathematical and coderay → https://git.io/vx7XX
<{^_^}> [nixpkgs] @zimbatm pushed 5 commits to master: https://git.io/vxxp0
<{^_^}> → 69017e46 by @expipiplus1: ruby bundlerApp: Allow passing gemConfig through to bundlerEnv
<{^_^}> → cb3f5a2d by @expipiplus1: asciidoctor: Use an explicit path to patchelf
<{^_^}> → 16bc4ffc by @expipiplus1: asciidoctor: 1.5.6.1 -> 1.5.6.2, also add mathematical and coderay
raynold has joined #nixos
crooksey has quit [Ping timeout: 264 seconds]
bpa has joined #nixos
vaninwagen has quit [Ping timeout: 240 seconds]
<ekleog> dotlambda: about the issue with dovecot 2.3.1 I was mentioning, after investigating during the switch from 2.3.0.1 to 2.3.1 dovecot stopped supporting Return-Path: foo@bar and wants the Return-Path: <foo@bar> (as mandated by the RFC), which breaks as opensmtpd forgets the <>
vidbina has joined #nixos
dan_b has quit [Ping timeout: 256 seconds]
telent has quit [Ping timeout: 260 seconds]
<ekleog> so I think it should be backed out at least from release-18.03 for now, waiting for the 2.3.1.1, which should fix this issue? (I'm also contacting opensmtpd to fix this RFC-non-compliance)
<{^_^}> [nixpkgs] @yorickvP opened pull request #38857 → oauth2_proxy: 20160120 -> 20180325 → https://git.io/vxxhl
<{^_^}> [nixpkgs] @abbradar opened pull request #38858 → Update wxGTK and use GTK3 version → https://git.io/vxxjq
jperras has joined #nixos
Tucky has quit [Quit: WeeChat 2.1]
magnetophon has quit [Remote host closed the connection]
ryanartecona has quit [Quit: ryanartecona]
rosa has joined #nixos
boomshroom has joined #nixos
<boomshroom> Good morning or other time specific greating!
<Dezgeg> by definition it's always morning: http://www.total-knowledge.com/~ilya/mips/ugt.html
<tilpner> Mic92 - ping
rosa has quit [Client Quit]
<tilpner> Mic92 - Should https://github.com/NixOS/nixpkgs/issues/16085 be reopened?
nschoe_ has joined #nixos
<{^_^}> [nixpkgs] @pbogdan opened pull request #38860 → unixtools.modprobe: fix → https://git.io/vxpfV
nschoe_ has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
FareTower has quit [Ping timeout: 276 seconds]
rosa has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38860 → unixtools.modprobe: fix → https://git.io/vxpfV
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxpJ3
<{^_^}> → 0b9ca787 by @pbogdan: unixtools.modprobe: fix
<{^_^}> → 55e65616 by @matthewbauer: Merge pull request #38860 from pbogdan/unixtools-modprobe
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38861 → brotli: 1.0.3 -> 1.0.4 → https://git.io/vxpJ8
socksy_ has quit [Remote host closed the connection]
xAFFE has joined #nixos
<TweyII> If I have some binary that's linked in a FHS kind of way, can I relink it into my Nix environment using patchelf? I know I can set the full rpath and then shrink it, but I'm not sure how to get the rpath of all the inputs
astiles has joined #nixos
astiles has quit [Remote host closed the connection]
<boomshroom> TweyII: You should just need to provide each dependency to patchelf individually.
astiles has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
rosa has quit [Quit: rosa]
rosa has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
krey has quit [Remote host closed the connection]
rosa has quit [Client Quit]
astiles has quit [Remote host closed the connection]
astiles has joined #nixos
astiles has quit [Remote host closed the connection]
<TweyII> boomshroom: Oh yeah! I guess that works — thanks
astiles has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
winem_ has quit [Ping timeout: 256 seconds]
Ariakenom has joined #nixos
rosa has joined #nixos
astiles has quit [Remote host closed the connection]
astiles has joined #nixos
toby has joined #nixos
toby is now known as Guest5112
rosa has quit [Client Quit]
toby1851 has quit [Ping timeout: 260 seconds]
lonokhov has quit [Quit: Lost terminal]
sigmundv__ has quit [Ping timeout: 256 seconds]
astiles has quit [Ping timeout: 255 seconds]
rauno has joined #nixos
rosa has joined #nixos
nschoe_ has joined #nixos
<Mic92> tilpner: done
<Mic92> I have not worked a lot after then with ocaml
rosa has quit [Client Quit]
<tilpner> Mic92 - Aww, I was hoping you'd have found a way to use topfind without an ocaml wrapper :/
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38862 → babl: 0.1.44 -> 0.1.46 → https://git.io/vxpIC
<tilpner> I guess I can just append to postInstall and wrap it, but it's not pretty
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/82233e0bb7e (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
rosa has joined #nixos
<Ralith> how do I make `nix build` show me the full output of a failed build?
<tilpner> Ralith - Try nix log
<Mic92> tilpner: maybe vbgl has better insights
<boomshroom> Ralith: nix log is the command.
<{^_^}> [nixpkgs] @pbogdan opened pull request #38863 → caps: fix build with glibc 2.27 → https://git.io/vxpIz
<tilpner> Ralith - Or stty ocrnl (didn't try, pasted from irc log)
rauno has quit [Ping timeout: 260 seconds]
<Ralith> huh, neat
nschoe_ has quit [Ping timeout: 256 seconds]
<tilpner> Mic92 - I'll ask #ocaml, and then mail vbgl if I can't get anything else to work. A wrapper would have to go into nixpkgs, and you weren't sure about that either (with utop)
kai_w has quit [Quit: kai_w]
<maurer> or a similar approach
<maurer> (that there adds a command that loads up a utop instance with a relevant set of libraries/definitions)
<tilpner> maurer - I'm actually trying to use oasis (I have no idea what I'm doing), which just calls ocaml on setup.ml
<tilpner> And setup.ml tries to #use "topfind";;
astiles has joined #nixos
rosa has quit [Quit: rosa]
goibhniu has quit [Ping timeout: 256 seconds]
astiles has quit [Remote host closed the connection]
rosa has joined #nixos
astiles has joined #nixos
rauno has joined #nixos
rauno has quit [Remote host closed the connection]
<maurer> tilpner: Hm, I'm surprised that it's not working given that the bap build also invokes oasis and then runs setup.ml
so has quit [Read error: Connection reset by peer]
<maurer> Oh, we compile it first
maingo has joined #nixos
<maurer> have you tried doing that instead?
<maurer> e.g.
<maurer> oasis setup
apeyroux has joined #nixos
<maurer> ocamlfind ocamlopt unix.cmxa setup.ml -o setup
<maurer> ./setup
<maurer> well, ./setup -configure stuff
<maurer> etc.
asuryawanshi has quit [Remote host closed the connection]
<maurer> (this may still be a bug since you might want ocaml to find topfind, but this may get you through your package)
asuryawanshi has joined #nixos
<tilpner> I'm not trying to package something, I want to use oasis interactively. The compiled setup wants to use ./setup.data, which doesn't exist
rosa has quit [Client Quit]
<maurer> setup.data is generated when you run ./setup -configure
ryanartecona has joined #nixos
<tilpner> Oh, that one fails with E: Cannot find external tool 'ocamlbuild'
* tilpner adds that to shell.nix
nschoe_ has joined #nixos
rosa has joined #nixos
logzet has quit [Ping timeout: 255 seconds]
<srhb> Has anyone used --option netrc-file succesfully? Seems to be ignored.
<srhb> Oh, it only works for root...
<srhb> wat.
endformationage has joined #nixos
astiles has quit [Remote host closed the connection]
<lejonet> srhb: nah, netfr just doesn't like you
<lejonet> netfrc*
<srhb> lejonet: try again!
<lejonet> it has a tendency of doing that from time to time
astiles has joined #nixos
<lejonet> srhb: ... blargh :P netrc* my fingers should just stop interfering :P
<srhb> :P I don't see anything transient about it at all. It just fails.
<lejonet> well, thats because it doesn't like you, you have to pretend to be someone else to fool it
<lejonet> :P
<srhb> Ah!
<lejonet> (I've had that happen to me, but not another user on the same machine before, but that was aaaaages ago)
<srhb> Strange...
nschoe_ has quit [Ping timeout: 256 seconds]
<lejonet> The infamous third binary state :)
astiles has quit [Remote host closed the connection]
astiles has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c243e07eb37 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<TweyII> What should I do if my package generates only static binaries? Usually I'd call the shared binaries out and the static binaries static, but this one never produces shared binaries
Synthetica has quit [Quit: Connection closed for inactivity]
endformationage has quit [Read error: Connection reset by peer]
endformationage has joined #nixos
rosa has quit [Quit: rosa]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d8647f96bd2 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<zybell_> are they not produced, or produced and later deleted?log should help
<tilpner> maurer - Using tx0.co/m as my shell.nix even works with oasis setup -setup-update dynamic. Thank you! :)
<TweyII> zybell_: Never produced
<TweyII> Seems intentional
<zybell_> Then look at config flags. How is it configured?Autotools?
<TweyII> zybell_: Yes
<TweyII> I'm not looking to build the shared libs, I'm just not sure how to name the statics
endformationage has quit [Quit: WeeChat 1.9.1]
knupfer has joined #nixos
rosa has joined #nixos
<zybell_> If its intentional I would use normal names. .a doesn't conflict with .so
endformationage has joined #nixos
<TweyII> I was going to do outputs = ["static" "dev"] but the generic builder complains mightily
<TweyII> So just "out"?
<joepie91> have a bash alias, everybody: function nixplore { cd $(readlink -f $(which $1) | grep -oE '\/nix\/store\/[^\/]+') }
<zybell_> yes
<joepie91> `nixplore firefox` cd's you into the store folder of firefox, for example
<joepie91> :p
<TweyII> Docs and headers don't conflict either though
<TweyII> And we like to put those in separate outputs
<silver_hook> What does it change that Borg is in 18.03 now a service (it wasn’t one in 17.09)?
<zybell_> I meant if later shared libs are added.
<TweyII> Oh, I see
<TweyII> Yes, good point
<TweyII> Thanks!
vaninwagen has joined #nixos
parseval has quit [Read error: Connection reset by peer]
parseval has joined #nixos
d0nkey has joined #nixos
coot has quit [Quit: coot]
xcmw has joined #nixos
vil has quit [Ping timeout: 276 seconds]
vil has joined #nixos
logzet has joined #nixos
apostolis has joined #nixos
<apostolis> I cannot install bsdgames : nix-env -iA nixpkgs.bsdgames
<apostolis> from the nix pills tutorial.
tmaekawa has joined #nixos
<tilpner> Try nix-env -iA bsdgames
jrolfs has joined #nixos
<apostolis> section 11.2
tmaekawa has quit [Client Quit]
mmercier has quit [Ping timeout: 256 seconds]
<apostolis> attribute 'bsdgames' in selection path 'bsdgames' not found.
<silver_hook> apostolis: Nix Pills are old and things have changed a bit since. See what tilpner has suggested above.
<apostolis> tilpner : it happens with your solution too.
<tilpner> Huh
<apostolis> Probably, the package is missing.
<silver_hook> apostolis: What about nix-env -iA nixos.bsdgames
<apostolis> that's it.
ryanartecona has quit [Quit: ryanartecona]
<silver_hook> apostolis: Just s/nixpkgs/nixos/ whenever Nix Pills suggests that. The repository moved since then.
<apostolis> Someone needs to update section 11.2 and any other instance.
<apostolis> thanks.
ryanartecona has joined #nixos
<silver_hook> You’re welcome :)
<{^_^}> [nixpkgs] @jtojnar merged pull request #38824 → gnome3.webkitgtk: 2.20.0 -> 2.20.1 → https://git.io/vxAp0
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to staging « gnome3.webkitgtk: 2.20.0 -> 2.20.1 (#38824) »: https://git.io/vxp32
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b1fe608835d (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<silver_hook> Does anyone use Borg heres
<silver_hook> s/s/?
rosa has quit [Quit: rosa]
ryanartecona has quit [Ping timeout: 265 seconds]
ThatPako has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #38862 → babl: 0.1.44 -> 0.1.46 → https://git.io/vxpIC
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « babl: 0.1.44 -> 0.1.46 (#38862) »: https://git.io/vxpsc
rosa has joined #nixos
ryanartecona has joined #nixos
<coconnor> Hi all. I've noticed that the rustc build is ignoring NIX_BUILD_CORES and is building using max number of cores
<coconnor> which runs into resource limits and fails
<coconnor> anyone familiar with this build? Seems like it should be inheriting the cmake limits.
oahong has quit [Ping timeout: 265 seconds]
<coconnor> interesting. rustc derivation includes "dontUseCmakeConfigure = true;" which would disable the cmake defaults
alex`` has joined #nixos
<ThatPako> How does one write an expression like `buildPythonPackage` which "knows" how to add the dependencies to that path of the compiler?
alex`` is now known as alexherbo2
<boomshroom> Does anyone know how to pass the ffi flag to stack2nix? GHC keeps failing when parsing the foreign import line.
alexherbo2 is now known as alex``
oahong has joined #nixos
Jetien has quit [Ping timeout: 256 seconds]
<coconnor> haha ouch: ""-DLLVM_PARALLEL_COMPILE_JOBS=32" I don't have enough RAM for that
<lejonet> clever: I'm thinking about giving up on this compilation and just order a pine64 LTS version... sure it takes forever to get stuff from them, but it'll probably arrive before the compilation is done anyway
<ThatPako> lejonet: next shipment is on 13th of april
<ThatPako> so you better be quick :^)
<lejonet> ThatPako: oh lol :P
Turion has joined #nixos
<Turion> Why does nixos-unstable take so long to update?
ndrei has joined #nixos
<coconnor> lots to compile
<boomshroom> NVM, I found it. `{-# LANGUAGE ForeignFunctionInterface #-}`
<lejonet> ThatPako: awh, paying in their store seems to not work atm :(
sehqlr has joined #nixos
rosa has quit [Quit: rosa]
<ThatPako> So... Anything regarding my "setting the env var automatically when building" thing?
<boomshroom> I suppose I can ask: what should I name my init system? currently it's just "myinit".
<lejonet> boomshroom: "herp derp, I'm a init"? :P
<TweyII> init8
<ThatPako> init^2
<ThatPako> *init²
<lejonet> init xor win
<boomshroom> lejonet: Too many spaces and punctuation marks. "derpinit" could work, but it doesn't really roll off the tongue.
romildo has joined #nixos
<lejonet> boomshroom: haha :P
<lejonet> hey, I have herpderpvpn so :P
<ThatPako> > doesn't roll off the tongue
<lejonet> tonginit :D
<ThatPako> as if people have to pronounce it unless when cursing it for breaking (again)
<ThatPako> initongue
<joepie91> boomshroom: there's always yainits
<joepie91> Yet Another INIT System
<lejonet> Any word can become a curse word in the right context :)
<romildo> I want to do a shell variable substitution in the following nix string literal. How should it be escaped?
<romildo> buildPhase = ''make THEME="${theme/.colors/}"'';
<TweyII> Turion: I think they're extra careful with nixos in case of breakage
<lejonet> romildo: ''$ escapes the $
<TweyII> romildo: \${…}
rosa has joined #nixos
<boomshroom> How about "ainobfih" pronounced a-nob-fee "An Init NoBody Asked For In Haskell"
<romildo> lejonet, that works, thanks.
<TweyII> Oh, double-singles — yeah, ''
<lejonet> boomshroom: and you said my suggestion didn't roll of the tongue... ;)
<boomshroom> lejonet: This is naming. There are no rules except the ones the namer chooses to enforce. :P
<lejonet> boomshroom: :P
<boomshroom> That said, the p-i transition seemed a bit hard.
<lejonet> pinit :D
<lejonet> pin-it
<Turion> Tweyll, well, that's great ;) I'm just wondering which single bug takes 7 days to resolve, or rather whether I can do anything useful like testing and reporting
apostolis has quit [Read error: Connection reset by peer]
<boomshroom> lejonet: That works, but I did want a reference to Haskell in there.
<lejonet> boomshroom: phinit :D
<ThatPako> Hakinit (Hakin' it)
apostolis has joined #nixos
xcmw has quit [Ping timeout: 256 seconds]
odi has joined #nixos
<lejonet> ThatPako: nice one!
flyx has quit [Quit: ZNC - http://znc.in]
<boomshroom> ThatPako: That's a good one.
<lejonet> phinit I was thinking Pretty/Powerful Haskell Init (or palpable haskell init...)
* lejonet runs and hides
Myrl-saki has quit [Quit: WeeChat 1.6]
<ThatPako> Anything regarding the env var thing? pwetty pwease?
<lejonet> ThatPako: https://github.com/direnv/direnv maybe could be hacked in some cool way?
<ThatPako> Unfortunately that's not what I'm trying to achieve :/
bara has joined #nixos
<ThatPako> I'm trying to make a nix function creating a derivation which builds Emojicode packages and programs. For that I have to add dependencies to the search path of the compiler
seville has joined #nixos
romildo has quit [Quit: Leaving]
<ottidmes> aha, figured out my problem of multiple definitions being applied, I converted a `listOf (submodule someModule)` to `attrsOf (submodule someModule)` and my expectation was that the config block (of the submodule) would only be applied once, but its applied every time its being type checked, causing those merges to happen when I did not use mkDefault
vil has quit [Ping timeout: 256 seconds]
* lejonet shuns away from the mention of emoji and code in the same word
<TweyII> ThatPako: The way most things do it is that the compilers are wrapped in a script that adds a bunch of flags calculated from buildInputs
<zybell_> ThatPako use an older binutils for gcc
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b2f138c062f (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
vil has joined #nixos
<boomshroom> lejonet: 👩‍💻
* lejonet calls for an exorcist
<lejonet> power of gnu compiles you!
<LnL> :)
<benny> silver_hook: only saw tihs now. I use borg
<TweyII> ThatPako: If the input contains a /lib you get a -L flag, /include gets you a -I, et cetera
<boomshroom> ThatPako: Are you going to write the generator in Emojicode?
<zybell_> some script wants to set -rpath with -R which is deprecated for a while(man ld)and obviously removed now
<ThatPako> TweyII: how do I check if a dependency contains a /lib?
<TweyII> ThatPako: In bash. [ -d $input/lib ]
vaninwagen has quit [Ping timeout: 240 seconds]
<ThatPako> how do I iterate over all the buildInputs though?
<ThatPako> might as well write the wrapper in emojicode :^)
<ThatPako> first gotta get ibus working though
<lejonet> I kindof don't want to ask, but what the heck is emojicode?
<zybell_> ThatPako: use an older binutils for gcc!
<ThatPako> lejonet: https://www.emojicode.org/
<ThatPako> zybell_: I got it to build somehow
<lejonet> ThatPako: it was what I feared...
<ThatPako> why should I use an older binutils?
<zybell_> some script wants to set -rpath with -R which is deprecated for a while(man ld)and obviously removed now
<ThatPako> :thinking:
* lejonet goes and prepares the WPs and thermite grenades
ryanartecona has quit [Quit: ryanartecona]
jrolfs has quit [Ping timeout: 260 seconds]
odites has joined #nixos
apostolis has quit [Quit: WeeChat 2.0]
<boomshroom> lejonet: I'd like to mention that I seriously use emoji in my i3 status bar instead of names. My UPS charge displays as "🔋 100.0"
<silver_hook> benny: Cool. So, what changes now in 18.03 with the introduction of the borg service?
<lejonet> boomshroom: my font refuses to show that xD
<silver_hook> benny: So far I’ve simply installed it as a package and wrote a systemd timer and unit for it.
<yrashk> whom can I ping to take a look at https://github.com/NixOS/nixpkgs/pull/36957 to see if it can be merged? All other PRs I had before got merged fairly quickly but I received no comments or action on this one. It's been sitting there for a month now.
<silver_hook> benny: …but what now?
<lejonet> boomshroom: and sure, I can see the value of using it on a statusbar, kindof, but to _code_ with?!
<ThatPako> TweyII: is the `NIX_` prefix necessary or just something used for cc?
<boomshroom> : To troll people like you. :P
<lejonet> xD
<ThatPako> I'm not trolling
<ThatPako> I actually wrote a Discord client with it
<ThatPako> and a web server
<lejonet> I like emojis, I just... don't want to code with emojis xD
<lejonet> Tho it would be cool to use the poop emoji for a trash variable or so :P
<TweyII> ThatPako: NIX_CFLAGS_COMPILE is just the name used by the cc-wrapper
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2e855dc6b0c (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<TweyII> ThatPako: You don't have to use it, though a NIX_ prefix might be wise
<TweyII> (and you probably shouldn't call yours CFLAGS :þ)
jrolfs_ has quit [Ping timeout: 246 seconds]
rosa has quit [Quit: rosa]
<ThatPako> TweyII: now I'm a bit confused. This script is called in the setup phase, right? The env vars will be available in the build phase?
<ThatPako> so the setup script is called once with the path to every dependency?
seville has quit [Quit: Leaving]
rosa has joined #nixos
seville has joined #nixos
ryanartecona has joined #nixos
MichaelRaskin has joined #nixos
<ThatPako> lejonet: if you want to see some live code: https://gist.github.com/MagnificentPako/8251f6021196feca5e9acd346d12c3e9
odi has quit [Quit: Leaving]
odi has joined #nixos
<benny> silver_hook: oh - I can't help with that aspect, as I just use it in a cron job
<boomshroom> ThatPako: How do you type that?
Myrl-saki has joined #nixos
<MichaelRaskin> boomshroom: how did your exam go?
Myrl-saki has quit [Client Quit]
rosa has quit [Client Quit]
<boomshroom> MichaelRaskin: I answered a whole 4 questions out of 12! And today's exam is going to be even worse. :D
<MichaelRaskin> Ouch
<{^_^}> [nixpkgs] @tadfisher opened pull request #38864 → yquake2: init at 7.20 → https://git.io/vxplL
flyx has joined #nixos
<silver_hook> benny: But you updated already to 18.03 and borg still works in cron as before?
<benny> silver_hook: I used the 18.03 branch before release and it always worked, yeah
vaninwagen has joined #nixos
<lejonet> ThatPako: that is awesome, horrifying and completely bonkers simultaneously :P
<silver_hook> benny: Ah, OK. That’s a relief, thanks :)
jtojnar_ has joined #nixos
asuryawanshi has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
<silver_hook> So, anyone any idea what services/backup/borg/borgbackup.nix does compared to just borgbackup as a package?
endformationage has quit [Quit: WeeChat 1.9.1]
jtojnar has quit [Ping timeout: 265 seconds]
jtojnar_ is now known as jtojnar
<electrocat> on nixos, when i do `nix-copy-closure` i get "zsh:1: command not found: nix-store" it seems something goes wrong with the path
endformationage has joined #nixos
<elvishjerricco> electrocat: Is the remote system running nixos?
rosa has joined #nixos
<tilpner> electrocat - You forgot programs.zsh.enable = true;
<electrocat> elvishjerricco: no
<tilpner> (Or whatever the equivalent on Nix-on-Linux is)
<electrocat> tilpner: no that's on
<electrocat> elvishjerricco: remote is centos
<tilpner> electrocat - It can't be on if you're not running NixOS
<electrocat> tilpner: it needs to be on the remote?
<tilpner> Yes
<electrocat> ah
<electrocat> i see, thanks
<elvishjerricco> electrocat:
<boomshroom> Why is this an emoji? Bleeping japan!
rauno has joined #nixos
<elvishjerricco> electrocat: No, the problem is just that the nix installer on other os'es doesn't source the path right for non-interactive shells
<electrocat> yeah, makes sense
<tilpner> electrocat - Guessing you forgot to source a Nix-specific file from that remote zsh config
<tilpner> electrocat - At least, that's what I forgot when I got that error
<elvishjerricco> electrocat: usually you just have to copy the nix installer generated line from `~/.profile` to `~/.bashrc`, regardless of zsh
<electrocat> yeah, it simply doesn't get sourced at the remote
<elvishjerricco> oh also, I've had to move the generated line to a higher point in the file before
chessai has joined #nixos
<elvishjerricco> because sometimes the default script on some OSes by default exits under certain conditions, preventing the line from running.
<elvishjerricco> er, s/exits/returns/ I guess
rauno has quit [Ping timeout: 256 seconds]
xy2_ has quit [Quit: WeeChat 1.9.1]
seville has quit [Quit: Leaving]
vidbina has joined #nixos
TweyII has quit [Quit: WeeChat 1.7]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #38865 → [darwin] Security fixes → https://git.io/vxp46
rosa has quit [Quit: rosa]
<ThatPako> Where would I write my custom "makeEmojicodePackage" function? How do I make it accessible?
jrolfs has joined #nixos
<ThatPako> (and how would I differentiate between a lib and an executable)?
rosa has joined #nixos
mmercier has joined #nixos
odites has left #nixos ["Konversation terminated!"]
mmercier has quit [Client Quit]
<boomshroom> ThatPako: The source would either go in build-support, or in the emojicode compiler's directory. The attribute would either go in all-packages or as an attribute of the compiler.
mmercier has joined #nixos
mmercier has quit [Client Quit]
vidbina has quit [Ping timeout: 240 seconds]
mmercier has joined #nixos
<ThatPako> boomshroom: so I *have* to clone pkgs? I can't do it without?
<woffs> nix-channel --update fails if my additional binary cache is down.
rosa has quit [Client Quit]
<electrocat> elvishjerricco: i put it everywhere, but it's still not working
<boomshroom> ThatPako: If you're not working in nixpkgs, then ~/.config/nixpkgs/overlays/ or the config.nix.
<{^_^}> [nixpkgs] @LnL7 pushed commit from @knedlsepp to release-18.03 « darwin.opencflite: fix build »: https://git.io/vxpBc
Myrl-saki has joined #nixos
dbe has joined #nixos
<ThatPako> boomshroom: guess I'll have to learn how to use overlays then
<ThatPako> thanks
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vxpBb
<{^_^}> → 831cb416 by @matthewbauer: Revert "arm-frc-linux-gnueabi-binutils: init at 2.28"
<{^_^}> → 9ed96e76 by @matthewbauer: Revert "arm-frc-linux-gnueabi-gcc: init at 4.9.4"
<{^_^}> → ea67004b by @matthewbauer: Revert "arm-frc-linux-gnueabi-eglibc: init at 2.21-r0.83"
<ThatPako> boomshroom: um... How do I add a function using an overlay? Judging by the way the manual explains it I can only override packages with overlays?
<clever> ThatPako: the overlays can just insert anything they want into the pkgs set
<ThatPako> ohhh
<boomshroom> ThatPako: an overlay takes self and super arguments and returns a set of packages to append to nixpkgs.
rauno has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/vxpRL
<{^_^}> → 39da0155 by @vcunat: Merge #38846: knot-dns: 2.6.5 -> 2.6.6
<{^_^}> → 34191242 by R. RyanTM: knot-dns: 2.6.5 -> 2.6.6
<clever> so i could just make an overlay that says "4" = 5;
<ThatPako> clever: Any idea how to merge the "object/record" (or whatever nix calls them) that my function would receive with my preset setup and build phases?
<clever> //
<boomshroom> ThatPako: `self: super: { mypackage = self.callPackage ./mypackage.nix {} }`
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38865 → [darwin] Security fixes → https://git.io/vxp46
<{^_^}> [nixpkgs] @matthewbauer pushed 17 commits to master: https://git.io/vxpR0
<{^_^}> → e51405db by @matthewbauer: antlr: supports darwin
<{^_^}> → a77de955 by @matthewbauer: xcbuild: add framework product
<{^_^}> → 7c1e3974 by @matthewbauer: xcbuild: set SYMROOT and OBJROOT
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38846 → knot-dns: 2.6.5 -> 2.6.6 → https://git.io/vxxiX
alex`` has quit [Ping timeout: 255 seconds]
<ThatPako> is `self: super:` a curried function?
<clever> its 2 functions, that each accept 1 argument
FareTower has joined #nixos
<ThatPako> so it's basically `self -> super -> new_pkgs`?
<clever> yeah
<ThatPako> kk
jrolfs has quit [Ping timeout: 268 seconds]
<boomshroom> I'll need to get going. See ya!
boomshroom has quit [Quit: WeeChat 2.0]
humanoyd has quit [Quit: WeeChat 2.1]
jrolfs has joined #nixos
<ThatPako> (I think I messed up the first line. damn)
vaninwagen has quit [Quit: WeeChat 2.1]
<clever> ThatPako: drop line 1 entirely
<clever> ThatPako: super and self are copies of nixpkgs
<ThatPako> ohh
<{^_^}> [nixpkgs] @Mic92 merged pull request #38853 → efivar: 34 -> 35 → https://git.io/vxxb6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxp0C
<{^_^}> → 85c17d39 by R. RyanTM: efivar: 34 -> 35
<{^_^}> → a7f4993b by @Mic92: Merge pull request #38853 from r-ryantm/auto-update/efivar
orivej has quit [Ping timeout: 268 seconds]
<ThatPako> is it possible to set my src to the content of a folder instead of fetching from a remote source?
vidbina has joined #nixos
anonymousemice has joined #nixos
<clever> src = ./. ;
<ThatPako> :thinking: where's `mkDerivation` hidden in `super`? `super.mkDerivation` throws an error :/
johnw has quit [Ping timeout: 255 seconds]
<clever> super.stdenv.mkDerivation
<clever> the same as if you used pkgs
<ThatPako> oof
<ThatPako> Thanks
<ThatPako> reee, how I just get `error: illegal name: '.drv'`
vidbina has quit [Ping timeout: 240 seconds]
<clever> the .name of your derivation cant contain .drv
<ThatPako> it doesn't
<ThatPako> ohh, I forgot to add `name`
<anonymousemice> hello, I would like to specify my own specific torrc file tor-browser-bundle application. In other distros it is possibe via edit of /etc/tor/torrc. But how it should be done in Nix Os? package https://github.com/NixOS/nixpkgs/blob/ea145b68a019f6fff89e772e9a6c5f0584acc02c/pkgs/applications/networking/browsers/tor-browser-bundle/default.nix installed via nix-env -i from user level.
MP2E has joined #nixos
ndrei has quit [Remote host closed the connection]
dan_b has joined #nixos
telent has joined #nixos
odi has quit [Ping timeout: 240 seconds]
Sonarpulse has quit [Ping timeout: 260 seconds]
dbe has quit [Ping timeout: 240 seconds]
djahandarie has joined #nixos
vaninwagen has joined #nixos
medvid has joined #nixos
<djahandarie> Hmm... I have a very simple stdenv.mkDerivation which I'm using to have a nix-shell with R and ggplot2 in it. I want to provide R access to some fonts in that nix-shell, but I'm not sure how to do this. Simply adding them to buildInputs doesn't seem to work.
<ThatPako> damn, the cc-wrapper setup-hook.sh is making no sense to me
Guest5112 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38861 → brotli: 1.0.3 -> 1.0.4 → https://git.io/vxpJ8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/vxpzO
<{^_^}> → 59b75e06 by R. RyanTM: brotli: 1.0.3 -> 1.0.4
<{^_^}> → 7e7f4701 by @Mic92: Merge pull request #38861 from r-ryantm/auto-update/brotli
jrolfs_ has joined #nixos
<astiles> Hi, I'm trying to create a package for an older version of R. My build script is pretty simple and just calls configure and then make. During the configure step, I receive the following error: "configure: error: C++ preprocessor "/lib/cpp" fails sanity check"
<astiles> I don't receive this error when running configure inside nix-shell
<astiles> Do I need to somehow point at nix's C++ preprocessor during the configure step?
olto has joined #nixos
ndrei has joined #nixos
orivej has joined #nixos
Jetien has joined #nixos
jrolfs_ has quit [Ping timeout: 240 seconds]
Guest5112 has joined #nixos
<lejonet> Hmm, I'm getting an odd error related to shared memory when trying to start postgresql, and I don't seem to have shmmax, shmmin and those in /proc/sys/kernel either
<{^_^}> [nixpkgs] @Mic92 merged pull request #38845 → ipset: 6.36 -> 6.38 → https://git.io/vxxoM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxpgI
<{^_^}> → 09534399 by R. RyanTM: ipset: 6.36 -> 6.38
<{^_^}> → d5becbb7 by @Mic92: Merge pull request #38845 from r-ryantm/auto-update/ipset
<{^_^}> [nixpkgs] @dywedir opened pull request #38867 → rust-bindgen: 0.35.0 -> 0.36.0 → https://git.io/vxpgL
<lejonet> it thinks I don't have shared memory enabled O.o
chisui has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #38863 → caps: fix build with glibc 2.27 → https://git.io/vxpIz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxpgD
<{^_^}> → b30497c8 by @pbogdan: caps: fix build with glibc 2.27
<{^_^}> → 6bb609d6 by @Mic92: Merge pull request #38863 from pbogdan/caps-glibc-2.27
Sonarpulse has joined #nixos
aarvar has quit [Ping timeout: 240 seconds]
<anonymousemice> I do bring apologies, I found file located in .local/share/tor-browser/TorBrowser/Data/Tor/torrc , and could be easily edited per user as required. My question is solved.
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxp2n
<{^_^}> → 441126c3 by @yorickvP: oauth2_proxy: 20160120 -> 20180325
<{^_^}> → b4dd10a3 by @Mic92: Merge pull request #38857 from yorickvP/oauth2_proxy
shabius_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #38857 → oauth2_proxy: 20160120 -> 20180325 → https://git.io/vxxhl
rauno has quit [Ping timeout: 240 seconds]
juliend_ has joined #nixos
shabius has quit [Ping timeout: 255 seconds]
jrolfs has quit [Ping timeout: 276 seconds]
Bonjourm8 has joined #nixos
Bonjourm8 has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38867 → rust-bindgen: 0.35.0 -> 0.36.0 → https://git.io/vxpgL
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxpak
<{^_^}> → 6f636251 by @dywedir: rust-bindgen: 0.35.0 -> 0.36.0
<{^_^}> → 58d4fd9e by @Mic92: Merge pull request #38867 from dywedir/rust-bindgen
user123 has joined #nixos
<user123> my graphics card is currently affected by a an openbug where impala will not compile with ati_unfree
<user123> is there a workaround using an overlay or some other approach with nix?
jrolfs has joined #nixos
howdybud54 has joined #nixos
howdybud54 has quit [Max SendQ exceeded]
djahandarie has left #nixos [#nixos]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38833 → pick: 2.0.1 -> 2.0.2 → https://git.io/vxxqC
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxpaB
<{^_^}> → ab964188 by R. RyanTM: pick: 2.0.1 -> 2.0.2
<{^_^}> → 65e6a508 by @Mic92: Merge pull request #38833 from r-ryantm/auto-update/pick
Bonjourm8 has joined #nixos
Bonjourm8 has quit [Max SendQ exceeded]
<astiles> ah I solved my problem by setting gcc = nixpkgs.gcc in my nix file
<{^_^}> [nixpkgs] @Mic92 pushed commit from R. RyanTM to release-18.03 « pick: 2.0.1 -> 2.0.2 »: https://git.io/vxpaE
<{^_^}> [nixpkgs] @coreyoconnor opened pull request #38869 → rustc: correct propagation of NIX_BUILD_CORES → https://git.io/vxpao
jperras has quit [Ping timeout: 264 seconds]
jperras has joined #nixos
vaninwagen has quit [Ping timeout: 265 seconds]
vidbina has joined #nixos
juliend_ has quit [Quit: Leaving]
<pstn> Has anybody ever looked into packaging R packages for nix?
user123 has quit [Ping timeout: 260 seconds]
xeji has joined #nixos
mahalel_ has joined #nixos
arianvp2 has joined #nixos
<arianvp2> hmm I just am updating to 18.03
<arianvp2> but I get these warnings all the time
<arianvp2> warning: unknown setting 'signed-binary-caches' warning: unknown setting 'signed-binary-caches'
<tilpner> That's okay, it'll go away next rebuild
<freeman42x]NixOS> pstn, the package you need is not covered by https://nixos.org/nixpkgs/manual/#r-packages ?
<tilpner> Nix 2.0 is complaining about old settings from your Nix 1.* config file
<arianvp2> Also installation failed halfway because /boot is too small
<astiles> pstn: there's this in the manual https://nixos.org/nixpkgs/manual/#r-packages. I'm trying to package an R package using Nix (not NixOS or nixpkgs) "from first principles". I think I'm close to getting the R binary to compile. I plan to then list that as a dependency in nixfiles that compile R packages.
<arianvp2> How can I remove old generations from /boot?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/11f58c2b1eb (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
ThatPako has quit [Quit: Lost terminal]
<tilpner> arianvp2 - You can gc generations by calling sudo nix-collect-garbage --delete-older-than 30d, then nixos-rebuilding
Arianvp2_ has joined #nixos
<Arianvp2_> Okay just rebooted. I deleted old generations (dumb)
<Arianvp2_> But the install is totally borked. KDE doesn't show the resize buttons etc anymore
<Arianvp2_> All screens are borderless
<Arianvp2_> :(
<Arianvp2_> And I get a lot of libGL errors
<pstn> A thanks. Didn't find those docs. I think It'll be enough for me.
<pstn> The worst thing about R is how horrible it is to find stuff for it, thanks to it's name....
<Arianvp2_> About missing drivers
<Arianvp2_> Darnit :(
arianvp2 has quit [Ping timeout: 260 seconds]
<MichaelRaskin> pstn: do search engines also typo-correct rlang to erlang?
logzet has quit [Remote host closed the connection]
johnw has joined #nixos
mkaito has quit [Ping timeout: 240 seconds]
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
erictapen has joined #nixos
astiles has quit [Remote host closed the connection]
astiles has joined #nixos
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar_ has joined #nixos
Sonarpulse has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38849 → gotop: init at 1.2.9 → https://git.io/vxxMy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxpKP
<{^_^}> → 9ac303c2 by @magnetophon: gotop: init at 1.2.9
<{^_^}> → 606c9fcd by @Mic92: Merge pull request #38849 from magnetophon/gotop
jtojnar_ is now known as jtojnar
<{^_^}> [nixpkgs] @Mic92 merged pull request #38855 → eq10q: fix build with glibc 2.27 → https://git.io/vxxAH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxpK9
<{^_^}> → f66be0a6 by @pbogdan: eq10q: fix build with glibc 2.27
<{^_^}> → 5a2365bf by @Mic92: Merge pull request #38855 from pbogdan/eq10q-glibc-2.27
astiles has quit [Read error: Connection reset by peer]
astiles has joined #nixos
<pstn> sometimes they do. Also it's just generally hard to c-f for stuff in something like the nix docs.
<benny> Arianvp2_: kwin segfaults, in an issue I read that if you manually run kwin_x11 it may fix itself
<{^_^}> [nixpkgs] @Mic92 merged pull request #38843 → miniupnpd: 2.0.20180222 -> 2.0.20180410 → https://git.io/vxxgm
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxp6I
<{^_^}> → 2c7f4ff6 by R. RyanTM: miniupnpd: 2.0.20180222 -> 2.0.20180410
<{^_^}> → 74eef0f0 by @Mic92: Merge pull request #38843 from r-ryantm/auto-update/miniupnpd
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 9 commits to release-18.03: https://git.io/vxp67
<{^_^}> → 03975258 by @Ma27: commandergenius: 1822release -> 2.2.0
<{^_^}> → 6c29a6c9 by @coreyoconnor: opendylan: 2013.1 -> 2016.1pre
<{^_^}> → afee8711 by @jensbin: openshift: 3.6.0 -> 3.9.0
<{^_^}> [nixpkgs] @vcunat merged pull request #38823 → [18.03]: Cherry-pick various fixes from master → https://git.io/vxAFb
niklob has joined #nixos
<Arianvp2_> So there is this new nix command or something
<{^_^}> [nixpkgs] @Mic92 merged pull request #38836 → openvdb: 5.0.0 -> 5.1.0 → https://git.io/vxxW0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxpil
<{^_^}> → 37a5ba32 by R. RyanTM: openvdb: 5.0.0 -> 5.1.0
<{^_^}> → c51aa1a8 by @Mic92: Merge pull request #38836 from r-ryantm/auto-update/openvdb
<Arianvp2_> But there are no man pages in 18.03 is this correct?
<clever> man pages dont exist for the new `nix` command
<Arianvp2_> Oh :(
jrolfs has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38821 → xtermcontrol: 3.3 -> 3.4 → https://git.io/vxA7l
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxpia
<{^_^}> → 3b2d888d by R. RyanTM: xtermcontrol: 3.3 -> 3.4
<{^_^}> → 0806a3cf by @Mic92: Merge pull request #38821 from r-ryantm/auto-update/xtermcontrol
Sonarpulse has joined #nixos
sahabi has joined #nixos
<{^_^}> [nixpkgs] @mkaito opened pull request #38871 → alot: Put included themes where alot will find them → https://git.io/vxpiy
<{^_^}> [nixpkgs] @Mic92 merged pull request #38856 → acme.sh: init at 2.7.8 → https://git.io/vxxx4
<{^_^}> [nixpkgs] @Mic92 pushed commit from @yorickvP to master « acme.sh: init at 2.7.8 (#38856) »: https://git.io/vxpi7
<{^_^}> [nixpkgs] @dtzWill pushed to revert-38753-radare2 « Revert "radare2: 2.4.0 -> 2.5.0" »: https://git.io/vxpP3
<{^_^}> [nixpkgs] @dtzWill opened pull request #38872 → Revert "radare2: 2.4.0 -> 2.5.0" → https://git.io/vxpPc
<{^_^}> [nixpkgs] @dtzWill merged pull request #38872 → Revert "radare2: 2.4.0 -> 2.5.0" → https://git.io/vxpPc
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vxpPB
<{^_^}> → 0f179416 by @dtzWill: Revert "radare2: 2.4.0 -> 2.5.0"
<{^_^}> → 905059d8 by @dtzWill: Merge pull request #38872 from NixOS/revert-38753-radare2
<{^_^}> [nixpkgs] @dtzWill pushed 0 commits to revert-38753-radare2: https://git.io/vxpP0
jtojnar_ has joined #nixos
hakujin has joined #nixos
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar_ is now known as jtojnar
sigmundv__ has joined #nixos
jrolfs has joined #nixos
Turion has quit [Ping timeout: 264 seconds]
niklob has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #38873 → radare2: 2.4.0 -> 2.5.0 → https://git.io/vxpXq
olto has quit [Quit: hasta luego]
szicari has quit [Quit: szicari]
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
<{^_^}> [nixpkgs] @utdemir opened pull request #38874 → spotify: 1.0.72.117 -> 1.0.77.338 → https://git.io/vxpXX
astiles has quit [Remote host closed the connection]
astiles has joined #nixos
astiles has quit [Remote host closed the connection]
astiles has joined #nixos
ma27 has quit [Ping timeout: 265 seconds]
Arianvp2_ has quit [Ping timeout: 260 seconds]
pkill9 has quit [Quit: WeeChat 2.0.1]
anonymousemice has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 86 commits to staging-18.03: https://git.io/vxp1K
<{^_^}> → 1dee074f by Averell Dalton: jetbrains.webstorm: 2017.3.4 -> 2017.3.5
<{^_^}> → 9f3cfef6 by @danielfullmer: rclone: 1.39 -> 1.40
<{^_^}> → b157efcd by Averell Dalton: jetbrains.ruby-mine: 2017.3.2 -> 2017.3.3
shymega has joined #nixos
thblt has quit [Ping timeout: 240 seconds]
sigmundv__ has quit [Ping timeout: 263 seconds]
hakujin has quit [Ping timeout: 268 seconds]
simukis has quit [Ping timeout: 265 seconds]
lord| has joined #nixos
knupfer has quit [Ping timeout: 276 seconds]
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
kreisys has quit [Read error: Connection reset by peer]
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
hph^ has quit []
sigmundv has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
selaux has quit [Remote host closed the connection]
selaux has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #38873 → radare2: 2.4.0 -> 2.5.0 → https://git.io/vxpXq
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vxpMX
<{^_^}> → 367db080 by @dtzWill: radare2: 2.4.0 -> 2.5.0
<{^_^}> → b21283e9 by @dtzWill: Merge pull request #38873 from dtzWill/updatea/radare2-2.5.0
taktoa has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #38871 → alot: Put included themes where alot will find them → https://git.io/vxpiy
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vxpM5
<{^_^}> → 44a7be94 by @mkaito: alot: Put included themes where alot will find them
hiratara has quit [Ping timeout: 276 seconds]
<{^_^}> → 47848756 by @yegortimoshenko: Merge pull request #38871 from mkaito/fix-alot-themes
hiratara has joined #nixos
<kini> It seems the avr-gcc package in nixpkgs is unrelated to the gcc package -- why is that? Couldn't avr-gcc be built by just overriding the configure flags for the usual gcc?
<mkaito> now someone just needs to fix the nixos-unstable channel so I can stop building off nixpkgs HEAD :D
rauno has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #38875 → numix-solarized: 20160919 -> 20170810 → https://git.io/vxpDo
<astiles> how can I set my library search path in my build script? I need the equivalent of "libreadline-dev" and I've listed readline as a dependency in the nix file. I tried export LD_LIBRARY_PATH="$readline/lib" but that didn't seem to work
jrolfs_ has joined #nixos
jrolfs has quit [Quit: WeeChat 2.0]
<mpickering> woop! I fixed the problem I was having with QGIS and GRASS. Feels amazing to package something.
<mpickering> astiles: Can you be more specific?
<mpickering> listing it as a dependency should usually be enough
jrolfs_ has quit [Ping timeout: 256 seconds]
<astiles> mpickering: sure, here's my nix file https://pastebin.com/ip2utRKX and here's my build file https://pastebin.com/gdwiDV3D
<astiles> (sorry it's a little messy atm)
<mpickering> Why are you using a custom builder :o ?
Jetien has quit [Ping timeout: 276 seconds]
<astiles> oh I'm trying to understand what's going on with as little magic as possible
<astiles> I can probably write it in a more canonical form once I get this working
<mpickering> I would scrap this way if you want it to work at all.
bpa has quit [Remote host closed the connection]
<mpickering> What are you trying to understand?
Giovani_ has joined #nixos
<Giovani_> When installing KDE5 Kontact/Korganizer, Kontact is empty,
<Giovani_> Onlh has welcome screen,and FILE context menu omly has CLOSE
<Giovani_> Are additional xonfiguratiin steps required to allow it to work,kde forums statethey cannot assist as they believe it to be nixos specific
<{^_^}> [nixpkgs] @LnL7 opened pull request #38876 → pinentry_mac: enable xcbuild on darwin → https://git.io/vxpyK
<astiles> mpickering: well, I read about the language constructs and can kind of reason through why the code is doing what it's doing. I tried to follow this: https://nixos.org/nixos/nix-pills/why-you-should-give-it-a-try.html I'm sure the community has some niceties (e.g. for autotools-based things), but doing it this way just seemed simpler. With some of the generic things, I couldn't convince myself that I understood how things became in scope (e.g. w
<astiles> hy does buildInputs work?)
<{^_^}> [nixpkgs] @Mic92 opened pull request #38877 → Radare2 → https://git.io/vxpSL
selaux has quit [Remote host closed the connection]
sehqlr has quit [Ping timeout: 265 seconds]
mmercier has quit [Quit: mmercier]
jperras has joined #nixos
johnw has quit [Quit: ZNC - http://znc.in]
Ariakenom has quit [Quit: Leaving]
jtojnar has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #38827 → riot-web: 0.13.5 -> 0.14.0 → https://git.io/vxAjG
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vxpSh
<{^_^}> → ba337a2d by R. RyanTM: riot-web: 0.13.5 -> 0.14.0
<{^_^}> → 6207cb93 by @yegortimoshenko: Merge pull request #38827 from r-ryantm/auto-update/riot-web
asuryawanshi has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 260 seconds]
<benny> astiles: as someone that is himself new, I think of it as preparing environmental variables for me. Which I guess is also what is happening. ;-)
jtojnar has joined #nixos
boomshroom has joined #nixos
<boomshroom> I'm back.
astrofog has joined #nixos
hiratara has quit [Quit: ZNC - http://znc.in]
MarcWeber has quit [Ping timeout: 276 seconds]
hakujin has joined #nixos
<benny> because I know this best in nixos: "nix-shell -p python" will change PYTHONPATH for you, compare it with "nix-shell -p pythonPackages.scrapy" and you'll see how much more it contains now due to the dependencies
hiratara has joined #nixos
spietz has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #38875 → numix-solarized: 20160919 -> 20170810 → https://git.io/vxpDo
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxp9V
<{^_^}> → 1a525eea by @romildo: numix-solarized: 20160919 -> 20170810
<{^_^}> → 0d705fd6 by @Mic92: Merge pull request #38875 from romildo/upd.numix-solarized-gtk-theme
astrofog has quit [Client Quit]
<benny> and if you're more familiar with C based stuff, you can do this diff the environment in a simple situation such as this:
ryanartecona has quit [Quit: ryanartecona]
<benny> nix-shell -p readline --run "env | sort >> readline.env"
<benny> vs env | sort >> normal.env
<zybell_> astiles:Does configure run?
<astiles> zybell_: no... this is the error I'm dealing with https://pastebin.com/GxPtyajE
<{^_^}> [nixpkgs] @LnL7 merged pull request #38876 → pinentry_mac: enable xcbuild on darwin → https://git.io/vxpyK
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/vxp97
<{^_^}> → 32c70a07 by @LnL7: pinentry_mac: enable xcbuild
<{^_^}> → 30fc4b44 by @LnL7: Merge pull request #38876 from LnL7/darwin-pinentry
<zybell_> gcc gets readline,but gfortran48 is not in stdEnv
Giovani_ has quit [Ping timeout: 260 seconds]
<astiles> zybell_: oh sure, that's just what I called it. Here's my nix file https://pastebin.com/ip2utRKX and here's my build file https://pastebin.com/gdwiDV3D
<{^_^}> [nixpkgs] @tadfisher opened pull request #38878 → steamcmd: init at 20180104 → https://git.io/vxpHC
hakujin has quit [Ping timeout: 268 seconds]
<zybell_> I have read them. You dont set buildInputs. configure searches for gfortran48 by that name. That name is not imported. Maybe you should do what line 9 of your error proposes.
ottidmes has quit [Ping timeout: 264 seconds]
spietz has quit [Quit: WeeChat 1.9.1]
redfish65 is now known as redfish64
kquick has joined #nixos
vidbina has quit [Ping timeout: 264 seconds]
jtojnar_ has joined #nixos
d0nkey has quit [Read error: No route to host]
<{^_^}> [nixpkgs] @dezgeg pushed to release-18.03 « nixos/make-ext4-fs: Use closureInfo »: https://git.io/vxpQw
<astiles> zybell_: thanks. I just learned about nix-build's "-K" option.
jtojnar has quit [Ping timeout: 268 seconds]
jtojnar_ is now known as jtojnar
freeman42x[nix] has joined #nixos
jperras has joined #nixos
xeji has quit [Quit: WeeChat 2.0]
freeman42x[nix] has quit [Ping timeout: 256 seconds]
jperras has quit [Ping timeout: 240 seconds]
day|flip has joined #nixos
<{^_^}> [nixpkgs] @smashedtoatoms opened pull request #38879 → vscode: 1.22.1 -> 1.22.2 → https://git.io/vxp7l
<raynold> ahh it's a wonderful day
<mpickering> astiles: Sorry I couldn't help you today. Had to finish off a patch. I'll try to help you another day if you're stuck still
<{^_^}> [nixpkgs] @matthewbauer pushed to master « cvs: apply darwin patch »: https://git.io/vxp5q
<day|flip> mmm I feel like I'm so close in getting this version of font installed. getting a failed with exit code 1
dan_b has quit [Ping timeout: 260 seconds]
telent has quit [Ping timeout: 260 seconds]
<mpickering> Why are you doing the unpacking in the install phase?
<astiles> mpickering: no worries! I did make it past the gfortran error and am now on to an x11 error. Thanks for your offer to help another day if I'm still stuck.
<day|flip> so do that in postFetch?
<mpickering> Do that in unpackPhase
<mpickering> but you don't need to do anything as the default unpackPhase will untar it for you and set sourceRoot appropiately
<mpickering> so infact, just delete that line
<day|flip> so 'unpackPhase = ture;' ?
<mpickering> no just nothing
<mpickering> Then how is the font packaged, I assume there is no Makefile?
<day|flip> so I don't need to define tar to unpack
<day|flip> no
<day|flip> no Makefile
asuryawanshi has joined #nixos
<mpickering> no it does it automatically
<mpickering> What is the error you are seeing?
<{^_^}> [nixpkgs] @Mic92 pushed to master « zfsUnstable: fix build »: https://git.io/vxp5b
<day|flip> builder for '/nix/store/f1h02194b65ada0by4z0lkcxff2igj55-fantasque-sans-mono-1.7.2.drv' failed with exit code 1
<mpickering> right but what's the error message?
<day|flip> should I post that drv output
<mpickering> There must be some output before that?
<mpickering> ah right, so the error is "unpacker produced multiple directories"
<clever> if you set sourceRoot, that error wont happen
<mpickering> In "postUnpack" you need to set "sourceRoot = src/" or whatever the source actually is
jackdk has joined #nixos
<mpickering> or I guess you can set it just at the top level?
<clever> both should work
erasmas has quit [Quit: leaving]
<mpickering> or you can also set "sourceRoot = ."
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.03 « zfsUnstable: fix build »: https://git.io/vxpdO
<day|flip> postUnpack = src/
<day|flip> like that?
<clever> postUnpack = "sourceRoot=src/";
<clever> or just sourceRoot = "src/";
vidbina has joined #nixos
<mpickering> It looks like you actually want sourceRoot = "."; though, it depends on the structure of the tarball
<clever> this problem only happens with nasty tar files that lack a common directory, and barf files all over your downloads folder
<clever> the timestamps of such files are generally scattered all over the place, to make sure you cant just find those files in one area of `ls -ltrh` :P
jperras has joined #nixos
<day|flip> unpacker produced multiple directories
ndrei has quit [Ping timeout: 268 seconds]
<day|flip> im still getting
<clever> can you gist the current expression?
sigmundv has quit [Ping timeout: 264 seconds]
jackdk has quit [Ping timeout: 260 seconds]
<day|flip> do i have to make a acc to used gist github?
<clever> yeah
<mpickering> hastebin is fine as before
<day|flip> it faster with hastebin
vidbina has quit [Ping timeout: 264 seconds]
alexteves_ has quit [Ping timeout: 256 seconds]
<clever> ah, i see the issue
<clever> line 872 calls postUnpack
<clever> it fails before running the hook
<clever> so you need to use preUnpack instead
<day|flip> so change postUnpack to preUnpack
<{^_^}> [nixpkgs] @matthewbauer opened pull request #38880 → Add Darwin devdisk commands and put them in unixtools → https://git.io/vxpdy
<clever> yep
<day|flip> chmod: cannot access 'src/': No such file or directory
<clever> and that only works if the tar file contains a src directory
<clever> you need to figure out what dir in the tar contains the README.md file
<clever> and put that into the sourceRoot
jrolfs_ has joined #nixos
jrolfs_ has quit [Ping timeout: 256 seconds]
<clever> day|flip: *.otf on line 17 matched zero files
<day|flip> only thing I change was 'preUnpack = "sourceRoot=.";'
<clever> so it parsed as "cp $out/share/fonts/opentype"
<astiles> mpickering: do you know if there's some way to include X headers? I'm seeing this error: "configure: error: --with-x=yes (default) and X11 headers/libs are not available" but am listing libX11, libXt, and xorgserver as build inputs
qvvqj has joined #nixos
Mateon3 has joined #nixos
<clever> day|flip: insert an ls -l on line 16-ish
<day|flip> so it have a DIR with OTF/
<clever> day|flip: then you want cp OTF/*.otf
<qvvqj> What is the final args object supposed to look like in `callCabal2Nix`? I'm trying to override the version of a hackage dependency but I keep getting "called with unexpected argument 'bifunctors'"
<day|flip> thank you so much clever. It now working
<clever> qvvqj: i think it was callCabal2Nix "packagename" ./source {}
<qvvqj> I see some examples on github where it looks like I should just be able to do `{ bifunctors = pkgs.haskellPackages.bifunctors_5_4_2; }`
<qvvqj> Yeah. I'm just confused about what are permissible values in place of that final `{}`
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon3 is now known as Mateon1
<day|flip> ya. I can Now enjoy my fav fonts without the lowcase k loop on it
<clever> qvvqj: the {} at the end is the same as the {} in callPackage
<clever> qvvqj: it passes arguments into the generated default.nix, the same ones you can set with normal .override
ericsagnes has quit [Ping timeout: 240 seconds]
<clever> qvvqj: so you need to look at the file that cabal2nix generates when ran on that source
orivej has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #38881 → cc-wrapper: More intelligent sierra hack → https://git.io/vxpFg
<qvvqj> clever: ahh, thanks
xcmw has joined #nixos
seafood has joined #nixos
sigmundv has joined #nixos
kmicklas has quit [Ping timeout: 240 seconds]