gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<ToxicFrog> adelbertc: updating one of my projects to play nice with NixOS, which involves a lot of nixos-rebuild -> test it -> make changes to the source and upload them -> nixos-rebuild...
<ToxicFrog> Testing in src doesn't help because it's specifically the behaviour once built and installed on a NixOS system that I'm testing.
<samueldr> ToxicFrog: depending on your setup, can you point `src` (the attribute) to a local folder?
qubasa_ has joined #nixos
Guest66 has joined #nixos
<ToxicFrog> I can in this specific case, but not always (and doesn't that still want a sha?)
<samueldr> src = ~/a/full/path; won't
<samueldr> the sha256 is needed to have access to impure capabilities
<samueldr> like network access
<samueldr> (simplified)
<samueldr> the sha256 is a pinky swear "I say that the output of this build is XYZ, trust me", then you can run different software (like curl)
<samueldr> a local path doesn't need software to be ran to get it
qubasa has quit [Ping timeout: 276 seconds]
<samueldr> relevant documentation section: https://nixos.org/nix/manual/#fixed-output-drvs
<lordcirth> Hmm, why is nmap being installed from source? Shouldn't it be in cache?
<{^_^}> [nixpkgs] @matthewbauer pushed to master « treewide: replace daemon with enableDaemon »: https://git.io/JesEZ
<samueldr> ^ this fixes at least one of the master issues, thanks matthewbauer :)
<Guest66> samueldr, can you help me with something easy?
<samueldr> maybe we should have a list of dangerous callPackage attribute names
<samueldr> like `src` is, too
<samueldr> Guest66: this sounds like a trap
<Guest66> Ha. It's not.
<samueldr> Guest66: though ask, if I can't maybe someone else can
<Guest66> If I have a `config = lib.mkIf something { ... };` how do I abstract common code that's inside the mkIf?
<Guest66> akin to a conditional import.
<samueldr> if you want to keep it in the same file, `lib.mkMerge` is likely what you want
<samueldr> if I understood the question
<Guest66> Let's suppose... `lib.mkIf (thisEnabled && profile == thisProfile)`
<Guest66> I want to keep it in a separate file, so multiple "profile" files can use this common config.
<Guest66> e.g `internal/common.nix`
<samueldr> hm, might not be the best example since I nested the mkIf one level
<Guest66> I think that's what I'm looking for.
<samueldr> it could also have been (mkIf cond { mobile = { /*.../* }; })
Ariakenom has quit [Read error: Connection reset by peer]
growpotkin has joined #nixos
<Guest66> samueldr: So now I'm doing `config = lib.mkIf cond (lib.mkMerge [ { bla bla } (import ./internal/common.nix) ])`
<Guest66> Is that too horrible?
<Guest66> I mean, the import.
<Guest66> Supposedly to get rid of code repetition.
<samueldr> what if internal/common.nix was a configuration module that, in the file itself, has the condition. You would then always add `imports = [ internal/common.nix ]`
<Guest66> I don't think that's possible.
<Guest66> given `cfg' = config.cartons.encrypted-dns` cond is `cfg'.enabled && cfg'.profile == "cisco"` for the cisco profile.
<Guest66> for the default profile, cond is `cfg'.enabled && cfg'.profile == "default"`
<samueldr> with the information I have, I think that should work
<Guest66> Both use common.nix, so if I was to do it like that I'd have to add a disjunction for each profile in which I require common.nix
<samueldr> as long as `config.cartons.encrypted-dns.profile` is set
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JesEE
<Guest66> Yeah, but then I'd have to `cfg'.profile == "cisco" || cfg'.profile == "default" || ...`.
<Guest66> That's better?
<Guest66> Each new profile a new disjunction.
shibboleth has quit [Quit: shibboleth]
<samueldr> sorry, I think I'm too tired to think about that. Though I will say that I think that using `config = import ./another/file.nix` in the nixos module systems looks like an anti-pattern to me
rntsrtoh^ has joined #nixos
<Guest66> No problem. :)
<Guest66> You helped me a lot.
drakonis has joined #nixos
alex``` has quit [Ping timeout: 240 seconds]
freeman42x has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #69273 → xprite-editor: init at 2019-09-22 → https://git.io/JesEa
otulp has joined #nixos
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos
mexisme has quit [Ping timeout: 268 seconds]
jb55 has quit [Remote host closed the connection]
kvda has joined #nixos
Guest66 has left #nixos [#nixos]
<aanderse> anyone have a link to that good example of telling nixos-rebuild to die because the machine is owned by nixops? maybe gchristensen pasted it in a gist or blog post? or someone else?
<{^_^}> nixops#737 (by grahamc, 1 year ago, open): NixOps should neuter the target config to prevent accidents
growpotk- has joined #nixos
m0rphism has quit [Ping timeout: 240 seconds]
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
growpotk- has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #69274 → cargo-vendor: drop → https://git.io/JesEb
Okinan has quit [Quit: Konversation terminated!]
mexisme has joined #nixos
Okinan has joined #nixos
armin has quit [Read error: Connection reset by peer]
armin has joined #nixos
zacts has joined #nixos
<zacts> how long will NixOS 19.03 be maintained for security updates?
<infinisil> zacts: Until one month after 19.09 has been released
<infinisil> And it should be released at the start of October
<zacts> ok
<zacts> thanks
drakonis has quit [Quit: WeeChat 2.6]
xkapastel has quit [Quit: Connection closed for inactivity]
abathur has joined #nixos
<kvda> When is NixOS moving to 5.3 kernel?
<samueldr> "it's not"
<kvda> Oh?
<samueldr> the default kernel shipped on the installers always are "LTS as the time of the release"
<kvda> I've got a Navi AMD card and wondering if 5.3 is necessary?
<samueldr> I might be mistaken, but I don't think 5.3 is an LTS
<{^_^}> [nixpkgs] @peterhoeg merged pull request #15560 → nixos/networkmanager: tiny cleanups → https://git.io/vr0ud
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/Jesuc
<samueldr> though, 5.3 *is* available
<samueldr> and a minimal installer with 5.3 (currently) is available
<kvda> oh i see samueldr, so it might be 5.4 or whatever next LTS is
<samueldr> yeah
<samueldr> wherein the quotes :)
<kvda> where do you get the minimal installer from?
<samueldr> we always build, but not promote, an installer image with the latest kernel, in addition to the usual LTS-based installer
* samueldr digs up the link
<kvda> thank you :) :) samueldr
<samueldr> hmm, 6 days ago... is it gonna be 5.2 or 5.3?
* samueldr checks
<kvda> by the date of the build it looks like it'll be 5.2
<samueldr> looks like it
<samueldr> the red octagons are "Cancelled", so not necessarily a build failure
<kvda> all good, i'll keep on eye on this build job
<samueldr> though the black × are
<samueldr> zf
<samueldr> zfs*
<kvda> so it looks like 20.3 release will be on >5.3 potentially? is that the Oct release you mentioned?
<samueldr> hopefully, unless gregkh decides not to bless an LTS until next march :)
kleisli has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
kleisli has quit [Ping timeout: 268 seconds]
growpotk- has joined #nixos
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
felixfoertsch23 has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
lordcirth has quit [Remote host closed the connection]
felixfoertsch has quit [Ping timeout: 265 seconds]
lordcirth has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #69270 → libdrm: Add patch to fix musl build. Fixes #66441 → https://git.io/JesRN
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jesuz
<{^_^}> [nixpkgs] @matthewbauer merged pull request #69268 → aws-sdk-cpp: fix libatomic detection → https://git.io/JesRg
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jesug
<{^_^}> [nixpkgs] @matthewbauer merged pull request #69269 → dolphin: add baloo to propagatedUseEnvPkgs → https://git.io/JesR6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jesua
adelbertc has quit [Quit: Connection closed for inactivity]
marusich has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
zacts has quit [Ping timeout: 276 seconds]
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
captn3m0 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #69275 → amule: cleanup → https://git.io/Jesub
marusich has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #68478 → maestral: 0.2.6 -> 0.4.0 → https://git.io/JemCv
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/Jesux
azdle has joined #nixos
MinceR_ has joined #nixos
captn3m0 has joined #nixos
marusich has joined #nixos
MinceR has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @peterhoeg closed pull request #59418 → simplenote: 1.1.3 -> 1.5.0 → https://git.io/fjm45
<{^_^}> [nixpkgs] @peterhoeg merged pull request #69260 → nixos/mailcatcher: add bind capabilities → https://git.io/Jes4P
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/Jesuh
eraserhd has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #69077 → librecad: 2.1.3 -> 2.2.0-rc1 → https://git.io/Je3YR
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/Jesze
<{^_^}> [nixpkgs] @marsam opened pull request #69276 → caddy: 1.0.0 -> 1.0.3 → https://git.io/Jeszv
captn3m0 has quit [Ping timeout: 240 seconds]
captn3m0 has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @marsam merged pull request #69217 → diskus: 0.5.0 -> 0.6.0 → https://git.io/JesUK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeszL
growpotkin has joined #nixos
growpotk- has quit [Ping timeout: 265 seconds]
growpotkin has quit [Client Quit]
zacts has joined #nixos
kleisli has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #69135 → imapfilter: 2.6.12 -> 2.6.13 → https://git.io/Je3rH
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeszY
adelbertc has joined #nixos
rople has joined #nixos
rsoeldner_ has joined #nixos
mrCyborg has joined #nixos
abathur has quit [Ping timeout: 245 seconds]
captn3m0 has quit [Ping timeout: 268 seconds]
rsoeldner_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @rencire closed pull request #69180 → nodePackages.commitlint: init at 8.1.0 → https://git.io/Je3Ns
doyougnu has quit [Ping timeout: 276 seconds]
kleisli has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #68908 → nixos/gitlab: Add gnutar and gzip to gitlab-sidekiq's path → https://git.io/Jesz0
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeszE
marusich has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli pushed commit from @talyz to release-19.03 « nixos/gitlab: Add gnutar and gzip to gitlab-sidekiq's path »: https://git.io/Jeszg
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @flokli pushed commit from @talyz to release-19.09 « nixos/gitlab: Add gnutar and gzip to gitlab-sidekiq's path »: https://git.io/Jesz2
Sleup has joined #nixos
<Sleup> Why are surplus arguments an issue?
wfranzini has quit [Remote host closed the connection]
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 245 seconds]
doyougnu has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
Sleup has left #nixos [#nixos]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
gerschtli has quit [Quit: WeeChat 2.4]
gerschtli has joined #nixos
kleisli has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
MinceR_ is now known as MinceR
drakonis has quit [Read error: Connection reset by peer]
palo1 has joined #nixos
drakonis has joined #nixos
Intensity has joined #nixos
Intensity has quit [Changing host]
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
captn3m0 has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
doyougnu has quit [Ping timeout: 276 seconds]
drakonis_ has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
rauno has quit [Ping timeout: 245 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #68934 → gigedit: 1.1.0 -> 1.1.1 → https://git.io/JeszN
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JeszA
mexisme has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #69278 → ocamlPackages.odoc: 1.3.0 → 1.4.2 → https://git.io/Jeszx
<{^_^}> [nixpkgs] @srhb pushed commit from @mimame to release-19.09 « gigedit: 1.1.0 -> 1.1.1 »: https://git.io/Jeszp
iqubic has joined #nixos
mexisme has quit [Ping timeout: 265 seconds]
mojjo has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<mojjo> I have the following simple nginx config: ```
<mojjo> services.nginx.enable = true; services.nginx.virtualHosts."localhost" = { addSSL = true; enableACME = true; root = rootDir; }; services.nginx.virtualHosts."stage.myserver.de" = { addSSL = true; enableACME = true; root = rootDir; };
rmeis has joined #nixos
<mojjo> (ok, sorry for the misformatting)
<srhb> Pastebins generally work better. :-)
mexisme has joined #nixos
detran has joined #nixos
<mojjo> anyways. the config works only if I build it on my local machine and access via localhost. when built on a remote machine (stage.myserver...) I cannot access port 80.
<Miyu-chan> Your firewall's closed.
<Miyu-chan> networking.allowedTCPPorts = [ ... ];
<Miyu-chan> idk how to feel about that. Methinks that all networking services should set allowed{TCP,UDP}Ports by default, b utthey don't.
<Miyu-chan> Am I missing some security reason for this?
<srhb> Well, yes, the reasoning is that you need to make an explicit rule.
<srhb> (except for port 22, to avoid ssh lockout)
<mojjo> networking.firewall.allowedTCPPorts = [ 80 9418 ];
<srhb> Modules enabling modules enabling... can make it hard to know in advance what is suddenly exposed.
<Miyu-chan> I mean, I get that part, but why? Is this documented? When do you want nginx but not allowedTCPPorts?
<Miyu-chan> Oh.
<Miyu-chan> True.
<mojjo> realizing now, that even if I login via ssh to the remote machine, I cannot do a `curl localhost` from there
<Miyu-chan> Yeah, I'll agree w/ that. Not knowing what enabled what is just :/ esp. considering that NixOS modules are not actually hierarchal.
<srhb> Miyu-chan: It's only implicitly documented as: "Note that TCP port 22 (ssh) is opened automatically if the SSH daemon is enabled"
<Miyu-chan> hierarchical*
<srhb> Yes, it's not the best situation. I think not auto-opening ports is the right call with what we have though. :)
<Miyu-chan> Me figuring out the xserver module(s) was not... fun.
<srhb> heh, indeed.
<srhb> mojjo: Maybe you can share a bigger bite of your config in a pastebin? :)
<Miyu-chan> mojjo: Oh. Seems ike nginx porblems.
<Miyu-chan> Have you checked the journal logs?
<{^_^}> [nixpkgs] @vbgl closed pull request #64051 → ocamlPackages.js_of_ocaml: 3.3.0 -> 3.4.0 → https://git.io/fjKRo
<Miyu-chan> Now that I think about it, I actually don't know how nginx resolves hostnames.
<Miyu-chan> Because it works with localhost even if I don't have an explicit hostname for it.
<srhb> It does have a default virtualhost
<srhb> I don't recall if it's enabled by default
<srhb> (It doesn't "resolve" anything, just looks at headers, iirc)
<Miyu-chan> Oh, I don't mean DNS resolution.
<Miyu-chan> I meant more like "figure out which vhost to choose."
<srhb> Ah. :) Overloaded terms...
<Miyu-chan> Yep. :P
<srhb> Yeah, just the host header
<Miyu-chan> Right, but how about `curl localhost`
<srhb> if localhost is a vhost, then that, else if default vhost that accepts any hostname, then that..
<Miyu-chan> Oh.
<srhb> (For the server listening on that port)
<Miyu-chan> Right. Yeah, I think I get it now.
rmeis has quit [Ping timeout: 250 seconds]
<srhb> So you can do stuff like curl -H "hostname: foo.bar.com" localhost and trigger a different vhost if need be
<Miyu-chan> Oh cool. Tangential, but network devices seem to be nicely modelled as subsystems of the computer, rather than representing the computer itself. It'd at, the very least, explain why NAT is not free.
lordcirth has quit [Read error: Connection reset by peer]
<Miyu-chan> Free, not in price, but "logically follows."
lordcirth has joined #nixos
<srhb> Yeah. A lot of networking is very well-designed and horribly abused anyway. :-)
lordcirth has quit [Remote host closed the connection]
<Miyu-chan> :D I've really been meaning to learn networking, but the implementations just break me.
<Miyu-chan> Like, networking makes sense declaratively.
<Miyu-chan> You can, idk, represent them as a graph.
lordcirth has joined #nixos
<Miyu-chan> But iptables, iproute, etc. just seem so confusing.
<srhb> "The internet is just a series of (mutating) graphs"
<mojjo> checked the logs now, and surprise: "Failed to start Nginx Web Server."
<srhb> mojjo: Neat :)
<srhb> mojjo: The error log may make things clearer.
<Miyu-chan> Oh god. Don't even get me started on the internet. Like, the negotiation protocol. BGP-XX or smth.
<Miyu-chan> Sometimes, I'm surprised that the internet works.
<srhb> Miyu-chan: bgp is great :P
<Miyu-chan> Oh, BGP does not have a prefix.
<Miyu-chan> I was mixing BGP and BCP lol, but yeah, BGP is the word.
<Miyu-chan> s/prefix/postfix/
<srhb> Miyu-chan: (There' iBGP and eBGP for instance)
<mojjo> actually even on switching the config I get "Failed to start Renew ACME Certificate for stage.myserver.de."
<Miyu-chan> Oh no. To the rabbit hole I go.
<mojjo> "There were too many requests of a given type :: Error creating new registration :: too many registrations for this IP:
<srhb> Miyu-chan: The worst thing about networking for me is that everything lower than level 3 is a mystery to me :P
<srhb> mojjo: Hmm, sounds like you hit a rate limit?
<mojjo> and in the nginx logs, something like " nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32"
<Miyu-chan> That's weird.
<srhb> It's not.. Long virtualhosts will do that
<srhb> It's unfortunate though :P
<Miyu-chan> Oh.
<srhb> The error message is accurate, however, so there's that...
<Miyu-chan> > If a large number of server names are defined, or unusually long server names are defined
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):264:46
<Miyu-chan> Why does the bucket size depend on server name length?
<Miyu-chan> Also, I might move my questions to #nixos-chat. :P
<srhb> Speed, I guess..
hyper_ch2 has joined #nixos
ng0 has joined #nixos
<mojjo> If I disable addSSL and enableACME, there is no error on rebuilding, If I login to the remote machine via ssh: niginx is not started
<srhb> mojjo: Just increase the parameter it mentioned to 64 :)
zupo has joined #nixos
detran has quit [Quit: ZNC 1.7.1 - https://znc.in]
detran has joined #nixos
<mojjo> spendid! works now
<srhb> Neat :)
gxt has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
adelbertc has quit [Quit: Connection closed for inactivity]
aswanson has quit [Quit: WeeChat 2.4]
<MasseR> I'm trying to update my machine but i got an error 'Linux v5.3 is not yet supported by zfsonlinux v0.8.1', but I don't have anything zfs on my machine (explicitly). Is there a way to see what config / app is causing this?
<{^_^}> [nixpkgs] @ilikeavocadoes closed pull request #55329 → mdlt: init at 0.0.4 → https://git.io/fh9VI
<srhb> MasseR: That looks like a bug, I can reproduce it without ever touching nixos-config
<srhb> MasseR: (as in `nix-build '<nixpkgs>' -A linuxPackages_latest` fails)
<MasseR> ah
<MasseR> Doesn't seem to be on issue tracker yet
<{^_^}> #69240 (by rndd-AK, 22 hours ago, closed): Try zfsUnstable or set the NixOS option boot.zfs.enableUnstable.
Ariakenom has joined #nixos
hyper_ch2 has joined #nixos
wfranzini has joined #nixos
fusion809 has quit [Remote host closed the connection]
<srhb> MasseR: Maybe what I said was wrong. The entire package might indeed not evaluate at some point, but since a config would only touch what it needs, zfs should not pose an issue if you don't use it.
<srhb> That sounds more sensible to me, in which case it does sound like a nixos bug, not a nixpkgs one.
<srhb> So we should check when kernel-latest started failing in the nixos tests.
<{^_^}> [nixpkgs] @uri-canva opened pull request #69279 → envoy: 1.3.0 -> 1.11.1 → https://git.io/Jesgi
<srhb> MasseR: 7cff0bc3eedb909d62d1dad79e71b37285fd9271 is the culprit according to bisect
<srhb> Hmm, but probably that's not the logical error itself...
<{^_^}> [nixpkgs] @Mic92 merged pull request #69259 → kvirc: use qt5.mkDerivation → https://git.io/Jes4g
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JesgD
<MasseR> yeah that looks like the error could have been present for a longer time but just hidden
<{^_^}> [nixpkgs] @Mic92 pushed commit from @suhr to release-19.09 « kvirc: use qt5.mkDerivation »: https://git.io/Jesgy
<srhb> Yep, indeed..
<srhb> It's not the zfs module itself as far as I can see..
drakonis has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jesg7
<{^_^}> [nixpkgs] @Mic92 merged pull request #69274 → cargo-vendor: drop → https://git.io/JesEb
Chiliparrot has joined #nixos
logzet has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
<shyim> Hey, how do i set memory_limit for php in cli 😂
<{^_^}> [nixpkgs] @avdv opened pull request #69280 → mucommander: 0.9.2 -> 0.9.3-3 → https://git.io/Jesgh
freeman42x has joined #nixos
<mojjo> one more nginx issue: `basicAuth = { user = "abc"; };` that works, well but `basicAuthFile` does not. I created one with `htpasswd -c ... user` but the server gives me a 500.
<{^_^}> [nixpkgs] @Mic92 merged pull request #67268 → kernel: set POWERCAP and INTEL_RAPL → https://git.io/fjNYI
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jes2v
m0rphism has joined #nixos
<mojjo> does the location matter? I put it to `/root/.htpasswd` and it has `-rw-r--r-- 1 root root`
<srhb> mojjo: I would expect nginx to be disallowed from that directory entirely.
<mojjo> which directory would you suggest?
hyper_ch2 has quit [Remote host closed the connection]
<srhb> Depends on your use case. But something that nginx is actually allowed to see. :)
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
<mojjo> ok `/etc` works, no idea if it's a good place though :)
<srhb> mojjo: Usually you put it in the root of the directory you're exposing.
<srhb> (hopefully not /etc :-))
justanotheruser has quit [Ping timeout: 265 seconds]
<mojjo> but I'm exposing a dir from the nix store
<srhb> Ah, okay.
Heirlung has joined #nixos
c0c0 has joined #nixos
page has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @nlewo merged pull request #68551 → skopeo: 0.1.37 -> 0.1.39 → https://git.io/Jes23
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/Jes2s
hmpffff has joined #nixos
civodul has joined #nixos
hyper_ch2 has joined #nixos
asymptotically has joined #nixos
civodul has quit [Remote host closed the connection]
civodul has joined #nixos
qqlq has joined #nixos
FRidh has quit [Ping timeout: 265 seconds]
FRidh has joined #nixos
FRidh has joined #nixos
rsoeldner_ has joined #nixos
jonringer has quit [Ping timeout: 265 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
johanot has joined #nixos
Tucky has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
andymandias has quit [Quit: ZNC 1.7.3 - https://znc.in]
Okinan has quit [Quit: Konversation terminated!]
andymandias has joined #nixos
gxt has quit [Quit: WeeChat 2.6]
rsoeldner_ has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
veske has joined #nixos
WilliamHamilton has joined #nixos
cfricke has joined #nixos
<WilliamHamilton> hi, how would I get a version of ghcide compiled with ghc 8.4.3? domenkozar[m] ^
<domenkozar[m]> I'm afraid it's not in nixpkgs :/
FRidh has quit [Ping timeout: 240 seconds]
gxt has joined #nixos
hoijui has joined #nixos
hyper_ch2 has joined #nixos
kleisli has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @edolstra pushed to master « firefox: Use default icu »: https://git.io/Jes2F
<{^_^}> [nixpkgs] @edolstra pushed to release-19.09 « firefox: Use default icu »: https://git.io/Jes2N
dm9 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rsoeldner_ has quit [Ping timeout: 276 seconds]
<c0c0> when i try to install a package "nix-env -i vim", i get an out of memory error. what is going on?
<clever> ,-A c0c0
<{^_^}> c0c0: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
k41 has joined #nixos
k41 is now known as eon2
rsoeldner_ has joined #nixos
lordcirth has quit [Read error: Connection reset by peer]
joehh has quit [Ping timeout: 276 seconds]
jluttine has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #69067 → beets: 1.4.7 -> 1.4.9 → https://git.io/Je3qW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JesaW
<{^_^}> [nixpkgs] @Mic92 merged pull request #69276 → caddy: 1.0.0 -> 1.0.3 → https://git.io/Jeszv
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jesal
<{^_^}> [nixpkgs] @Mic92 merged pull request #69036 → gscan2pdf: 2.5.5 -> 2.5.6 → https://git.io/Je3vy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JesaE
FRidh has joined #nixos
joshuagl has joined #nixos
rsoeldner_ has quit [Ping timeout: 246 seconds]
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #nixos
johnw has quit [Ping timeout: 264 seconds]
nikola_i has joined #nixos
noudle has joined #nixos
johnw has joined #nixos
pie__ has joined #nixos
eon2 has quit [Ping timeout: 250 seconds]
pie_ has quit [Ping timeout: 240 seconds]
rsoeldner_ has joined #nixos
<WilliamHamilton> domenkozar[m] thanks, 8.4.3 is indeed not in nixpkgs now, but I have it in a nix-shell generated by some project; could I use that nix-shell to compile ghcide myself there, maybe jailbreaking hie-core in the process? Or is that approach doomed to failure?
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #nixos
mojjo has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @pSub pushed to update-brave-browser « brave: 0.68.131 -> 0.69.128 »: https://git.io/Jesay
<{^_^}> [nixpkgs] @pSub opened pull request #69283 → brave: 0.68.131 -> 0.69.128 → https://git.io/Jesa9
k41 has joined #nixos
freeman42x has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
rsoeldner_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #69284 → systemd: make sysinit.target depend on local-fs.target again → https://git.io/Jesab
jgt has quit [Ping timeout: 276 seconds]
<{^_^}> [nix] @edolstra merged pull request #3104 → libstore: don't forward --show-trace → https://git.io/JesGn
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JesaN
<{^_^}> [nix] @edolstra merged pull request #3103 → Fix spelling in comment → https://git.io/Jestb
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Jesax
nikola_i has quit [Ping timeout: 264 seconds]
rsoeldner_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #69285 → systemd: make sysinit.target depend on local-fs.target again [backport] → https://git.io/Jesah
nikola_i has joined #nixos
FRidh has quit [Ping timeout: 276 seconds]
sigmundv has joined #nixos
<JaakkoLuttinen[m> When enabling gnome keyring, it seems to be run as `gnome-keyring-daemon --start --foreground --components=secrets`. How could I add `ssh` to the components? I'd like to use gnome keyring as my ssh agent so it can unlock my ssh keys on login.
<JaakkoLuttinen[m> I tried searching nixpkgs but I couldn't find where this command is defined.. Perhaps it's some internal default inside gnome keyring package itself..
<JaakkoLuttinen[m> Or how could I unlock my ssh private keys on login?
thc202 has joined #nixos
Makaveli7 has joined #nixos
rsoeldner_ has quit [Ping timeout: 240 seconds]
syd has joined #nixos
hoijui has quit [Ping timeout: 264 seconds]
rsoeldner_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<Mic92> JaakkoLuttinen[m: /nix/store/yriv5p770zi4np8ws62mmw84i6cqz00f-gnome-keyring-3.31.91/etc/xdg/autostart/gnome-keyring-ssh.desk
<Mic92> topnn
<Mic92> There themes to be a deskopt file for ssh in the package.
<Mic92> I assume you need to put this into your autostart of your desktop manager.
<Mic92> All it does is: Exec=/run/wrappers/bin/gnome-keyring-daemon --start --components=ssh
dermetfan has joined #nixos
<eyJhb> Can anybody answer me, if NixOS stops the old systemd .service before it switches to the new config? E.g. I have some "extraStopCommands" which needs to run on the current configuration, as it matches the startCommands, but if I nixos rebuild switch, will it stop/restart the service with the new config, or do old config stop, new config start?
jgt has joined #nixos
<syd> I'm a beginner too, but I think it depends on whether your services have `WantedBy = [ "multi-user.target" ]`
<syd> s/too//
fendor has joined #nixos
mgdm has left #nixos ["WeeChat 1.4"]
Synthetica has joined #nixos
<eyJhb> syd: shouldn't make a difference regarding that, as still leaves the question unsovled regarding pre and post, or only post
rsoeldner_ has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
k41 has quit [Ping timeout: 264 seconds]
<syd> huh, ok, ignore me. Not experienced with these matters ;)
LysergicDreams has quit [Ping timeout: 246 seconds]
jgt has quit [Ping timeout: 252 seconds]
<eyJhb> syd: it's alright :p It is also somewhat a edge case, or.. I am not sure HOW MUCH of a edge case it is, seeing as there are a lot of scenarios where you would want pre build services to stop, if they are not in the post build
LysergicDreams has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
dm9 has quit [Quit: WeeChat 2.6]
fendor has quit [Ping timeout: 268 seconds]
alex``` has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #69286 → matcha: 2019-07 -> 2019-09-23 → https://git.io/JesV1
cfricke has quit [Quit: WeeChat 2.6]
FRidh has joined #nixos
hoijui has joined #nixos
rsoeldner_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #69284 → systemd: make sysinit.target depend on local-fs.target again → https://git.io/Jesab
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/JesVQ
<{^_^}> [nixpkgs] @Mic92 merged pull request #69285 → systemd: make sysinit.target depend on local-fs.target again [backport] → https://git.io/Jesah
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging-19.09: https://git.io/JesV5
o1lo01ol1o has joined #nixos
veske has joined #nixos
<JaakkoLuttinen[m> Mic92: ok, thanks. but i'm still wondering where this current gnome-keyring command comes from.. doesn't seem to be coming from the desktop files. so i wonder where it's defined and if i could modify that..
<JaakkoLuttinen[m> seems to be defined in the package's dbus stuff
rsoeldner_ has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #68453 → Add the browser `next` → https://git.io/Jemmv
<{^_^}> [nixpkgs] @7c6f434c pushed 4 commits to master: https://git.io/JesVF
<c0c0> when installing nixos according to the installation manual, when creating partitions, i get "The resulting partition is not properly aligned for best performance." what does that mean?
<clever> c0c0: if a filesystem is using 4kb blocks, and your physical drive is also using 4kb blocks, but your partition starts at an offset line 5kb in
<clever> c0c0: then every 4kb write, involves reading 8kb, modifying a 4kb substring, then writing 8kb back out
<clever> which just ruins performance
<clever> you need to delete and remake the partitions with a better offset
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<c0c0> i see, thanks clever
<clever> Sector size (logical/physical): 512 bytes / 512 bytes
<clever> I/O size (minimum/optimal): 512 bytes / 512 bytes
<clever> `fdisk -l /dev/???` will show the sector sizes
<{^_^}> [nixpkgs] @Mic92 merged pull request #69280 → mucommander: 0.9.2 -> 0.9.3-3 → https://git.io/Jesgh
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JesVN
<clever> Sector size (logical/physical): 512 bytes / 4096 bytes
<clever> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
<clever> 3 of the drives in my nas, report the above
o1lo01ol1o has joined #nixos
rsoeldner_ has quit [Ping timeout: 250 seconds]
<c0c0> so for sector size 512 bytes / 4096 bytes, i should choose offsets that are multiples of 4096 bytes?
<c0c0> i/o size 4096 byes / 4096 byes
<c0c0> bytes
<clever> c0c0: its common to just make the offset a multiple of 1mb
<clever> Units: sectors of 1 * 512 = 512 bytes
<clever> Device Start End Sectors Size Type
<clever> /dev/sda1 2048 4196351 4194304 2G Linux swap
<clever> > (2048 * 512) / 1024 / 1024
<{^_^}> 1
<clever> 2048 sectors (of 512 bytes each) is 1mb
<c0c0> oh, i should have just used MB and GB instead of MiB and GiB then
<clever> most paritition utils will convert the units for you, then round to the nearest multiple of 1mb
psyanticy has joined #nixos
hke has quit [Quit: The Lounge - https://thelounge.github.io]
hke has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jgt has joined #nixos
hoijui has quit [Quit: Leaving]
hmpffff has quit [Quit: nchrrrr…]
rsoeldner_ has joined #nixos
yuken has joined #nixos
<yuken> Hallo. I'm thinking of trying NixOS as a primary desktop, but I'm still not completely sure how the Nix language works, I just can't wrap my head around it.
<emily> using it in anger is a good way to slowly come to understand it :)
<Miyu-chan> Think Lisp + functional programming language
<emily> are you familiar with any other functional programming languages?
<Miyu-chan> Has a prominent data structure(attrsets).
<yuken> Never used Lisp or a functional programming language. The languages I know the best are probably just Rust, JS, C#, and (gasp) BYOND.
<Miyu-chan> Oh RIP.
<yuken> So the syntax is just very confusing to me.
hmpffff has joined #nixos
<emily> Rust and JS hvae enough functional elements that you'll probably be able to pick it up
<emily> but it might be a bit of a mindbending experience :)
orivej has quit [Ping timeout: 245 seconds]
rsoeldner_ has quit [Ping timeout: 265 seconds]
<yuken> When I tried out Nix a while back, I had issues with compiling a lot of stuff because... as you can imagine, there is nothing standard about Nix
<emily> if you're inclined, it might be a good idea to learn a functional language like haskell or ocaml a bit to get a better grounding in the basics
<emily> but you don't need super deep knowledge of nix to use nixos, really
<emily> it does help though.
<clever> emily: i went the other way, i learned nix first (and read the c++ that powers it), before fully learning haskell!
asymptotically has quit [Quit: Leaving]
<rawtaz> OT: do you guys and gals agree with this definition of "use in anger", or would you say the meaning is different? http://onlineslangdictionary.com/meaning-definition-of/use-in-anger
<infinisil> yuken: Here's a short and sweet introduction to it I can recommend: https://github.com/tazjin/nix-1p
<yuken> Also, does the Nix package manager work at all under any BSD?
hmpffff has quit [Quit: nchrrrr…]
<Miyu-chan> Does macOS count? /s
zupo_ has joined #nixos
<emily> rawtaz: more or less
<emily> hm, I'm surprised wiktionary doesn't seem to have an article for it
<emily> apparently it's a Britishism
<emily> I feel like I see it fairly frequently in programming circles
<rawtaz> dang. so when they leave the EU, the rest of us still in the EU wont be allowed to use it
<rawtaz> yeah
<yuken> I only recently learned what anonymous/lambda functions were, I was using them in a game I wrote in C# which was a Dictionary<String, Func>, because I was trying to create class instances from a string. But so far, I don't see anything I don't understand infinisil, thanks for linking that.
<Taneb> emily: I feel like I've only seen it in programming circles
<emily> I suspect it's a derivation from https://en.wiktionary.org/wiki/fire_in_anger
<emily> from googling
<syd> Does anyone here know any of the details in `text`?
<syd> I'm having the weirdest problem:
zupo has quit [Ping timeout: 252 seconds]
<rawtaz> to me it's more like using something, you never took the time to dig into and understand, because you really need to because something else sucks (hence in anger)
<syd> Data.Text.split (== \n) "\55810"
<syd> ["\65533"]
<infinisil> syd: This is not the haskell channel
<syd> whoops
<syd> my mistake
<infinisil> Np :)
<Miyu-chan> lol
kcalvinalvinn has quit [Remote host closed the connection]
stalker254[m] has left #nixos ["User left"]
kcalvinalvnn has joined #nixos
rsoeldner_ has joined #nixos
zupo_ has quit [Ping timeout: 276 seconds]
<yuken> infinisil: Okay, that... was actually a great introduction. The official Nix docs always screwed with me, but so far that seems incredibly simple.
<infinisil> Props to the author tazjin++ :)
<{^_^}> tazjin's karma got increased to 14
<tazjin> yuken: thanks! if there's something in it that's unclear, please file a bug! :)
<yuken> I assume fetchGit isn't gonna fetch just from GitHub, but any git repository?
<Miyu-chan> Yes.
<clever> yuken: behind the scenes, its just running `git fetch`, so it can use anything that git uspports
<Taneb> yuken: correct
hmpffff has joined #nixos
<Miyu-chan> Also, I just realized that fetchGit is just straight up morally correct. Git is immutable, so Nix can manage it without loading to /nix/store, allowing successive git calls to it.
<Miyu-chan> Or smth.
<Miyu-chan> As opposed to just calling in a derivation.
<clever> Miyu-chan: fetchGit can be ran on branch names, which is impure
fendor has joined #nixos
<Miyu-chan> Oh. True.
<clever> fetchGit is also single-threaded, and pauses the eval while fetching, so it harms performance
<clever> pkgs.fetchgit will happen in a builder child, and can run in parallel
<Miyu-chan> Is it because fetchGit is a Nix builtin, and Nix doesn't have parallel evaluation yet?
<Miyu-chan> Great, now I'm reflecting on my statement. ; ;
<clever> Miyu-chan: yeah, the builtins and all eval-time things are single-threaded
rsoeldner_ has quit [Ping timeout: 252 seconds]
<Miyu-chan> Hm, I wonder how hard it'd be to jam in cooperative multitasking.
<clever> Miyu-chan: <nix/fetchurl.nix> is a weird edgecase, https://github.com/NixOS/nix/blob/master/corepkgs/fetchurl.nix
<clever> Miyu-chan: look at the builder= on line 18, its set to "builtin:fetchurl"
<Miyu-chan> builder = "builtin:fetchurl";
<Miyu-chan> Oh, you already said it.
<Miyu-chan> Yeah, what does that mean.
<clever> this is generating a derivation, and later on (at build time), nix will run an internal function in the child proc
philr has joined #nixos
<clever> so it will fork out a child, setup the whole sandbox as normal, but instead of executing a program, it just calls an internal function
kcalvinalvnn has quit [Quit: ZNC 1.7.4 - https://znc.in]
<clever> this lets you do internal activities, in parallel, at build time
<Miyu-chan> Oh. Can't you do this with fetchGit?
<clever> then `git` would be ran as `nixbld1`, and cant access your ssh-agent
<Miyu-chan> Oh, right.
<clever> and your back to the exact same problems `pkgs.fetchgit` has
orivej has joined #nixos
<clever> the source for those builtin derivations
<Miyu-chan> This reminds me that I tried to do privilege escalation using SSH through Nix-daemon but realized that all SSH commands are done through your user.
<{^_^}> [nixpkgs] @l0b0 closed pull request #66738 → pythonPackages.vcard: init at 0.13.0 → https://git.io/fjd9H
<clever> i have multiple solutions for git and private repos
kcalvinalvin has joined #nixos
<ajs124> clever: on the topic of fetchGit. Is fetchGit with a rev pure?
<clever> https://github.com/NixOS/nix/issues/1256 would be the "best" option, but has been put on the back-burner by builtins.fetchGit almost replacing it
<{^_^}> nix#1256 (by cleverca22, 2 years ago, open): ssh agent forwarding
<Miyu-chan> ajs124: Technically not, I guess?
<clever> ajs124: if you trust the git server, yes
<Miyu-chan> I mean, most most technically, you could find a commit collision.
<clever> git commits are a hash of the commit object, which contains the previous commit hash
<clever> so its basically a blockchain
* Miyu-chan mumbles something merkle tree. :P
<ajs124> yay blockchain! :D
<clever> but if you dont have the entire chain, you cant validate that its fully authentic
<Miyu-chan> Oh, true.
<Miyu-chan> I wonder what this means for shallow copies.
<ajs124> But if I do a non-shallow clone, don't I get that?
<clever> though, if somebody can forge a collision on the final sha1, they could just include the whole real history in that as well\
<ajs124> Hm, ok. Question: why was fetchGit introduced if it's impure?
<clever> ajs124: to be able to clone private git repos, with your ssh agent working
<Miyu-chan> For practical purposes, fetchGit is pure.
<Miyu-chan> Except, ofc. for branches.
<clever> because making pkgs.fetchgitPrivate work securely isnt easy
<Miyu-chan> And tags.
<Miyu-chan> Anything that's not a commit hash, I guess.
<ajs124> That's exactly what I use it for though
<clever> i opened https://github.com/NixOS/nix/issues/1256 to make pkgs.fetchgitPrivate simpler to function, while remaining sandboxed
<{^_^}> nix#1256 (by cleverca22, 2 years ago, open): ssh agent forwarding
fendor has quit [Quit: Leaving]
<Miyu-chan> ajs124: Advancing code through branch HEADs without changing Nix source code?
<Miyu-chan> w.r.t. "exactly what I use it for"
<ajs124> Miyu-chan: I wouldn't have phrased it that well, but yes. I just fetchGit master of some repos, because I'm lazy.
<eyJhb> Do we have something that checks if there are multiple PRs for the same packages, that e.g. upgrades/updates it?
WilliamHamilton has quit [Remote host closed the connection]
<Miyu-chan> Fair. :) It's not really that impure, if you consider fetchGit to also be the function of the git repo.
* Miyu-chan shrug
<infinisil> eyJhb: Um, searching the issue list?
<Miyu-chan> s/the function/a function/
<{^_^}> [nixpkgs] @l0b0 opened pull request #69288 → Vcard → https://git.io/Jesre
<eyJhb> infinisil: was more thinking PRs, not a issue, but guessing it is currenlt manual work?
<eyJhb> Would be interesting to see, if we have any duplicates
<infinisil> Well you can also search for PRs
<eyJhb> Yeah, but doing 1.400~ manually, to check for duplicates would not be fun
<infinisil> eyJhb: Use the search function!
<ajs124> eyJhb: there's even duplicates for inits of packages. I know because I created one, because I forgot to search.
<eyJhb> infinisil: how would you search?
<infinisil> eyJhb: Can you not see the field above the PR list where you can enter stuff?
<eyJhb> If I want to know for ALL the opened PRs currently, if there are CURRENTLY any dubs
<eyJhb> Not for a new one
<infinisil> Ohh, you want to check for duplicates generally without a specific package in mind?
<infinisil> Not sure why you'd want that, but no I don't see an easy way to do so
<eyJhb> Yeah, not for a new one :p Sorry for the confusion. - To see if we could close some PRs, no reason for them to stand as open, if e.g. we have a package with version 1.2.3, but there is a PR to "update" it to 1.2.0, or we have two PRs, where one updates it to 1.2.1, and another 1.2.4
iyzsong has joined #nixos
cfricke has joined #nixos
arianvp_ is now known as arianvp
<{^_^}> [nixpkgs] @timokau merged pull request #69224 → vimPlugins: update → https://git.io/JeskD
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JesrL
rsoeldner_ has joined #nixos
syd has quit [Quit: Ping timeout (120 seconds)]
veske has quit [Quit: This computer has gone to sleep]
rsoeldner_ has quit [Ping timeout: 276 seconds]
michaelpj has quit [Quit: ZNC 1.7.4 - https://znc.in]
FRidh has quit [Ping timeout: 245 seconds]
michaelpj has joined #nixos
<yuken> Anything notable I should be aware of for Rust or C# under NixOS?
FRidh has joined #nixos
<Ashy> yuken: for rust you likely want rustup
cfricke has quit [Quit: WeeChat 2.6]
syd has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #69246 → Remove outdated overrides for haskellPackages.PyF and haskellPackages.MemoTrie → https://git.io/Jessk
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/Jesr4
<{^_^}> [nixpkgs] @vcunat pushed 16 commits to release-19.09: https://git.io/Jesr0
o1lo01ol1o has quit [Remote host closed the connection]
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
drakonis has joined #nixos
dermetfan has quit [Ping timeout: 240 seconds]
drakonis_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @flokli closed pull request #69253 → systemd: remove local-fs.target, which was accidentially added to systemd 243 → https://git.io/JesC2
veske has joined #nixos
o1lo01ol1o has joined #nixos
magnetophon has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
craige has quit [Quit: ZNC - http://znc.in]
orivej has quit [Ping timeout: 240 seconds]
hyper_ch2 has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 246 seconds]
craige has joined #nixos
<symphorien> yuken: for rust there is alternatively the mozilla overlay
drakonis_ has joined #nixos
<Yaniel> considering that a bunch of the tooling expects rustup to be available so it can change toolchains on the fly it's probably easier to install rustup from nixpkgs and let that do the rest
<Yaniel> unless you don't use any such tools of course
rople has quit [Ping timeout: 268 seconds]
<yuken> I'll probably grab rustup then, I was just making sure it had no real issues.
<Yaniel> not really beyond it doing everything in your home directory as usual
__monty__ has joined #nixos
__monty__ has joined #nixos
__monty__ has quit [Changing host]
drakonis has quit [Ping timeout: 246 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
<Yaniel> i.e. stuff will be per-user and stored in ~/.cargo instead of shared across the system
drakonis_ has joined #nixos
k41 has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
magnetophon has joined #nixos
Tucky has quit [Ping timeout: 240 seconds]
FRidh has quit [Ping timeout: 276 seconds]
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #69290 → grafana: 6.3.5 -> 6.3.6 → https://git.io/JesrN
mexisme has joined #nixos
drakonis_ is now known as drakonis
FRidh has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
nexgen has quit [Remote host closed the connection]
nexgen has joined #nixos
syd has quit [Remote host closed the connection]
<hodapp> how does one use "oraclejdk.accept_license = true;" in conjunction with local nixpkgs?
<clever> hodapp: probably in config.nix
<hodapp> ~/.nixpkgs/config.nix is the first place I tried.
<hodapp> it ignores it
<clever> hodapp: what did you put in that file?
dermetfan has joined #nixos
<hodapp> the line in question, in brackets (alongside other stuff already in my config, e.g. "android_sdk.accept_license = true;")
<clever> hodapp: does ~/.config/nixpkgs/config.nix exist?
<hodapp> yes... okay, that's odd, not sure why I have both
<clever> hodapp: ~/.config/nixpkgs/config.nix is the new location, and it has priority
<hodapp> good to know.
<clever> $NIXPKGS_CONFIG has even higher priority
<clever> and config = { has the highest
<clever> > (import <nixpkgs> { config.oraclejdk.accept_license = true; }).hello
<{^_^}> "<derivation /nix/store/hnvzgj1b83hy84nq382krlgn3f07jc2g-hello-2.10.drv>"
<{^_^}> [nixpkgs] @Mic92 merged pull request #64467 → jetbrains.idea-community: add darwin support → https://git.io/fjiyP
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jesok
<hodapp> cool, thanks... now off to filing a PR for Processing being b0rked on 19.03 and probably master
FRidh has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #69211 → pythonPackages.license-expression: fix build → https://git.io/Jesvn
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JesoL
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-19.09: https://git.io/Jesot
justanotheruser has joined #nixos
o1lo01ol1o has joined #nixos
<eyJhb> Is there a pure nix way, to check the package version?
<alexarice[m]> `nix eval --raw nixpkgs.hello.version`?
<alexarice[m]> eyJhb: ^
<eyJhb> alexarice[m]: thanks! Will try to use that :D
<eyJhb> I can do -I nixpkgs=somefolder, to use another folde,r right?
<eyJhb> or, nixpkgs instance?
<tilpner> > (builtins.parseDrvName hello.name).version
<{^_^}> "2.10"
<alexarice[m]> not sure what you mean by pure nix way
<tilpner> Some packages don't expose a .version attribute
<eyJhb> tilpner: got any example?
<eyJhb> I would guess python packages didn't
<eyJhb> But they do
<tilpner> I don't have one right now
hyper_ch2 has joined #nixos
<eyJhb> Will find out, have a little mini project going on :D
<tilpner> eyJhb: giblib, boolstuff, libkate
xkapastel has joined #nixos
<alexarice[m]> most packages should have one right? I think most even have a pname now?
veske has quit [Quit: This computer has gone to sleep]
<tilpner> eyJhb: libffi, snack
hmpffff_ has joined #nixos
<eyJhb> alexarice[m]: what is pname versus just name/version?
<eyJhb> Hmm, should be good enough tilpner
<alexarice[m]> eyJhb: in general `name = "${pname}-${version}"
<eyJhb> Ohh yeah, that's right
<eyJhb> Is it used for automation as well? I think I remember something along those lines
<eyJhb> At least for Python
hmpffff has quit [Ping timeout: 246 seconds]
alex``` has quit [Ping timeout: 265 seconds]
zacts has quit [Ping timeout: 276 seconds]
yuken has quit [Quit: Lost terminal]
aswanson has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
joehh has joined #nixos
o1lo01ol1o has joined #nixos
<das_j> is there a reason polkit is built with gnome support by default?
<das_j> I mean there are surely good reasons for desktop systems, but I don't see any point in pushing random x libraries onto my servers
alex``` has joined #nixos
FRidh has joined #nixos
drakonis_ has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
dermetfan has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 250 seconds]
alex``` has quit [Ping timeout: 240 seconds]
markus1189 has quit [Ping timeout: 245 seconds]
chaker has quit [Quit: WeeChat 1.4]
<{^_^}> [nixpkgs] @fpletz merged pull request #69290 → grafana: 6.3.5 -> 6.3.6 → https://git.io/JesrN
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JesoM
FRidh has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @fpletz pushed to master « miller: 5.5.0 -> 5.6.2 »: https://git.io/JesoD
FRidh has joined #nixos
alex``` has joined #nixos
endformationage has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #49272 → mozart2: init at 2.0.1 → https://git.io/fxHLM
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/Jeso5
is_null has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #69293 → Update some mate packages → https://git.io/JesoA
<{^_^}> [nixpkgs] @teto merged pull request #68882 → Neovim: 0.3.8 -> 0.4.2 → https://git.io/Jesop
<{^_^}> [nixpkgs] @teto pushed 5 commits to master: https://git.io/Jesoh
<tilpner> das_j: I was going to say it allows the reuse of desktop polkit for servers, but that only makes sense if a lot of things depend on it
<tilpner> And that doesn't seem to be the case
<tilpner> So self: super: { polkit = super.polkit.override { withGnome = false; }; }
<das_j> sounds like massive rebuilds locally :3
<tilpner> Should only rebuild polkit
<gchristensen> and everything that depends on polkit?
<das_j> that's what I mean
<tilpner> That's what I wondered
<tilpner> Maybe I used nix-store wrong
<tilpner> I did
<{^_^}> [nixpkgs] @timokau opened pull request #69294 → sage: add pager to environment → https://git.io/JesKe
markus1189 has joined #nixos
<tilpner> nix-store --query --referrers-closure /nix/store/qcjiw586pdbp7hqs5q8mqgy13w39vqsw-polkit-0.116.drv
mcbits has quit [Ping timeout: 245 seconds]
chiefgoat has quit [Ping timeout: 265 seconds]
<tilpner> That includes a lot more than --referrers on the output, which I tried first
<tilpner> So back to my initial "it allows the reuse of desktop polkit for servers"
<tilpner> Having it off for servers, but on for desktop machines, would mean double the build time and space use for anything in that closure
<{^_^}> [nix] @JosephLucas opened pull request #3106 → Update garbage-collection.xml readability → https://git.io/JesKf
<das_j> what does the gnome stuff do anyway?
<tilpner> According to the expression, gobject introspection
bbarker has quit [Remote host closed the connection]
<tilpner> But don't ask me what relies on that
<das_j> What does it rely on? ;)
<das_j> *What relies on that
<tilpner> :c
<{^_^}> [nixpkgs] @globin merged pull request #69249 → radeon-profile: 20170714 -> 20190903 [19.09 backport] → https://git.io/Jescu
<{^_^}> [nixpkgs] @globin pushed 3 commits to release-19.09: https://git.io/JesKU
Synthetica has quit [Quit: Connection closed for inactivity]
growpotkin has joined #nixos
chiefgoat has joined #nixos
<{^_^}> [nixpkgs] @fpletz opened pull request #69295 → nixos/systemd: pick more upstream tmpfiles confs → https://git.io/JesKG
<eyJhb> WOndering, is there any reason why the firewall does not purge any previous configuration on start?
<gchristensen> it tries to, but is not 100% thorough
<eyJhb> Not trying to be mean, but it tries very very badly. It doesn't remove 99% of rules
<eyJhb> As far as I could see yesterday at least
<eyJhb> Tried setting networking.firewall.enable from true to false, and did a switch, had all the same rules pretty much. Resolved it by rebooting
<eyJhb> But might need to test it again, from what you are saying :D
<gchristensen> are you doing custom rules?
<eyJhb> I had custom rules yes, but I would still expect it to remove the rules it added itself
<gchristensen> the port forwards and whatnot are all cleanly managed in my experience
<gchristensen> but yeah, overall it doesn't do a great job at this. I think othre firewall implementations make it much easier, but iptables is very difficult to manage iirc
<{^_^}> [nixpkgs] @edolstra merged pull request #69295 → nixos/systemd: pick more upstream tmpfiles confs → https://git.io/JesKG
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/JesKB
<eyJhb> "other firewall implementations"?
<gchristensen> like nftables, for example, I think, has a much nicer atomic update thing
<tilpner> fern was also mentioned in this context
<eyJhb> Yeah, it is.. I was thinking if it should just do a purge on everything in iptables on start, as everything should be managed in NixOS anyways
<clever> eyJhb: the issue is more that, if you change the rules, the firewall script gets restarted, and applies the changes
<clever> eyJhb: but if you disable the firewall, it just doesnt re-run the firewall service
<gchristensen> well no I don't want a purge, I want an atomic switch
<clever> and the stop entry is configured to not turn things off, because you dont want a restart to leave you without a firewall
<gchristensen> purging screws up my services and breaks things for the time it takes to switch
<clever> its expecting the start to overwrite for you
<eyJhb> clever: but shouldn't it still run the stop function before the switch?
<clever> eyJhb: what i just said
<eyJhb> Sees like it generally is a bigger issue
<eyJhb> I really just hated working with it, as it isn't atomic like you would expect it to be (being a part of NixOS and all)
<gchristensen> +1
<clever> eyJhb: there are a lot of edge cases with rebuild switch
<eyJhb> Also, I have opened this issue #69265, because I think there is a bug with the extraCommands, I think they should run before any drop/reject, as the description states
<clever> and the tests cant easily test that, because you have to build 2 configs, boot one, switch to the 2nd, then confirm state
<{^_^}> https://github.com/NixOS/nixpkgs/issues/69265 (by eyJhb, 17 hours ago, open): networking.firewall.extraCommands: should run before all drop/reject
<eyJhb> Maybe gchristensen and clever you can see if you agree?
<clever> eyJhb: one minute
<clever> eyJhb: thats due to how the merging works with types.lines
<eyJhb> I am no network guy/nixos master, but sounds right
<{^_^}> [nixpkgs] @Mic92 opened pull request #69296 → rtlwifi_new: 2018-02-17 -> 2019-08-21 → https://git.io/JesKa
<eyJhb> What do you mean clever?
<clever> eyJhb: if you set extraCommands multiple times, the order when it merges things isnt always obvious, and is based on the order of things in the imports array
<clever> eyJhb: in my case, the commands where being ran before nixos-fw-accept had been created, causing failure
hyper_ch2 has quit [Remote host closed the connection]
<clever> using mkAfter fixes that
<eyJhb> Ahh, yeah, but in this case with the `raw`, you have no way of adding before the drop as far as I can see
rauno has quit [Ping timeout: 240 seconds]
jgt1 has joined #nixos
<clever> eyJhb: i believe the drop only happens after it has tried nixos-fw-accept
<clever> and nixos-fw-accept has no default, so you can append more to it
jgt has quit [Ping timeout: 245 seconds]
<eyJhb> So, what would you suggest that doesn't involve adding before rpfilter -j DROP?
<eyJhb> But also either way, I would expect it to add it before the -j DROP from that description
<clever> eyJhb: have you looked at the example router.nat.nix i linked above?
<eyJhb> Basically, before any reject rules are setup
<eyJhb> Yeah, but I am not into iptables enough to know the firing order :p
<{^_^}> [nixpkgs] @aanderse opened pull request #69297 → nixos/zabbixServer: move pid file from default (/tmp) to /run/zabbix … → https://git.io/JesKo
jonringer has joined #nixos
<clever> eyJhb: run `iptables-save`, look under `*filter` and look at the `-A input` area, all packets start there
<clever> -A INPUT -j nixos-fw
<clever> in my case, `-A INPUT` only has a single entry, that tells it to run thru `-A nixos-fw` next
Makaveli7 has quit [Quit: WeeChat 2.6]
<clever> i dont know why (from -save only) but this line appears after the 3 `-t filter -A nixos-fw` in my router.nat.nix
<clever> -A nixos-fw -j nixos-fw-log-refuse
<clever> which says that anything not matching a thing in `nixos-fw` will go to `nixos-fw-log-refuse`
<eyJhb> Yeah? But what are you saying is the equivalent to what I am doing in that issue?
Mark_ has joined #nixos
veske has joined #nixos
<clever> ah, this explains the part i just said i didnt know
<clever> the log-refuse is handled seperately from extraCommands
<{^_^}> [nixpkgs] @globin merged pull request #69042 → kubernetes: 1.13.9 -> 1.13.11 → https://git.io/Je3T8
<clever> ah, ive not used rpfilter any yet, dont know how it differs
<{^_^}> [nixpkgs] @globin pushed 2 commits to release-19.03: https://git.io/JesKP
karetsu has joined #nixos
<eyJhb> I don't "use it" myself, but it basically doesn't allow my setup to work, where I use my home-gw to force specific IPs to go through tun0 :p
<{^_^}> [nixpkgs] @peterhoeg opened pull request #69299 → hyperv-daemons: fix binary location to stop error log spam → https://git.io/JesKy
<eyJhb> I only ahve it, because it is default when you enable the Firewall, and it sounds like it does a good job of what it does
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<eyJhb> But do you see my dilemma now clever ? I am weird to expect taht other behaviour?
<{^_^}> [nixpkgs] @globin merged pull request #69022 → buildEnv: check pathsToLink before checking collisions → https://git.io/JeOxE
<{^_^}> [nixpkgs] @globin pushed 2 commits to staging: https://git.io/JesKH
<{^_^}> [nixpkgs] @globin merged pull request #68970 → qemu-guest: allow to override security.rngd → https://git.io/JeOKu
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JesKd
jgt1 is now known as jgt
<clever> eyJhb: id have to read it closer to see what exactly is different with the rp stuff
c0c0 has quit [Ping timeout: 252 seconds]
<eyJhb> Might sound rude, but does it matter what it does? Having to remove the -j DROP, to insert whatever one might need, to readd it, seems like something that shouldn't be done
<eyJhb> In any case
<clever> eyJhb: there is also -I to insert at a given offset if you want to use that
domogled has joined #nixos
c0c0 has joined #nixos
<eyJhb> That sounds like something that could be useful! But in general, it seems that firewall/nat could use a makeover, to make it "better"
<clever> yeah
<eyJhb> But not by me, I would screw it up so badly
<clever> it should support allowing a port on a given interface, without having to use extraCommands
<clever> id also love to set it use iptables-restore
<das_j> clever: Dare to look at the nftables implementation of ajs124 and me? :P
<eyJhb> I am just glad my router works now. Everything is NixOS now! Except my Unifi AP, Chromecast and Phone (counting on you samueldr )
<clever> the reason, is that the kernel is using RCU lists for the firewall, read-copy-update
<eyJhb> das_j: link?
<samueldr> eyJhb: I wouldn't hold my breath for the chromecast
<clever> any time you modify the rules, you must copy the entire table, (and modify the copy), then update a single pointer
<clever> and any packets that arrive after the pointer-update will use the new rules
<clever> but, copying that table, gets slower, every time you add a rule
<clever> so if you run `iptables -A` 20 times, the 20th call is 20x slower then the 1st call
<gchristensen> lol
<clever> cat ${something} | iptables-restore, will do the entire update, many rules, in a single atomic operation
<gchristensen> can we reverse engineer the restore format and generate it in Nix?:)
<clever> the problem, is that you have to generate output similar to `iptables-save` from nix, and then use that
<clever> gchristensen: its very simple
<das_j> eyJhb: Proably the worst nix code you will see (one of our first modules): https://paste.efcloud.co/xnVXk7dK
<clever> gchristensen: but, that conflicts with extraCommands, and a lot of junk wants to use bash loops to run iptables multiple times
<gchristensen> aye
<clever> gchristensen: some services like fail2ban also mutate the rules, on the fly
<clever> docker might also do something, cant remember
<gchristensen> definitely
<gchristensen> docker does all sorts of stuff
<eyJhb> samueldr: holding my breath for the phone part mosly :p
<das_j> eyJhb: Also as a disclaimer: Docker, libvirt and friends all use iptables, so this breaks
<eyJhb> das_j: most things hurt already
<clever> gchristensen: basically, each table is just a `*nat` line, some update operations, and a `COMMIT` line, and everything is applied atomicly
<clever> :PREROUTING ACCEPT [20006224:1592249935]
<das_j> eyJhb: me_irl
<eyJhb> Ohh, brothers then das_j ;) :p
<{^_^}> [nixpkgs] @peterhoeg opened pull request #69300 → nixos/home-assistaant: set bluetooth perms → https://git.io/Jes6Y
<clever> gchristensen: this is setting the default target for the chain, and the numbers are packet and byte counters, if you wanted to save them on shutdown and restore on bootup
<clever> -A PREROUTING -j nixos-fw-rpfilter
<clever> gchristensen: the rest, is just a partial iptables argument list, with the `-t raw` omitted
<clever> the original use for save&restore, was to just save at shutdown, then restore on bootup, so your firewall becomes a giant mess of state, that just persists thru reboots, lol
<eyJhb> Well, sometimes something is better than nothing
<eyJhb> But not really
<c0c0> i enabled "services.openssh.enable = true" and set up a user with "openssh.authorizedKeys.keys", and now i can ssh into the NixOS machine remotely. however, when i do so, the backspace key doesn't work properly. the cursor moves to the right instead of to the left when i hit backspace. any hints what could be the problem?
<clever> but nothing says you cant declaratively generate a fake "state" and restore it on bootup
<ajs124> das_j: that's not bad. there's always nixdroid :P
<das_j> yeah, I don't like the developers either
<clever> c0c0: what does `stty` say about `erase` ? on both the local machine, and after you ssh into the remote
mexisme has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<c0c0> erase = ^? in both cases
v0d1ch has joined #nixos
mcbits has joined #nixos
<alexarice[m]> c0c0: in the past I've had problems with $TERMINAL (I think) being set to the wrong value which causes problems
<c0c0> just noticed i don't have this problem using xterm. i only have it when i use termite
<c0c0> when i use termite, then $TERM is 'xterm-termite' both locally and after ssh-ing into the machine
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
veske has quit [Quit: This computer has gone to sleep]
Tucky has joined #nixos
<c0c0> not sure what's the problem with termite and ssh
veske has joined #nixos
<eyJhb> c0c0: export TERM="vt100"
<eyJhb> Is what I normally do, I use urxvt
<c0c0> eyJhb: locally?
<eyJhb> When SSH'ed into the host
o1lo01ol1o has quit [Remote host closed the connection]
<eyJhb> I have actually just set it is a environment variable on my NixOS machines I SSH into :p
<eyJhb> Couldn't care less, just want it to work
o1lo01ol1o has joined #nixos
<gchristensen> I'm trying to package Net::Prometheus for nixpkgs. at build time, after patching a few files, I get an error: Can't open perl script "Makefile.PL": No such file or directory -- anyone know anything?
<c0c0> eyJhb: that works
<eyJhb> c0c0: I would just go with that :p
orbekk1 has quit [Quit: WeeChat 2.4]
orbekk has joined #nixos
orbekk has quit [Client Quit]
orbekk has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
hmpffff_ has quit [Quit: nchrrrr…]
turion has joined #nixos
k41 has quit [Remote host closed the connection]
joehh has quit [Ping timeout: 245 seconds]
bgamari has quit [Ping timeout: 240 seconds]
<aleph-> Something breaking with iptables?
syd has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #69301 → check-openvpn: init at 0.0.1 → https://git.io/Jes6N
hmpffff has joined #nixos
<exarkun> using <nixpkgs/nixos/tests/make-test.nix> it seems like VM disks are re-used... including side-effects from previous runs? ack?
veske has quit [Quit: This computer has gone to sleep]
bgamari has joined #nixos
<gchristensen> do you have like qcow.whatever files in ./ ?
<exarkun> I don't seem to
<gchristensen> how about /tmp ? I don'tremember exactly, but if you run them at the CLI (as opposed to being in an nix-build, they'll reuse state)
<exarkun> hm yea it might just be the `-A driver` case
dansho has quit [Ping timeout: 268 seconds]
dsx has quit [Quit: dsx]
<exarkun> there are qcows in various /tmp/vm-state-<machine> directories, yea
bgamari_ has joined #nixos
Zer0xp has joined #nixos
<exarkun> where does `$machine->log(...)` go?
bgamari has quit [Ping timeout: 245 seconds]
<exarkun> clever: what if I'm not a perl programmer
<exarkun> I read that function already, idk what it means :(
<clever> exarkun: the `new` function recieves a log argument
<exarkun> maybe what I should really ask is "What do I do to get debug output from a test run"
<clever> exarkun: and that log argument comes from `new Logger`
<clever> which comes from `use Logger;`
<clever> i'm guessing thats in the perl docs
syd has quit [Remote host closed the connection]
<clever> or not, lol
<clever> exarkun: it will open $LOGFILE, and if that env var isnt set, /dev/null
<clever> exarkun: the nixos tests should write that to $out i believe, try the index.html in $out
syd has joined #nixos
Mark_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<exarkun> I don't get $out if the tests fail though?
<clever> exarkun: you do
<clever> exarkun: there is a special flag, to make the build "pass" even if it fails
<exarkun> it would be really cool to just have a way to dump stuff to stdout of nix-build
<eyJhb> I "hoped" I would find more duplicate pull requests, but I found like... 10
<clever> exarkun: regular old print?
DariusTheMede has joined #nixos
Zer0xp has quit [Quit: Bye!]
dm9 has joined #nixos
hmpffff_ has joined #nixos
<DariusTheMede> How do I tell nix-shell not to "use the binary cache https://cache.nixos.org"?
<das_j> DariusTheMede: --options substituters "http://whatever"
<das_j> sorry --option
<DariusTheMede> I'd like to have my own cache on the shared machine for which I do *not* have sudo
<exarkun> okay maybe my problem is misunderstanding what `execute` does
johanot has joined #nixos
<exarkun> and how perl works in general
zacts has joined #nixos
chiefgoat has quit [Ping timeout: 265 seconds]
<davidtwco> Is anyone aware of an issue using mosh on 19.03? Using `programs.mosh.enable = true;`. When I connect, I get the following message:
<davidtwco> zsh:1: command not found: mosh-server
<davidtwco> /nix/store/fzjr4vfv9vblvc731mg79s11zpbaq0wb-mosh-1.3.2/bin/.mosh-wrapped: Did not find mosh server startup message. (Have you installed mosh on your server?)
<davidtwco> Connection to $host closed.
<exarkun> `my $log = $machine->execute(...);` is wrong because execute returns two values and that assignment just drops the 2nd, which is the actual output
<gchristensen> davidtwco: you need to enable mosh on the remote server too, did you do that?
<davidtwco> gchristensen: yeah, they both have programs.mosh.enable = true;
hmpffff has quit [Ping timeout: 245 seconds]
<davidtwco> I found #25835 on GitHub that seems like a similar-ish issue but with fish.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/25835 (by therealpxc, 2 years ago, merged): Fish: source NixOS environment on non-login shells + source shell init on NixOS even when parent shell has done so
<davidtwco> (oops, that's the PR that fixed it, #25789)
<{^_^}> https://github.com/NixOS/nixpkgs/issues/25789 (by rnhmjoj, 2 years ago, closed): mosh fails to connect with fish
drakonis has joined #nixos
<karetsu> how do I unlock the gnome keyring when I log in with lightdm without logging in to gnome? I'm looking in security.pam but it seems there are a billion options
<karetsu> ah found it
o1lo01ol1o has joined #nixos
dsx has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
<DariusTheMede> I am trying nix-shell -I nixpkgs=../nixpkgs --option substituters ""
<DariusTheMede> But I think something is still trying to get something from the network
<DariusTheMede> these derivations will be built:
<DariusTheMede> ...
<DariusTheMede> /nix/store/b7irlwi2wjlx5aj1dghx4c8k3ax6m56q-busybox.drv
<DariusTheMede> /nix/store/g10mbn7d0qgl4pqs4s4vsmj9fm56xa5y-bash-interactive-4.4-p23.drv
<DariusTheMede> building '/nix/store/myfzvw3m2fzg7r3xkzr15c0flbc9mxiq-bash-4.4.tar.gz.drv'...
<DariusTheMede> I see no activity on the computer
<clever> DariusTheMede: if you disable the binary cache, it cant download a pre-built copy of bash, so it has to instead download the source for bash
<DariusTheMede> clever: I have a copy of nixpkgs - is that not enough?
<{^_^}> [nixpkgs] @globin opened pull request #69302 → networkd: disallow dhcp → https://git.io/JesiO
<clever> DariusTheMede: that just says what version of everything to download/build
<DariusTheMede> clever: I have very little access to the network - what should be my strategy?
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<clever> DariusTheMede: pre-download things from the binary cache, before you go offline
<DariusTheMede> clever: I can download them to my local computer and then scp them to the machine I am working on
<clever> DariusTheMede: for that, you want nix-copy-closure, which needs ssh between the 2 machines
<azazel> anyone knows anything about why this error with pip is happening? https://discourse.nixos.org/t/nix-shell-on-a-python-package-gives-a-pip-error
chiefgoat has joined #nixos
* DariusTheMede goes to google nix-copy-closure
<clever> DariusTheMede: it also has a man page
hmpffff_ has quit [Quit: nchrrrr…]
<clever> DariusTheMede: step 1, sudo nix-copy-closure --from foo /nix/store/bar
<{^_^}> [nixpkgs] @flokli opened pull request #69303 → httpie: run tests → https://git.io/Jesin
<clever> step 2, sip some hot-chocolate
<DariusTheMede> clever: I don't have sudo
<clever> DariusTheMede: then run it as root via some other means
<DariusTheMede> clever: what I mean is I do not have root priviliges
<DariusTheMede> the hot chocolate sounds nice
<clever> DariusTheMede: singleuser or multiuser nix install?
Ariakenom_ has joined #nixos
zupo has joined #nixos
Ariakenom has quit [Ping timeout: 245 seconds]
hyper_ch2 has quit [Remote host closed the connection]
<DariusTheMede> single user - but I am trying to remember how I did it
<clever> DariusTheMede: if its single-user, then you dont need root
<clever> just `nix-copy-closure --from host /nix/store/whatever` and ignore all the key junk
zupo has quit [Ping timeout: 265 seconds]
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
dermetfan has joined #nixos
aminechikhaoui has joined #nixos
syd has quit [Remote host closed the connection]
karetsu has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @timokau merged pull request #69294 → sage: add pager to environment → https://git.io/JesKe
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/Jesiz
waleee-cl has joined #nixos
<eyJhb> Anybody have a better way of getting a package version than `nix eval --raw nixpkgs.poppler_utils.version` ? As that syntax is having a hard time with poppler_utils, plex, etc.
xkapastel has quit [Quit: Connection closed for inactivity]
<DariusTheMede> clever: what should my host be? I am on macos but the machine to which I wish to copy is x86_64 GNU/Linux
<DariusTheMede> Will that still work?
<waleee-cl> quick question, has nixos-unstable moved to gcc 8 for some packages?
<clever> DariusTheMede: you would run `nix-copy-closure --from host` on the destination
<clever> DariusTheMede: and `host` is the machine that did have internet access, and has a copy of the thing
fusion809 has joined #nixos
* DariusTheMede thinks this sounds like magic
<DariusTheMede> or witchcraft
<clever> DariusTheMede: it copies storepaths from one machine to another, both machines need nix installed
Ariakenom_ has quit [Remote host closed the connection]
<clever> DariusTheMede: they dont have to be the same os, and you can have binaries from the "wrong" os in your /nix/store/
Ariakenom__ has joined #nixos
<waleee-cl> Anyone got a hunch on how long qt takes to compile? (on a fairly new core i5)
<{^_^}> [nixpkgs] @teto merged pull request #67240 → ns-3: 3.29 -> 3.30 → https://git.io/fjNfQ
<{^_^}> [nixpkgs] @teto pushed to master « ns-3: 3.29 -> 3.30 »: https://git.io/JesPf
Okinan has joined #nixos
magnetophon has quit [Ping timeout: 250 seconds]
growpotkin has joined #nixos
v0d1ch has quit [Ping timeout: 264 seconds]
Tucky has quit [Quit: WeeChat 2.6]
growpotkin has quit [Ping timeout: 265 seconds]
jonringer has quit [Ping timeout: 265 seconds]
erasmas has joined #nixos
mcbits has quit [Read error: Connection reset by peer]
zacts has quit [Quit: WeeChat 2.4]
mcbits has joined #nixos
<DariusTheMede> clever: nix-copy-closure --to DariusTheMede@Persia /nix/store/k24zjshzcp0s1ps0q6c0n188qbgmgxp2-jupyter-R-kernel.drv
<DariusTheMede> bash: nix-store: command not found
<DariusTheMede> Yet nix-store seems to be on both the source and destination hosts
<tilpner> DariusTheMede: ssh DariusTheMede@Persia nix-store --version gives you a version number, right?
<DariusTheMede> nix-copy-closure (Nix) 2.2.2
<tilpner> No, run the ssh thing
asymptotically has joined #nixos
<DariusTheMede> bash: nix-store: command not found
<tilpner> Does your shell config set PATH, so that nix-store can be found?
<tilpner> (Because that will not happen via ssh)
<tilpner> (At least, not the login shell parts)
iqubic has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
Ariakenom__ has quit [Ping timeout: 276 seconds]
<DariusTheMede> I have if [ -e /home/dominic.steinitz/.nix-profile/etc/profile.d/nix.sh ]; then . /home/dominic.steinitz/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer in .bash_profile
<tilpner> DariusTheMede: I suspect that is not being executed here
jgt has quit [Ping timeout: 246 seconds]
<DariusTheMede> tilpner: any suggestions on what I could do?
<exarkun> If I define a function `{ pkgs, ... }: ...` then, eg, callPackages will automatically pass `pkgs` to it
<exarkun> If I define a function `args: thatFirstFunction args` then, eg, callPackages will not automatically pass pkgs to it
<exarkun> How do I insert higher-order behaviors in this context?
<tilpner> DariusTheMede: I'm not too familiar with bash, SE suggests this is read. Is this from your .bash_profile on localhost or Persia?
<emily> exarkun: I sometimes do { pkgs, ... } @ args: as a workaround
<emily> not ideal, I know
wfranzini has quit [Remote host closed the connection]
<DariusTheMede> I assume on Persia
<exarkun> darn :/
<tilpner> DariusTheMede: You assume?
Guest66 has joined #nixos
<DariusTheMede> tilpner: I don'
<DariusTheMede> t know how to check
<DariusTheMede> Oh sorry
<DariusTheMede> What I posted is from Persia
<tilpner> DariusTheMede: And when you login interactively, this adds nix-store to your PATH properly?
<DariusTheMede> My localhost is macos and doesn't use .bash_profile
<tilpner> As that same user
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<clever> DariusTheMede: on darwin, you must mess with .bashrc in the home dir
<{^_^}> [nixpkgs] @eraserhd opened pull request #69304 → osxsnarf: init at 0.1.0 → https://git.io/JesPB
<clever> DariusTheMede: darwin's bash will never run a global file from /etc when doing non-interactive ssh
mexisme has joined #nixos
<tilpner> DariusTheMede: This is about the host "Persia". We don't know what OS it runs
<tilpner> Some Linux, possibly NixOS
<DariusTheMede> uname says x86_64 GNU/Linux
<DariusTheMede> It's definitely not nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #69303 → httpie: run tests → https://git.io/Jesin
<DariusTheMede> I have a .bash_profile on Persia
<clever> DariusTheMede: try adding a .bashrc with similar code?
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JesPg
<DariusTheMede> clever: on Persia or on my local macos computer?
<DariusTheMede> I assume Persia
<clever> DariusTheMede: on the remote machine, from `ssh remote nix-store --version` when it fails
growpotkin has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
<DariusTheMede> copying 1933 paths...
<DariusTheMede> Time for my hot chocolate
<tilpner> DariusTheMede: What did you change?
<DariusTheMede> thanks clever and tilpner
lockshaw_ has joined #nixos
rouma has joined #nixos
<DariusTheMede> I put f [ -e /home/DariusTheMede/.nix-profile/etc/profile.d/nix.sh ]; then . /home/DariusTheMede/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer in .bashrc
fresheyeball has quit [Quit: WeeChat 2.4]
growpotkin has quit [Ping timeout: 245 seconds]
zacts has joined #nixos
<{^_^}> [nixpkgs] @ambrop72 opened pull request #69306 → virtualboxGuestAdditions: Fix clipboard integration. → https://git.io/JesPy
sigmundv has quit [Ping timeout: 246 seconds]
Denommus has joined #nixos
jgt has joined #nixos
<DariusTheMede> clever: I now try nix-shell -I nixpkgs=../nixpkgs on Persia but it looks like it is still trying to use https://cache.nixos.org
rauno has joined #nixos
growpotkin has joined #nixos
<clever> DariusTheMede: you will still want to disable using the cache
<DariusTheMede> Perhaps I need to copy bash across as well as my derivation?
<clever> DariusTheMede: you need to copy everything nix wants, oh, and ssh substituters
<clever> DariusTheMede: nix-shell --option substituters ssh://user@host
drakonis_ has joined #nixos
<clever> that will just fetch whatever it can from the remote machine
dm9 has quit [Quit: WeeChat 2.6]
eraserhd has quit [Quit: WeeChat 2.6]
drakonis has quit [Ping timeout: 265 seconds]
eraserhd has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to gnome-3.34 « squash! gnome3.geary: 3.32.2 → 3.33.91 »: https://git.io/JesXq
endformationage has quit [Quit: WeeChat 2.6]
drakonis_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #68418 → dante: add darwin support → https://git.io/JeqNo
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JesXc
justanotheruser has quit [Ping timeout: 240 seconds]
Palpares has quit [Remote host closed the connection]
Palpares has joined #nixos
Ariakenom__ has joined #nixos
<DariusTheMede> clever: that's not so easy for me - I am on a VPN so I think I would have to look up the router mapping?
<DariusTheMede> My macbook doesn't have a name that DNS can look up
<{^_^}> [nixpkgs] @Mic92 merged pull request #68979 → pulumi-bin: 0.17.27 -> 1.1.0 → https://git.io/JeOXp
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JesX0
<DariusTheMede> So I can copy to or from Persia but really on on my macbook
<DariusTheMede> only on my macbool
<DariusTheMede> macbook
<{^_^}> [nixpkgs] @Mic92 closed pull request #61828 → multipath-tools: 0.6.2 -> 0.8.1 (cont. https://github.com/NixOS/nixpkgs/pull/61824)https://git.io/fj4gl
orivej has joined #nixos
<clever> DariusTheMede: you can use an IP as well
<clever> DariusTheMede: also, if your vpn is blocking internet access, you should probably look into fixing it to not
<DariusTheMede> clever: it's a question of finding the IP address - I have a 192,168.x.y address
zacts has quit [Quit: WeeChat 2.4]
<clever> DariusTheMede: run `ifconfig` on both machines, do they share a subnet? can one ssh to the other?
<{^_^}> [nixpkgs] @mmahut opened pull request #69307 → jormungandr: 0.3.9999 -> 0.5.0 → https://git.io/JesXo
<DariusTheMede> I can ssh from my macbook to Persia but not the other way round
<clever> DariusTheMede: and which is the client with no network access?
justanotheruser has joined #nixos
nalck has joined #nixos
gagbo has joined #nixos
<shyim> How to i use specific version of linux kernel?
<shyim> Lot of places i find something like "kernelPackages = pkgs.linux_5_2;"
<shyim> But that throws an error with error: attribute 'extend' missing
<{^_^}> [nixpkgs] @Gerschtli opened pull request #69308 → dwm-status: 1.6.2 -> 1.6.3 → https://git.io/JesXM
LysergicDreams has quit [Ping timeout: 240 seconds]
<clever> shyim: you must give it a set, like pkgs.linuxPackages_5_2
<clever> shyim: it will then use that to get modules like nvidia, for 5.2
<clever> so this basically replaces the whole dkms mess that i think ubuntu made to solve the problem?
LysergicDreams has joined #nixos
Soo_Slow has joined #nixos
<DariusTheMede> clever: Persia has limited network access - I can ssh to / from it but only by issuing commands on my macbook
<clever> DariusTheMede: why not forward a port the other way, with `ssh -R` ?
drakonis has joined #nixos
<clever> DariusTheMede: then it will be allowed to ssh into the mac
nikola_i has quit [Ping timeout: 250 seconds]
<clever> DariusTheMede: you could even use `ssh -R` to forward the whole cache.nixos.org, if you mess with Persia's /etc/hosts
* DariusTheMede goes to investigate but has fried his brain too much today
<DariusTheMede> I doubt I am allowed to mess with /etc/hosts
<clever> DariusTheMede: why is the network and root access so locked down on this Persia machine?
<DariusTheMede> I assume because they want to protect themselves - I don't set the policy
<clever> DariusTheMede: who is "they" and why do you need nix-shell to work on such a restricted machine?
<clever> DariusTheMede: can you not use nix-shell to develop elsewhere, and then copy the final product over when its done?
<Guest66> Where am I supposed to do that (i.e `pkgs.symlinkJoin ...`)?
DariusTh` has joined #nixos
<DariusTh`> I'd like to use nix to ensure we all run the same software both on our local computers
<clever> DariusTh`: that can only reasonably be done if you have network access to a machine that can provide that software
<DariusTh`> My network connection dropped so I don't know what got posted
dermetfan has quit [Ping timeout: 250 seconds]
<DariusTh`> hang on a mo
<{^_^}> [nixpkgs] @mmahut merged pull request #69220 → consul: 1.6.0 -> 1.6.1 → https://git.io/JesTS
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JesXd
DariusTheMede has quit [Ping timeout: 245 seconds]
<rizary_> hi.. when I enter into nix-shell with `-p docker`, and try to load with `docker load i ...`, i got an error: `Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?`
<clever> rizary_: you need to enable docker in configuration.nix to get the daemon running
<clever> rizary_: virtualisation.docker.enable = true;
niksnut has quit [Remote host closed the connection]
<rizary_> clever: strange, the first attempt is succeed. and that error is from the second attempt.
<rizary_> okay, I'll try it.
zacts has joined #nixos
<DariusTh`> clever: we'd like to be able to run the same program locally and also on the powerful cloud machine
<DariusTh`> But there's a lot of dependencies
jgeerds has joined #nixos
<clever> DariusTh`: you can use `nix-copy-closure` to copy that between 2 machines, as long as you have ssh from one to the other
<DariusTh`> clever: I haven't yet convinced the folks who are responsible for the cloud machine to run nix
<DariusTh`> Thus I am in single user mode
niksnut has joined #nixos
<DariusTh`> And I have convinced my coworkers that nix makes their lives easy
<DariusTh`> I even have them all running nix locally
<DariusTh`> So the problems some of them had getting scikits-odes to work are now a thing of the past
<DariusTh`> That's scikits-odes using sundials built with lapack support
<{^_^}> [nixpkgs] @edolstra pushed 3 commits to master: https://git.io/JesXj
<DariusTh`> But we'd like to run our stuff on a cloud box with many CPUs
<DariusTh`> This box is secured so I can't do as much as I would like on it
<DariusTh`> Does that help give some background?
<DariusTh`> Oh and running the same R packages and the same Python packages and the same Haskell packages
philr has quit [Ping timeout: 245 seconds]
<DariusTh`> clever: I thought I had found the correct derivation on my local machine to copy across
silver has joined #nixos
<DariusTh`> This gave me /nix/store/k24zjshzcp0s1ps0q6c0n188qbgmgxp2-jupyter-R-kernel.drv
<DariusTh`> And on my macbook I did nix-copy-closure --to DariusTheMede@Persia /nix/store/k24zjshzcp0s1ps0q6c0n188qbgmgxp2-jupyter-R-kernel.drv
nalck has quit [Quit: nalck]
jgt has quit [Ping timeout: 276 seconds]
shibboleth has joined #nixos
<DariusTh`> But running that derivation (https://pastebin.com/Jdzt7jsX) on Persia still tries building '/nix/store/myfzvw3m2fzg7r3xkzr15c0flbc9mxiq-bash-4.4.tar.gz.drv'...
<DariusTh`> I don't seem to have that on my macbook so I don't what to nix-copy-closure in addition
<{^_^}> [nixpkgs] @matthewbauer opened pull request #69309 → androidndk: get correct libs for x86_64 → https://git.io/Jes1q
<DariusTh`> Anyway I am done for the day
jgt has joined #nixos
endformationage has joined #nixos
growpotkin has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #69310 → [wip] wafHook: don’t depend directly on python → https://git.io/Jes1s
<{^_^}> [nixpkgs] @matthewbauer pushed to release-19.03 « Revert "daemon: init at 0.6.4" »: https://git.io/Jes1l
<{^_^}> [nixpkgs] @matthewbauer pushed to release-19.09 « treewide: replace daemon with enableDaemon »: https://git.io/Jes1B
zacts has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @liff opened pull request #69311 → haskellPackages.hadolint: fix build by disabling static linking → https://git.io/Jes10
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to release-19.09: https://git.io/Jes1u
<exarkun> is cabal2nix really the recommended way to package a Haskell stack project for nixos?
iqubic has joined #nixos
Zer0xp has joined #nixos
timclassic has left #nixos ["User left"]
ATuin has joined #nixos
mexisme has joined #nixos
akamaus has joined #nixos
ixxie has joined #nixos
<akamaus> greetings
dermetfan has joined #nixos
<exarkun> pkgs.callPackage isn't passing mkDerivation to this cabal2nix-generated expression
avod has quit [Remote host closed the connection]
domogled has quit [Quit: domogled]
<exarkun> oh it's supposed to be some haskell callPackages instead
mexisme has quit [Ping timeout: 276 seconds]
ixxie has quit [Quit: Lost terminal]
<akamaus> is it possible to override a single module so it comes, say, from master branch of nixpkgs while the rest of system is from nixos-19.03?
m15k has joined #nixos
ris has joined #nixos
DariusTh` has quit [Ping timeout: 268 seconds]
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @elohmeier opened pull request #69312 → goaccess: fix geoip database configuration → https://git.io/Jes1p
gagbo has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @talyz opened pull request #69313 → nixos/gitlab: Update release notes and documentation → https://git.io/Jes1h
Sellerie has quit [Quit: The Lounge - https://thelounge.github.io]
gagbo has joined #nixos
abrar has quit [Quit: WeeChat 2.4]
swerlk has quit [Remote host closed the connection]
pikajude has quit [Remote host closed the connection]
pikajude has joined #nixos
ixxie has joined #nixos
dermetfan has quit [Ping timeout: 268 seconds]
wildtrees has joined #nixos
is_null has quit [Ping timeout: 265 seconds]
ixxie has quit [Remote host closed the connection]
johanot has quit [Quit: WeeChat 2.4]
ixxie has joined #nixos
<ixxie> howdy folks
<{^_^}> [nixpkgs] @paulreimer opened pull request #69314 → vimPlugins.ShowMultiBase: init at 2010-10-18 → https://git.io/JesMs
<ixxie> anybody know about the SANE backends?
<ixxie> I'm having trouble
dansho has joined #nixos
<ixxie> specifically, I am trying to scan from a Canon Pixma MP250 in SimpleScan on NixOS
rhitakorrr has joined #nixos
<ixxie> I tried something like https://pastebin.com/JErWSH81
<{^_^}> [nixpkgs] @mmahut merged pull request #69307 → jormungandr: 0.3.9999 -> 0.5.0 → https://git.io/JesXo
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JesM8
Ariakenom__ has quit [Remote host closed the connection]
abrar has joined #nixos
dansho has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<akamaus> clever: cool trick! Unfortunately, looks like it doesn't work in my case. Old module is probably ok, what I want to replace is the derivation it uses to create systemd service. And seems like module from master branch still uses the derivation from my stable pkgs.
<clever> akamaus: if you want to replace the derivation, you need an overlay
mcbits has quit [Ping timeout: 264 seconds]
LysergicDreams has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Ping timeout: 276 seconds]
<rhitakorrr> Hi folks - I'm having an issue with one of my derivations. It builds fine on Linux but fails on Mac. This GitHub issue has the error: https://github.com/robwhitaker/taskwarrior-habitica-bridge/issues/2
<{^_^}> robwhitaker/taskwarrior-habitica-bridge#2 (by Alexander-Rando, 4 hours ago, open): Build fails on macOS Mojave 10.14.6
<rhitakorrr> It seems to be an instance of this problem: https://github.com/NixOS/nixpkgs/issues/65927
<{^_^}> #65927 (by zaoqi, 7 weeks ago, open): macOS: `python38` beta build failed
<rhitakorrr> But I'm not sure how to resolve it.
mcbits has joined #nixos
LysergicDreams has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
ixxie has quit [Ping timeout: 276 seconds]
v0d1ch has joined #nixos
hounded has joined #nixos
hmpffff has joined #nixos
avn has joined #nixos
is_null has joined #nixos
<hounded> Is anyone familiar with this error? I don't know where the reference to 'fileSystems' is coming from:
<hounded> - The ‘fileSystems’ option does not specify your root file system.
<hounded> Failed assertions:
<hounded> - You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable.
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5051f5435ea (from 67 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
v0d1ch has quit [Ping timeout: 245 seconds]
doyougnu has joined #nixos
<qyliss> hounded: can you share your configuration?
<qyliss> the reference to fileSystems is because you haven't told NixOS how to mount your root filesystem
<akamaus> hounded: one should have fileSystems in /etc/nixos/configuration.nix before installation. It probably determines (besides other stuff) where to install grub stage code. I remember seeing similar error during struggle nonstandard grub setup.
<{^_^}> [nixpkgs] @fpletz pushed commit from @WilliButz to release-19.09 « grafana: 6.3.5 -> 6.3.6 »: https://git.io/JesM9
endformationage has quit [Quit: WeeChat 2.6]
rouma has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
alienpirate5 has quit [Changing host]
alienpirate5 has joined #nixos
alienpirate5 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<dooms> exarkun: while I've not much experience with it, there is stack2nix as well
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #68864 → dynd: fix build → https://git.io/JesDt
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JesDq
page has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 pushed commit from @teh to release-19.09 « dynd: fix build »: https://git.io/JesD3
<exarkun> hm okay. at least I could believe that's more likely to look at my stack configuration and do the right thing. I guess, like cabal2nix, it needs to be rerun anytime the its sources (ie, the stack config files) change
<hounded> Ok, thanks I'll have a look at the configuration file -- this is a test deploy to a brand new nixos machine...
Ariakenom has joined #nixos
Guest66 has left #nixos [#nixos]
<rhitakorrr> exarkun: cabal2nix can be run automatically as part of your derivation (e.g. pkgs.callCabal2nix). Maybe there's something like that defined for stack as well? I don't know myself.
rmeis has joined #nixos
<qyliss> hounded: what do you mean by that? how are you deploying it?
<exarkun> rhitakorrr: cool, didn't know about callCabal2nix, I'll investigate that angle.
<clever> rhitakorrr: cabal2nix needs a copy of the src, and you can usually get that with `fetchFromGitHub` or related
<clever> rhitakorrr: but stack2nix level stuff, typically just gets git rev's from the stack file, and doesnt know what the sha256 of things are, so it cant purely generate the nix
Neo-- has joined #nixos
emptyfl4sk has joined #nixos
<tokudan> I've recently discovered the nixos-hardware repo and want to import a specific nix in my configuration.nix. how do I do that without maintaining a local clone or setting up a channel? basically I want to use fetchFromGitHub, but cannot figure out how to do the actual import. right now I've got let nixos-hw = fetchFromGitHub {...}; in { imports = [ noideawhatneedstogohere ]; ... }
<clever> tokudan: imports = [ "${nixos-hw}/foo/bar.nix" ];
<emptyfl4sk> O
<tokudan> that works? i don't need to convert that to a path or something?
<clever> tokudan: derivations are paths
<clever> and fetchFromGitHub is a derivation
<emptyfl4sk> I'm having an issue with nix/ruby/bundix/rake: https://gist.github.com/emptyflask/7cab84936deeba15a89090cc16ab0bf2
<tokudan> well, the "${nixos-hw}/foo.nix" is a string
<clever> tokudan: it will convert the path to a string automatically
<emptyfl4sk> rake is trying to find the gemspec in it's /nix/store directory instead of the current one
<emptyfl4sk> output is in the above gist
<{^_^}> [nixpkgs] @Mic92 merged pull request #69256 → pythonPackages.cairocffi: v1.0.2 -> v.1.1.0 → https://git.io/Jeslq
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JesDw
<tokudan> clever, gives me an infinite recursion
<{^_^}> [nixpkgs] @Mic92 pushed commit from @d-goldin to release-19.09 « pythonPackages.cairocffi: v1.0.2 -> v.1.1.0 »: https://git.io/JesDr
<clever> tokudan: because you cant use pkgs in imports, need to use `builtins.fetchTarball` instead, or nix-channel
<tokudan> oh, so i cannot use the checksum to verify that it's good?
<clever> tokudan: you could also import a 2nd pkgs
<clever> tokudan: (import <nixpkgs> {}).fetchFromGitHub
<tokudan> hmm... if that takes care of the checksum, that might be worth it
<{^_^}> [nixpkgs] @Mic92 merged pull request #69296 → rtlwifi_new: 2018-02-17 -> 2019-08-21 → https://git.io/JesKa
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JesDK
ATuin has quit [Quit: WeeChat 2.6]
<tokudan> interesting.... i used lib.fakeSha256 and fetchFromGitHub ran three times
<{^_^}> [nixpkgs] @Mic92 pushed to release-19.09 « rtlwifi_new: 2018-02-17 -> 2019-08-21 »: https://git.io/JesD6
<tokudan> clever, seems to work, thank you :)
civodul has joined #nixos
Zer0xp has quit [Ping timeout: 265 seconds]
LysergicDreams has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @eraserhd opened pull request #69317 → kakounePlugins.kak-plumb: init at 0.1.0 → https://git.io/JesD1
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #67857 → nixos/postgresql-wal-receiver: remove restart limit → https://git.io/fjpYR
<{^_^}> [nixpkgs] @danbst pushed commit from @pacien to master « nixos/postgresql-wal-receiver: remove restart limit (#67857) »: https://git.io/JesDH
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #69318 → WIP services.emacs: fx do not set EDITOR = [ ] in the else case → https://git.io/JesD5
hmpffff has joined #nixos
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @Tomahna opened pull request #69319 → mopidy: add setuptools to propagatedBuildInputs → https://git.io/JesDN
fendor has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #67377 → vimPlugins.float-preview.nvim: init at 2019-04-07 → https://git.io/fjNSd
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JesDp
o1lo01ol1o has quit [Remote host closed the connection]
<manveru> emptyfl4sk: does your Gemfile happen to have a `gemspec` line in it?
<manveru> emptyfl4sk: because that's not supported
<{^_^}> [nixpkgs] @Tomahna opened pull request #69320 → mopidy-iris: 3.39.0 -> 3.40.0 → https://git.io/Jesyv
m15k has quit [Remote host closed the connection]
shabius has quit [Quit: Leaving]
fendor has quit [Client Quit]
<{^_^}> [nixpkgs] @vbgl opened pull request #69321 → ocamlPackages.camlpdf, ocamlPackages.cpdf: 2.2.1 → 2.3 → https://git.io/Jesyk
rmeis has quit [Ping timeout: 240 seconds]
<emptyfl4sk> manveru: it does. everything is picked up correctly in gemset.nix though
<manveru> yes, bundix can handle it, but not bundlerEnv
shabius has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #69322 → pynac: 0.7.25 -> 0.7.26 → https://git.io/JesyY
<manveru> mostly because bundler behaves very stubborn... i've got a version of bundix that generates the Gemfile/Gemfile.lock from the gemset.nix to circumvent that, but it's pretty alpha
<emptyfl4sk> hmm. I'll have to just add everything to the Gemfile for now
m15k has joined #nixos
is_null has quit [Ping timeout: 245 seconds]
is_null has joined #nixos
<manveru> that works too :)
<emptyfl4sk> is there a better workaround?
<manveru> not yet
kleisli has joined #nixos
joehh has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
<m15k> Someone already setup a bash-completion for a go package?
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<LnL> vault has bash completions
evils has joined #nixos
is_null has quit [Ping timeout: 245 seconds]
kleisli has quit [Remote host closed the connection]
<m15k> I wonder how the completions are linked to shell.
kleisli has joined #nixos
<m15k> Tried to apply that to lxd: https://gist.github.com/asbachb/948c6e8ec1eadbc1f203d08392cbb18f - But I guess I misunderstand the concept.
Sellerie has joined #nixos
o1lo01ol1o has joined #nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<duncan> there's usually a script sourced in /usr/share/bash-completion/bash_completion, which sources all the completions (interactive and non-interactive)
<duncan> and maybe in /etc/bash-completion.d there may be other completions.
is_null has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
emptyfl4sk has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @wkral opened pull request #69323 → virtualbox: Temporary fix for kernel >= 5.3 → https://git.io/Jesyy
<{^_^}> [nixpkgs] @Mic92 merged pull request #65817 → build-support: Add p11_kit to appimage dependency set → https://git.io/fj97q
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JesyS
<{^_^}> [nixpkgs] @Mic92 pushed commit from @bgamari to release-19.09 « build-support: Add p11_kit to appimage dependency set »: https://git.io/Jesy9
mexisme has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #69319 → mopidy: add setuptools to propagatedBuildInputs → https://git.io/JesDN
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JesyQ
Neo-- has quit [Ping timeout: 245 seconds]
<m15k> duncan: I guess in NixOs these files are somewhere else than `/usr/share/`?
<{^_^}> [nixpkgs] @fpletz merged pull request #69320 → mopidy-iris: 3.39.0 -> 3.40.0 → https://git.io/Jesyv
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/Jesyb
__red__ has joined #nixos
<clever> /run/current-system/sw/share/bash-completion/completions/
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-19.09: https://git.io/JesyA
<clever> m15k: same place all the share stuff winds up
joehh has quit [Ping timeout: 246 seconds]
<m15k> clever: Thanks. Sorry for that.
rouma has joined #nixos
<das_j> clever: Did you get your binfmt qemu running on 19.09?
kleisli has quit [Remote host closed the connection]
<tilpner> das_j: See boot.binfmt.emulatedSystems
rouma has quit [Read error: Network is unreachable]
rouma has joined #nixos
<das_j> Oh my, that replaces my entire module. Thanks!
v0d1ch has joined #nixos
kleisli has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker opened pull request #69324 → peepdf: init at 0.4.2 → https://git.io/JesSJ
<__red__> non-random question: Where are the nixpkgs "expressions" stored?
<__red__> I mean - if I'm using nix-channels...
<__red__> is there an actual nixpkgs directory?
<gchristensen> $ echo $NIX_PATH
<gchristensen> /home/grahamc/.nix-defexpr/channels
<__red__> thanks
<__red__> huh
<__red__> I have lots of things in that list
<__red__> is that a good or a bad thing?
<cransom> good.
<cransom> unless you are doing something different by not using nix-channels at all.
kleisli has quit [Remote host closed the connection]
<__red__> actually _ just realized it's different
<__red__> sec
growpotkin has joined #nixos
<__red__> /home/red/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/n
<__red__> ix/profiles/per-user/root/channels
<__red__> for example
<gchristensen> yeah, that is pretty normal
<cransom> normal operating procedure.
kleisli has joined #nixos
<clever> das_j: not recently
<duncan> m15k, sorry - should have mentioned the prefix may be different.. /run/current-system/sw is our prefix, in this case.
<clever> tilpner: i'll need to look at that and see what it does...
kleisli has quit [Remote host closed the connection]
<duncan> (on NixOS - if you use Nix elsewhere it's usually in ~/.nix-profile/)
nalck has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<__red__> ooh, "Markhor"
<__red__> :-D
<__red__> I really wish I could get to nixconf and go to the hackathon
<__red__> I guess an online hackathon is out of the question huh? ;-)
kleisli has joined #nixos
<cransom> that's every day!
magnetophon has joined #nixos
<wrl> irc is a 24/7 hackathon!
<__red__> interestingly, "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos" - that directory doesn't exist on my system
kleisli has quit [Remote host closed the connection]
<nalck> Is there a good way to prevent multiple of the same services to be launched when doing a `nixos-rebuild switch`? I noticed I had accrued quite a few today after experimenting a bit with my configuration.nix.
<clever> __red__: that will only exist if you have a channel called nixos, on root
<clever> __red__: which should exist by default if your using nixos
<pbb> I get "Detected unsafe path transition /var/lib/deluge -> / during canonicalization of /var/lib/deluge." when switching to a new system configuration. /var/lib/deluge is a symlink to /mnt/data/deluge. Is this problematic and how can I fix it?
<__red__> yeah it is - I'm just hungry for more exposure is all. I got spoiled by the office hours last week ;-)
<clever> nalck: systemd should stop the service for you, but you may have that mis-configured
kleisli has joined #nixos
<nalck> clever: how would I know if it were mis-configured?
<__red__> clever: Gotcha - I think I named my channel nixpkgs instead of nixos
<__red__> which would explain it
mexisme has quit [Ping timeout: 265 seconds]
<clever> nalck: does the service fork itself into the background? does the ExecStop actually stop it?
hounded has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bgamari opened pull request #69325 → gitlab: 12.1.6 -> 12.3.0 → https://git.io/JesS8
<nalck> clever: thank you, I will look into this further based on that information
<v0d1ch> ```error: attribute 'ghc843' missing, at (string):1:59
<v0d1ch> (use '--show-trace' to show detailed location information)
<tilpner> clever: It's adapted from your module, does everything including the extra-platforms
<v0d1ch> how do I use different ghc versions using stack for compilation?
<clever> tilpner: and it fixed the qemu build issues?
kleisli has quit [Remote host closed the connection]
<tilpner> clever: Which issues?
kleisli has joined #nixos
<worldofpeace> __red__: online hackathon might be a good idea
<clever> tilpner: glib's build framework was changed, causing it to not obey the static build flags i set, causing everything to implode
<clever> tilpner: and non-descript errors like gcc cant create valid executables
<tilpner> clever: I never understood why you had to bring your own qemu
<worldofpeace> hmm, maybe glib's pkgconfig doesn't have requires.private which IIRC is important for static builds
<tilpner> clever: Was that a workaround for a problem I didn't see?
<clever> tilpner: qemu-user wasnt packaged in nixpkgs at the time i wrote the module
<clever> tilpner: and it must be staticly linked, or the "guest" ldd breaks
freeman42x has joined #nixos
roho has quit [Remote host closed the connection]
<tilpner> clever: It does not seem to be statically linked
roho has joined #nixos
<clever> tilpner: ldd works by setting a special env var, that causes ld.so to print the libs as it loads them, then exit, rather then running main()
<clever> tilpner: if you use the arm ldd on an arm binary, the x86 ld.so for qemu itself will print the qemu deps out
<clever> and then the initrd generation script for nixos, puts x86 libs, into an arm initrd!
kleisli has quit [Remote host closed the connection]
Heirlung- has joined #nixos
kleisli has joined #nixos
is_null has quit [Ping timeout: 240 seconds]
magnetophon has quit [Ping timeout: 245 seconds]
Heirlung has quit [Ping timeout: 245 seconds]
<tilpner> matthewbauer: ^
<tilpner> I can reproduce ldd printing x86_64 libs
<{^_^}> [nixpkgs] @evenbrenden opened pull request #69326 → jotta-cli: init at 0.6.18626 → https://git.io/JesSw
asymptotically has quit [Quit: Leaving]
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
mexisme has joined #nixos
doyougnu has quit [Quit: WeeChat 2.4]
kleisli has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
kleisli has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker merged pull request #66054 → telepresence: 0.93 -> 0.101 → https://git.io/fjH7N
<{^_^}> [nixpkgs] @offlinehacker pushed 3 commits to master: https://git.io/JesSS
nexgen has quit [Remote host closed the connection]
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
silver_ has joined #nixos
magnetophon has joined #nixos
Ariakenom has quit [Quit: Leaving]
<__red__> worldofpeace: I learned more about how nixos worked in that hours (and a lil time after) than I had in the previous six months
jgt has quit [Ping timeout: 246 seconds]
silver has quit [Ping timeout: 265 seconds]
rhitakorrr has quit [Quit: WeeChat 2.5]
<__red__> worldofpeace: mainly I think because it helped me better understand what "normal" was, so I could actually better ask actual questions
<worldofpeace> __red__: It's great to hear this, perhaps I should review live more often :D
<worldofpeace> __red__: I think we might try to have that format another recurring thing or a separate function
<__red__> sounds great to me
<__red__> I'm going to check my currently maintained packages and see if any are pending updates
<__red__> after that - I have a few other things I want to package
<__red__> see if I can try and get a better development workflow
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
Palpares has quit [Ping timeout: 260 seconds]
<worldofpeace> I think that's the main part with nix that people struggle with, which is "what is the development workflow". So I think showing how a NixOS dev works on nixos will really help with this.
<__red__> very much so
<__red__> I see all the amazing things it can do.
Palpares has joined #nixos
<__red__> I did a talk at defcon on Nix, NixOS, et al
<__red__> had several people actually follow up and do actual nixos installs too
<__red__> but truthfully - most of my work is cargo-cult
<rawtaz> __red__: really nice of you, thanks for that
<rawtaz> __red__: is the talk available in video online somewhere?
<__red__> the talk itself was not in the main con, and was not recorded
<__red__> The talk was an hour long
<__red__> The purpose of the slides was to really guide a demonstartion
<rawtaz> darn, thats really too bad. would be interesting to see
<__red__> what I should do is just do the talk to myself and record ity
<rawtaz> yeah:D
<rawtaz> if you do, let me know!
drakonis_ has joined #nixos
<__red__> here
<__red__> here's the slides: https://evil.red/nixos.pdf
<__red__> but since there are slides that say: "guided tour of evil.red" "guided tour of mc.evil.red"
<__red__> that's not really going to be too transparent :-)
<__red__> I did find that hilighting nix's ability to be OS / Distro agnostic was key for people to look at it - even sans nixos
<{^_^}> [nixpkgs] @regadas opened pull request #69327 → Update sbt to 1.3.2 → https://git.io/JesSA
<__red__> but once I'd convinced them of nix's utiliity they were hooked
<__red__> then... I kinda sealed the deal with the last slife
<__red__> slide
<__red__> qmk is a firmware for keyboards.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #69266 → simplenote: 1.1.3 -> 1.8.0 → https://git.io/JesRC
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JesSp
<__red__> I don't know ANYONE who enjoys installing cross compilers, IDEs, libraries et al for microconrollers
<__red__> so I showed then in the qmk github that they had a shell.nix file
drakonis has quit [Ping timeout: 252 seconds]
<__red__> I got my production server,
iqubic has quit [Quit: "Going Home"]
<__red__> cloned the firmware
<__red__> did a nix-shell in the directory
<__red__> and make
orivej has quit [Ping timeout: 246 seconds]
<__red__> They were blown away - something that would usually be a multi-hour ordeal of incompatable tools etc...
<__red__> automatically installed and **only available to my current shell**
<__red__> Oh
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5051f5435ea (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<rawtaz> __red__: ignorant question, but.. how is this different from any other package manager that has a package for qmk that builds out of the box?
<__red__> and the other party trick I did was swicth backwards and forwards between stable and unstable on my production server
alex``` has quit [Quit: WeeChat 2.6]
<__red__> well, remember that the result of a qmk compile is a binary blob to be flashed off the machine. So building for a "distribution" makes no sense.
alex`` has joined #nixos
freeman42x has quit [Ping timeout: 276 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__red__> the other-OS equivalent is the README
<__red__> they don't even mention the shell.nix in the docs
* __red__ shrugs
mexisme has quit [Ping timeout: 265 seconds]
grumble has quit [Quit: Whose thought XML was a good idea in the first place?]
zupo has joined #nixos
<__red__> oh wait - I take that back
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @MetaDark opened pull request #69328 → protontricks: 1.2.4 -> 1.2.5 → https://git.io/JesSj
grumble has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66489 → yubikey-personalization-gui: install man, desktop files and icons → https://git.io/fj7he
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jes9U
<rawtaz> __red__: but cant a regular package manager do what nix does with qmk to produce that firmware?
ng0 has quit [Quit: Alexa, when is the end of world?]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
zupo has quit [Client Quit]
Tavi has joined #nixos
<clever> rawtaz: that builds the avr firmware for my thermostat, so it gives you an avr-gcc compiler
v0d1ch has quit [Quit: Lost terminal]
* clever heads off to bed
<rawtaz> i still dont get it. why cant a regular package manager do this too? what's so special about nix in this regard.
<rawtaz> thanks and nite :)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/13beb8d753a (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
growpotk- has joined #nixos
<__red__> rawtaz: because almost every other package manager will stomp over any other cross-compilers you have
<__red__> what if you already have a different set of compilers / libraries for said architecture/
<{^_^}> [nixpkgs] @timokau merged pull request #69322 → pynac: 0.7.25 -> 0.7.26 → https://git.io/JesyY
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/Jes9s
<__red__> ?
<rawtaz> __red__: ok, so basically they key point is the containerization.
c0c0 has quit [Quit: WeeChat 2.6]
drakonis_ has quit [Ping timeout: 265 seconds]
jgt has joined #nixos
drakonis_ has joined #nixos
kleisli has quit [Ping timeout: 276 seconds]
<cransom> Hrm. Well this is cumbersome. I have a valid (yet knowingly ugly) nginx config that gixy fails to parse and that kills my deploy.
<gchristensen> :/
<{^_^}> [nixpkgs] @mmlb opened pull request #69329 → python.pkgs.urllib3: 1.24.3 -> 1.25.5 → https://git.io/Jes98
dermetfan has quit [Ping timeout: 268 seconds]
syd has joined #nixos
dermetfan has joined #nixos
nalck has quit [Quit: nalck]
kleisli has joined #nixos
bsima has quit [Quit: ZNC 1.7.3 - https://znc.in]
mcbits has quit [Ping timeout: 264 seconds]
bsima has joined #nixos
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Denommus has quit [Remote host closed the connection]
laalf has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
rouma has quit [Read error: Connection reset by peer]
rouma has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mnacamura opened pull request #69330 → r-randomForest: fix build on Darwin → https://git.io/Jes9D
mcbits has joined #nixos
kleisli has joined #nixos
rhitakorrr has joined #nixos
<dsx> Is there an easy way to build MELPA packages?
jasom has quit [Ping timeout: 245 seconds]
kleisli has quit [Ping timeout: 265 seconds]
jgeerds has quit [Ping timeout: 245 seconds]
jasom has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
selfsymmetric-mu has quit [Remote host closed the connection]
kleisli has joined #nixos
drakonis_ is now known as drakonis
syd has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
alex`` has quit [Quit: WeeChat 2.6]
m15k has quit [Remote host closed the connection]
dansho has joined #nixos
sigmundv has joined #nixos
nhill has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 13 commits to gnome-3.34: https://git.io/JesHs
<{^_^}> [nixpkgs] @mnacamura opened pull request #69331 → r-pan: fix build on Darwin → https://git.io/JesHZ
<nhill> How do I escape @ in a url in .nix files?
<dsx> nhill: Try %40
<nhill> dsx: I tried that, doesn't like % either
<nhill> :/
<dsx> ''@ ''% ?
<dsx> ''\ escapes any other character.
<dsx> nhill: ↑
noudle has quit []
<nhill> dsx: It doesn't like the ' :(
<nhill> src = fetchurl {
<nhill> url = "https://github.com/zeit/now/archive/now''\@{version}.tar.gz";
<{^_^}> [nixpkgs] @mnacamura opened pull request #69332 → r-minqa: fix build on Darwin → https://git.io/JesHc
<nhill> error: invalid character ''' in name 'now''@{version}.tar.gz'
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #64276 → mimalloc: init at 1.0.8 → https://git.io/fj6ny
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « mimalloc: init at 1.0.8 »: https://git.io/JesH4
<waleee-cl> nhill: don't you missa a $ in the interpolation?
<nhill> waleee-cl: You're right, but I just added that back in and same problem
<{^_^}> [nixpkgs] @worldofpeace pushed to gnome-3.34 « gnome3.pomodoro: 0.15.1 -> 2019-09-15 »: https://git.io/JesHE
<waleee-cl> tried url = "https://github.com/zeit/now/archive/now@${version}.tar.gz" ?
jmeredith has joined #nixos
<nhill> waleee-cl: yup, that was the first thing
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
endformationage has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #69308 → dwm-status: 1.6.2 -> 1.6.3 → https://git.io/JesXM
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JesHu
nhill is now known as n
n is now known as nhill
nhill is now known as nata
nata is now known as sanblas
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68722 → python.pkgs.pytest-check: init at 0.3.5 → https://git.io/JesHg
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JesH2
sanblas is now known as nhill
nhill is now known as NathanielHill
NathanielHill is now known as anon
anon is now known as ILostMyPassword
o1lo01ol1o has quit [Remote host closed the connection]
growpotk- has quit [Ping timeout: 240 seconds]
rouma7 has joined #nixos
rouma has quit [Read error: Connection reset by peer]
acarrico has joined #nixos
<DigitalKiwi> these*
joehh has joined #nixos
acarrico has quit [Client Quit]
<waleee-cl> ILostMyPassword: does it still complain with this: url = ''https://github.com/zeit/now/archive/now'' "\@" ''{version}.tar.gz'' ?
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @uHOOCCOOHu to staging « valgrind: move perl to buildInputs »: https://git.io/JesHi
<{^_^}> [nixpkgs] @worldofpeace closed pull request #67548 → valgrind: fix shebang in outputs → https://git.io/fjA1O
<waleee-cl> nvm, interpreted the docs faulty
erasmas has quit [Ping timeout: 268 seconds]
selfsymmetric-mu has joined #nixos
dermetfan has quit [Ping timeout: 246 seconds]
jluttine has quit [Ping timeout: 246 seconds]
<waleee-cl> ILostMyPassword: ah, now: url = "https://github.com/zeit/now/archive/now" + "\@" + "${version}.tar.gz" seems to work as expected
magnetophon has quit [Ping timeout: 245 seconds]
rhitakorrr has quit [Ping timeout: 245 seconds]
is_null has joined #nixos
rouma7 has quit [Read error: Connection reset by peer]
rouma has joined #nixos
magnetophon has joined #nixos