worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || 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-inf
<{^_^}> [nixpkgs] @mweinelt pushed 7 commits to staging-next: https://git.io/JOC4Q
pushqrdx_ has quit [Quit: pushqrdx_]
pushqrdx has joined #nixos
Noisytoot has quit [Ping timeout: 252 seconds]
Andoriyu has joined #nixos
Noisytoot has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/652749c4ca7 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
aaabbbbbbbbbb has quit [Ping timeout: 246 seconds]
proofofkeags has quit [Ping timeout: 265 seconds]
slack1256 has joined #nixos
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #119574 → protobuf: 3.15.7 -> 3.15.8 → https://github.com/NixOS/nixpkgs/pull/119574
<{^_^}> [nixpkgs] @marsam opened pull request #119585 → docker-slim: 1.34.0 -> 1.35.0 → https://github.com/NixOS/nixpkgs/pull/119585
thc202 has quit [Ping timeout: 258 seconds]
teto has quit [Quit: WeeChat 3.1]
ericsagnes has quit [Ping timeout: 248 seconds]
ddellacosta has joined #nixos
alexherbo26 has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo26 is now known as alexherbo2
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/eb47cc02dd0 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
ddellacosta has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @lukegb opened pull request #119587 → nixos/tests/hibernate: attempt to make slightly more robust → https://github.com/NixOS/nixpkgs/pull/119587
<gchristensen> lukegb: clever
<lukegb> it's awful
<lukegb> I hate it
<lukegb> I was contemplating trying to see if it was possible to just unmount and remount /nix/store during unhibernate
<{^_^}> [nixpkgs] @hzeller opened pull request #119588 → gmrender-resurrect: 0.0.8 -> 0.0.9 → https://github.com/NixOS/nixpkgs/pull/119588
<lukegb> I got super confused when I tried bisecting the hibernate test and it just pointed at a change to the nixos release notes though :P
<gchristensen> :D
* lukegb squints at https://logs.nix.ci/?key=nixos/nixpkgs.119587&attempt_id=32bdb8b5-6982-44ea-8a4f-b4e7df46c40d
ericsagnes has joined #nixos
MatrixBot22 has quit [Quit: Bridge terminating on SIGTERM]
<{^_^}> [nixpkgs] @dmanam closed pull request #103333 → nixos/modules/services/x11/clight: update configuration format to new version → https://github.com/NixOS/nixpkgs/pull/103333
qbit has joined #nixos
<qbit> hio!
<qbit> is there a var I can use in nginx to set a services.nginx.virtualHosts.<name>.root to the $out dir of the glowing-bear package?
<lukegb> you should be able to set it to pkgs.glowing-bear
<qbit> orly
<lukegb> "$out" is usually the default output of packages, unless overridden
<qbit> ok
<qbit> sweet
tomberek has quit [Quit: Connection closed]
alexherbo2 has joined #nixos
<lukegb> I mention this because sometimes packages have man pages in separate outputs: https://github.com/NixOS/nixpkgs/blob/294d1925af6462e55c76b49624b983036f0093b9/pkgs/applications/misc/wikicurses/default.nix#L19 - so that'd be something like pkgs.wikicurses.man if you needed that output specifically
<lukegb> and some packages use bin as their default output instead, but still have an "out" output - https://github.com/NixOS/nixpkgs/blob/294d1925af6462e55c76b49624b983036f0093b9/pkgs/applications/audio/flac/default.nix
hlz has quit [Quit: WeeChat 3.1]
<qbit> nice
<qbit> ty!
dotdotok has quit [Ping timeout: 252 seconds]
rajivr has joined #nixos
h0m1 has quit [Ping timeout: 250 seconds]
JJ has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos
alexherbo2 has joined #nixos
aei has quit [Ping timeout: 268 seconds]
alexherbo2 has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
ddellacosta has quit [Ping timeout: 265 seconds]
ahmed_elgabri has joined #nixos
JJ has joined #nixos
ahmed_elgabri has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 5 commits to gnome-40: https://git.io/JOCKA
lsix has quit [Ping timeout: 258 seconds]
pushqrdx has quit [Remote host closed the connection]
pushqrdx has joined #nixos
<hpfr> Did GitHub turn on system color scheme for logged out users now?
bridge[evilred] has quit [Remote host closed the connection]
bridge[evilred] has joined #nixos
bridge[evilred] has quit [Excess Flood]
bridge[evilred] has joined #nixos
ddellacosta has joined #nixos
Dr8128 has quit [Ping timeout: 240 seconds]
friel- has left #nixos [#nixos]
ddellacosta has quit [Ping timeout: 265 seconds]
pushqrdx has quit [Remote host closed the connection]
pushqrdx has joined #nixos
marusich has joined #nixos
<radvendii> I had a wild idea. I have no idea how this would be implemented, but the idea is to have a special command one can insert into a script in nix (like buildPhase or whatnot), and when it gets there, it drops you into an interactive shell. I would propose that once you exit the interactive shell it necessarily fails the build (since that's not pure at all), but it would be incredibly helpful for
<radvendii> debugging purposes
<radvendii> I know I can nix-shell and then manually run the buildPhases, but sometimes there are ${} substitutions in the scripts that I don't have access to, and in general it's just a pain to manually run all of the commands leading up to it
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
pushqrdx has quit [Remote host closed the connection]
theDon has quit [Ping timeout: 265 seconds]
pushqrdx has joined #nixos
theDon has joined #nixos
ddellacosta has joined #nixos
pushqrdx has quit [Remote host closed the connection]
pushqrdx has joined #nixos
mla has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
ddellacosta has quit [Ping timeout: 252 seconds]
slack1256 has quit [Remote host closed the connection]
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
est31 is now known as est
AlpineLlama has joined #nixos
LilleCarl has quit [Quit: WeeChat 3.1]
<cgbrewster[m]> Hello! I'm an engineer at replit.com and I'm doing some exploration with nix on our platform. Out of curiosity, how big is the the public nixos binary cache?
<simpson> At least several tebibytes, I hear.
<samueldr> it never really has been garbage collected IIRC
<cgbrewster[m]> Impressive! I'm trying to think of a way to provide a pre-warmed nix store for repls so you don't have to download much (you're pretty limited on storage in a project)
pushqrdx has quit [Remote host closed the connection]
pushqrdx has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
puffnfresh1 has quit [Ping timeout: 240 seconds]
pushqrdx has quit [Ping timeout: 252 seconds]
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
apache8080 has joined #nixos
Jd007 has quit [Quit: Jd007]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
puffnfresh1 has joined #nixos
Supersonic112 has joined #nixos
<aaronjanse> cgbrewster: I think you can also host your own secondary cache for replit, which would Nix transparently do something like "cache all downloads for 1 day," so frequently requested things (across all users) would persist in your binary cache
<aaronjanse> *which would let Nix
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 is now known as Supersonic
<cgbrewster[m]> aaronjanse: Yeah I think we might do something like that, we also can bake in a cache in the container and provide an writable overlay. I tried doing this with just /nix/store but found out there is a sqlite db in /nix/var/... somewhere that needs to stay in sync with the store.
JJ has quit [Quit: Connection closed]
<cgbrewster[m]> The wild idea was to make a nix store that has everything in it on a read-only persistent disk that we mount to each machine and give everyone a writable overlay. In theory you'd have any package you want without needing to download anything right?
ahmed_elgabri has joined #nixos
<simpson> Packages are only the first step. Nix is a general-purpose build system, and what most folks want to do with it is build their own custom packages, e.g. in CI workflows.
<{^_^}> [nixpkgs] @samuela opened pull request #119589 → nodePackages.remod-cli: init at 1.0.1 → https://github.com/NixOS/nixpkgs/pull/119589
growpotkin has joined #nixos
<cgbrewster[m]> Right, our primary use-case is to let users install whatever they want into their repl's environment. Right now we use a massive dockerfile with a bunch of things preinstalled, but its pretty hard to maintain and we can't update most things without breaking older repls
<cgbrewster[m]> The underlying containers come and go, so ideally we want to avoid downloading a ton of things into the nix store, since this both takes a while and we quickly run out of space
JJ has joined #nixos
<aaronjanse> Yep, that makes a lot of sense
ahmed_elgabri has quit [Ping timeout: 260 seconds]
<simpson> You can share an underlying Nix store with many containers in a read-only fashion, I think. Don't know where the docs are on how to do that. Another option would be to union-mount a tmpfs over the Nix store and let users chew RAM instead of disk; I don't know if we support that technique but it'd be possible to hand-build.
JJ has quit [Client Quit]
<aaronjanse> I think that replit wants containers to be able to add new packages
<aaronjanse> While sharing packages that are built across containers
JJ has joined #nixos
<simpson> Which is a yikes as soon as we're not
apo has quit [Quit: apo]
<simpson> *as soon as we're not just considering nixpkgs. It's a security problem if one user can see another's Nix builds; it's like a forged capability.
growpotkin has quit [Ping timeout: 268 seconds]
<cgbrewster[m]> We probably wouldn't cache builds across containers, seems pretty spooky
apache8080 has quit [Ping timeout: 268 seconds]
apo has joined #nixos
ddellacosta has joined #nixos
<cgbrewster[m]> Ideally we have a base nix store that already has all the derivations built for things like rustc, node, python, etc etc and then people can create active just what they need via something with nix-env
<cgbrewster[m]> Does the nix store start hitting any perf issues once it gets past a certain size?
<aaronjanse> I haven't heard of that happening, since I think all (or almost all?) Nix operations are O(1) with respect to the size of the /nix/store
ddellacosta has quit [Ping timeout: 252 seconds]
<cgbrewster[m]> Sweet! I'll play with this some more, been loving Nix so far!
<samueldr> main issue you could face is `ls /nix/store` taking a while... but that's not really something you want to do
<aaronjanse> Good to hear! cgbrewster
<aaronjanse> Oh samueldr probably can answer questions about nix at repl.it a lot better than I can
<abathur> <3 cgbrewster[m] <3 simpson <3 samueldr <3 aaronjanse
<{^_^}> aaronjanse's karma got increased to 2
<{^_^}> samueldr's karma got increased to 333
<{^_^}> cgbrewster[m]'s karma got increased to 1
<{^_^}> simpson's karma got increased to 48
<samueldr> aaronjanse: probably not
<cgbrewster[m]> Cool! We're still at early stages with nix so far, but I think it will make replit a lot more powerful in the future :)
<samueldr> I don't know what repl.it is
<aaronjanse> Oh my. You're missing out
<samueldr> >> what languages are you primarily interested in?
<samueldr> pick 3... and there's no Nix
<cgbrewster[m]> haha! We will still keep our old docker container with a million things installed around for a while. For now nix will let users more easily install extra packages, even if it doesn't have everything, its better than what he have currently.
<cgbrewster[m]> Long term, it'd be great if nix could replace our mega-docker image (https://github.com/replit/polygott if you're interested)
<samueldr> oh, I see, I didn't get that "replit.com" in your introduction was replit duh
<aaronjanse> Ooh, thanks for sharing
<aaronjanse> cgbrewster: My uninformed guess is that you could use an overlayfs for /nix/store then copy over /nix/var (or some subset of it) to each container. On my build server, /nix/store is 115 GB but /nix/var is only 167 MB
<aaronjanse> /nix/var should be the one with the sqlite database
<cgbrewster[m]> aaronjanse: awesome, we just setup overlfayfs infrastructure for caching pypi and npm, so this should be pretty straightforward then
<cgbrewster[m]> s/overlfayfs/overlayfs/
<abathur> I like an overlyfayfs myself
<aaronjanse> Ahaha
<{^_^}> [nixpkgs] @lopsided98 opened pull request #119590 → gnutls: remove upstreamed armv7l patch → https://github.com/NixOS/nixpkgs/pull/119590
<samueldr> the nixos VMs you can build share the whole host's nix store via 9p, but an overlayfs is used to allow the vm to add additional store paths
<{^_^}> [nixpkgs] @dotlambda merged pull request #119408 → [20.09] postfix: 3.5.6 -> 3.5.10 → https://github.com/NixOS/nixpkgs/pull/119408
<samueldr> so yeah, that sounds totally doable
<samueldr> another alternative is maybe using the layered docker images built through Nix
<samueldr> not sure if this was discussed
<cgbrewster[m]> Yeah I was looking at Nixery, it seems to do this on the fly?
<samueldr> that's another option yeah
<samueldr> those docker containers are not really meant for Nix use
<samueldr> but they sure are handy to build
<{^_^}> [nixpkgs] @jtojnar pushed 151 commits to gnome-40: https://git.io/JOCAI
<aaronjanse> In case anyone is wondering, I think this is the code NixOS uses to do the 9P overlayfs thing https://github.com/NixOS/nixpkgs/blob/294d1925af6462e55c76b49624b983036f0093b9/nixos/modules/virtualisation/qemu-vm.nix#L669-L716
<samueldr> yep, and probably other bits in that file
<cgbrewster[m]> Neat, that definitely interesting!
marusich has quit [Ping timeout: 240 seconds]
<abathur> cgbrewster[m]: I guess this is related to https://github.com/replit/upm ? or a sort of next-gen effort?
<cgbrewster[m]> Maybe, this is solving a different problem currently. UPM is pretty good for handling language packages (pypi, npm, etc) whereas we hope nix would manage the development environment (compilers, cli tools, etc)
ericsagnes has quit [Ping timeout: 250 seconds]
<simpson> Is there a channel for PowerPC work? I'm looking to package stuff using devkitPPC and I am guessing that our `ppc-embedded` target is close enough, with a similar triple and using newlib.
<Ke> ppc controller?
<simpson> Wii and Gamecube! I am in a silly mood; I'm trying to automate the archival process for old games, and I wondered how much of the homebrew tooling could be reproducibly built from source.
jesystani has joined #nixos
ddellacosta has joined #nixos
<abathur> ah, okay; probably for the best; it seemed like Nix also had language support for a fair slice of the languages listed, but I guess each language ecosystem in nixpkgs tends to have its share of quirks
<jesystani> howdy, im trying to run picom and im getting the error "FATAL: cant open display", im defining the service via home-manager, is there something else i should be doing?
<cgbrewster[m]> abathur: I think its still an open question, but gotta keep the scope a bit smaller for now
ericsagnes has joined #nixos
<abathur> sane ambitions are good :)
dsrt^ has quit [Ping timeout: 252 seconds]
ddellacosta has quit [Ping timeout: 246 seconds]
<radvendii> abathur: damnnn nix is incredible. thanks for the link
<radvendii> abathur++
<{^_^}> abathur's karma got increased to 25, it's a crit!
ericsagn1 has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
ericsagnes has quit [Ping timeout: 258 seconds]
h0m1 has joined #nixos
sss2 has quit [Quit: Leaving]
jesystani has quit [Quit: WeeChat 3.1]
<Nickli> shame that floppies are a thing of the past
sangoma has joined #nixos
rickard9 has quit [Quit: The Lounge - https://thelounge.chat]
jybs has joined #nixos
rickard9 has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
nahamu has quit [Ping timeout: 246 seconds]
<apo> good that floppies are a thing of the past
nahamu has joined #nixos
sangoma has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 252 seconds]
<Nickli> shame that CS's took over with their exposed strage layer
<Nickli> CD's
palo1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
jarkad has joined #nixos
sangoma has joined #nixos
xantoz has joined #nixos
domogled has joined #nixos
ahmed_elgabri has joined #nixos
jybs is now known as Guest51332
ddellacosta has joined #nixos
<apo> good that CDs are a thing of the past :D
ahmed_elgabri has quit [Ping timeout: 258 seconds]
<simpson> ,locate bin2s
<{^_^}> Couldn't find in any packages
ddellacosta has quit [Ping timeout: 240 seconds]
respawn_ has joined #nixos
<radvendii> I get the sense that it's a Bad Idea to `export` variables inside `buildPhase` or `preBuild`. Is that correct?
marusich has joined #nixos
spacefrogg has quit [Ping timeout: 252 seconds]
spacefrogg has joined #nixos
<simpson> Yeah; try to set environment variables on the derivation instead.
cole-h has quit [Ping timeout: 240 seconds]
paarnoutse has joined #nixos
mallox has joined #nixos
orivej has joined #nixos
<radvendii> simpson: what if i need an absolute path to the build directory? I was using `export blah=$PWD/foo`. I know it's just /build, but it also seems like bad form to hard-code `ENV_VAR = "/build/foo"`
<{^_^}> [nixpkgs] @Mic92 merged pull request #119590 → gnutls: remove upstreamed armv7l patch → https://github.com/NixOS/nixpkgs/pull/119590
ManiacOfMadness has joined #nixos
ddellacosta has joined #nixos
magthe has joined #nixos
nixusr has joined #nixos
<nixusr> hi, when enabling pulseaudio with X in virtualbox on 20.09, X doesn't show up
<nixusr> how can i diagnose / fix this issu ?
nixusr has quit [Changing host]
nixusr has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
<magthe> Since I ran `nix-channel --update` last night I can't seem to run `nix-env --upgrade` any longer :( https://termbin.com/ksecm
<magthe> Did I miss to make some required change, or is it a bug that's crept into `unstable`?
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/eb47cc02dd0 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5268ee2ebac (from 16 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @vcunat closed pull request #117279 → gnutls: Fix failing patch when cross compiling to Arm32 → https://github.com/NixOS/nixpkgs/pull/117279
<{^_^}> [nixpkgs] @Mic92 merged pull request #119238 → Revert "nixos/systemd: provide libidn2 for systemd-resolved" → https://github.com/NixOS/nixpkgs/pull/119238
patagonicus1 is now known as patagonicus
patagonicus has quit [Quit: The Lounge - https://thelounge.chat]
patagonicus has joined #nixos
<magthe> Ah, I might have been caught in the mess that is nix-2.3.10-x86_64-unknown-linux-musl (https://github.com/NixOS/nixpkgs/issues/118481)
<{^_^}> #118481 (by fishy, 1 week ago, open): `nix-env --upgrade` upgrades 'nix-2.3.10' to 'nix-2.3.10-x86_64-unknown-linux-musl'
vidbina has joined #nixos
<nixusr> bummer
<nixusr> if I'm on 20.09 and I want to upgrade a specific package to the latest version, what's the best way to do it ?
<{^_^}> [nixpkgs] @Mic92 merged pull request #119569 → gnutls: fix build with musl → https://github.com/NixOS/nixpkgs/pull/119569
<{^_^}> [nixpkgs] @kolaente opened pull request #119592 → gitea: 1.14.0 -> 1.14.1 → https://github.com/NixOS/nixpkgs/pull/119592
<magthe> nixusr: yupp, bummer indeed!
<nixusr> magthe: i wonder if https://stackoverflow.com/a/48838322 would side-step this issue
<pie_> is there a way to get the nixpkgs manual from the terminal or something?
<nixusr> anybody using home manager or declarding evreythign in configuration.nix ?
<srhb> nixusr: Yes.
<nixusr> i'm wondering which path to try going :/
<aaronjanse> pie_ I think it's TTY 11 or something on the NixOS ISO
<srhb> nixusr: Try both!
exfalso has joined #nixos
stefan1337 has joined #nixos
<stefan1337> Hello everyone!
<stefan1337> Quick question: is anyone aware of packaging up Neovim version 0.5+ for Nixpkgs? I'm wondering why even in unstable we only have such an outdated version. Thanks
lsix has joined #nixos
<{^_^}> #110837 (by rvolosatovs, 11 weeks ago, open): neovim: 0.4.4 -> 0.5.0
<pie_> aaronjanse: i think thats just the nixos docs, but thanks for the reminder, i need t ofigure out how they get it rendering on the terminal (use a web browser i think?)
wallacer has quit [Ping timeout: 250 seconds]
LilleCarl has joined #nixos
<aaronjanse> Oh see also the `nixos-options` command
<aaronjanse> I think the terminal uses w3m
<nixusr> pie_: they use w3m
ddellacosta has joined #nixos
<srhb> nixusr: If that wasn't the answer you wanted -- it's pretty trivial to go from out-of-band HM to in-nixos-config HM.
saschagrunert has joined #nixos
<srhb> nixusr: So you won't have a bunch of lost investment either way
<nixusr> cool
<nixusr> i'm currently bothered that I don't know how to upgrade vscodium to latest version :)
<srhb> Can't help you there.
<{^_^}> [nixpkgs] @symphorien merged pull request #119582 → nixos/dovecot: set isSystemUser for mailUser → https://github.com/NixOS/nixpkgs/pull/119582
<nixusr> I tried creating an overlay, but I didn't know how to change it's version and hash
<srhb> nixusr: Usually you have to override the entire src
<srhb> nixusr: You can't make it propagate in from the top level version.
<mjlbach> stefan1337: there's a nightly neovim overlay in nix-community (I'm the maintainer)
<magthe> nixusr: I should add that I'm running nix on Arch, i.e. not using nixos
<nixusr> nice, i'm trying it in a vm, i think maybe sound doesn't work in X because the virtualbox addons are from an old version
zupo has joined #nixos
<pie_> I probably wont get around to this any time soon https://github.com/NixOS/nixpkgs/issues/119593
<{^_^}> #119593 (by deliciouslytyped, 25 seconds ago, open): Create nixpkgs-help
ddellacosta has quit [Ping timeout: 240 seconds]
magthe has quit [Quit: WeeChat 3.1]
wallacer has joined #nixos
lambdaman has quit [Remote host closed the connection]
lambdaman has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #118018 → dockerTools: Implement merging of image tarballs → https://github.com/NixOS/nixpkgs/pull/118018
aaabbbbbbbbbb has joined #nixos
paarnoutse has quit [Quit: Connection closed]
ahmed_elgabri has joined #nixos
zupo_ has joined #nixos
ahmed_elgabri has quit [Client Quit]
ahmedelgabri has joined #nixos
jarkad has quit [Remote host closed the connection]
jarkad has joined #nixos
zakame has quit [Quit: WeeChat 2.9]
zupo has quit [Ping timeout: 246 seconds]
<stefan1337> @mjlbach thanks!
<stefan1337> what is the easiest way to override an overlayed Nixpkgs in home-manager?
<stefan1337> this is my current config:
<stefan1337>     nixpkgs.overlays = [
<stefan1337>     (import (builtins.fetchTarball {
<stefan1337>     }))
<stefan1337>   ];
<stefan1337>   home.packages = with pkgs; [
<stefan1337>     neovim-nightly ]
<nixusr> stefan1337: you should use pastebin for multi line pastes
kitty_hut[m] has joined #nixos
jimmiehansson has joined #nixos
endformationage has quit [Quit: WeeChat 2.9]
jarkad has quit [Read error: Connection reset by peer]
jarkad has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kitty_hut[m]> Yo, I am new to nixos. I am wanting to try out bspwm, how would that look to set it up? I have used tiling window managers before but I haven't set one up. I already have nixos set up, temporarily with KDE.
<stefan1337> mjlbach does the nightly overlay also come with overrides? This way I get some errors about `configue` missing: https://pastebin.com/x7i74Ubf
<stefan1337> nixusr thanks
<mjlbach> No, it's neovim-unwrapped
<stefan1337> ah, so I have to wrap it myself. Or what do people usually do?
<mjlbach> Use the home-manager package level override or wrap it themself
<thibm> stefan1337: use another overlay? They're composable
<stefan1337> thibm could you give me a pointer how that overlay would be structured?
<thibm> kitty_hut[m]: you can follow instructions in nixos manual about window managers. services.xserver.windowManager.bspwm.enable is missing in the list but the option exists
<kitty_hut[m]> thibm: Oh, thank you! So, I would just paste that into the config? Going to read that page, I honestly don't know why I didn't read the manual first lol
<thibm> However, some home-manager options/services have a "package" option that allow you to set a specific package (here you can override it) like mjlbach said (IIUC). It can be more convenient
<mjlbach> Yes, hm has one for neovim
<kitty_hut[m]> Speaking of the online manual, does anyone know if there is a way to make the page darkmode or am I going to have to do a workaround to make it darkmode (like downloading it or loading it in a terminal)
stefan1337 has quit [Quit: Connection closed]
wallacer has quit [Ping timeout: 258 seconds]
jophish__ has joined #nixos
<thibm> kitty_hut[m]: you can read the unstable manual which has dark modes
stefan1337 has joined #nixos
<thibm> But it's about the unstable versions…
cfricke has joined #nixos
<kitty_hut[m]> Dang. That is dissapointing. In the modern internet dark-themes should be the default with light themes the compatability option for people who prefer it.
<{^_^}> [nixpkgs] @jojosch opened pull request #119594 → haruna: init at 0.6.1 → https://github.com/NixOS/nixpkgs/pull/119594
<thibm> In the modern internet one should choose its theme, not the websites :>. The new manual is completly different (different backend) and has several themes
jophish__ has quit [Client Quit]
<thibm> TIL @ does not capture non-given optional argument :(
<thibm> > let f = { a, b ? 0 } @ args: args; in f { a = 1; }
<{^_^}> { a = 1; }
<kitty_hut[m]> Yeah, actually, I agree with that. That's why I usually use terminal based applications lol
wallacer has joined #nixos
<thibm> kitty_hut[m]: you (normally) have the manuals shipped with nixos, you can browser it using w3m
<{^_^}> [nixpkgs] @Patryk27 opened pull request #119595 → nixos/containers: make kernel assertion lenient → https://github.com/NixOS/nixpkgs/pull/119595
<thibm> it can even stick around on a virtual terminal
marusich has quit [Ping timeout: 240 seconds]
ManiacOfMadness has quit [Ping timeout: 260 seconds]
<kitty_hut[m]> Oh, I didn't even think of loading up the pdf. Do you know any good terminal PDF viewers?
<thibm> ? What I talked about is still a website
<{^_^}> [nixpkgs] @Mic92 merged pull request #119501 → tts: 0.0.9 -> 0.0.11 → https://github.com/NixOS/nixpkgs/pull/119501
<thibm> Hm, forgot about the manual in a virtual terminal, this had been removed
ddellacosta has joined #nixos
ManiacOfMadness has joined #nixos
<{^_^}> [nixpkgs] @talyz opened pull request #119596 → discourse: 2.6.3 -> 2.6.5, module fixes → https://github.com/NixOS/nixpkgs/pull/119596
ddellacosta has quit [Ping timeout: 246 seconds]
stefan1337 has quit [Quit: Ping timeout (120 seconds)]
vidbina has quit [Ping timeout: 246 seconds]
<kitty_hut[m]> <thibm "Hm, forgot about the manual in a"> Ah. I was just looking at the nixpaper PDF which I mistook for a PDF copy of the NixOS Manual. NixOS really probably should include a PDF manual imo
<kitty_hut[m]> It would have made some troubleshooting earlier a bit easier lol
<thibm> The manual is written in CommonMark* and compiled to a static website. I guess it's possible to generate PDF from that. Feel free to do it
evanjs has quit [Read error: Connection reset by peer]
<thibm> * currently it's being migrated from docbook to commmonmark
<kitty_hut[m]> Btw, is there any way to search nix in the command line, or is nixos manual the way to do that?
evanjs has joined #nixos
<thibm> "search nix in the command line"?
<kitty_hut[m]> some package managers have the ability to search the repository in the command line for packages. Pamac and (maybe? its been a while) guix have the ability to search for packages in the command line.
<kitty_hut[m]> Although, most of the nixos packages I have seen have very sensible names and surprisingly full, so, minimal searching will be required
respawn_ has quit [Quit: Leaving]
<etu> kitty_hut[m]: "nix search firefox"?
fendor has joined #nixos
<kitty_hut[m]> oh yes, thank you!
<kitty_hut[m]> I
<kitty_hut[m]> thought I tried that earlier
<kitty_hut[m]> I feel very dumb. That works.
<etu> kitty_hut[m]: And "man configuration.nix" for options that can be used in configuration.nix :)
lambdaman has quit [Ping timeout: 246 seconds]
turlando has joined #nixos
<kitty_hut[m]> Oh very nice, thank you!
Qwerky has joined #nixos
bzl has quit [Quit: changing servers]
bzl has joined #nixos
<pie_> kitty_hut[m]: thats funny we were just talking about documentation before you dropped in https://github.com/NixOS/nixpkgs/issues/119593
<{^_^}> #119593 (by deliciouslytyped, 58 minutes ago, open): Create nixpkgs-help
<kitty_hut[m]> lol, funny timing.
Qwerky has quit [Ping timeout: 246 seconds]
<thibm> Hm, aren't we talk about documentation. :)
<thibm> ?
zupo has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #119598 → plasma5: 5.21.3 -> 5.21.4 → https://github.com/NixOS/nixpkgs/pull/119598
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #119592 → gitea: 1.14.0 -> 1.14.1 → https://github.com/NixOS/nixpkgs/pull/119592
ddellacosta has quit [Ping timeout: 252 seconds]
ManiacOfMadness has quit [Ping timeout: 248 seconds]
jarkad has quit [Remote host closed the connection]
Qwerky has joined #nixos
jarkad has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed commit from @kolaente to release-20.09 « gitea: 1.14.0 -> 1.14.1 »: https://git.io/JOW0H
vidbina has joined #nixos
dsrt^ has joined #nixos
<{^_^}> [nixpkgs] @ymatsiuk opened pull request #119599 → bluejenas: 2.19.0 -> 2.21.3 → https://github.com/NixOS/nixpkgs/pull/119599
ManiacOfMadness has joined #nixos
Qwerky has quit [Ping timeout: 265 seconds]
xourt has joined #nixos
xourt has quit [Client Quit]
<{^_^}> [nixpkgs] @github-actions[bot] closed pull request #119362 → texlive.combine: link binary packages in full → https://github.com/NixOS/nixpkgs/pull/119362
<{^_^}> [nixpkgs] @veprbl reopened pull request #119362 → texlive.combine: link binary packages in full → https://github.com/NixOS/nixpkgs/pull/119362
Qwerky has joined #nixos
ericsagn1 has quit [Ping timeout: 260 seconds]
wallacer has quit [Quit: wallace dozed off]
wallacer has joined #nixos
<pie_> thibm: now, but also then :p
Qwerky has quit [Ping timeout: 260 seconds]
ddellacosta has joined #nixos
jarkad has quit [Quit: jarkad]
jarkad has joined #nixos
Milanfallbackacc has quit [Quit: Idle for 30+ days]
AnAmigian[m] has quit [Quit: Idle for 30+ days]
ericsagn1 has joined #nixos
jarkad has quit [Client Quit]
jarkad has joined #nixos
ddellacosta has quit [Ping timeout: 252 seconds]
jarkad has quit [Client Quit]
jarkad has joined #nixos
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119600 → re2c: 1.3 -> 2.1.1 → https://github.com/NixOS/nixpkgs/pull/119600
jarkad has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #118849 → ocamlPackages.{cairo2, lablgtk3}: use dune 2 → https://github.com/NixOS/nixpkgs/pull/118849
jarkad has joined #nixos
devhell has joined #nixos
cfricke has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @pimeys opened pull request #119601 → nvidia-x11: 460.67 -> 460.73.01 → https://github.com/NixOS/nixpkgs/pull/119601
alexherbo2 has joined #nixos
fuiltilt has quit [Quit: WeeChat 2.9]
lordcirth has quit [Remote host closed the connection]
sangoma has quit [Quit: WeeChat 3.1]
lordcirth has joined #nixos
m1cr0man has quit [Ping timeout: 246 seconds]
m1cr0man has joined #nixos
respawn_ has joined #nixos
est has quit [Ping timeout: 240 seconds]
est31 has joined #nixos
jarkad has quit [Quit: jarkad]
<{^_^}> [nixpkgs] @fabaff opened pull request #119602 → gdu: 4.10.0 -> 4.10.1 → https://github.com/NixOS/nixpkgs/pull/119602
jarkad has joined #nixos
dotdotok has joined #nixos
sangoma has joined #nixos
attila_lendvai has joined #nixos
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<{^_^}> [nixpkgs] @petabyteboy opened pull request #119603 → kodi: use LTS jdk11 → https://github.com/NixOS/nixpkgs/pull/119603
apo has quit [Quit: apo]
apo has joined #nixos
sangoma has quit [Ping timeout: 268 seconds]
evils[m] has joined #nixos
ddellacosta has joined #nixos
strikerlulu_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
strikerlulu has joined #nixos
devhell has quit [Quit: leaving]
<{^_^}> [nixpkgs] @selaux opened pull request #119604 → ja2-stracciatella 0.16.1 -> 0.17.0 → https://github.com/NixOS/nixpkgs/pull/119604
ddellacosta has quit [Ping timeout: 252 seconds]
vidbina has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/294d1925af6 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
vidbina has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « chromiumDev: 91.0.4469.4 -> 91.0.4472.10 »: https://git.io/JOWrm
vidbina has quit [Ping timeout: 252 seconds]
akaWolf has joined #nixos
sangoma has joined #nixos
mallox has quit [Quit: WeeChat 3.1]
vidbina has joined #nixos
novafacing has joined #nixos
ericsagn1 has quit [Ping timeout: 258 seconds]
Maxdamantus has joined #nixos
novafacing has quit [Client Quit]
novafacing has joined #nixos
nixusr has quit [Quit: Connection closed]
S0rin has quit [Quit: WeeChat 2.3]
ericsagn1 has joined #nixos
JJ has quit [Quit: Connection closed]
luxemboye has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
luxemboye has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddellacosta has quit [Ping timeout: 240 seconds]
malook has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy merged pull request #119503 → nixos/mailman: add http listener for uwsgi → https://github.com/NixOS/nixpkgs/pull/119503
malook has quit [Client Quit]
respawn_ has quit [Quit: Leaving]
Qwerky has joined #nixos
juhe has joined #nixos
<attila_lendvai> what is an "an update script"? in the context of a nix package of a project that doesn't have releases: https://github.com/NixOS/nixpkgs/pull/119564
<{^_^}> #119564 (by attila-lendvai, 14 hours ago, open): c2ffi: init at 2021-04-12
<{^_^}> [nixpkgs] @dotlambda merged pull request #119376 → qutebrowser: 2.1.1 -> 2.2.0 → https://github.com/NixOS/nixpkgs/pull/119376
MidAutumnHotaru has quit [Quit: Quit 啾]
MidAutumnHotaru has joined #nixos
cfricke has joined #nixos
avaq has joined #nixos
devhell has joined #nixos
devhell has quit [Client Quit]
<{^_^}> [nixpkgs] @felschr opened pull request #119605 → nixos/etebase-server: do not prompt for input during automatic upgrade → https://github.com/NixOS/nixpkgs/pull/119605
Qwerky has quit [Remote host closed the connection]
boredom101 has joined #nixos
xorino has joined #nixos
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 252 seconds]
Qwerky has joined #nixos
Qwerky has quit [Ping timeout: 240 seconds]
<supersandro2000> but in that case you would need to write a script which replaces all hashes
S0rin has joined #nixos
<supersandro2000> for that I would take a look at some update.sh files in nixpkgs
boredom101 has quit [Quit: Connection closed]
sangoma has quit [Quit: WeeChat 3.1]
amk has quit [Remote host closed the connection]
amk has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann merged pull request #119605 → nixos/etebase-server: do not prompt for input during automatic migration → https://github.com/NixOS/nixpkgs/pull/119605
sangoma has joined #nixos
dotdotok has quit [Read error: Connection reset by peer]
dotdotok has joined #nixos
<attila_lendvai> @supersandro2000, thank you, i'll study that. i assume your comment is not relevant anymore if i just collapse that package to follow one branch of c2ffi, right? then i can just mimic what you have linked, right?
<supersandro2000> attila_lendvai: I think so. If you not strictly require the two branches it would be easier.
<supersandro2000> I think we could also split the package in multiple files which could maybe use the generic updater
supersandro2000 has quit [Remote host closed the connection]
supersandro2000 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119594 → haruna: init at 0.6.1 → https://github.com/NixOS/nixpkgs/pull/119594
<attila_lendvai> supersandro2000, cool, i'll do that. i don't know how to test the updater, though. nor what even it does. (i assume it automatically updates the package as new commits are pushed upstream. i'll see, i guess... :)
cfricke has quit [Ping timeout: 252 seconds]
vidbina has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119585 → docker-slim: 1.34.0 -> 1.35.0 → https://github.com/NixOS/nixpkgs/pull/119585
<supersandro2000> attila_lendvai: I think there is an auto update script under maintainers and r-ryantm can use it to create PRs
ddellacosta has joined #nixos
pushqrdx has joined #nixos
pushqrdx has quit [Client Quit]
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #119606 → srt-live-server: init at 1.4.8 → https://github.com/NixOS/nixpkgs/pull/119606
respawn_ has joined #nixos
ddellacosta has quit [Ping timeout: 252 seconds]
<attila_lendvai> supersandro2000, one last thing: i don't know how to communicate to the update script which upstream branch to use... i'll try passing this url: https://github.com/rpav/c2ffi/tree/llvm-11.0.0
saschagrunert has quit [Remote host closed the connection]
saschagrunert has joined #nixos
<supersandro2000> no, it does not
<supersandro2000> I think you need to use something like https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/logseq/update.sh
bdju has quit [Read error: Connection reset by peer]
bdju has joined #nixos
<exarkun> Hm I still don't know how to write a literal path with a space in it
zupo has joined #nixos
<Ke> ./. + "/stuff more", but I guess that does not count
<attila_lendvai> supersandro2000, how about updating unstableGitUpdater? i already started to prepare a PR, it seems to be a simple one.
<supersandro2000> attila_lendvai: if you can change the shallow clone command to use a branch sure
<{^_^}> [nixpkgs] @seppeljordan opened pull request #119608 → pythonPackages.tqdm: Fix build on i686 architecture → https://github.com/NixOS/nixpkgs/pull/119608
<supersandro2000> attila_lendvai: I think adding a branch argument which defaults to master should be the easiest
Dominic[m] has joined #nixos
<attila_lendvai> supersandro2000, what i'm doing is using optionalString, because we don't know what's the default branch, especially with the current wave of master -> main renames.
Dominic[m] has left #nixos [#nixos]
<supersandro2000> attila_lendvai: oh yeah right. The default branch it uses right now can be different. Good catch.
xorino has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119589 → nodePackages.remod-cli: init at 1.0.1 → https://github.com/NixOS/nixpkgs/pull/119589
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119603 → kodi: use LTS jdk11 → https://github.com/NixOS/nixpkgs/pull/119603
saschagrunert has quit [Quit: Leaving]
tmeusburger has joined #nixos
ahmedelgabri has quit [Ping timeout: 260 seconds]
meh` has joined #nixos
respawn_ has quit [Quit: Leaving]
<exarkun> Ke: I guess it could be that there is no way. That would be a reassuring reason for me not knowing it ...
ddellacosta has joined #nixos
waleee-cl has joined #nixos
<qbit> if i am on stable and I do "nixos-rebuild -I nixpkgs=$NIXPKGS switch" where NIXPKGS is nixpkgs @ master, will it update all the things? can I specify just the thing I want to test from nixpkgs?
adisbladis has quit [Quit: ZNC 1.8.2 - https://znc.in]
meh` has quit [Read error: Connection reset by peer]
ddellacosta has quit [Ping timeout: 260 seconds]
adisbladis has joined #nixos
<qbit> (the thing i want to test is served up by nginx - specifically an update to glowing-bear)
<supersandro2000> qbit: you can only pull specific packages from a channel
<supersandro2000> Not fully sure how to do it on nixos but you can probably add a channel named nixpkgs-master with the right URL and then use <nixpkgs-master> for glowing-bear
<qbit> hmm
djm has left #nixos [#nixos]
<qbit> surely i can use the local directory without it needing to fetch a new channel? maybe if i use file:// as the url :D
<supersandro2000> (<nixpkgs-master> { }).pkgs.glowing-bear
<supersandro2000> (import path/to/nixpkgs { }).pkgs.glowing-bear
meh` has joined #nixos
<supersandro2000> probably not quite right but it should give you an idea how to do it 😅
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
dotdotok has quit [Ping timeout: 252 seconds]
malook has joined #nixos
Qwerky has joined #nixos
malook has quit [Client Quit]
VideoGameEnjoyer has quit [Quit: Konversation terminated!]
ahmedelgabri has joined #nixos
rprije has quit [Ping timeout: 240 seconds]
tejing has quit [Ping timeout: 252 seconds]
avaq has quit [Ping timeout: 240 seconds]
ahmedelgabri has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @attila-lendvai opened pull request #119610 → unstable-updater.nix now understands a branch argument → https://github.com/NixOS/nixpkgs/pull/119610
<jtojnar> qbit: yeah, you can use paths but if you override nixpkgs in NIX_PATH using -I, it will update everything
<qbit> ok, that's what I thought, ty
<jtojnar> using -I nixpkgs-master=$NIXPKGS and then doing what supersandro2000 said will work
<attila_lendvai> supersandro2000, i have implemented it, but it seems hopelessly complicated to test this update mechanism... i've opened this PR: https://github.com/NixOS/nixpkgs/pull/119610
<{^_^}> #119610 (by attila-lendvai, 1 minute ago, open): unstable-updater.nix now understands a branch argument
<qbit> mk, i ended up just testing with "python -mSimpleHTTPServer"
<{^_^}> [nixpkgs] @petabyteboy opened pull request #119611 → kodi{-cli,-wayland,-gbm}: use LTS jdk11 → https://github.com/NixOS/nixpkgs/pull/119611
<jtojnar> but if you also want to use modules from there it gets more complicated (blacklisting the original ones and then importing them explicitly from <nixpkgs-master>)
ddellacosta has joined #nixos
juhe has quit [Ping timeout: 252 seconds]
ddellacosta has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 252 seconds]
juhe has joined #nixos
ahmedelgabri has joined #nixos
philr has quit [Ping timeout: 265 seconds]
Qwerky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @qbit opened pull request #119612 → glowing-bear: 0.7.2 -> 0.9.0 → https://github.com/NixOS/nixpkgs/pull/119612
<qbit> hopefully i did that right :P
<qbit> i don't know how to test it with sandbox things
ahmedelgabri has quit [Ping timeout: 260 seconds]
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @happysalada opened pull request #119613 → wrangler: 1.15.0 -> 1.16.0 → https://github.com/NixOS/nixpkgs/pull/119613
ahmedelgabri has joined #nixos
eeva has quit [Remote host closed the connection]
eeva has joined #nixos
Qwerky has quit [Ping timeout: 240 seconds]
VideoGameEnjoyer has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #119271 → bmake: add setupHook → https://github.com/NixOS/nixpkgs/pull/119271
Dr8128 has joined #nixos
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119614 → spice-protocol: 0.14.1 -> 0.14.3 → https://github.com/NixOS/nixpkgs/pull/119614
vidbina has joined #nixos
ddellacosta has joined #nixos
ixxie has joined #nixos
ixxie has quit [Client Quit]
ixxie has joined #nixos
ixxie has quit [Client Quit]
ddellacosta has quit [Ping timeout: 246 seconds]
hlz has joined #nixos
ixxie has joined #nixos
ixxie has quit [Client Quit]
ixxie has joined #nixos
ixxie has quit [Client Quit]
ixxie has joined #nixos
ixxie has quit [Client Quit]
ixxie has joined #nixos
ixxie has quit [Client Quit]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #119615 → cage: 0.1.2.1 -> 0.1.3 → https://github.com/NixOS/nixpkgs/pull/119615
MatrixBot22 has joined #nixos
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119616 → python3Packages.pyvmomi: fix the build → https://github.com/NixOS/nixpkgs/pull/119616
arcnmx was kicked from #nixos by gchristensen [it would be my honor]
ddellaco_ has joined #nixos
<supersandro2000> attila_lendvai: commit an updated version and then try updating it. I think `nix-shell maintainers/scripts/update.nix --argstr package gnome3.nautilus` might be the right command.
bn_work has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
xorino has joined #nixos
ddellaco_ has joined #nixos
<Reventlov> hey
<pie_> attila_lendvai: szevassszzzzz
hyper_ch has quit [Read error: Connection reset by peer]
<aforemny> `nix-store -qd` on a store path references a .drv that does not exist in my store path. Why is that and how can I obtain that .drv?
jarkad has quit [Quit: jarkad]
ddellaco_ has quit [Remote host closed the connection]
anderslundstedt has quit [Ping timeout: 252 seconds]
anderslundstedt has joined #nixos
<{^_^}> [nixpkgs] @bachp merged pull request #117305 → digikam: 7.1.0 -> 7.2.0 → https://github.com/NixOS/nixpkgs/pull/117305
hyper_ch2 has joined #nixos
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/389249fa9b3 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-20.09)
nly has joined #nixos
ddellaco_ has joined #nixos
<nly> can i enter build environment for 'libwebp' pkg with nix-shell
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119613 → wrangler: 1.15.0 -> 1.16.0 → https://github.com/NixOS/nixpkgs/pull/119613
<aforemny> nly: `nix-shell -A libwebp`
<aforemny> nly: `nix-shell <nixpkgs> -A libwebp`
miscalculated has quit [Quit: IRCNow and Forever!]
ddellaco_ has quit [Remote host closed the connection]
<thibm> aforemny: derivations can be garbage collected. I don't think there's a way to get it back (except generating it again)
alexherbo2 has quit [Ping timeout: 246 seconds]
growpotkin has joined #nixos
anderslu1dstedt has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #119617 → nss: 3.63 -> 3.64 → https://github.com/NixOS/nixpkgs/pull/119617
anderslundstedt has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @rhoriguchi opened pull request #119619 → vscode-extensions.gruntfuggly.todo-tree: 0.0.209 -> 0.0.211 → https://github.com/NixOS/nixpkgs/pull/119619
hyper_ch has joined #nixos
anderslu1dstedt has quit [Ping timeout: 265 seconds]
anderslundstedt has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #119608 → pythonPackages.tqdm: Fix build on i686 architecture → https://github.com/NixOS/nixpkgs/pull/119608
<aforemny> thibm: That makes sense. Thanks!
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 151 commits to gnome-40: https://git.io/JOl3m
ddellaco_ has joined #nixos
<aforemny> I was especially puzzled by the fact that I just `nixos-rebuild`d my system configuration and .drv paths were missing from `nix-store -qd $(nix-store -qR /var/run/current-system)`. But I guess if the package is already there, it does not have to reinstantiate the derivation that would realise that package. Right?
ddellaco_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rhoriguchi opened pull request #119620 → gnomeExtensions.unite: 49 -> 50 → https://github.com/NixOS/nixpkgs/pull/119620
ddellaco_ has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #118934 → libungif: remove in favour of giflib → https://github.com/NixOS/nixpkgs/pull/118934
<Orbstheorem> Hi, I'm looking for a way to install user files (like home-manager), but something that takes less time to generate/activate. Upon activation, it should just write the new file without caring if there was a previous version of them.
<aforemny> Anyway, how could I obtain a list of package names that comprised my whole system? This is what I wanted to archieve with `nix-store -qd $(nix-store -qR /var/run/current-system)`. But if .drv failes are missing, I am left with guessing the pname from the file path which I would rather not have to do.
<{^_^}> [nixpkgs] @talyz merged pull request #119596 → discourse: 2.6.3 -> 2.6.5, module fixes → https://github.com/NixOS/nixpkgs/pull/119596
<Orbstheorem> I'm under the impression home-manager does some magic to make it slow, given how much faster /etc/ updates.
Jd007 has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @reedrw opened pull request #119621 → neofetch: wrap with pciutils → https://github.com/NixOS/nixpkgs/pull/119621
<sterni> tad-lispy[m]: have you gotten wayland screen sharing to work again? just noticed it broke for me again as well
<{^_^}> #119445 (by etu, 1 day ago, open): sway (1.6) / wlroots (0.13.0) broke screen sharing and gnome3 pinentry popups
<tad-lispy[m]> sterni: no, unfortunately. Been quite busy this week.
<tad-lispy[m]> But I'm pretty sure downgrading Firefox will help.
<sterni> but not sure if it also fixes it for gnome which you are using right?
<{^_^}> [nixpkgs] @marsam opened pull request #119622 → ocamlPackages.sedlex_2: 2.2 -> 2.3 → https://github.com/NixOS/nixpkgs/pull/119622
<tad-lispy[m]> Oh, thanks! I'll check it once I'm at my computer.
<nly> thank you
tmeusburger has quit [Quit: leaving]
cole-h has joined #nixos
<{^_^}> [nixpkgs] @talyz merged pull request #118861 → gitlab-shell: 13.15.1 -> 13.17.0 → https://github.com/NixOS/nixpkgs/pull/118861
jumper149 has joined #nixos
<{^_^}> [nixpkgs] @drewrisinger opened pull request #119623 → python3Packages.tqdm: 4.58.0 -> 4.60.0 → https://github.com/NixOS/nixpkgs/pull/119623
<jumper149> Hi, I want to install NixOS on a Lenovo T14s, but I think it needs linux>=5.8
<jumper149> I was thinking of building a custom iso from nixos-unstable?
<jumper149> Does that work?
alexherbo29 has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo29 is now known as alexherbo2
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JOln3
<hrnz> what do you need a new kernel for?
<lunik1> If I have a list [ "foo" "bar" "norf" ], how can I add "qux" immediately after "bar"?
<hrnz> most™ things neccessary for an installation should also work with older kernels, you can always upgrade the kernel later to get stuff like wifi, powersaving and display backlight working
<jumper149> hrnz: Im getting stage 1 errors, something like failed to mount /dev/root or something like that
<jumper149> would have to retry to say exactly
<hrnz> mhm
<clever> lunik1: a combination of find, sublist, and concatLists
<jumper149> hrnz: might also be some other problem, this is just my best guess currently
domogled1 has joined #nixos
<jumper149> hrnz: I checked again, it says: mount: mounting /dev/root on /mnt-root/iso failed: No such file or directory
<clever> jumper149: how was the iso file written to a usb stick?
<jumper149> either with dd or cp, one wasn't working at first not sure which one worked then ^^
gustavderdrache has joined #nixos
<jumper149> clever: didn't know that could be a problem
VideoGameEnjoyer has quit [Remote host closed the connection]
<clever> jumper149: ive seen people using tools to convert a bootable cd into a bootable usb before (unetbootin), and it breaks the nixos image
<clever> its already a hybrid image, that can boot on either cd or usb
domogled has quit [Ping timeout: 246 seconds]
<clever> and its not compatible with how the nixos bootloader is working
domogled1 has quit [Ping timeout: 260 seconds]
<jumper149> my self-built iso just throws me into grub cli :(
<jumper149> I'll try the 21.05 one
<jumper149> just found an old 20.03 live usb and that boots...
<hrnz> gotta love regressions
<jumper149> I'm honestly thinking about installing from that and just updating
exfalso has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119624 → jhead: 3.04 -> 3.06.0.1 → https://github.com/NixOS/nixpkgs/pull/119624
jonringer has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #119625 → binutils-unwrapped: force targetPrefix if cross compiling → https://github.com/NixOS/nixpkgs/pull/119625
<{^_^}> [nixpkgs] @lovesegfault merged pull request #119561 → waybar: 0.9.5 -> 0.9.7 → https://github.com/NixOS/nixpkgs/pull/119561
MatrixBot221 has joined #nixos
<sterni> jumper149: you should also just be able to switch channel in the image
cub3s_ has joined #nixos
sangoma has quit [Quit: WeeChat 3.1]
MatrixBot22 has quit [Ping timeout: 246 seconds]
<cub3s_> https://nixos.org/guides/nix-pills/callpackage-design-pattern.html "The next design pattern worth noting is what I'd like to call the callPackage pattern. This technique is extensively used in nixpkgs, it's the current standard for importing packages in a repository."
<cub3s_> Are the pills still accurate? Is "callPackage" still the standard?
<{^_^}> [nixpkgs] @ulrikstrid closed pull request #119555 → python3Packages.pysmartapp, python3Packages.pysmartthings, python3Packages.smhi, python3Packages.homeconnect → https://github.com/NixOS/nixpkgs/pull/119555
JX7P has joined #nixos
<{^_^}> [nixpkgs] @06kellyjac opened pull request #119626 → terragrunt: 0.28.22 -> 0.28.24 → https://github.com/NixOS/nixpkgs/pull/119626
<cub3s_> dutchie, what about the override design pattern? https://nixos.org/guides/nix-pills/override-design-pattern.html Is that one still around?
<cub3s_> I'm asking because I heard there is a new pattern around called overlays that's not covered in the pills.
<dutchie> you could say that overlays are sort of orthogonal to overrides. you might have an overlay which replaces packages with overriden versions
<{^_^}> [nixpkgs] @centromere opened pull request #119627 → openethereum: 3.2.3 -> 3.2.4 → https://github.com/NixOS/nixpkgs/pull/119627
<{^_^}> [nixpkgs] @ulrikstrid opened pull request #119628 → python3Packages.pysmartapp, python3Packages.pysmartthings, python3Packages.smhi, python3Packages.homeconnect → https://github.com/NixOS/nixpkgs/pull/119628
<dutchie> an override defines a new individual package. overlays are for when you want to change the available packages as a whole
<cub3s_> dutchie, how are overlays any different from // ?
<cub3s_> / { replacement = "xyz"; }
<sterni> overlays inject themselves into the nixpkgs fix point and have access to the previous fix point (super) and the new one they are creating (self)
Havvy has joined #nixos
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #119629 → consul: 1.9.4 -> 1.9.5 → https://github.com/NixOS/nixpkgs/pull/119629
<sterni> the difference is that instead of just replacing a single element in the set an overlay can replace an element in the set while all other members of the set that depend on that one will also pick up on the new one
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
isHavvy has quit [Ping timeout: 258 seconds]
<sterni> so if you use overlays to introduce a certain version of rustc, all rust packages will be build with that rustc
<cub3s_> sterni, oh nice
<cub3s_> how did people do this before overlays.. :)
<{^_^}> [nixpkgs] @maralorn pushed to haskell-updates « haskellPackages.haskell-language-server: Fix more deps to stay compat with 1.0.0 »: https://git.io/JOl4P
sangoma has joined #nixos
zupo has joined #nixos
<sterni> well packageOverrides existed before that already
ahmedelgabri has quit [Ping timeout: 260 seconds]
<sterni> with the limitation that it didn't receive the new fix point and wasn't really composable
<cub3s_> Thanks for these tips :)
zupo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #119630 → [20.09] consul: 1.8.6 -> 1.8.10 → https://github.com/NixOS/nixpkgs/pull/119630
<{^_^}> [nixpkgs] @mweinelt opened pull request #119631 → home-assistant: 2021.4.4 -> 2021.4.5 → https://github.com/NixOS/nixpkgs/pull/119631
proofofkeags has joined #nixos
concept21 has joined #nixos
ericsagn1 has quit [Ping timeout: 260 seconds]
concept21 is now known as concept2
lambdaman has joined #nixos
<{^_^}> [nixpkgs] @philandstuff opened pull request #119632 → yubikey-agent: fix systemd unit → https://github.com/NixOS/nixpkgs/pull/119632
novafacing has quit [Quit: novafacing]
cub3s_ has quit [Quit: Leaving]
novafacing has joined #nixos
<Izorkin> Mic92: full testing PR #118961 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/118961 (by Izorkin, 6 days ago, open): nixos/redis: enable sandbox mode
tstat_ is now known as tstat
neonfuz2 has left #nixos ["User left"]
miscalculated has joined #nixos
xorino has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @tomberek merged pull request #119303 → kupfer: 319 -> 321 → https://github.com/NixOS/nixpkgs/pull/119303
<exarkun> How do interpret line numbers and columns in backtraces? For example, this one - https://gist.github.com/exarkun/aed827e598cd79b958c3175d8914c3df
<exarkun> line 7, column 11 is the letter `u` in `builtins`
<exarkun> What the heck is that supposed to mean?
<niksnut> columns are 0-based
<radvendii> has anyone here successfully used ostree? I'm getting errors and I'm not sure if it's a Nix problem or I'm just using it wrong
xAr86 has quit [Quit: Goodbye!]
xelxebar_ has quit [Ping timeout: 240 seconds]
<exarkun> niksnut: Do you mean 1-based? If they're 0-based then it's what I said. If they're 1-based then I guess it points at the `b` which at least has a chance of making sense - but still doesn't, does it? Why would Nix complaint that `builtins` is a function where a set is expected?
<niksnut> probably 'import networkExpr' needs some arguments
ahmedelgabri has joined #nixos
ericsagn1 has joined #nixos
<exarkun> That seems to be true but you didn't get there from the error nix reported
<niksnut> yeah ignore what I said
xelxebar has joined #nixos
riksu-raksu has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JOlz8
ahmedelgabri has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119620 → gnomeExtensions.unite: 49 -> 50 → https://github.com/NixOS/nixpkgs/pull/119620
<{^_^}> [nixpkgs] @bachp opened pull request #119635 → cryptomator: 1.5.13 -> 1.5.14 → https://github.com/NixOS/nixpkgs/pull/119635
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JOlzD
erasmas has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119616 → python3Packages.pyvmomi: fix the build → https://github.com/NixOS/nixpkgs/pull/119616
riksteri has joined #nixos
tejing has joined #nixos
Reiko2 has joined #nixos
Reiko2 has quit [Read error: Connection reset by peer]
<ronthecookie> hey so I have a few attrs that all need the same stuff set in them, how can I merge between a "base" obj and the more specific attrs?
<dutchie> base // { special = 42; }
sangoma has quit [Ping timeout: 265 seconds]
<radvendii> there's also lib.recursiveUpdate if you want to update sub-attributes
<ronthecookie> ooh okay, thanks :D
<radvendii> lib.recursiveUpdate { foo.bar = 1; } { foo.baz = 2; }
Izorkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @raboof opened pull request #119636 → seaweedfs: add version check in installCheckPhase → https://github.com/NixOS/nixpkgs/pull/119636
<{^_^}> [nixpkgs] @petabyteboy opened pull request #119637 → mindustry: mark as broken → https://github.com/NixOS/nixpkgs/pull/119637
<{^_^}> [nixpkgs] @beardhatcode opened pull request #119638 → nextcloud: add option to set datadir and extensions → https://github.com/NixOS/nixpkgs/pull/119638
<{^_^}> [nixpkgs] @rissson opened pull request #119639 → yubioath-desktop: 5.0.4 -> 5.0.5 → https://github.com/NixOS/nixpkgs/pull/119639
alexherbo2 has quit [Ping timeout: 240 seconds]
<Reventlov> Hey, i'm trying to use the example conf at https://nixos.org/manual/nixos/stable/index.html#module-services-matrix
<Reventlov> seems to me it's a bit broken ( > error: syntax error, unexpected ';', expecting $end, at /etc/nixos/services/matrix.nix:113:2 )
endformationage has joined #nixos
<{^_^}> [nixpkgs] @centromere opened pull request #119640 → python-cryptography: Update Cargo hash → https://github.com/NixOS/nixpkgs/pull/119640
<Reventlov> (trailing ;, as well as optionalString being undefined ?)
<sterni> you probably want to add lib to the argument set in the first line
<sterni> and use lib.optionalString instead of just optionalString
<sterni> and remove the last semicolon in the file
proofofkeags has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119599 → bluejeans: 2.19.0 -> 2.21.3 → https://github.com/NixOS/nixpkgs/pull/119599
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119619 → vscode-extensions.gruntfuggly.todo-tree: 0.0.209 -> 0.0.211 → https://github.com/NixOS/nixpkgs/pull/119619
<{^_^}> [nixpkgs] @sternenseemann pushed to master « nixos/services/matrix-synapse: fix eval errors in manual example »: https://git.io/JOloO
<sterni> Reventlov: ^ like this
ddellaco_ has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 265 seconds]
ahmedelgabri has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119635 → cryptomator: 1.5.13 -> 1.5.14 → https://github.com/NixOS/nixpkgs/pull/119635
<{^_^}> [hydra] @grahamc opened pull request #916 → Rehash existing sha1 passwords with Argon2 → https://github.com/NixOS/hydra/pull/916
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119626 → terragrunt: 0.28.22 -> 0.28.24 → https://github.com/NixOS/nixpkgs/pull/119626
ahmedelgabri has quit [Ping timeout: 258 seconds]
ddellacosta has quit [Ping timeout: 246 seconds]
<thibm> aforemny: the derivation would need to be reinstantiated to know it is the same package, so the .drv file should be there (but I'm not sure).
dsrt^ has quit []
<thibm> There's also options in nix.conf to avoid gc the derivation files
dsrt^ has joined #nixos
dsrt^ has quit []
alexherbo2 has joined #nixos
bitmapper has joined #nixos
<{^_^}> [nixpkgs] @Uthar opened pull request #119641 → libselinux: fix build with musl → https://github.com/NixOS/nixpkgs/pull/119641
nrh^ has joined #nixos
tomberek has joined #nixos
jumper149 has quit [Quit: WeeChat 3.1]
<pie_> infinisil: can i add top level stuff to a module? i.e i want to put an uninterpreted thing in {lib,...}: {imports = ...; mything = ...;}
ddellacosta has joined #nixos
nixusr has joined #nixos
nixusr has quit [Changing host]
nixusr has joined #nixos
<nixusr> hmm.. is unstable codium older than 20.09 one ?
<pie_> nixusr: probably easier to check than ask
<pie_> i always forget how to get the current status of channels though
<pie_> status.nixos.org (surprise)
<nixusr> very strange... i installed it and got 1.49.2 but hre it shos 1.5.0 https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/editors/vscode/vscodium.nix#L36
<pie_> but also just checking the nixkgs source
<pie_> i think repology might also show stuff, idk
<pie_> so the question is whether you are actually getting it from unstable
<pie_> the usual things to try off the top of my head is to check with --pure that something isnt polluting your environment
<nixusr> I want to put my i3 and Xresources configuration into th econfiguration.nix, what is the best way to do it ?
<nixusr> ok, i'll try
<nixusr> also on virtualbox, enabling pulseaudio + X causes X not to start, any ideas on how to debug that ?
<pie_> I dont know about that part, you might find some recommendations by searching the discourse or logs.nix.samueldr.com/
<pie_> hm
<pie_> idk, can you check your systemd logs?
nix has joined #nixos
<nix> How can I test a vim plugin i just added to nixpkgs locally, in my default neovim, which is managed my home manager?
<sterni> when switching specify -I nixpkgs=/path/to/nixpkgs/checkout
<{^_^}> [nixpkgs] @jojosch opened pull request #119642 → oh-my-git: init at 0.6.4 → https://github.com/NixOS/nixpkgs/pull/119642
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #119583 → Update emacs modes → https://github.com/NixOS/nixpkgs/pull/119583
<{^_^}> [nixpkgs] @chvp opened pull request #119643 → zeroad: Split data from binaries again → https://github.com/NixOS/nixpkgs/pull/119643
<{^_^}> [nixpkgs] @petabyteboy merged pull request #119637 → mindustry: mark as broken → https://github.com/NixOS/nixpkgs/pull/119637
dmohs has joined #nixos
turlando has quit [Ping timeout: 240 seconds]
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
dmohs has quit [Client Quit]
alexherbo24 has joined #nixos
nly has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo24 is now known as alexherbo2
respawn_ has joined #nixos
djwf has joined #nixos
<djwf> ,channels
NieDzejkob has joined #nixos
<{^_^}> 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
djwf has left #nixos [#nixos]
evils[m] has left #nixos ["User left"]
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #119641 → libselinux: fix build with musl → https://github.com/NixOS/nixpkgs/pull/119641
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b260ec724e7 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
jmeredith has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #117780 → spacebar: fix builds on macOS Big Sur → https://github.com/NixOS/nixpkgs/pull/117780
<nixusr> is ordering of stuff in nix important ?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119549 → go-org: 1.4.0 -> 1.5.0 → https://github.com/NixOS/nixpkgs/pull/119549
<nixusr> mainly in the configuration.nix , does it matter the order in which i define things ? will it produce different output ?
<sterni> nope
<sterni> it uses attribute sets of the nix expression languages which are not inherently ordered
<sterni> or rather I think they'll be alphabetically ordered when serialized always
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119621 → neofetch: wrap with pciutils → https://github.com/NixOS/nixpkgs/pull/119621
<{^_^}> [nixpkgs] @rb2k opened pull request #119644 → ntp: add darwin support → https://github.com/NixOS/nixpkgs/pull/119644
<nixusr> blah, bummer that sudo in vscode/vscodium isn't working in nixos :/
<{^_^}> [nixpkgs] @sternenseemann pushed to haskell-updates « haskellPackages.lzma-static: unbreak »: https://git.io/JOlSH
quinn has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
kaliumxyz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @06kellyjac opened pull request #119645 → agate: fix cargoSha256 change → https://github.com/NixOS/nixpkgs/pull/119645
<nixusr> I want to put my i3 and Xresources configuration into the configuration.nix, what is the best way to do it ?
kaliumxyz has joined #nixos
<nixusr> i am coding my own .nix script, how can i test it ?
proofofkeags has joined #nixos
vidbina has joined #nixos
hyiltiz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @1000101 opened pull request #119646 → stretchly: 1.5.0 -> 1.6.0 → https://github.com/NixOS/nixpkgs/pull/119646
zupo has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #119006 → pikchr: init at unstable-2021-04-07 → https://github.com/NixOS/nixpkgs/pull/119006
hyiltiz has joined #nixos
hyiltiz has quit [Changing host]
hyiltiz has joined #nixos
pointfree has joined #nixos
hopheynananey has joined #nixos
beertoagunfight has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #119126 → python3Packages.pycomfoconnect: init at 0.4 → https://github.com/NixOS/nixpkgs/pull/119126
gentauro has quit [Read error: Connection reset by peer]
kaliumxyz has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @JonathanILevi opened pull request #119647 → Remove `broken`. → https://github.com/NixOS/nixpkgs/pull/119647
orivej has joined #nixos
kaliumxyz has joined #nixos
gentauro has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
luxemboye has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
luxemboye has joined #nixos
lambdaman has quit [Remote host closed the connection]
Havvy has quit [Ping timeout: 258 seconds]
Havvy has joined #nixos
beertoagunfight has quit [Quit: beertoagunfight]
<{^_^}> [nixpkgs] @edef1c merged pull request #119588 → gmrender-resurrect: 0.0.8 -> 0.0.9 → https://github.com/NixOS/nixpkgs/pull/119588
tdeo has quit [Read error: Connection reset by peer]
diamondburned has quit [Read error: Connection reset by peer]
tdeo has joined #nixos
diamondburned has joined #nixos
<{^_^}> [nixpkgs] @maralorn pushed to haskell-updates « haskellPackages.reflex*: Fix various dependencies »: https://git.io/JOldE
pushqrdx has joined #nixos
<{^_^}> [nixpkgs] @wolfgangwalther opened pull request #119648 → python3Packages.sphinx: 3.3.1 -> 3.5.4 → https://github.com/NixOS/nixpkgs/pull/119648
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages to fix evaluation errors »: https://git.io/JOlFO
<{^_^}> [nixpkgs] @SEbbaDK opened pull request #119649 → kakounePlugins: add pandoc.kak and update → https://github.com/NixOS/nixpkgs/pull/119649
v0|d has joined #nixos
turlando has joined #nixos
turlando has quit [Client Quit]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JOlFg
lambdaman has joined #nixos
<{^_^}> [nixpkgs] @fortuneteller2k opened pull request #119650 → linux_xanmod: 5.11.14 -> 5.11.15 → https://github.com/NixOS/nixpkgs/pull/119650
<{^_^}> [nixpkgs] @0x4A6F opened pull request #119651 → dasel: 1.14.0 -> 1.14.1 → https://github.com/NixOS/nixpkgs/pull/119651
kaliumxyz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #119631 → home-assistant: 2021.4.4 -> 2021.4.5 → https://github.com/NixOS/nixpkgs/pull/119631
ahmedelgabri has joined #nixos
phnom has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #118923 → Update Haskell package set to Stackage Nightly 2021-04-06 (plus other fixes) → https://github.com/NixOS/nixpkgs/pull/118923
<phnom> Hey, got a noob-question here. How do I call nix-build and pass an argument to the function? E.g. I want to build a kernel mod and the arguments I need to pass in are kernel and kmod.
<radvendii> nix-build --arg foo "bar"
ahmedelgabri has quit [Ping timeout: 260 seconds]
respawn_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JOlAx
<{^_^}> [nixpkgs] @Mic92 merged pull request #119389 → postgresql_9_5: drop → https://github.com/NixOS/nixpkgs/pull/119389
<{^_^}> [nixpkgs] @peti opened pull request #119652 → Update Haskell package set to Stackage Nightly 2021-04-15 (plus other fixes) → https://github.com/NixOS/nixpkgs/pull/119652
<radvendii> sorry, nix-build --arg foo '"bar"'
turbio has joined #nixos
ldeck has joined #nixos
wnklmnn has joined #nixos
<ldeck> hey all — any indication about what's up with http://discourse.nixos.org?
philr has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
gustavderdrache has joined #nixos
<phnom> radvendii: I assume kernel here is the actual kernel-package, how would I pass that via nix-build? using --arg kernel '"pkgs.linuxPackages"' complains that kernel is a string and not a set when trying to access kernel.version
<clever> phnom: --arg takes a value, and a nix expr, the double quotes mean your expr is a plain string literal
<phnom> Ok, so it would be more like --arg kernel '(import <nixpkgs> {}).linuxPackages'?
<nixusr> how many days should I use nix before I figure out how to get latest vscode :)
vidbina_ has joined #nixos
<pie_> radvendii: phnom: note --arg passes the arguments to _all_ function calls that take that argument
<pie_> you can also pass -E and a full nix expression
vidbina has quit [Ping timeout: 240 seconds]
<phnom> pie_: I am trying to build the vmware vmmon module, I have a vmmon.nix that takes pulls the sources and everything, am trying to adapt the example from https://nixos.wiki/wiki/Linux_kernel to be able to build it.
attila_lendvai_ has joined #nixos
<nixusr> how can i use the latest virtualbox kernel module in 20.09 ?
attila_lendvai has quit [Ping timeout: 240 seconds]
<nixusr> how do i install osd_cat in nixos ?
<nixusr> nm
civodul has joined #nixos
johnw has quit [Quit: ZNC - http://znc.in]
<pie_> phnom: cant help right now, sorry, but good luck
ldeck has quit [Quit: Connection closed]
<phnom> pie_: np :) I figured it out now.
<pie_> do follow up then if you pinged me :P
iMatejC has quit [Quit: WeeChat 3.0.1]
iMatejC has joined #nixos
<{^_^}> [nixpkgs] @legendofmiracles opened pull request #119653 → tmpmail: init at master → https://github.com/NixOS/nixpkgs/pull/119653
<radvendii> is there a convenience function for encoding a string as a valid derivation name / store path?
vidbina has joined #nixos
beertoagunfight has joined #nixos
Guest51332 has quit [Quit: ZNC 1.7.5 - https://znc.in]
vidbina_ has quit [Ping timeout: 265 seconds]
Kyndig has quit [Ping timeout: 240 seconds]
jybs- has joined #nixos
<cole-h> > lib.strings.sanitizeDerivationName "a-b/c*d"
<{^_^}> "a-b-c-d"
<gchristensen> whoa neat
alexherbo20 has joined #nixos
<gchristensen> > lib.strings.sanitizeDerivationName " "
<{^_^}> "-"
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo20 is now known as alexherbo2
<{^_^}> [nixpkgs] @devhell opened pull request #119654 → profanity: Enable clipboard support → https://github.com/NixOS/nixpkgs/pull/119654
kaliumxyz has joined #nixos
iMatejC has quit [Quit: WeeChat 3.1]
<{^_^}> [nixpkgs] @06kellyjac opened pull request #119655 → conftest: 0.23.0 -> 0.24.0 → https://github.com/NixOS/nixpkgs/pull/119655
<{^_^}> [nixpkgs] @mkg20001 opened pull request #119656 → lxd: fix qemu → https://github.com/NixOS/nixpkgs/pull/119656
iMatejC has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119515 → mailspring: 1.8.0 -> 1.9.0 → https://github.com/NixOS/nixpkgs/pull/119515
<infinisil> > lib.strings.sanitizeDerivationName " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
<{^_^}> "-+--.-0123456789-=-?-ABCDEFGHIJKLMNOPQRSTUVWXYZ-_-abcdefghijklmnopqrstuvwxyz-"
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119651 → dasel: 1.14.0 -> 1.14.1 → https://github.com/NixOS/nixpkgs/pull/119651
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119647 → dmd: mark unbroken → https://github.com/NixOS/nixpkgs/pull/119647
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119645 → agate: fix cargoSha256 change → https://github.com/NixOS/nixpkgs/pull/119645
meh` has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @github-actions[bot] closed pull request #119648 → python3Packages.sphinx: 3.3.1 -> 3.5.4 → https://github.com/NixOS/nixpkgs/pull/119648
<{^_^}> [nixpkgs] @syncom opened pull request #119657 → nixos/iso-image: Use fixed-order mcopy instead of file globbing → https://github.com/NixOS/nixpkgs/pull/119657
ericsagn1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119639 → yubioath-desktop: 5.0.4 -> 5.0.5 → https://github.com/NixOS/nixpkgs/pull/119639
phnom has quit [Ping timeout: 240 seconds]
<radvendii> infinisil++
<{^_^}> infinisil's karma got increased to like 417, I think
<radvendii> is there a reason that doesn't just get run automatically on all derivation names?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119627 → openethereum: 3.2.3 -> 3.2.4 → https://github.com/NixOS/nixpkgs/pull/119627
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119456 → dotnetCorePackages.sdk_5_0: 5.0.200 -> 5.0.202 and fix build failure of `osu-lazer` and `ryujinx` → https://github.com/NixOS/nixpkgs/pull/119456
jmeredith has quit [Quit: Connection closed for inactivity]
griff__ has joined #nixos
ericsagn1 has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
fuiltilt has joined #nixos
pointfree has quit [Quit: Connection closed for inactivity]
Lord_of_Life_ has joined #nixos
Lord_of_Life has quit [Ping timeout: 265 seconds]
ahmedelgabri has joined #nixos
<evils> how do i enter a nix shell with a package from a nixpkgs fork in a one-liner?
Lord_of_Life_ is now known as Lord_of_Life
pushqrdx has quit [Remote host closed the connection]
pushqrdx has joined #nixos
benson_bogard has joined #nixos
<benson_bogard> this way nix-shell -p package-name maybe
<benson_bogard> ?
<radvendii> nix-shell /path/to/nixpkgs/fork -A package
nix has quit [Quit: WeeChat 3.1]
<radvendii> oh *with* a package from... sorry, i misunderstood
<evils> sry, input would have to be an `import (builtins.fetchTarball "https://github.com/evils/nixpkgs/...`
<evils> i can do that with a nix-shell -E but that doesn't get me the package available, just its build environment?
<radvendii> `nix-shell -I path/to/nixpkgs -p package` i think
<radvendii> sorry -I nixpkgs=
<radvendii> `nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/blah.tar.gz -p foo`
<radvendii> earch for -I in the nix-shell man page
<evils> radvendii++
<{^_^}> radvendii's karma got increased to 0o1
<radvendii> ah yes, the number 0o1, my favourite number XD
jrm has quit [Quit: ciao]
<benson_bogard> nix-shell -l works with urls too or just with system path?
Diagon has joined #nixos
<radvendii> not sure what -l does, it's not listed in the man page
jrm has joined #nixos
<radvendii> evils: also if you're using flakes it's even easier: `nix shell nixpkgs/<revision>#<package>`
<evils> not easier if you count setting up and understanding flakes :P
<radvendii> haha yes, there's some startup cost. though not as much as i would have thought. i made the switch a couple weeks ago and it was pretty smooth
<benson_bogard> oh sorry my font is equal to uppercase I and lowercase l
<benson_bogard> I mean -I
<evils> radvendii: well, i was trying to get a convenient one-liner to pass to another developer that doesn't have nix set up yet xD
<radvendii> benson_bogard: oh hahaha. yes it works with urls apparently
<radvendii> evils: ahhh so then never mind about flakes
<benson_bogard> hahaha, thanks good to know
<{^_^}> [nixpkgs] @zowoq merged pull request #119482 → go_1_16: 1.16.2 -> 1.16.3 → https://github.com/NixOS/nixpkgs/pull/119482
ddellacosta has quit [Remote host closed the connection]
MatrixBot221 has quit [Quit: Bridge terminating on SIGTERM]
benson_bogard has quit [Quit: Bridge terminating on SIGTERM]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MatrixBot22 has joined #nixos
jrm has quit [Quit: ciao]
courajs has joined #nixos
courajs has left #nixos [#nixos]
sangoma has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/dcdf30a78a5 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
jrm has joined #nixos
<evils> is there a recommended way to get nix running without root?
<clever> evils: if you have write access to /nix/store, you dont need root
<clever> if you lack write access, it will contact nix-daemon, which should have write
<clever> i'm not sure what happens if you give non-root write, and run nix-daemon as that user...
griff__ has quit [Quit: griff__]
<evils> clever: i mean having nix-shell work on another distro without involving sudo
<evils> though seems like the other dev managed to get nix-shell working in the nixos docker image
<radvendii> evils: you might want to look into single-user install of nix. I don't know the details but I think it might be related
<evils> radvendii: still needs sudo, and they didn't like it would modify their .bashrc
<{^_^}> [nixpkgs] @vbgl merged pull request #119260 → coq_8_13: 8.13.1 → 8.13.2 → https://github.com/NixOS/nixpkgs/pull/119260
griff__ has joined #nixos
<clever> evils: what part needs sudo?
<qyliss> creating /nix presumably
<qyliss> you can install nix with a custom store path, but then you won't be able to use the binary cache
<qyliss> or you can use a chroot
<clever> if /nix is pre-made, and you own it already
<clever> then the installer never uses sudo
<radvendii> you can use nix-user-chroot according to the wiki
xAr86 has joined #nixos
seku has joined #nixos
clever has quit [Ping timeout: 240 seconds]
clever has joined #nixos
cole-h has quit [Ping timeout: 265 seconds]
lsix has quit [Remote host closed the connection]
lsix has joined #nixos
hlz has quit [Ping timeout: 250 seconds]
hlz has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #119660 → youtube-dl: 2021.04.07 -> 2021.04.17 → https://github.com/NixOS/nixpkgs/pull/119660
ddellacosta has joined #nixos
pushqrdx has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @zowoq closed pull request #119660 → youtube-dl: 2021.04.07 -> 2021.04.17 → https://github.com/NixOS/nixpkgs/pull/119660
<hpfr> I'm trying to package something with `cc.find_library('cap')` in `meson.build` and when building I get `meson.build:44:0: ERROR: C shared or static library 'cap' not found`, what does my nix expression need for this?
attila_lendvai_ has quit [Ping timeout: 252 seconds]
<hpfr> nvm, `libcap`
griff__ has quit [Quit: griff__]
xorino has joined #nixos
Qwerky has joined #nixos
nrh^ has quit []
chisui has joined #nixos
meh` has joined #nixos
<chisui> Hey, I have a really old nix installation I tried to run `nix-channel --update` but I got the error `while setting up the build environment: executing '/usr/bin/bash': No such file or directory` The host system is Arch
pushqrdx has joined #nixos
<chisui> Is there a limit to nix backwards compatabillity?
ddellacosta has quit [Remote host closed the connection]
<radvendii> how do y'all open more than one PR to nixpkgs at a time? If I commit it on my fork, it adds that to the first PR
v0|d has quit [Remote host closed the connection]
<chisui> radvendii: github only allows one PR per branch. You have to create another branch.
ddellaco_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 112 commits to gnome-40: https://git.io/JO8Gr
<radvendii> ah, i can make a new branch though. that's the trick. thanks
<chisui> radvendii: just make sure that you don't branch from the one that you created the first PR from
<a12l> Is there an easy way to find out what derivation build depends on a specific library? When try to run `home-manager switch`, Nix complains that the python 2 library Pillow v. 6.2.2 has several known security issues.
<qyliss> a12l: nix-store -q --referrers
<radvendii> chisui: hahahaha i just did that XD. it's fine i'll just rebase and force push
luxemboye has quit [Remote host closed the connection]
<a12l> qyliss: Thanks!
dsrt^ has joined #nixos
luxemboye has joined #nixos
<a12l> I've Libreoffice installed and listed in `home.packages` in my `~/.config/nixpkgs/home.nix` file. When I run `home-manager switch`, Nix is starting building Libreoffice from scratch. Is there some way to only download binaries? I'm not able to compil Libreoffice on my old Thinkpad x230 in a reasonable time.
beertoagunfight has quit [Read error: Connection reset by peer]
<a12l> I'm running Nix on a non-NixOS system.
luxemboye has quit [Remote host closed the connection]
<qyliss> your best bet is to figure out why it's trying to download libreoffice, rather than to disable building anything
<qyliss> s/download/build/
<qyliss> what channel are you on?
<{^_^}> [nixpkgs] @Radvendii opened pull request #119661 → ostree: fix TLS errors → https://github.com/NixOS/nixpkgs/pull/119661
<a12l> qyliss: Nixpkgs-unstable
luxemboye has joined #nixos
<a12l> I haven't found any other channel for non-NixOS linux systems, so I assume there isn't any other channel for us
<qyliss> there's also the stable channel
<qyliss> using a nixos-* channel won't hurt you, it'll just update a bit slower
<qyliss> hmm, libreoffice is built on unstable
<qyliss> a12l: could you share your home-manager configuration?
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #119662 → libcaca: refactor → https://github.com/NixOS/nixpkgs/pull/119662
<a12l> qyliss: Ah, you're thinking of the Nixos channel. I've looked at https://hydra.nixos.org/project/nixpkgs
<qyliss> yeah, but as I said there's no harm in using a NixOS channel on other Linux
<a12l> I thought that I needed to run the Nixpkgs-* channels
<qyliss> nope
<a12l> I'll change channel!
<qyliss> the only difference is that the NixOS one has passed some tests
<qyliss> so can be a few hours/days behind
<qyliss> fwiw this is unrelated to why it's trying to build libreoffice
<qyliss> it shouldn't be doing that on either channel
<{^_^}> [nixpkgs] @reedrw opened pull request #119663 → r2mod_cli: 1.0.7 -> 1.1.0 → https://github.com/NixOS/nixpkgs/pull/119663
<a12l> qyliss: I'll just test out some things, when come back to you.
Qwerky has quit [Remote host closed the connection]
eacameron has joined #nixos
<eacameron> I've built a docker image from Nix but it doesn't seem like name resolution is working. It can't resolve localhost (which is of course just set in /etc/hosts in the docker image)... anyone seen this?
<hpfr> trying to package software built by meson, how should I handle subprojects in `meson.build`? seems my nix expression is trying to build them from source instead of referencing the appropriate nix package
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #119542 → guile-commonmark: init at 0.1.2; haunt: init at 0.2.4 → https://github.com/NixOS/nixpkgs/pull/119542
<Yaniel> hpfr: that's how subprojects are supposed to work though
<Yaniel> they are vendored into the project sources
<Yaniel> dependencies are taken from the system
<hpfr> I know nothing about meson
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #119625 → binutils-unwrapped, gcc, gdb: force targetPrefix if cross compiling → https://github.com/NixOS/nixpkgs/pull/119625
<qyliss> most packages using meson I've seen will only build subprojects if they can't find the dependency with pkg-config or whatever
<{^_^}> [nixpkgs] @eyJhb opened pull request #119664 → displaylink: 5.3.1 -> 5.4.0 (+evdi) → https://github.com/NixOS/nixpkgs/pull/119664
<hpfr> so a nix expression for a package with subprojects should include all the dependencies for these subprojects?
<qyliss> probably, but it depends on what the meson.build author has written
<hpfr> I've set up libliftoff which was not in nixpkgs with a nix expression that builds
<tomberek> anyone from tweag working on the funflow/funflow2 efforts mind a quick chat?
<Yaniel> hpfr: note how it checks if the subproject exists on line 74
juhe has quit [Remote host closed the connection]
<Yaniel> so if you delete the subproject dir in postUpack if it exists, then it'll fall back to asking for that lib from the system
<hpfr> but then I get `wlroots : NO Subproject exists but has no meson.build file` and it proceeds to try building wlroots, same for libliftoff I assume
shibboleth has joined #nixos
<Yaniel> roots has its own subproject
<Yaniel> make sure to delete that subdirectory from subprojects/ as well
<hpfr> so I'd set up postunpack, cd to subprojects and rm -rf?
<Yaniel> looks like it is a git submodule
<Yaniel> are you fetching those?
<hpfr> should I be? I'm just using the nix package
<Yaniel> I mean when you fetch the sources for gamescope
Qwerky has joined #nixos
<Yaniel> because the gamescope repo has libliftoff and wlroots as git submodules
<hpfr> I'm using fetchFromGitHub, I don't know if that fetches submodules
zupo has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #119665 → yubioath-desktop: fix icon → https://github.com/NixOS/nixpkgs/pull/119665
<hpfr> does it matter anyway if I'm deleting them in postUnpack
<Yaniel> yeah in this case you can just delete the entire subprojects dir
<Yaniel> since the root-level meson.build checks for them and falls back to the system if they are missing
sangoma has quit [Ping timeout: 268 seconds]
<hpfr> Yaniel: makes sense, thanks. how might I figure something like this out on my own? I feel like I start to struggle with nix packages once I get to the interface between nix and a language specific build tool like meson. I try to search nixpkgs for similar examples but that's kind of difficult when you don't exactly know what you're looking for 😅
fendor has quit [Ping timeout: 252 seconds]
Qwerky has quit [Remote host closed the connection]
Qwerky has joined #nixos
<Yaniel> meson is fairly simple, for better or worse
<Yaniel> but basically just learn to read the build files :/
<Yaniel> no two projects are alike so examples are not very easy to find for anything nontrivial
<hpfr> alright thanks, I made it fairly far along in this case but I'm not familiar with postUnpack
<chisui> Is there a way to create wine environments with nix?
<Yaniel> postUnpack is just a shell script that runs in the directory where the source is unpacked
xorino has quit [Quit: Leaving]
xorino has joined #nixos
<hpfr> yeah I found a few lines on it in the nixpkgs manual at least
xorino has quit [Client Quit]
<Yaniel> you can check out pipewire for something slightly bigger that tweaks meson stuff
xorino has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
<radvendii> chisui: like package a wine application so you can run it like a normal application? I don't know, but that seems like a good use for nix
MightyJoe has quit [Quit: I'm out!]
turbio has quit [Quit: Connection closed]
<radvendii> doesn't seem that hard either; just a simple wrapper. the only problem would be where would you put the wine directory? if it's in the nix store the application can't modify anything in it,
ManiacOfMadness has quit [Ping timeout: 248 seconds]
__monty__ has quit [Quit: leaving]
cyraxjoe has joined #nixos
<radvendii> but the nix derivation doesn't know about anywhere else
<chisui> radvendii: you could create an overlay FS for the runtime.
sangoma has joined #nixos
lambdaman has quit [Remote host closed the connection]
<chisui> but then there is still the issue of mountpoints for user data
<hpfr> Yaniel: do any of the add_project_arguments sections in the meson.build need to be considered or does meson handle those? I've seen other expressions with mesonFlags sections
<radvendii> yeah, i odn't know much about complicated filesystem stuff, but I would love to be able to just say mkWineDerivation { ... } with the src set to a windows .exe and have it just work
philr has quit [Ping timeout: 240 seconds]
<Yaniel> I think that just adds compiler flags for the main project?
<Yaniel> shouldn't be necessary to touch those at all
lambdaman has joined #nixos
tomberek has quit [Quit: Connection closed]
<Yaniel> so just remove the subprojects dir and nix should handle the rest automagically
<hpfr> alright. I added postUnpack to remove subprojects/ but now it's complaining about various #include statements which can't find the header files they need, like pixman.h and libudev.h
<Yaniel> those you need to add as buildInputs in nix
<Yaniel> as in, their respective packages
<hpfr> wouldn't they be in the meson.build though?
<Yaniel> they still need to be pulled in by nix
<hpfr> well I mean pixman and libudev for example are not in meson.build at all
<Yaniel> yea that seems like an upstream bug
aaabbbbbbbbbb has quit [Ping timeout: 240 seconds]
<Yaniel> assuming that they are always present and not checking
<hpfr> looks like pixman was removed because only wlroots uses it, so maybe my postUnpack is still bad? https://github.com/Plagman/gamescope/commit/6250685f0a5e7e6880b3d946a287df3c62b6180b
<Yaniel> where does the error come from?
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @dbirks opened pull request #119666 → vscode-extensons.github.github-vscode-theme: 3.0.0 -> 4.0.2 → https://github.com/NixOS/nixpkgs/pull/119666
<hpfr> here's what I have so far https://bpa.st/WCFQ, and here's the nix-build output https://bpa.st/A6MA
tomberek has joined #nixos
<hpfr> it looks like all the errors are happening in files of the dependencies?
<Yaniel> yes
<hpfr> shouldn't it be leaving the dependencies alone?
<eacameron> For nix's docker images built with dockerTools is there a way to add a package manager so I can install packages on a running container??
<Yaniel> mm, pkg-config should handle it I think
<Yaniel> but you might be running into something not having correct propagatedInputs or something?
<Yaniel> I'm not entirely sure how the different inputs work
<Yaniel> as a workaround you can just add them as build-time dependencies to your derivation I guess
<eacameron> Yaniel: My docker image is fine. I just don't like the fact that if some service is running on there no one can install nano to edit files.
<eacameron> I could install it beforehand with nix...but then it's bigger than it needs to be.
<Yaniel> btw you can debug the postUnpack with pwd and ls
<Yaniel> eacameron: I was still replying to hpfr
<hpfr> oh good point thanks
<eacameron> Yaniel: oops haha
<hpfr> ok, I'll make a note of it and try adding the deps' deps for now. thanks
<Yaniel> hpfr: if you don't mind checking out the wlroots derivation you could do that
<gustavderdrache> eacameron: so the problem is that yes, you _could_ package something, you're not going to find a repository that'll be compatible with the nixos loader
<Yaniel> and ask around if someone can tell you how the dependencies of wlroots should be handled in nix
winterqt has joined #nixos
<gustavderdrache> which means that if you want to go that route, you'd need to either also install more typical glibc and friends in your image
<gustavderdrache> or plan ahead and include patchelf
<gustavderdrache> i have done this before and it is not pretty
<eacameron> gustavderdrache: ew. does install nix itself work?
<gustavderdrache> on the docker hub there's nixos/nix
<eacameron> gustavderdrache: How is that related to dockerTools.buildLayeredImage?
<gustavderdrache> it isn't :\
<eacameron> gustavderdrache: lol
<gustavderdrache> buildLayeredImage is pretty much meant to output "final" artifacts
philr has joined #nixos
<gustavderdrache> nixos/nix is "i want a self-contained nix without having to ship a .ova file"
<gustavderdrache> or .ovf or whatever the extension is
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119649 → kakounePlugins: add pandoc.kak and update → https://github.com/NixOS/nixpkgs/pull/119649
<{^_^}> [nixpkgs] @SuperSandro2000 reopened pull request #119648 → python3Packages.sphinx: 3.3.1 -> 3.5.4 → https://github.com/NixOS/nixpkgs/pull/119648
<gustavderdrache> do you have a shell in your image by default?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119512 → neocomp: 2019-03-12 -> unstable-2021-04-06 → https://github.com/NixOS/nixpkgs/pull/119512
<eacameron> gustavderdrache: what do you mean? Can I open bash? yes
<hpfr> Yaniel: I tried echoing in the postUnpack and nothing came through, so I commented it out and the same issue is happening, so maybe I need to rm in a phase before postUnpack?
<gustavderdrache> especially if you have bashInteractive then you're already paying for the cost of ncurses
<gustavderdrache> i highly doubt that nano is going to tip the scales much beyond that
<veleiro> i can't tell by the issues, do AppImages work on NixOS?
<evils> veleiro: appimage-run
<eacameron> gustavderdrache: Yes but there's other things like ss, ping, which, etc... lots of things one could want. I don't like having to think of them all now :D
<gustavderdrache> that's fair
<radvendii> evils: yes, but you have to run them through appimage-run
<radvendii> oh, i definitely got confused about what happened in that exchange XD
xorino has quit [Ping timeout: 260 seconds]
<veleiro> evils: thank, didnt know about that
<{^_^}> [nixpkgs] @prusnak merged pull request #119646 → stretchly: 1.5.0 -> 1.6.0 → https://github.com/NixOS/nixpkgs/pull/119646
<gustavderdrache> i don't know that i have a good answer here - either way, you're going to carry around quite a bit of weight due to either the additional debugging utilities or the package manager itself + the supporting tools needed to patch packages to run in a nixos-friendly way
<eacameron> gustavderdrache: Fair enough. If there isn't a good answer then oh well. I'll just put some highly anticipated things on there and pay the price.
D_ has joined #nixos
pushqrdx has quit [Remote host closed the connection]
<gustavderdrache> depending on the container environment you're thinking about debugging in, you could consider running a debian/alpine/whatever image and just using that as your debugging tool
<gustavderdrache> if you're running on a machine you have shell access to, it's possible to attach to the other container's namespaces and trace processes, etc
<{^_^}> [nixpkgs] @prusnak merged pull request #119632 → yubikey-agent: fix systemd unit → https://github.com/NixOS/nixpkgs/pull/119632
pushqrdx has joined #nixos
<gustavderdrache> kinda depends on how often you need to get into a container to debug and how many tools you end up using when it happens
philr has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @prusnak merged pull request #119578 → electron_12: 12.0.2 -> 12.0.4 & electron_11: 11.4.1 -> 11.4.3 & electron_10: 10.4.2 -> 10.4.3 → https://github.com/NixOS/nixpkgs/pull/119578
pushqrdx has quit [Remote host closed the connection]
jimmiehansson has quit [Remote host closed the connection]
pushqrdx has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118447 → nixos/nginx: add upstreams examples → https://github.com/NixOS/nixpkgs/pull/118447
ddellaco_ has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
ddellaco_ has quit [Ping timeout: 260 seconds]
alexherbo22 has joined #nixos
sangoma has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo22 is now known as alexherbo2
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118819 → tremor-rs: 0.10.1 -> 0.11.0 → https://github.com/NixOS/nixpkgs/pull/118819
shibboleth has quit [Quit: shibboleth]
lsix has quit [Ping timeout: 250 seconds]
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119611 → kodi{-wayland,-gbm}: use LTS jdk11 → https://github.com/NixOS/nixpkgs/pull/119611
mmlb7 has joined #nixos
<{^_^}> [nixpkgs] @davidak opened pull request #119668 → ocenaudio: 3.10.2 -> 3.10.5 → https://github.com/NixOS/nixpkgs/pull/119668
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119654 → profanity: Enable clipboard support → https://github.com/NixOS/nixpkgs/pull/119654
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119644 → ntp: set platforms to unix → https://github.com/NixOS/nixpkgs/pull/119644
gustavderdrache has joined #nixos
mmlb has quit [Ping timeout: 240 seconds]
mmlb7 is now known as mmlb
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119665 → yubioath-desktop: fix icon → https://github.com/NixOS/nixpkgs/pull/119665
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119248 → agi: init at 1.1.0-dev-20210413 → https://github.com/NixOS/nixpkgs/pull/119248
infty has joined #nixos
infty has quit [Quit: leaving]
MatrixBot22 has quit [Ping timeout: 240 seconds]
ahmedelgabri has quit [Remote host closed the connection]
Cale has quit [Remote host closed the connection]
ddellacosta has joined #nixos
VideoGameEnjoyer has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b77c77debbc (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b260ec724e7 (from 19 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/294d1925af6 (from 23 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
VideoGameEnjoyer has quit [Client Quit]
VideoGameEnjoyer has joined #nixos
dotdotok has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @aanderse opened pull request #119669 → kodi.packages.youtube: init at 6.8.10+matrix.1 → https://github.com/NixOS/nixpkgs/pull/119669
ddellacosta has quit [Ping timeout: 252 seconds]
MatrixBot22 has joined #nixos
Qwerky has quit [Remote host closed the connection]
gustavderdrache1 has joined #nixos
gustavderdrache has quit [Disconnected by services]
gustavderdrache1 is now known as gustavderdrache
<{^_^}> [nixpkgs] @aanderse opened pull request #119670 → kodi.packages: version bumps and cleanup → https://github.com/NixOS/nixpkgs/pull/119670
civodul has quit [Ping timeout: 260 seconds]
MinceR has quit [Ping timeout: 260 seconds]
fooker has quit [Ping timeout: 260 seconds]
seku has quit [Ping timeout: 265 seconds]
fooker has joined #nixos
MinceR has joined #nixos
<ldlework> What is the proper way to add something like ~/.npm/lib/node_modules/nx/bin/ to your user path?
<ldlework> actually nevermind
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to gnome-40: https://git.io/JO805
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
<matthewcroughan> Is there a way to disable docs/mans ?
<matthewcroughan> builder for '/nix/store/ci84y14pb0aqg1wvv7grnvsls3yr9bz0-options-docbook.xml.drv' failed due to signal 6 (Aborted)
<matthewcroughan> this is happening on a 32 bit system
<matthewcroughan> documentation.nixos.enable = false; might be it..
bvdw has joined #nixos
wnklmnn has quit [Quit: Leaving]
bvdw has quit [Client Quit]
Qwerky has quit [Ping timeout: 252 seconds]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @enderger opened pull request #119671 → lbry: fix .desktop file → https://github.com/NixOS/nixpkgs/pull/119671
orivej has quit [Ping timeout: 260 seconds]
<matthewcroughan> Hmm.. A lot of stuff just isn't working on nixos-unstable 32 bit
<matthewcroughan> i686
<matthewcroughan> like htop and tmux are busted
cyphase has quit [Ping timeout: 240 seconds]
<lukegb> yikes :(
pushqrdx has quit [Remote host closed the connection]
tmciver has quit [Ping timeout: 268 seconds]
nicoo has quit [Ping timeout: 240 seconds]
nicooo has joined #nixos
tmciver has joined #nixos
<Andoriyu> what's a good way to turn python pacakge into nix package? pypi2nix says it's abandoned?
<matthewcroughan> lukegb: oh dear.. lots of things broke on 20.09
mbrgm_ has joined #nixos
jdally987[m] has joined #nixos
<matthewcroughan> like, the backporting to 20.09 broke 32 bit stuff
supersandro2000 has quit [Killed (rothfuss.freenode.net (Nickname regained by services))]
supersandro2000 has joined #nixos
cyphase has joined #nixos
<jdally987[m]> matthewcroughan: why you on 32-bit lol
<matthewcroughan> jdally987[m]: why aren't you?
<jdally987[m]> wat
<jdally987[m]> oooh i686 my bad
<matthewcroughan> You heard.
<matthewcroughan> :D
<matthewcroughan> Some of us are poor and don't work for Google.
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<matthewcroughan> builder for '/nix/store/08ncy86rbd5bl16rxnwwsl8c5kcymfaf-cups-dymo-1.4.0.5.drv' failed due to signal 6 (Aborted)
<matthewcroughan> hmm
<jdally987[m]> what CPU you have anywya lol
<jdally987[m]> also can anyone tell me what I would have to do to get nixos to work with my eGPU?
<matthewcroughan> maybe my remote builder has had a complete meltdown
<jdally987[m]> ubuntu distros work on my external monitor (through an AMD rx570, through the razer core X, through thunderbolt) automatically, out of the box. as soon as I boot up a live distro
<jdally987[m]> and other distros work as well, like KDE neon, after I authorize the egpu in e.g. KDE's thunderbolt menu
<jdally987[m]> (which nixos still doesn't have for some reason...?)
<jdally987[m]> but no matter what, nixos can't do it. I've already authorized everything in `boltctl`; lspci shows the card as a valid graphics processor, neofetch shows it too. but still can't get the external monitor to show up anywhere
ddellaco_ has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
ddellacosta has joined #nixos
ddellaco_ has joined #nixos
ddellaco_ has quit [Ping timeout: 252 seconds]