worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
pbb has joined #nixos
hlisp has quit [Ping timeout: 264 seconds]
eoli3n__ has quit [Ping timeout: 240 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
pbb has quit [Excess Flood]
hlisp has joined #nixos
T0pH4t has quit [Quit: bye...]
oborot has joined #nixos
virus_dave has quit [Quit: virus_dave]
hlisp_ has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
pbb has joined #nixos
<c00w> Anyone know if nix-collect-garbage -d will screw up running nix builds?
<clever> c00w: it should preserve anything currently in use
shibboleth has joined #nixos
<c00w> Sure, but if I'm building b, that depends on a, but a has no roots that depend on it, is it in use?
hlisp_ has quit [Read error: Connection reset by peer]
hlisp has joined #nixos
<clever> c00w: if its used at build-time, its rooted by b being built
<c00w> Ok - even if b is not literally building, just queued?
<c00w> i.e. c is currently using all the build slots?
<clever> probably
<clever> c00w: you can also run `nix-store --query --roots /nix/store/a` to see what depends on a
<c00w> Sounds like I need to run some experiments.
<c00w> :)
<{^_^}> [nixpkgs] @zowoq opened pull request #87852 → miniserve: 0.6.0 -> 0.7.0 → https://git.io/JfBFg
Robertof_ has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
morgrimm has quit [Ping timeout: 265 seconds]
Robertof has quit [Ping timeout: 272 seconds]
gustavderdrache has joined #nixos
jgeerds has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fc039059026 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfBbY
jgeerds has joined #nixos
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 265 seconds]
hlisp has quit [Ping timeout: 246 seconds]
hlisp has joined #nixos
noudle has quit []
LysergicDreams has quit [Ping timeout: 265 seconds]
proofofkeags has quit [Remote host closed the connection]
LysergicDreams has joined #nixos
ozychhi has quit [Ping timeout: 244 seconds]
proofofkeags has joined #nixos
mocker has quit [Quit: Connection closed for inactivity]
jkarni_ has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
jgeerds has quit [Ping timeout: 265 seconds]
ozychhi has joined #nixos
jkarni_ has quit [Ping timeout: 256 seconds]
LysergicDreams has quit [Ping timeout: 256 seconds]
LysergicDreams has joined #nixos
hlisp_ has joined #nixos
codygman has quit [Read error: Connection reset by peer]
hlisp has quit [Ping timeout: 240 seconds]
codygman has joined #nixos
<evanjs> icetan: hey do you have any clue why I might be getting symlinks that um.. link to themselves? After building my mavenix project?
<evanjs> The dependencies for the “recursive” symlinks do appear in my mavenix.lock
selfsymmetric-mu has joined #nixos
thc202 has quit [Ping timeout: 244 seconds]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<selfsymmetric-mu> I have two files called `mermaid.css` and `mermaid.json`. I want to wrap up `mmdc` and pass those two files as arguments. But I need to get them into the nix store first. How do I get them there? https://hastebin.com/raw/hexelokaye
morgrimm has joined #nixos
ris has quit [Ping timeout: 260 seconds]
morgrimm has quit [Ping timeout: 265 seconds]
<infinisil> selfsymmetric-mu: ${./mermaid.css}
ssdd has quit [Ping timeout: 260 seconds]
<infinisil> In the command directly
xcmw has quit [Quit: Textual IRC Client: www.textualapp.com]
<selfsymmetric-mu> infinisil++ Thank you!
<{^_^}> infinisil's karma got increased!
h0m1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #87853 → GitHub Actions: editorconfig and manual → https://git.io/JfBAW
<hexa-> having some trouble with buildGoModules and "inconsistent vendoring", looking for help. https://bpa.st/V6MQ
h0m1 has joined #nixos
<gchristensen> speakingof history repeating itself cole-h
* cole-h checks for purple labels
<cole-h> Safe on that front.
<c00w> hexa-: That's definitely my fault.
<hexa-> c00w: awesome, tell me more! :D
LysergicDreams has quit [Ping timeout: 258 seconds]
<c00w> Looks like you're trying to package this for nixpkgs - if it was local, I'd just tell you to run go mod tidy :)
<gchristensen> I mean #87853
<{^_^}> https://github.com/NixOS/nixpkgs/pull/87853 (by zowoq, 7 minutes ago, open): GitHub Actions: editorconfig and manual
<hexa-> indeed we are
<cole-h> gchristensen: o
<maralorn> Great, now we have someone to blame.^^
<cole-h> gchristensen: Hehe :D
<c00w> The simple answer is that their go.mod file isn't fully correct - right now the best way to fix this is to clone the repo, run `go mod tidy` then `go mod install -mod=vendor` (to confirm it works), and then git diff --patch and check the patch into nixpkgs and in the derivation.
<c00w> But I'm cloning now to make sure this works :)
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #87716 → Various window managers → https://git.io/Jf4JT
<{^_^}> [nixpkgs] @AndersonTorres pushed 5 commits to master: https://git.io/JfBA6
<c00w> Sorry, go mod tidy, go mod vendor, go -mod=vendor install
LysergicDreams has joined #nixos
<hexa-> ok
<c00w> I also may not have been clear on the patch (you only need the go.mod diff, so `git diff --patch go.mod`)
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<c00w> and I screwed up the install command, it's `go install -mod=vendor`
<hexa-> gotcha
<maralorn> c00w: Not so go.sum?
<hexa-> yep, we found that out
<c00w> maralorn: Nope, not needed.
<c00w> The install step doesn't reference it.
<c00w> It's minorly useful for the download step, but not significantly.
<maralorn> Okay
<hexa-> hm, patch applied, still the same issue :o
user_0x58 has quit [Ping timeout: 244 seconds]
<c00w> Did you change the vendorSha256?
<hexa-> gotcha
<hexa-> lgtm, thanks!
<hexa-> ✨ c00w
<{^_^}> c00w's karma got increased to 1
<c00w> :) - We could probably make this patch an option (since this is a super common issue right now).
<c00w> Inside of go-modules.
<hexa-> i don't know too much about go modules to participate in that :)
<maralorn> But apart from that the experience is great.
<{^_^}> [nixpkgs] @marsam merged pull request #87739 → podman, etc packages: fix/update inputs/tags → https://git.io/Jf4lS
<{^_^}> [nixpkgs] @marsam pushed 6 commits to master: https://git.io/JfBA7
<hexa-> indeed, pretty happy with buildGoModules
<hexa-> would package a go project again
<c00w> Good to hear - means a lot :)
shibboleth has quit [Quit: shibboleth]
<bhipple> c00w: on the subject of proxying in buildGoModule, is there a way I can inject my own Artifactory mirror without changing the hashes?
<c00w> sure, just change the go.mod
<bhipple> e.g. adding it in mirrors.nix or something
<c00w> Oh wait
<c00w> Are you trying to substitute the source?
<bhipple> I mean across all of Nixpkgs: I'm building with a bunch of air-gapped builders that can hit Artifactory, but not the standard gopkgs endpoints; Artifactory has those mirrored, but I'd like to tell the builders to talk to Artifactory instead of golang.org et all
<c00w> Or change where it downloads everything?
<bhipple> the latter
<bhipple> I was wondering if it'd make sense to setup go proxies in https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/fetchurl/mirrors.nix
<c00w> Ah - `go help goproxy`
<c00w> or set GOPROXY=whatever.your.mirror.is.that.supports.the.go.protocol.local
choward1 has joined #nixos
hlisp_ has quit [Remote host closed the connection]
<c00w> Go has builtin support for this, and the go modules respects it.
m0rphism has quit [Ping timeout: 256 seconds]
choward has quit [Ping timeout: 246 seconds]
choward1 is now known as choward
<bhipple> Right, that's what I've done, but we turn it off in NixPkgs -- so when I do it, it blows the hashes on everything. Altho maybe I need to just look at it more closely, because we should be building FODs ...
<c00w> I think you can just do something like overrideModAttrs = ( _: {
<c00w> GOPROXY="address.local";
<c00w> });
<c00w> Ah - you just want to do it for the module phase
<c00w> Module derivation?
shafox has joined #nixos
<bhipple> ahhh that must be it, I bet I'm leaking the goproxy var into the actual build, and not just the FOD vendor step
<c00w> Yep
<bhipple> Do you think it'd make sense to add all the stnadard community goproxies in mirrors.nix, then hook into it in https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/go-modules/generic/default.nix#L66-L68, like fetchurl does?
<{^_^}> [nixpkgs] @bhipple merged pull request #87852 → miniserve: 0.6.0 -> 0.7.0 → https://git.io/JfBFg
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JfBxf
<bhipple> That'd make my overlay a little less invasive, because I could just add my mirror to mirrors.nix without hacking up the golang builder
<quinn> so i'm using pulseaudio with sway, and though my DBUS_SESSION_ADDRESS is set inside of sway, it's not accessible to my pulseaudio service (/proc/$pulse_pid/environ). any thoughts on why that is/how i might go about fixing it
hlisp has joined #nixos
<c00w> bhipple: You don't need to hack the file, overrideModAttrs lets you do it.
sarcasticadmin has quit [Ping timeout: 256 seconds]
<bhipple> That's a good point, but I need to do it for every possible golang app that I build, so it'd be nice to do it just once (either hacking the infra, or mirrors.nix)
<{^_^}> [nixpkgs] @maralorn opened pull request #87854 → go-neb: Init at unstable-2020-04-09 → https://git.io/JfBxT
<c00w> Ah fair. We could probably put a flag there, but the default is the empty proxy :) (which means proxy.golang.org,direct)
proofofkeags has quit [Remote host closed the connection]
<c00w> Sounds reasonable
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/91fce0fb2f4 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
smatting_ has joined #nixos
smatting has quit [Ping timeout: 265 seconds]
hlisp has quit [Ping timeout: 256 seconds]
veleiro`` has joined #nixos
hlisp has joined #nixos
Robertof_ has quit [Quit: Leaving]
hlisp has quit [Remote host closed the connection]
veleiro` has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @c00w opened pull request #87855 → Add regenGoMod option → https://git.io/JfBxc
felixfoertsch23 has joined #nixos
<c00w> hexa-: ^^ lets you just sets regenGoMod = true to fix the go.mod file.
<hexa-> maralorn: ^
felixfoertsch has quit [Ping timeout: 244 seconds]
felixfoertsch23 is now known as felixfoertsch
proofofkeags has joined #nixos
<evanjs> icetan: it looks like it’s only happening with SNAPSHOT deps? Idk. That might just be a coincidence
bhipple has quit [Ping timeout: 256 seconds]
proofofkeags has quit [Ping timeout: 256 seconds]
lightbulbjim has joined #nixos
<{^_^}> [nixpkgs] @eadwu closed pull request #86835 → modules/filesystems/zfs: use current kernel → https://git.io/JfGcb
bhipple has joined #nixos
<quinn> i am trying to override 'systemd.user.services.pulseaudio.serviceConfig.PassEnvironment', but when i do this i get a conflicting definitions error. any suggestions on how to fix this?
artistsvoid has quit [Quit: leaving]
bhipple has quit [Ping timeout: 260 seconds]
bhipple has joined #nixos
<c00w> quinn: Is there an override you can use?
<{^_^}> [nixpkgs] @eadwu opened pull request #87856 → nixos/kernel.nix: ensure same kernel is used → https://git.io/JfBxF
<c00w> quinn: You can also probably fiddle the generated service file via the systemd interfaces.
hlisp has joined #nixos
<c00w> i.e. systemd.services.pulseaudio.environment.DBUS_SESSION_ADDRESS = "the address";
gustavderdrache has quit [Quit: Leaving.]
<quinn> c00w: dbus session address is (i believe) random, and is definitely not accessible from configuration.nix. and it's not a package so i can't override it
<quinn> (cause packages expose the override attr which isn't present)
<c00w> Uh - the whole point of systemd user services is that they don't read the login shell AFAIK. Is there a program you can run to get the address?
<c00w> You could also configure your shell to write it to a file, and then read it from your pulseaudio config
<quinn> assuming pulseaudio config supports that. i will consider doing so if i can't fix it with PassEnvironment
<quinn> i mean it's exported in the environment, it's just a matter of fixing the serviceConfig
<quinn> for posterity: https://discourse.nixos.org/t/qt-app-cannot-connect-to-session-bus/6646/6 this post is (potentially) useful
turona has quit [Ping timeout: 272 seconds]
<c00w> Oh wait is PassEnvironment a systemd option?
<c00w> You can just set it in ExtraConfig on the service if that's the case.
turona has joined #nixos
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> I realize I may have made a mistake with my config.
<selfsymmetric-mu> I thought this was clever, since I could use multiple "channels" at once declaratively http://hastebin.com/raw/oyolayomik
<selfsymmetric-mu> But now I realize that without the commit…I think these are going stale. When something get committed to those branches, NixOS doesn't know.
<selfsymmetric-mu> So my unstable might be quite out of date. I'm not sure though. Anyone know?
<selfsymmetric-mu> What should I do instead for this usecase? Is this what `niv` is for?
<cole-h> Without the commit, it will get the current HEAD
<cole-h> What makes you think your unstable is out of date?
<quinn> c00w: sorry, i'm really stupid. do you mean the extraConfig for hardware.pulseaudio ? i thought that was appended to the config file
<selfsymmetric-mu> cole-h: Because when I push to my fork on `master`, NixOS doesn't seem to pull down any new changes.
<c00w> Nah - the extraconfig for systemd.services.pulseaudio
<c00w> it lets you pass arbitrary systemd options.
<selfsymmetric-mu> cole-h: Unless maybe GitHub has a lag time for updating the `master.tar.gz`?
hlisp has quit [Ping timeout: 265 seconds]
<quinn> c00w: it's systemd.user.services.pulseaudio, and nixos-option says that systemd.services.pulseaudio.extraConfig doesn't exist
<cole-h> selfsymmetric-mu: And you're rebuilding your NixOS config, right?
<cole-h> After you push to your master, I mean.
<{^_^}> [nixpkgs] @marsam opened pull request #87857 → go-tools: 2020.1.3 -> 2020.1.4 → https://git.io/JfBpO
<selfsymmetric-mu> cole-h: Yeah I am.
<c00w> quinn: systemd.services.<name>.serviceConfig according to https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E.
<selfsymmetric-mu> cole-h: With a `sudo nixos-rebuild switch`.
<quinn> c00w: well, pulseaudio is ran as a user service. but i don't see extraConfig in that list. and the problem with just setting serviceConfig is that i get conflicting definitions
andi- has quit [Remote host closed the connection]
nwspk has quit [Quit: nwspk]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
hlisp has joined #nixos
pbb has joined #nixos
nwspk has joined #nixos
andi- has joined #nixos
<cole-h> selfsymmetric-mu: I'm not familiar with packageOverrides, so I'm out of ideas. Sorry.
proofofkeags has joined #nixos
<c00w> quinn: Ah - I think you've hit the end of my ideas.
<quinn> selfsymmetric-mu: sorry, i'm only looking at the end of this. if you're fetchUrling your <head> and you have the sha256 of the old head, nix will just used the cached fetchUrl with the old sha256
<quinn> without reading through that quirk may be relevant, sorry if it isn't
<quinn> c00w: that's fine. i was really excited when you mentioned extraConfig though (:
<quinn> c00w++
<{^_^}> c00w's karma got increased to 2
<cole-h> quinn: They're using fetchTarball, which doesn't require a sha (and which they're not providing)
Neo-- has quit [Ping timeout: 260 seconds]
<c00w> selfsymmetric-mu: Wait, are you updating the hash? If it's not changed, it won't try to redownload.
<cole-h> c00w: Read my previous message :P
<c00w> Ah - derp
<selfsymmetric-mu> Aha. "The fetched tarball is cached for a certain amount of time"
<selfsymmetric-mu> But a sha256 is allowed. Nice!
<cole-h> selfsymmetric-mu: Try `--option tarball-ttl 0`
<cole-h> btw: if specified, the sha256 will change every time you push, which might get annoying...
lord| has quit [Ping timeout: 256 seconds]
lord| has joined #nixos
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<selfsymmetric-mu> cole-h: That works! Thank you. :) cole-h++
<{^_^}> cole-h's karma got increased to 48
mzan has joined #nixos
<cole-h> Now you'll have to do that each time you rebuild... But it's better than nothing :D
hmpffff_ has joined #nixos
<cole-h> (I mean, you could set it in nix.conf, but probably not the best idea...)
hlisp has quit [Ping timeout: 272 seconds]
<selfsymmetric-mu> I have a NixOS transient in Emacs. I'll just make a flag there for myself for now.
<selfsymmetric-mu> Another solution might be niv and `niv update`.
symphorien has quit [Ping timeout: 260 seconds]
hmpffff has quit [Ping timeout: 265 seconds]
<cole-h> Maybe. But then you'll have to `niv update` before every rebuild (if you want your changes)
felixfoertsch23 has joined #nixos
<selfsymmetric-mu> Good point.
<emily> it's just another command, you can automate it
<emily> I'd recommend flakes over niv for nixos configuration at this point though
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
Neo-- has joined #nixos
<selfsymmetric-mu> I hear good things about flakes. Is it ready to go?
<cole-h> It's "ready to go" in that it's mostly functional
<cole-h> But bear in mind: the RFC is still not merged (or even accepted)
hlisp has joined #nixos
<energizer> how do rfcs get accepted?
<emily> the documentation situation is not great but it works fine
<emily> painfully
<cole-h> energizer: Through lots and lots of discussion
<emily> and slowly :p
<cole-h> And a meeting
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
<cole-h> or three
<cole-h> or twenty
Supersonic112 is now known as Supersonic
<energizer> is there a committee that votes?
<cole-h> I don't know the specifics of the RFC process. Your best bet is to check out RFC 1: https://github.com/NixOS/rfcs/pull/1
<{^_^}> rfcs#1 (by zimbatm, 3 years ago, merged): RFC to describe the RFC process
<{^_^}> [nixpkgs] @eadwu closed pull request #82000 → torchvision: 0.2.1 -> 0.6.0 → https://git.io/Jvr0Z
<selfsymmetric-mu> Here's a NixOS Emacs transient that automates the TTL: https://hastebin.com/raw/tokosaloxi
<energizer> > After a number of rounds of review the discussion should settle and a general consensus should emerge. This bit is left intentionally vague and should be refined in the future. We don't have a technical commitee so controversial changes will be rejected by default.
<{^_^}> error: syntax error, unexpected IN, expecting ')', at (string):310:163
<quinn> ,overlays
<{^_^}> quinn: Did you mean overlay?
<{^_^}> Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
linuus has quit [Ping timeout: 256 seconds]
<selfsymmetric-mu> Here's what the transient looks like: https://i.imgur.com/KzfXWil.png
symphorien has joined #nixos
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
quinn has joined #nixos
hlisp has quit [Ping timeout: 264 seconds]
philr has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @mcwitt opened pull request #87860 → r-statmod: Add libiconv to buildInputs → https://git.io/JfBhQ
philr has joined #nixos
<{^_^}> [nixpkgs] @RomanSharapov opened pull request #87861 → nixos/buildbot: enable configurable rotation of twistd.log files → https://git.io/JfBj7
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
waleee-cl has quit [Quit: Connection closed for inactivity]
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
pbb has quit [Remote host closed the connection]
pbb has joined #nixos
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
pbb has joined #nixos
quinn has joined #nixos
user_0x58 has joined #nixos
user_0x58 has quit [Client Quit]
user_0x58 has joined #nixos
<energizer> i want to run this electron app. https://github.com/plotly/orca What should I do?
<{^_^}> [nixpkgs] @anmonteiro opened pull request #87862 → bs-platform: 7.3.1 -> 7.3.2 → https://git.io/JfRvW
hlisp has joined #nixos
kazzimazzi[m] has left #nixos ["User left"]
kazzimazzi[m] has joined #nixos
sigmundv__ has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
sigmundv has quit [Ping timeout: 246 seconds]
hlisp_ has joined #nixos
reallymemorable has joined #nixos
mir100 has quit [Ping timeout: 240 seconds]
<{^_^}> [nix-mode] @matthewbauer pushed to master « Release 1.4.2 »: https://git.io/JfRv7
<{^_^}> [nix-mode] @matthewbauer pushed 0 commits to refs/tags/v1.4.2: https://git.io/JfRv5
<emily> energizer: steam-run is probably the lowest-effort thing
<emily> if you just want to get an existing binary working and it doesn't work out of the box
hlisp has quit [Ping timeout: 272 seconds]
<emily> there are ascendingly fancier things you can do if you want to do things the "right way", but for electron i don't know what they are beyond writing a derivation that patches the binary
cyphase has quit [Ping timeout: 272 seconds]
mir100 has joined #nixos
hlisp_ has quit [Ping timeout: 256 seconds]
proofofkeags has quit [Remote host closed the connection]
lightbulbjim has quit [Quit: Connection closed for inactivity]
jkarni_ has joined #nixos
<energizer> emily: thanks
xelxebar has joined #nixos
orivej has joined #nixos
jkarni_ has quit [Ping timeout: 256 seconds]
jkarni_ has joined #nixos
jkarni_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #83970 → meteor: 1.10.1 -> 1.10.2 → https://git.io/Jvdsk
<{^_^}> [nixpkgs] @jonringer pushed commit from @sternenseemann to master « meteor: 1.10.1 -> 1.10.2 »: https://git.io/JfRf2
drakonis has quit [Quit: WeeChat 2.8]
cyphase has joined #nixos
rail_ has quit [Quit: gone...]
abathur has quit [Quit: abathur]
rail_ has joined #nixos
cole-h has quit [Quit: Goodbye]
bhipple has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #87751 → qt5.qtgamepad: init at 5.12.7 → https://git.io/Jf4re
<{^_^}> [nixpkgs] @jonringer pushed commit from @HenkKalkwater to master « qt5.qtgamepad: init at 5.12.7 »: https://git.io/JfRJJ
morgrimm has joined #nixos
<bqv> energizer: appimage-run
endformationage has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @jonringer merged pull request #87372 → python27Packages.plexapi: 3.2.0 -> 3.4.0 → https://git.io/JfC64
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.plexapi: 3.2.0 -> 3.4.0 »: https://git.io/JfRJY
<{^_^}> [nixpkgs] @jonringer merged pull request #87323 → python27Packages.kafka-python: 1.4.7 -> 2.0.1 → https://git.io/JfCZN
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.kafka-python: 1.4.7 -> 2.0.1 »: https://git.io/JfRJO
<{^_^}> [nixpkgs] @jonringer merged pull request #87338 → python27Packages.evdev: 1.2.0 -> 1.3.0 → https://git.io/JfC8O
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.evdev: 1.2.0 -> 1.3.0 »: https://git.io/JfRJ3
mir100 has quit [Ping timeout: 256 seconds]
mir100 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #87292 → python27Packages.bids-validator: 1.3.12 -> 1.5.1 → https://git.io/JfcA6
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.bids-validator: 1.3.12 -> 1.5.1 »: https://git.io/JfRJG
marsh has quit [Ping timeout: 265 seconds]
proofofkeags has quit [Remote host closed the connection]
morgrimm has quit [Ping timeout: 265 seconds]
abathur has joined #nixos
<energizer> bqv: awesome
rkallos has joined #nixos
marsh has joined #nixos
ddellacosta has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @FranklinYu opened pull request #87863 → Add note for necessary step of setting password → https://git.io/JfRJR
<{^_^}> [nixpkgs] @doronbehar closed pull request #85993 → khal: standardize derivation → https://git.io/JftUJ
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #87864 → todoman: Make it not reference glibLocale which is ~210Mb in closure size → https://git.io/JfRJ2
alexherbo2 has joined #nixos
palo1 has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
philr_ has joined #nixos
philr has quit [Ping timeout: 258 seconds]
quinn has quit [Read error: Connection reset by peer]
quinn has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d0ef94bfd80 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d0ef94bfd80 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<energizer> https://bpa.st/W72Q builder for '/nix/store/g53pmmlg9x0bnjq06wpi9hl37cpcias4-shell.drv' failed to produce output path '/nix/store/2gyxdyqi7ppqnssnx9yrmdlxq8nd714m-shell'
<energizer> what's wrong here?
reallymemorable has quit [Quit: reallymemorable]
agsdheidjd has joined #nixos
LysergicDreams has quit [Ping timeout: 260 seconds]
LysergicDreams has joined #nixos
LysergicDreams has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
user_0x58 has quit [Quit: Leaving]
oborot has quit [Ping timeout: 265 seconds]
rauno has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #87865 → vdirsyncer: Convert to a python module → https://git.io/JfRks
<cizra> (sorry - asking again because I lost the answer due to limited scrollback) Hello! I'd like to fetch a hosts file in my nixos/configuration.nix from a remote source and stuff it into networking.extraHosts - is that possible? The closest I could find in Google is commented out (https://github.com/bjornfor/nixos-config/blob/master/cfg/base-small.nix#L77)
<srhb> cizra: Yeah, you can use readFile to read the contents of a file.
<simpson> energizer: Line endings; I ran dos2unix on it and got /nix/store/qwv020ij6il0fk8khgacc0529xkrmss7-orca-1.3.1
<srhb> cizra: So it becomes: `networking.extraHosts = readFile (fetchurl ...);`
codygman has quit [Read error: Connection reset by peer]
<energizer> simpson: you ran that on the downloaded .AppImage file?
codygman has joined #nixos
<cizra> srhb: Thanks! Where do I get readFile? error: attribute 'readFile' missing
<srhb> cizra: builtins.readFile, or lib.readFile, sorry :)
<srhb> cizra: Same for fetchurl.
<srhb> cizra: Check the nixpkgs manual for details on both functions.
<srhb> (At least, I think the lib versions are documented there)
<simpson> energizer: On the .nix file from the paste site. Did the paste site change the line endings? Specifically this is what I ran, in my local nixpkgs checkout: https://bpa.st/HNIQ
alp has joined #nixos
<srhb> cizra: If not, it's in the Nix manual :)
lord| has quit [Ping timeout: 260 seconds]
<energizer> simpson: that's interesting
<energizer> it does make an empty result dir now
<energizer> that's progres
<energizer> s
<cizra> srhb: Guess what, it works! Thank you so much!
mallox has joined #nixos
<cizra> networking.extraHosts = builtins.readFile (pkgs.fetchurl { url = "https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts"; sha256 = "03w8af765sqa7mi7rgdfvaqp7nv694r3ah12737y9axycab73p23"; });
lord| has joined #nixos
<srhb> cizra: You're welcome. :)
asheshambasta has joined #nixos
<monokrome> ,locate mbsync
<{^_^}> Found in packages: isync
<monokrome> hmm
opthomasprime has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #87866 → validatePkgConfig: init → https://git.io/JfRLy
eoli3n__ has joined #nixos
opthomasprime has quit [Remote host closed the connection]
opthomasprime has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 merged pull request #163 → dell/xps/13-9360: Stop using i18n.consoleFont → https://git.io/JfB1q
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/JfRLN
KeiraT has quit [Ping timeout: 240 seconds]
opthomasprime has left #nixos [#nixos]
dugur has quit [Ping timeout: 260 seconds]
KeiraT has joined #nixos
wnklmnn has joined #nixos
rogue_koder has quit [Quit: Konversation terminated!]
cjpbirkbeck has quit [Quit: cjpbirkbeck]
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #87867 → nixos/netadata: enable simple sandboxing → https://git.io/JfRqJ
lsix has joined #nixos
cjpbirkbeck has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #87868 → palemoon: 28.9.1 -> 28.9.3 → https://git.io/JfRqI
sigmundv__ has quit [Ping timeout: 258 seconds]
morgrimm has joined #nixos
morgrimm has quit [Ping timeout: 260 seconds]
LysergicDreams has quit [Ping timeout: 265 seconds]
LysergicDreams has joined #nixos
infinee has joined #nixos
fiadliel[m] has joined #nixos
cr4y1_ has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #87860 → r-statmod: Add libiconv to buildInputs → https://git.io/JfBhQ
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JfRqS
steshaw has quit [Remote host closed the connection]
coco has quit [Quit: WeeChat 2.7.1]
Ariakenom has joined #nixos
dugur has joined #nixos
civodul has joined #nixos
zaeph1 has joined #nixos
maddo has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zaeph has quit [Ping timeout: 256 seconds]
jkarni_ has joined #nixos
zeenk has joined #nixos
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #87869 → polybar: 3.4.2 -> 3.4.3 → https://git.io/JfRms
fendor has joined #nixos
hmpffff_ has quit [Ping timeout: 272 seconds]
hlisp has joined #nixos
coco has joined #nixos
mananamenos has joined #nixos
<mananamenos> hi, in xfce i have 7z installed and each time i have to extract stuff i need to go to konsole. How do make thunar integrate right click on zip file and "Extract here" option?
iceypoi has joined #nixos
hlisp has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #87253 → Preserve environment variables from the parent image on dockerTools.buildImage → https://git.io/Jfcz7
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JfRm8
lukash_|away is now known as lukash_
icey_ has quit [Ping timeout: 256 seconds]
noudle has joined #nixos
agsdheidjd has quit [Ping timeout: 244 seconds]
agsdheidjd has joined #nixos
o1lo01ol1o has joined #nixos
<DamienCassou> hi everyone
<{^_^}> [nixpkgs] @mnacamura closed pull request #87727 → rounded-mgenplus: replace p7zip with libarchive → https://git.io/Jf4Yi
<DamienCassou> We are 2 users of NixOS on 2 recent Lenovo Thinkpad laptops. In both cases, our battery performance as decreased massively in NixOS. My own laptop is 3 weeks old and the battery lasts 2h instead of 6h.
<{^_^}> [nix] @domenkozar pushed to master « actions: use latest OS »: https://git.io/JfRmK
<clever> DamienCassou: you could try comparing the output of powertop as a start
o1lo01ol1o has quit [Ping timeout: 265 seconds]
kvda has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
eoli3n_ has joined #nixos
eoli3n_ has quit [Remote host closed the connection]
<DamienCassou> thank you
mallox has joined #nixos
<{^_^}> [nixpkgs] @woffs opened pull request #87870 → [20.03] youtube-viewer: 3.3.0 -> 3.7.5 → https://git.io/JfRmd
<energizer> https://bpa.st/A7EQ what's going on here?
<MichaelRaskin> Also maybe try powertop's auto-settings
<DamienCassou> MichaelRaskin: I'm using tlp already for that
eoli3n_ has joined #nixos
thc202 has joined #nixos
mallox has quit [Client Quit]
mallox has joined #nixos
<coco> I upgraded to NixOS 20.03 as described in https://nixos.org/nixos/manual/index.html#sec-upgrading . Now I can't start X anymore; I get the following logs: https://gist.github.com/corsinpfister/901f8c6439f82dac475bf06368aae2df . I'm not sure what's the problem. I see things like "(EE) Failed to load module "intel" (module does not exist, 0)", but I'm not sure why there's a problem. Any hints?
FRidh has joined #nixos
Darkmatter66 has joined #nixos
Ariakenom has quit [Ping timeout: 265 seconds]
<rnhmjoj> energizer: i think you meant 'nix-build -E'. i have no idea what -p does, but it not documented
Ariakenom has joined #nixos
<energizer> rnhmjoj: oh you're right
<{^_^}> [nixpkgs] @Mic92 opened pull request #87871 → uwsgi: make instance configuration deeply mergeable → https://git.io/JfRYv
__monty__ has joined #nixos
Darkmatter66_ has quit [Ping timeout: 256 seconds]
<clever> rnhmjoj: behind the scenes, `nix-shell -p foo bar` will basically just run `nix-shell -E 'with import <nixpkgs> {}; stdenv.mkDerivation { name = "name"; buildInputs = [ (foo) (bar) ]; }`
<clever> energizer: and id say its a but that nix-build -p is applying the same logic, its a nix-shell only flag
cosimone has joined #nixos
<rnhmjoj> clever: but does nix-build even have a -p flag? the man page doesn't mention any yet it's not raising "unrecognized flag"
zaeph1 is now known as zaeph
LysergicDreams has quit [Ping timeout: 260 seconds]
<clever> rnhmjoj: behind the scenes, nix-build and nix-shell are the same program, and it uses argv[0] to decide how it should behave
<clever> rnhmjoj: and its a bug that `nix-build -p` is applying shell-only logic
cfricke has joined #nixos
<rnhmjoj> ah, i see. makes sense
LysergicDreams has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
balsoft has left #nixos ["User left"]
<bqv> I'm weaning myself onto the flake versions instead now :D
<bqv> nix shell nixpkgs#foo
tom39291 has joined #nixos
<bqv> Though its just as messy if you need a custom expression
<bqv> No more using shells as text editors for me…
<ptotter[m]> grahamc: any chance of upgrading this matrix room? I keep getting pulled back with another account after I've left (hotel california bug)
<bqv> Ha
<{^_^}> [nixpkgs] @fare opened pull request #87872 → Ethereum updates → https://git.io/JfRY6
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<tom39291> Hey, this'll sound ridiculous, but I've been a happy NixOS user for 5+ machines for 2+ years, and I have no idea how to evaluate/build/instantiate a nix expression/derivation if it's not part of nixops or nix-shell. I'm ~ok with Nix the language, but unfamiliar with conventions around importing lib/pkgs/nixpkgs and attrPaths. Can anyone suggest a resource for understanding these?
<clever> ,pills tom39291
<tom39291> I've tried pills and am essentially too stupid, but I will try again, and try to articulate exactly which parts confuse me.
<rnhmjoj> clever: i opened an issue at https://github.com/NixOS/nix/issues/3591
<{^_^}> nix#3591 (by rnhmjoj, 59 seconds ago, open): nix-build accepts nix-shell flags
<tom39291> clever: Thanks, clever. :)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f6bfb371cba (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> tom39291: I personally can't recommend the pills unless you're interested in internals
<infinisil> ,nix-1p
<tom39291> I am interested in internals (I've already written packages and modules, so am familiar with easy-mode Nix stuff).
<{^_^}> [nixpkgs] @leenaars opened pull request #87873 → Sylk: 2.7.0 -> 2.7.2 → https://git.io/JfRYy
<infinisil> ,quickstart
<infinisil> I'd first check out nix-1p anyways
sigmundv has joined #nixos
<tom39291> yea, the bottom of nix-1p looks relevant. Thanks.
choward has quit [Ping timeout: 240 seconds]
vidbina has joined #nixos
choward has joined #nixos
o1lo01ol1o has joined #nixos
<bqv> Heh, so I worked out why my nixos rebuilds were so slow
<bqv> I had >20k files in /etc
<bqv> And activate enumerates them…
<bqv> Never store git repos in /etc, folks!
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> Heh got it
o1lo01ol1o has joined #nixos
<rnhmjoj> bqv: what? really?
hlisp has joined #nixos
mzan has joined #nixos
<bqv> Yeah, its much less sluggish now I've moved it to /var
<clever> setup-etc.pl has to iterate over /etc to see if there are old symlinks to delete and such
<bqv> It took me straceing the whole process to work that out
<rnhmjoj> i guess i should move my configuration away from /etc/nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<bqv> you could store the majority elsewhere and just symlink configuration.nix or flake.nix
<Ashy> is there a way to pass options to a package with nix-shell on the commandline? something like: nix-shell -p "foo { option=true; }"
<clever> Ashy: nix-shell -p 'foo.override { option = true; }'
<Ashy> clever: thanks!
<{^_^}> [nixpkgs] @Mic92 merged pull request #85853 → vdagent: fixing 90s timeout on shutdown → https://git.io/JfIzA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfROa
<Ashy> clever++
<{^_^}> clever's karma got increased to -2147483648
<clever> bqv: i keep my configuration.nix thin, just filesystem stuff, and imports = [ /path/to/real/config.nix ];
fendor_ has joined #nixos
<clever> bqv: the filesystem stuff isnt worth keeping in git, because if i loose the root disk, the rest are likely also gone, and i have to redo the filesystems anyways
<bqv> Makes sense
<bqv> My /etc/nixos is just a symlink to the current flake in the store at this point, I have my WIP copy in ~
fendor has quit [Read error: Connection reset by peer]
<rnhmjoj> clever: that's... clever
Ariakenom has quit [Ping timeout: 265 seconds]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #87874 → gitAndTools.git-absorb: 0.5.0 -> 0.6.0 → https://git.io/JfROH
cizra has quit [Ping timeout: 240 seconds]
cirno999 has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @Mic92 merged pull request #87862 → bs-platform: 7.3.1 -> 7.3.2 → https://git.io/JfRvW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfROp
dermetfan has joined #nixos
troydm has quit [Ping timeout: 272 seconds]
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 159 commits to haskell-updates: https://git.io/JfR3I
<{^_^}> [nixpkgs] @Mic92 merged pull request #87873 → Sylk: 2.7.0 -> 2.7.2 → https://git.io/JfRYy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfR3L
<evils> anyone using sway + firefox-wayland? i'm having trouble with xdg-open
<Ashy> bqv: oh, my /etc/nixos is a git repo, does that get walked too?
<clever> Ashy: yep
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-ghc-lib-parser-ex: update overrides for the new 8.10.x version »: https://git.io/JfR3s
<{^_^}> [nixpkgs] @wnklmnn opened pull request #87875 → jugglinglab: init at 1.2 → https://git.io/JfR3Z
mallox has quit [Client Quit]
<Ashy> ah ok, i might have to fix that on my machines then
mallox has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #87874 → gitAndTools.git-absorb: 0.5.0 -> 0.6.0 → https://git.io/JfROH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfR3B
orivej has joined #nixos
<bqv> it might be an idea to just have setup-etc.pl ignore trees below a .git
<bqv> because i imagine this is something almost everyone has accidentally done
zupo has joined #nixos
knupfer has joined #nixos
pjt_014 has quit [Ping timeout: 264 seconds]
cizra has joined #nixos
troydm has joined #nixos
mojjoo has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f6bfb371cba (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<fps> hmm, how, in an out-of-tree package, can i use another out-of-tree package as propagatedBuildInput?
<fps> nix-build -E 'with import <nixpkgs> {}; let ogfx-tools = callPackage ../ogfx-tools {}; in (callPackage ./default.nix {}).overrideAttrs (oldAttrs: { src = ./. ; })'
orivej has quit [Ping timeout: 272 seconds]
<fps> error: undefined variable 'ogfx-tools' at /home/fps/src/projects/linux-audio/ogfx/ogfx-ui/default.nix:17:40
<fps> oh, bad me
fendor__ has joined #nixos
gilligan has joined #nixos
<fps> rather callPackage ../ogfx-tools/default.nix. but same result
<{^_^}> [nixpkgs] @adisbladis pushed to master « darktable: Remove doc directory from output »: https://git.io/JfRsU
<{^_^}> [nixpkgs] @cryptix opened pull request #87876 → gopls: 0.4.0 -> 0.4.1 → https://git.io/JfRsT
fendor_ has quit [Ping timeout: 256 seconds]
asymptotically has joined #nixos
orivej has joined #nixos
hlisp_ has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
YaoiFangirl420[m has left #nixos ["User left"]
opticnerve has joined #nixos
infinee has quit [Quit: WeeChat 2.8]
<fps> hmm, adding ogfx-tools as a parameter to the function with a default argument made it work. nice..
<clever> fps: thats where an overlay can be simpler
<{^_^}> [nixpkgs] @vbgl opened pull request #87877 → coq_8_11: 8.11.1 → 8.11.2 → https://git.io/JfRsB
<clever> fps: with import <nixpkgs> { overlays = [ (self: super: { pkg1 = self.callPackage ./pkg1 {}; pkg2 = self.callPackage ./pkg2 {}; }) ]; }
<clever> and then you can start to get fancy
<clever> nix-build '<nixpkgs>' --arg overlays '[ (self: super: { pkg1 = self.callPackage ./pkg1 {}; pkg2 = self.callPackage ./pkg2 {}; }) ]' -A pkg2
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 256 seconds]
__monty_1 has joined #nixos
__monty__ has quit [Ping timeout: 272 seconds]
<fps> clever: ah, thanks :)
<fps> that makes sense!
<clever> fps: if you want to get more fancy, then you can use makeScope
<fps> clever: nah, that level of fancy is fancy enough for my current level of expertise
<clever> fps: line 52 creates a new set of packages, containing every attr that `packages: self: { ... }` returned
<{^_^}> [nixpkgs] @Izorkin opened pull request #87878 → mariadb: 10.4.12 -> 10.4.13 → https://git.io/JfRsy
<clever> but, it also adds a .overrideScope' function, that can take an overlay, and insert it between the return-value and the `self` given to packages
<clever> so you can make a set of inter-connected packages, that can callpackage eachother
<clever> and then insert an overlay at a later time
__monty_1 has quit [Read error: Connection reset by peer]
hlisp_ has quit [Ping timeout: 260 seconds]
__monty__ has joined #nixos
hlisp has joined #nixos
<fendor__> Hi! Installed nixos, booted into the usb via nomodeset since the gfx is not supported by default, installed nixos and then installed the graphics drivers via videoDrivers = ["nvidia"];
<fendor__> but I get random freezes in KDE and the terminal, until keyboard and mouse become unresponsive altogether
<fendor__> how can I debug that? I can boot with the initial boot config and nomodeset just fine and there are not freezes there
<{^_^}> [nixpkgs] @adisbladis merged pull request #87808 → [20.03] slirp4netns 0.4.3 -> 0.4.5 → https://git.io/JfB3p
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to release-20.03: https://git.io/JfRGI
vidbina has quit [Ping timeout: 256 seconds]
<fps> fendor__: the lame answer: that's hard to debug since nvidia is closed source ;)
<fps> fendor__: maybe take a look at the X logs
fendor__ is now known as fendor
<{^_^}> [nixpkgs] @monacoremo opened pull request #87879 → openssl: split the (mostly empty) runtime dependencies of static builds into a separate output → https://git.io/JfRG0
<fendor> fps, with `journalctl -xb`?
never_released has quit [Ping timeout: 256 seconds]
never_released has joined #nixos
<{^_^}> [nixpkgs] @roberth opened pull request #87881 → haskell/generic-builder.nix: Fix C lib multiple inclusions → https://git.io/JfRG6
noudle has quit []
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__monty__ has quit [Ping timeout: 260 seconds]
__monty__ has joined #nixos
m0rphism has joined #nixos
coco has quit [Quit: WeeChat 2.7.1]
coco has joined #nixos
zupo has quit [Ping timeout: 272 seconds]
jk1 has joined #nixos
Cale has quit [Ping timeout: 240 seconds]
jk1 has quit [Client Quit]
knupfer has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Twey opened pull request #87882 → asciidoctor: add asciidoctor-bibliography → https://git.io/JfRZT
<fendor> ,locate nvidia
<{^_^}> Found in packages: lxc, ogre, linux, disper, ogre1_9, ogre1_10, linux.dev, linux-libre, linux_mptcp, linux_testing, linux_mptcp_94, linux-libre.dev, linux_mptcp.dev, apparmor-profiles, linux_testing.dev, linux_mptcp_94.dev, firmwareLinuxNonfree, linuxPackages_4_4.kernel, linuxPackages_4_9.kernel, linuxPackages_5_5.kernel, linuxPackages_4_14.kernel, linuxPackages_4_19.kernel, linuxPackages_4_4.kernel.dev, linuxPackages_4_9.kernel.dev, and 17 more
<fendor> where can I see which driver version of nvidia is installed?
<fendor> and should I try installing older drivers, or maybe even newer ones?
zupo has joined #nixos
zaeph1 has joined #nixos
zaeph has quit [Disconnected by services]
zaeph1 is now known as zaeph
<{^_^}> [nixpkgs] @Mic92 merged pull request #87876 → gopls: 0.4.0 -> 0.4.1 → https://git.io/JfRsT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfRZY
o1lo01ol1o has joined #nixos
KendyChat has quit [Remote host closed the connection]
coco has quit [Ping timeout: 265 seconds]
zupo has quit [Ping timeout: 264 seconds]
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
j-k has joined #nixos
zupo has joined #nixos
bvdw has joined #nixos
alp has quit [Ping timeout: 240 seconds]
<fendor> not sure if that is the cause, but I see an error message such as nvidia-gpu: i2c timeout error
vidbina has joined #nixos
j-k has quit [Quit: WeeChat 2.8]
knupfer has joined #nixos
<fps> fendor: trying different drivers might be a good idea, too
<fendor> fps, yeah will try. Dont see anything in the logs of `journalctl -p 3 -xk` except for a lot of complaints about kvm not being enabled
alexherbo2 has quit [Ping timeout: 256 seconds]
<fendor> can I see which nvidia legacy driver versions exist in nixos?
coco has joined #nixos
hlisp has quit [Read error: Connection reset by peer]
cfricke has quit [Quit: WeeChat 2.8]
<fps> fendor: i'm just guessing around, too. maybe try without -k and see if there's anything else that's suspicious
asheshambasta has quit [Ping timeout: 240 seconds]
<evils> ,locate wrapProgram
<{^_^}> Couldn't find in any packages
<bqv> make-wrapper
<fendor> lol, freezes are gone when openGl support is disabled as well as thermald and powertop
<fendor> and I added rd.debug to kernel params
<evils> bqv: thanks, tried `makeWrapper` xD
<bqv> heh
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #87409 → melpa-packages: 2020-05-11 → https://git.io/JfCF7
<evils> huh, no, it's not `make-wrapper` either
<{^_^}> [nixpkgs] @adisbladis pushed 4 commits to master: https://git.io/JfRZQ
<bqv> definitely is, what are you trying to do?
<evils> wrapProgram in installPhase
<bqv> are you putting makewrapper in nativeBuildInputs?
rauno has quit [Remote host closed the connection]
<evils> bqv: no, i'm putting `make-wrapper` in nativeBuildInputs, and it's in the inputs of the function too
<fendor> hm, maybe powertop caused the freezes since I dont have an intel cpu? #
<evils> how the hell am i stuck on this xD
<fendor> ok seems to be solved. Thank you fps!
<evils> apparently it's makeWrapper and it needs to be in buildInputs -_-
<bqv> evils: it is makeWrapper, but i thought you tried that
<bqv> also, it should be fine as long as it's in one of the inputs
<evils> bqv: i did, in nativeBuildInputs
<evils> it's not fine xD
<bqv> ...that makes no sense
<bqv> is this a special derivation?
jkarni_ has quit [Ping timeout: 272 seconds]
<bqv> (i.e. not stdenv.mkDerivation)
<evils> `makeWrapper = makeSetupHook `
__monty__ has quit [Ping timeout: 258 seconds]
<bqv> no, i mean yours
<bqv> i know what makeWrapper is
<evils> stdenv.mkDerivation
<bqv> then it should work...
<bqv> i even just tested it locally
eoli3n___ has joined #nixos
<bqv> it works fine in nativeBuildInputs
<bqv> and i've never done anything different
<bqv> this is almost certainly a problem specific to something you're doing
<evils> ah, `nativebuildInputs`
<bqv> oh ffs
* evils bangs his head against the table
<bqv> quite
opthomasprime has quit [Remote host closed the connection]
opthomasprime has joined #nixos
iyzsong has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
__monty__ has joined #nixos
jkarni_ has joined #nixos
mallox has joined #nixos
LysergicDreams has quit [Ping timeout: 264 seconds]
<bqv> something that quite bothers me with nix
<bqv> there's no identity function
eoli3n____ has joined #nixos
<bqv> i know it's easy enough to write with (x: x) but that feels so informal
<Taneb> > lib.id x
<{^_^}> 1.1
<Taneb> > lib.id 1
<{^_^}> 1
<Taneb> > lib.id "hello"
<{^_^}> "hello"
<bqv> oh!
<bqv> beautiful
<bqv> i guess i always expected it to be in builtins
eoli3n___ has quit [Ping timeout: 264 seconds]
<Taneb> There's no need for it to be in builtins
<bqv> how's life by the way, Taneb?
<Taneb> Not too bad, trying to work out if I can survive in a different country in 5 months
<bqv> oh, i thought you'd already moved
jkarni_ has quit [Ping timeout: 265 seconds]
<bqv> hope it goes well...
<Taneb> Yeah, the plan is to head to Italy sometime this autumn
<Taneb> Shall we move to #-chat?
<bqv> sure
dermetfan has quit [Ping timeout: 252 seconds]
eoli3n____ has quit [Ping timeout: 240 seconds]
eoli3n___ has joined #nixos
LysergicDreams has joined #nixos
MeTheFlea is now known as metheflea
hoijui has joined #nixos
eoli3n____ has joined #nixos
magnetophon has joined #nixos
eoli3n___ has quit [Ping timeout: 265 seconds]
eoli3n____ has quit [Remote host closed the connection]
opthomasprime has quit [Remote host closed the connection]
eoli3n___ has joined #nixos
opthomasprime has joined #nixos
__monty__ has quit [Ping timeout: 264 seconds]
opthomasprime has quit [Remote host closed the connection]
alp has joined #nixos
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/a7c70f2e10b (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #87885 → fly: 6.0.0 -> 6.1.0 → https://git.io/JfRcr
leotaku has quit [Ping timeout: 256 seconds]
hlisp has joined #nixos
<{^_^}> [nixpkgs] @geistesk opened pull request #87886 → pythonPackage.bleak: init at 0.5.1 → https://git.io/JfRcX
hlisp has quit [Ping timeout: 264 seconds]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfRcQ
jkarni_ has joined #nixos
zupo has joined #nixos
LysergicDreams has quit [Ping timeout: 246 seconds]
fendor_ has joined #nixos
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #87887 → otpgen: init at 97c7aa → https://git.io/JfRCY
lukash_ is now known as lukash_|away
marsh has quit [Ping timeout: 265 seconds]
jgeerds has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.33.4 -> 1.34.0 »: https://git.io/JfRCn
marsh has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #87888 → [20.03] signal-desktop: 1.33.4 -> 1.34.0 (backport) → https://git.io/JfRCE
cr4y1_ has quit [Ping timeout: 256 seconds]
cr4y1_ has joined #nixos
wolfshappen has quit [Quit: bye]
LysergicDreams has quit [Ping timeout: 256 seconds]
<{^_^}> [hydra] @edolstra merged pull request #759 → Devshell → https://git.io/JfBZy
<{^_^}> [hydra] @edolstra pushed 11 commits to master: https://git.io/JfRC1
LysergicDreams has joined #nixos
hmpffff has joined #nixos
jgeerds has quit [Ping timeout: 258 seconds]
ebopp has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
hmpffff_ has quit [Ping timeout: 260 seconds]
fendor has quit [Ping timeout: 260 seconds]
cr4y1_ has quit [Ping timeout: 258 seconds]
cr4y1_ has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
cosimone_ has joined #nixos
<evils> anyone using firefox-wayland running into an issue with xdg-open?
marsh has quit [Quit: No Ping reply in 180 seconds.]
marsh has joined #nixos
__monty__ has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ba86df00602 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
__monty__ has joined #nixos
cosimone has quit [Ping timeout: 264 seconds]
<tnias> evils: if you are using firejail, it can cause issues where you can't just "click on stuff and it works"
<evils> tnias: i've never heard of firejail, i switched from `firefox` to `firefox-wayland` yesterday and now xdg-open ends with an error about firefox already running
marsh has quit [Ping timeout: 240 seconds]
coco has quit [Ping timeout: 258 seconds]
<{^_^}> [nix] @edolstra pushed to flakes « Move registry-related commands from 'nix flake' to 'nix registry' »: https://git.io/JfRWW
marsh has joined #nixos
<{^_^}> [nixpkgs] @pbogdan opened pull request #87889 → pulseaudio: enable soxr (resampler) support → https://git.io/JfRWa
<evils> can someone clarify the criteria for using the staging branch?
kolaente_ has joined #nixos
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann closed pull request #87830 → ocamlPackages.x509: 0.11.1 → 0.11.2 → https://git.io/JfBot
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
coco has joined #nixos
CptCaptain has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
LysergicDreams has quit [Ping timeout: 258 seconds]
magnetophon has joined #nixos
Ariakenom has joined #nixos
kolaente_ has quit [Quit: WeeChat 2.7.1]
LysergicDreams has joined #nixos
fendor_ is now known as fendor
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<bqv> evils: if it causes rebuilds for more packages than you can list from memory, probably best to use staging
vidbina has joined #nixos
cosimone_ is now known as cosimone
waleee-cl has joined #nixos
zupo has joined #nixos
<evils> this is about #87882, especially now there's #87882 too
<{^_^}> https://github.com/NixOS/nixpkgs/pull/87882 (by Twey, 2 hours ago, open): asciidoctor: add asciidoctor-bibliography
o1lo01ol1o has joined #nixos
<evils> woeps, one of those was intended to be #87646
<{^_^}> https://github.com/NixOS/nixpkgs/pull/87646 (by evils, 3 days ago, open): asciidoctor: fix dangling ascidoctor-safe symlink
lorimer has quit [Ping timeout: 256 seconds]
remirol has joined #nixos
remirol is now known as lorimer
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
drakonis has joined #nixos
Rusty1 has joined #nixos
drakonis1 has quit [Ping timeout: 272 seconds]
<bqv> what is it that that actually modifies?
<bqv> cause if it's a very simple change you might get away with it
<bqv> i think common sense is the discriminator, generally, is my point
<evils> it's removing a dangling pointer, but causes 119 rebuilds, combined with another codebase that affects the same packaging, i've switched to staging and recommended they do the same
<evils> s/codebase/PR/
<bqv> fair enough
<evils> what the!, bot now says rebuild 5001+ xD
<bqv> you did rebase, right?
<bqv> i hope you rebased...
<evils> i switched my branch to staging
<evils> and cherrypicked my commit on top of it
<bqv> ok but github is still wanting to merge into master
<Raito_Bezarius> Is it possible to install Nix on a phone with no support for user namespace in a non-root directory with --store ?
<bqv> so now you're trying to merge staging into master
<bqv> that sounds like a bad idea
<evils> no, i switched the base of the PR
<bqv> ..interesting
<evils> odd, labels are now back to normal
<evils> but the log still shows "added 5001+" as the most recent change to labels
hmpffff_ has joined #nixos
<bqv> yeah, i think i was slightly right, borg caught the state between you doing those two things
<bqv> so for a little while it thought you were trying to merge staging into master
<evils> fast bot is fast xD
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e4d710b1c94 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ba86df00602 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<infinisil> evils: I'd say only to use staging for ~1000+ rebuilds
<bqv> do a 180!
<evils> infinisil: well, i was a bit hesitant to do a staging PR in the first place because i've never done that, and nix-review took less than an hour, but with the second PR, wouldn't using staging save a bunch of rebuilding?
gustavderdrache has joined #nixos
hmpffff has quit [Ping timeout: 272 seconds]
markus1189 has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
mthst has joined #nixos
hmpffff has joined #nixos
markus1189 is now known as predator117
predator117 is now known as markus1189
<infinisil> I'm not too involved with the staging process, but from what I understand, it's a pain to merge it into master. There can be conflicts, build problems, etc. And the more commits went to staging, the more difficult it gets to track down how to solve it
<evils> ah, i thought it was close to master but built less often
remirol has joined #nixos
lorimer has quit [Ping timeout: 256 seconds]
remirol is now known as lorimer
<infinisil> The reason for staging (again from what I understand) is to not cause stdenv rebuilds on master (meaning on master most things should be cached), and to bunch together changes that cause mass rebuilds (so multiple mass rebuild changes only cause one)
hmpffff_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @savannidgerinel opened pull request #87890 → fitnesstrax: derivation bugfix → https://git.io/JfR8T
<evils> well, bunch together mass rebuilds is the reason i thought it'd be a good idea to do the two asciidoctor PRs to staging, but apparently "the biggest rebuild i've done" doesn't count as a mass rebuild xD
<infinisil> Considering there are like 20k-30k packages in nixpkgs, with a couple PR's that change 100s of packages, the overlap between them is probably rather slim, meaning no rebuilds would be saved
<evils> well, the overlap is 100%
<evils> they're both asciidoctor PRs
<bqv> maybe just merge the PRs then?
<infinisil> That's still rather small
<evils> bqv: only one of the PRs is mine
nbrspo^ has quit []
<infinisil> I'm talking about stdenv changes that would each cause 30k packages to be rebuilt. Doing these together means you save 30k rebuilds
<infinisil> (per additional change)
drakonis_ has joined #nixos
drakonis1 has joined #nixos
<bqv> evils: you can collaborate :p
hmpffff_ has joined #nixos
tsrt^ has joined #nixos
turion has joined #nixos
<evils> bqv: but my PR is a small fix, and the other one increases the asciidoctor closure size by 40M; one's very likely to be merged, the other needs some review i think
<turion> How do I start a nix repl in a nixpkgs tree such that I get all the packages in scope?
<infinisil> I've had this idea before: We could have multiple levels of staging branches, and each level gets a different amount of rebuilds. E.g. 10k+ rebuilds go to the first level, 1k+ to the second one, 100+ to the third one
<infinisil> Then you could save even more rebuilds, probably
<infinisil> turion: nix repl .
<turion> infinisil++
<{^_^}> infinisil's karma got increased to 290
matthewcroughan has joined #nixos
<evils> infinisil++
<{^_^}> infinisil's karma got increased to 291
hmpffff has quit [Ping timeout: 272 seconds]
<evils> infinisil: that's gonna need documentation xD
<bqv> evils: if yours is a small fix, might as well get it in now, then by the time the next one gets in something else will probably have changed anyway so who cares
drakonis has quit [Ping timeout: 260 seconds]
hlisp has joined #nixos
<evils> bqv: unfortunately, the size of the change does not affect the size of the rebuild
<bqv> obviously not but there's no point postponing yours for the sake of a tiny gain
<evils> hmm, would recursive nix make that fix not rebuild anything? (it has no practical impact)
<bqv> if a package is different, it will get rebuilt. doesn't matter how it's written
<bqv> evils: i think you're trying to overoptimize/overbeaurocratize this :p
orivej has joined #nixos
<turion> Given a derivation, how do I create a nix-shell with it in path?
<bqv> > pkgs.mkShell { buildInputs = [ pkgs.hello ]; }
<{^_^}> "<derivation /nix/store/aq0czhpv3j10xbx86z3nmcmdg5sf3qhx-nix-shell.drv>"
<{^_^}> [nixpkgs] @Izorkin opened pull request #87891 → mariadb-connector-c: 3.1.7 -> 3.1.8 → https://git.io/JfR8i
<evils> bqv: i'm just still excited by my skirt with staging and don't have anything else to focus on atm
<{^_^}> [nixpkgs] @jtojnar merged pull request #87731 → maintainers/scripts/update.nix: various fixes and clean-ups → https://git.io/Jf4st
<{^_^}> [nixpkgs] @jtojnar pushed 5 commits to master: https://git.io/JfR8y
<turion> bqv++
<{^_^}> bqv's karma got increased to 10
<{^_^}> [nixpkgs] @dotlambda merged pull request #87346 → python27Packages.latexcodec: 1.0.7 -> 2.0.0 → https://git.io/JfC0R
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/JfR8x
iclanzan has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
cole-h has joined #nixos
<turion> Why is https://howoldis.herokuapp.com/ not working anymore? And why does https://nixos.org/nixos/packages.html not show the nixos-unstable channel anymore?
<evils> ,howoldis
supermarin has joined #nixos
<evils> there was some breaking change a while ago, maybe because of a server provider change, status.nixos.org got fixed howoldis got deprecated i suppose
m0rphism has quit [Quit: WeeChat 2.7.1]
<evils> turion: and i think nixpkgs-unstable was considered close enough to nixos-unstable for the purposes of package search
shibboleth has joined #nixos
<supermarin> Hi there, a somewhat noob question: yesterday I wanted to build neovim from source. Instead of installing all the deps on my main OS (macOS), I wanted to make a shell.nix file and include everything needed to build neovim in there, then use nix-shell --pure. I think using --pure is what I want, since I don't want any macOS-provided stuff involved
<supermarin> in the build. Now the problem: I was expecting that a simple package override would work (use the same formula as nixpkgs uses, and override sources). I've also tried with stdenv.lib.overrideDerivation. My question is: Am I doing something horribly wrong, or neovim's formula is just written in a non-standard way so the standard nix practices
<supermarin> don't apply?
<turion> evils++
<{^_^}> evils's karma got increased to 7
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e4d710b1c94 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<iclanzan> supermarin: Is there an error? Does the build work without --pure?
chris_ has joined #nixos
rogue_koder has joined #nixos
<supermarin> iclanzan eventually i was able to build it without --pure, but when I launch it there's a bunch of lua errors (some lua deps are missing). but definitely not satisfied with how much i was ductaping.
alp has quit [Ping timeout: 265 seconds]
<supermarin> the problem with --pure i didn't know how to solve is, some of the lua makefiles are using `sw_vers` which is a macOS binary
<supermarin> and doesn't have a nix package you could include as a buildInput
<chris_> Is it possible to mount a direct partition / drive to qemu using the `vm` module (I assume)? It seems qemu needs a `-hda` parameter passed to it, but I don't see it mentioned anywhere in the nix file.
alp has joined #nixos
<bqv> supermarin: given neovim involves like seven different languages, i would be surprised if it wasn't nonstandard
<turion> How do I fix this: nix-env -iA "nixpkgs.ghcWithPackages (p: [])"
<bqv> but a question in that same vein, is there a straightforward way to override a buildRustPackage to add a certain feature?
<bqv> or should i go to naersk
<turion> I want to be able to install an expression, but use the installed channels
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<bqv> if you take off the A that might just work
torque has quit [Read error: Connection reset by peer]
<turion> $ nix-env -i "nixpkgs.ghcWithPackages (p: [])"  
<turion> error: cannot auto-call a function that has an argument without a default value ('config')
<turion> $ nix-env -iE "nixpkgs.ghcWithPackages (p: [])"
<turion> error: undefined variable 'nixpkgs' at (string):1:1
<bqv> that first error speaks for itself :p
<bqv> import nixpkgs
<bqv> -i 'with import nixpkgs {}; pkgs.ghcWithP...
<chris_> turion: I think you also need to specify `haskellPackages.ghcWithPackages`.
<turion> For a nix-shell, it's just -p, then it works
<turion> chris_: Yes that's right, I forgot that
<turion> $ nix-env -iA "nixpkgs.haskellPackages.ghcWithPackages (p: [])"  
<turion> error: attribute 'ghcWithPackages (p: [])' in selection path 'nixpkgs.haskellPackages.ghcWithPackages (p: [])' not found
<bqv> yes but nixpkgs does what i just did under the hood
<bqv> nix-env doesn't
<bqv> don't shoot the messenger
<bqv> er
<bqv> s/nixpkgs/nix-shell/
<turion> $ nix-env -i "with import nixpkgs {}; nixpkgs.haskellPackages.ghcWithPackages (p: [])"  
<turion> error: cannot auto-call a function that has an argument without a default value ('config')
<bqv> turion: change the first nixpkgs to <nixpkgs> and the second to pkgs
<bqv> (sorry, looks like i mistyped that too)
<turion> $ nix-env -i "with import <nixpkgs> {}; pkgs.haskellPackages.ghcWithPackages (p: [])"    
<turion> error: cannot auto-call a function that has an argument without a default value ('config')
<bqv> oh, what about with -iE?
<turion> I think I'm still fundamentally misunderstanding nix-env -i ^^
<pbogdan> nix-env -i -f "<nixpkgs>" -E "f: (f {}).haskellPackages.ghcWithPackages(p: [ p.lens ])"
<bqv> pbogdan: well that's even more complicated
<bqv> what the heck
virus_dave has joined #nixos
<pbogdan> this works.. somehow..
<bqv> i don't trust nix commands that involve -f
<bbigras> colemickens: if you use waybar and you have time, could you take a look at https://github.com/NixOS/nixpkgs/pull/85507 . I'm desperate to get that one merged.
<{^_^}> #85507 (by bbigras, 3 weeks ago, open): waybar: optionally wrap mediaplayer.py
<supermarin> iclanzan bqv just to follow up on my previous message above: is there a preferred, or any? way to build software like neovim from a local checkout?
<turion> pbogdan: Oh wow. This is so insanely complicated.
<bqv> turion: does the last command work if you just use -iE instead?
<bqv> because that's a self contained expression, should be fine with a bit of massaging
<turion> bqv do you mean:
<turion> $ nix-env -iE "with import <nixpkgs> {}; pkgs.haskellPackages.ghcWithPackages (p: [])"            
<turion> error: attempt to call something which is not a function but a set, at undefined position
Cale has joined #nixos
<bqv> ok i give up then
<bqv> nix tools are the most unergonomic of any unix utilities i've come across
<bqv> supermarin: you may be able to override the src attribute to a local path and get away with that
<bqv> i don't know how neovim is built but presumably there's only one src
ddellacosta has joined #nixos
<turion> bqv: I agree. I don't know how nix & co can ever rise above niche applications if simple things like these don't get easier
vidbina has quit [Ping timeout: 256 seconds]
<bqv> arguably half of this nonsense goes away with flakes, and much of the rest goes away with the nix 2.0 commands
<manveru> that's what you get when haskell devs write nix expressions :)
* manveru hides
<turion> manveru: Feel free to share your wisdom
<turion> Or even better, to document it in highly visible places ;)
<bqv> manveru: as a haskell enthusiast, i honestly don't find nix very similar to haskell
<turion> bqv: That would be awesome! Can we do the same but better with nix 2.0 commands?
<manveru> turion: i think https://nixos.org/nixpkgs/manual/#haskell explains most about the standard stuff
<bqv> turion: i mean yes, but you're not on a flake setup so i don't think it would work
<bqv> manveru: nevermind, i misinterpreted your comment
<turion> manveru: In this case it was a bit of an X-Y-question because I wanted to ask about a just-merged feature (agda support), which works similar to Haskell
<manveru> ah, ok
<manveru> i was mostly joking anyway
<manveru> i modeled `ruby.withPackages` in a similar way
<{^_^}> [nixpkgs] @Aver1y opened pull request #87892 → apparmor: Fix broken patch links → https://git.io/JfRBc
<turion> I just wanted to write to the Agda mailing list that packaging Agda has just become easier because there is now good Agda support in nixpkgs. But I can't even find a good oneliner to simply install agda together with a standard library
<turion> I mean, a oneliner so that people won't think I'm making a bad joke when I write "Installing Agda and some libraries has just become simpler!"
reallymemorable has joined #nixos
<bqv> excellent, i'm now so many distractions deep that i've forgotten what i was doing on at least 3 levels
joko has quit [Quit: WeeChat 2.6]
mthst has quit [Quit: Leaving]
<manveru> turion: haven't heard of it yet, but let's see...
joko has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « lsp-plugins: Fix build »: https://git.io/JfRBa
<manveru> all the agda packages seem to be marked as broken
<turion> manveru: on master you can now install agda and its standard library
<manveru> that is master
<manveru> ah, nevermind
<turion> Maybe you need to pull?
Cale has quit [Ping timeout: 240 seconds]
<manveru> > agda.withPackages (p: [p.standard-library])
<manveru> that works at least
<srk> cool! I've had to use overlay disabling checks before and Agda master
<turion> Yep that works now
<{^_^}> "<derivation /nix/store/919izjm2z5svdkv08ka84hnxmrj9213c-agdaWithPackages-2.6.1.drv>"
<turion> Many libraries don't work yet because they haven't updated to 2.6.1 yet
<manveru> okk
<turion> Agda is a fantastic programming language from a theoretical perspective, but unfortunately all the boring software engineering aspects like package management weren't the focus when the language was developed. Afaikt, there is no real package manager, and you have to do that by hand usually. I was hoping that the agda infrastructure in nixpkgs could step in to serve as the same role that stackage plays in the Haskell ecosystem.
<turion> So if there is an ergonomic oneliner how people can install agda with some libraries using nix, that's an advancement.
hooo has joined #nixos
<manveru> `nix-env -f channel:nixpkgs-unstable -i 'agda.withPackages (p: with p; [standard-library])'` something like that?
<manveru> hm, no
<manveru> i never use nix-env... :P
supermarin has quit [Remote host closed the connection]
<turion> manveru: I'm at nix-env -f "<nixpkgs>" -iE "nixpkgs: (nixpkgs {}).agda.withPackages (p: with p; [ standard-library ])"
<turion> It's clunky, but well...
<manveru> that also won't work for most
<turion> Well, you have to get the nix-channel first
<manveru> yeah
<turion> Or is there another issue?
Darkmatter66_ has joined #nixos
<manveru> wondering if nix-shell might be nicer
lord| has quit [Read error: Connection reset by peer]
<turion> I think I'm not going to try and talk people into creating a .nix file where they have to pin commit hashes
<turion> manveru: Maybe, but then Agda breathes with interactive editors, and they need the executable available in the path
<manveru> just start the editor from the shell...
<turion> I think it's too much to ask if everyone has to start their favourite editor from within a nix-shell
<manveru> oh well :)
lord| has joined #nixos
<turion> I'd find that annoying as well, I don't want to know how annoying an average agda user will find it
Darkmatter66 has quit [Ping timeout: 272 seconds]
<manveru> well, installing globally ad-hoc is the equivalent of installing npm packages globally... :|
<manveru> might feel nice at first, but just asking for trouble later
<turion> Yes :(
<turion> $ nix-env --upgrade
<turion> error: cannot auto-call a function that has an argument without a default value ('config')
<turion> I never used that feature before. Is it supposed to work
hlisp has quit [Ping timeout: 260 seconds]
<manveru> no
<manveru> not with expressions like this
<manveru> so i'd recommend to make a .nix file with a pinned nixpkgs and the agda expression and let them -i that
<manveru> at least then they can update by bumping the hash and installing it again
<turion> So I can break nix-env --upgrade without a helpful error message by installing something?
<manveru> sure
Cale has joined #nixos
wolfshappen has joined #nixos
<manveru> i just hope it gets deprecated soon :)
<manveru> i mean, nixos is basically based on nix-env, but in a way more controlled fashion
hlisp has joined #nixos
<turion> I hope so too. This is really unusable
wnklmnn has quit [Read error: Connection reset by peer]
fendor has quit [Ping timeout: 258 seconds]
<turion> Thanks for guiding me out of that path... I still feel like I have no recommendation that I can give to non-Nix-diehards
<turion> ...though
<turion> E.g. in the manual (https://github.com/NixOS/nixpkgs/blob/b0df5a6816b644c2e0b6ebcde6ad0784b07205e0/doc/languages-frameworks/agda.section.md) it says: "Agda can be installed from agda: $ nix-env -iA agda"
wnklmnn has joined #nixos
<turion> That's great and sounds simple. Now I want to go and also install a library, and suddenly I'm in a mess
<manveru> yep
<manveru> until you add `agda-with-stdlib` to nixpkgs or something...
<turion> And then that again for every other library combination in Agda...
wolfshappen has quit [Ping timeout: 265 seconds]
wolfshappen has joined #nixos
<turion> Agda libraries were hard before because it required people to keep a text file with paths of downloaded repos up to date. Now we're doing a bit better in nixpkgs by automating the downloaded repo part.
<manveru> babysteps :)
<{^_^}> [nixpkgs] @aanderse opened pull request #87893 → govc: 0.21.0 -> 0.22.1 → https://git.io/JfRRX
<turion> Maybe tell them to put {pkgs}: { environment.systemPackages = [ pkgs.agda.withPackages (p: with p; [standard-library]) ] } in their ~/.config/nix/config.nix?
<colemickens> bbigras: I think cole-h is a user of waybar. (cole-h see https://github.com/NixOS/nixpkgs/pull/85507 for a review, maybe?)
<{^_^}> #85507 (by bbigras, 3 weeks ago, open): waybar: optionally wrap mediaplayer.py
<bbigras> colemickens: thank you very much 😃
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<cole-h> *Was* a user :D But I still have it installed -- bbigras Is there any way you could wait until tomorrow? I have an essay I still need to finish, due tonight... 😬
<bbigras> cole-h: no hurries. I have been waiting for weeks. Thank you very much.
<cole-h> Hehe. Added to my TODO list; feel free to ping if you don't hear anything from me
<{^_^}> [nixpkgs] @nlewo merged pull request #87725 → dockerTools.examples: fix the nginx image → https://git.io/Jf4qb
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JfRRb
zarel has joined #nixos
<bbigras> Will do. Thanks again.
mojjoo has quit [Ping timeout: 245 seconds]
LysergicDreams has quit [Ping timeout: 258 seconds]
LysergicDreams has joined #nixos
zarel_ has joined #nixos
<turion> manveru: If I go your path and say people have to maintain an agda.nix file and install it, how do they update then?
zarel has quit [Ping timeout: 246 seconds]
<turion> Just rerun nix-env -i?
<{^_^}> [nixpkgs] @bessonm opened pull request #87894 → maven: Wrap mvnDebug for convenience → https://git.io/JfR0f
<manveru> turion: yes
<turion> Ok that's simple enough I guess
<{^_^}> [nixpkgs] @bessonm closed pull request #65278 → maven: Wrap mvnDebug for convenience → https://git.io/fjMxP
<manveru> something like that
<manveru> or this to always get the latest unstable https://www.irccloud.com/pastebin/Yi0xo1EL/agda.nix
<manveru> argh
quinn has quit [Read error: Connection reset by peer]
<manveru> fixed :)
<manveru> and then `nix-env -i $(nix-build ./agda.nix)`
alexherbo2 has joined #nixos
hlisp has quit [Ping timeout: 258 seconds]
quinn has joined #nixos
hlisp has joined #nixos
chris_ has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @jtojnar pushed to staging « meson: 0.54.1 → 0.54.2 »: https://git.io/JfR0G
hoijui has quit [Quit: Leaving]
zarel_ has quit [Ping timeout: 258 seconds]
zarel has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #87803 → alot: 0.9 → 0.9.1 → https://git.io/JfBYq
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/JfR0C
hlisp has quit [Ping timeout: 264 seconds]
hlisp has joined #nixos
timon37 has joined #nixos
fendor has joined #nixos
<turion> manveru, oh ok that's cool :) although nix-env -i f agda.nix does the trick as well, doesn't it?
<{^_^}> [nixops] @grahamc merged pull request #1343 → Add flake8 linter → https://git.io/Jf44T
<{^_^}> [nixops] @grahamc pushed 22 commits to master: https://git.io/JfR0r
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
<{^_^}> [nixops] @grahamc merged pull request #1339 → Fixing info for commandOutput resource → https://git.io/JfCtq
<{^_^}> [nixops] @grahamc pushed 2 commits to master: https://git.io/JfR0P
m0rphism has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
mananamenos has quit [Remote host closed the connection]
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
hlisp has quit []
<{^_^}> [nixops] @grahamc opened pull request #1344 → CI poetry check: delete poetry lock → https://git.io/JfR0Q
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
timon37 has quit [Client Quit]
gilligan has quit [Quit: WeeChat 2.7.1]
Ariakenom has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @bbigras opened pull request #87896 → starship: 0.41.1 -> 0.41.3 → https://git.io/JfR0h
erasmas has joined #nixos
<turion> I guess I haven't given https://github.com/agda/agda-pkg enough credit in the whole Agda package management rant. So maybe nixpkgs should first interoperate with that before announcing the solution to all problems
gentauro has quit [Read error: Connection reset by peer]
salumu has joined #nixos
gentauro has joined #nixos
sMuNiX has quit [Ping timeout: 258 seconds]
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixops] @grahamc merged pull request #1344 → CI poetry check: delete poetry lock → https://git.io/JfR0Q
<{^_^}> [nixops] @grahamc pushed 2 commits to master: https://git.io/JfREG
teto has joined #nixos
<{^_^}> [nixops] @grahamc merged pull request #1338 → rst: port release notes → https://git.io/Jfn5j
<{^_^}> [nixops] @grahamc pushed 2 commits to master: https://git.io/JfREn
cole-h has joined #nixos
<lunik1> afaict megasync doesn't build on 20.03, but this has been fixed on unstable. what would be the process to request a backport, cherry-pick the relevant commits and open a PR?
<teto> any advice on prioritizing nixos' pandas in a pipenv environment (pipenv's pandas complains about the missing libc)
<kaychaks_riot> I come back again to ask for any solution to launch multiple firefox via rofi in sway without getting the "firefox is already running" error
msirabella has joined #nixos
<kaychaks_riot> I'm running firefox-wayland package with all required env vars
justanotheruser has quit [Ping timeout: 244 seconds]
<colemickens> what does "multiple firefox" mean?
<colemickens> also, you don't want to use firefox-wayland if that's really still a thing, the regular firefox package runs on wayland
<evils> kaychaks_riot: sounds like #87895
<{^_^}> https://github.com/NixOS/nixpkgs/issues/87895 (by evils, 12 minutes ago, open): firefox-wayland cannot be started if it is already running
<colemickens> why do we even have that still
<colemickens> it should alias to firefox
<evils> colemickens: because `firefox` runs via xwayland and mouse movement events don't get detected outside of it; so i get tooltips on top of other wayland apps if i switch workspace
<colemickens> man, this is also so jacked up
<colemickens> if you use MOZ_USE_WAYLAND, stable firefox does not use xwayland
<colemickens> this sets GDK_WAYLAND in a wrapper, which it shouldn't. includes libglvnd only if gdkWayland is true, even though it should always be included.
<colemickens> I'll have to take a look at this later.
<evils> colemickens: thanks
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
magnetophon has quit [Read error: Connection reset by peer]
leotaku has joined #nixos
NeoCron has joined #nixos
<kaychaks_riot> evils: thanks
gordon has joined #nixos
<gordon> hi
<{^_^}> [nixpkgs] @CheariX opened pull request #87898 → joplin-desktop: 1.0.201 -> 1.0.207 → https://git.io/JfREP
<colemickens> to reiterate, `nixos.firefox` + MOZ_USE_WAYLAND = success on wayland (including webrender)
magnetophon has joined #nixos
<gordon> i’m building a derivation for a qt app, it builds, it runs in the nix-shell, but outside, in my standard environment, it fails with `qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""`
<gordon> but my QT_PLUGIN_PATH is the same in both environments :|
<gordon> (i’m using wayland, that could be a useful info)
amf has quit [Quit: WeeChat 2.7.1]
<lunik1> colemickens: so that should be used instead of nixos.firefox-wayland?
<qyliss> isn't that all firefox-wayland is?
<colemickens> lunik1: I can only say, without testing more which I'll do in a few hours, is that `firefox` hasn't suffered from the bug @evils is mentioning for some time.
<colemickens> qyliss: no
morgrimm has joined #nixos
<colemickens> Setting GDK_BACKEND is a Bad Thing To Do TM.
johnjay has quit [Ping timeout: 240 seconds]
<qyliss> then should firefox-wayland be changed to set MOZ_USE_WAYLAND?
<colemickens> I think. And we should look at libglvnd again.
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen has joined #nixos
sarcasticadmin has joined #nixos
<kaychaks_riot> I just used nixos.firefox and MOZ_USE_WAYLAND=1 but still getting the same error in sway
<colemickens> of course, s/USE/ENABLE/g because I always get this wrong.
<colemickens> sorry
<colemickens> :|
justanotheruser has joined #nixos
morgrimm has quit [Ping timeout: 260 seconds]
<evils> so i had tried to set that (USE) in the desktop file before (because the main issue i'm having is xdg-open not working) and that didn't help
<colemickens> I set MOZ_ENABLE_WAYLAND for my entire session, that might have something to do with it.
<colemickens> oh interesting.
<colemickens> evils: maybe we should do that in the firefox-wayland wrapper then too?
* colemickens isn't sure why he doesn't get that
<colemickens> Firefox 74 ships new MOZ_DBUS_REMOTE env variable and it forces Firefox on X11 to use D-Bus remote protocol as well as Wayland version does. So when X11 Firefox is launched after Wayland one with the same profile, already running Wayland instance is reused to open the link instead of the “Close Firefox” greetings.
<colemickens> That sounds like something else is still wrong then.
<colemickens> You can't mix and match firefox sessions.
<evils> well, i did that via wrapper.nix, i don't think i actually had the running instance use either of those variables... (unless dmenu uses the .desktop file)
dermetfan has joined #nixos
johnjay has joined #nixos
<evils> running this twice, fails the second time (when the first instance is kept running) `env MOZ_DBUS_REMOTE=1 MOZ_ENABLE_WAYLAND=1 ./result/bin/firefox `
<{^_^}> [nixpkgs] @Mic92 merged pull request #87892 → treewide: fix broken AlpineLinux repo links → https://git.io/JfRBc
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Aver1y to master « treewide: fix broken AlpineLinux repo links (#87892) »: https://git.io/JfRuP
growpotkin has joined #nixos
Lutrulo has joined #nixos
amf has joined #nixos
<evils> that's with `firefox-wayland` in result; same result with `firefox`; except that the warning popup is themed and floating...
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Aver1y to release-20.03 « treewide: fix broken AlpineLinux repo links (#87892) »: https://git.io/JfRu5
<evils> ah, themed and floating is due to xdg-open
jkarni_ has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
ebopp has quit [Quit: leaving]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @langston-barrett closed pull request #39318 → Revamp Agda builder, add documentation → https://git.io/vpYx6
<{^_^}> [nixpkgs] @bhipple opened pull request #87899 → tensorflow: passthru deps from bazel build → https://git.io/JfRzJ
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<{^_^}> [hydra] @knl opened pull request #762 → Fix declarative jobset missing type value → https://git.io/JfRzc
fendor_ has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
horek has joined #nixos
growpotkin has joined #nixos
proofofkeags has joined #nixos
NeoCron has quit [Ping timeout: 264 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
zupo has joined #nixos
cjpbirkbeck has joined #nixos
<Mic92> nixpkgs almost has 5K stars
<Mic92> We just need 16 more!
<wnklmnn> 15
fendor_ has quit [Ping timeout: 265 seconds]
<ar> 14
<gordon> 13
lucksus has joined #nixos
<bqv> 12
<{^_^}> [nixpkgs] @jakobrs opened pull request #87900 → schismtracker: Add x86_64-darwin support → https://git.io/JfRgK
<evils> 13
<Lutrulo> 12
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
ris has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
dingenskirchen1 has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 is now known as dingenskirchen
o1lo01ol1o has joined #nixos
<jjwatt[m]> let me make sure I've starred it. pretty sure I have already
fendor has quit [Read error: Connection reset by peer]
<jjwatt[m]> ohh i can get some buddies to
<{^_^}> [nixpkgs] @lunik1 opened pull request #87901 → [20.03] megasync 4.2.3.0 -> 4.3.0.9 (backport) → https://git.io/JfRgS
alexherbo2 has joined #nixos
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @jakobrs opened pull request #87902 → schismtracker: 20190805 -> 20200412 → https://git.io/JfRgH
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #87717 → colmap: update boost to 1.72 to fix build → https://git.io/Jf4Um
<{^_^}> [nixpkgs] @jonringer pushed commit from @matthuszagh to master « colmap: update boost to 1.72 to fix build »: https://git.io/JfRgA
jjwatt[m] has left #nixos ["User left"]
<hyperfekt> ,locate bin/ignore
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> Couldn't find in any packages
<hyperfekt> great
jjwatt[m] has joined #nixos
<selfsymmetric-mu> What happens at 5000?
<bqv> eelco does an irish jig in front of redhat headquarters
<bqv> what do you think happens? :p
<evils> 11 to go
<lunik1> 10
magnetophon has joined #nixos
<cransom> i'm pretty close to redhat HQ, but i don't know an appropriate jig
<selfsymmetric-mu> 11
<bqv> i'll hook you up with my local leprechaun
<evils> who ever unstars anything xD
<selfsymmetric-mu> It's a special occasion!
<{^_^}> [nixpkgs] @jonringer merged pull request #87870 → [20.03] youtube-viewer: 3.3.0 -> 3.7.5 → https://git.io/JfRmd
<{^_^}> [nixpkgs] @jonringer pushed commit from @AleXoundOS to release-20.03 « youtube-viewer: 3.3.0 -> 3.7.5 »: https://git.io/JfR2G
<selfsymmetric-mu> jk, 10 :P
Fare has joined #nixos
chloekek has joined #nixos
AMD1212_ has quit [Ping timeout: 244 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @talyz merged pull request #87843 → nomachine-client: Add archive.org to source urls → https://git.io/JfByj
<{^_^}> [nixpkgs] @talyz pushed 2 commits to master: https://git.io/JfR2g
<{^_^}> [nixpkgs] @talyz merged pull request #87844 → [20.03] nomachine-client: 6.9.2 -> 6.10.12, add archive.org to source urls → https://git.io/JfBSc
<{^_^}> [nixpkgs] @talyz pushed 3 commits to release-20.03: https://git.io/JfR22
corpix_ has joined #nixos
corpix has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #87869 → polybar: 3.4.2 -> 3.4.3 → https://git.io/JfRms
<{^_^}> [nixpkgs] @jonringer pushed commit from @filalex77 to master « polybar: 3.4.2 -> 3.4.3 »: https://git.io/JfR2r
o1lo01ol1o has joined #nixos
philr_ has quit [Ping timeout: 246 seconds]
MmeQuignon has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @ajs124 closed pull request #87762 → redis: 5.0.8 -> 6.0.1 → https://git.io/Jf4io
fendor_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixops] @adisbladis merged pull request #1280 → Added a keyCmd option for fetching a key from local command → https://git.io/JfR2N
<{^_^}> [nixops] @adisbladis pushed 4 commits to master: https://git.io/JfR2A
<{^_^}> [nixops] @adisbladis merged pull request #1247 → Make it possible to use Nixops without automatic SSH key provisioning → https://git.io/JvKoc
<{^_^}> [nixops] @adisbladis pushed 4 commits to master: https://git.io/JfRae
fendor_ has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #87857 → go-tools: 2020.1.3 -> 2020.1.4 → https://git.io/JfBpO
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « go-tools: 2020.1.3 -> 2020.1.4 »: https://git.io/JfRaq
proofofkeags has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7319061eef4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7319061eef4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
proofofk_ has joined #nixos
AMD1212_ has joined #nixos
codygman has quit [Ping timeout: 256 seconds]
codygman has joined #nixos
fendor_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @zimbatm pushed to master « Revert "Get rid of go 1.13 (#86036)" »: https://git.io/JfRai
eoli3n___ has quit [Quit: eoli3n___]
bhipple has joined #nixos
LysergicDreams has quit [Ping timeout: 258 seconds]
LysergicDreams has joined #nixos
user_0x58 has joined #nixos
T0pH4t has joined #nixos
<Baughn> gchristensen: I think you said you were using Sway... mind if I pick your brain for a second? Firefox is lagging out, and I wonder if that's a *known* problem. It does seem to be sway-specific, but I can't find references.
shafox has quit [Remote host closed the connection]
<T0pH4t> is it possible to modify the packages passed to a module in a container? For example I might have containers.foo = { config = {config, pkgs, ...}: services.foo = {...} }. foo is a standard custom module, is it possible to modify the pkgs it uses to include some of my own?
matthewcroughan has quit [Quit: Connection closed]
selfsymmetric-mu has quit [Ping timeout: 260 seconds]
<Baughn> T0pH4t: The preferred way to do that is to pass a package as a config option.
<T0pH4t> Baughn: how would i do that?
fendor_ has joined #nixos
<cole-h> Baughn: How do you mean "lagging out"?
<Baughn> T0pH4t: Depends on whether you're writing the config code or not.
<Baughn> cole-h: Every once in a while it stops responding to input for a couple of seconds.
<T0pH4t> i'm wring the config code, but i didn't think I had access to the params to the module itself
selfsymmetric-mu has joined #nixos
<cole-h> I don't have that issue, personally -- you're using `MOZ_ENABLE_WAYLAND=1`, yes?
<Baughn> So you're not writing the module.
<Baughn> I've tried it with and without.
Soo_Slow has quit [Quit: Soo_Slow]
<Baughn> Not sure how to verify if Firefox is using it or not.
<T0pH4t> i'm writing the module, but its part of a custom packages repo (eg we have a company repo with nixpkgs and modules)
<T0pH4t> the idea is a developer can use a developer version of a service, rather than the prod version of a service
<T0pH4t> so they can swap out the package used
<cole-h> Baughn: If it's set in your environment, it's probably using it. If not, it probably isn't and you're using the X11 version.
<Baughn> T0pH4t: That should work. Note the .package option.
<T0pH4t> where the package is changable, but has a default value. The default value in my case was going to be from our companies private packages
<Baughn> cole-h: I tried with and without, as I said. Doesn't seem to make a difference.
endformationage has joined #nixos
<T0pH4t> Baughn: I see the package option and i was wondering about the default value. Eg i'd like to have pkgs.foo where foo is from our privage pkg repo
morgrimm has joined #nixos
<T0pH4t> thats why i was asking how i could modify the pkgs passed into the module when configuring a container
<cole-h> Baughn: What does your `about:support` say? `Window Protocol: wayland`?
<cole-h> (It's somewhat far down the page, so you're better served Ctrl+F'ing it)
<Baughn> I'll check next time I'm in Linux. Had to open windows to get some work done.
<Baughn> T0pH4t: That should be a config option like any other... can I see how you're trying to define the container?
morgrimm has quit [Ping timeout: 246 seconds]
<T0pH4t> yup 1 sec
codygman has quit [Read error: Connection reset by peer]
<hyper_ch> 43167 store paths deleted, 83348.54 MiB freed
codygman has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @primeos merged pull request #87888 → [20.03] signal-desktop: 1.33.4 -> 1.34.0 (backport) → https://git.io/JfRCE
<{^_^}> [nixpkgs] @primeos pushed 3 commits to release-20.03: https://git.io/JfRV9
<T0pH4t> I could explicitly define package inthat config, but i was hoping to default the value in the foo module to the default prod version
<Baughn> I mean, yeah, both of those would work.
LysergicDreams has quit [Quit: leaving]
<{^_^}> [nixpkgs] @peti pushed 35 commits to haskell-updates: https://git.io/JfRVd
<Baughn> T0pH4t: So you put a mkDefault in the module, then reassign it in your dev cluster or whatever.
iclanzan has quit [Quit: leaving]
<T0pH4t> a mkDefault in the container config or the module itself?
<Baughn> Wherever you prefer, really.
<hyper_ch> I still wonder how a few generations generate so much disk usage
<Baughn> hyper_ch: Do you have auto-optimise-store enabled?
<T0pH4t> Baughn can you maybe point me at an example of this?
<Baughn> T0pH4t: The elasticsearch module *is* an example.
<hyper_ch> Baughn: not per se but I do when when I clean 2272.57 MiB freed by hard-linking 162894 files
<Baughn> hyper_ch: Perhaps consider enabling it. :)
<T0pH4t> i didn't see a mkDefault in there
<Baughn> T0pH4t: There's a default. It amounts to the same thing.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfRVp
<hyper_ch> Baughn: hmmm.....
<hyper_ch> Baughn: how to enable it?
<T0pH4t> Baughn: If you are refering to the default option value then yes i see that, but I was asking about how i get my company pkgs pass thru to the module at configure time
<Baughn> T0pH4t: Well, edit the default?
<Baughn> Hmm.
<T0pH4t> mm I mean the function arguments at top of module
<Baughn> No, don't do that. Use the options system.
<Baughn> Do you know how the options system works, in general?
<T0pH4t> ig if iwant { config, lib, pkgs, company-pkgs, ...}
zupo has joined #nixos
<T0pH4t> eg*
zupo has quit [Client Quit]
<T0pH4t> if thats not doable, then thats fine
<Baughn> Those packages are from the scope in which callPackage was invoked.
<Baughn> You can't add something to it without first adding it to said scope.
<T0pH4t> make sense, and I'm guessing I don't have access to that scope since this is invoked by nix
<Baughn> But you *can* e.g. stick an "import /etc/company-pkgs" in there.
<T0pH4t> right
<T0pH4t> ok thx
<Baughn> Or you can override .package elsewhere, e.g. from an import in the container.
<T0pH4t> yup
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<hyper_ch> Baughn: thx
<{^_^}> [nixpkgs] @turion opened pull request #87903 → WIP agda: Add libraries semi-automatically from package-index → https://git.io/JfRwI
o1lo01ol1o has joined #nixos
alp has quit [Ping timeout: 260 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
jgeerds has joined #nixos
<symphorien> how can ban IFD in nix-instantiate ?
turion has quit [Ping timeout: 244 seconds]
<evils> colemickens: fwiw, i've got the impression this made no difference to my problem, https://dpaste.org/4krS
<colemickens> I don't mean to be rude but I've been dogfooding this stuff a long time
balsoft has joined #nixos
<balsoft> symphorien: what's the reason for doing this? I doubt it's possible without patching nix itself.
<colemickens> please just try the firefox derivation with MOZ_ENABLE_WAYLAND set
<colemickens> and pkill firefox first
<symphorien> balsoft: test a fix for https://github.com/NixOS/nixpkgs/issues/87679
<colemickens> or else I can look more later.
<{^_^}> #87679 (by emilazy, 3 days ago, open): os-prober: test uses import-from-derivation
fendor_ has quit [Ping timeout: 264 seconds]
<emily> symphorien: not sure, but hydra does it I guess
<symphorien> heh I'm not setting up hydra just for this
alexherbo2 has quit [Ping timeout: 240 seconds]
<emily> symphorien: nix option allow-import-from-derivation
<emily> badly named, it has nothing to do with import :(
<symphorien> oh nice
<evils> colemickens: no offense taken, i was under the impression i tried setting the env var (by way of `env ... firefox`) (i'm not very familiar with setting stuff like this) which is why i'm trying to make sure by messing with the wrapper
<emily> wonder what a better term would be. "build-in-(instantiation|evaluation)"?
lucksus has quit [Remote host closed the connection]
<cole-h> `--no-allow-import-from-derivation` should work, I think.
<cole-h> Maybe?
reallymemorable has quit [Quit: reallymemorable]
<emily> huh, that's not documented in the manual but seems to exist, yes
<emily> I wonder if it differs from --optino allow-import-from-derivation false at all
<symphorien> that would be surprising
<{^_^}> [hydra] @gilligan closed pull request #574 → Improve dev env → https://git.io/fNYcU
<{^_^}> [nixpkgs] @andir merged pull request #87811 → firefox: 76.0 -> 76.0.1 → https://git.io/JfBGt
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JfRwV
<{^_^}> [hydra] @gilligan closed pull request #353 → Make it easier to spin up a development environment → https://git.io/JfRww
<{^_^}> [nixpkgs] @andir merged pull request #87834 → [20.03] firefox: 76.0 -> 76.0.1 → https://git.io/JfBPk
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-20.03: https://git.io/JfRwr
<balsoft> emilazy: Oh, nice, didn't know that
gagbo has quit [Quit: I'm out !]
<balsoft> emilazy: --no-something is the same as --option something false, and --something <value> is the same as --option something <value>
zupo has joined #nixos
<emily> does that apply for every single option? didn't know that
<srhb> emily: It should in nix.. 2.something.
<cole-h> emily: Only reason I suggested that is because of https://github.com/NixOS/hydra/commit/e379628db0476974ce5facbbb27b51b33aa94181
MmeQuignon has quit [Quit: WeeChat 2.8]
<cole-h> Which is the only time I've seen it used :P
<srhb> emily: Though I think v2 is the only one with proper completions for non --option style
<Fare> Hi. I have an "interesting" problem with #!-interpreted #!-interpreters -- this works on Linux, but not on macOS. Using env as a shim works on macOS but fails on Linux in Docker because of a 128-char #!-line limitation. Using /usr/bin/env generally works, but apparently not if the binary is used during the nix build. Sigh.
<srhb> Fare: Did you hear about that time Linux broke all of NixOS? :-)
<Fare> Is it possible to for /usr/bin/env to exist while building? After all, it's a standard path defined in POSIX that even NixOS provides.
<emily> srhb: v2 as in nix(1) or the nix- commands in 2.something?
<Fare> srhb: which time?
<srhb> emily: As nix commands without the dash
<evils> colemickens: ok, i can't reproduce my issue from a `nix-shell --pure`
<srhb> Fare: Ah nevermind, just the time where the kernel started not passing long shebangs. Anyway, are you saying this is specifically a problem in docker?
alp has joined #nixos
<bdju> So, p7zip was marked insecure... is there a replacement? mainly I used it because it was free software and could unpack a rar file
<lunik1> bsdtar (from libarchive) can unpack rars
<bdju> ah, neat
dtz has joined #nixos
<dtz> oh?? neat!
lucksus has joined #nixos
<bdju> ugh home-manager keeps spitting out errors about p7zip even after taking it out of my home.nix. what a pain. how do I remove this thing?
<lunik1> it can also pack and unpack .7z
<Fare> how do I tweak my script to behave differently on BSD than Linux, already ?
<rycee> bdju: `home-manager uninstall` should work if you use the standalone setup.
<Fare> srhb, looks like the Docker kernel indeed is stripping the #! line to 128 characters or some such.
<Fare> or are you saying the bad kernel comes from my own nix-produced docker image.
<ajs124> bdju: you might have something that depends (as of now) on p7zip as a build or runtime dependency
MmeQuignon has joined #nixos
<ajs124> like unetbooting (last time I checked, at least)
<bdju> ajs124: oh, you're probably right. I think multibootusb needs it. I'll try that
<lunik1> Fare: in bash you can check $OSTYPE?
<bdju> rycee: is that to remove p7zip or home-manager itself? I don't want to remove home-manager
<bdju> ajs124: there a way to locate what may be depending on it? commenting out multibootusb did not do the trick
<bqv> lunik1: but not gnu tar, right?
<Fare> yes, the kernel inside docker was made by NixOS
<lunik1> not gnu tar afaik
<rycee> bdju: Ah, right. That command uninstalls Home Manager :-)
<bqv> Interesting
<ajs124> bdju: you can use `nix why-depends` or some tool like that
<lunik1> and I don't know if libarchive is used as the default tar in any other BSD than Free, so maybe not those either
<bdju> ajs124: how do I find out how to use this? `nix why-depends p7zip` doesn't work, doing pkgs.p7zip didn't work either. Says more arguments are required, but can't think of what else I'd add.
<ajs124> you need to pass it two... drvs? I think. someone here probably knows how to use it, but I'll go see if I can find some documentation.
<bdju> as in long file paths to the nix store?
<bdju> also, I don't know what two to pass it, I just want p7zip removed, I *think* mulitbootusb needs it, but commenting out both doesn't get me anywhere, so then I don't know how I would then go on to see if anything else needed it if I need two files listed
<ajs124> ah, so wait. you have p7zip in you system or home-manager or where?
gordon has quit [Ping timeout: 246 seconds]
hlolli has joined #nixos
<bdju> ajs124: p7zip is in my home.nix for home-manager, I can't update because of it, but removing it from my file also isn't working.
<bdju> I do everything declaratively so it should just look at the list, see it's gone, and move on... not so simple, I guess.
<Fare> Aha, Docker inherits the kernel from outside, so on my machine I have the NixOS kernel and everything's fine, but on Gitlab, they use one of these kernels with tighter #!-line limitations and I can't #!/...coreutils...env /full/path/to/nix/stuff
<ajs124> bdju: then you can probably do nix-store -q --tree $HOME/.nix-profile
<lucksus> Hey folks, I'm trying to cross-compile my Rust project to Android using a nix-shell (on Ubuntu host) with `crossSystem`, and I'm running into the exact same problem described and patched here: https://github.com/NixOS/nixpkgs/issues/56156. I tried to apply the same patch using an overly but no matter what I do, it seems the overlay doesn't apply to
<lucksus> the LLVM pulled in by crossSystem. And I can't find comprehensive documentation for crossSystem, like how to set the LLVM version used etc. Any help or link to docs would be very appreciated!
<{^_^}> #56156 (by nomeata, 1 year ago, closed): Cannot build LLVM-6 for Android
ATuin has joined #nixos
erasmas has quit [Read error: Connection reset by peer]
<bdju> ajs124: aha! dtrx was the other thing. thanks so much!
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2ad09a0811e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<bdju> commented out dtrx and now it's doing something
<{^_^}> [nixpkgs] @peti merged pull request #87881 → haskell/generic-builder.nix: Fix C lib multiple inclusions → https://git.io/JfRG6
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JfRro
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « ghcjs: mark build as broken »: https://git.io/JfRri
<{^_^}> [nixpkgs] @hedning merged pull request #87202 → gnome3.glade: 3.22.2 -> 3.36.0 → https://git.io/JfnbT
<{^_^}> [nixpkgs] @hedning pushed 4 commits to master: https://git.io/JfRrx
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
simukis__ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jkarni_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2020-05-15T17:34:35Z »: https://git.io/JfRot
simukis_ has joined #nixos
turlando has quit [Remote host closed the connection]
turlando has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
proofofk_ has quit [Remote host closed the connection]
jkarni_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed 19 commits to haskell-updates: https://git.io/JfRoz
magnetophon has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed 19 commits to haskell-updates: https://git.io/JfRoo
<{^_^}> [nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/JfRo6
gustavderdrache has quit [Quit: Leaving.]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
wnklmnn has quit [Ping timeout: 260 seconds]
proofofkeags has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
* Fare considers doing things based on stdenv.isLinux
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
orivej has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JfRK8
alp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #87885 → fly: 6.0.0 -> 6.1.0 → https://git.io/JfRcr
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JfRK2
wnklmnn has joined #nixos
lucksus has quit [Remote host closed the connection]
wnklmnn has quit [Client Quit]
<bqv> Weird question, do you guys think it'd be possible to make a docker quine? :D I.e. A docker image that when spun up, starts another docker daemon inside and spins itself up as an image on it
<bqv> Its docker all the way down
magnetophon has joined #nixos
morgrimm has joined #nixos
<Fare> "Software: it's kluges all the way down!"
<pie_> any sufficiently advanced kludge is indistinguishable from a working system?
<bqv> Ha!
<balsoft> bqv: I can't see why not, but I don't think it's going to be simple
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar opened pull request #87904 → gobject-introspection: clean-ups & build docs → https://git.io/JfR6v
djbeau has joined #nixos
morgrimm has quit [Ping timeout: 265 seconds]
<bqv> Fare: `builtins.any (x: x == system) lib.platforms.linux` might be more robust, btw
<bqv> balsoft: ✔
<pie_> i guess we cant partially apply == ? I never tried
<energizer> what's going wrong with this appimage invocation? https://bpa.st/G2QQ
Qfwfq has joined #nixos
<pie_> hm yeah i guess we cant
<adisbladis> bqv: Sure you can?
<adisbladis> If you're running privileged containers
<{^_^}> [nixpkgs] @peti merged pull request #87805 → Update Haskell package set to LTS 15.12 (plus other fixes) → https://git.io/JfBYz
<{^_^}> [nixpkgs] @peti pushed 10 commits to master: https://git.io/JfR6t
reallymemorable has joined #nixos
<bqv> Sounds like a wonderfully awful challenge
<{^_^}> [nixpkgs] @vbgl merged pull request #87326 → ocamlPackages.ipaddr: remove at 2.6.1 → https://git.io/JfCCl
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ipaddr: remove at 2.6.1 »: https://git.io/JfR6Y
o1lo01ol1o has joined #nixos
zaeph1 has joined #nixos
zaeph has quit [Disconnected by services]
zaeph1 is now known as zaeph
<balsoft> bqv: If it crashes for reasons other than OOM, I bet it will crash on some power of 2 :)
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/JfR64
<balsoft> I have an intuition that after 256 nested containers, some word will overflow and cause a crash
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<simpson> balsoft: Due to *interpretative overhead*, I would be surprised if you can get 256 layers deep. Empirically, we know that each time we nest an interpreter, we get a multiplicative factor of a slowdown, and that factor is roughly constant, so that the overall slowdown is exponential.
<lassulus> how do I get python2Packages.matplotlib and python2Packages.wxPython into the same env? if I run: nix-shell -p '(python2.withPackages (pp: [ pp.wxPython pp.matplotlib ]))' I get: collision between `/nix/store/riixmkhlx39af12libb31154p19h4f81-python2.7-backports.ssl_match_hostname-3.7.0.1/lib/python2.7/site-packages/backports/__init__.py' and
<lassulus> `/nix/store/l0d3w94g6wxrm21iak495srwwdhnwqgx-python2.7-backports.functools_lru_cache-1.6.1/lib/python2.7/site-packages/backports/__init__.py'
<adisbladis> lassulus: ignoreCollisions
<balsoft> simpson: I'd be interested to see the failure mode for the case where there's enough RAM
<balsoft> Maybe it will be something like complete system halt due to context switches
<adisbladis> > ((python2.withPackages (pp: [ pp.wxPython pp.matplotlib ]))).override { ignoreCollisions = true; }
<adisbladis> lassulus: ^
<{^_^}> "<derivation /nix/store/qrz2z45fxpz1syvnd7x2midldbrahrwm-python-2.7.18-env.drv>"
<balsoft> Maybe something more interesting
<simpson> balsoft: And practically, the slowdown is something like 2x (V8) or 3x (Dolphin), so you're going to run out of compute time far before you run out of memory.
<{^_^}> [nixpkgs] @dywedir merged pull request #87896 → starship: 0.41.1 -> 0.41.3 → https://git.io/JfR0h
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JfR6P
<lassulus> adisbladis: yay, thanks!
<lassulus> adisbladis++
<{^_^}> adisbladis's karma got increased to 74
alp has joined #nixos
<simpson> balsoft: Practical experiments suggest that a full VM, even with hardware passthrough, can only nest maybe a dozen times. Here's some folks trying for a four-layer-deep nesting: https://www.pcsteps.com/508-nested-virtualization/
<simpson> And, to be on-topic, this is why IFD is so practically useful compared to recursive Nix: The latter is *way* harder to get right, because of the arbitrary nesting of calling Nix while calling Nix.
<balsoft> simpson: I think recursive nix just calls the host's nix daemon though?
<adisbladis> lassulus: Np :)
hoijui has joined #nixos
<simpson> balsoft: Oh yeah, I guess I should say "was" instead of "is", huh? I'm reading https://github.com/NixOS/nix/pull/3205 now.
<{^_^}> nix#3205 (by edolstra, 27 weeks ago, merged): Recursive Nix support
simukis_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
simukis_ has joined #nixos
johnw has quit [Quit: ZNC - http://znc.in]
plutes has joined #nixos
<{^_^}> [nixpkgs] @etu closed pull request #85427 → php: 7.4.4 -> 7.4.5, 7.3.16 -> 7.3.17 → https://git.io/Jffxw
zenxhd has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #87905 → php72: 7.2.29 -> 7.2.30 → https://git.io/JfRiy
<{^_^}> [nixpkgs] @etu opened pull request #87906 → php73: 7.3.16 -> 7.3.17 → https://git.io/JfRiS
<{^_^}> [nixpkgs] @etu opened pull request #87907 → php74: 7.4.4 -> 7.4.5 → https://git.io/JfRi9
<emily> bdju: dtzWill: unar is also worth considering for .7z
<emily> it can handle some files that bsdtar cannot
<{^_^}> #87837 (by emilazy, 1 day ago, open): treewide: remove uses of p7zip
<{^_^}> [mobile-nixos] @samueldr opened pull request #148 → Document and fixup the "taxonomy" → https://git.io/JfRi5
agsdheidjd has quit [Ping timeout: 265 seconds]
<{^_^}> [mobile-nixos] @samueldr closed pull request #62 → [WIP] Add concept of family with chromebook-gru → https://git.io/JeDqj
maxdevjs has quit [Remote host closed the connection]
magnetophon has quit [Ping timeout: 272 seconds]
maxdevjs has joined #nixos
eoli3n_ has quit [Remote host closed the connection]
<commandocrypto[m> > pkgs.dockerTools.buildLayeredImage
<{^_^}> <LAMBDA>
opticnerve has quit [Quit: bye]
<{^_^}> [nixops] @cole-h opened pull request #1345 → backends: s/provison/provision/ → https://git.io/JfRPu
<lunik1> what file types does bsdtar struggle with?
<{^_^}> [nixpkgs] @wamserma opened pull request #87908 → gnupg22: reproducible build → https://git.io/JfRPr
reallymemorable has quit [Quit: reallymemorable]
alexherbo2 has joined #nixos
user_0x58 has quit [Read error: Connection reset by peer]
alexherbo28 has joined #nixos
user_0x58 has joined #nixos
hoijui has quit [Quit: Leaving]
fendor_ has joined #nixos
user_0x58 has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Ping timeout: 272 seconds]
alexherbo28 is now known as alexherbo2
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #87450 → doc: Rewrite python onboarding tutorials in manual → https://git.io/JfWL7
<{^_^}> [nixpkgs] @FRidh pushed commit from @bhipple to master « doc: Rewrite python onboarding tutorials in manual »: https://git.io/JfRPF
aswanson has quit [Quit: WeeChat 2.7.1]
proofofkeags has quit [Remote host closed the connection]
aswanson has joined #nixos
fendor has joined #nixos
chloekek has quit [Ping timeout: 264 seconds]
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #nixos
<aswanson> I just switched my nix-channel over to 20.03, and now when I try to `nixos-rebuild` I'm getting errors about the perl interpreter missing a `perl530` attribute and the python default.nix not knowing what `callPackage` is
<aswanson> what is going on?
Pot2Dash has quit [Quit: Leaving]
fabianhjr has joined #nixos
<cole-h> Could you be more descriptive? What are the exact error messages?
proofofkeags has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<aswanson> the exact message is "error: attribute 'perl530' missing, at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/interpreters/perl/default.nix:215:12"
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/91cdcf31357 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
growpotkin has joined #nixos
lucksus has joined #nixos
noudle has joined #nixos
magnetophon has joined #nixos
fendor_ has quit [Ping timeout: 240 seconds]
<cole-h> aswanson: And what does your config that is using perl530 look like? AFAICT, perl530 is still a part of 20.03
reallymemorable has joined #nixos
<aswanson> cole-h: nothing to my knowledge. I'm assuming a dependency of some sort. I'll run it again with a trace and see what comes out
<cole-h> Well, perl530 definitely exists in 20.03, so something is wrong.
djbeau has quit [Remote host closed the connection]
<aswanson> with --show-trace the error is originating within the buildInputs of nix-2.3.4
<cole-h> aswanson: Just in case, have you updated your channels since the switch?
FRidh has quit [Quit: Konversation terminated!]
oxapentane has joined #nixos
<aswanson> yeah, I just updated my channels
o1lo01ol1o has joined #nixos
oxapentane has quit [Client Quit]
<cole-h> If you could paste the entire log somewhere, that might be more helpful than just a single line :P
rauno has joined #nixos
orivej has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Gaelan opened pull request #87909 → stdenv: always pass --build, --host to configure → https://git.io/JfRXH
lsix has quit [Ping timeout: 244 seconds]
<energizer> can somebody tell me what i actually mean? :) https://bpa.st/JISA
<energizer> i want a program that runs `appimage-run orca-1.3.1.AppImage "$@"`
<cole-h> energizer: Well, first you probably want `makeWrapper` in `nativeBuildInputs`
<cole-h> aswanson: I'd try commenting out `help2man`, if you have it, as well as any kernel override stuff you have. Very strange issue.
ATuin has quit [Ping timeout: 258 seconds]
hlolli has quit [Remote host closed the connection]
<bqv> > pkgs.rocksdb.outputs
<energizer> oh maybe it's just https://bpa.st/FZ7A
<{^_^}> [ "out" ]
<bqv> energizer: you want makeWrapper, not wrapProgram, since ${appimage-run}/bin is not writeable
<T0pH4t> how can i append another nix path entry in the configuration.nix without blowing away the defaults?
<energizer> bqv: is my second paste ok?
<bqv> that depends strongly on your definition of "ok"
<bqv> but i don't see why it wouldn't work, yeah
iceypoi has quit [Ping timeout: 260 seconds]
<energizer> bqv: is there any reason i should be using makeWrapper instead of writeShellScriptBin?
<bqv> imo you should be using neither but ymmv
gustavderdrache has joined #nixos
<bqv> to be honest, your entire derivation could be replaced by writeShellScriptBin
iceypoi has joined #nixos
<aswanson> thanks for the tips cole-h: I'll have to keep poking at it to see what I can come up with. Out of curiousity, what in those logs tipped you off to look for help2man?
<cole-h> 1while evaluating the attribute 'buildInputs' of the derivation 'help2man-1.47.12' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/tools/misc/help2man/default.nix:4:3:
<cole-h> On a brief skim, I think that was the only one that pointed to an actual derivation
<cole-h> and not the stdenv or other helpers
<cole-h> Let me know if it works
<energizer> bqv: is one of these more idiomatic than the other? https://bpa.st/6GSQ
hlolli has joined #nixos
icey_ has joined #nixos
Qfwfq has left #nixos ["Using Circe, the loveliest of all IRC clients"]
<cole-h> energizer: btw you can put that `writeShellScriptBin` directly into your systemPackages (or user packages) I believe. No need to make a derivation that consists of... a derivation.
<energizer> T0pH4t: i'd guess the defaults will stay added. are you seeing something different?
<bqv> both are problematic (the former could be replaced by writeShellScriptBin and the latter is layers of superfluous stuff)
<aswanson> cole-h: I've tried disabling my install of inetutils since a grep of nixpkgs showed that it had a depency on help2man, and the wireguard kernel module I had enabled, but no dice so far
<T0pH4t> $energizer: yes, i blow away the nixos paths
<bqv> take the second one and have that `run-orca` be your derivation
<bqv> that's it
<cole-h> aswanson: Do you have any overlays? I'd disable those to try and narrow it down.
iceypoi has quit [Ping timeout: 260 seconds]
<bqv> > pkgs.rocksdb.version
<{^_^}> "6.4.6"
justanotheruser has quit [Ping timeout: 260 seconds]
__monty__ has quit [Quit: leaving]
aswanson has quit [Quit: WeeChat 2.7.1]
<energizer> bqv: ok cool that works. it gives a few noisy messages at the beginning, but they dont seem to matter https://bpa.st/5IUA
<energizer> i dont even know which layer those messages are coming from but whatever
aswanson has joined #nixos
o1lo01ol1o has joined #nixos
teto has quit [Quit: WeeChat 2.8]
<aswanson> cole-h: I don't think I have any overlays on this system, but I also have half a dozen abandoned projects or tweaks lying around so who knows. Thanks for the assist, but I'll revisit this another day
<cole-h> aswanson: Sorry I couldn't be of more help.
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/91cdcf31357 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
justanotheruser has joined #nixos
<emily> so uh, is there a reason building a modified gnupg22 would try to build systemd after first building gnupg
<emily> is it involved in the stdenv bootstrap?
<emily> oh, apparently yes
<emily> or maybe not stdenv bootstrap, but there's a circular systemd dependency thing going on
mounty has quit [Ping timeout: 264 seconds]
mounty has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #87744 → chrome-gnome-shell: Fix missing introspection data → https://git.io/Jf40d
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/JfR1d
CptCaptain has quit [Quit: WeeChat 2.8]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cole-h> emily: That doesn't sound fun -- do you know why?
<emily> cole-h: probably something like gnupg → pinentry → all of gnome3 → systemd → gnupg
MmeQuignon has quit [Ping timeout: 260 seconds]
<cole-h> Oh, ouch
<emily> well, actually, I'm not rebuilding all of gnome3
seku has joined #nixos
<emily> systemd dbus pcsclite libusb libusb-compat gnupg
<emily> so the cycle is between some of those
<jtojnar> ugh, the nix manual still uses nix-env -i without -A
<clever> :'(
<jtojnar> I was wondering where do people keep learning about that
<danderson> so, what's the deal with that? Why is -iA better?
<cole-h> Because it doesn't need to look up the package IIRC
<cole-h> ,-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<cole-h> "This is because it will evaluate all of nixpkgs searching for packages with the name ____"
<danderson> Thanks!
* colemickens was just wondering if there was a cmdlet for it
o1lo01ol1o has quit [Remote host closed the connection]
<selfsymmetric-mu> It's called `-A` because of the way it is.
<cole-h> There's both ,-A and ,-iA (which tells you to see ,-A)
<cole-h> ,-iA
<{^_^}> see ,-A
<cole-h> heh
alexherbo2 has quit [Remote host closed the connection]
maddo has quit [Quit: See ya]
lsix has joined #nixos
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
oborot has joined #nixos
<emily> "ugh, the nix manual still uses nix-env"
<cole-h> Heh
<clever> emily: nix-env is still used behind the scenes for nixos-rebuild and nix-channel
<selfsymmetric-mu> How can I view this table without scrolling? https://nixos.wiki/wiki/Cheatsheet
<cole-h> >> behind the scenes
<clever> emily: its the only way to manage generations
<cole-h> ;^)
Izorkin has quit [Ping timeout: 260 seconds]
<cole-h> selfsymmetric-mu: https://i.imgur.com/chI9QiZ.png
<selfsymmetric-mu> Oh nice, thank you!!
<cole-h> (It's right at the top of the page lol)
<emily> clever: "ugh, nix-channel"
<selfsymmetric-mu> Whoa, this theme is so much better!
<selfsymmetric-mu> Thanks! cole-h++
<{^_^}> cole-h's karma got decreased to 48
<cole-h> "ugh, nixos-rebuild" lol
<{^_^}> Wait no, it got *increased* to 50
<cole-h> D:
<selfsymmetric-mu> hahaha lol nixbot
<emily> nixos-rebuild supports flakes now so it's ok :p
<cole-h> Only 50 more then Graham owes me a T-shirt >:)
<evils> {^_^}++
<{^_^}> {^_^}'s karma got increased to 193
<cole-h> Oh nice, the bot is on its way to its second T-shirt :P
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
alexherbo2 has joined #nixos
lsix has quit [Quit: WeeChat 2.8]
lucksus has quit [Remote host closed the connection]
morgrimm has joined #nixos
growpotkin has joined #nixos
Lutrulo has quit [Remote host closed the connection]
geekthattweaks has joined #nixos
<morgrimm> Has anyone successfully gotten ly or another display manager to start on boot on nixos?
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
oborot has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonringer closed pull request #86735 → python3Packages.pytest: 5.3.5 -> 5.4.1 → https://git.io/Jfs9Z
<{^_^}> [nixpkgs] @rkoe opened pull request #87911 → Rkoe release notes 20.03 acme → https://git.io/JfRMP
Lutrulo has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
grumble is now known as rawr
knupfer has quit [Ping timeout: 260 seconds]
<niso> is it possible to generate the manual of a single nixos module?
<niso> what is your workflow for previewing new/updated documentation of modules before creating a PR?
pjt_014 has joined #nixos
<{^_^}> [nixpkgs] @loewenheim opened pull request #87912 → services/calibre-server: Allow multiple libraries, add "user" and "group" options → https://git.io/JfRMj
fendor has quit [Read error: Connection reset by peer]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
bhipple has quit [Remote host closed the connection]
pbb has quit [Remote host closed the connection]
pbb has joined #nixos
magnetophon has quit [Ping timeout: 246 seconds]
virus_dave has quit [Quit: virus_dave]
cosimone has quit [Ping timeout: 252 seconds]
<emily> infinisil: https://github.com/NixOS/nixpkgs/pull/87871 this seems related to your JSON/YAML/... type stuff, right?
<{^_^}> #87871 (by Mic92, 14 hours ago, open): uwsgi: make instance configuration deeply mergeable
<infinisil> Oh yes indeed
magnetophon has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
dermetfan has quit [Ping timeout: 260 seconds]
zeenk has quit [Quit: Konversation terminated!]
proofofkeags has quit [Ping timeout: 256 seconds]
gustavderdrache has quit [Quit: Leaving.]
fresheyeball has joined #nixos
Darkmatter66 has joined #nixos
Darkmatter66_ has quit [Ping timeout: 256 seconds]
daGrevis has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
daGrevis has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
oborot has joined #nixos
<palo> I'm updating to 20.03 (from 19.09) and I get a messagt that my cargoSha is not correct (for some of my packages) but when I try to build (nix-build) I always get the same sha, also when I set it to 1111.. and run nixos-rebuild switch I get the same sha as 'got: sha256'
hlolli has quit [Ping timeout: 272 seconds]
<palo> So I can't really update :/
<clever> palo: it should be printing 2 hashes, is the 2nd one the one from your expr?
<clever> the wanted one
asymptotically has quit [Quit: Leaving]
<palo> when I set it to 11111 I get a set vs get listing, when I set the get (which was the original one) I don't get a set vs get listing, I gett a message : https://paste.ingolf-wagner.de/aci2mjEy/+inline?
<clever> palo: you need to fix the Cargo.lock file
jgeerds has quit [Ping timeout: 240 seconds]
<clever> i think so
<palo> damn I'm sorry,
<palo> I just see now that the approach worked, it is another cargo package with a different name.
<palo> :facepalm:
<clever> ah, that will do it
dhess has quit [Remote host closed the connection]
<palo> it is obvious to late :D but who cares, friday night major upgrades, what could possible go wrong :D
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #87583 → stdenv-darwin: now with 50% less LLVM! → https://git.io/Jflm6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/JfR73
reallymemorable has quit [Quit: reallymemorable]
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
reallymemorable has joined #nixos
<energizer> cole-h: is there a replacement for nixos-rebuild?
<energizer> morph/nixops deploy i guess
<cole-h> No, I was being facetious. We were hating on `nix-env`, when clever said that `nixos-rebuild` and `nix-channel` use it to modify profiles
eoli3n__ has quit [Ping timeout: 265 seconds]