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
<joepie91> samueldr: one of my older development strategies was to test everything on a Puppy Linux machine with a Pentium 3 and 386MB RAM
<joepie91> you get very good at optimizing code very quickly
<__monty__> samueldr: I share the pain tbh. 2Gigs is too few Gigs.
<samueldr> :) I wouldn't go as far as reducing their CPU
<samueldr> 2 few gigs ;)
<joepie91> (I'm planning on reinstating that strategy, btw; the previous iteration of it was kind of short-circuited when somebody - for some inexplicable reason - stole said Pentium 3 laptop)
<samueldr> for cpu speed, at least you can wait, for memory issues, it gets gnarly quite quickly, and swap isn't as helpful as it seems :/
<joepie91> (and not, like, the more expensive and modern Thinkpad Edge I had...)
<Myrl-saki> joepie91: FWIW, on my ASCII art renderer, I went from 4 seconds per frame to like 0.2 seconds. Turns out vectorization is a very useful thing.
<samueldr> when a program is slow because of CPU contention/speed, it will eventually get there. for memory issues, there is a finite amount of storage for swap :/
<joepie91> samueldr: also, honestly, I rarely actually hit the limits of that CPU? I mean, it was a later 1.1ghz model, but still, RAM was the main isue
<joepie91> issue*
<joepie91> Myrl-saki: generally true that you can optimize away most of execution time / memory usage with 1-3 changes :P
<joepie91> for almost any project
<Myrl-saki> joepie91: Mine wasn't exactly 1-3 changes, but the idea was simply repeated.
<Myrl-saki> Basically, loop unrolling.
asuryawanshi has quit [Ping timeout: 245 seconds]
<__monty__> joepie91: It's the perfect crime... Who'd go after them for a crappy laptop while they had a perfectly good one still in their possession?
<joepie91> lol
<joepie91> it's also worth approximately $0 on the street
<joepie91> anyway, yeah, I'd be interested in learning more about Nix' memory issues as well, preferably from existing documentation
<joepie91> it seems to be a recurring thing
<joepie91> and mostly unaddressed? unless I missed something
trevthedev has quit [Quit: WeeChat 2.0]
ajs124 has left #nixos [#nixos]
<__monty__> Probably unaddressed because who wants to debug memory issues when they can write fancy new feature x?
<samueldr> joepie91: I wouldn't say unadressed, but maybe flying under the radar
<samueldr> I know for a fact they fixed memory stuff during the 2.0.x series
<Myrl-saki> __monty__: Passes in Valgrind? Passes for me!
<samueldr> but I don't know if it's been part of the changelog
asuryawanshi has joined #nixos
roconnor_ has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Ping timeout: 248 seconds]
ajs124 has joined #nixos
<Zer000> Hmm I got a "access to URI 'https://github.com/muse-sequencer/muse.git' is forbidden in restricted mode" from the build bot in my pull request. It's a public repo, did I do something wrong?
<samueldr> #42544 I presume
<{^_^}> https://github.com/NixOS/nixpkgs/pull/42544 (by Zer0-, open): MusE: add new package at version 3.0.2
<clever> Zer000: your own hydra?, is it doing import-from-derivation?
<samueldr> clever: ofborg
<__monty__> Myrl-saki: Obviously that's unsatisfactory. Your criterion should be does it run comfortably on /me's machine?
<clever> Zer000: you forgot the sha256 on the fetchGit
<Zer000> clever, no just whatever "grahamcofborg-eval" is on github: https://github.com/NixOS/nixpkgs/pull/42544
__monty__ has quit [Quit: leaving]
<Zer000> clever, weird, it worked on my local system
<samueldr> your local system doesn't run using the sandbox then
<Zer000> ah ok
<clever> Zer000: there is a bug in your nix that allows it to bend the rules
<samueldr> Zer000: maybe also look into using fetchFromGitHub instead of fetchGit; won't really change the end result, but makes the intention clearer
<Zer000> Ok, thanks. I'll go fix it
<clever> that too
<samueldr> Zer000: use `nix.useSandbox` → https://nixos.org/nixos/options.html#usesandbox
orivej has quit [Ping timeout: 264 seconds]
asuryawanshi has joined #nixos
<samueldr> as it'll catch some mistakes it otherwise wouldn't
<{^_^}> [nixpkgs] @ajs124 opened pull request #42545 → libvirt: enable (optional) support for iscsi storage → https://git.io/f49Tt
<samueldr> both ofborg and hydra run sandboxed
<samueldr> it also forces you not to cheat :)
<Zer000> right on
fresheyeball has joined #nixos
<adelbertc> anyone have experience with using Nix + Rust (and Carnix?) trying to debug a Rust error "this crate is being loaded from the sysroot, an unstable location"
<adelbertc> i've traced it to a missing "optional" dependency
jackdk has joined #nixos
<fresheyeball> clever: you still around man?
<clever> fresheyeball: yeah
<fresheyeball> holy crap
<fresheyeball> so everything is working, except for ssl
<fresheyeball> and you where the one who recommened acme
<fresheyeball> my settings are identical to local, but browser says its insecure now
<clever> fresheyeball: after lets encrypt generates a cert you have to restart the nginx service
<fresheyeball> well, I can confirm that systemctl restart nginx does not fix it
<clever> fresheyeball: is port 80 also open?
<fresheyeball> no
<fresheyeball> only 443
<fresheyeball> do I need both to be open?
<clever> fresheyeball: lets encrypt needs 80 open to confirm you own the domain
<fresheyeball> I don't know how you know all the twists and turns like this
<fresheyeball> its really impressive btw
asuryawanshi has quit [Ping timeout: 256 seconds]
<samueldr> clever: IIRC letsencrypt works with 443 only, no?
<clever> samueldr: its certs are for 443, but it uses http://example.com/.well-known/ on 80 to confirm you control the dns
<samueldr> > The standalone plugin requires root to bind port 80 or 443, although on Linux you could also grant CAP_NET_BIND_SERVICE to the relevant user.
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):150:59
<samueldr> that's for certbot
<clever> samueldr: thats when your not using nginx, you stop your entire http server, then run the certbot on port 80/443
<samueldr> and re-reading doesn'T support as much
<clever> nixos reconfigures nginx so you dont have to shut your whole site off
<samueldr> I'm searching for a proper citation
<clever> its harder to automate for every single http server, but thats exactly what nixos is for :P
<samueldr> because AFAIUI, 80 vs. 443 doesn't mean anything more for validation
<fresheyeball> clever: that did it
<samueldr> (though I may have been mistaken)
ajs124 has left #nixos ["Stream closed by us: Timed out waiting for stream resumption (connection-timeout)"]
ericsagnes has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/94d80eb7247 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
asuryawanshi has joined #nixos
alfie has quit [Quit: Bye.]
<samueldr> ah, that's a *proposed* update to the CA/Browser forum
silver_ has joined #nixos
philippD has joined #nixos
blankhart has quit [Read error: Connection reset by peer]
silver has quit [Ping timeout: 256 seconds]
blankhart has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
pacmeister has joined #nixos
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
asuryawanshi has joined #nixos
pacmeister has quit [Quit: WeeChat 2.1]
matthewbauer has quit [Ping timeout: 256 seconds]
truthadjustr has joined #nixos
<{^_^}> [nixpkgs] @imalsogreg opened pull request #42546 → pHash: init at 0.9.4 → https://git.io/f49km
<truthadjustr> given an .so or executable, is it possible to know what gcc version is used to produced it?
silver_ has quit [Read error: Connection reset by peer]
<Myrl-saki> truthadjustr: Yeah, I think there's raw text metadata in the file itself.
<Myrl-saki> Wait.
<truthadjustr> Myrl-saki: As Ori_B in #programming also commented, seems that this is non-deterministic
<Myrl-saki> Knew it. A simple `grep` should find it.
asuryawanshi has quit [Ping timeout: 256 seconds]
<Myrl-saki> Wait.
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<Myrl-saki> I don't know how to sed anymore, lol
<Myrl-saki> truthadjustr: For now, you can just run `less` on the program, then /GCC
<Myrl-saki> Oh, there's the `strings` command too
<Myrl-saki> [nix-shell:~]$ strings $(which st) | grep -i gcc
<Myrl-saki> GCC: (GNU) 5.3.0
<Myrl-saki> GCC: (GNU) 7.3.0
<Myrl-saki> And now, I'm just confused. Lol
<Myrl-saki> Anyone got an explanation for that?
andreabedini has joined #nixos
<Myrl-saki> I'm thinking one is bootstrap GCC, and the other is GCCused for program.
matthewbauer has joined #nixos
<truthadjustr> Myrl-saki: Anyway, i'm trying to compile 'zeromq-4.2.2' but seems that 'gcc 8.1.0' won't due to its more strict whatever. However, 'gcc 7.3.0' was able to.
<Myrl-saki> Ah. Are you on unstable?
<truthadjustr> Myrl-saki: i'm inside docker environment, so the error is gcc related. I am a total n00b how to work with c/c++ in nixos yet.. all i know is that my headers,lib are in ~/.nix-profiles/{include,lib} but then.. how will a vanila opensource know that?
<Myrl-saki> Let me check my github for examples.
<Myrl-saki> truthadjustr: Then you just run `nix-build` or `nix-build ./default.nix`
<Myrl-saki> How the hell does autoPatchelfHook work, lol
<Lisanna> Myrl-saki I love autopatchelfhook
<Myrl-saki> I'm confused on how hooks even work. :(
<Myrl-saki> Seems like it's useful.
<Lisanna> Myrl-saki add them to the nativeBuildInputs
<Lisanna> nativeBuildInputs = [ autoPatchElfHook ]
<Myrl-saki> Lisanna: I mean the architecture itself.
<Lisanna> Myrl-saki they add build phases
<Lisanna> more or less
lukec has quit [Ping timeout: 240 seconds]
<Myrl-saki> Lisanna: Sorry, I should have been clearer. I'm wondering how a `buildInputs` is affecting the package itself.
<Myrl-saki> I'm looking at the source code right now.
<Lisanna> Myrl-saki autoPatchelfHook looks at what your buildinputs are, and scans $out and looks to see if it can match up stuff in buildinputs with stuff in $out that is missing references
<Lisanna> for rpath
fresheyeball has quit [Quit: WeeChat 2.0]
asuryawanshi has joined #nixos
<Lisanna> so you basically just put autoPatchelfHook in your nativeBuildInputs, then add the dependencies that you want it to try to use during its phase to buildInputs, and it'll just go
<truthadjustr> the 'gcc 8.1.0' error i'm encountering also happens in other stuff. Just fyi, it looks like this: http://sourceware.org/ml/gdb/2017-11/msg00016.html
<Myrl-saki> Right.
pie_ has quit [Ping timeout: 255 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
deepfire` has quit [Ping timeout: 256 seconds]
<Lisanna> is there a way to get the environment variables that a builder will have? I can access the builder and the args with drv.builder and drv.args, but not sure how to also get all the environment variables
Supersonic112 is now known as Supersonic
<samueldr> I'm sure this isn't the best time to ask, but I'm looking for help with cross-compilation issues, RTFM indications welcome (as long as I know where to look for the fine manual) https://discourse.nixos.org/t/new-project-mobile-nixos/342/15?u=samueldr
<matthewbauer> samueldr: did you try just setting -Wno-error in GCC6 build? From what i see all you get is warnings
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> oh, you answered on the gist :/ somehow missed the notification sorry
<samueldr> and quickly! I feel kinda bad now
<matthewbauer> it looks like everything is configured right. one thing to look for is how many gcc's are being built. it should just be 1 gcc6 cross compiler but the nixpkgs logic may be stupid enough that it needs to go gcc7->gcc6->aarch64-gcc6
* samueldr is trying your suggestion right now
<imalsogr`> Lisanna: nix show-derivation /nix/store/something.drv has a field `env`. Not sure if these are specifically the env vars that the builder will see though.
<Lisanna> imalsogr` am hoping to be able to get it at eval time
<elvishjerricco> clever: Here's the result of the tip you gave me: https://elvishjerricco.github.io/2018/06/24/secure-declarative-key-management.html
roconnor_ has joined #nixos
<samueldr> matthewbauer: "these derivations will be built" shows one gcc (+1 wrapper)
<matthewbauer> ok that's good
<samueldr> looks good, let's hope that there's nothing more than that warning (as an error)
hxrts has joined #nixos
lukec has joined #nixos
<matthewbauer> it's annoying that gcc7 doesn't work because that one should be cached
<samueldr> yes it is annoying :)
<samueldr> to be fair, I haven't tested a cross-gcc7-built kernel on-device, only a native-gcc7-built one
<samueldr> (though I'm not expecting it would work any better except if for some weird compiler behaviour)
<matthewbauer> yeah i bet there's some combination of flags that could fix it for gcc7 - new versions of gcc shouldn't lose functionality
<samueldr> even for any warning?
asuryawanshi has quit [Ping timeout: 264 seconds]
worldofpeace has joined #nixos
<samueldr> some UB may have changed between gcc6 and gcc7?
hph^ has quit [Ping timeout: 268 seconds]
hxrts has quit [Ping timeout: 248 seconds]
<{^_^}> [nixos-org-configurations] @matthewbauer opened pull request #42 → Add my blog → https://git.io/f49It
blonkhart has joined #nixos
camsbury has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
<worldofpeace> Hm, I'm getting this error when trying to fetch a submodule with fetchgit. https://gitlab.com/snippets/1727830 . Any help would be fun :)
matthewbauer has joined #nixos
<matthewbauer> yeah there's lots of stuff that could have changed for instance: https://gcc.gnu.org/gcc-7/changes.html#aarch64
andreabedini has joined #nixos
lverns has joined #nixos
lverns has quit [Client Quit]
illabout has joined #nixos
lverns has joined #nixos
<colemickens> Does anyone know why the kubernetes e2e tests don't run, and/or why the output of them is so unusable?
jmeredith has quit [Quit: Connection closed for inactivity]
illabout has quit [Remote host closed the connection]
illabout has joined #nixos
asuryawanshi has joined #nixos
<samueldr> matthewbauer: looks like the flag isn't added to cc invocations during the build
<samueldr> I think it's using the overlay's gcc6, replacing it with something else (e.g. hello) stops the build with something that looks legit (missing attribute targetPlatform)
markus1199 has joined #nixos
asuryawanshi has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @tadfisher opened pull request #42547 → firefox: add u2f support → https://git.io/f49Il
markus1189 has quit [Ping timeout: 260 seconds]
glasserc has joined #nixos
<glasserc> Hi, I just installed NixOS and I tried to set up gnome3, but when I choose it as a session I get "Window manager 'gnome3' not found"
<camsbury> yeah
<camsbury> should be desktopManager
<camsbury> as your attribute
asuryawanshi has joined #nixos
<glasserc> I have "services.xserver.desktopManager.gnome3.enable = true;" in my /etc/nixos/configuration.nix. Is that what you mean?
<camsbury> yeah that's what it should be
<camsbury> ussumed you had windowManager instaed from the error
<camsbury> I've done that before myself :D, but yeah if you have that I'm not sure
<glasserc> OK, thanks
<camsbury> do the others work for you, for example if you sub in "plasma5"
<camsbury> just to diagnose if that line is the cause of the error
andymandias has quit [Ping timeout: 264 seconds]
<camsbury> or if it is a gnome issue
asuryawanshi has quit [Ping timeout: 248 seconds]
travankor has joined #nixos
<glasserc> Let me try it
<glasserc> Yeah, plasma5 works fine
lverns has quit [Ping timeout: 260 seconds]
andymandias has joined #nixos
asuryawanshi has joined #nixos
<camsbury> nice. in that case looks like a problem with gnome. maybe you are expected to do something more for that desktop manager, but I'm unsure.
<Jason_Grossman> camsbury: Shouldn't be expected to do anything more.
matthewbauer has quit [Read error: Connection reset by peer]
<Jason_Grossman> glasserc: I suggest you try setting windowManager.default = "none"
<Jason_Grossman> glasserc: and if that doesn't work try desktopManager.default = "gnome3"
asuryawanshi has quit [Ping timeout: 256 seconds]
<camsbury> having issues on a new machine with chromium.enablePepperFlash = true
<camsbury> dependencies not being resolved properly
<samueldr> hm, used a nixpkgs for to at least test -Wno-error beforehand, got a bunch of "aliased to undefined symbol", from "note: in expansion of macro '_GLIBCXX_APPLY_SYMVER'"
<camsbury> if I know a nix-store hash that works well on my current machine, is there a way for me to specify that hash in the other in the most minimal way possible?
<camsbury> though I am open to learn more when it isn't late on a Sunday :D
asuryawanshi has joined #nixos
spear2 has joined #nixos
<samueldr> I don't know about using it in a nix derivation or nixos config, but nix-store --realise may be helpful
<samueldr> try `nix-store --realise /nix/store/wwsy5zahji1jjhakq08zy3mmmvnxgnmv-busybox-1.28.1` then `ls -l /nix/store/wwsy5zahji1jjhakq08zy3mmmvnxgnmv-busybox-1.28.1`
<camsbury> thanks!
matthewbauer has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
<worldofpeace> gobjectIntrospection should be a nativeBuildInput?
asuryawanshi has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
camsbury has quit [Quit: WeeChat 2.0]
asuryawanshi has quit [Ping timeout: 255 seconds]
<glasserc> Jason_Grossman: Same behavior
travankor has left #nixos [#nixos]
<glasserc> Quite strange actually because it looks like there's a gnome3 stanza in the /nix/store/....-xsession file
matthewbauer has joined #nixos
<glasserc> Oh, but I guess it's getting set as a window manager and not a desktop manager
matthewbauer has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
<worldofpeace> This sucks, an upgrade in git broke the nix-prefetch-git in some cases causing my error. https://github.com/NixOS/nixpkgs/pull/42376
asuryawanshi has quit [Ping timeout: 248 seconds]
jackdk58 has joined #nixos
__holden__ has quit [Ping timeout: 256 seconds]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jackdk has quit [Ping timeout: 256 seconds]
<Jason_Grossman> glasserc: Drats. I'm out of ideas - sorry.
justbeingglad has joined #nixos
<Jason_Grossman> glasserc: Are you using the unstable channel?
justbeingglad has left #nixos [#nixos]
<Jason_Grossman> glasserc: If so, try stable (= 18.03).
asuryawanshi has joined #nixos
<glasserc> I'm on stable already and was wondering if maybe trying unstable was a good idea
<Jason_Grossman> Yes, unless anyone else chimes in with a solution.
<Jason_Grossman> Good though.
<Jason_Grossman> * thought
<glasserc> It looks like the xsession script being generated takes the $sessionType (gnome3) and turns it into windowManager=gnome3 and desktopManager=gnome3. I wonder if that's supposed to happen
imalsogr` has quit [Remote host closed the connection]
karlguy has quit [Ping timeout: 268 seconds]
matthewbauer has joined #nixos
asuryawanshi has quit [Ping timeout: 268 seconds]
mk-fg has quit [Ping timeout: 256 seconds]
asuryawanshi has joined #nixos
endformationage has quit [Ping timeout: 256 seconds]
matthewbauer has quit [Read error: Connection reset by peer]
endformationage has joined #nixos
asuryawanshi has quit [Ping timeout: 245 seconds]
justbeingglad has joined #nixos
matthewbauer has joined #nixos
asuryawanshi has joined #nixos
<teto1> could anyone merge/review https://github.com/NixOS/nixpkgs/pull/39142 (network manager hooks) ? I would like to propose another PR based on it
<{^_^}> [nixpkgs] @teto closed pull request #40160 → [wip] telnetd: init module → https://git.io/vpKDn
lassulus_ has joined #nixos
asuryawanshi has quit [Ping timeout: 248 seconds]
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
asuryawanshi has joined #nixos
justbeingglad has left #nixos [#nixos]
<clever> bgamari: just found NIX_SHOW_STATS
newhoggy has joined #nixos
asuryawanshi has quit [Ping timeout: 268 seconds]
matthewbauer has quit [Ping timeout: 256 seconds]
asuryawanshi has joined #nixos
Jason_Grossman has quit [Ping timeout: 260 seconds]
asuryawanshi has quit [Ping timeout: 248 seconds]
truthadjustr has quit [Quit: leaving]
justbeingglad has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #42549 → Revert "Merge pull request #42376 from dtzWill/update/git-2.18.0" → https://git.io/f49th
<{^_^}> [nixpkgs] @dtzWill merged pull request #42549 → Revert "Merge pull request #42376 from dtzWill/update/git-2.18.0" → https://git.io/f49th
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/f49tj
asuryawanshi has joined #nixos
<samueldr> worldofpeace: ^
asuryawanshi has quit [Ping timeout: 240 seconds]
asuryawanshi has joined #nixos
justbeingglad has left #nixos [#nixos]
asuryawanshi has quit [Ping timeout: 268 seconds]
asuryawanshi has joined #nixos
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
asuryawanshi has joined #nixos
nallar has joined #nixos
Ross has quit [Ping timeout: 265 seconds]
nallar is now known as Ross
asuryawanshi has quit [Ping timeout: 256 seconds]
blonkhart has quit [Quit: WeeChat 1.9.1]
asuryawanshi has joined #nixos
sbdchd has quit [Remote host closed the connection]
asuryawanshi has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
andymandias has quit [Ping timeout: 264 seconds]
asuryawanshi has joined #nixos
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
andymandias has joined #nixos
mariatsji has joined #nixos
Ariakenom has joined #nixos
asuryawanshi has quit [Ping timeout: 276 seconds]
mariatsji has quit [Ping timeout: 256 seconds]
robstr has joined #nixos
mariatsji has joined #nixos
asuryawanshi has joined #nixos
MercurialAlchemi has joined #nixos
<Lisanna> hmm... trying to nix copy --from and it's saying that it cannot add path because it lacks a valid signature. but I'm passing --no-check-sigs to nix copy. ??
asuryawanshi has quit [Ping timeout: 240 seconds]
<MichaelRaskin> Are you doing it as root?
<MichaelRaskin> If you are doing it via nix-daemon it will not believe you
asuryawanshi has joined #nixos
rprije has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #42551 → ocamlPackages.re: 1.7.1 -> 1.7.3 → https://git.io/f49Ym
asuryawanshi has quit [Ping timeout: 256 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
mariatsji has quit [Remote host closed the connection]
phdoerfler has joined #nixos
pie_ has joined #nixos
<clever> Lisanna: yeah, nix-daemon will silently ignore --no-check-sigs if you are not a trusted user
asuryawanshi has joined #nixos
_cyril_ has quit [Ping timeout: 260 seconds]
asuryawanshi has quit [Ping timeout: 240 seconds]
_cyril_ has joined #nixos
tusj has joined #nixos
wchresta has joined #nixos
asuryawanshi has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
mariatsji has joined #nixos
blahdodo has quit [Quit: Bye bye]
pie_ has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Ping timeout: 245 seconds]
blahdodo has joined #nixos
jD91mZM2 has joined #nixos
asuryawanshi has joined #nixos
periklis has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
wchresta has quit [Remote host closed the connection]
wchresta has joined #nixos
wchresta has quit [Remote host closed the connection]
wchresta has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justbeingglad has joined #nixos
asuryawanshi has joined #nixos
<Lisanna> damnit, I've found *another* segfault in nix
justbeingglad has left #nixos [#nixos]
reinzelmann has joined #nixos
<Lisanna> woah, cool
<Lisanna> it happened when I had a "let x.y = foo; in x.y bar" style of statement
<Lisanna> where x.y was already defined
octe has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Ping timeout: 255 seconds]
<Lisanna> can't seem to make a trivial reproducer tho..
<Lisanna> eh, I'll copy my code and investigate more later
asuryawanshi has joined #nixos
<Lisanna> ah, infinite recursion is also involved
Ariakenom has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
mariatsj_ has joined #nixos
<{^_^}> [nixpkgs] @edolstra merged pull request #42522 → aws-sdk-cpp: 1.4.65 -> 1.4.70 → https://git.io/f4SXQ
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/f49sU
Lears has quit [Remote host closed the connection]
Lears has joined #nixos
mariatsji has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Ping timeout: 248 seconds]
xy2_ has joined #nixos
wchresta has quit [Remote host closed the connection]
sorixelle has joined #nixos
tzemanovic has quit []
blankhart has quit [Ping timeout: 255 seconds]
asuryawanshi has joined #nixos
pie_ has quit [Ping timeout: 256 seconds]
Ariakenom has joined #nixos
hamishmack has joined #nixos
blankhart has joined #nixos
asuryawanshi has quit [Ping timeout: 245 seconds]
justbeingglad has joined #nixos
fendor_ has joined #nixos
phdoerfler has quit [Quit: Leaving.]
kreetx has joined #nixos
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #42520 → [18.03] kubernetes: 1.9.1 -> 1.9.8 → https://git.io/f4SKc
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-18.03: https://git.io/f49Ga
pie_ has joined #nixos
phdoerfler has joined #nixos
justbeingglad has quit [Quit: Leaving.]
asuryawanshi has quit [Ping timeout: 248 seconds]
<kreetx> does anyone have a simple example of how to have an overlay of haskell packages?
<kreetx> I'm looking to make some local packages globally available
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @mboes opened pull request #42552 → bazel: Don't hardcode build tools → https://git.io/f49GM
<kreetx> I found some slides here http://nbp.github.io/slides/NixCon/2017.NixpkgsOverlays/#p5-rust-parser, but although it says I don't need to use overriding anymore, then I think for haskell packages I still do
<kreetx> but not entirely sure
crshbndct has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
ThatDocsLady has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
myshoe has joined #nixos
asuryawanshi has joined #nixos
andymandias has joined #nixos
Zer000 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @FRidh pushed to master « Revert "python: click-log: 0.2.1 -> 0.3.2" »: https://git.io/f49Zm
justbeingglad has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
asuryawanshi has quit [Ping timeout: 256 seconds]
testuser has joined #nixos
asuryawanshi has joined #nixos
<rnhmjoj[m]> can someone tell me how to do a remote build? everything i tried doesn't seem to work: `nix build -f. --builders ssh://user@host` fails with "unable to open SSH connection to 'ssh://user@host': writing to file: Broken pipe;" and `nixos-rebuild --build-host user@host` fails with "error: cannot add path '/nix/store/*.drv' because it lacks a valid signature"
Ariakenom has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
periklis has quit [Ping timeout: 265 seconds]
asuryawanshi has joined #nixos
FRidh has joined #nixos
newhoggy_ has joined #nixos
justbeingglad has quit [Quit: Leaving.]
justbeingglad has joined #nixos
newhoggy has quit [Ping timeout: 260 seconds]
newhoggy_ has quit [Ping timeout: 265 seconds]
civodul has joined #nixos
__Sander__ has joined #nixos
justbeingglad has quit [Client Quit]
palo has quit [Ping timeout: 260 seconds]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
jluttine has joined #nixos
Jason_Grossman has joined #nixos
johanot has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
mmercier has joined #nixos
octe has joined #nixos
<kreetx> rnhmjoj[m]: I do remote builds into a docker on macos
<kreetx> I was using --builders before, but then added the machine to /etc/nix/machines
phdoerfler1 has joined #nixos
phdoerfler has quit [Ping timeout: 240 seconds]
mmercier has quit [Read error: Connection reset by peer]
crshbndct has left #nixos [#nixos]
b has quit [Ping timeout: 255 seconds]
jackdk58 has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Remote host closed the connection]
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
asuryawanshi has joined #nixos
<kreetx> andreabedini: will check out, thanks!
<andreabedini> kreetx: (I'm a noob YMMV)
<cocreature> I’m running "nix-store -qR --include-outputs $(nix-instantiate)" but for some .drv files the corresponding outputs seem to be missing. am I doing something wrong here?
<kreetx> andreabedini: I'm currently looking at this https://github.com/LumiGuide/haskell-opencv/blob/master/overlay.nix
jensens has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
<andreabedini> kreetx: the second section I linked has a note about overriding haskellPackages for a specific package set
<woffs> channel nixos-18.03 stepped back from 18.03.132750.91b286c8935 to 18.03.132687.14c248a4ab7 :(
Jason_Grossman has quit [Ping timeout: 268 seconds]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
thc202 has joined #nixos
hph^ has joined #nixos
<kreetx> is there a "inherit + with" in the nix language -- i.e if I want to unpack a set as argument to a function?
<{^_^}> [nixpkgs] @adisbladis merged pull request #42494 → imagemagick7: 7.0.7-35 -> 7.0.8-2 → https://git.io/f4Sgb
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/f49WL
phdoerfler has joined #nixos
periklis has joined #nixos
phdoerfler1 has quit [Ping timeout: 255 seconds]
<cocreature> ah, --include-outputs only includes outputs that have already been built. now it makes sense
<Lisanna> "Jobset contains a job with an empty name. Make sure the jobset evaluates to an attrset of jobs."
<Lisanna> I don't know what this means.
<kreetx> with cabal2nix is there a way to add a catch-all ... argument to the derivation?
<Lisanna> The top-level is an attrset, how could an attrset with stuff in it not have names in it?
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<Lisanna> like, how is that circumstance physically possible
agander has joined #nixos
<Lisanna> oh wow. you can do { "" = blah; }
<andreabedini> anyone has experience with using nix to deploy a rails app?
periklis has quit [Ping timeout: 260 seconds]
leotaku has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @numinit opened pull request #42554 → dwarf-fortress: 0.44.10 -> 0.44.11 → https://git.io/f49lE
orbekk has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @FRidh pushed to master « python37: init at 3.7.0rc1 »: https://git.io/f49lK
<kreetx> (same question as before, but better expressed) Is there a way to pass only the required arguments to a function? Since if the function doesn't have a ... in it's arguments list then calling it gives an error, if there is more than required
<{^_^}> [nixpkgs] @numinit opened pull request #42555 → pygtkglext: init at 1.1.0 → https://git.io/f49lM
<tilpner> > { "​" = 42; "" = 41; }."" # Lisanna
<{^_^}> 41
<tilpner> kreetx - callPackage should do that
<kreetx> tilpner: I'm not sure but I think the haskell one doesn't?
<kreetx> I'm probably just doing something wrong..
<kreetx> in my override I try to do something like this: final.haskellPackages.callPackage ./path final.haskellPackages
<tilpner> Try final.haskellPackages.callPackage ./path {}
<kreetx> and the last argument has all of the haskell packages
<kreetx> that works
<kreetx> but I need my local packages in there
<tilpner> That last argument will always be passed, without checking if the arguments are expected
<kreetx> hmm, but the default.nix files for my packages don't have a ... in it. I think what you're saying is that it shouldn't matter
<{^_^}> [nixpkgs] @FRidh pushed to staging « pythonPackages: remove traces of Python 2.6 »: https://git.io/f498E
newhoggy has joined #nixos
<tilpner> No, I'm saying your error is expected
<tilpner> All arguments from that second argument will unconditionally be passed to the imported first argument (plus some other args)
<tilpner> So if that first argument doesn't expect those, it errors
<kreetx> thank you, I didn't know this
sir_guy_carleton has joined #nixos
<kreetx> but what should I do then? I found that there exists a functionArgs to get the arguments of a function -- I could use this to pick out the right things
<kreetx> but I have a nagging feeling that all this is just wrong somehow
pie_ has quit [Remote host closed the connection]
<tilpner> Have you read the manual section on Haskell package overrides?
pie_ has joined #nixos
<cocreature> kreetx: override haskellPackages to include your local packages and then use callPackage on that
orivej has joined #nixos
philippD has joined #nixos
jluttine has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @Profpatsch opened pull request #42556 → pythonPackages.rlp: revert to working 0.6.0 → https://git.io/f4989
jluttine has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FRidh pushed 136 commits to staging: https://git.io/f498h
<kreetx> this is what the overlay looks like: https://pastebin.com/9jaFYWfa
<kreetx> if I comment in the final.haskellPackages it errors (as tilpner said it's supposed to), but with an empty set then 'b' doesn't find the 'a' it depends on
<kreetx> I know I could name them manually, but thought that why should I :p
<rizary> when building with nix, i got this error
<rizary> `Setup: configure script not found. builder for ...`
<kreetx> but maybe I should
<Lisanna> is there a builtin or lib function to convert a local path into a derivation?
<Lisanna> e.g. pathToDrv ./.
phdoerfler has quit [Quit: Leaving.]
<Lisanna> toDerivation doesn't work on local paths
<rizary> when trying to `override` ghc822. Is this something that nix fault or else?
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roberth has joined #nixos
periklis has joined #nixos
jtojnar has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #42359 → ecs-agent: 1.14.0 -> 1.18.0-1 → https://git.io/f8RzK
<{^_^}> [nixpkgs] @xeji pushed commit from @andreabedini to master « ecs-agent: 1.14.0 -> 1.18.0 (#42359) »: https://git.io/f49BI
Jason_Grossman has joined #nixos
illabout has quit [Ping timeout: 256 seconds]
agander has quit [Ping timeout: 256 seconds]
jluttine has quit [Quit: WeeChat 2.1]
jluttine has joined #nixos
jensens has quit [Ping timeout: 265 seconds]
<Lisanna> is there a list of all the different kinds of hydra build products?
agander has joined #nixos
<sir_guy_carleton> what's the best way to handle installing programming languages: declaratively in configuration.nix or imperatively with nix-env?
<tilpner> Neither, nix-shell or as package dependencies
<sir_guy_carleton> including the language itself, not just the libraries?
<{^_^}> [nixpkgs] @FRidh merged pull request #42556 → pythonPackages.rlp: revert to working 0.6.0 → https://git.io/f4989
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/f49Rq
<tilpner> sir_guy_carleton - Languages aren't installable software
<tilpner> sir_guy_carleton - There are implementations of languages, as compilers or interpreters, along with required runtime dependencies
newhoggy has quit [Remote host closed the connection]
<tilpner> sir_guy_carleton - The best™ method of installation might differ depending on whether your language compiles to native code
<sir_guy_carleton> tilpner: okay, that's what i meant by 'installing the language'. i should have been more precise with my words
<infinisil> Lisanna: There is srcOnly I guess
kisik21 has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
justbeingglad has joined #nixos
<Lisanna> infinisil bleh, okay. I wrote my own anyways, and it's better :p
<infinisil> gist?
<tilpner> sir_guy_carleton - I assume you're talking about development, but you haven't said so. This affects the optimal choice as well
<infinisil> Lisanna: srcOnly kinda sucks indeed, am interested what you improved
<Lisanna> pathToDrv ./.
<{^_^}> [nixpkgs] @FRidh pushed 121 commits to python-unstable: https://git.io/f490Y
<Lisanna> what happened to jobsets in hydra being able to take multiple values, and it computing the cartesian product? the jobset interface seems to be lacking the button to do that :/
<infinisil> Lisanna: Huh, why do it like this?
<Lisanna> infinisil well, it takes one argument for one
andymandias has joined #nixos
justbeingglad has quit [Ping timeout: 260 seconds]
<infinisil> Yeah, but why nix-store --dump | nix-store --restore?
<Lisanna> and it will perfectly preserve everything, as if you had used the path directly in a build
<Lisanna> who the hell knows what cp does
<infinisil> There's flags for it though
<infinisil> And I feel like it'll be much faster than going through nix serialization..
<Lisanna> hey, it's how replaceDependency works
<infinisil> Hmm
<infinisil> Well whatever works for you
<infinisil> You might want to consider using builtins.path to have it work for all input paths
<Lisanna> what does that builtin do?
<{^_^}> [nixpkgs] @xeji pushed commit from @nocent to master « rpcs3: 0.0.4-8032 -> 0.0.5-6980 (#41414) »: https://git.io/f490g
<{^_^}> [nixpkgs] @xeji merged pull request #41414 → rpcs3: 0.0.4-8032 -> 0.0.5-6980 → https://git.io/vhlIj
newhoggy has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « python.pkgs.psutil_1: remove unused package »: https://git.io/f490r
<Lisanna> what kind of input path would my function not work with?
<{^_^}> [nixpkgs] @numinit closed pull request #42555 → pygtkglext: init at 1.1.0 → https://git.io/f49lM
<infinisil> Lisanna: It's documented here: https://nixos.org/nix/manual/#ssec-builtins
<infinisil> Lisanna: Paths that have invalid names
<infinisil> > "${<nixpkgs/.git>}"
<Lisanna> infinisil then whoever is calling my function should wrap their argument with this builtin
<{^_^}> illegal name: '.git'
<{^_^}> [nixpkgs] @xeji merged pull request #42451 → lollypop: 0.9.514 -> 0.9.516 → https://git.io/f4SO1
<Lisanna> 'cause I'm not gonna pick a new name for them
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/f490i
<infinisil> Good point
<infinisil> > "${builtins.path { path = <nixpkgs/.git>; name = "nixpkgs"; }}"
<{^_^}> "/nix/store/dngg8grlirqxk7gxvg0sfddfkvwbw6mr-nixpkgs"
newhoggy has quit [Ping timeout: 245 seconds]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
kisik21 has quit [Ping timeout: 256 seconds]
phdoerfler has joined #nixos
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42432 → multimc: fix build with Qt 5.11, fix desktop icon → https://git.io/f4STJ
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/f49Em
m0rphism has quit [Quit: WeeChat 1.9.1]
<sir_guy_carleton> tilpner: yeah, that's what i'm thinking about
<{^_^}> [nixpkgs] @xeji merged pull request #42539 → 1password: fix sha256 hash → https://git.io/f49eF
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/f49EM
justbeingglad has joined #nixos
justbeingglad has quit [Client Quit]
justbeingglad has joined #nixos
justbeingglad has quit [Ping timeout: 256 seconds]
rprije has joined #nixos
ericsagnes has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @etu opened pull request #42558 → php71: 7.1.18 -> 7.1.19 → https://git.io/f49uj
newhoggy has joined #nixos
justbeingglad has joined #nixos
justbeingglad has quit [Ping timeout: 245 seconds]
blahdodo has quit [Ping timeout: 260 seconds]
blahdodo has joined #nixos
mariatsj_ has quit [Remote host closed the connection]
simukis has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/94d80eb7247 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<rizary> after talking/chatting to myself and the chat is gone, I posted the issue here: https://github.com/NixOS/nixpkgs/issues/42559 in case of anyone willing to give me advice.
mariatsji has joined #nixos
newhoggy has quit [Remote host closed the connection]
xy2_ has quit [Ping timeout: 260 seconds]
lopsided98 has joined #nixos
<cocreature> rizary: looks like you need to run "autoreconf -i"
<rizary> cocreature: i'm not sure where should I put that? in my build process or where?
<cocreature> rizary: or use callHackage rather than trying to fetch from github
thc202 has quit [Ping timeout: 264 seconds]
<cocreature> yeah probably in preConfigure
<cocreature> but unless you really need a feature that’s not in the latest release (which would surprise me since network released a new version just a few days ago), I would recommend to just use callHackage
<rizary> yep
<rizary> so in case of using `preConfigure` i should download and run `cabal2nix` myself then modify it by adding the `proConfigure` attributes?
agander has quit [Read error: Connection reset by peer]
<cocreature> you can probably apply overrideCabal to whatever you have now
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @xeji merged pull request #42552 → bazel: Don't hardcode build tools → https://git.io/f49GM
<{^_^}> [nixpkgs] @xeji pushed commit from @mboes to master « bazel: Don't hardcode build tools (#42552) »: https://git.io/f4927
<rizary> i see TIL. thanks cocreature
thc202 has joined #nixos
agander has joined #nixos
agander_ has joined #nixos
Oyren has joined #nixos
aarvar has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42547 → firefox: add u2f support → https://git.io/f49Il
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f49aP
<Oyren> hey can someone help me creating a .desktop file?
<jD91mZM2> Sure
agander has quit [Ping timeout: 256 seconds]
<Oyren> i tried to do something like this: desktopItem = makeDesktopItem { exec = "$out/bin/Binary"; };
<jD91mZM2> I think you need a name as well
<Oyren> but i can't see anything in .nix-profile/share/appliactions and also not in the /nix/store
<Oyren> sure i have
<jD91mZM2> desktopItem = makeDesktopitem { name = "something"; exec = "Binary" }
<Oyren> can i show you somehow the complete package? i am new here
<jD91mZM2> Sure, gist or pastebin your nix expression somewhere :)
<jD91mZM2> One thing you'll need to do is symlink ${desktop}/share/applications/* to $out/share/applications.
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42558 → php71: 7.1.18 -> 7.1.19 → https://git.io/f49uj
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f49Vt
lverns has joined #nixos
<jD91mZM2> Yeah that should create a write/share/applications/write.desktop file. To have it installed into /usr/share/applications you need to symlink it
<Oyren> but shouldn't I see the write/share/applications/write.desktop file in the /nix/store/*-Stylus-Labs-Write ?
<jD91mZM2> You probably should, unless perhaps nix is so cool that it doesn't evaluate it if it isn't used
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1b910d5dc03 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<jD91mZM2> Try symlinking it like that but using ${desktopItem} instead of ${desktop}
<jD91mZM2> brb
<Oyren> thanks, now i see it in /nix/store
jensens has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42545 → libvirt: enable (optional) support for iscsi storage → https://git.io/f49Tt
<{^_^}> [nixpkgs] @xeji pushed commit from @ajs124 to master « libvirt: enable (optional) support for iscsi storage (#42545) »: https://git.io/f49V5
phdoerfler has quit [Quit: Leaving.]
ericsagnes has joined #nixos
<ajs124> yay, my iscsi stuff is coming together :D
mmercier has joined #nixos
ambro718 has joined #nixos
agander_ has quit [Ping timeout: 256 seconds]
<ambro718> in a nixos module, how do I do mkIf cfg.listOption is not empty?
<{^_^}> [nixpkgs] @xeji merged pull request #42541 → casync: init at 2-152-ge4a3c5e → https://git.io/f49JL
<{^_^}> [nixpkgs] @xeji pushed 5 commits to master: https://git.io/f49wu
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.03: https://git.io/f49wV
deepfire` has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
judson has quit [Ping timeout: 260 seconds]
alfie has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f799f12fb29 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
silver has joined #nixos
<{^_^}> [nixpkgs] @krav opened pull request #42560 → nixos/ceph: ensure services are started, allow osd to access devices → https://git.io/f49rw
<LnL> ambro718: mkIf (cfg.listOption != []) ...
<ambro718> Something strange is happening, can someone help me with this nixos module? https://paste.ubuntu.com/p/66X5gjRHfW/
<ambro718> LnL: I defined the modulePackages option to be a list of packages, but then cfg.modulePackages is not a list at all, it actually seems to be a set !?
<ambro718> I get error "cannot coerce a set to a string", seems related to the expansion of ${cfg.modulePackages} in the for loop
<ambro718> before I changed to your != [] I was using mkIf (length cfg.modulePackages > 0)
<ambro718> which resulter in error "cannot cource a set to a list"
<ambro718> why is cfg.modulePackages a set?
<ambro718> sending it through builtins.trace, I see this: trace: { default = <CODE>; type = <CODE>; }
tzemanovic has quit [Ping timeout: 248 seconds]
<LnL> add mkOption on line 11
<{^_^}> [nixpkgs] @jtojnar pushed to master « libblockdev: 2.17 → 2.18 »: https://git.io/f49o2
<ambro718> thanks, so stupid...
<LnL> kind of surprised that didn't cause an error
tzemanovic has joined #nixos
judson has joined #nixos
judson is now known as Guest68768
<ambro718> so I have this list of packages, what's a nice way to turn it into a for loop in a script?
<ambro718> need to cource the elements to paths and join with spaced
<ambro718> spaces
<LnL> concatStringsSep " "
<ambro718> that worked, thanks, wasn't sure it would work with packages in the list
<LnL> a package can be used as a string implicitly, then you get the store path
philippD has joined #nixos
lverns has left #nixos [#nixos]
teto1 has quit [Ping timeout: 256 seconds]
teto1 has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1b910d5dc03 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
iyzsong has joined #nixos
mariatsji has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar merged pull request #42325 → Gnome-latex: init at 3.28.1 → https://git.io/fWbaA
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/f496c
mariatsji has joined #nixos
<Oyren> do I still have to do something to add it to ~/.nix-profile/share/applications?
blankhart has joined #nixos
agander_ has joined #nixos
agander_ is now known as agander
ambro718 has quit [Quit: Konversation terminated!]
regulus_ has quit [Quit: ZNC - http://znc.in]
andymandias has quit [Ping timeout: 256 seconds]
alexteves has joined #nixos
<bendlas> > bendlas: I also don't understand the purpose of the top-level cask definition. it's already available and includes the script
<bendlas> @benny I wanted cask to be available as a command line tool. If there is a better way to package it, I have no problem with changing it ..
<bendlas> tbqh, I created that derivation as a one-off and haven't used it since
andymandias has joined #nixos
regulus_ has joined #nixos
andreabedini has joined #nixos
newhoggy has joined #nixos
Oyren has quit [Quit: Page closed]
smallville7123 has joined #nixos
deepfire` has quit [Ping timeout: 255 seconds]
npmccallum has quit [Ping timeout: 240 seconds]
ambro718 has joined #nixos
logzet has joined #nixos
<agander> Could someone tell me, is this a nix error...
deepfire` has joined #nixos
<agander> "cabal: The program 'alex' version >=3.1 is required but the version of ~/.cabal/store/ghc-8.2.2/alex-3.2.4-<...>/bin/alex could not be determined"
<ambro718> is it normal that pushing to my nixpkgs fork on github takes a long time even though I have only added one commit on top of nixpkgs master?
tzemanovic has quit [Remote host closed the connection]
<etu> Shouldn't take a long time
tzemanovic has joined #nixos
<etu> git is very efficient at only sending the needed changes
<ambro718> doesn't seem to be the case here, it was spending like 40 seconds sending stuff
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<roberth> ambro718: my personal fork sometimes gets quite out of date, so git needs to upload a significant number of nixpkgs contributions
<gchristensen> I have that problem too
smallville7123 has quit [Quit: rosa]
tzemanovic has quit [Remote host closed the connection]
<ambro718> yeah, seems like it can't find stuff exists in the main repository
tzemanovic has joined #nixos
<roberth> yeah, git only looks at the refs of the two repositories
tzemanovic has quit [Remote host closed the connection]
<LnL> forks on github only share history until the point in was forked AFAIK
<roberth> I could be sped up if github automatically adds fake refs for any 'fork ancestry'
<roberth> *it
hiratara has joined #nixos
<roberth> that's assuming they aren't really separate repo's in their backend, which I believe is false
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
<roberth> more realistically you could set up a cronjob that syncs the upstream refs into a directory of refs on your fork
<roberth> but cost/benefit
<{^_^}> [nixpkgs] @ambrop72 opened pull request #42562 → Use a NixOS module for generating the gdk-pixbuf loaders cache. → https://git.io/f491L
__monty__ has joined #nixos
rprije has quit [Ping timeout: 265 seconds]
spear2 has quit [Ping timeout: 260 seconds]
orbekk has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42536 → slurm: 17.11.5 -> 17.11.7, pyslurm: 20180427 -> 20180604 → https://git.io/f4Spx
<{^_^}> [nixpkgs] @xeji pushed commit from @bhipple to master « slurm: 17.11.5 -> 17.11.7, pyslurm: 20180427 -> 20180604 (#42536) »: https://git.io/f49Mv
mariatsji has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b3f42ae53c5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
mariatsji has joined #nixos
npmccallum_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42518 → strongswan-swanctl: adapt options to strongswan-5.6.3 → https://git.io/f4SoK
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f49M8
phdoerfler has joined #nixos
mariatsji has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42530 → pythonPackages.plaid-python: init at 2.3.0 → https://git.io/f4SQk
<{^_^}> [nixpkgs] @xeji pushed commit from @bhipple to master « pythonPackages.plaid-python: init at 2.3.0 (#42530) »: https://git.io/f49MX
npmccallum_ has quit [Quit: npmccallum_]
newhoggy has quit [Remote host closed the connection]
newhoggy has joined #nixos
MercurialAlchemi has quit [Ping timeout: 256 seconds]
<hodapp> I guess I haven't kept much of a personal fork, though maybe that'd make sense... is there a standard git method of keeping a branch that keeps track of several feature branches at once (while I wait for PRs to be merged)?
<{^_^}> [nixpkgs] @nlewo merged pull request #42511 → docker_compose: 1.20.1 -> 1.21.2 → https://git.io/f4Sw5
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/f49Db
Rusty1_ has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #42563 → [staging] [security] perl524: 5.24.3 -> 5.24.4 → https://git.io/f49yR
andreabe_ has joined #nixos
<__monty__> hodapp: Once merged the patches'd be in the branch. Do you mean automatically tracking the HEADs of feature branches? Then no afaik.
phdoerfler1 has joined #nixos
<hodapp> __monty__: yes, I'm talking about when I have various branches that are not yet merged and have to reside in separate branches due to the nature of the PR
<hodapp> I could make scripts to cherry-pick from a list of branches, I suppose
andreab__ has joined #nixos
agander_ has joined #nixos
phdoerfler has quit [Ping timeout: 240 seconds]
saep has joined #nixos
agander_ has quit [Read error: Connection reset by peer]
<__monty__> You'll have to manually merge all the time afaik. Git fails to automatically merge too often.
agander has quit [Read error: Connection reset by peer]
<ambro718> is there a standard way to issue warnings from a nixos module?
illabout has joined #nixos
kisik21 has joined #nixos
cw789 has joined #nixos
agander_ has joined #nixos
hph^ has quit [Ping timeout: 248 seconds]
<joepie91> ambro718: I *think* that is normally done with `trace`? although that's not explicitly a warning
<joepie91> ah
<joepie91> that's specific to NixOS modules though?
<ambro718> I realy mean a warning, not error
<ambro718> and to be issued from a derivation not nix
andreabe_ has quit [Ping timeout: 265 seconds]
<ambro718> it's because some suggested on my pull request to do a warning, https://github.com/NixOS/nixpkgs/pull/42562#discussion_r197789961
<ambro718> should I just echo something into stderr, or is there something standard?
__Sander__ has quit [Ping timeout: 265 seconds]
<cw789> Hi all. I've a question regarding building Docker images (with "dockerTools.buildImage"). If i use contents I always end within a lot of stuff in my layer. There is then a /nix/store with gcc & more ... Is it in any way possible to only get the needed contents into the layer?
logzet has quit [Ping timeout: 276 seconds]
logzet_ has joined #nixos
rprije has joined #nixos
kisik21 has quit [Ping timeout: 240 seconds]
npmccallum has joined #nixos
kisik21 has joined #nixos
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #42564 → perl528: init at 5.28.0 → https://git.io/f49S9
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b3f42ae53c5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jensens has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @pSub merged pull request #42509 → flyway: 5.1.1 -> 5.1.3 → https://git.io/f4SwH
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/f49SN
<ambro718> when updating pull requests according to comments, should I change existing commit(s) and force push or add new ones?
matthewbauer has joined #nixos
pie_ has joined #nixos
illabout has quit [Quit: Leaving]
<hodapp> normally, squash/amend and force-push
andreab__ has quit [Quit: Textual IRC Client: www.textualapp.com]
rprije has quit [Ping timeout: 240 seconds]
__Sander__ has joined #nixos
asuryawanshi has quit [Ping timeout: 276 seconds]
matthewbauer has quit [Ping timeout: 240 seconds]
hiratara has quit [Quit: ZNC - http://znc.in]
kisik21 has quit [Ping timeout: 276 seconds]
<jophish> I accidentally configuration.nix, suggestions?
<jophish> system is still booted
<jophish> configuration.nix isn't in the store
<jophish> The system is still booted
Stooge has joined #nixos
<jophish> so no immediate danger
<jophish> and presumably the contents are around in some derivation files
<jophish> or at least, the evaluated contents
<{^_^}> [nixpkgs] @dotlambda merged pull request #42477 → neofetch: 4.0.2 -> 5.0.0 → https://git.io/f4SEj
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « neofetch: 4.0.2 -> 5.0.0 (#42477) »: https://git.io/f497n
mmercier has quit [Remote host closed the connection]
jperras has joined #nixos
mmercier has joined #nixos
ryantrinkle has quit [Ping timeout: 256 seconds]
ambro718 has quit [Quit: Konversation terminated!]
<Jason_Grossman> jophish: I believe it isn't automatically copied anywhere, for security reasons (it could contain passwords etc.)
<Jason_Grossman> jophish: There's an *option* to have it copied into /etc, but that option's not set by default.
<Jason_Grossman> jophish: Sorry to be the bearer of bad news.
Stooge has left #nixos [#nixos]
<Jason_Grossman> jophish: In case you need this in the future (it won't help in retrospect), I see that it isn't a special option, it's just something that the Nix language lets you do:
<Jason_Grossman> environment.etc.current-nixos-config.source = ./.;
<Jason_Grossman> jophish: I'm saying this is bad news because I'm assuming you want to get the file back. As you say, the *evaluated* contents of the file are fine - your system can keep booting - but I don't know any way to restore the file itself.
fresheyeball has joined #nixos
<fresheyeball> clever: morining
<fresheyeball> clever: I realy do owe you, I could use ongoing nix tutoring, and would like to work something out if you are willing.
<jophish> Jason_Grossman: I thought as much
<shlevy> Any carnix folks around?
<jophish> currently grepping the disk image for my public key, perhaps the file wasn't overwritten entirely
<shlevy> Seems like "ring" wants to depend on gcc even on darwin... causing build failures
<fresheyeball> shlevy: hey dude!
<shlevy> fresheyeball: o/!
<fresheyeball> shlevy: I have gotten much nix stronger in the last few weeks, but so much is still to learn1
<fresheyeball> learn!*
<fresheyeball> Actually, let me just ask this question of the forum here
<shlevy> :)
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
<fresheyeball> how shall we abstract config?
<fresheyeball> merging sets? functions?
erasmas has joined #nixos
<fresheyeball> I could see both working out
<shlevy> config of what?
<fresheyeball> services for example
<shlevy> I like merging sets when it's simple enough, but don't object to functions
<fresheyeball> Like I have more than one server, which have similar nginx config
<fresheyeball> I don't see why I should be non-DRY in nix
<fresheyeball> the function version ends up being kinda ugly
szicari has joined #nixos
szicari has left #nixos [#nixos]
<fresheyeball> { nginx = inherit (import ../nginx-base.nix { virtualHosts ... }) ...
halfbit has quit [Ping timeout: 255 seconds]
crmlt has joined #nixos
<jophish> Jason_Grossman: I've found some of it!
ihar has joined #nixos
<shlevy> Yeah
<{^_^}> [nixpkgs] @Lassulus opened pull request #42565 → lief: init at 0.9.0 → https://git.io/f49bd
<Jason_Grossman> jophish: Yay!
johanot has quit [Quit: Leaving.]
dbmikus has joined #nixos
agander_ is now known as agander
halfbit has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #42566 → fac: 1.1.0 -> 2.0.0 → https://git.io/f49A3
phdoerfler has joined #nixos
<jophish> Jason_Grossman: It's a very odd subset of the file, I think it might have come from the swapfile perhaps
<jophish> The lines are not in order, and many of them are missing
<jophish> there's also a large amount of junk
<jophish> and null bytes
reinzelmann has quit [Quit: Leaving]
phdoerfler1 has quit [Ping timeout: 255 seconds]
<Jason_Grossman> Damn.
<jophish> many of the lines *appear* to have their contents reversed by token, for example I can see something like: [ hardware-configuration.nix\NUL imports =\NUL
<Jason_Grossman> Will it be useful as a mnemonic so you can reconstruct your file starting from the default?
<jophish> similarly interesting, it seems to contain the contents of the file I was *trying* to write when I accidentally wrote nothing
<seanparsons> Has anyone had any success with npm packages (installed through npm not something like node2nix) that build native code and wire that up? I get undefined symbol errors when trying to use any of the native calls, but only on NixOS, not on Ubuntu or macOS. :/
<jophish> Jason_Grossman: I think it will serve that well, the few lines I cared about seem to be there
mmercier has quit [Ping timeout: 245 seconds]
toby1851 has joined #nixos
roconnor_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #42567 → ocamlPackages.psmt2-frontend: init at 0.1 → https://git.io/f49xC
<Jason_Grossman> jophish: OK, phew.
smallville7123 has joined #nixos
steell_ has joined #nixos
karlguy has joined #nixos
jmeredith has joined #nixos
<jophish> Jason_Grossman: managed to run nixos-rebuild build without it rebuilding anything important!
<jophish> was mainly the kernel and /boot I was worried about, very pleased!
<Jason_Grossman> jophish: Great!
crmlt has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @dtzWill opened pull request #42568 → udisks2: revive musl patching → https://git.io/f49hs
imalsogreg has joined #nixos
<{^_^}> [nixpkgs] @spacefrogg opened pull request #42569 → resolvconf.conf: Remove forced NSCD service restart → https://git.io/f49hB
agander has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 264 seconds]
spear2 has joined #nixos
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
drewr has quit [Remote host closed the connection]
matthewbauer has joined #nixos
ryantrinkle has joined #nixos
jensens has joined #nixos
andymandias has quit [Ping timeout: 256 seconds]
<imalsogreg> I wonder if any Haskell/cabal people have ideas about the issue I encountered here: https://github.com/NixOS/nixpkgs/pull/42546 ... After trying to use a newly packaged c library from Haskell, pkg-config only picks up the library if the pkgconfig-depends field in the cabal file has at least 2 entries.
Ariakenom has quit [Ping timeout: 260 seconds]
<imalsogreg> In other words, if I delete the fake zeromq entry here: https://github.com/imalsogreg/phash-1/blob/nix1/phash.cabal#L34 then `cabal configure` fails to find the real pkgconfig dependency `pHash`.
clefru has joined #nixos
agander has joined #nixos
<clefru> fpletz: globin: could some of you merge my ZFS fix PR? https://github.com/NixOS/nixpkgs/pull/42430
<{^_^}> [nixpkgs] @dtzWill opened pull request #42570 → glib: patch to fix w/musl, quark static ctor order assumptions → https://git.io/f4Hes
sorixelle has quit [Ping timeout: 240 seconds]
andymandias has joined #nixos
joehh has joined #nixos
<joehh> hi, anyone had any success with nixos on the raspberry pi 3b+?
<joehh> The images available seem to work fine on the 3B, but haven't been booting on the 3b+
cransom has quit [Quit: WeeChat 2.0]
drewr has joined #nixos
cw789 has quit [Quit: cw789]
<{^_^}> [nixpkgs] @globin pushed commit from @clefru to master « Disable fortify and stackprotector hardening for spl/zfs. »: https://git.io/f4Hvf
<{^_^}> [nixpkgs] @globin merged pull request #42430 → Disable fortify and stackprotector hardening for spl/zfs. → https://git.io/f4SJc
<joehh> Dezgeg: thanks very much for that
<{^_^}> [nixpkgs] @dtzWill merged pull request #42463 → llvm_{38,39}: unconditionally set triples, not just w/musl → https://git.io/f4Slc
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/f4HvB
<clefru> globin: much appreciated!
<{^_^}> [nixpkgs] @dtzWill merged pull request #42566 → fac: 1.1.0 -> 2.0.0 → https://git.io/f49A3
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/f4Hv1
<infinisil> I got my first version of an url-replacer in nixpgks done!
<infinisil> On my test run, I made it replace the start of all top-level src attributes, it's working pretty well: https://github.com/Infinisil/nixpkgs/commit/959d3567f5f42099516271846c850550f1b2d59f
<{^_^}> [nixpkgs] @peti pushed to master « multi-ghc-travis: update to current git HEAD »: https://git.io/f4Hvd
<infinisil> Only http -> https replacement for now if possible
mmercier has joined #nixos
<infinisil> (And it follows redirects)
<spacefrogg> Whom to poke for a PR that the bot has no one identified for, yet?
<{^_^}> [nixpkgs] @iimog opened pull request #42571 → hmmer: init at 3.1b2 → https://git.io/f4Hft
<infinisil> But the basic idea works, will be able to apply it to pretty much everything in nixpkgs
fendor_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @pSub merged pull request #42564 → perl528: init at 5.28.0 → https://git.io/f49S9
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/f4HJL
jensens has quit [Ping timeout: 268 seconds]
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « newsboat: 2.11.1 -> 2.12 »: https://git.io/f4HJd
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
asuryawanshi has joined #nixos
agander has quit [Read error: Connection reset by peer]
asuryawa_ has joined #nixos
asuryawanshi has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #42572 → [WIP] radare2-cutter: 1.3 -> 1.4 → https://git.io/f4HTL
doyougnu has joined #nixos
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/f4HkP
<{^_^}> [nixpkgs] @dtzWill merged pull request #42568 → udisks2: revive musl patching → https://git.io/f49hs
fendor has joined #nixos
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #42573 → xidlehook: 0.4.8 -> 0.4.9 → https://git.io/f4Hk9
smallville7123 has quit [Quit: rosa]
__Sander__ has quit [Quit: Konversation terminated!]
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
<{^_^}> [nixpkgs] @oyren opened pull request #42574 → Write from Styluslabs (new package) → https://git.io/f4HIq
fendor has quit [Ping timeout: 268 seconds]
matthewbauer has quit [Remote host closed the connection]
phreedom has quit [Remote host closed the connection]
matthewbauer has joined #nixos
phreedom has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.0]
__monty__ has quit [Quit: leaving]
iyzsong has quit [Ping timeout: 260 seconds]
xorkle has quit [Quit: ZNC 1.7.0 - https://znc.in]
dfpcvlscp has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « gringo: use postPatch »: https://git.io/f4HtB
<dfpcvlscp> Hey is there a rasdaemon nix package? `mcelog` has been deprecated in favor of `rasdaemon` but I can only find mcelog in the repo.
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
Jason_Grossman has quit [Ping timeout: 240 seconds]
<gchristensen> > ({ "." = { "." = { "." = { "." = { "." = "."; }; }; }; }; })."."."."."."."."."."
<{^_^}> "."
kisik21 has quit [Quit: Leaving.]
xy2_ has joined #nixos
<worldofpeace> wut :)
<joepie91> lol
steell_ has quit [Ping timeout: 260 seconds]
<tilpner> > builtins.stringLength "​​​​​​​​​​​​​​"
<{^_^}> 42
<gchristensen> lol tilpner
<gchristensen> nice
<tilpner> We should totally have a nix obfuscation contest
<tilpner> (Winning entries go into nixpkgs)
<gchristensen> tilpner-- :P
matthewbauer has quit [Read error: Connection reset by peer]
mmercier has quit [Ping timeout: 245 seconds]
<fresheyeball> anyone have gitlab experience?
<fresheyeball> I would like to hookup CI, there is a jenkins integration already, but I would rather use hydra
dfpcvlscp has left #nixos ["okay"]
matthewbauer has joined #nixos
steell_ has joined #nixos
<fresheyeball> shlevy: what do you recommend?
<fresheyeball> shlevy: I suppose hail?
<{^_^}> [nixpkgs] @dtzWill opened pull request #42575 → fetchgit: adapt regex to git 2.18.0 → https://git.io/f4HYG
pie_ has quit [Ping timeout: 240 seconds]
asuryawa_ has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
Drakonis has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #42542 → consul-alerts: 0.3.3 -> 0.5.0 → https://git.io/f49JV
<{^_^}> [nixpkgs] @nlewo pushed 3 commits to master: https://git.io/f4HYw
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/f4HYP
<{^_^}> [nixpkgs] @nlewo merged pull request #42010 → skydive: init at 0.17.0 → https://git.io/vhiBg
<shlevy> fresheyeball: hail is for deployment, not CI
<shlevy> fresheyeball: hydra can talk to github, probably not hard to make it work with gitlab... But hydra can be hairy sometimes
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<edef> 17:56:50 < gchristensen> tilpner-- :P
<edef> gchristensen: sounds like you're signing up for the jury to me
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
humanoyd has joined #nixos
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
periklis has quit [Remote host closed the connection]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
dukzcry has joined #nixos
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<joepie91> hold on a sec, I think I can do my JS abomination in Nix too
<imalsogreg> fresheyeball: shlevy: Looks like this (or GithubPulls.pm) would be the starting point?
igo95862 has joined #nixos
<dukzcry> could someone please merge this trivial change? https://github.com/NixOS/nixpkgs/pull/42516
coot has joined #nixos
<joepie91> > {foo}: foo + 8){foo = ({bar, foo}: bar + foo){bar = ({foo}: foo - 1){foo = (23 + 5) / 2;}; foo = 21;};}
<{^_^}> error: syntax error, unexpected ')', expecting $end, at (string):151:1
<joepie91> oops
<joepie91> > ({foo}: foo + 8){foo = ({bar, foo}: bar + foo){bar = ({foo}: foo - 1){foo = (23 + 5) / 2;}; foo = 21;};}
<{^_^}> 42
<joepie91> cc tilpner gchristensen :D
<{^_^}> [nixpkgs] @dtzWill opened pull request #42576 → make-bootstrap-tools-cross: remove broken i686-musl variant → https://git.io/f4H3q
<joepie91> I love how this one is basically portable between JS and Nix
<joepie91> with a few minor syntactic changes
logzet_ is now known as logzet
steell_ has quit [Ping timeout: 265 seconds]
<fresheyeball> imalsogreg: hiya!
<fresheyeball> That is github though I am on gitlab
<{^_^}> [nixpkgs] @dezgeg pushed to master « rocket: Init at 2018-06-09 »: https://git.io/f4H35
jperras has joined #nixos
Ariakenom has joined #nixos
blankhart has quit [Ping timeout: 256 seconds]
stanibanani has joined #nixos
fendor has joined #nixos
<imalsogreg> fresheyeball: :D o/. Yah. I mean - I think hydra may need either a new plugin (for gitlab, styled after the one for github), or maybe gitlab integration can be achieved by writing a hydra.conf for the GitInput.pm plugin. Y'm not sure though.
matthewbauer has quit [Read error: Connection reset by peer]
blankhart has joined #nixos
<fresheyeball> imalsogreg: cools
xy2_ has quit [Ping timeout: 265 seconds]
stanibanani has quit [Ping timeout: 245 seconds]
Sonarpulse has joined #nixos
wchresta has joined #nixos
coot has quit [Read error: Connection reset by peer]
coot has joined #nixos
<jophish> Does anyone have fail2ban reading nginx logs with nixos?
raynold has joined #nixos
xy2_ has joined #nixos
matthewbauer has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.0]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #42577 → rambox: fix build → https://git.io/f4HCt
<{^_^}> [nixpkgs] @dtzWill merged pull request #42570 → glib: patch to fix w/musl, static ctor order assumptions (quark/gobject) → https://git.io/f4Hes
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/f4HWn
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
ajs124 has left #nixos ["Machine going to sleep"]
spear2 has quit [Remote host closed the connection]
xorkle has joined #nixos
k175un3 has joined #nixos
<k175un3> Hello! Is there someone who programming in Ruby with NixOS?
xy2_ has quit [Ping timeout: 260 seconds]
<infinisil> ,ask k175un3
<{^_^}> k175un3: Just ask your question. It's the best way to know if anybody can help.
xy2_ has joined #nixos
<k175un3> So, i try to start my project with nix-shell and got some problems. I've got 3 *.nix files (gemset, shell, default), and when i start nix-shell it falls with error bc of one gem require gnurx and libmagic. How can i resolve it?
<k175un3> If its ok i can put log here
matthewbauer has quit [Ping timeout: 256 seconds]
worldofpeace has quit [Remote host closed the connection]
saep has quit [Remote host closed the connection]
wchresta has quit [Remote host closed the connection]
igo95862 has quit [Quit: igo95862]
orivej has joined #nixos
steell_ has joined #nixos
worldofpeace has joined #nixos
deepfire` has quit [Ping timeout: 248 seconds]
humanoyd has quit [Ping timeout: 245 seconds]
fendor has quit [Ping timeout: 264 seconds]
<k175un3> so i think nobody know how to resolve this :) sad :)
<cocreature> k175un3: just stick around for a while and post your log file on some pastebin site
palo has quit [Quit: ZNC 1.6.5 - http://znc.in]
tzemanovic has joined #nixos
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
doyougnu has quit [Ping timeout: 240 seconds]
<k175un3> https://pastebin.com/1As5qCze <---- log for my issue
matthewbauer has joined #nixos
tzemanovic has quit [Ping timeout: 245 seconds]
humanoyd has joined #nixos
blankhart has quit [Read error: Connection reset by peer]
matthewbauer has quit [Ping timeout: 245 seconds]
blankhart has joined #nixos
<infinisil> k175un3: Have you read the ruby section of the manual?
<k175un3> yeap
matthewbauer has joined #nixos
fendor has joined #nixos
<worldofpeace> I found the manual a little confusing, I only understood it until manveru explained it. k175un3: Can i see your shell.nix?
Drakonis has quit [Remote host closed the connection]
<k175un3> https://pastebin.com/ikf03maa <--- shell.nix
<worldofpeace> k175un3: You did `bundix -l` in your project to get the stuff right?
<LnL> k175un3: file has libmagic, but I think we might not have gnurx at yet
<k175un3> Yeap i did bundix -l
joepie91_to_go has joined #nixos
steell_ has quit [Ping timeout: 248 seconds]
<k175un3> If we not have gnurx, i think there is no way to do that for now
fendor has quit [Remote host closed the connection]
reinzelmann has joined #nixos
Drakonis has joined #nixos
MichaelRaskin has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #42579 → dunst: Also install dunstify → https://git.io/f4HE9
LnL has quit [Ping timeout: 265 seconds]
fendor has joined #nixos
joepie91_to_go has quit [Ping timeout: 260 seconds]
LnL has joined #nixos
<worldofpeace> k175un3: Do you know the lib that needs this?
<k175un3> You mean gem? yes ofc
<worldofpeace> Yeah gem.
overlays has joined #nixos
Drakonis has quit [Remote host closed the connection]
phreedom has joined #nixos
<overlays> hi all. I'm trying to setup system-wide overlays following this approach: https://nixos.wiki/wiki/Overlays#Using_nixpkgs.overlays_as_.3Cnixpkgs-overlays.3E
<k175un3> https://github.com/blackwinter/ruby-filemagic <----- here is this gem
<overlays> but after doing a (successful) rebuild switch, I get file 'nixpkgs/nixos' was not found in the Nix search path
steell_ has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
<infinisil> overlays: Add `nix.nixPath = options.nix.nixPath.default ++ [ "nixpkgs-overlays=...`
FRidh has quit [Remote host closed the connection]
matthewbauer has joined #nixos
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #42580 → 1password: check binary code signature during build → https://git.io/f4Hzf
<infinisil> overlays: And you need to add "options" to the argument list at the top
<infinisil> The wiki entry doesn't mention that the defaults get wiped when you set this
<overlays> infinisil: ahh that's where the default is. Thanks!
steell_ has quit [Ping timeout: 264 seconds]
<samueldr> infinisil: my bad, I'll add that :)
<infinisil> Nice
<infinisil> samueldr: This overlay evaluation should really be in lib or so
<infinisil> The one in nixpkgs i mean
roberth has quit [Ping timeout: 256 seconds]
<samueldr> hm, what do you mean?
tos9 has joined #nixos
<worldofpeace> infinisil: if I do 'nix.nixPath = options.nix.nixPath.default ++ ["nixpkgs=.."` what would happen?
<infinisil> The thing in nixpkgs/pkgs/top-level/impure.nix#42
<{^_^}> https://github.com/NixOS/nix/issues/42 (by edolstra, closed): Handle corrupt manifests more gracefully
<infinisil> Oh no, I need to fix that haha
<samueldr> :)
<tos9> I appear to have borked my macOS nix install. When I run any nix-env operations, I get: error: unsupported builtin function 'buildenv'
<infinisil> worldofpeace: It takes the default and adds to that
<tos9> Any ideas on what I should be looking at?
<infinisil> samueldr: The huge overlay default value there I mean
dukzcry has quit []
blankhart has quit [Read error: Connection reset by peer]
<infinisil> Oh: nixpkgs/pkgs/top-level/impure.nix#L42
<infinisil> That's better
<worldofpeace> samueldr: you do ruby stuff in nix right?
blankhart has joined #nixos
<samueldr> I do, but haven't had issues yet :)
<samueldr> the worse is with some libs that hardcode /usr/ and the like for library paths
<worldofpeace> Someone here has an issue and help would be nice. I do ruby ruby stuffs too but I'm not too familar with nix and ruby.
<samueldr> when it happened I either switched gems or implemented a worse is less one
<samueldr> I saw, but had no idea :/
matthewbauer has quit [Read error: Connection reset by peer]
<worldofpeace> k175un3: Can you switch the gem? It appears to be unmaintained...
<worldofpeace> samueldr: Yeah me too :)
<mjrosenb> question: for services that can be configured through nix, where exactly does the configuration get written out? I searched through nixpkgs/pkgs, and I did not see anything that looked relevant.
<k175un3> Sad, but no. Its very old project in my company, that planning to be refactored, but not soon. So there is no way
matthewbauer has joined #nixos
<infinisil> mjrosenb: You mean nixos services? nixpkgs/nixos/modules/services
<k175un3> Anyway thx for help.
<samueldr> mjrosenb: part of them get written somewhere in the path, linked to /etc/static, and further linked to /etc/... and some are written to the store, and the systemd service will have full paths to configuration files as arguments to the services
<worldofpeace> k175un3: I hope you can find a solution :)
<samueldr> oh
<samueldr> I glanced to the initial issue
<samueldr> but haven't looked back
<samueldr> it was ruby-filemagic for me too!
<worldofpeace> ^^^ !
<mjrosenb> ahh, that makes sense. If I want to do this on OSX, I'll have to do something super-weird, like including something from nixpkgs/nixos?
<samueldr> (it's one I re-made less is worse for another project)
<samueldr> infinisil ^ ?
<samueldr> ah
<infinisil> Not sure if I like that feature
tos9 has left #nixos [#nixos]
<samueldr> infinisil: <nixpkgs/nixos/default.nix> syntax?
<infinisil> Oh good suggestion
mariatsji has quit [Remote host closed the connection]
<samueldr> add this, and use the gem as a git repo
agander has joined #nixos
<worldofpeace> Your an angel
<samueldr> e.g. if you have a gitlab: `git_source` for your gemfile, `gem 'ruby-filemagic', gitlab: 'XXX/ruby-filemagic', branch: 'master'`
<k175un3> samueldr: where i should add this?
<samueldr> do you know how to use a gem from a git repo?
<k175un3> yeap
<samueldr> that diff is a commit over ruby-filemagic
<k175un3> aaaaah, ok, i get it, sorry
<samueldr> and then I used that fork of ruby-filemagic
<samueldr> no worries :)
<infinisil> <nixpkgs/pkgs> nixpkgs/.version
<samueldr> as far as my experience goes, they are the only issues I faced with ruby, gems and nix
<samueldr> gems with native dependencies hard-coding paths
lucus16 has joined #nixos
<overlays> hmmm, so I did that, and put this overlay directly in configuration.nix
mariatsji has joined #nixos
<overlays> now I get " error: infinite recursion encountered, at undefined position"
<infinisil> ... They made an error in the overlay..
<overlays> noooo
<infinisil> It should be neovim = super.neovim.override ...
<infinisil> Not self.neovim
<overlays> let me try :D
<overlays> well, no infinite recursion. let's see
<overlays> still "dpeendency missing" :/
<{^_^}> [nixpkgs] @dtzWill opened pull request #42581 → ghc-8.4.3: minor fixes for cross-musl, same as used with 8.2.2 → https://git.io/f4H2P
worldofpeace has quit [Ping timeout: 240 seconds]
worldofpeace has joined #nixos
<worldofpeace> samueldr: that should be in the ruby section of the manual
<samueldr> though, to be fair, I only hit that issue two times, so it isn't rampant
<samueldr> and one of those has been fixed upstream
<worldofpeace> I may have just applied that fix to a fix gems just now...
<overlays> infinisil: sorry, do you see more errors in that overlay, by any chance? :/
<samueldr> worldofpeace: not sure I follow
<samueldr> (I'm writing up a Ruby page on the wiki and adding a troubleshooting step for this kind of issue)
palo has quit [Quit: ZNC 1.6.5 - http://znc.in]
palo has joined #nixos
worldofpeace has quit [Remote host closed the connection]
<samueldr> though I'm sure the symptoms part isn't as helpful as it should
worldofpeace has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
<infinisil> overlays: I do not unfortunately
matthewbauer has joined #nixos
<overlays> thanks. I'll try to get to them :)
sir_guy_carleton has quit [Quit: WeeChat 2.0]
Ralith__ has quit [Ping timeout: 240 seconds]
palo has quit [Ping timeout: 245 seconds]
darcheville has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
<{^_^}> [nixpkgs] @jb55 closed pull request #42318 → clightning: init at 0.6rc1 → https://git.io/fCVMB
<{^_^}> [nixpkgs] @peti merged pull request #42581 → ghc-8.4.3: minor fixes for cross-musl, same as used with 8.2.2 → https://git.io/f4H2P
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/f4HVA
wangoe has quit [Ping timeout: 255 seconds]
zsoc has joined #nixos
<overlays> ok, now it's working
<overlays> I think I misunderstood the "global" thing. even with that overlay thing in configuration.nix, I still have to install with nix-env. Is that correct?
<overlays> I thought it would work with the packages listed in the environment
darcheville has quit []
<samueldr> overlays: uhm, using this? https://nixos.wiki/wiki/Overlays#Using_nixpkgs.overlays_as_.3Cnixpkgs-overlays.3E
matthewbauer has quit [Read error: Connection reset by peer]
darcheville has joined #nixos
<overlays> yep
<overlays> hmmm let me try another thing
<samueldr> that's what I'm using and both systemPackages and nix-env -i have the overlay applied
<{^_^}> [patchelf] @UraniumKnight opened pull request #151 → Fix #150 - Check ELF endianness before writing new runpath → https://git.io/f4Hwj
<samueldr> I mean, I wrote that bit
<mpickering> does passing overlays manually override ones in ~/.config/nixpkgs/overlays ?
mariatsji has quit [Remote host closed the connection]
<samueldr> oh, do note that I do not have anything overlays-related in .config/nixpkgs
<samueldr> the *only* user setting I have for nixpkgs is allowUnfree
<{^_^}> [nixpkgs] @jb55 opened pull request #42582 → clightning: init at 0.6 → https://git.io/f4HrY
fendor has quit [Ping timeout: 276 seconds]
darcheville has quit [Client Quit]
darcheville has joined #nixos
darcheville has quit [Client Quit]
darcheville has joined #nixos
<infinisil> samueldr: It won't work on the first rebuild though
<infinisil> Because the overlay option only applies once NIX_PATH is set to the new value
<samueldr> quite possible
<samueldr> though, I'm not sure if right
darcheville has quit [Excess Flood]
<samueldr> since what that hack does is put `nixpkgs.overlays` NIX_PATH
<infinisil> Only nixpkgs.overlays has direct influence on the nixos config overlays
<samueldr> it's not the other way around
<infinisil> Oh
agander has quit [Ping timeout: 260 seconds]
<infinisil> Right
<samueldr> (I find it really useful as I don't have a split-brain overlay, everything is affected by the same exact overlays)
<infinisil> Since I have everything in my system config, I just always use nixpkgs.overlays
<samueldr> infinisil: this wouldn't affect `nix-shell`, right?
<infinisil> Nope
<infinisil> Hmm, checking to see what overlays I even have..
<samueldr> which is why I want that, I need `nix-shell -p something-in-my-overlay` to work
<samueldr> I don't use `nix-env -i` much
<infinisil> Yeah
reinzelmann has quit [Quit: Leaving]
matthewbauer has joined #nixos
wangoe has joined #nixos
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
agander has joined #nixos
zsocw has joined #nixos
zsoc has quit [Disconnected by services]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #40958 → [wip] 0ad: add darwin support → https://git.io/vhUeX
<samueldr> glasserc: firefox-bin downloads the mozilla-released firefox binaries, thus is "unfree" (un-redistributable)
<samueldr> the other compiles firefox from source
<samueldr> in the past it couldn't use firefox branding
<samueldr> for the end-user, using the current stable, I don't know if there are any actual differences to know
<glasserc> Thanks
k175un3 has quit [Quit: Leaving]
<glasserc> I'm trying to get the chrome-gnome-shell integration to work and I saw https://github.com/NixOS/nixpkgs/blob/92a047a6c4d46a222e9c323ea85882d0a7a13af8/pkgs/applications/networking/browsers/firefox/wrapper.nix#L64 and wanted to make sure I was on the right one
overlays_ has joined #nixos
overlays has quit [Ping timeout: 260 seconds]
<overlays_> never mind, now it works for environment packages. Not sure if or what I changed :P Thanks!
<samueldr> looks like (from a cursory glance) both are wrapped,
<matthewbauer> yeah imo we should get rid of the firefox-bin one because it causes too much confusion.
zsoc has joined #nixos
zsoc has quit [Changing host]
zsoc has joined #nixos
zsoc has quit [Remote host closed the connection]
<samueldr> matthewbauer: sorry to bother you again, though you're being really helpful in figuring out cross-compiling. setting the CFLAG through the overlay didn't work (didn't affect the build at all); setting it in a nixpkgs clone does affect the build, but ends up with "aliased to undefined symbol" errors at link time
<samueldr> as always, any reading materials welcome
<{^_^}> [nixpkgs] @xeji merged pull request #42573 → xidlehook: 0.4.8 -> 0.4.9 → https://git.io/f4Hk9
<{^_^}> [nixpkgs] @xeji pushed commit from @jD91mZM2 to master « xidlehook: 0.4.8 -> 0.4.9 (#42573) »: https://git.io/f4HKO
overlays_ has quit [Ping timeout: 260 seconds]
woohoo has joined #nixos
zsocw has quit [Ping timeout: 276 seconds]
<glasserc> When I change nixpkgs.config.firefox.enableGnomeExtensions in configuration.nix, what do I have to do to make that change take effect? Does nix-env -i firefox do it? Does nixos-rebuild switch do it?
<samueldr> anything in /etc/nixos/configuration.nix needs rebuilds to be effective
<samueldr> AFAIK nothing reads those files directly (other than rebuild)
<glasserc> But since I installed firefox using nix-env -i, isn't the wrapper built on the old configuration.nix?
<matthewbauer> samueldr: aha! you are compiling the wrong thing. you want a gcc6 aarch64 cross compiler, but you're building gcc6 /for/ aarch6. try replacing "gcc6" reference with "buildPackages.gcc6". this should ensure you get the right thing
<woohoo> Hi! Tell me if I want to make an existing package with other options. Do I have to use something like lib.optional. Or can I make a separate nix expression for this package? To be honest, my package should support fewer platforms,and overall I would like to do some things differently than the current maintainer. Are there any conventions on the name of the binary and the package itself in this case (snake case, underscores, hyphens, so
<matthewbauer> you shouldn't see aarch64-unknown-linux-gnu-* until /after/ gcc6 has built
<infinisil> samueldr: Oh hold on, how about just this for your hack: `(import <nixpkgs/nixos> {})._module.args.pkgs`
<woohoo> I would prefer to make a separate nix expression, if appropriate. But is this the right way?
<infinisil> Damnit {^_^}
<{^_^}> [nixpkgs] @xeji merged pull request #42577 → rambox: fix build → https://git.io/f4HCt
<{^_^}> [nixpkgs] @xeji pushed commit from @gnidorah to master « rambox: fix build (#42577) »: https://git.io/f4H6S
<infinisil> samueldr: Oh wait, wrong direction
roberth has joined #nixos
<infinisil> samueldr: No that should work: set NIX_PATH to point nixpkgs to a file that does the _module.args.pkgs thing, no overlays-compat needed
pie_ has joined #nixos
civodul has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
<samueldr> infinisil: I'll try a bit later, this was written months ago, I knew even less about nix/nixpkgs! :)
<samueldr> anything that trims hacks to the bare minimum is awesome
matthewbauer has joined #nixos
<infinisil> :2
<infinisil> :)
matthewbauer has quit [Read error: Connection reset by peer]
tzemanovic has joined #nixos
matthewbauer has joined #nixos
andymandias has quit [Ping timeout: 248 seconds]
tzemanovic has quit [Ping timeout: 265 seconds]
pie_ has quit [Ping timeout: 256 seconds]
kreetx has quit [Ping timeout: 256 seconds]
matthewbauer has quit [Ping timeout: 265 seconds]
andymandias has joined #nixos
phdoerfler has quit [Quit: Leaving.]
<samueldr> :/ can't thank matthewbauer with that connectivity issue :)
matthewbauer has joined #nixos
matthewbauer has quit [Remote host closed the connection]
woohoo has quit [Quit: Page closed]
fresheyeball has joined #nixos
matthewbauer has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
<samueldr> matthewbauer: thanks, buildPackages was pretty much what I needed
<matthewbauer> awesome
<samueldr> it felt that way, but lack of knowledge made it hard to know what to ask for :)
<{^_^}> [nixpkgs] @gavinrogers opened pull request #42583 → Merge pull request #1 from NixOS/master → https://git.io/f4HD8
<glasserc> Is there a way to set a nixpkgs.config parameter at the command line as part of a nix-env -i ?
<{^_^}> [nixpkgs] @gavinrogers closed pull request #42583 → Merge pull request #1 from NixOS/master → https://git.io/f4HD8
<{^_^}> [nixpkgs] @Profpatsch opened pull request #42584 → haskellPackages: disable profiling ghc-heap-view ghc-datasize → https://git.io/f4HDb
<matthewbauer> samueldr: yeah this stuff is supposed to be handled for you normally with nativeBuildInputs - but here we are overriding the stdenv so it gets a little bit more complicated. "buildPackages" guarantees we get the right thing
robstr has quit [Quit: WeeChat 1.9.1]
<matthewbauer> i feel like overrideCC *should* handle this for you. i may need to ask Sonarpulse about this
<Sonarpulse> amfl: what's the issue?
<infinisil> glasserc: --arg config '{}' might work
<Sonarpulse> * samueldr
jperras has joined #nixos
<Sonarpulse> overrideCC replaces the cc attribute, and removes any allowedRequisites that exists
<Sonarpulse> that's all
<samueldr> that's the solution to the issue being needing gcc6 to build that kernel
<samueldr> assume needing gcc6 is right in this situation
<matthewbauer> yeah shouldn't override always use the "native" version?
<glasserc> infinisil: Thanks, I was trying --arg config.firefox.enableGnomeExtensions true, I guess dotted paths don't work that way
<matthewbauer> Sonarpulse: having to do buildPackages is kind of confusing but maybe that's inevitable
<Sonarpulse> matthewbauer: samueldr: yeah buildPackages.gcc6 is inevitable
pie_ has joined #nixos
<Sonarpulse> if you look at like gccStdenv or clangStdenv (I forget exact names) in all-packages.nix
<Sonarpulse> you will see that they do that too
<Sonarpulse> otherwise you'd be cross-compiling gcc (or clang) itself
<Sonarpulse> which is *not* what you want :)
<samueldr> it definitely did that and I did not want that :)
tenten8401 has joined #nixos
<matthewbauer> sonarpulse: ^
<infinisil> glasserc: Nah, you'll have to do --arg config '{ firefox.enabl... = true; }'
<infinisil> If it works at all
freeman42x[nix] has joined #nixos
pie_ has quit [Ping timeout: 276 seconds]
<glasserc> infinisil: Yeah, it did, thank you so much
<infinisil> :)
<worldofpeace> infinisil: How do you even use home-manager in nixos-config? And is it safe?
<infinisil> worldofpeace: The warning on home-manager's readme should really be removed, it's totally safe, I've never heard of anybody messing anything up with it
<infinisil> worldofpeace: What do you mean how I use it?
pie_ has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
<worldofpeace> infinisil: using home-manager inside configuration.nix.
matthewbauer has joined #nixos
<infinisil> worldofpeace: Ah right, see https://github.com/rycee/home-manager/pull/97
pie_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti merged pull request #42584 → haskellPackages: disable profiling ghc-heap-view ghc-datasize → https://git.io/f4HDb
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/f4H9w
agander has quit [Quit: Leaving]
Lisanna has quit [Ping timeout: 276 seconds]
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
doyougnu has joined #nixos
<fresheyeball> infinisil: is it possible to pin home manager to a nixpkgs commit hash?
<infinisil> fresheyeball: Hmm.. It does take an argument here: https://github.com/rycee/home-manager/blob/master/default.nix
<infinisil> I guess an -I nixpkgs= always works
<fresheyeball> oh, so I would have to pin when I install home manager?
<fresheyeball> I can't have it in my config.nix?
<infinisil> Nah, similarly you can't pin nixpkgs in configuration.nix
<infinisil> You can still customize it when you run the home-manager command
<fresheyeball> I am pretty sure that will do it
<infinisil> Ah, well that only does half
<fresheyeball> I don't use it, because I want my configuration.nix on stable, and my user env to be on whatever commit
<fresheyeball> infinisil: splain!
<infinisil> Because all services will come from the nixpkgs on path still
<infinisil> But all packages will come from the nixpkgs.pkgs option
<infinisil> Which might behave weirdly
<infinisil> But yeah this might work with home-manager actually, because the services in home-manager aren't from nixpkgs
humanoyd has quit [Quit: WeeChat 2.1]
<infinisil> fresheyeball: It might actually just work by setting `_module.args.pkgs = mkForce <pinned nixpkgs>;`
Lisanna has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #42585 → ghcHEAD: minor fixes for musl, cross → https://git.io/f4H7W
michiell2 has quit [Ping timeout: 255 seconds]
jbboehr has joined #nixos
logzet has quit [Remote host closed the connection]
mahalel_ has quit [Remote host closed the connection]
deepfire` has joined #nixos
boegel has quit [Remote host closed the connection]
<fresheyeball> infinisil: is there no way to pin configuration.nix such that services are effected?
fractal has quit [Ping timeout: 256 seconds]
xorkle has quit [Quit: ZNC 1.7.0 - https://znc.in]
blankhart has quit [Read error: Connection reset by peer]
xorkle_ has joined #nixos
shiver32 has joined #nixos
shiver32 has quit [Changing host]
shiver32 has joined #nixos
rodgort` has joined #nixos
<infinisil> A nice way? Nope. But there is a hacky way
S0rin has quit [Ping timeout: 265 seconds]
orzo_ has joined #nixos
pierron_ has joined #nixos
rodgort has quit [Quit: Leaving]
shiver has quit [Remote host closed the connection]
pierron has quit [Ping timeout: 256 seconds]
orzo has quit [Ping timeout: 256 seconds]
S0rin has joined #nixos
boegel has joined #nixos
mpickering has quit [Ping timeout: 240 seconds]
mpickering has joined #nixos
myshoe has quit [Quit: Lost terminal]
mahalel_ has joined #nixos
mahalel_ has quit [Client Quit]
<tmplt> I want to add some options to virtualisation.libvirtd. Is there some easy way to modify modules?
mahalel_ has joined #nixos
<infinisil> tmplt: You can just define the options you want with the "options" attribute
<infinisil> tmplt: E.g. in configuration.nix: { pkgs, ... }: { options.virtualisation.libvirtd.foo = mkOption ...; config = { <the rest of your system configuration.> }; }`
<tmplt> oh neat
fractal has joined #nixos
tenten8401 has quit [Ping timeout: 248 seconds]
tenten8401 has joined #nixos
<infinisil> tmplt: Or in an imports works too
<tmplt> I'm looking to install a file in /etc/libvirt/hooks/qemu inside the derivation. Would I just use `environment.etc."libvirt/hooks/qemu" = { ... };` inside the mkOption?
tzemanovic has joined #nixos
<tmplt> Or no, it would be the config.virtualisation.libvirt part, no?
<infinisil> derivations have very little to do with NixOS
<infinisil> You can't set nixos options in derivations
simukis has quit [Ping timeout: 256 seconds]
Ariakenom has quit [Quit: Leaving]
<infinisil> You probably want $out/etc/libvirt/hooks/qemu?
<infinisil> That's just a cp
astrofog has joined #nixos
<tmplt> That's the one, yes
Drakonis has joined #nixos
Drakonis has quit [Client Quit]
tenten8401 has quit [Ping timeout: 276 seconds]
tenten8401 has joined #nixos
tzemanovic has quit [Ping timeout: 256 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<Myrl-saki> Has anyone had a case where busybox works better than coreutils? :P
asuryawanshi has quit [Ping timeout: 268 seconds]
<Myrl-saki> Just happened to me right now, so ye.
<Myrl-saki> Not on NixOS though.
dbmikus_ has quit [Ping timeout: 255 seconds]
newhoggy has quit [Remote host closed the connection]
m0rphism has joined #nixos
<worldofpeace> I've tried using busybox and it broke stuff really bad :( But that was NixOS
sirocyl[m] has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blankhart has joined #nixos
coot has quit [Quit: coot]
newhoggy has joined #nixos
<Lisanna> Hey, anyone have any idea why adding an account to the trusted users list would cause nixops to stop trying to build stuff on the correct platform?
<{^_^}> [nixpkgs] @Ma27 opened pull request #42586 → phonon-backend-vlc: use qt5 by default → https://git.io/f4HAR
blankhart has quit [Ping timeout: 256 seconds]
<Lisanna> I nixops deploy from darwin to linux, and depend on remote building for the deploys to work. but for some reason if the account I'm doing the nixops build/deploy from is a trusted user, nixops stops trying to build remotely and the builds fail
joehh has quit [Remote host closed the connection]
ihar has quit [Quit: WeeChat 2.0]
toby1851 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to release-18.03: https://git.io/f4HA7
xy2_ has quit [Quit: WeeChat 1.9.1]
xy2_ has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<fresheyeball> infinisil: is there a way I can see if my nix-expression evals without doing a nixops deploy?
<Myrl-saki> How do I make a tarball of a /nix/store/foo?
<fresheyeball> Myrl-saki: like any other directory
<{^_^}> [nixpkgs] @dtzWill merged pull request #42585 → ghcHEAD: minor fixes for musl, cross → https://git.io/f4H7W
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/f4HxW
<Myrl-saki> fresheyeball: I meant with dependency checking.
blankhart has joined #nixos
<Myrl-saki> I'm pretty sure there's a way to do that, since it's required to package NixOS releases.
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #42453 → factorio: 0.16.36 -> 0.16.51 → https://git.io/f4S3w
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/f4Hx0
philippD has joined #nixos
<Myrl-saki> I guess `import ../../../lib/make-system-tarball.nix` is one?
<Myrl-saki> Hmm
<Myrl-saki> nix-store -qR | xargs
<{^_^}> [nixpkgs] @volth opened pull request #42587 → perl-packages.nix: duplicate packages -> aliases → https://git.io/f4Hx2
<Myrl-saki> Seems like that one works-ish.
<Myrl-saki> But way too minimal.
<Myrl-saki> Not that that's a bad thing.
<{^_^}> [nixpkgs] @laMudri opened pull request #42588 → nixos/ibus: detail workaround for issue #11558 → https://git.io/f4HxX
<clever> fresheyeball: nixops deploy --dry-run
<clever> fresheyeball: that will only eval it
<clever> Myrl-saki: make-system-tarball can also be loaded with callPackage
<{^_^}> [nixpkgs] @TimPut opened pull request #42589 → openmvg: 1.1 -> 1.3 → https://git.io/f4Hpm
hamishmack has joined #nixos
<fresheyeball> clever: thanks!
<Guest68768> zimbatm, we were having a conversation about setting up shell.nix in projects, and you mentioned having a nix branch to cherrypick from, which makes a ton of sense.
Guest68768 is now known as judson
<judson> I wonder if a solid convention, maybe with tooling would be in order.
<judson> It'd be a nice compromise between "I am depositing this Nix detritus in every project I touch" and hiding the Nix-light under a bushel.
<zimbatm> if we are going to ask project to accept our shell.nix we should at least clean it up and make it really nice to read
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<zimbatm> I like that the editorconfig example has this "# EditorConfig is awesome: https://EditorConfig.org" first line, it makes a ton of sense
CcxWrk has quit [Ping timeout: 256 seconds]
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @TimPut opened pull request #42590 → openmvs: build with CGAL 4.12 → https://git.io/f4Hpx
knupfer has joined #nixos
<clever> fresheyeball: there is also --build-only and --copy-only
CcxWrk has joined #nixos
liteIRC__ has joined #nixos
newhoggy has quit [Remote host closed the connection]
npmccallum has quit [Ping timeout: 260 seconds]
blonkhart has joined #nixos
Mrmaxmeier has quit [Remote host closed the connection]
Mrmaxmeier has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #42591 → perlPackages.PathTools: 3.47 -> 3.74 → https://git.io/f4Hha
<liteIRC__> Anyone know if there's a package available for ocserv on NixOS?
liteIRC__ is now known as liteIRC___
knupfer has quit [Ping timeout: 265 seconds]
<liteIRC___> It's basically the one thing I'm missing
jperras has quit [Quit: WeeChat 2.1]
astrofog has quit [Quit: Quite]
sanscoeur has joined #nixos
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #nixos
liteIRC___ has quit [Ping timeout: 256 seconds]
testuser has quit [Ping timeout: 260 seconds]
liteIRC__ has joined #nixos
lucus16 has quit [Quit: lucus16]
raynold has quit []
kyren has quit [Ping timeout: 268 seconds]
Ralith_ has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [Remote host closed the connection]
newhoggy has joined #nixos
erasmas has quit [Quit: leaving]
liteIRC__ has quit [Ping timeout: 256 seconds]
liteIRC__ has joined #nixos
sanscoeu_ has joined #nixos
liteIRC__ has quit [Client Quit]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42412 → Even more android fixes → https://git.io/f4yHb
<{^_^}> [nixpkgs] @matthewbauer pushed 8 commits to master: https://git.io/f4HjN
sanscoeur has quit [Ping timeout: 268 seconds]
sanscoeu_ has quit [Remote host closed the connection]
sanscoeur has joined #nixos
sanscoeur has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<fresheyeball> \q
fresheyeball has quit [Quit: WeeChat 2.0]
doyougnu has quit [Ping timeout: 256 seconds]
fresheyeball has joined #nixos
<fresheyeball> clever: so my next step is deploying a custom systemd process
roconnor_ has joined #nixos
rprije has joined #nixos
<fresheyeball> do you have any recommendation on code organization?
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/f4Qei
xy2_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #42593 → perlPackages.MHonArc: fix build → https://git.io/f4QeA
<fresheyeball> infinisil: you around?
<{^_^}> [nixpkgs] @volth opened pull request #42595 → perlPackages: add meta.broken = true; → https://git.io/f4Qvt
<hydraz> how come nix-store -q --roots $path reports no roots but nix-store --delete $path tells me it's still alive?
<hydraz> (in this case $path = /nix/store/25k7yz1yzqn78r9asz69vz4g2025ch3p-python3.6-idna-2.6.drv, a file I do not have because of hardware issues)
<hydraz> nevermind; something I just did made the file be fetched again *shrug*
sbdchd has joined #nixos
foldingcookie has joined #nixos
thc202 has quit [Ping timeout: 264 seconds]
jackdk58 has joined #nixos
jackdk58 is now known as jackdk
ajs124 has left #nixos ["Machine going to sleep"]
ericsagnes has quit [Ping timeout: 260 seconds]