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
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/619d8c0da0a (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<jtojnar> qyliss we can instruct reviewers to check this with every PR, just like we do with other issues
m0rphism has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #93315 → sunflower: init at 2020-07-03-unstable → https://git.io/JJZtE
alp has quit [Ping timeout: 272 seconds]
<qyliss> I think communicating new requirements to reviewers is not very easy...
<qyliss> I don't think most people will even be aware of the change if everything continues to work silently
<{^_^}> [nixpkgs] @zowoq pushed 2 commits to release-20.03: https://git.io/JJZtP
proofofk_ has quit [Remote host closed the connection]
artemist has quit [Remote host closed the connection]
artemist has joined #nixos
<{^_^}> [mobile-nixos] @samueldr opened pull request #187 → kernel-builder: Use pkg-config wrapper → https://git.io/JJZtA
<{^_^}> [nixpkgs] @jtojnar closed pull request #93315 → sunflower: init at 2020-07-03-unstable → https://git.io/JJZtE
<eyJhb> gchristensen: I think a FF patch, and then controlling everything using policies is the way to go
<eyJhb> But it might end up in home-manager, since profiles makes no sense for global
<colemickens> can hooks be specified on the command line or do they have to be configured in/on the daemon?
<colemickens> I want to pre-emptively push to cachix in a script without accidentally pushing other things without slurping everything that gets added to /nix/store since I might be doing other random builds on my computer.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJZqu
<cole-h> colemickens: What about using `--option *-hook somehook`? I would think that would work, since you can do most other settings like that.
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
Guest64 has joined #nixos
Guest64 has quit [Client Quit]
<{^_^}> [nixpkgs] @jonringer merged pull request #93297 → python3Packages.torchgpipe: init at 0.0.5 → https://git.io/JJZeP
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « python3Packages.torchgpipe: init at 0.0.5 »: https://git.io/JJZqN
christerpher has joined #nixos
christerpher has left #nixos [#nixos]
nickeraqua has joined #nixos
chrmb has quit [Read error: Connection reset by peer]
proofofkeags has joined #nixos
woleium has joined #nixos
<nickeraqua> Hey I'm running into a problem. Basically I want to have a Darwin nix installer tarball that uses /opt/nix instead of /nix. So I installed Nix from source with custom localstatedir and store dir. And then when it finished installing, I ran `nix-build release.nix -A binaryTarball.x86_64-darwin --arg nixpkgs 'fetchTarball channel:nixos-20.03'` to
<nickeraqua> make the installer package. It compiles OK but unfortunatly when installing the package on a new Mac, it gives me error: path /opt/nix/060....03r-gmp-6.2.0 is not in the Nix store. But it actually is in the Nix store. I am doing this on Nix 2.3.6. Help appreciated.
proofofkeags has quit [Ping timeout: 264 seconds]
jumper149 has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93307 → xdg-desktop-portal-gtk: add gnome-settings-daemon → https://git.io/JJZU9
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJZmg
<cmk_zzz> I am trying out https://grahamc.com/blog/erase-your-darlings and it worked well until reboot. It seems the passwords I set for root and users are wiped as well. Is anyone doing things as mentioned in the blog post?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93317 → gitkraken: 7.0.1 -> 7.1.0 → https://git.io/JJZmr
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93312 → gnome3.gnome-desktop: 3.36.3.1 -> 3.36.4 → https://git.io/JJZLB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJZmK
<colemickens> A random guess would be that those folks set hashedPassword for their users?
<cmk_zzz> ok, that makes sense. Let me try
chrmb has joined #nixos
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<colemickens> if anyone wants to help out with whats probably not a terribly hard nix question: https://discourse.nixos.org/t/how-pkgs-substituteall-chmod-x-buildenv/8167
<infinisil> colemickens: Should probably also describe what doesn't work yet
<infinisil> Oh you do in the comment
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @colemickens to release-20.03 « xdg-desktop-portal-gtk: add gnome-settings-daemon »: https://git.io/JJZYv
jlv1 has quit [Remote host closed the connection]
<Graypup_> how bad of an idea is it to add a function to nixpkgs lib with an overlay because you need it in a few other overlays? asking for a friend lmao
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93318 → gnomeExtensions.workspace-matrix: 4.0.0 -> 4.0.1 → https://git.io/JJZYG
<{^_^}> [nixpkgs] @jpdoyle opened pull request #93319 → securefs: 0.8.3 -> 0.11.0 → https://git.io/JJZYZ
zanc has quit [Read error: Connection reset by peer]
zanc has joined #nixos
<jlv> Is there a reason `networking.hosts` maps ip to hostname, instead of hostname to ip? It makes it very difficult to work with. I can't override the ip for a hostname, and I cannot easily get the ip address corresponding to a hostname. I ended up implementing my own `networking.saneHosts` option, because the existing `networking.hosts` isn't very workable.
lunik1 has quit [Read error: Connection reset by peer]
lunik1 has joined #nixos
<Graypup_> I am asking this because I have a function, specifically the stuff from https://github.com/hercules-ci/gitignore.nix, that requires nixpkgs.lib but I need to use it before nixpkgs is initialized inside my other overlays
<{^_^}> [nixpkgs] @jpdoyle closed pull request #93319 → securefs: 0.8.3 -> 0.11.0 → https://git.io/JJZYZ
sigmundv has quit [Ping timeout: 240 seconds]
zanc has quit [Read error: Connection reset by peer]
ris has quit [Ping timeout: 246 seconds]
<infinisil> colemickens: Left an answer on discourse :)
<colemickens> Thank you!
<infinisil> Graypup_: Not sure what you're asking
zanc has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/619d8c0da0a (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<Graypup_> infinisil, I guess, how do I import a library function to use in an overlay that itself requires access to nixpkgs if not by putting it by an overlay itself (which makes it hard to find its source)?
<infinisil> Graypup_: You do have access to pkgs in overlays through self/super
proofofkeags has joined #nixos
<infinisil> you should probably pass self to the library function
chrmb has quit [Ping timeout: 256 seconds]
<Graypup_> yeah, but if I'm exposing a function to other overlays, I have to put it on top of nixpkgs somewhere, no?
<infinisil> How about some example code to explain what you mean
thc202 has quit [Ping timeout: 256 seconds]
proofofkeags has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @zowoq merged pull request #89017 → Group packages by language/builder via dummy maintainer → https://git.io/Jfrl5
<{^_^}> [nixpkgs] @zowoq pushed 5 commits to master: https://git.io/JJZOR
markus1199 has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #93299 → Haskell updates → https://git.io/JJZfe
<{^_^}> [nixpkgs] @cdepillabout pushed 4 commits to haskell-updates: https://git.io/JJZOu
<Graypup_> infinisil, I guess I'm really asking, is this best practice: self: super: { lib = super.lib // { myFn = import ./nix/lib.nix {inherit self.lib;}; }
<Graypup_> if I want to use myFn in several other overlays
markus1189 has quit [Ping timeout: 246 seconds]
<infinisil> Graypup_: Looks reasonable
h0m1 has quit [Ping timeout: 260 seconds]
lunik1 has quit [Ping timeout: 258 seconds]
h0m1 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aaa66d8d887 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
woleium has quit [Remote host closed the connection]
evanjs has quit [Read error: Connection reset by peer]
woleium has joined #nixos
Henson has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
evanjs has joined #nixos
woleium has quit [Ping timeout: 256 seconds]
knerten1 has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
knerten has quit [Ping timeout: 256 seconds]
proofofkeags has joined #nixos
lunik1 has joined #nixos
proofofkeags has quit [Ping timeout: 260 seconds]
duckonomy has quit [Quit: z.z]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93320 → fanficfare: 3.19.0 -> 3.21.0 → https://git.io/JJZ3M
<{^_^}> [nixpkgs] @chessai opened pull request #93321 → puppeteer-cli: init → https://git.io/JJZ3y
<{^_^}> [nixpkgs] @marsam merged pull request #93313 → gitAndTools.gitui: 0.5.0 -> 0.8.1 → https://git.io/JJZtm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJZ35
<{^_^}> [nixpkgs] @marsam closed pull request #91276 → gitAndTools.gitui: 0.5.0 -> 0.7.0 → https://git.io/JfAcB
<{^_^}> [nixpkgs] @marsam merged pull request #93285 → cargo-fuzz: 0.5.4 -> 0.8.0 → https://git.io/JJGxo
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJZ3d
<{^_^}> [nixpkgs] @marsam merged pull request #93220 → fluent-bit: 1.4.6 -> 1.5.0 → https://git.io/JJGzO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to staging: https://git.io/JJZ3F
<{^_^}> [nixpkgs] @marsam merged pull request #93221 → fly: 6.3.0 -> 6.4.0 → https://git.io/JJGz3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to staging: https://git.io/JJZ3A
woleium has joined #nixos
proofofkeags has joined #nixos
<bqv> infinisil: Graypup_: that wouldn't actually be passed to the modules via specialArgs though, would it? only by final/prev, is what i mean
woleium has quit [Ping timeout: 256 seconds]
proofofkeags has quit [Ping timeout: 240 seconds]
<bqv> > pkgs.email.meta.description
<{^_^}> "Command line SMTP client"
<bqv> heh
<bqv> > pkgs.src.meta.description
<{^_^}> "Simple single-file revision control"
<bqv> o_O
<infinisil> bqv: Yeah overlays applied with the nixpkgs.overlays option can't change the lib in the module arguments
<bqv> something to bear in mind, i guess
* infinisil nods
<infinisil> > randomPackage
<{^_^}> "pkgs.gcolor2: Simple GTK 2 color selector < http://gcolor2.sourceforge.net/ >"
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/aaa66d8d887 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
leungbk has joined #nixos
<bqv> i was just wondering around nix-repl and saw those two
shiver has quit [Quit: leaving]
leungbk has quit [Remote host closed the connection]
shiver has joined #nixos
shiver has quit [Remote host closed the connection]
leungbk has joined #nixos
shiver has joined #nixos
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #93322 → go_1_13: 1.13.13 -> 1.13.14 → https://git.io/JJZsH
<{^_^}> [nixpkgs] @zowoq opened pull request #93323 → go: 1.14.5 -> 1.14.6 → https://git.io/JJZsQ
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
aw has joined #nixos
spacefrogg has joined #nixos
bkv has joined #nixos
bqv has quit [Ping timeout: 260 seconds]
pjt_014 has joined #nixos
<bkv> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
nabataeus has quit [Remote host closed the connection]
nabataeus has joined #nixos
emmanuel` has quit [Ping timeout: 256 seconds]
abathur has quit [Quit: abathur]
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93325 → intel-media-driver: 20.1.1 -> 20.2.0 → https://git.io/JJZGr
kaliumxyz has joined #nixos
kaliumxyz has quit [Client Quit]
Supersonic112 has joined #nixos
leungbk has quit [Remote host closed the connection]
Supersonic has quit [Ping timeout: 272 seconds]
Supersonic112 is now known as Supersonic
kaliumxyz has joined #nixos
kaliumxyz has quit [Client Quit]
kaliumxyz has joined #nixos
amfl has quit [Read error: Connection reset by peer]
amfl has joined #nixos
chrmb has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93326 → icewm: 1.6.6 -> 1.7.0 → https://git.io/JJZGh
<{^_^}> [nixpkgs] @zowoq merged pull request #93322 → go_1_13: 1.13.13 -> 1.13.14 → https://git.io/JJZsH
<{^_^}> [nixpkgs] @zowoq pushed to master « go_1_13: 1.13.13 -> 1.13.14 »: https://git.io/JJZGj
Mateon1 has joined #nixos
chrmb has quit [Remote host closed the connection]
chrmb has joined #nixos
<cmk_zzz> are nixos containes comparable to lxd? If I want to setup some lightweight vms on a host to try various code hosting sofware (gitlab, gitea, gerrit) and CI/CD platforms, would nixos containers be sufficient?
proofofkeags has joined #nixos
Mateon2 has joined #nixos
tsrt^ has quit [Ping timeout: 240 seconds]
Mateon1 has quit [Ping timeout: 265 seconds]
Mateon2 is now known as Mateon1
proofofkeags has quit [Ping timeout: 256 seconds]
Cicucci_ has quit [Quit: Lost terminal]
CMCDragonkai1 has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
slack1256 has quit [Remote host closed the connection]
CMCDragonkai1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #93185 → perlPackages.WWWCurl: fix build → https://git.io/JJsAu
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JJZZo
<Ashy> cmk_zzz: they're somewhat comparable to lxd: https://nixos.org/nixos/manual/index.html#ch-containers
woleium has joined #nixos
kelly has joined #nixos
kelly has quit [Remote host closed the connection]
bianca has joined #nixos
nabataeus has quit [Read error: Connection reset by peer]
veleiro`` has joined #nixos
<bianca> I'm running Nix as root and coreutils doesn't build because there is an anti-root check in the configure that can be overidden with FORCE_UNSAFE_CONFIGURE=1. How can I set this?
<bianca> Is there some inline I can add to nix-env -i ?
nabataeus has joined #nixos
<bkv> No
<bkv> You'll have to override
<bkv> Consider using build users though
veleiro` has quit [Ping timeout: 256 seconds]
<bianca> Long term I plan to do it the right way, but right now I just need to get something done with the current system as root.
<bianca> You mean I have to edit the derivation to put in the enviromental variable?
<bianca> I can't run nix-env with the environmental variable somehow set?
proofofkeags has joined #nixos
Rusty1 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @danieldk merged pull request #93281 → darktable: fix OpenCL support → https://git.io/JJGNY
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJZn4
proofofkeags has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @c4710n opened pull request #93328 → v2ray: 4.23.3 -> 4.26.0 → https://git.io/JJZn2
sjkelly1 has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #90177 → v2ray: 4.23.3 -> 4.26.0 → https://git.io/JfHqz
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JJZnQ
zupo has joined #nixos
noneucat has joined #nixos
zupo has quit [Ping timeout: 256 seconds]
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon2 has joined #nixos
noneucat[m] has joined #nixos
<{^_^}> [nixpkgs] @c4710n closed pull request #93328 → v2ray: 4.23.3 -> 4.26.0 → https://git.io/JJZn2
Mateon2 is now known as Mateon1
raghavsood has joined #nixos
<raghavsood> Anyone know how to test builds on darwin without access to a mac? One of my PRs fails on darwin
<manveru> mark it as linux only, and in a year the problem goes away :)
* manveru hides
<raghavsood> Anyone know of a more inclusive solutions :D
<manveru> there's a mac qemu setup somewhere
<raghavsood> Also netdata evidently works on arm, so might not be the silver bullet here
<raghavsood> That sounds like effort, might go dig up the mac mini
<raghavsood> I have it *somewhere*
<raghavsood> That's not italics
<manveru> other option is to go ask in #nix-darwin
<raghavsood> I'll give the mac mini a shot first, how hard can it be to find a computer the size of a book
<raghavsood> Might even dig up some of the Raspberry Pis that have been hiding from me for a few years now
<manveru> depends on how big your living accommodation is :)
<evanjs> raghavsood: the one that's only "legal" to run on macOS? :P
<raghavsood> Considering this is one of the most expensive real estate cities, not very. I'm unfortunately more disorganized than ideal
<evanjs> ** manveru . bah
<evanjs> I need to go to bed already x_x
<manveru> evanjs: can't say i've ever tried it, or know the legality around it
<manveru> but i think we use it at work to run mac vms on our mac minis
<raghavsood> The hardest part of setting up a new computer for debug builds is setting up my git profiles so I can fix the issues and commit
abathur has joined #nixos
<raghavsood> I wonder if home-manager works on macs
<manveru> nix-darwin is the home-manager for macs
<evanjs> Yeah, typically, it will work fine, but there are stipulations in Apple's user agreements about running their software on their hardware. But bah
<raghavsood> What if the mac mini is in international waters?
<raghavsood> Where mac mini is actually a Qemu VM in disguise
<evanjs> So maybe okay? In which case, hrm.....
<evanjs> Would seriously help with the few packages I need to get working with nix-darwin (eg gitkraken, postman)
<manveru> you could always switch to emacs :D
<manveru> who needs another OS
<raghavsood> I wonder if there's potential for someone running a couple of Macs as freely available remote builders for testing purposes
ddellacosta has quit [Ping timeout: 240 seconds]
<manveru> we have the hydra mac builders already
<manveru> though using them requires actually getting your package merged...
maier has joined #nixos
<raghavsood> Yeah, but I can't use those while debugging why a package won't compile
domogled has joined #nixos
<raghavsood> I guess I could keep pushing it and abuse ofBorg, but it feels like a bad idea to be on the bad side of bots for when they rise up
<raghavsood> Although if I can route remote builds to a mac on my network, then the mac mini + git set up overhead goes away, since I can remote build via my own machine
<abathur> I assume setting up your own CI config for github actions won't quite scratch the itch?
<raghavsood> now that you suggested it, it's a whole itch, and now I'll have to do both
alexherbo2 has joined #nixos
<raghavsood> Mostly because doing something with GH actions is on my todo list, and I haven't played around with them yet
<abathur> not ideal to have to iterate against CI for an OS you don't have, but it can work in a pinch
<manveru> do github actions have darwin?
<abathur> yeah
<raghavsood> I wonder if I can set up my current NixOS remote builder to run OS X in a VM, and use that VM as a remote mac builder
<raghavsood> Might be doable
<raghavsood> Although I'm not sure if macOS will play nice with AMD processors
kaliumxyz has quit [Quit: leaving]
nabataeus has quit [Read error: Connection reset by peer]
<bianca> I compiled nix from source with custom state and store dirs and also set their environmental variables, but when I tried to build something, it tried to create a directory in /nix/var/log/nix/drvs/i9. How can I get it to go to my custom state dir?
bahamas has joined #nixos
<bianca> Darwin nix 2.3.6
alexherbo2 has quit [Ping timeout: 264 seconds]
palo1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @Derpford opened pull request #93329 → Gzdoom: Add mpg123 to RPATH → https://git.io/JJZcy
<{^_^}> [nixpkgs] @mikefaille opened pull request #93330 → kpt: init at v0.31.0 → https://git.io/JJZc5
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6148f636031 (from 51 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mounty1 has quit [Ping timeout: 256 seconds]
asheshambasta has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #93331 → rocm-smi: init at 3.5.0 → https://git.io/JJZcb
woleium has quit [Remote host closed the connection]
veleiro`` has quit [Ping timeout: 256 seconds]
woleium has joined #nixos
alp has joined #nixos
<{^_^}> [nixpkgs] @zowoq merged pull request #93323 → go: 1.14.5 -> 1.14.6 → https://git.io/JJZsQ
<{^_^}> [nixpkgs] @zowoq pushed to staging « go: 1.14.5 -> 1.14.6 »: https://git.io/JJZCJ
<asheshambasta> So after struggling with sc3plugins yesterday; to me it seems like there is no way to just have sc3plugins built via nix and symlinked to the `Platform.userExtensionsDir`
<asheshambasta> Even manual symlinking fails at the moment; I believe the solution could be to add an overlay for supercollider that has supercollider pre-installed with these extensions.
nixuser has joined #nixos
kreyren has quit [Remote host closed the connection]
<bahamas> asheshambasta: why can't you use the same mechanism you use to build a python package and make it available in the python interpreter?
kreyren has joined #nixos
<asheshambasta> I've not really built python packages per se.
<asheshambasta> not knowingly, afaics.
<bahamas> asheshambasta: I don't mean the actual functions, but the conceptual mechanism
<bahamas> asheshambasta: you create a derivation for each package. then, the python interpreter has a function called withPackages
<bahamas> so I guess that's where the relevant part is, what "withPackages" does
<bahamas> this "withPackages" is present also for ghc and I assume all other interpreters
<bahamas> and compilers
<{^_^}> [nixpkgs] @lheckemann pushed to master « stale bot: spelling nit »: https://git.io/JJZCq
<asheshambasta> hm; so that would mean having supercollider built with these "packages" too right? Packages being sc3plugins for example.
<{^_^}> [nixpkgs] @wamserma opened pull request #93332 → docs.stdenv: remove reference to replace tool → https://git.io/JJZC3
<bahamas> asheshambasta: if supercollider is the thing that runs the sc3plugins, then yes
<asheshambasta> yeah, I see what you mean.
alexherbo2 has joined #nixos
<alexherbo2> how to change the default shell in nix-shell without changing the login shell?
cole-h has quit [Quit: Goodbye]
<bahamas> alexherbo2: you could use a nix-shell script. what are you trying to do?
lsix has joined #nixos
<sphalerite> garbas: I'd definitely be up for a screensharing session re search.nixos.org as you suggested :)
domogled has quit [Remote host closed the connection]
alp has quit [Ping timeout: 260 seconds]
datakurre has quit [Ping timeout: 260 seconds]
woleium has quit [Remote host closed the connection]
liff has quit [Ping timeout: 244 seconds]
ent has quit [Ping timeout: 256 seconds]
proofofkeags has joined #nixos
cr4y1 has joined #nixos
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @rht opened pull request #93333 → julia: Remove version 0.7 → https://git.io/JJZCQ
proofofkeags has quit [Ping timeout: 240 seconds]
sangoma has joined #nixos
<alexherbo2> bahamas: just running nix-shell without hardcoding specific shell in my shell.nix file
<alexherbo2> I use Elvish and do not want it as my login shell
<alexherbo2> I set elvish in alacritty, tmux and apps, but keep bash as login
<alexherbo2> I want to do the same for nix-shell
<alexherbo2> having elvish
<alexherbo2> there is not a variable nix-shell uses for the login shell?
pjan has quit [Remote host closed the connection]
<bkv> $SHELL maybe
domogled has joined #nixos
<asheshambasta> https://github.com/NixOS/nixpkgs/blob/87d598e310ce6d159bf7a91806eda75538475e16/pkgs/development/interpreters/supercollider/default.nix#L4; if one wants to install supercollider with useSCEL set to true; how can that be achieved? Do we need to override the package?
<asheshambasta> never mind; its a simple `supercollider.override { useSCEL = true; }` (major brainfart moment there.)
domogled has quit [Client Quit]
szicari has quit [Ping timeout: 264 seconds]
szicari has joined #nixos
dermetfan has quit [Ping timeout: 272 seconds]
pjan has joined #nixos
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<asheshambasta> bahamas: based on your suggestion above; one could also write an overlay that takes the existing supercollider derivation; builds the sc3plugins; and adds that directory to the extensions dir. of the supercollider package.
Izorkin has joined #nixos
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
duckonomy has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<typetetris> Seems like my override isn't picked up here: https://gist.github.com/typetetris/aea929e4c50766f3a9f0317a88483722 What did I do wrong?
m0rphism has joined #nixos
waleee-cl has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
nikita` has joined #nixos
orivej has joined #nixos
woleium has joined #nixos
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
codygman has quit [Ping timeout: 260 seconds]
Izorkin has joined #nixos
codygman has joined #nixos
user_0x58 has quit [Ping timeout: 260 seconds]
nixbitcoin_ is now known as nixbitcoin
woleium has quit [Ping timeout: 240 seconds]
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<nixbitcoin> How do I deal with a tarball containing multiple directories (fetched via fetchurl)?
whald has quit [Remote host closed the connection]
<nixbitcoin> I tried using the postUnpack to mv all files to a new directory, then cd into that directory, but that doesn't seem to help
whald has joined #nixos
domogled has joined #nixos
ent has joined #nixos
lord| has quit [Ping timeout: 272 seconds]
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
lord| has joined #nixos
<bkv> "deal with"?
asymptotically has joined #nixos
fendor has joined #nixos
cfricke has joined #nixos
chimay has joined #nixos
andymandias_ has quit [Ping timeout: 240 seconds]
codygman has quit [Ping timeout: 260 seconds]
codygman has joined #nixos
mallox has joined #nixos
<alexherbo2> bkv setting SHELL does not work
<srhb> typetetris: Isn't it packageOverride_s_?
<typetetris> srhb: okay ... wouldn't have found that ...
<srhb> typetetris: overlays might be simpler to go with (aside from haskell being a pita to override regardless)
<typetetris> srhb: Yeah, was just a one shot try something out. Normally I go with overlays and yes, you have to combine overrides for haskell there yourself, I know.
est31 has quit [Ping timeout: 240 seconds]
<srhb> typetetris: Right right :)
est31 has joined #nixos
monokrome has joined #nixos
alp has joined #nixos
<monokrome> hiya! Does anyone know why my computer would prevent X from starting for 2 minutes every time I boat while waiting for /dev/wl0?
<monokrome> I have wireless.enable set to false? O_o
<monokrome> the device also doesn't even show up in /dev/
proofofkeags has joined #nixos
<tobiasBora> Hello, I don't know why but since this morning my time got crazy (the computer thinks it's 24/01/2000...)) and therefore I can't go on internet as all the certificates looks "outdated" (in the future :P)
domogled has quit [Quit: domogled]
<tobiasBora> I tried to manually change the time but KDE Plasma tells me "no you cannot change the time manually"
<tobiasBora> I guess the ntp server is crazy, but I use default ntp servers *I guess*
<monokrome> Are you dual-booting Windows?
<monokrome> tobiasBora ^
<tobiasBora> so by default, the ntp server is the one provided by dhcp or a nixos server?
<tobiasBora> monokrome: I don't even have windows installed on that machine. If it makes sense, I just installed a windows VM on virtualbox a few days ago...
<{^_^}> [nixpkgs] @gebner merged pull request #93240 → audacious: 3.9 -> 4.0.5 → https://git.io/JJG6f
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JJZ8x
<monokrome> hmm
<monokrome> I know Windows tries to make the system time into local time, but I don't think it'd do that from VM
proofofkeags has quit [Ping timeout: 240 seconds]
<monokrome> default servers are from .nixos.pool.ntp.org
<monokrome> by default
<tobiasBora> monokrome: I guess windows would not think I'm back in 2000 :P
<tobiasBora> monokrome: and are these ntp servers known to be broken?
<monokrome> I don't think so
<monokrome> They're on ntp.org...
<NobbZ[m]> Have you checked your bios if the RTC is fine?
<monokrome> you may want to check your time in BIOS to see if it's happening there. If it's not then it's probably your locale configuration.
<monokrome> Well, I guess not if it thinks it's 2000...
lunik1 has quit [Ping timeout: 240 seconds]
Deknos has joined #nixos
<monokrome> If it thinks it's year 2000 then I think it sounds like your network can't reach the ntp server
<monokrome> Is it possible that your DNS isn't working, tobiasBora?
lunik1 has joined #nixos
<tobiasBora> monokrome: strange, as it used to work even yesterday
<tobiasBora> monokrome: my dns is working, I can go on most (http) websites
<tobiasBora> what's the usual way to get the name of the current ntp server? (sorry to ask stupid questions, but can't even reach nixos manual as it's https :P)
<tobiasBora> NobbZ[m]: I didn't but isn't RTC supposed to have lower priority than ntp?
<pjt_014> are you getting an ssl cert error?
<monokrome> for defaults
<monokrome> I don't know how to get current though, sorry >.<
<tobiasBora> pjt_014: yes, all https websites gives me an error I can't even bypass because they think the certificate is "outdated"
<pjt_014> do date
<pjt_014> is it 1970?
<tobiasBora> pjt_014: lun. janv. 24 14:23:25 CET 2000
<pjt_014> welp that's the past
<pjt_014> yup, same error I had
<tobiasBora> pjt_014: you ran into the same issue today you mean?
<pjt_014> no
<monokrome> So, my guess here is that system time is 2000 and your network can't access the NTP servers for some reason
<pjt_014> few months ago
<tobiasBora> Ok, will try to reset the bios time at least
<pjt_014> it's because most ssl certificates arent valid for 20 years
<tobiasBora> I understand the error, just not sure why the ntp is crazy today. Will try to play with the boot and then I'll see what's wrong with ntp
malook has joined #nixos
<pjt_014> if things still dont work you might wanna set an ntp server manually
<pjt_014> less likely to randomly break
Izorkin has joined #nixos
malook has left #nixos [#nixos]
andymandias has joined #nixos
ixxie has joined #nixos
<immae> could it be that your CMOS battery (not sure of the English translation) is getting old, and loses the time?
<pjt_014> there's gotta be a way of checking that
<pjt_014> beyond disabling ntp and checking the boot everytime
<pjt_014> time every boot
<immae> shutting down, removing any power input, replug and reboot. If it’s back to even older date then you’re at "0" time
<immae> (which is not always 1970à
orivej has quit [Ping timeout: 260 seconds]
thc202 has joined #nixos
orivej has joined #nixos
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
<tobiasBora> NobbZ[m]: ok, so indeed my bios time was 2000. So I reset the time to today (so good to have https back :) )
Habbie has quit [Ping timeout: 256 seconds]
<tobiasBora> pjt_014: I don't think it's battery for 2 reasons: 1) the laptop is 2 weeks-old 2) he did not ran out of power since yesterday, and yesterday the time was ok
<tobiasBora> (and if the zero time is 0/0/2000, then it kind of matches with when I got the laptop)
<pjt_014> hmm
__monty__ has joined #nixos
<tobiasBora> and not sure why I couldn't join the ntp, ntpd 0.nixos.pool.ntp.org gives the good date
<immae> tobiasBora: a 2 weeks laptop could be deffective ;)
<pjt_014> i gotta go, do look into manually setting services.ntp = {...} or whatever it's called. that might work or at least tell you if it's ntp's fault
<tobiasBora> immae: indeed ^^ I do have strange bugs with keyboard that presses random keys sometimes (notably the menu key)... not sure why
<tobiasBora> "sudo timedatectl status" gives meaningful entries... I guess it will be one of that mystery of computers ;)
<Raito_Bezarius> is it expected that when I create a bridge interface in NixOS, it does not appear?
<immae> tobiasBora: If it works now it’s good, just keep it in mind if it happens "too soon again". about the fact that ntp didn’t fix the issue, I "think" there are mecanisms to prevent too big jumps in dates (because kernel would be unhappy), so maybe you hit that kind of issue
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #93336 → qutebrowser: re-add option to control the browser backend → https://git.io/JJZBz
<immae> (don’t take my words for it though, it’s just "remembering" of old times)
<tobiasBora> immae: ok, I'll keep it in mind, thanks
<tobiasBora> and thanks everybody for the help
lhurttila has joined #nixos
pjt_014 has quit [Ping timeout: 264 seconds]
bahamas has quit [Ping timeout: 240 seconds]
jbgi has joined #nixos
szicari has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
szicari has joined #nixos
sigmundv has joined #nixos
<lhurttila> I've not been able to get any sound from my Soundblaster z using headphones on NixOs 20.03. Even though I've got the correct soundcard as default, nothing is muted in alsamixer and i've diabled pulseaudio. My card is not on the list of supported cards on alsa-project-org so I'm guessing it's missing proper drivers. I found a possible solution here:
<lhurttila> https://www.reddit.com/r/SoundBlasterOfficial/comments/9mm5ad/sound_blaster_r3dr3dizzxrae5_linux_driver/ but don't know hot to apply it. Do I need to make a package of the driver myself to somehow install it?
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
alp has quit [Ping timeout: 272 seconds]
Izorkin has joined #nixos
chimay has quit [Ping timeout: 256 seconds]
ru_ has joined #nixos
dermetfan has joined #nixos
<ru_> Hey all - I'm having an issue with the `environment.variables` attribute in my `configuration.nix`. I'm setting variables there and they're not showing up in `/etc/profile`. The `set-environment` derivation isn't even being rebuilt when I run `nixos-rebuild switch`! Not sure what's going on there.
<ru_> I looked at the [shells-environment.nix](https://github.com/NixOS/nixpkgs/blob/release-20.03/nixos/modules/config/shells-environment.nix) file and that seems to set `environment.variables = config.environment.sessionVariables`, but modifying that didn't help either :/
woleium has joined #nixos
<ru_> I'm running 20.03 and
<ru_> does anyone else have issues with `environment.variables` there or any idea what might be up?
<{^_^}> [nixpkgs] @Mic92 merged pull request #86589 → doc: add section on running ad-hoc Perl programs to the nixpkgs manual → https://git.io/Jf3ow
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJZ0B
<ru_> Oh no...nevermind - I was modifying a copy of my `configuration.nix` in the wrong place! XD how embarrassing!
woleium has quit [Ping timeout: 260 seconds]
<Deknos> i know a sommer of code project for nix. doing a cicd pipeline which tracks homebrew formulas and tries to convert them to nix packages automatically *duck* *cover* *awaaaaaay*
cr4y1 has quit [Ping timeout: 264 seconds]
lhurttila has quit [Ping timeout: 245 seconds]
bahamas has joined #nixos
cr4y1 has joined #nixos
lhurttila has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lhurttila has quit [Remote host closed the connection]
pbb has joined #nixos
bahamas has quit [Ping timeout: 265 seconds]
<sephii> I'm trying to customize the php extensions installed with the `pkgs.php` package. I noticed a lot of `config.xxx` knobs in the php nix package, but I have no idea how to set them.
ixxie has quit [Quit: Lost terminal]
<eyJhb> Mic92: Are you available?
<clever> sephii: can you paste an example one?
<eyJhb> Regarding Firefox module
<Mic92> eyJhb: sort of.
<eyJhb> On the go ?
azure1 has joined #nixos
<eyJhb> Just a quick question, would you then just inject everything into a phase, during build, and then each time you want to change a single setting, you have to rebuild FF?
<Mic92> eyJhb: you don't have to rebuild firefox but just the wrapper, no?
zanc has quit [Ping timeout: 256 seconds]
<clever> sephii: that is the main config.nix or nixpkgs.config
<Mic92> eyJhb: I would move this stdenv.mkDerivation to its own builder: https://github.com/NixOS/nixpkgs/pull/91724/files#diff-d546c0cc4fa5e6ccb4772cdeab3c38a8R94
<clever> sephii: so you would just set php.bz2 = true; in config.nix or nixpkgs.config.php.bz2 = true; in configuration.nix
<Mic92> eyJhb: instead of mapping over data
<colemickens> Is it possible to (easily) exclude cryptsetup and/or lvm2 if I'm not using them? to further slim down a VM image?
<sephii> clever: oh, really? I'll try, thanks! (btw it looks like it all changed on master and now you use `withExtensions` https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/php/default.nix#L302)
<eyJhb> I am sorry if you do not have the time for these questions, but what I am unsure what is meant when you say it is mapping over data. Isn't it currently a builder on its own that wraps FF?
<clever> sephii: thats a seperate thing, runtime vs compiletime
<eyJhb> Mic92: tagging to ensure messages are not lost :p
<adisbladis> colemickens: FWIW I'm using zfs with native crypto on my laptop and I don't have cryptsetup in $PATH. The only thing pulling in lvm2 is udisks, so you should be able to get rid of those by disabling udisks and not using luks.
raghavsood has quit [Remote host closed the connection]
<colemickens> hm, maybe I have a line unaccounted for pulling it in then...
<adisbladis> colemickens: Use `nix why-depends` :)
<colemickens> It just says "system-path" though :P
<clever> colemickens: that means its in environment.systemPackages
<colemickens> oops, yeah I found it hiding.
<colemickens> the cryptsetup at least.
<{^_^}> [nixpkgs] @Mic92 opened pull request #93337 → commitIdFromGitRepo: fix stackoverflow if many branches are used. → https://git.io/JJZEQ
piotrszegda[m] has joined #nixos
tmaekawa has joined #nixos
<srxl> What's the best way to access nur in a nixos module? I added it to `nixpkgs.config.packageOverrides` and figured I'd be able to access it from `pkgs`, but that doesn't seem to be the case.
azure1 is now known as zanc
<colemickens> make-disk-image -> Failed to open file system "/dev/block/254:1": No such file or directory ? with partitionType="efi" ? https://gist.github.com/colemickens/50f6d7f60c83e5402ad60cdd7e24b8a0
<bkv> srxl: overlay?
<bkv> Overlay.
<srxl> true, overlay would work
<srxl> and i'm going to need one sooner or later so may as well
bahamas has joined #nixos
mounty1 has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
bahamas has quit [Ping timeout: 258 seconds]
tmaekawa has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3829979d8d2 (from 50 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
dongcarl7 has joined #nixos
dongcarl has quit [Ping timeout: 246 seconds]
dongcarl7 is now known as dongcarl
<etu> mvnetbiz_: Ohh, nice :)
proofofkeags has joined #nixos
tsrt^ has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
proofofkeags has quit [Ping timeout: 260 seconds]
sangoma has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
<{^_^}> [nix] @Mic92 opened pull request #3826 → switch from std::regex to boost::regex → https://git.io/JJZz4
<adisbladis> Mic92++
<{^_^}> Mic92's karma got increased to 31
<adisbladis> Mic92: Next time I see you AFK I will buy you several of your cold beverage of choice!
alp has joined #nixos
Deknos has left #nixos [#nixos]
<armin> so how do people set the keyboard layout under X? i usually just "setxkbmap de" from my .xsession/.xinitrc files and it works (unless i plug in another keyboard, which happens quite often since i collect mechanical keyboards), so how do you usually go about this?
bahamas has joined #nixos
<Taneb> Sometimes my office nix-serve server seems to get reaaally slow downloading .nar files
<Taneb> As in, 5 minutes plus for anything
<{^_^}> [nixpkgs] @tasmo opened pull request #93338 → bitwig-studio3: 3.2.2 -> 3.2.4 → https://git.io/JJZzP
bahamas has quit [Ping timeout: 256 seconds]
clever has quit [Ping timeout: 256 seconds]
clever has joined #nixos
clever has joined #nixos
clever has quit [Changing host]
fendor has quit [Ping timeout: 256 seconds]
fendor has joined #nixos
boxscape has joined #nixos
dermetfan has quit [Ping timeout: 260 seconds]
codezero has quit [Remote host closed the connection]
codezero has joined #nixos
codezero has quit [Client Quit]
<NobbZ[m]> <armin "so how do people set the keyboar"> In home-manager there is an option for that.
<NobbZ[m]> It works by having a one shot systemd user service that calls "setxkbdmap" a couple of seconds after session start.
<{^_^}> [nix] @Mic92 closed pull request #3826 → switch from std::regex to boost::regex → https://git.io/JJZz4
<Mic92> adisbladis: well. my fix is not welcome, though...
<srxl> is it possible to get a stack trace when `nixos-rebuild` hits a stack overflow? not sure what's causing it
<adisbladis> Mic92: Ugh -.-
<Mic92> srxl: lol.
<Mic92> This is the patch that I was fixed.
<Mic92> *but
<niksnut> Mic92: the fix adds ~50% to the Nix closure size...
<adisbladis> niksnut: But the status quo is that we have a regex implementation that returns different results on macos & linux
<LnL> we can always build with libc++ ;)
<Mic92> libc++ uses google's re2 afaik.
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JJZgz
emmanuel` has joined #nixos
<LnL> I always use clang on linux when working on nix, since lsp doesn't work otherwise
<Mic92> LnL: are you using clangd?
<LnL> yeah
<Mic92> I now why
<Mic92> *know why
<LnL> it freaks out with libstdc++ or something
blahaj[m] has joined #nixos
<Mic92> If you have a more plattform agnostic fix, you are welcome
<LnL> hm, don't think I'm using that wrapper tho
<Mic92> Well otherwise it should not work at all.
<niksnut> LnL: yes libc++ might be an option
nickeraqua has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93339 → libevdev: 1.9.0 -> 1.9.1 → https://git.io/JJZgd
<LnL> with something like that stdenv.cc.libcxx would point to the platform specific thing which the wrapper could use as the default
<armin> NobbZ[m]: well you make it sound like that wouldn't solve my actual problem when re-plugging keyboards. would you suggest i try that or not? :)
<LnL> still means that it won't work in a shell environment with a different stdenv however
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<armin> i also got used to having to open a terminal and typing "xset r rate 210 30" because the default is just too damn slow. :)
pbb has joined #nixos
pbb has quit [Client Quit]
pbb has joined #nixos
bahamas has joined #nixos
<armin> but yeah configuring my X session with anything but an editor and a shellscript seems awkward to me after having done so for more than 2 decades.
<Mic92> niksnut: how does this helps with closure size?
nabataeus has joined #nixos
<Mic92> LnL: it's a better default though, no?
<LnL> yeah I think so, but that's not exposed yet
<niksnut> Mic92: it probably doesn't
<Mic92> LnL: or stdenv needs to set environment variables with the used libc++
<niksnut> well, libc++ is a lot smaller that libicu4c
<niksnut> and it's not even split into multiple outputs yet
<LnL> Mic92: yes, the proper thing would be to use the cc wrappers
bahamas has quit [Ping timeout: 264 seconds]
ru_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @primeos opened pull request #93340 → cage: 2020-01-18 -> 0.1.2.1 → https://git.io/JJZ29
ambroisie has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<Izorkin> Mic92: please check PR #87239 and #92343
<{^_^}> https://github.com/NixOS/nixpkgs/pull/87239 (by Izorkin, 10 weeks ago, open): ruby: fix soname tag
<{^_^}> https://github.com/NixOS/nixpkgs/pull/92343 (by Izorkin, 1 week ago, open): Update percona tools
<Mic92> Izorkin: sorry, need to go back to work. Ask in 5 hours again.
<Mic92> *6
<Izorkin> Mic92: ок
ambroisie has joined #nixos
bahamas has joined #nixos
codezero has joined #nixos
szicari has quit [Ping timeout: 256 seconds]
ursuta has joined #nixos
ursuta has quit [Max SendQ exceeded]
bahamas has quit [Ping timeout: 240 seconds]
szicari has joined #nixos
<{^_^}> [nixpkgs] @PawelLipski opened pull request #93342 → gitAndTools.git-machete: 2.15.2 -> 2.15.3 → https://git.io/JJZaS
chimay has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93331 → rocm-smi: init at 3.5.0 → https://git.io/JJZcb
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJZVO
alp has quit [Ping timeout: 272 seconds]
wildtrees has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej_ has joined #nixos
lhurttila has joined #nixos
Jackneill has quit [Ping timeout: 240 seconds]
freezeboy has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #93343 → Add an optional `pronoun` field to maintainers-list.nix → https://git.io/JJZVo
<{^_^}> [nixpkgs] @mroman42 opened pull request #93344 → write_stylus: version 209 -> 300 → https://git.io/JJZVi
<lhurttila> I've not been able to get any sound from my Soundblaster z using headphones on NixOs 20.03. Even though I've got the correct soundcard as default, nothing is muted in alsamixer and i've diabled pulseaudio. My card is not on the list of supported cards on alsa-project-org so I'm guessing it's missing proper drivers. I found a possible solution here:
<lhurttila> https://www.reddit.com/r/SoundBlasterOfficial/comments/9mm5ad/sound_blaster_r3dr3dizzxrae5_linux_driver/ but don't know hot to apply it. Do I need to make a package of the driver myself and then patch the kernel with it?
<freezeboy> LHurttila hum is it the original driver already packaged ?
mallox has quit [Quit: WeeChat 2.8]
maier_ has joined #nixos
<lhurttila> freezeboy not as far as I know. This is the link to the patch on the reddit post:https://drive.google.com/open?id=1VvkQg8LLpbFs2GS1kApj3GLaDP7QdsEY.
<freezeboy> the problem is this is not a real patch, it is an isolated c file ... I don't know what to replace with it
proofofkeags has joined #nixos
maier has quit [Ping timeout: 258 seconds]
Jackneill has joined #nixos
bahamas has joined #nixos
<lhurttila> freezeboy I read from another thread that it need to be compiled first but still I hve no idea how I would apply it after that
<freezeboy> LHurttila yes ... it is a strange fix
<lhurttila> the way I understoofd it was that it needs to be compiled, turned to a nix package and then patched to the kernel with boot.kernelPatches somehow
<lhurttila> Problem is that there's no other linux driver for this soundcard and it's not in alsa either
proofofkeags has quit [Ping timeout: 256 seconds]
<lhurttila> as a linux beginner I'm pretty lost with this one so any tips would be welcome '=D
ckauhaus has joined #nixos
bahamas has quit [Ping timeout: 264 seconds]
<freezeboy> yes here the "patch" is not really precise, usually it is a file containing only the changed lines and a reference to the file to change, the kernelPatches options is taking such files
tarruda1 has quit [Quit: WeeChat 1.6]
<lhurttila> freezeboy ok so patching is a wrong term to begin with. How do I install that?
zanc has quit [Ping timeout: 256 seconds]
<freezeboy> I compared the two files ... they are now very different
<freezeboy> don't know how to extract the important change
zanc has joined #nixos
<lhurttila> freezeboy Which two? Thought I only showed you one that would be needed
<freezeboy> the file from your reddit page and the one that is already in the linux source tree
<lhurttila> freezeboy The one on Drive was created and modified in October 2018 while the latest commit to the github file was this March. I'd suppose the github version is the one i need then. Still have no idea how to install it though
zanc has quit [Read error: Connection reset by peer]
zanc has joined #nixos
__monty__ has quit [Quit: leaving]
freezeboy has quit [Ping timeout: 245 seconds]
acarrico has joined #nixos
stiell has joined #nixos
woleium has joined #nixos
<sephii> I'm trying to setup php-fpm on a nixos server but I can't find a way to reference the `services.phpfpm.pools.default.socket` option. I'm always getting an error telling me the attribute is missing. Here's what I tried: http://dpaste.com/36PHJ29
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJZw9
<sephii> (line 25 is causing the error)
ambroisie has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
titano has joined #nixos
woleium has quit [Ping timeout: 240 seconds]
<{^_^}> [flake-registry] @edolstra pushed to master « nix: Use master branch »: https://git.io/JJZrU
ambroisie has joined #nixos
Extends has joined #nixos
Habbie has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #93317 → gitkraken: 7.0.1 -> 7.1.0 → https://git.io/JJZmr
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJZrt
freezeboy has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « android-studio: 4.0.0.16 -> 4.0.1.0 »: https://git.io/JJZrB
justanotheruser has quit [Ping timeout: 256 seconds]
alp has joined #nixos
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{beta,dev,canary}: Remove myself as maintainer »: https://git.io/JJZrV
<{^_^}> [nixpkgs] @ttuegel merged pull request #93195 → krunner: add upstream patch for deprecated virtual method → https://git.io/JJGkT
<{^_^}> [nixpkgs] @ttuegel pushed 3 commits to master: https://git.io/JJZrw
<{^_^}> [nixpkgs] @primeos merged pull request #93340 → cage: 2020-01-18 -> 0.1.2.1 → https://git.io/JJZ29
<{^_^}> [nixpkgs] @primeos pushed to master « cage: 2020-01-18 -> 0.1.2.1 (#93340) »: https://git.io/JJZr6
chrm1 has joined #nixos
chrm1 has quit [Client Quit]
meh` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93345 → mkvtoolnix: 47.0.0 -> 48.0.0 → https://git.io/JJZrH
tarruda has joined #nixos
chrm1 has joined #nixos
dermetfan has joined #nixos
simba2 has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #93346 → profiles/base: adding ifenslave → https://git.io/JJZrF
tarruda has quit [Client Quit]
tarruda has joined #nixos
englishm has quit []
<{^_^}> [nixpkgs] @primeos closed pull request #93325 → intel-media-driver: 20.1.1 -> 20.2.0 → https://git.io/JJZGr
englishm has joined #nixos
tarruda has quit [Client Quit]
tarruda has joined #nixos
tarruda has quit [Client Quit]
joedevivo has quit []
joedevivo has joined #nixos
jeregrine has quit []
jeregrine has joined #nixos
Extends has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #93062 → Bazel 3 add fish completions → https://git.io/JJO5z
<{^_^}> [nixpkgs] @Profpatsch pushed 3 commits to master: https://git.io/JJZoB
AWizzArd has joined #nixos
<AWizzArd> Starting to try Nix I am using this simple setup: https://github.com/Gabriel439/haskell-nix/blob/master/project0/project0.nix
<AWizzArd> Now I wanted to add curl, and I've done this by adding `curl` to line 1, inside the curly braces, and by adding a new line `buildDepends = [ curl ]`. Now I wonder: why do I have to list curl twice? It didn't work by just adding buildDepends.
m1sosoup has joined #nixos
m0rph has joined #nixos
nolan_d is now known as ndarilek
m0rph has quit [Remote host closed the connection]
ghuntley has quit []
<zanc> is "or" an operator?
ghuntley has joined #nixos
<gchristensen> yeah
<gchristensen> > { foo = "hi"; bar = "there" }.foo or "default"
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):318:29
<gchristensen> > { foo = "hi"; bar = "there"; }.foo or "default"
<{^_^}> "hi"
<gchristensen> > { foo = "hi"; bar = "there"; }.baz or "default"
<{^_^}> "default"
<gchristensen> sure enough, could you PR it?
<infinisil> AWizzArd: Yeah that's the standard style at least
<infinisil> There's ways to not have to write it twice though
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/aaa66d8d887 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
pwerti has joined #nixos
<zanc> gchristensen: I've never done a PR
<AWizzArd> infinisil: okay, good to know that it is supposed to work this way. So, what is this first curly brace? Is this some kind of "import" mechanism for names?
<zanc> gchristensen: anyway, is "or" the same as "||"? does it have lower precedence like say in perl?
<infinisil> AWizzArd: The function gets called with the whole `pkgs` set, but limited to only those arguments that you have listed
gustavderdrache has joined #nixos
<infinisil> Ah yes, the curlies is just a function argument definition
<infinisil> The whole expression is a function then
cmk_zzz has quit [Ping timeout: 240 seconds]
chrm1 has quit [Read error: Connection reset by peer]
questionasker666 has joined #nixos
<AWizzArd> infinisil: I suppose that listing just `curl` in curly braces is the same as doing `curl = curl`, i.e. having KV paris.
<AWizzArd> pairs even
cmk_zzz has joined #nixos
<questionasker666> Is there some reason why my user password won't work in the VM from $ nixos-rebuild build-vm
chrm1 has joined #nixos
chrm1 has quit [Remote host closed the connection]
<lhurttila> Can I apply this patch by myself somehow? https://github.com/torvalds/linux/blob/master/sound/pci/hda/patch_ca0132.c And does the fact that it's in Torvald's github mean that it might eventually be included in a future kernel?
wolke has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JJZox
<questionasker666> I quess that the vm does not have my shadow file, but then neither can I login to nixos user which should have empty password by default
<questionasker666> there's some workaround by logging in over ssh, but would not want to do that
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
cfricke has quit [Quit: WeeChat 2.8]
andymandias has joined #nixos
dell has joined #nixos
dell is now known as oboje
<oboje> hey hey all -- how to allow access to ssh port 22 only from a specific addresses?
wildtrees_ has joined #nixos
andymandias has quit [Client Quit]
globin has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « linuxPackages.wireguard: 1.0.20200623 -> 1.0.20200712 »: https://git.io/JJZKt
<{^_^}> [nixpkgs] @Ma27 merged pull request #93342 → gitAndTools.git-machete: 2.15.2 -> 2.15.3 → https://git.io/JJZaS
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJZKm
andymandias has joined #nixos
wfranzini has joined #nixos
wildtrees has quit [Ping timeout: 240 seconds]
globin has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #92953 → php.packages.phpstan: 0.12.25 -> 0.12.32 → https://git.io/JJYXj
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJZKZ
<{^_^}> [nixpkgs] @Ma27 merged pull request #90692 → citrix_workspace: add more features, refactor derivation → https://git.io/Jfd6l
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to master: https://git.io/JJZKl
<numkem> I'm looking for an example of creating a custom OVA that isn't related to hydra. The only example I can find is in nixpkgs for the nixos-demo ova
<questionasker666> oboje: I quess with iptables
<oboje> any example please? I cannot find any
<oboje> oh right so there is no nix way to do it?
<{^_^}> [nixpkgs] @Ma27 merged pull request #93072 → matrix-synapse: 1.16.1 -> 1.17.0 → https://git.io/JJOpv
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJZK4
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJZKV
simba2 has quit [Ping timeout: 256 seconds]
<questionasker666> oboje: you can with this https://nixos.org/nixos/options.html#networking.firewall.extracommands
<questionasker666> but no nix syntax
proofofkeags has quit [Ping timeout: 264 seconds]
naominitel has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @NeQuissimus pushed 7 commits to master: https://git.io/JJZKA
lhurttila has quit [Ping timeout: 245 seconds]
romildo has joined #nixos
oboje has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xrelkd closed pull request #93163 → nixos/slock: make the package configurable → https://git.io/JJswQ
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-20.03: https://git.io/JJZ6I
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-20.03: https://git.io/JJZ6L
<romildo> How do I refer to /nix/store/y4q0n7igsiagm91hgd0q8hrnicii4nyj-nixos.svg in a derivation? (the hash part can very)
<romildo> Or better, is there an official logo for NixOS (maybe installed by default)? If so, how to reference it in a derivation?
<{^_^}> [nix] @Ma27 closed pull request #2266 → nix search: allow `-A` for attribute-only searches → https://git.io/fHUiQ
jumper149 has joined #nixos
<evanjs> The more hacky stuff I do with ESXi "support", the more I really want this to be upstreamed... it's just so hacky I don't even know if it should be lol
<armin> i wonder if making ~/.cache a tmpfs mount is a good idea or not
ddellacosta has joined #nixos
<AWizzArd> How can I discover the most up-to-date git hash to pin my project to a concrete version which happens to have cached precompiled binaries? For example I just tried out the freshest commit in unstable, and expectedly it wasn't all cached.
<evanjs> romildo: it looks like some packages reference the nixos-artwork repo, which I believe is what you're looking for
<{^_^}> [nixpkgs] @Ma27 merged pull request #93278 → nextcloud: 18.0.6 -> 18.0.7 → https://git.io/JJGFc
<evanjs> eg nixos/modules/system/boot/loader/grub/grub.nix
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJZ6o
<{^_^}> [nixpkgs] @Ma27 merged pull request #93279 → nextcloud: 18.0.6 -> 18.0.7 [20.03] → https://git.io/JJGbm
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JJZ6K
<evanjs> Should be a good starting point
hoijui has joined #nixos
<romildo> evanjs, I have found the logo I have mentioned is part of the gdm package: https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome-3/core/gdm/default.nix#L9
<evanjs> Yep, so you can reference the nixos-artwork repo directly to get it from the package in nixpkgs
<{^_^}> [nixpkgs] @symphorien opened pull request #93347 → Ocaml spacetime support → https://git.io/JJZ61
<evanjs> ... assuming they export the logo...
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « matrix-synapse: 1.16.1 -> 1.17.0 »: https://git.io/JJZ6Q
<romildo> evanjs, I want to specify a NixOS logo in distribution.info installed by deepin-desktop-base.
<evanjs> Right, it looks like that's the way to do it right now. I guess the nixos-artwork package only exports the wallpapers at the moment
<evanjs> I can definitely see the other assets being valuable if exported in a nix package
<evanjs> So yeah, probably just stick with how GDM does it for now. Bah that feels gross though haha
drakonis has joined #nixos
nixuser has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Ma27 merged pull request #93308 → nixos/matrix-synapse: update documentation → https://git.io/JJZTV
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJZik
<romildo> evanjs, I have found the package nixos-icons (https://github.com/NixOS/nixpkgs/blob/master/pkgs/data/misc/nixos-artwork/icons.nix) which install nix-snowflake. Would it be better to use it?
freezeboy has quit [Remote host closed the connection]
slack1256 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/595afc2c3f0 (from 72 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
simba2 has joined #nixos
tshaffe1 has joined #nixos
<{^_^}> [nix] @Ericson2314 opened pull request #3827 → Add back flake-compat shell.nix → https://git.io/JJZig
<{^_^}> [nixpkgs] @ggreif opened pull request #93348 → Ghc 8.8.4 → https://git.io/JJZio
knupfer has joined #nixos
growpotkin has joined #nixos
boxscape has quit [Quit: Connection closed]
<evanjs> romildo: looks like it! I should have checked using nix-locate, first
<evanjs> e.g.
<evanjs> ,locate nix-snowflake.svg
<{^_^}> Found in packages: nixos-icons
<evanjs> you can accomplish the same sort of search using nix-index/nix-locate https://github.com/bennofs/nix-index
ixxie has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3827 → Add back flake-compat shell.nix → https://git.io/JJZig
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJZiQ
<evanjs> romildo: "${nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflage.svg"
<evanjs> wow... *snowflake haha
<evanjs> anyway, that should get you the svg lol
<evanjs> it evaluates to "/nix/store/d5ngd90sgk2xbppssx1y98a6hbwxqsv6-nixos-icons-2017-03-16/share/icons/hicolor/scalable/apps/nix-snowflake.svg" on my machine (nixos-unstable)
<tshaffe1> Is there a way to get Nix to ignore ENOENT when changing permissions? I have a store dir on AFS, and builds keep failing because of the disappearing .__afs* files
<{^_^}> [nixpkgs] @jonringer merged pull request #93151 → azure-cli: 2.8.0 -> 2.9.0 → https://git.io/JJssQ
<{^_^}> [nixpkgs] @jonringer pushed to master « azure-cli: 2.8.0 -> 2.9.0 »: https://git.io/JJZPf
<evanjs> tshaffe1: does something like `command || true` work?
<evanjs> that's what I've been doing for e.g. potentially failing patchelf commands
<evanjs> (during batch operations)
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #93345 → mkvtoolnix: 47.0.0 -> 48.0.0 → https://git.io/JJZrH
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JJZPY
<romildo> evanjs, thanks for the tip.
ddellacosta has quit [Ping timeout: 260 seconds]
<romildo> evanjs, I think later nix-icons can be made an attribute of nixos-artkwork package set. At the moment the only attribute is wallpapers. It should be updated too as it is using a revision from 2017.
<tshaffe1> evanjs where would I make that change? It's happening within a nix-build command, is there a script somewhere that defines the post-installation fixup?
<evanjs> which might be okay -- https://github.com/NixOS/nixos-artwork/blob/master/icons/Makefile looks like this hasn't been updated since 3-16-2017
tarruda has joined #nixos
mariatsji has joined #nixos
<AWizzArd> Now I wanted to add curl, and I've done this by adding `curl` to line 1, inside the curly braces, and by adding a new line `buildDepends = [ curl ]`. But when I start this in a nix shell there is no curl available: `nix-shell --pure -A env release.nix`
CptCaptain has joined #nixos
<AWizzArd> How do I need to update that nix file to have curl available in an otherwise pure nix shell?
itshaydendev has joined #nixos
simba2 has quit [Ping timeout: 260 seconds]
dvim has quit []
<romildo> evanjs, I have been mislead by updates on the logo sibling dir in the repository, where the logo is defined. But it seems the logo itself has not been updated.
dvim has joined #nixos
slack1256 has quit [Ping timeout: 264 seconds]
maier_ has quit [Ping timeout: 256 seconds]
sangoma has quit [Ping timeout: 260 seconds]
<evanjs> tshaffe1: what do you mean "within a nix-build command"? it must be evaluating a nix expression then, right? Can you clarify/share the expression you're using?
<evanjs> Might help in diagnosing it
<{^_^}> [nixpkgs] @alyssais opened pull request #93349 → cataclysm-dda: 0.E -> 0.E-2 → https://git.io/JJZXG
manveru has quit []
manveru has joined #nixos
abathur has quit [Read error: Connection reset by peer]
abathur has joined #nixos
abathur has quit [Client Quit]
<{^_^}> [nixpkgs] @alyssais opened pull request #93350 → ola: fix build with clang; enable parallel → https://git.io/JJZXz
<{^_^}> [nixpkgs] @alyssais opened pull request #93351 → gfan: fix clang build on non-Darwin → https://git.io/JJZX2
ocharles has quit []
ocharles has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #93352 → python3Packages.google_api_python_client: 1.9.3 -> 1.10.0 → https://git.io/JJZXo
<tshaffe1> evanjs I'm just trying to build perl-5.30.3 as a dependency of another package. Should be coming from here? https://github.com/NixOS/nixpkgs/tree/f4722ea0bc5e4bb4fda3cacc6e536f63eeed99d3/pkgs/development/interpreters/perl
<zanc> why does `configurePhase` in nix-shell asking me to overwrite some libs in /nix/store/xxxxx-nix-2.4pre19700101_dirty/lib/
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « guitarix: 0.40.0 -> 0.41.0 »: https://git.io/JJZXy
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @zowoq merged pull request #93204 → croc: 8.0.11 -> 8.0.12 → https://git.io/JJGlD
<{^_^}> [nixpkgs] @zowoq pushed commit from @equirosa to master « croc: 8.0.11 -> 8.0.12 »: https://git.io/JJZXd
jefdaj has joined #nixos
<jefdaj> Anyone know how to start managing an existing NixOS VM from NixOps? I'm having trouble with the ssh keys. Just posted on stackoverflow: https://stackoverflow.com/questions/62957306/nixops-how-to-deploy-to-an-existing-nixos-vm
erasmas has joined #nixos
o1lo01ol1o has joined #nixos
<ixxie> Any weechat users here?
dermetfan has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @BurNiinTRee opened pull request #3828 → nix edit: call restoreSignals() before `execvp`-ing the $EDITOR → https://git.io/JJZXh
<o1lo01ol1o> What's the reccomended way to install home-manager as a nixos module? I've followed the instructions here: https://rycee.gitlab.io/home-manager/index.html#sec-install-nixos-module but nix can't find the import
pwerti has quit [Quit: Textual IRC Client: www.textualapp.com]
proofofkeags has quit [Ping timeout: 256 seconds]
<infinisil> ,ask ixxie
<{^_^}> ixxie: Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<{^_^}> [nixpkgs] @Lassulus merged pull request #93104 → nixos/moodle: add plugins → https://git.io/JJ3Du
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/JJZ1C
bahamas has joined #nixos
justanotheruser has joined #nixos
kozowu has quit []
kozowu has joined #nixos
simba2 has joined #nixos
boxscape has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #93353 → gpgme: 1.13.1 -> 1.14.0 → https://git.io/JJZ1M
cosimone has joined #nixos
<ixxie> wondering if there is an easy way to implement decarative configuration for weechat
<ixxie> I know its limited at the moment, and that weechat isn't designed well for that sort of thing, but I understand some people create init scripts which run a sequence of commands to configure the client
CustosLimen has quit []
CustosLimen has joined #nixos
morgan2 has joined #nixos
<eyJhb> What is this `mirror://` shortlink?
<jefdaj> I think it stands for a list of mirrors that will be tried in order. Forget where the file defining them is though
nabataeus has quit [Remote host closed the connection]
<eyJhb> Thanks, no clue why I did not realise it was a file
<eyJhb> Anyone that can remember the command for generating a patch file?
<eyJhb> Found the list :p
<morgan2> Hi. I am trying to nix-build a Docker image in a CI pipeline on a non-NixOS build server which I don't control. KVM is not available. How would you recommend I proceed, considering that Docker image builds require KVM? So far my only idea is to run a NixOS VM built off a custom source which will build the Docker image without using KVM, since I don't know that I can override nixos/lib/qemu-flags.nix
<morgan2> using a Nix expression.
tarruda has quit [Quit: WeeChat 2.3]
veleiro has joined #nixos
<zanc> eyJhb: it's in
<zanc> > :p <nixpkgs/pkgs/build-support/fetchurl/mirrors.nix>
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo/pkgs/build-support/fetchurl/mirrors.nix
<veleiro> [ERROR] Fatal error: Can't open and lock privilege tables: 'mysql.user' is not of type TABLE
<veleiro> just seems to happen with adding services.mysql.enable=true
<veleiro> i believe i had a previous mysql database setup
tarruda has joined #nixos
<veleiro> but removing services.mysql and collecting garbage, then reenabling doesnt
<veleiro> fix it
KarlJoad has joined #nixos
<KarlJoad> Hey, quick question. Why does NixOS generate a default xorg.conf/xserver.conf file for X11? Doesn't X11 configure itself without a config file fairly well in most situations already?
<cransom> veleiro: the database files are still around after disabling mysql. you can delete them and let nixos re-initialize the dbs when re-enabled again. but i would only recommend that if the data in the old directory is useless/can be purged forever
<eyJhb> zanc: thanks :D
alp has quit [Ping timeout: 272 seconds]
<veleiro> so where do they reside? i assumed they were protected in the store
omneh is now known as OmnipotentEntity
jumper149 has quit [Quit: WeeChat 2.8]
<veleiro> I do want to start from scratch
<veleiro> maybe i'm not understanding how these stateversions work with persistence
<veleiro> and databases
<cransom> veleiro: whatever `services.mysql.dataDir` is set to. typically something in /var/lib
<cransom> veleiro: user data and state is never in the nix store.
<veleiro> oh, i never realized
<veleiro> thanks for the insight!
<hazel[m]> how do i get a more recent java version than java 8
<hazel[m]> there's `jdk12` but it doesn't look like there's a `jre12`
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b103b4bc620 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
ris has joined #nixos
avn has quit [Ping timeout: 264 seconds]
user_0x58 has joined #nixos
woleium has joined #nixos
<cransom> hazel[m]: i think jre stopped existing after version 10.
<{^_^}> [nixpkgs] @Profpatsch merged pull request #92302 → buildBazelPackage: add "fetchConfigured" for fetching only things required for the build → https://git.io/JJkFQ
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @lukegb to master « buildBazelPackage: add "fetchConfigured" for fetching only things required for the build »: https://git.io/JJZDL
<hazel[m]> ah
avn has joined #nixos
<cransom> not nix specific, for all of java.
<hazel[m]> yeah, didn't know that
alexherbo2 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #86662 → chromium: Add missing dependency on gnugrep → https://git.io/JfsCi
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @glittershark to master « chromium: Add missing dependency on gnugrep »: https://git.io/JJZDZ
woleium has quit [Ping timeout: 246 seconds]
knupfer has quit [Ping timeout: 258 seconds]
<{^_^}> [nix] @Ma27 closed pull request #3762 → nix/copy: Add `--build` option → https://git.io/JJvHY
slack1256 has joined #nixos
justanotheruser has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #nixos
m1sosoup has quit [Ping timeout: 264 seconds]
KarlJoad has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93354 → nsd: 4.3.1 -> 4.3.2 → https://git.io/JJZym
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/24b55081f5f (from 24 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
sigmundv has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @conferno closed pull request #71424 → chromium: jdk.jre -> jre8 → https://git.io/JeBMu
heatm1s3r has quit []
heatm1s3r has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
artemist has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
morgan2 has quit [Quit: WeeChat 2.7.1]
artemist has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #93355 → nixos/unit: add 'tmp' directory → https://git.io/JJZSd
fresheyeball has quit [Ping timeout: 246 seconds]
fnorddd has joined #nixos
mariatsji has quit [Remote host closed the connection]
fresheyeball has joined #nixos
woleium has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
cole-h has joined #nixos
bahamas has quit [Ping timeout: 264 seconds]
igghibu has joined #nixos
jbgi has quit [Ping timeout: 246 seconds]
romildo has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ajs124 opened pull request #93356 → exim: 4.93 -> 4.94 → https://git.io/JJZ9k
fresheyeball has quit [Ping timeout: 260 seconds]
cosimone has quit [Read error: Connection reset by peer]
boxscape has quit [Quit: Connection closed]
boxscape has joined #nixos
cosimone has joined #nixos
sangoma has joined #nixos
<philipp[m]> After I run yarn2nix over the resulting logfile, I get the right entries in the generated nix file but the build fails because the new package can't be found in the yarn offline store.
fresheyeball has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #93357 → exim: add DMARC support → https://git.io/JJZ93
orivej has quit [Quit: No Ping reply in 180 seconds.]
abathur has joined #nixos
orivej has joined #nixos
<zanc> why isn't /nix/store/*-nixexprs.tar.* registered in `nix-store --gc`?
<philipp[m]> Oh, I see the reason now. It internally runs npm install...
<infinisil> zanc: You mean why it's deleted with a GC?
CptCaptain has quit [Quit: WeeChat 2.8]
<clever> zanc: if you want to delete a path, you use `nix-store --delete /nix/store/path`
<{^_^}> [nixpkgs] @Ma27 merged pull request #93286 → claws-mail: 3.17.5 -> 3.17.6 → https://git.io/JJGx7
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJZ9C
fnorddd has quit [Remote host closed the connection]
<AWizzArd> In one file I have `pkgs = import <nixpkgs> { };` and now want to call a second file like this `pkgs.haskellPackages.callPackage ./project.nix { }`. How can I access pkgs in my project.nix (i.e. the callee)?
<clever> AWizzArd: you need to pass the value of pkgs over as function args
<clever> AWizzArd:
<zanc> infinisil: I mean it's not listed in `nix-store --gc --print-dead`
<clever> AWizzArd: for example, the 2nd file would have `{ pkgs }:` and the 1st file would be `import ./second.nix { inherit pkgs; }`
<clever> zanc: what about `nix-store --query --roots` on one of those paths?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93300 → gtk3: 3.24.20 -> 3.24.21 → https://git.io/JJZfY
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/JJZ9z
<lovesegfault> What's the way to do `nix-shell -p` with a "custom" nixpkgs is again?
<clever> lovesegfault: -I nixpkgs=/path/to/custom
<AWizzArd> clever: can my second file also start like this? { pkgs, mkDerivation, base, stdenv, cabal-install, curl }:
<lovesegfault> clever: thx
<clever> AWizzArd: yeah, then you just do `haskellPackages.callPackage ./second.nix {}`
<AWizzArd> clever: When I try it like this I get the error message: attempt to call something which is not a function but a set
<clever> AWizzArd: can you put all of the files into gist.github.com ?
<lovesegfault> clever++
<{^_^}> clever's karma got increased to 475
<{^_^}> [nixpkgs] @dasJ opened pull request #93358 → nixos/gitlab: Fix extra-gitlab.rb → https://git.io/JJZ9w
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93359 → nomacs: 3.14.2 -> 3.15.1616 → https://git.io/JJZ9o
<clever> AWizzArd: and what is the exavt error?
philr has quit [Ping timeout: 246 seconds]
<AWizzArd> clever: What you see on Github works. I just would like to see if pkgs can also be made available in the callee.
<zanc> clever: it's there `/nix/var/nix/profiles/per-user/user/channels-3-link -> /nix/store/xxxx-user-environment` ...
<zanc> clever: but are nixexprs.tar.* not garbage collected?
<clever> AWizzArd: it should just be a matter of adding pkgs to the list on line 1
<Izorkin> Mic92: ping. Please check PR #87239 and #92343 :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/87239 (by Izorkin, 10 weeks ago, open): ruby: fix soname tag
<{^_^}> https://github.com/NixOS/nixpkgs/pull/92343 (by Izorkin, 1 week ago, open): Update percona tools
<AWizzArd> clever: ah okay, it's already that simple, good!
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<zanc> why there's no `nix-channel --list-generations` like `nix-env --list-generations`?
<clever> zanc: nix-env --profile /nix/var/nix/profiles/per-user/clever/channels/ --list-generations
<clever> zanc: behind the scenes, nix-channel and nixos-rebuild are just acting on different nix-env profiles
<{^_^}> [nixpkgs] @vbgl merged pull request #92410 → coqPackages.tlc: 20181116 → 20200328 → https://git.io/JJIDh
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.tlc: 20181116 → 20200328 »: https://git.io/JJZ9y
<zanc> clever: okay, good to know
asheshambasta has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ali-abrar opened pull request #93360 → mattermost: 5.15.0 -> 5.25.0 → https://git.io/JJZ9p
fresheyeball has quit [Ping timeout: 264 seconds]
fresheyeball has joined #nixos
shibboleth has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #93361 → bazel-kazel: init at 0.0.7 → https://git.io/JJZH3
hoijui has quit [Ping timeout: 256 seconds]
igghibu has quit [Quit: Textual IRC Client: www.textualapp.com]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #93291 → prometheus-modemmanager-exporter: init at 0.1.0, add NixOS module → https://git.io/JJGjk
<{^_^}> [nixpkgs] @WilliButz pushed 3 commits to master: https://git.io/JJZHl
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
bianca has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #93013 → oven-media-engine: init at 0.10.4 → https://git.io/JJOtz
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @lukegb to master « oven-media-engine: init at 0.10.4 »: https://git.io/JJZHg
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93362 → libmysqlconnectorcpp: 8.0.20 -> 8.0.21 → https://git.io/JJZHP
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @prusnak opened pull request #93363 → rocksdb: 6.4.6 -> 6.10.2 → https://git.io/JJZH1
<{^_^}> [nixpkgs] @prusnak closed pull request #82690 → rocksdb: 6.4.6 -> 6.6.4 → https://git.io/JvixE
orivej has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b103b4bc620 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
woleium has quit [Ping timeout: 240 seconds]
veleiro has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #93337 → commitIdFromGitRepo: fix stackoverflow if many branches are used. → https://git.io/JJZEQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJZHF
<{^_^}> [nixpkgs] @ajs124 closed pull request #92819 → nspr: 4.25 -> 4.26 → https://git.io/JJmrr
woleium has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
ynotperez has quit []
<numkem> I'm looking for more information on how to build an ova, looking at the example for nixos-demo isn't super helpful as it's tied to hydra
ynotperez has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @lheckemann pushed commit from @Mic92 to release-20.03 « commitIdFromGitRepo: fix stackoverflow if many branches are used. »: https://git.io/JJZHA
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nix] @Ericson2314 closed pull request #3453 → WIP: (Low priority) Use `enum struct` and drop enum variant prefixes → https://git.io/JvQX9
<{^_^}> [nixpkgs] @Mic92 merged pull request #87239 → ruby: fix soname tag → https://git.io/JfcWT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/JJZQe
<evanjs> Is there a way to get FHS directories into a shell? Trying to bubble up some libs so it's easier to add them in Ghidra
<evanjs> either that, or I can set env vars and use those or blah
hoijui has joined #nixos
<evanjs> trying to utilize the "Parse C Source" feature
<evanjs> or at least get the libs to resolve when I import an executable
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
cosimone has quit [Quit: Quit.]
elibrokeit has quit [Quit: A random quit message]
Profpatsch has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #93364 → rust: 1.44.1 -> 1.45.0 → https://git.io/JJZQZ
elibrokeit has joined #nixos
<Profpatsch> Hm, I had a script that checked whether a store path was cached on the substituters and built otherwise, but I can’t remember how I did that
itshaydendev has quit [Remote host closed the connection]
gentauro has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @fzakaria opened pull request #93365 → spacevim: init at c937c0e → https://git.io/JJZQE
gentauro has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93304 → metals: 0.9.1 -> 0.9.2 → https://git.io/JJZJA
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJZQK
<{^_^}> [nixpkgs] @vbgl opened pull request #93366 → ocamlPackages.markup: 0.7.5 → 0.8.2 → https://git.io/JJZQ1
<{^_^}> [nixpkgs] @vbgl merged pull request #92548 → ocaml-ng.ocamlPackages_4_11.ocaml: 4.11.0+β1 → 4.11.0+β2 → https://git.io/JJLFm
<{^_^}> [nixpkgs] @vbgl pushed to master « ocaml-ng.ocamlPackages_4_11.ocaml: 4.11.0+β1 → 4.11.0+β2 »: https://git.io/JJZQD
<{^_^}> [nixpkgs] @eadwu opened pull request #93367 → vivaldi: remove gstreamer → https://git.io/JJZQS
globin has quit [Ping timeout: 240 seconds]
globin has joined #nixos
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @danieldk closed pull request #93301 → picolisp: 19.12 -> 20.6 → https://git.io/JJZf1
wfranzini has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
stevenxl has joined #nixos
jmeredith has quit []
jmeredith has joined #nixos
tshaffe1 has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 256 seconds]
wfranzini has quit [Quit: wfranzini]
orivej has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5adadd14663 (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has joined #nixos
sangoma has quit [Quit: WeeChat 2.8]
meh` has quit [Ping timeout: 256 seconds]
jbgi has joined #nixos
marcusr has quit [Changing host]
marcusr has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
sneakweb has quit []
globin has quit [Ping timeout: 256 seconds]
pointfree has quit []
sneakweb has joined #nixos
pointfree has joined #nixos
spinus has joined #nixos
noudle has joined #nixos
<spinus> hello, anybody using UEFI with encrypted mirrored boot? I mirrored that and grub is asking me for password of all boot partititons (despite they have same content). I'm not sure if I should open a bug report of that's expected behaviour.
victorbjelkholm_ has quit []
globin has joined #nixos
victorbjelkholm_ has joined #nixos
Lars[m]4 has joined #nixos
knupfer has joined #nixos
zupo has joined #nixos
justanotheruser has joined #nixos
globin has quit [Quit: o/]
<{^_^}> [nixpkgs] @mmahut closed pull request #93346 → profiles/base: adding ifenslave → https://git.io/JJZrF
drakonis has quit [Quit: WeeChat 2.8]
globin has joined #nixos
boxscape has quit [Quit: Connection closed]
noudle has quit []
woleium has quit [Remote host closed the connection]
nickeraqua has joined #nixos
<nickeraqua> I built Nix with custom store and state directory, but installing something fails with `error: creating directory '/nix/var/log/nix/drvs/i9': Permission denied`. How can I get it to not use /nix?
<{^_^}> [nixpkgs] @Ma27 merged pull request #93326 → icewm: 1.6.6 -> 1.7.0 → https://git.io/JJZGh
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJZ52
chimay has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<spinus> nickeraqua: after building with different nix store path, do you install with the same setup?
typetetris has quit []
typetetris has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<nickeraqua> I nix-build a release and then install that release on another computer with mostly the same steps but editing some lines of the install script to replace /nix with my path.
taktoa[c] has quit []
taktoa[c] has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #92343 → Update percona tools → https://git.io/JJIGh
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JJZ5j
sangoma has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<tbenst[m]> any wine users on here? I'm trying to install wine and winetricks on 20.03. When I try to install wine, I see "Package ‘intel-media-sdk-19.4.0’ in /Computer/nixpkgs/pkgs/development/libraries/intel-media-sdk/default.nix:23 is not supported on ‘i686-linux’, refusing to evaluate.
<spinus> nickeraqua: I don't get what you do. So either you use nix-build or now? How do you install on the other machine? How you can change anything inside the build when it should be read only? nix packages have no install script, what do you do there?
<alexarice[m]> tbenst: I have installed wine in the past and it has been fine though this doesn't really help you
<nickeraqua> The darwin tarball release does have an install script
<tbenst[m]> alexarice: thanks. turns out both wine and wineWow install fine, it's just winetricks I see this issue
<alexarice[m]> tbenst: I had that installed aswell though that still doesn't help you
lsix has quit [Ping timeout: 256 seconds]
<nickeraqua> I built nix from source based on the Manual, then I nix-build a darwin tarball release which I install on another computer.
slack1256 has quit [Ping timeout: 240 seconds]
lsix has joined #nixos
Henson has joined #nixos
o1lo01ol1o has joined #nixos
<Henson> has anybody got a cell modem working with NixOS? I've enabled network manager and can use the "mmcli" tool, but the ModemManager service isn't starting on its own. I have to manually start it.
<tbenst[m]> alexarice: figured it out! stable installs fine, but full does not
nschoe_ has joined #nixos
nschoe_ has quit [Client Quit]
<clever> Henson: i think #nixos-aarch64 has been looking into that
<{^_^}> [nixpkgs] @kalbasit merged pull request #93361 → bazel-kazel: init at 0.0.7 → https://git.io/JJZH3
<{^_^}> [nixpkgs] @kalbasit pushed to master « bazel-kazel: init at 0.0.7 (#93361) »: https://git.io/JJZdR
nikita` has quit [Ping timeout: 258 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
nikita` has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<eyJhb> how can I get nix-shell --builders, to give me some more output regarding my builder?
<eyJhb> Currently I cannot connect when using --builders, because I get auth denied, but I can login from my root account to the host without a problem
<eyJhb> Guessing it is the prompt for password when using a phrase for my key maybe
<{^_^}> [nixpkgs] @samueldr opened pull request #93368 → [WIP] Initial support for OpenRISC 1000 → https://git.io/JJZdV
<{^_^}> [nixpkgs] @lsix merged pull request #93250 → strawberry: 0.6.12 -> 0.6.13 → https://git.io/JJGDm
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JJZdr
<nickeraqua> Is there something hardcoded for /nix/var for `nix-build release.nix` maybe?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93369 → osmo: 0.4.2 -> 0.4.4 → https://git.io/JJZdK
ixxie has quit [Quit: Lost terminal]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<spinus> nickeraqua: how do you install the package? most nix commands claims that NIX_STORE_DIR is the way to set this up (there is few other variables to set various dirs), did you check that by any chance?
<nickeraqua> I set NIX_STORE_DIR and NIX_STATE_DIR. But I now see there might also be NIX_LOG_DIR! Will check it out.
<symphorien> nickeraqua: here you can find how to setup nix to not use /nix at all: https://github.com/NixOS/nix/blob/master/tests/common.sh.in#L5
<nickeraqua> Thanks
<{^_^}> [nixpkgs] @primeos merged pull request #93352 → python3Packages.google_api_python_client: 1.9.3 -> 1.10.0 → https://git.io/JJZXo
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JJZbR
lhurttila has joined #nixos
<lhurttila> Can I apply this patch by myself somehow? https://github.com/torvalds/linux/blob/master/sound/pci/hda/patch_ca0132.c And does the fact that it's in Torvald's github mean that it might eventually be included in a future kernel?
<alexarice[m]> LHurttila: you could probably just apply it with an overlay
<clever> LHurttila: boot.kernelPatches
<alexarice[m]> or that
<clever> > kernelPatches.mac_nvme_t2
<{^_^}> { name = "mac_nvme_t2"; patch = /var/lib/nixbot/nixpkgs/master/repo/pkgs/os-specific/linux/kernel/mac-nvme-t2.patch; }
<clever> you just shove a set into boot.kernelPatches, which has a name and the path to a patch
proofofkeags has joined #nixos
noneucat has quit [Quit: WeeChat 2.8]
noneucat[m] is now known as noneucat
gustavderdrache has quit [Quit: Leaving.]
<lhurttila> clever earlier I was told that patches have a certain structure (lines they replace etc) and that this file doesn't have the structure needed to be applied like patches in general
<lhurttila> I'm new to linux in general so i'm a bit lost with patching the kernel. among other things
<numkem> I've found how to build the OVA through doing `nix-build '<nixpkgs/nixos>' -A config.system.build.virtualBoxOVA -I nixos-config=configuration.nix -I nixpkgs=/home/numkem/src/nixpkgs/nixos` how can I write a default.nix that would do the same thing? I'd like to be able to use niv to handle nixpkg itself
proofofkeags has quit [Ping timeout: 256 seconds]
<numkem> it's the `-A` I'm not too sure how to replicate inside an expression
<lhurttila> clever also the link you posted seems to be for macs and i'm on a pc
<clever> LHurttila: you need to unpack the current linux source, and then checkout master for the above branch, and use `diff -ru` between the 2 dirs to generate a patch
<clever> LHurttila: the file i linked, was to fix a driver problem when running linux on mac hw
<clever> apple had to be a special sunflower, and make their nvme drive non-compatible
<clever> or is the phrase, "special snowflake" i think?
<lhurttila> Right. as always :D
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e7c435cbbdf (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<lhurttila> clever sounds a bit over my head at this point. Any idea where i could find more specific intsructions?
<clever> LHurttila: if the entire change is in one commit on git, you can just add .patch to it
o1lo01ol1o has joined #nixos
* clever looks
cosimone has joined #nixos
valwal_ has quit []
hoijui has quit [Quit: Leaving]
valwal_ has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos
fendor has quit [Remote host closed the connection]
<TheSirC[m]> Would someone know why I am getting `libGL error: MESA-LOADER: failed to open radeonsi (search paths /run/opengl-driver/lib/dri)` when I run glxinfo?
mounty1 has quit [Ping timeout: 240 seconds]
<o1lo01ol1o> I need to run some postgresql `copy` commands using some files in my user's home; the system postgres doesn't have permission to access these files, does anyone know what user group I could add them to to make them accessable?
<o1lo01ol1o> derp: postgres
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @alyssais opened pull request #93371 → mysql80: 8.0.17 -> 8.0.21 → https://git.io/JJZNW
<lhurttila> clever and then somehow add that commit with .patch to boot.kernelPatches?
<clever> LHurttila: you can also use pkgs.fetchpatch to download it
<lhurttila> no need to change the actual patch file in any way?
<clever> you can find examples in nixpkgs
fendor has joined #nixos
dani- has quit []
dani- has joined #nixos
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos
orivej_ has quit [Read error: Connection reset by peer]
<lhurttila> clever I'll try. Can't find fetchpatch in either nixos-20.03 or nixpkgs-unstable though. Why's that?
orivej has joined #nixos
acarrico has quit [Ping timeout: 256 seconds]
<clever> LHurttila: how did you try looking?
woleium has joined #nixos
<{^_^}> [nix] @Mic92 closed pull request #2622 → nix build: print built derivation paths (cachix support/nix-build compatibility) → https://github.com/NixOS/nix/pull/2622
<clever> LHurttila: fetchpatch isnt a package
<clever> > pkgs.fetchpatch
<{^_^}> { __functionArgs = <CODE>; __functor = <CODE>; override = <CODE>; }
<clever> just grep the nixpkgs source for examples of how to use it
nickeraqua has quit [Ping timeout: 245 seconds]
jefdaj has quit [Ping timeout: 245 seconds]
<lhurttila> ok. makes sense then :P
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
<lhurttila> It's getting late here so I'll get to it tomorrow. Thx for help and explaining
davidv7 has quit [Ping timeout: 256 seconds]
dingenskirchen1 is now known as dingenskirchen
orivej has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 256 seconds]
inkbottle has quit [Ping timeout: 246 seconds]
lhurttila has quit [Ping timeout: 245 seconds]
ottidmes has quit [Ping timeout: 256 seconds]
jackdk has quit []
jackdk has joined #nixos
<{^_^}> [nix] @meditans opened pull request #3829 → Remove storetype delegate reg store -- contains #3736 → https://github.com/NixOS/nix/pull/3829
srhb has quit []
davidv7 has joined #nixos
orivej has joined #nixos
srhb has joined #nixos
<{^_^}> [nixpkgs] @bb2020 opened pull request #93372 → nixos/alsa: disable OSSEmulation by default → https://git.io/JJZAJ
agander_m has quit []
agander_m has joined #nixos
ottidmes has joined #nixos
<evanjs> how might I get the libraries used in an FHS environment for a shell.nix?
<evanjs> or am I going about this backwards?
jbox has joined #nixos
<evanjs> (trying to get the libs in a single folder so it's easier to get ghidra to find them)
<clever> evanjs: i would just use buildEnv to merge them together
<clever> and then build it with nix-build
<evanjs> mmmmm manual stuff
<clever> you could put it into a shell.nix as an env var
<{^_^}> [nixpkgs] @lsix merged pull request #93088 → python3Packages.pytest-black: 0.3.9 -> 0.3.10 → https://git.io/JJ3RG
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JJZAO
<evanjs> I was doing so with LD_LIBRARY_PATH but
<evanjs> couldn't find out how to get all the libs the FHS needs/uses
nate48423 has quit [Remote host closed the connection]
<clever> is it for ghidra to run, or ghidra to disassemble things?
<evanjs> the fhs being a part of one of my buildInputs for the shell
<evanjs> dissasemble
<evanjs> Parse C source, etc
<clever> ah, ive only disassembled fully static binaries
<evanjs> sounds extremely convenient :P
erasmas has quit [Quit: leaving]
<{^_^}> [nix] @Ericson2314 opened pull request #3830 → Mischellaneous changes to prepare for CA drvs -- contains #3807, #3424, and #3418 → https://git.io/JJZAZ
<clever> main things i focus on are rpi firmware (both flat bin and elf files), with the occasional static-arm-linux and dos-x86 on the side
lsix has quit [Quit: WeeChat 2.8]
codyopel has joined #nixos
<evanjs> clever ahh wait I was being dumb haha
<evanjs> was doing the package attr (which resolved to ./default.nix -> wrapper.nix -> runtime.nix)
<evanjs> changed it to a callPackage call directly to the runtime.nix
<evanjs> then I can fetch the nativeBuildInputs and put those into LD_LIBRARY_PATH in the shellHook
<evanjs> wooooo. ld says it's enough to resolve the libs
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
dermetfan has joined #nixos
bwh_ has quit [Remote host closed the connection]
bwh_ has joined #nixos
jtobin has quit [Ping timeout: 272 seconds]
slack1256 has joined #nixos
jtobin has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #91746 → nss: 3.52.1 -> 3.54 → https://git.io/JJvo7
<{^_^}> [nixpkgs] @flokli pushed 3 commits to staging: https://git.io/JJZAy
joschi has joined #nixos
<evanjs> clever: oh and I can just use buildEnv in addition to that and give it the same inputs :D
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
alp has joined #nixos
cr4y1 has quit [Ping timeout: 246 seconds]
simba2 has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
jbgi has quit [Ping timeout: 256 seconds]
sangoma has quit [Quit: WeeChat 2.8]
orivej has quit [Ping timeout: 240 seconds]
icey_ has joined #nixos
proofofkeags has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
AluisioASG has joined #nixos
iceypoi has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
questionasker666 has quit [Remote host closed the connection]
proofofkeags has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
Rusty1 has joined #nixos
<l33[m]> doing some nixos packaging experiments.. whats the best way to handle when makefile does 'install -C ./scripts/bash-completion/lotus /usr/share/bash-completion/completions/lotus' do i have patch the makefile , and examples would be greatly appreciated.
<qyliss> Is that path hardcoded in the makefile or does it use a variable?
wildtrees_ has quit [Remote host closed the connection]
<qyliss> If it's hardcoded, do substituteInPlace Makefile --replace /usr $out in postConfigure
<{^_^}> [nixpkgs] @FelschR opened pull request #93373 → brave: 1.10.97 -> 1.11.97 → https://git.io/JJZp3
wildtrees_ has joined #nixos
drakonis has joined #nixos
woleium has quit [Remote host closed the connection]
wildtrees_ has quit [Max SendQ exceeded]
cjbassi[m]1 has joined #nixos
asymptotically has quit [Quit: Leaving]
<l33[m]> <qyliss "Is that path hardcoded in the ma"> unfortunelty it's hardcode in place. https://github.com/filecoin-project/lotus/blob/master/Makefile
alp has quit [Remote host closed the connection]
alp has joined #nixos
Henson has quit [Ping timeout: 258 seconds]
camsbury has joined #nixos
knerten1 has quit [Quit: knerten1]
<{^_^}> [nixpkgs] @tadfisher opened pull request #93374 → zoom-us: Link libfaac to fix audio recording → https://git.io/JJZpi
woleium has joined #nixos
woleium has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6148f636031 (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
dermetfan has quit [Ping timeout: 272 seconds]
fendor has quit [Read error: Connection reset by peer]
justanotheruser has joined #nixos
dbmikus has joined #nixos
codygman___ has joined #nixos
stevenxl has quit [Quit: Connection closed for inactivity]
<codygman___> nixpkgs.diagrams-builder is broken. It is a haskell package, and I think by setting the derivations underlying build process to "jailbreak = true" it will build successfully. `diagrams-builder.override ({ jailbreak = true; })` returns `called with unexpected argument 'jailbreak'` though because it's not the underlying Haskell package. How can I pass doJailbreak through?
cosimone has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #nixos
turlando has quit [Ping timeout: 240 seconds]
woleium has joined #nixos
<codygman___> After looking at the source it looks like I need to modify the underlying wrappedGHC, or I guess overlay diagrams-builder.
<codygman___> diagrams-builder the haskell package that is
emmanuel` has quit [Ping timeout: 260 seconds]
virus_dave has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
woleium has quit [Remote host closed the connection]
<clever> codygman___: look into haskell.lib.doJailBreak
mbrgm_ has joined #nixos
<codygman___> clever: Yep. My main misunderstanding was figuring out how to get to where I could use it. Here is the solution for overriding it (building is another story): `(diagrams-builder.overrideAttrs (oldAttrs: { diagrams-builder = pkgs.haskell.lib.doJailbreak pkgs.haskell.packages.ghc865.diagrams-builder ; }) )`
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<codygman___> I'll just check hydra to see when diagrams-builder was last building I guess and use that one
devalot has quit [Quit: ZNC - http://znc.in]
<colemickens> Does anyone use partitionTableType="efi" with make-disk-image.nix ? system-boot is blowing up on install. https://gist.github.com/colemickens/50f6d7f60c83e5402ad60cdd7e24b8a0
<colemickens> "Failed to open file system "/dev/block/254:1": No such file or directory"
<{^_^}> [nixpkgs] @MrChico opened pull request #93375 → cvc4: 1.6 -> 1.8 → https://git.io/JJZjt
alexherbo2 has quit [Ping timeout: 240 seconds]