<colemickens>
Ericson2314: is it okay to ask some basic questions about your ipfs work? For example, is it planned to only work with fixed output derivations? Or will I be able to theoretically fully replace my classic binary cache usage with ipfs?
azure1 has quit [Read error: Connection reset by peer]
<rjected>
hey so I am a total NixOS noob but I recently installed NixOS, got my desktop environment working and I'm using fish shell. I see however that variables like CC and CXX and LIBTOOL are not set. anyone know how I can get them to be set?
ShaRose has quit [Quit: I appear to have left for some reason.]
azure1 has quit [Read error: Connection reset by peer]
<infinisil>
rjected: Use nix-shell
<infinisil>
,libraries rjected
<{^_^}>
rjected: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<grfn>
on nixos and only on nixos, on my laptop screen and only on my laptop screen (not on my monitor), windows for certain applications but not other applications will freeze and go unresponsive after an indeterminate amount of time.
<grfn>
this is happening with alacritty and chromium, but not emacs and firefox
<grfn>
I have basically no idea how to even begin debugging this
<grfn>
I feel like it might have something to do with hidpi support?
<grfn>
this has been happening ever since I switched from arch to nixos
<grfn>
anyone have any ideas?
<energizer>
that sounds like a haunted laptop, try an exorcism
<grfn>
lol
knerten2 has joined #nixos
<grfn>
a thing I feel like might be related is that alacritty automatically switches to a larger font on my laptop's screen
<grfn>
which is not something it does on non-nixos, and not something I told it to do
<grfn>
it's really annoying because this consistently happens with every terminal window
<grfn>
I like using those
knerten1 has quit [Ping timeout: 240 seconds]
<grfn>
strace shows a loop of `recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)`
<{^_^}>
[nixpkgs] @veprbl merged pull request #96130 → [20.03] qtwebengine: fix build for darwin → https://git.io/JUfRK
<{^_^}>
[nixpkgs] @veprbl pushed 2 commits to release-20.03: https://git.io/JUfav
zaeph has joined #nixos
<dxb[m]>
when building docker images and using another image as a base, the new image doesn't use the base image's entrypoint. is there any way around that currently?
<dxb[m]>
the standard behavior of `docker build` is to inherit that from the base image but it looks like dockerTools.buildImage doesn't do that
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
Supersonic has quit [Ping timeout: 264 seconds]
Supersonic112 is now known as Supersonic
leungbk has joined #nixos
griff_ has joined #nixos
pjt_tmp has joined #nixos
<leungbk>
Would someone be willing to help me troubleshoot Bluetooth? I've been trying to connect a pair of wireless earphones, but upon entering "power on" to bluetoothctl, it responds with "No default controller available".
<JJJollyjim>
(note the person ofborg requested review from had already approved it)
<{^_^}>
#95854 (by JJJollyjim, 3 days ago, open): matrix-appservice-irc: init at 0.20.1
<GolDDranks>
Hi, I'd appreciate some help. I'm a newbie with NixOS installed on my Raspberry Pi 4 (AArch64). I'm trying to compile a haskell package trifecta (nix-env -f "<nixpkgs>" -iA haskellPackages.trifecta) that fails tests with GHC 8.8. I suspect that the package will compile on GHC 8.10 because of a relevant linker bug fixed
<GolDDranks>
However, I don't how to specify the compiler
<GolDDranks>
It builds with GHC 8.8 by default
<GolDDranks>
The Nix expression at nixpkgs/pkgs/top-level/haskell-packages.nix seems to specify multiple compilers (ghc8102 being the relevant here), but I have no clue how to override the default
jmeredith has quit [Quit: Connection closed for inactivity]
<GolDDranks>
(Oh, just to avoid the XY problem: the reason why I want to build trifecta is that it's a dependency of ShellCheck which in turn is a dependency of this PR which fixes a problem that I'm having: https://github.com/NixOS/nixpkgs/issues/63720 Trifecta not building seems to happen only on AArch64)
<{^_^}>
#63720 (by majewsky, 1 year ago, open): Raspberry Pi 4 support
justanotheruser has quit [Ping timeout: 272 seconds]
is_null has quit [Ping timeout: 240 seconds]
m0rphism has joined #nixos
sangoma has joined #nixos
<Ke>
so, my DEMANDS so far would be 1) I want getRandom in nix, this would allow templates to get things like UUIDs and machine-ids without shell hacks 2) I want REAL booleans with true, false, FileNotFound so that one could implement systemd services that are created, but not started by default 3) maybe allow not having root pw without mutable users (so you would not need getRandom to generate passwd) for users of unsafe backdoors or ldap 4) maybe
<Ke>
nixos-rebuild switch should allow setting nixos-config to something else than /etc/nixos, which is on tmpfs anyway, right
<{^_^}>
[patchelf] @domenkozar pushed to master « correct place for pull request template »: https://git.io/JUfDo
saschagrunert has joined #nixos
sgrunert has quit [Ping timeout: 258 seconds]
<sterni>
how are "extras" handled in pythonPackages? as far as I understand it those are some kind of optional dependencies, so do you just add them to the build inputs of packages that depend on the package in question with its optional deps or is there a special support for it?
cutuchiqueno[m] has quit [Quit: Idle for 30+ days]
Eli[m]1 has quit [Quit: Idle for 30+ days]
hanckmann[m] has quit [Quit: Idle for 30+ days]
j0hax[m] has quit [Quit: Idle for 30+ days]
phirsch has quit [Quit: Idle for 30+ days]
syntaxtree[m] has quit [Quit: Idle for 30+ days]
<{^_^}>
[nixpkgs] @xaverdh opened pull request #96153 → kmod: add patch to correct behaviour with --field → https://git.io/JUfyL
civodul has joined #nixos
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #nixos
Thra11 has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
ninjin_ has quit [Ping timeout: 240 seconds]
turlando has joined #nixos
ninjin_ has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<GolDDranks>
I made an issue: https://github.com/NixOS/nixpkgs/issues/96154 Is there anything I could do to fix this problem? I don't know how to build the package with a different version of GHC. Should I send a PR that marks AArch64 as a "badPlatform" for pandoc?
<{^_^}>
#96154 (by golddranks, 3 minutes ago, open): pandoc doesn't build on Raspberry Pi 4
<GolDDranks>
Marking it as such wouldn't help fixing this, but I guess at least it would make clearer for the reverse dependencies what's the problem is.
<sterni>
GolDDranks: if the test failure doesn't affect pandoc's operation you could override the derivation to doCheck = !stdenv.isAarch64
<GolDDranks>
Ohhh, it seems that the callPackage function does some reflection magic to find what inputs the derivation creating function wants to get, so just adding "stdenv" to the input parameters did the trick
<sterni>
GolDDranks: you'd override the underlying haskellPackage and send a PR to the haskell-updates branch, this is done in pkgs/development/haskell-modules/configuration-common.nix usually, although in your case compiler specific configurations might be the target
<sterni>
on which version do you experience the issue?
<sterni>
wait isn't trifecta test suite failing in your build log?
<GolDDranks>
Yes
<GolDDranks>
Trifecta is a dependency of pandoc which causes the failure
<{^_^}>
[nixpkgs] @FRidh pushed 202 commits to staging-next: https://git.io/JUf9C
<GolDDranks>
But it's a library, and I thought it would make sense to report the binary package that's causing problems for me. If it doesn't make sense actually, that's because I'm new to this stuff :D
<sterni>
GolDDranks: yeah that's normal that yaml file is configuration of the versions included
<GolDDranks>
Is it possible to disable the tests through that yaml file?
<sterni>
GolDDranks: sorry misunderstood you earlier, then you'd add the override for Aarch64 to configuration-common.nix or the respective compiler specific configuration
<{^_^}>
[nixpkgs] @FRidh pushed commit from @baloo to staging « util-linux: 2.35.2 -> 2.36 »: https://git.io/JUf9i
Philonous has joined #nixos
<GolDDranks>
sterni: Btw. is there an easy way to try and compile the haskell packages in nixpkgs, but with a non-default version of GHC?
<munksgaard>
I'm using callCabal2Nix inside my default.nix in my haskell project. One of the haskell modules that I depend on (sexp-grammar) has two versions in nixpkgs unstable: haskellPackages.sexp-grammar and haskellPackages.sexp-grammar_2_2_1. How do I get callCabal2Nix to choose the latter instead of the former? My .cabal file correctly states that I need version >= 2.2.1
<GolDDranks>
I guess the override system would allow me to do that?
<sterni>
GolDDranks: just do haskell.packages.ghc865.<package> etc
<{^_^}>
[nixpkgs] @FRidh pushed commit from @r-ryantm to staging « openldap: 2.4.50 -> 2.4.51 »: https://git.io/JUf9Q
<srk>
munksgaard: no way it knows about these, you can either use override to set sexp-grammar = sexp-grammar_2_2_1 or pass it as arg like callCabal2nix "bla" ./. { sexp-grammar = .. ; }
<munksgaard>
srk: Yes, that latter bit was exactly what I was looking for. Thanks.
<zarkone>
systemd service as a dependency? Thanks!
<zarkone>
*not found
<qyliss>
Try ${pkgs.mu}/bin/mu index
<qyliss>
systemd units have almost nothing in PATH
<qyliss>
You can also set path = [ mu ]; on the service
<zarkone>
qyliss: thanks! i think the latter will be in favor, because offlineimap has config in HOME with this post-fetch hook
kreyren has quit [Remote host closed the connection]
<zarkone>
but first option looks more elegant, althout it will require more changes
<zarkone>
thanks!
kreyren has joined #nixos
<GolDDranks>
sterni, thanks to you, I was able to get unstuck. I'll post my further progress in the issue. Hopefully I'll get it sorted.
<munksgaard>
srk: Hm, even after specifying `callCabal2nix "bla" ./. { sexp-grammar = haskellPackages.sexp_grammar_2_2_1; }`, running nix-build ends with the following error: "Setup: Encountered missing or private dependencies: sexp-grammar >=2.2.1". It looks like sexp-grammar was built, but perhaps something else went wrong?
d1rewolf has quit [Quit: Connection closed for inactivity]
griff_ has quit [Quit: griff_]
<joesventek>
I see there's `options` in nixpkgs/nixos/release.nix to generate JSON containing all the nixos options. What would be the correct way to create a package out of this?
<Mic92>
Izorkin: ok. I am going to test it on my own infrastructur now.
janneke has quit [Ping timeout: 265 seconds]
janneke has joined #nixos
werner291 has joined #nixos
<joesventek>
`services.xserver.displayManager.lightdm.background` says: "The background image or **color** to use.". But since it is of type `path` I'm not sure how to set it to a color. Any ideas?
eta has joined #nixos
ddellacosta has quit [Ping timeout: 260 seconds]
<infinisil>
joesventek: Looks like a mistake
werner291 has quit [Remote host closed the connection]
<Izorkin>
Mic92: deployed to home server, worked.
werner291 has joined #nixos
dsg has quit [Ping timeout: 256 seconds]
alp has quit [Remote host closed the connection]
metreo has joined #nixos
alp has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
LnL has joined #nixos
gthm has quit [Ping timeout: 265 seconds]
<joesventek>
infinisil, that's what I thought as well. But since I'm new to all the nix stuff I wasn't sure. Thanks for the help (again) :)
<urkk_>
strace(1) can show you what is being accessed
alexherbo2 has quit [Ping timeout: 258 seconds]
<iwq>
strace also didn't work, but I figured it out. The problem was that it was using the wrong path for the interpreter, was /lib64/ld-linux... i patchelf'd it to the correct one and seems to work alright
akaWolf has quit [Ping timeout: 258 seconds]
xAndy has joined #nixos
user_0x58 has quit [Ping timeout: 240 seconds]
<hsngrmpf[m]>
Sitting in Asia/Bangkok and nixos-minimal.iso downlaods with under 100 KB/s 2h ETA. I have gigabit fiber here. Onyone I should notify because of this?
<hsngrmpf[m]>
* Sitting in Asia/Bangkok and nixos-minimal.iso downlaods with under 100 KB/s 2h ETA. I have gigabit fiber here. Anyone I should notify because of this?
<dminuoso>
hsngrmpf[m]: your ISP.
<dminuoso>
nixos serves the images via cloudfront, so your ISP has probably poor routing towards cloudfront.
<dminuoso>
Or possibly the return route is poor, hard to say.
<dminuoso>
Well rather. the return route *is* poor.
<dminuoso>
But that's for your ISP to figure out
<hsngrmpf[m]>
OK, thanks
<dminuoso>
hsngrmpf[m]: Which ISP do you have?
<dminuoso>
I can take a quick look if PNIs with cloudfront exist
<dminuoso>
Well, possibly. Maybe.
<hsngrmpf[m]>
The provider is True Fiber
<niksnut>
IIRC, we don't have all cloudfront regions enabled
<niksnut>
only US+Europe
<hsngrmpf[m]>
<hsngrmpf[m] "The provider is True Fiber"> Or True Online
<dminuoso>
niksnut: Oh nuts. Does AWS bleed you dry to do the basic service they trick you into believing they provide?
<dminuoso>
But yeah, if the region is disabled, then there's not much you can do. :(
<hsngrmpf[m]>
I already pulled the image through some EU proxy now. Just wanted to notify
<dminuoso>
hsngrmpf[m]: Mmm. Well, still. Contact your ISP, 100 KB/s sounds like some pretty congested links.
jmeredith has joined #nixos
<dminuoso>
Presumably True Internet is just a tier 3 or 2 with limited IX connectivity
<dminuoso>
Their transit is probably congested
<hsngrmpf[m]>
But still I could download through the proxy with 100x the speed. Does this make sense?
<dminuoso>
Yeah.
eta has joined #nixos
<dminuoso>
A route is essentially a sequence of routers. The bandwidth is (roughly) limited by the smallest available bandwidth between two consecutive routers in that path.
LnL has joined #nixos
<dminuoso>
So if I say "the route is poor" it means the route from the AWS region you're hitting towards your ISP has low bandwidth capacity along the route somewhere.
<dminuoso>
If you use a proxy, you get a different incoming route
alexherbo2 has joined #nixos
<dminuoso>
(From the AWS perspective, a proxy means there's a different source IP. So the packets send towards that different source IP get routed differently)
<dminuoso>
It's the responsibility of your ISP to ensure they have good routing with the services you consume.
<dminuoso>
In fact that's the damn service you pay for.
<{^_^}>
[nixpkgs] @bbigras opened pull request #96179 → nixos/sssd: fix the module → https://git.io/JUfh0
CMCDragonkai1 has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 240 seconds]
gthm has joined #nixos
rardiol has joined #nixos
philr_ has quit [Ping timeout: 258 seconds]
cfricke has quit [Quit: WeeChat 2.9]
<aswanson>
does code run during nix-shell's evaluation of a shell.nix file use environment variables from the calling environment? I'm experimenting with poetry2nix in a corporate environment that uses a self-signed ssl certificate at the network level so python code that does ssl verification is complaining
<aswanson>
I tried setting PYTHONWARNINGS=ignore but that doesn't seem to do anything
<iwq>
how could I cache a nix expression that i save to a file after converting the result to JSON? say `builtins.toFile "cache-me" (builtins.toJSON { a = 2; })`
<iwq>
replace { a = 2; } with an expression that takes considerable amount of time to execute
chrispickard has joined #nixos
saschagrunert has joined #nixos
<simpson>
Are you building, like, an object database?
<iwq>
simpson: I'm doing something like (builtins.attrNames (import <nixpkgs> {})), so I would only want to re-run the expression fully when something inside <nixpkgs> changes
dingensk- has joined #nixos
__red___ has joined #nixos
stoile_ has joined #nixos
IRCsome has joined #nixos
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
nerdypep- has joined #nixos
<iwq>
I guess I could make a derivation with src being <nixpkgs> and the build step executing nix-instantiate and saving it to a file
evhan` has joined #nixos
omnigoat_ has joined #nixos
<simpson>
Aha. I don't think that there's any way to do that without having to worry about cache invalidation.
gthm has quit [Ping timeout: 240 seconds]
drewr` has joined #nixos
ne- has joined #nixos
cosimone_ has joined #nixos
hyper_ch_ has joined #nixos
hyper_ch_ has joined #nixos
hyper_ch_ has quit [Changing host]
Batoeh has quit [Ping timeout: 240 seconds]
angerman_ has joined #nixos
<iwq>
if src points to a local directory, does it hash the whole directory and it's contents? would caching work here?
Mic92_ has joined #nixos
nick_h has quit [Ping timeout: 240 seconds]
omnigoat has quit [Ping timeout: 240 seconds]
nick_h_ is now known as nick_h
dingenskirchen has quit [Ping timeout: 240 seconds]
stoile has quit [Ping timeout: 240 seconds]
spudly has quit [Ping timeout: 240 seconds]
IRCsum has quit [Ping timeout: 240 seconds]
__red__ has quit [Ping timeout: 240 seconds]
evhan has quit [Ping timeout: 240 seconds]
ScottHDev has quit [Ping timeout: 240 seconds]
parsnip has quit [Ping timeout: 240 seconds]
Supersonic has quit [Ping timeout: 240 seconds]
drewr has quit [Ping timeout: 240 seconds]
nerdypepper has quit [Ping timeout: 240 seconds]
switchy has quit [Ping timeout: 240 seconds]
Nafai has quit [Ping timeout: 240 seconds]
angerman has quit [Ping timeout: 240 seconds]
camsbury has quit [Ping timeout: 240 seconds]
jared-w has quit [Ping timeout: 240 seconds]
cosimone has quit [Ping timeout: 240 seconds]
hyper_ch has quit [Ping timeout: 240 seconds]
Mic92 has quit [Ping timeout: 240 seconds]
teozkr_ has quit [Ping timeout: 240 seconds]
s1341 has quit [Ping timeout: 240 seconds]
hamishmack has quit [Ping timeout: 240 seconds]
pingveno has quit [Ping timeout: 240 seconds]
omnigoat_ is now known as omnigoat
spudly- is now known as spudly
ScottHDev7 is now known as ScottHDev
Supersonic112 is now known as Supersonic
angerman_ is now known as angerman
<simpson>
Yeah, it checks the whole directory. You could filterSource. What are you building?
<Ke>
isn't that expression rather light
<Ke>
maybe use runCommand and nix eval, if all else fails
<Ke>
the questions people have make me think I do mostly normal things with nix
ctp has quit [Ping timeout: 240 seconds]
nek0 has quit [Ping timeout: 240 seconds]
switchy has joined #nixos
sgraf has quit [Ping timeout: 240 seconds]
jared-w has joined #nixos
pingveno has joined #nixos
parsnip has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
<iwq>
i'm building a tree of nixpkgs to use it for searching packages, functions and for use in an LSP. I have a hobby project that's goal is to generate documentation of nixpkgs and home-manager and let users search it https://github.com/mlvzk/manix
mpickering has quit [Ping timeout: 240 seconds]
dsg has joined #nixos
liori_ has joined #nixos
joshmeredith has joined #nixos
liori has quit [Ping timeout: 240 seconds]
sgraf has joined #nixos
davidtwco has quit [Ping timeout: 240 seconds]
mpickering has joined #nixos
Batoeh has joined #nixos
alp has joined #nixos
joesventek has joined #nixos
davidtwco has joined #nixos
metreo has quit [Ping timeout: 240 seconds]
nikita has joined #nixos
nikita is now known as Guest44952
janneke has quit [Ping timeout: 240 seconds]
janneke has joined #nixos
thc202 has quit [Ping timeout: 240 seconds]
kenshinCH has quit [Quit: WeeChat 2.7.1]
Nafai has joined #nixos
nand0p has quit [Ping timeout: 240 seconds]
nand0p has joined #nixos
justanotheruser has joined #nixos
<{^_^}>
[nixpkgs] @thoughtpolice pushed to master « librseq: install man pages, too »: https://git.io/JUJvi
<{^_^}>
[nixpkgs] @SCOTT-HAMILTON opened pull request #96186 → anystyle-cli: Init at 1.3.10 → https://git.io/JUJfN
ShaRose_ has joined #nixos
nerdypepper has joined #nixos
Cookie_mONSTER has joined #nixos
<niksnut>
lunik1: no, unless you use the experimental flakes support in nixos-rebuild
ShaRose has quit [Remote host closed the connection]
nerdypep- has quit [Quit: bye]
ShaRose_ is now known as ShaRose
<niksnut>
also, the progress bar is gone in NixOS 20.09
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
duckonomy has quit [Quit: z.z]
<Ericson2314>
colemickens: sure. Both. It should do everything a binary cache can today, but also support special fixed output (and the new floating CA) derivations extra well
numkem has joined #nixos
Cookie_mONSTER has quit [Client Quit]
<Ericson2314>
niksnut: do you know how build.cc works when one waits on an already-finished goal?
<{^_^}>
[nixpkgs] @ajs124 opened pull request #96187 → nixos/tests/os-prober.nix: port to python → https://git.io/JUJJv
<lunik1>
okay :(
lopsided98 has quit [Ping timeout: 240 seconds]
<Ericson2314>
I am about to go GDB my deadlocks, but if you could give me a better sense of the intended design that would be super useful.
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
duckonomy has joined #nixos
<saschagrunert>
I can't help myself. Do we have a package which provides all the linux headers like <linux/ns_common.h> or <linux/nsproxy.h>? It seems that the kernelHeaders package does not provide them… :(
<munksgaard>
Can someone help me override a haskell package dependency? I've tried a bunch of different things, none of which seems to work. I'm trying to use sexp-grammar_2_2_1 instead of sexp-grammar, which is what cabal2nix computes. This is my latest try https://github.com/diku-dk/futhark/pull/1078/commits/1fb516225cab5e061714899a4929803ce248ee59, but for some reason nix-build doesn't seem to pick it up: and here is
<{^_^}>
Found in packages: linux.dev, linux-libre.dev, linux_mptcp.dev, linux_testing.dev, linux_mptcp_94.dev, linuxPackages_4_4.kernel.dev, linuxPackages_4_9.kernel.dev, linuxPackages_5_5.kernel.dev, linuxPackages_4_14.kernel.dev, linuxPackages_4_19.kernel.dev, linuxPackages_hardened.kernel.dev, linuxPackages_xen_dom0.kernel.dev, linuxPackages_latest-libre.kernel.dev, linuxPackages_latest_xen_dom0.kernel.dev, and 3 more
<clever>
saschagrunert: it seems to be in the linux headers
dyaso has quit [Quit: Konversation terminated!]
<Taneb>
When Nix fetches from a cache is the build compressed for transfer?
<saschagrunert>
Hm ahh thank you clever
<lewo`>
Taneb yes
<saschagrunert>
,locate linkage.h
<{^_^}>
Found in packages: uwimap, linux.dev, linux-libre.dev, linux_mptcp.dev, linux_testing.dev, linux_mptcp_94.dev, linuxPackages_4_4.kernel.dev, linuxPackages_4_9.kernel.dev, linuxPackages_5_5.kernel.dev, linuxPackages_4_14.kernel.dev, linuxPackages_4_19.kernel.dev, linuxPackages_hardened.kernel.dev, linuxPackages_xen_dom0.kernel.dev, linuxPackages_latest-libre.kernel.dev, linuxPackages_latest_xen_dom0.kernel.dev, and 3 more
<Church->
infinisil: Might bug you later today on freeFormModules. Seems to have landed from what I can tell in unstable but seems my module is not using it correctly still.
saschagrunert has quit [Remote host closed the connection]
<iwq>
since recursive nix isn't yet in stable nixos, is there a way to lazily evaluate the installPhase string? I have a function there that I would only want to run if the derivation has to be built
<Ericson2314>
niksnut: also there is a fair amount of code that immediately calls the next state, but couldn't it do worker.wakeUp(shared_from_this()) instead?
Thra11 has quit [Ping timeout: 240 seconds]
joesventek has quit [Quit: Quit]
alp has quit [Ping timeout: 246 seconds]
joesventek has joined #nixos
nikivi has joined #nixos
zarkone has quit [Ping timeout: 240 seconds]
sigmundv__ has quit [Read error: Connection reset by peer]
ddellacosta has quit [Ping timeout: 256 seconds]
eyJhb has quit [Quit: Clever message]
sigmundv__ has joined #nixos
eyJhb has joined #nixos
eyJhb has joined #nixos
eyJhb has quit [Changing host]
ddellacosta has joined #nixos
<niksnut>
Ericson2314: well it's more efficient to call the next state right away
<niksnut>
we should really replace the state machine by threads/fibers...
<Ke>
next question, molly-guard works by hijacking some shutdown/reboot commands by being first on PATH, anyone know of a similar setup for nixos to prevent accidental shutdown
<{^_^}>
[nix] @Ericson2314 opened pull request #3958 → Semi-WIP: CA derivations that depend on other CA derivations --- contains #3883 → https://git.io/JUJY0
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<eyJhb>
Can I import a file from nixpkgs? Like <nixpkgs>/some/path/to/a/file.nix ?
<higherorder>
garbas: Hello! I see you're a primary contributor on https://github.com/NixOS/nixos-search. I am trying to run the codebase on MacOS but running into some issues. I assume you are working from NixOS?
<bqv>
eyJhb: if you want to do it without relying on nix_path like some kind of mongrel, you can use builtins.toPath "${pkgs.path}/some/path/to/a/file.nix"
<bqv>
toPath is optional :p
<eyJhb>
Thanks adisbladis :D As in -dev, I had misspellet stuff :/
<dminuoso>
Maybe its not reproducible. Oh well, somehow builtins.trace triggered a segfault in this setup when the expression tree somehow tried to access a non-existing file
<srid>
worldofpeace: do you happen to know if https://planner-todo.web.app/ (which you use) has been packaged as a nix package?
<superherointj>
Why virtualization in NixOS world is called virtualiSation (`s` instead of `z`)? I'm not English native speaker but I hadn't seen it written this way until now.
<dminuoso>
superherointj: AE vs BE
<energizer>
superherointj: british english spelling
<liminal18_>
are there any examples mongodb.extraConfig around?
<clever>
hexagoxel: ah, i'll have to look at that later, it never works for me either in xterm
arjen-jo1 has quit [Ping timeout: 246 seconds]
<hexagoxel>
clever: yeah, even if it is not tmux causing this for you that SO post/replies mention some useful debugging tools around this. good luck :)
superherointj has quit [Quit: Leaving]
alexherbo2 has quit [Ping timeout: 240 seconds]
<liminal18_>
how do I make an extended comment in nix?
<cole-h>
How do you mean? Comments lines in a Nix file begin with #
<worldofpeace>
srid: Oh, I happen to be its maintainer, so yes it does have a nix package 😸
<worldofpeace>
srid: planner is basically gui to be very similar to todoist. So I think it mainly supports toodist
<srid>
i have a feeling re-learning gtk is gonna be fun ... bringing back childhood naivete
lsix has quit [Quit: WeeChat 2.9]
<srid>
worldofpeace: hmm, but when i selected 'store locally' (no todoist), where would those files be? if I replace my computer, would i be able to export/import them on another computer?
<worldofpeace>
srid: I believe it's just a single database. I'm not sure if it's relocatable, but just a backup to that database would probably do that
<worldofpeace>
I can see in the settings that it allows u to select a database, actually
<{^_^}>
alainm23/planner#191 (by 4jNsY6fCVqZv, 29 weeks ago, open): There should be a possibility to export/import my database
<worldofpeace>
I guess it's a feature that is requested srid ^
__Sander__ has quit [Quit: Konversation terminated!]
<worldofpeace>
the dev is very impressive so contributing financially would be a good idea if u find the app enjoyable
liminal18_ has quit [Quit: Leaving]
<srid>
hmm, i think todoist sync is kind of unreliable
<srid>
lots of assertion errors on the console; not sure if that's related
kraeXen has joined #nixos
<srid>
i think my idea app would something like elementary-planner but uses plain-text for storing tasks, as well as written in haskell :-D
<srid>
*ideal
d1rewolf has joined #nixos
<yurb>
What is the difference between the nixos-unstable and nixpkgs-unstable channels?
<V>
yurb: nixos-unstable is tested
<cole-h>
nixos-unstable must pass NixOS-specific tests
<cole-h>
nixpkgs-unstable doesn't need to pass those tests
<samueldr>
nixpkgs-unstable could pass while breaking nixos-specific things
<V>
It also means that nixpkgs-unstable tends to be ahead a bit, because the channel can advance immediately, while the tests involve spinning up VMs and such and take a bit
<cole-h>
e.g. make sure some integral software still works properly -- nixos-unstable will +/- guarantee this, while nixpkgs-unstable doesn't care
<yurb>
that's very good to know, thank you! I'll switch my user profile from nixpkgs-unstable to nixos-unstable then
spease has joined #nixos
werner291 has quit [Quit: werner291]
<spease>
I'm using fetcher to retrieve a raw binary. I get "do not know how to unpack source archive /nix/store/x42zzhvwj88bfxwz6fwfw813sxybsxxl-codesigndoc-Darwin-x86_64". I can't seem to use unpackCmd, phases, dontUnpack, etc to disable the extraction because it also seems to prevent the file download from happening (ls -al in the installPhase shows the
<spease>
directory does not contain the file it should have downloaded). Is there a way to get fetchurl to disable the extraction but still perform the download? Thanks.
<infinisil>
spease: Probably something like `unpackPhase = "cp $src foo"` should work
<liminal18>
nix-collect-garbage is working, but when I try to rebuild it fills up the boot loader again
<liminal18>
"/dev/sda8 200M 200M 0 100% /boot
<liminal18>
"
philr_ has joined #nixos
<notgne2>
huh that's weird, it should only need enough space for the current kernel and whatever one NixOS is updating to
<notgne2>
plus, my `/boot` is only 75M full
<bqv>
liminal18: can you not see them?
<bqv>
in your /boot?
<notgne2>
how full is it right after garbage collection
<liminal18>
bqv I can see them
<bqv>
they're the thing taking up all the space :)
mbrgm_ has joined #nixos
<liminal18>
notgne is was 50% full doing collect-garbage for the last 60 days
<liminal18>
I just set the limit to 5 in my config file.
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<notgne2>
I think there must be something about NixOS I don't know here now I'm looking at it, I'm on a fresh reboot and just ran garbage collection but still have a few different versions in my `/boot` (EFI), does NixOS keep old kernel versions separate from old profiles? and/or is there something other than `sudo nix-collect-garbage -d` that would remove more profiles if this is where they originate?
<bqv>
delete the kernels...
<bqv>
gc won't do that for you
<bqv>
do it yourself
<liminal18>
bqv delete kernels means which files in '/boot'
<bqv>
yes
<liminal18>
which files
<liminal18>
there are quite a few
<bqv>
the big ones!
<liminal18>
loader/entires
<liminal18>
EFI/nixos
<notgne2>
oh yeah, they're actual files not nix store symlinks
<notgne2>
I have no idea why my /boot is only 75M in that case
<liminal18>
bqv can you specific: delete loader/entires opr EFI/nixos? which ones are the kernels?
<cole-h>
Be *very* careful about deleting things in /boot... you can make your system unbootable if you delete the wrong thing.
thc202 has quit [Ping timeout: 244 seconds]
<liminal18>
cole-h yeah I'm deleting using the loader/entries for older kernels it looks like
<cole-h>
"it looks like" doesn't sound like you're being very careful. I'd be 100% sure before deleting anything in there.
<V>
I was debugging someone else's emoji problems and spent ages trying to figure out why the font wasn't being used, but no, the glyphs are actually there but teensy
<V>
I'm a little too terrified of fontconfig to try messing with it