<KarlJoad>
Is there a good/best way to override a custom derivation function that I have made?
<cole-h>
Depends on what you mean by "custom derivation function"
<KarlJoad>
cole-h: I wrote a buildOctaveLibrary function using lib.extendDerivation. For most libraries, it works fine. I need to get custom behavior on just one package.
<cole-h>
and `.overrideAttrs` doesn't work?
<KarlJoad>
I take the whole thing `(buildOctaveLib rec {...}).overrideAttrs (oldAttrs: rec {...})`. But, oldAttrs.pname is missing.
fuiltilt has quit [Quit: WeeChat 2.9]
<KarlJoad>
And pname _is_ defined.
<{^_^}>
[release-wiki] @jonringer pushed to jonringer-tag-master « Tag master after branch with new unstable branch name »: https://git.io/JLbG2
<{^_^}>
[release-wiki] @jonringer opened pull request #7 → Tag master after branch with new unstable branch name → https://git.io/JLbGi
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
<bqv>
ls
rajivr has joined #nixos
teto has quit [Ping timeout: 258 seconds]
Rusty1 has joined #nixos
ps11 has quit [Remote host closed the connection]
<Vanilla[m]>
Interesting. I patched `nix`'s flakes module to accept boolean, integer, and string attributes instead of just strings, and that made Git submodules work (by specifying `type = git` and `submodules = true`). However, I still run into a strange error when a lock file is present... Despite this, I really don't think adding submodule support to nix flakes is a big deal.
<bqv>
Vanilla[m]: let me know when you have a PR, i'm interested
<Vanilla[m]>
bqv: Since I'm a layman to the Nix codebase, it will most likely be decisively shut down. My observation was that since Flakes tries to use its attribute set as an input/fetcher, you can ask for arbitrary inputs. The only issue is that currently, it shoots down non-string attributes, and I don't really see why it should.
DanC has quit [Ping timeout: 258 seconds]
<bqv>
Vanilla[m]: oh definitely, but if you've already done it it's at least worth starting the conversation, and sharing the code
<Vanilla[m]>
bqv: Of course. I'm trying to figure out why the behavior differs with lock files now. I did open an issue yesterday with my above observations
<donofrio>
What do I add to "substituters =" in order to tell nix to compile everything and do not use AVX instruction set?
monokrome has quit [Ping timeout: 264 seconds]
<Vanilla[m]>
Huh! I think I found a bug in `libfetchers`.
lostone has joined #nixos
aladale84 has joined #nixos
aladale84 has left #nixos [#nixos]
lostone has quit [Remote host closed the connection]
monokrome has joined #nixos
lostone has joined #nixos
<lostone>
hey there, i just use nixos-rebuild test to see if my config works, and it involved a long build on the linux kernel but it ended up working as expected
<lostone>
can i save the result of this
zebrag has quit [Quit: Konversation terminated!]
<lostone>
so that i don't have to rebuild again
<lostone>
will running nixos-rebuild boot use the result of nixos-rebuild test or start all over again
<Vanilla[m]>
The function that converts JSON to a `fetch::Attrs` appears to accidentally cast booleans to integers. This means that it actually can't read `true` or `false` from JSON. This is why when a `flake.lock` file is present, the Flake input's `submodules` attribute is not properly read (complains about non-boolean). Adding appears to make my submodule-requiring Nix Flake to build.
acarrico has joined #nixos
SrPx has quit [Ping timeout: 268 seconds]
mbrgm_ has joined #nixos
lostone has quit [Remote host closed the connection]
<Vanilla[m]>
Shouldn't nix cache builds? If it built an exact derivation once, it shouldn't build it again, so you should be good out of the box.
<Vanilla[m]>
but I'm not 100% certain
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
zebrag has joined #nixos
SrPx has joined #nixos
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 17 commits to staging-next: https://git.io/JLbnW
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 20 commits to staging: https://git.io/JLbnl
<Vanilla[m]>
what's the best way to test a build (the C++ executable kind) of `nix`? Now that I have my patch, I want to make sure I didn't break anything else.
<bqv>
if it builds, the test suite succeeds. assuming eelco has done his job right, anything not in the test suite doesn't matter
Volk has joined #nixos
<Vanilla[m]>
well, running `make` seems to only compile the nix binary, since it quits right after it finishes linking
<bqv>
run nix-build, not make
<Vanilla[m]>
oh, that works too. My problem is that it rebuilds from scratch (as it should) but I'm on a super slow virtual machine, so doing that actually takes about 15 minutes every time
<Vanilla[m]>
`make check` seems to have some unit tests. 202 of them, anyway
<cole-h>
Also installcheck
ky0ko has quit [Read error: Connection reset by peer]
<lukegb>
Yeah, nix-build ing nix is not ideal if you're iterating on it
<bqv>
worked for me :p but i have a fast machine
<lukegb>
It *works* but if you're iterating it's kinda annoying to throw all the state away every time :p
<Vanilla[m]>
`make installcheck` fails a _lot_ of tests... but I can't imagine my change cause the failures. I will try stashing and seeing.
<lukegb>
(see also: nix is usually used as a packaging system not a build system, but it is at least flexible enough to be the latter see also buildGo)
<bqv>
lukegb: i consider the clean builds quite a feature. with C/C++ i can't count the number of times i've had bugs caused entirely by dirty builds
troydm has quit [Ping timeout: 268 seconds]
<lukegb>
Yeah, they're great, but there's a trade-off in iteration times
lordcirth has quit [Remote host closed the connection]
<lukegb>
Well written make files (hah) or bazel both solve this problem. As does Nix-as-a-build-system
<Vanilla[m]>
cole-h: make installcheck fails with a clean checkout of `master`
lordcirth has joined #nixos
lordcirth has quit [Remote host closed the connection]
asbachb has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @IvarWithoutBones opened pull request #108439 → apple-music-electron: init at 1.5.2 → https://git.io/JLbn9
<{^_^}>
[nixpkgs] @aanderse opened pull request #108440 → nixos/redis: replace extraConfig option with settings option → https://git.io/JLbnb
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
sigmundv_ has quit [Ping timeout: 246 seconds]
<lordcirth>
So, my system borked when I did an update - no GUI, low-res tty - and rolling back nixpkgs 20.09 to Jan 1 (using flake.lock) fixed it. Anyone else having this?
ManiacOfMadness` has quit [Ping timeout: 272 seconds]
<{^_^}>
[nixpkgs] @kalbasit merged pull request #108392 → terraform-compliance: put double quotes around the homepage URL → https://git.io/JLF60
<{^_^}>
[nixpkgs] @kalbasit pushed commit from @r-ryantm to master « terraform-compliance: put double quotes around the homepage URL (#108392) »: https://git.io/JLbWS
<lukegb>
donofrio: no, this is the nix config
<lukegb>
lemme doublecheck
<donofrio>
lukegb, ok I updated the config.nix with the substituters = but I'm wondering what commands do I type next?
<lukegb>
the substituters = is in /etc/nix/nix.conf
<donofrio>
oh gee I did it in /Users/donofrio/nixpkgs/config.nix but I'll updated that file as well....
<lukegb>
then if you run `nix-collect-garbage` then it should delete a bunch of stuff
<lukegb>
then if you try building something it should build from source
<donofrio>
the nix directory doesn't exist in /etc
<lukegb>
ah - do you know if you have a multi-user or single-user nix setup?
<lukegb>
(it's possible it's somewhere else, like /private/etc/nix/nix.conf - I'm not 100% familiar with Nix-on-Mac)
YangM_special1 has joined #nixos
fuiltilt has joined #nixos
<donofrio>
no nix in /private/etc
<bqv>
the annoying thing, is that git-crypt solves the problem of eval-secrets and runtime-secrets in one fell swoop, whereas if i use one of the secrets provisioning tools, that solves the problem of runtime secrets but i have to find another solution for all my secret .nix files
<donofrio>
well `nix-collect-garbage' is now deleting all my compiled packages it seems
<lukegb>
right, it'll delete anything that isn't a gcroot
<lukegb>
well, that isn't referenced by a gcroot
<donofrio>
how is this going to exclude AVX from compiling?
<lukegb>
it shouldn't be used unless your CPU supports it when building
<donofrio>
well ok, but everytime I've compilied it seems to compile for it then I get "Illegal Instruction :4" after 16 hours compiling everything....
<donofrio>
but I'm game to "try again"
<donofrio>
4gb freed
<lukegb>
what does `nix eval '(import <nixpkgs> {}).stdenv.hostPlatform.avxSupport'` say?
<lukegb>
but if you say you've already spent 16 hours compiling everything then it sounds like you already had that part working
<lukegb>
which would maybe have been useful to know before I told you to run nix-collect-garbage :p
<donofrio>
I also want to compile partclone to be abel to restore data from a backup I made with clonezilla on a 24inch imac with bad partition that I cloned using linux and dd'ed to ssh volume on mac pro server is baseent
<lukegb>
I'm surprised it takes 16 hours to compile python, but I guess that's probably down to the enable-optimizations stuff
<YangM_special1>
Anyone know how to install vscode cpptool? I can't find it.
YangM_special1 has quit [Remote host closed the connection]
<lukegb>
oh, hmm, although optimizations shouldn't be used on Darwin anyway
<lukegb>
also, what version of macOS are you using
<kalbasit>
How to calculate 2^16 in Nix? :thinking_face:
<siraben>
Why when I adjust ghcWithPackages, caramia rebuilds? http://ix.io/2KUt
andreas303 has quit [Remote host closed the connection]
ps11 has quit [Remote host closed the connection]
<julm>
bqv: yes, this one would be more easy indeed
<lukegb>
donofrio: well, you said you wanted to compile *everything*, and everything includes all the bootstrap utilities and the default standard environment
<bqv>
julm: i reckon the opposite. e.g. i'm about to start using agenix which i just found because it's available as a flake and doesn't require dirtily patching nixpkgs, but your PR is buried with all the other stale nixpkgs PRs
<lukegb>
(it does even on my systems that support avx and avx2)
<bqv>
either way, up to you, i care less about this one than the apparmor one
<lukegb>
so Nix thinks it's building on a system without avx support as well; you can do similarly with .targetPlatform to check it thinks it's building for a system without avx support
<{^_^}>
[nixpkgs] @Ericson2314 merged pull request #108350 → treewide: Inline more of the static overlay → https://git.io/JLdFg
<KarlJoad>
kalbasit: I didn't think building `name` affected the availability of `pname` and `version`?
<KarlJoad>
lukegb: What do you mean by "dopping most of the attributes"?
<lukegb>
you swallow them into "attrs"
<lukegb>
but then don't pass them into mkDerivation
<lukegb>
so from mkDerivation's perspective (and everything downstream), there *is* no pname attribute
<kalbasit>
KarlJoad: I believe pname gets removed before it's given to mkDerivation. What lukegb said :) ^^
<lukegb>
the conventional way that you'd do that is to only accept as arguments the things you need or the things you're overriding (by adding to or whatever)
<lukegb>
it's a wrapper around fetchzip that makes sure to pass any arguments it doesn't understand in to the underlying function
<lukegb>
donofrio: *nods*
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<lukegb>
I have to go to sleep; if this build doesn't work, do you know how to use a debugger to figure out which library the illegal instruction is in?
<lukegb>
it's possible that there's something that's mis-detecting AVX
<lukegb>
(or some other illegal instruction, like trying to make system calls that don't exist for whatever reason)
spacefrogg has joined #nixos
<donofrio>
lukegb, what is .targetPlatform? and where do I set it globaally?
<KarlJoad>
lukegb: So how would I go about getting `pname` and `version` (or `name`) to be available inside the override?
<lukegb>
KarlJoad: well, in the simplest case, you could just add them to the argument attrset and then inherit them separately into the mkDerivation call
<lukegb>
but if you're going to do that one-at-a-time, then I'd remove the trailing ", ..."
<lukegb>
the preferred approach would be to merge in all of attrs, and use builtins.removeAttrs to remove all the things that you're overriding in buildOctaveThingy
<KarlJoad>
Could you point me at an example of the preferred approach?
<lukegb>
donofrio: targetPlatform should default to your local system; it's a bit complicated to override because the assumption there is you're cross compiling
<lukegb>
(https://sourcegraph.com/search?q=repo:%5Egithub%5C.com/NixOS/nixpkgs%24%40master+removeAttrs+f:build-support+count:1000&patternType=regexp#23 is a bunch of these, approximately)
<donofrio>
lukegb, how do I tell it I'm not cross compiling? and only compile for core duo 2 only and forever?
stephank8 has joined #nixos
<KarlJoad>
lukegb: So, I would do the `//` stuff in mk-octave-derivation.nix, not symbolic/default.nix?
<bqv>
ok ok, idea
<bqv>
rather than git-crypt, i put all my secrets, runtime or eval-time, into provisioned secrets, then have the current-system secrets directory as a flake input
<bqv>
that way, everything is under the same secrets system
<bqv>
it's even deterministic, since the input will be locked
stephank has quit [Ping timeout: 240 seconds]
stephank8 is now known as stephank
<{^_^}>
[nixpkgs] @cleverca22 opened pull request #108452 → profiteur: jailbreak and un-break → https://git.io/JLb4k
YangM_special1 has quit [Remote host closed the connection]
<jhgarner>
Hi, I run nixos unstable on my laptop and am trying to run a window manager pinned to a version of nixos-20.09. Everything builds fine but I get opengl errors (libGL error: failed to load driver: iris, etc.) when trying to run it. If I build the project using stack then I can run it fine. Any advice on how I can find the problem and fix it?
madalu has joined #nixos
eacameron has quit [Quit: Connection closed for inactivity]
donofrio has quit [Ping timeout: 260 seconds]
<KarlJoad>
What is the proper way to override a python package version for nixpkgs? I followed the documentation in nixpkgs, but I didn't end up with the right result. I need sympy 1.5, but python 3 defaults to using a newer sympy version.
<KarlJoad>
jhgarner: The thing is, there is already a sympy 1.5 defined in nixpkgs that I have tested and know works.
donofrio has joined #nixos
endformationage has quit [Quit: WeeChat 2.9]
Supersonic112 has joined #nixos
jhgarner has quit [Remote host closed the connection]
Supersonic has quit [Ping timeout: 272 seconds]
Supersonic112 is now known as Supersonic
sss2 has quit [Quit: Leaving]
<julm>
bqv: hmm, if buildHost == targetHost it can be usefull indeed, you then only write the build-time cleartext on ramfs.; but otherwise it might be confusing and less quick/flexible/portable to have such managing of targetHost's build-time secrets in buildHost's configuration.nix. But I don't know, tell me if this work well for you in the end
lunik1 has quit [Quit: Ping timeout (120 seconds)]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
lunik1 has joined #nixos
<Vanilla[m]>
anyone use `buildCrystalPackage` here? It seems to be running the default builder for me....
donofrio has quit [Ping timeout: 240 seconds]
donofrio has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
JaexilGilroyRath has joined #nixos
Volk has quit [Quit: See you next time!]
astylian has quit [Read error: Connection reset by peer]
Dotz0cat_ has joined #nixos
Dotz0cat has quit [Ping timeout: 272 seconds]
zebrag has quit [Ping timeout: 260 seconds]
jumper149 has quit [Quit: WeeChat 3.0]
monotux has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
<Vanilla[m]>
How come flakes' `packages` attribute can't have nesting? I had a nice little structure of `blog.<language>.<type>` in my derivation, but now I have to flatten it.
<aolasz>
for some reason when I click on the download 64bit button, I get the nixos-minimal-20.09.2338.3d2d8f281a2-x86_64-linux.iso instead of the nixos-minimal-20.09.2483.c5c6009fb43-x86_64-linux.iso.sha256, thats why I thought its wrong
<energizer>
no idea what that is other than "some networkmanager thing" but i guess that's good enough
malook has quit [Remote host closed the connection]
<energizer>
tho it's probably not ideal to have network/security things running that i can't identify
pushqrdx has joined #nixos
<pushqrdx>
for the sake of completeness regarding my very bizarre and apparently very nixos related jack audio issue i reinstalled nixos on another partition
<pushqrdx>
and for some reason i have the same issue (that i didn't have just a couple of days ago)
<pushqrdx>
can't check in named futex name = jack_sem.default_system err = Permission denied
<pushqrdx>
cadence throws this
<pushqrdx>
it never did, everything worked out of the box before
<pushqrdx>
so what happened? idk and the problem on the internet is virtually non existent aside from some nixos irc logs
<pushqrdx>
i even tried to go back with everything to nixos stable 20.03
<pushqrdx>
nothing works
<pushqrdx>
i am so fed up with this, if someone uses jack/cadence and could chime in and end this suffering please do :D i am calling for help
<andi->
At least it is consistent and doesn't change across reinstalls. NixOS delivers it's promise ;)
<qyliss>
pushqrdx: have you tried pipewire?
<qyliss>
I've heard of people having much better luck with it than jack on nixos recently.
<qyliss>
(although I haven't tried it myself)
<pushqrdx>
kinda, except that it was working on gen #4, the i upgraded and it broke on gen #5, but i thought nice that i have my old gen, went back there and it was also broken lol
<andi->
does jack write stateful files somewhere?
<andi->
I know also used to do that / still does that
<andi->
Probably things like volume and sink selection
<pushqrdx>
qyliss yeah i was one of the very advocates for pipewire, except that nixos upgraded to 0.3.18 and it was utterly broken on my system
<pushqrdx>
andi- but even if it does, why on earth even going to a fresh install (on nixos stable 20.03) have the same exact issue
<andi->
did you keep /home?
<pushqrdx>
no, it's a brand new install on another hard drive
<energizer>
the author of (the excellent audio tool) Ardour says about pipewire "Given the apparent similarities to gstreamer I have notable doubts about their fundamental design (for example, I’m not convinced that they’ve understood the importance of using a pull model at the lowest layers)." https://discourse.ardour.org/t/is-pipewire-the-answer/89148
<andi->
mhmm
<andi->
I'll give pipewire another 5 years. The entire story isn't as polished as it must be for every day usage..
<pushqrdx>
energizer i don't care about opinions, i only care about performance and doing the job it's expected to do, and for that i can safely say after running pipewire for 3 month that even at it's very early stage, it did almost all i used to do seamlessly on macOS
<andi->
I don't have time to contribute nor to play around with it..
<pushqrdx>
no other linux audio solution managed to pull that off
<pushqrdx>
low latency, running side by side with other higher buffer apps all managed automatically without even touching a config
<andi->
I am pretty happy with pulse but then again I am not a Jack user..
<pushqrdx>
reminded me so much of coreaudio
<pushqrdx>
pulse is a big nope if you want low latency and/or doing stuff with music or patching audio around
<pushqrdx>
after pipewire broke for me i bit the bullet and setup jack and cadence made that a breeze somehow, it worked very nicely for 3 weeks, then i decided to upgrade nixos
<energizer>
pushqrdx: if it works for you then good. out of curiosity, what was your use case? just normal desktop usage, or pro audio management?
<pushqrdx>
and again, fuck me for every thinking about that again
<pushqrdx>
energizer music production, recording
<energizer>
ok
tgamblin-llnl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pushqrdx>
point is i can only imagine pipewire at 1.0, it's gonna be really really good, (i ran it for 3 month with pulse/jack disabled) and it did the job of everyone of them
<pushqrdx>
jack apps continued to work as if jack was installed, pulse apps were happy, and most importantly it didn't use a fixed buffer size that isn't always necessary at all times
teto has joined #nixos
<pushqrdx>
it seamlessly switched depending on demand
<pushqrdx>
back again at the jack issue, anybody can help please lol
<pushqrdx>
gonna leave that error here again in case
<pushqrdx>
Allocate: can't check in named futex name = jack_sem.default_system err = Permission denied
<pushqrdx>
(and yes if i run cadence as root i can start jack, but root user doesn't belong or have audio related stuff)
<pushqrdx>
previously i just started cadence as normal user and hit start that's it
<kraem>
pushqrdx: can't help you but i've been fighting with jack for a while now. do you have some configs i can look at? (even though they're supposedly broken :p)
<energizer>
i got jack running but only under root
<pushqrdx>
kraem the working setup i had didn't envolve any configs, just enable jack in your configuration.nix (with alsa) add cadence to your packages, that's it
<pushqrdx>
oh and disable pulse audio
<pushqrdx>
in configuration.nix
<pushqrdx>
because you can run pulse from cadence and bridge it into jack
<pushqrdx>
all worked perfectly
<kraem>
does applications "hardcoded" to use pulse play nicely with jack in that situation?
<kraem>
ah alright
<pushqrdx>
yeah
eoli3n has quit [Remote host closed the connection]
<kraem>
i'll look into that solution. thanks.
<pushqrdx>
because you start a pulse server from cadence, and set alsa -> pulse -> jack under Alsa in the JACK Bridges section
eoli3n has joined #nixos
malook has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<aolasz>
lordcirth Managed to solve the problem with `nixos-install --max-jobs 1 --cores 1`. Thanks for the discussion yesterday. I think nixos-install is not well tested on multicore machines. How would you start writing a ticket about the issue?
griff_ has quit [Ping timeout: 264 seconds]
malook has quit [Client Quit]
vidbina_ has quit [Ping timeout: 246 seconds]
<aolasz>
I had a problem with nixos-install giving me an error: "error: all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group". Managed to solve the problem with `nixos-install --max-jobs 1 --cores 1`. I think nixos-install is not well tested on multicore machines. How would you start writing a ticket
<aolasz>
about the issue?
pushqrdx has quit [Remote host closed the connection]
orivej has joined #nixos
<bqv>
Pipewire works now?
<bqv>
Can it do bluetooth yet
<energizer>
a couple people in here are using it with varying levels of success
est31 has quit [Remote host closed the connection]
<energizer>
looks like pipewire did actually change its design to use the pull model for reduced latency, which is nice
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLb6O
__monty__ has joined #nixos
greaka has joined #nixos
belst has joined #nixos
hyper_ch5 has joined #nixos
psy3497 has quit [Ping timeout: 240 seconds]
hyper_ch4 has quit [Ping timeout: 240 seconds]
kgz has joined #nixos
JonasW[m] is now known as JonasWouters[m]
pushqrdx has joined #nixos
<pushqrdx>
fuuuuuuuuuck i figured it out, but not technically solved it
<pushqrdx>
so the reason i upgraded nixos was that i switched my graphics from ipgu to an nvidia card, so i upgraded and installed nvidia drivers
graf_blutwurst has quit [Read error: Connection reset by peer]
<pushqrdx>
nvidia drivers caused the jack audio issue
rapgru has joined #nixos
graf_blutwurst has joined #nixos
<pushqrdx>
or nvidia ? i will try to run modesetting driver on the nvidia card and see if jack suffers the same problem
<pushqrdx>
but i am now back on igpu (removed nvidia drivers) and jack starts successfully
<rapgru>
Hi, question: Is there a way to just add a nix set to nixpkgs via overlay? I want to define kernelPatch sets in one module and set boot.kernelPatches = pkgs.myPatchXY; in another
<{^_^}>
[nix] @edolstra pushed to master « Fix deadlock in LocalStore::addSignatures() »: https://git.io/JLbie
attila_lendvai has joined #nixos
beaky has quit [Read error: Connection reset by peer]
pushqrdx has quit [Remote host closed the connection]
rapgru has quit [Remote host closed the connection]
beaky has joined #nixos
lsix has quit [Quit: WeeChat 2.9]
Diogo has joined #nixos
Diogo has quit [Read error: Connection reset by peer]
<Reventlov>
I replaced my motherboard on my laptop so of course my UUID of the disk has changed, what would be the best way to fix that? (encrypted disk)
<Reventlov>
Boot on some live medium and change everything ? Or is there something easier ?
<{^_^}>
[nixpkgs] @fabaff opened pull request #108477 → python3Packages.webthing: init at 0.15.0 → https://git.io/JLbyj
<dminuoso>
Reventlov: Mmm, Id say booting from any nixos disk is easiest.
<dminuoso>
Then you can just run `nixos-generate-config --show-hardware-config > /etc/nixos/hardware-configuration.nix`
<sphalerite>
Reventlov: the uuid of the disk should not change as a result of the motherboard swap!
<sphalerite>
Are you sure you're using the uuid
<sphalerite>
?
<Reventlov>
yeah
<Reventlov>
but it's a laptop, and dell is doing weird stuff
<Reventlov>
maybe the uefi config changed, let me check
<dminuoso>
Well, if the mainboard was switched, the old uefi config is _gone_
ManiacOfMadness has joined #nixos
<Reventlov>
yeah but i don't really know why it would prevent stage 1 from finding the disk
<sphalerite>
Reventlov: aaah I know!
<sphalerite>
Reventlov: you need to switch the mode from RAID to AHCI like you did when you initially set it up :)
<Reventlov>
wait, sata operation, "raid on", would that be that ?
<Reventlov>
:D
<Reventlov>
let me check
<dminuoso>
sphalerite: So if there's a raid controller in between, you'd see it's UUID?
<Reventlov>
yup that was it !
<Reventlov>
thanks all :)
<sphalerite>
dminuoso: no, linux just doesn't see the device at all
WilliButz has quit [Ping timeout: 240 seconds]
Supersonic has quit [Quit: Bye]
Acou_Bass has quit [Ping timeout: 260 seconds]
Supersonic has joined #nixos
Acou_Bass has joined #nixos
dycan has joined #nixos
<Cadey>
cursed question, but is it even technically possible to use ansible with NixOS?
WilliButz has joined #nixos
vidbina_ has joined #nixos
<dminuoso>
Cadey: In principle, sure.
<dminuoso>
Many ansible modules wont work under NixOS, however, so there's that.
ferrarinho26 has joined #nixos
ferrarinho26 has left #nixos [#nixos]
graf_blutwurst has quit [Remote host closed the connection]
<dycan>
hi, I nix-shell -p "haskell.packages.ghcjs.ghcWithPackages (p:[])". But error: https://justpaste.it/4zie8. In an issue it redirects me to, it says "cabal-version: >= ..." should be "cabal-version: ..." in the first line. How could I do that?
cfricke has joined #nixos
<{^_^}>
[nixpkgs] @ymarkus opened pull request #108478 → bookstack: init at 0.31.1 → https://git.io/JLbHt
cfricke has quit [Client Quit]
meh` has joined #nixos
aswanson has joined #nixos
andi- has joined #nixos
dycan has quit [Remote host closed the connection]
<zangi>
is it even possible to build `haskellPackages.random_1_2_0`? it depends on `haskellPackages.splitmix` while `splitmix` also depends on `random`
Chiliparrot has joined #nixos
<lucus16>
In the case of import from derivation, how can I tell what final derivation(s) Nix is trying to build in order to evaluate an expression?
<lucus16>
If I nix-instantiate it and then abort immediately, it shows me the first few derivations it starts building but not what that is working towards
dycan has quit [Ping timeout: 264 seconds]
MichaelRaskin has quit [Ping timeout: 260 seconds]
<kraem>
i've been searching the irc logs but can't find it; i seem to remember someone calling nix-collect-garbage with an argument of explicitly how many generations to save. is my memory failing me?
<lucus16>
kraem: Probably some invocation of nix-env --delete-generations applied to the system env
<kraem>
hmm i'm not talking about specifying what generations to collect, but what gens to save..
<lucus16>
See its documentation, e.g. +5 keeps the last five generations
<kraem>
lucus16: i can't see it mentioned on nixos.org/manual/nix either (both stable/unstable). where did you find it?
<{^_^}>
[nixpkgs] @attila-lendvai opened pull request #108481 → nixos/doc/manual: In the preface, add link to #chap-contributing → https://git.io/JLbde
<lucus16>
zangi: Dunno, code base is large and not open source. I'm hoping Nix can somehow tell me what dependency is needed for evaluating before building it
<kraem>
oh it is under nix-env. thanks :)
<zangi>
lucus16: I'm not really sure, but nix-instantiate doesn't build, it only calculates the .drv files, the building is done by `nix-store --realise /path/to/drv`
vidbina_ has quit [Ping timeout: 272 seconds]
<lucus16>
zangi: Normally it doesn't build but with import-from-derivation, a build needs to complete before the final derivation can even be instantiated, in which case it will start building that
<KarlJoad>
How can I override a python package with an older version? The older version I want to use is already in nixpkgs, and I would prefer to use that.
<esotericn>
hmm, okay, so compiling flatbuffers 1.12.0 is broken in latest nixpkgs due to some compilation warnings that end up being treated as errors
<Reventlov>
Hey there. Does enabling sway in the xsession is supposed to install sway ?
<Reventlov>
s/sway/i3/, sorry
<esotericn>
https://github.com/google/flatbuffers/issues/5950 goes through them. they're fixed in master (going to test this locally now), but I guess generally best practices in nixpkgs are to stick to tags - if I want to make a PR to fix this how should I go about doing that?
<KarlJoad>
I have checked by removing the oldAttrs.something and hard-coding in the values, and it works as intended. It's the oldAttrs that I'm confused about.
<KarlJoad>
Does nix have a built-in function or a provided shell function for appending to a file? Right now I'm just `echo "message" >> file` in the buildPhase.
nwspk has joined #nixos
fendor_ has joined #nixos
erickLan has joined #nixos
kunrooted[m]1 has joined #nixos
erickLan has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 260 seconds]
erickLan has joined #nixos
erickLan has quit [Remote host closed the connection]
erickLan has joined #nixos
<sphalerite>
KarlJoad: seems like a sensible approach.
<ElXreno[m]>
I override `linuxPackages_5_10` by version from unstable.
obadz has joined #nixos
<ElXreno[m]>
* I override `linuxPackages_5_10` by version from unstable. JFI.
<obadz>
hi all — struggling getting grub + EFI working on a new PC. What artifacts should I be looking for in the ESP partition to see that grub was properly installed?
<obadz>
I saw an EFI/Boot/bootx64.efi but wasn't 100% sure this was created by GRUB
<obadz>
also when I remove it and re-run nixos-rebuild boot it doesn't seem to re-appear
<lukegb>
ElXreno[m]: you'll probably have to construct the nixpkgs overlay yourself
<Nigel[m]>
obadz: is systemd boot an option for you?
<obadz>
(running strings on this file suggests it's definitely grub)
<obadz>
Nigel[m]: doesn't that mean the kernels end up being copied on the EFI partition? if so, no.
Neo--- has quit [Ping timeout: 264 seconds]
<ElXreno[m]>
<lukegb "ElXreno: you'll probably have to"> Will it work? I assume there is no attribute for the package itself.
<lukegb>
ElXreno[m]: well, you can get the set of packages in linuxPackages_5_10 using something like "pkgs.linuxPackagesFor (pkgs.linux_5_10.override { stdenv = pkgs.ccacheStdenv; })"
oht[m] has joined #nixos
<Nigel[m]>
<obadz "Nigel: doesn't that mean the ker"> Ok, on a new pc should work out of the box. I can share my nix 'bootstrap' that worked for me last week or so
<{^_^}>
[nixpkgs] @prusnak opened pull request #108490 → libsurvive: init at 0.3 → https://git.io/JLNfv
<immae>
Is there an existing nix function to make use of the stack.yml.lock files in haskell projects, rather than recomputing everything manually? Every tool I see seem to ignore them (it’s a recent addition to stack so this may explain that...)
<{^_^}>
[nixpkgs] @pacien opened pull request #108491 → wrapFish: add fish shell wrapper package → https://git.io/JLNfT
<lordcirth>
When I run "sudo nix-env --list-generations -p /nix/var/nix/profiles/system" I see 1 through 156. But I just ran "nix-collect-garbage --delete-older-than 30d". Isn't that supposed to delete system generations?
erickLan has quit [Remote host closed the connection]
<lordcirth>
Ah, with sudo it deletes system gens. Would be nice to have a warning
<obadz>
Nigel[m]: I tried with systemd-boot, it didn't work any better. Something about this PC's BIOS I guess. I disabled secure boot and fTPM and it still refuses to boot linux
<lukegb>
new year's resholution
<abathur>
<3 gchristensen
<{^_^}>
gchristensen's karma got increased to 0x18e
<obadz>
(I can only boot in legacy mode using grub on a usb stick)
<gchristensen>
worldofpeace: we need some of your trademark sparkles!
<worldofpeace>
✨ abathur
<{^_^}>
abathur's karma got increased to -2147483648
<worldofpeace>
gchristensen: I was just moving my fingers to send them ✨ ✨
hnOsmium0001 has joined #nixos
<worldofpeace>
✨ abathur
<gchristensen>
:D
<{^_^}>
abathur's karma got increased to 14, it's a crit!
<KarlJoad>
Is there a nice way to add a bash function to the standard setup.sh file used when building?
<worldofpeace>
there, now it shows a positive number
<abathur>
heheh, pulled me back from the karmic event-horizon
<gchristensen>
abathur++
<{^_^}>
abathur's karma got increased to 15
<worldofpeace>
KarlJoad: having to add to setup.sh I think requires a patch (and thusly a rebuild of everything), so usually that shouldn't be needed. have you looked at setup hooks etc.?
astylian has quit [Ping timeout: 264 seconds]
<KarlJoad>
worldofpeace: I have a `makeSetupHook { deps = makeWrapper; } ./wrap.sh`, but I can't seem to get the shell function I wrote there to be present.
zebrag has quit [Quit: Konversation terminated!]
<obadz>
Nigel[m]: systemd-boot didn't work any better.
<abathur>
are you adding the hook to, eh, I guess it's nativeBuildInputs?
zebrag has joined #nixos
<obadz>
Since I booted in legacy mode, I can't touch EFI variables. Do I need to touch EFI variables to install the EFI boot loader properly?
Cale has quit [Read error: Connection reset by peer]
<worldofpeace>
KarlJoad: so if your wrap.sh has just bash functions in it, this should work that way. And then in the derivation you want to use them you have to add the setupHook to `nativeBuildInputs` to be able to use them. Have you done that?
<KarlJoad>
abathur: Thank you for reminding me. I forgot about that part.
aswanson has quit [Remote host closed the connection]
aswanson has joined #nixos
<donofrio>
still compiling clang and moar all for pianobar....ugh lol hour 12 so far
<ElXreno[m]>
<lukegb "I don't have a huge amount of ex"> Ok, it works, but nix should be build firstly, and then `extra-sandbox-paths` will be applied. Thank you!
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « qt514.qtwebengine: fix build with gcc10 »: https://git.io/JLNTn
attila_lendvai has quit [Ping timeout: 264 seconds]
<KarlJoad>
Why would a makeSetupHook-provided shell function be available and "working", but not accepting parameters?
<hyper_ch>
any docker gurus here?
<sphalerite>
,ask hyper_ch
<{^_^}>
hyper_ch: Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
Keij0 has quit [Quit: I died, lol]
<{^_^}>
[nixpkgs] @fabaff opened pull request #108499 → Ha parse → https://git.io/JLNIn
<sphalerite>
if it's actually nixos-related. Otherwise, → #nixos-chat or → #docker :)
<KarlJoad>
Wait, nevermind my question. It was just my usual problems with Bash scripting coming along.
<KarlJoad>
I lied. The function I provide in a makeSetupHook-added file works, but doesn't accept parameters. Does anyone have a clue why?
<Kozova1>
trust nobody, not even yourself
<sphalerite>
_especially_ not yourself :D
<KarlJoad>
Bash tends to do that to me. The fact an undefined variable can be used and it defaults to an empty string screws with me so much.
<sphalerite>
ah, the joys of stdenv and not being able to set -u
<KarlJoad>
But seriously, I can't figure out why I can't get the parameters to work. I've tested the function by putting it in the postBuild phase block, and it _does_ do what I want. Just when it's in a separate file, pulled in with makeSetupHook, it doesn't accept more than one parameter, but it works.
<eacameron>
NetworkManager doesn't seem to realize I even have a wifi device though but that was already the case because it failed to boot the service.
<eacameron>
Does anyone know how to clean up space in /boot/EFI/nixos? It's getting very full
<Nigel[m]>
<obadz "Since I booted in legacy mode, I"> Sounds to me like that is the issue here - could always be some BIOS setting too, I tend to persevere with (U)EFI with a view to a more secure setup in the end
<eacameron>
Looks like /boot/EFI/nixos has previous versions of the linux kernel still there?
domogled has joined #nixos
Lord_of_Life_ has joined #nixos
<kunrooted[m]1>
does cups work properly in NixOS?
rxf4e1 has joined #nixos
Lord_of_Life has quit [Ping timeout: 246 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<kunrooted[m]1>
I want to distro hop but I dunno if it's a good idea
rxf4e1 has quit [Client Quit]
<kunrooted[m]1>
also, is there a way to use AUR or something? because most of the tools which I use I got from AUR/BlackArch repos
<hexa->
cups works in general, but if your printer driver ships binaries, like brothers cupswrapper, it won't work ootb
rxf4e1 has joined #nixos
<hexa->
unlikely
<hexa->
but nixpkgs has a large package set, so it might already have what you're looking for
rxf4e1 has quit [Client Quit]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
nhs_ has quit [Remote host closed the connection]
andreas303 has quit [Remote host closed the connection]
<kunrooted[m]1>
I mean, I can still build stuff from sources myself, but it's still, sadly, less convinient than just `yay -S blackarch-forensics` or something
<kunrooted[m]1>
I mean, it would be pretty cool to do so and develop stuff for nixpackages since more and more of my friends are moving to nixOS
<esotericn>
hexa-: ah, excellent
<kunrooted[m]1>
I mean, it would be pretty cool to do so and develop stuff for nixpackages since more and more of my friends are moving to nixOS, here's an example of my soft
<esotericn>
hexa-: thanks, I struggle to search for such generic terms :P
<sphalerite>
maybe you should try using nix on your current distro instead of jumping straight into nixos, to get a taste for what it's like working with it and what the difficulties are etc and without needing to use evil systemd :p
<esotericn>
useful to look at that page in general for stuff like GC options
nature_ has joined #nixos
lsix has quit [Ping timeout: 264 seconds]
<kunrooted[m]1>
<sphalerite "maybe you should try using nix o"> yeah, I did
<{^_^}>
[nixpkgs] @bjornfor opened pull request #108504 → nixos: fix "nixos-rebuild build-vm-with-bootloader" for EFI systems → https://git.io/JLNqs
<kunrooted[m]1>
but, still, I can't get cups working on Artix, same with some other stuff
<sphalerite>
cups is easy to get working, it's your printer that's the tricky bit :p
<{^_^}>
[nixpkgs] @fabaff opened pull request #108505 → python3Packages.aiohomekit: init at 0.2.60 → https://git.io/JLNqB
<kunrooted[m]1>
<sphalerite "cups is easy to get working, it'"> you see, not on Artix
<kunrooted[m]1>
all guides are for systemd-initted systems so I have to think about commands for my soydev thing
<kunrooted[m]1>
I've also installed avahi, and it surely does detect my printer on the network, but it still can't print even one sheet of paper
astylian has joined #nixos
<ronny>
anyone aware of a way to parametrize a nix configuration in a way that when the resulting system is booting its autoselecting (i have a folder with per machine modules)
<kunrooted[m]1>
yay -S cups doesn't install cups as a service and the service does not exist in `/etc/runit/sv`
<{^_^}>
[nixpkgs] @Ericson2314 opened pull request #108507 → ott-mode: Factor our from ott → https://git.io/JLNqw
vidbina_ has joined #nixos
<sphalerite>
well, systemd-based systems do tend to be easier :>
<gchristensen>
and using the dependency primitives well lets you start faster
astylian has quit [Ping timeout: 246 seconds]
<esotericn>
what's the syntax for using remote builders in nix.conf? not the nix language format but the generated one (e.g. for a non nixOS machine)
lsix has joined #nixos
<esotericn>
i'm not sure how to put a list in that file
<kunrooted[m]1>
<sphalerite "well, systemd-based systems do t"> yeah, surely they are easier, at least in some ways
<kunrooted[m]1>
but they also boot slower for me and I don't really need everything that comes with systemd, also, systemd is not actually an init system at all....
<kunrooted[m]1>
but don't get me as an hater of systemd, in fact, I love it, but, you know, old habits haha
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JLNsS
<asbachb>
I guess I cannot use extraGSettingsOverrides at all since I don't use gnome3 only nautilus as systemPackage.
<pushqrdx>
asbachb if extraGSettingsOverrides is part of the gnome desktop module then ofc you won't be able to use it, however you can see the source code for it on github and see what the option does
<{^_^}>
[nixos-search] @turboMaCk pushed to turboMaCk/keyboard-navigation « Add semanticaly clicable `button` element to result list »: https://git.io/JLNGC
<{^_^}>
[nixos-search] @turboMaCk opened pull request #260 → Add semanticaly clicable `button` element to result list → https://git.io/JLNG4
<worldofpeace>
cole-h: they've mostly been nightmares. oh goodness the shade
<cole-h>
lol
<worldofpeace>
Actually, I think I had one good dream about Graham and we were in garden and we thought the mountains looked like psoriasis, and we just laughed
<asbachb>
pushqrdx: Looks like blackmagic at least for me...
sss2 has joined #nixos
<worldofpeace>
pushqrdx: ayee. have u still been pushing that pantheon stuff on github?
<worldofpeace>
I just had a patch merged to fix the elementary-files problem with the systemd unit
<pushqrdx>
worldofpeace been running and using the full desktop since then works very nicely
<pushqrdx>
worldofpeace nice, i don't remember how i got around that systemd unit for files, i think i disabled it
cosimone has quit [Quit: cosimone]
<pushqrdx>
yeah i was passing "-Dsystemduserunitdir='no'" to meson but that's a hack
belst has joined #nixos
lsix has quit [Ping timeout: 260 seconds]
greaka has joined #nixos
<pushqrdx>
worldofpeace have you found a way around their libgnomekbdui update that broke the keyboard plugin?
<worldofpeace>
pushqrdx: ur a mind reader. Just started to look at that. I see you commented the patch also
cyraxjoe has quit [Ping timeout: 260 seconds]
<pushqrdx>
worldofpeace lol, yeah that thing was just driving me insane, it works with that derivation, but it's an older version
<worldofpeace>
pushqrdx: just made the fix, actually 😸
<rmcgibbo>
Does anyone know about nixpkgs-review?It shows the commands that it's execursizing, like
<rmcgibbo>
Ah, sorry.
<supersandro2000>
rmcgibbo: yeah me
<rmcgibbo>
That it's *executing*, like `nix-env -f /home/mcgibbon/.cache/nixpkgs-review/pr-108510-2/nixpkgs -qaP --xml --out-path --show-trace`, for example...
naso has joined #nixos
<pushqrdx>
worldofpeace funny that the PR that changed it claims to FIX it lol
<rmcgibbo>
But when I try to execute that same kind of command myself, I always get ```$ nix-env -f ~/projects/nixpkgs/ -qaP --xml --out-path --show-trace --metaerror: while evaluating 'callPackageWith' at /home/mcgibbon/projects/nixpkgs/lib/customisation.nix:117:35, called from /nix/store/1d5x84zdwsgl7223b3b66f00dr5s4w1n-source/default.nix:299:21:while
<rmcgibbo>
evaluating 'makeOverridable' at /home/mcgibbon/projects/nixpkgs/lib/customisation.nix:67:24, called from /home/mcgibbon/projects/nixpkgs/lib/customisation.nix:121:8:anonymous function at /nix/store/1d5x84zdwsgl7223b3b66f00dr5s4w1n-source/builders/benchmark.nix:1:1 called without required argument 'test', at
<rmcgibbo>
I think my callPackageWith error message must be related to overlays or NIX_PATH.
<pushqrdx>
i have an annoyance with nix that i am sure there has to be a way around, i have started to use nix-build more often to build projects but i found that for each run it creates a new store path, copies all files and builds in the store, which ended up wasting huge amounts of space
<rmcgibbo>
Also, especially relevant maybe to supersandro2000: I was thinking about trying to make a github bot that runs nixpkgs-review every hour or something against open nixpkgs PRs using github actions. Or maybe it would need to evaluate only a subset of the packages that aren't that slow to build, I'm not sure how much I could fit in the free tier.
<rmcgibbo>
But maybe someone's already done that? If not it should fun.
<{^_^}>
[nixpkgs] @Ma27 opened pull request #108519 → nextcloud: improve documentation on defaults → https://git.io/JLNnp
<pushqrdx>
i wonder if there's a way to locally build or at least use the same store path for each run
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLNcJ
<{^_^}>
[nixpkgs] @Ma27 opened pull request #108520 → [20.09] nextcloud: improve documentation on defaults → https://git.io/JLNct
<supersandro2000>
rmcgibbo: I already started to collect packages which are slow to build but I think github actions are to slow for that
<supersandro2000>
we have ofborg that probably already fits that category
<rmcgibbo>
My thinking was that I could, for each package it proposes to rebuild, check the latest hydra evaluation and look at the "duration", and then find only the ones such that sum(durations) <= threshold (binpacking problem).
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLNcP
<worldofpeace>
pushqrdx: which PR?
sreybastien is now known as sreybastien_aw
* naso
hopes that the changes will make it into nixos-21.03 ;)
asbachb has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @0x4A6F opened pull request #108522 → tumpa: init at 0.1.1 → https://git.io/JLNcF
<rmcgibbo>
How much compute time do you usually spend per nixpkgs-review, Sandro? I don't know what limits github imposes on compute time for OSS projects, but I would think you could get a lot done with ~15 minutes of build time per allocated per PR x O(100) PRs per day.
<danderson>
Anyone seen NixOS hang in early boot before? I somehow have a borked DigitalOcean VM that hangs at "Booting the kernel", right after doing ELF relocations
<{^_^}>
[nixpkgs] @SuperSandro2000 opened pull request #108523 → pythonPackages.bluepy: Set platform to linux only as in readme → https://git.io/JLNcN
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JLNCI
<worldofpeace>
pushqrdx: I think that's it right?
<worldofpeace>
well, I guess as far as problems noticed in the build systems
<pushqrdx>
worldofpeace yeah, regarding system stability i am really impressed as everything seems to be working just fine all the apps are behaving as they should
<worldofpeace>
pushqrdx: that's vala for ya. I find myself usually having to fix nixos specific bugs. Otherwise, I guess it's working fine because the base for Odin is supposed to be the same gnome version as ours currently
<Yaniel>
anyone started updating the pipewire package to 0.3.19 yet?
mschwaig has quit [Quit: WeeChat 2.7.1]
<Yaniel>
(new config file format)
stree has quit [Quit: Caught exception]
stree has joined #nixos
<pushqrdx>
worldofpeace do we still need 0001-Remove-Install-Unlisted-Engines-function.patch? it seems like i was running without it and didn't notice broken functionality
<{^_^}>
elementary/switchboard-plug-keyboard#324 (by worldofpeace, 17 weeks ago, open): Ubuntu specific installer used for InputMethod installer
<pushqrdx>
worldofpeace oh i see, that's a nasty thing to hardcode in lol
<{^_^}>
[rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLNCE
<pushqrdx>
worldofpeace i guess it wasn't anticipated that the desktop is going to be ported to many other bases, i think i even heard someone was planning to port it to freebsd
<worldofpeace>
yeah, because of this I don't have the locale plugin installed. Which I believe(?) allows people to change the language... but it's complicated since I think we're not allowed to change system language like this in nixos. but it still could be useful
<KarlJoad>
Why would a bash function made available to a buildPhase through makeSetupHook only allow one parameter to be passed to the function?
<pushqrdx>
worldofpeace yeah was just gonna say arch. it's a nice desktop
<pushqrdx>
worldofpeace only a couple of really annoying crap that mostly stems from gala, no switching between same app windows, alt+tab is weird, opening new windows of an app on an active workspace is a pain
<bqv>
oh yeah i got pipewire to work
<bqv>
which is awesome
mschwaig has joined #nixos
<pushqrdx>
bqv just keep note of what versions you're on and tread carefully, i had pipewire working for 3 month before it broke for me for unknown reasons, but the experience was so unbelievably good
vegan_power[m] has joined #nixos
<pushqrdx>
i can't even believe it's just v0.3
__monty__ has quit [Quit: leaving]
<Yaniel>
interestingly enough I haven't had any major problems with pipewire since it started working for me in the first place
<bqv>
well, can always revert it
<bqv>
my configuration is well accounted
garionion has joined #nixos
<garionion>
hey there :)
<garionion>
i'm new with nixos and i want to use it with LXC on proxmox. I followed the guide in the wiki, but now, as I want to use my own configuration, I just get a bunch of this message: »error: cannot open connection to remote store 'daemon': remounting /nix/store writable: Permission denied«
<garionion>
I also get this message »warning: don't know how to get latest Nix«
mschwaig has quit [Quit: WeeChat 2.7.1]
mschwaig has joined #nixos
<worldofpeace>
pushqrdx: yeah, gala is in need of development in those regards. they only recently removed their dependency on bamf, which will hopefully in the very near future mean wayland support
<worldofpeace>
they also forked plank to elementary-dock, which needs a bit of a facelift to be more integrated
<{^_^}>
[nixpkgs] @SuperSandro2000 merged pull request #108523 → pythonPackages.bluepy: Set platform to linux only as in readme → https://git.io/JLNcN
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLNWK
vidbina_ has quit [Ping timeout: 256 seconds]
koluacik has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
asbachb has joined #nixos
<pushqrdx>
anybody using emacs (gcc) with doom, and has a setup for c/c++/web?
<pushqrdx>
i am gonna attempt an emacs switch (from vim) and i want a shortcut
<pushqrdx>
but it has to be gcc emacs (native compilation) and libjansson enabled
<supersandro2000>
rmcgibbo: 15 minutes maybe enough if you are blacklisting big packages, disable all feature and only build python below 100 and normal below 10
<supersandro2000>
and I don't have a metric
<supersandro2000>
but when a single package takes 30 to 60 minutes to compile I blacklist it
<{^_^}>
[mobile-nixos] @samueldr merged pull request #110 → Add "target-disk-mode" example system → https://git.io/JvQeU
<{^_^}>
[mobile-nixos] @samueldr pushed 18 commits to master: https://git.io/JLNl2
<{^_^}>
[nixpkgs] @jonringer pushed commit from @cpcloud to master « consul-template: 0.19.4 -> 0.25.1 »: https://git.io/JLN8t
<fuzzypixelz>
would be nice if nix had the $ and . functions from Haskell
ransom has quit [Read error: Connection reset by peer]
erasmas has quit [Quit: leaving]
<fuzzypixelz>
where the get the best "nix ide" possible? I have the vs-code extention right now and it ... could be better. There is not even a "go to definition"
<KarlJoad>
fuzzypixelz: I don't think there is any particularly good IDE for nix. Emacs's nix-mode also lacks that feature.
<fuzzypixelz>
aha, so there is work to be done
<fuzzypixelz>
I can't believe hiw the maintainers manage without it
gustavderdrache has joined #nixos
red[evilred] has joined #nixos
<red[evilred]>
There is nix syntax for vim
<red[evilred]>
But that's not the same thing
<Yaniel>
wdym the dev experience is great
<Yaniel>
vim can't even indent nix code properly
cantstanya has quit [Ping timeout: 240 seconds]
<Siyo>
so I'm provisioning my system with nix flakes and I was wondering is there an easy way to set NIX_PATH so it points to the same version of nixpkgs as in flakes?
<Siyo>
i figure I could probably pass the sha to the configuration file somehow and set it to the github archive url, but I wonder if there's a better way
<jbal[m]>
KarlJoad: fetchTarball creates a directory in the Nix store containing the extracted tarball, so each call to it with a different input yields a different directory
<jbal[m]>
is there a way to do an `overrideScope'` on `pkgs` short of a system wide overlay?
<jbal[m]>
Basically I want to create a copy of `pkgs` with some overlays applied.