bitmapper has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 264 seconds]
oida has joined #nixos
rajivr has joined #nixos
rb2k has joined #nixos
kirelagin has quit [Ping timeout: 260 seconds]
rb2k has quit [Ping timeout: 256 seconds]
psilospore has joined #nixos
xantoz has joined #nixos
sss2 has joined #nixos
ManiacOfMadness has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Ping timeout: 256 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
pjt_tmp has joined #nixos
orivej has joined #nixos
nickerauga has joined #nixos
<nickerauga>
Trying to make my derivation work. It needed a library which I add to buildInputs. But although it gets farther in the compilation, it says ld: symbol(s) not found for architecture x86_64.
<nickerauga>
Do I need to mess with LD path in the derivation somehow? I thought buildInputs takes care of that.
<nickerauga>
Before I added the library to the buildInputs it used to say that the library was not found. So it does recognize the library but somehow doesn't work
mkaito has quit [Quit: WeeChat 3.0]
Supersonic112 has joined #nixos
fuzzypixelz has quit [Ping timeout: 240 seconds]
Brio[m] has joined #nixos
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 is now known as Supersonic
i077 has joined #nixos
<i077>
yo, i've been having trouble building firefox overridden with some extra native messaging hosts in my nixos config
<i077>
i think this might have something to do with the big firefox extensions PR that was recently merged
<colemickens>
Did y'all know that systemd recommends the ESP be mounted to /efi now-a-days?
<i077>
when i try to build my config now, i get a permission denied error when building the firefox derivation
<colemickens>
nickerauga: depends on the situation, sometimes you can wind up in a situation where a library only has the files necessary to be discovered via cmake
<colemickens>
nickerauga: so then if you come along and try to consume it in a meson project that uses pkg-config, it might not be able to find hte lib
<colemickens>
there have been a few times where I've been packaging X and have had to go and send PRs to project Y or patches for derivation Y to fix pkg-config, to get X to build.
<Netsu>
via nix repl -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/cf7475d2061ac3ada4b226571a4a1bb91420b578.tar.gz
<Netsu>
where n = import <nixpkgs> {}
orivej has quit [Ping timeout: 240 seconds]
ManiacOfMadness has joined #nixos
<Netsu>
I see an error message like `dependency "aeson-1.5.4.1-2r5CIE1evrPLve9TCZlEMz" doesn't exist` so `z-row-types-z-row-types-aeson-1.0.0.0` is broken
<Netsu>
what can be problem here (because aeson already in buildInputs)?
arushi has quit [Quit: Connection closed for inactivity]
sefu has quit [Quit: Leaving.]
h0m1 has quit [Quit: WeeChat 3.0]
h0m1 has joined #nixos
ldle has joined #nixos
<ldle>
I just booted up my nixos laptop, nothing changed, and now my wifi is gone. Can anyone help me troubleshoot this?
palo1 has joined #nixos
<ldle>
lspci shows the intel wireless card
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
<ldle>
like usually the network manager applet appears showing the wifi networks
<ldle>
but its no where to be found
<ldle>
tho `ifconfig wlan0 up` reports No such device
astylian has joined #nixos
nickerauga has quit [Remote host closed the connection]
<bqv>
colemickens: systemd can reccomend whatever the fsckit wants, itll just make me shovel it out all my systems faster...
<bqv>
I really should continue that project
<bqv>
Especially with nix-processmgmt
<ldle>
peeps, why has my wifi device dissapeared with a reboot
<bqv>
Animal magnetism
<ldle>
ifconfig shows no wireless device
<ldle>
pls assist....
<simpson>
ldle: `dmesg` will give you the kernel log; usually something in there will explain what happened.
<simpson>
Practically, I usually check `rfkill` first, though! `rfkill list` will not just show you which radios are available, but whether they've been disabled.
<Ke>
ldle: yeah, maybe missing fw
<Ke>
well lspci sees the device
<ldle>
rfkill shows "wlan dell-wifi" unblocked and unblocked
<Ke>
I'd guess 99% of the time it's missing fw
<ldle>
missing fw?
<energizer>
ldle: `nmcli radio`
<Ke>
most wifi cards require loadable fw that is not installed by default
<ldle>
enabled across the board
<Ke>
hardware.enableRedistributableFirmware
<ldle>
i have been using this nixos generation for weeks and weeks
<ldle>
all i did was restart...
<energizer>
ldle: `nmcli device`
<Ke>
ok
<ldle>
energizer, all enabled
<energizer>
ldle: that's a different command
thc202 has joined #nixos
<Ke>
then that dmesg should be worth checking, I would assume network manager can't help, if there is no network interface for the card
<energizer>
`enabled` is what `radio` says, `device` says something different
<ldle>
energizer the two wifi things are "disconnected"
<ldle>
wlp2s0 and p2p-dev-wlps0
<energizer>
ldle: nmcli device wifi device list
<energizer>
er
<energizer>
ldle: nmcli device wifi list
<energizer>
should show the available networks
<ldle>
i see the network i want
<ldle>
is nothng actually wrong and this is Network Manager failing?
<Ke>
so the issue was that interface name changed and nm did not know the network anymore?
<ldlework>
Ke: tbh, I think the problem was that in the unconnected state, nm was showing no visible icon
<ldlework>
as soon as i connected on the commandline, nm applet appeared
<Ke>
ldle | ifconfig shows no wireless device <- how does it explain this
<ldlework>
so
<ldlework>
wlp2s0 Link encap:Ethernet HWaddr B4:6B:FC:C7:2A:36
<ldlework>
it doesn't say anything about wireless in the entry
<Ke>
ldle: did you just not recognize wlp2s0 as a wireless device?
<ldlework>
exactly
lgcl has joined #nixos
<ldlework>
the missing nm applet primed me to believe something was wrong
<sphalerite>
Ke: well, it's like classic C switch without a break :)
<Ke>
ldle: but the ifconfig showed the wlp2s0 all the time?
<ldlework>
yes but i am used to "wlan0" and the like, and since everything said "Link encap:Ethernet" and I didn't see any words related to wireless I assumed my device was not listed
<Ke>
ok, should have asked probably to pastebin the output
yellow has joined #nixos
<ldlework>
I couldn't since I was not online on the problematic machine :P
<ldlework>
I guess I could've hand typed it all
<ldlework>
XD
<Ke>
though that doesn't work without networking...
<ldlework>
hehe yeah
<ldlework>
i was using my wife's macbook and the U key is broken so that would've been painful lol
<Ke>
sphalerite: I realized that, because I had expectation on how it works, many people do consider implicit fallthrough a bad practise
stoile has quit [Ping timeout: 264 seconds]
<Ke>
on bash noone expects it either
<Ke>
sphalerite: but cool thing to know indeed
<Ke>
it's like one still learns new things about bash all the time
yellow has quit [Remote host closed the connection]
<sphalerite>
at least it's explicit in bash :p
ldle has quit [Remote host closed the connection]
<Ke>
true
<sphalerite>
(though not super easy to see)
<Netsu>
oh, looks like, I needed a propagatedBuildInputs tehre...
<hpfr>
trying to use nix shell to build a package https://github.com/linux-surface/iptsd but I get `meson.build:92:1: ERROR: Pkg-config binary for machine MachineChoice.HOST not found. Giving up.` even though I put `pkg-config` in `buildInputs`. any suggestions are appreciated
lgcl has quit [Read error: Connection reset by peer]
vidbina has joined #nixos
<hpfr>
never mind, I forgot to exit and reenter the shell 😩
o1lo01ol1o has joined #nixos
fuzzybear3965 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
veleiro has quit [Remote host closed the connection]
veleiro has joined #nixos
o1lo01ol1o has joined #nixos
Darkmatter66 has joined #nixos
emacsomancer has quit [Ping timeout: 256 seconds]
fuzzybear3965 has quit [Ping timeout: 245 seconds]
m0rphism has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<madonius[m]>
<Rusty1 "/madonius: https://nixos.wiki/w"> I have read that, the Question is if I can flash an image and have it boot unattended
<madonius[m]>
How do people deploy machines at scale with NixOS?
<madonius[m]>
I can hardly imagine that they do that by going to each machine and building the environment, right?
cr4y1 has joined #nixos
veleiro has quit [Ping timeout: 246 seconds]
<Netsu>
well, I make `the-pkg.overrideAttrs` inside the `ghc.withPackages`, and the-pkg now hidden for runghc. Why so?
<patagonicus>
Also, I find it a lot easier to just write a regular config, have it import iso-image.nix and then build with `nix-build -I nixos-config=iso.nix '<nixpkgs/nixos>' -A config.system.build.isoImage`, but I guess that's a matter of opinion.
ManiacOfMadness has quit [Read error: Network is unreachable]
<fuzzybear3965>
Let's hope for the best!
<patagonicus>
I'd potentially also remove your custom Grub settings as that option should hopefully work by itself and yours could interfere with assumption it makes, but I haven't checked what it actually does.
o1lo01ol1o has joined #nixos
<fuzzybear3965>
patagonicus I'll be honest. I have 45% understanding of what I'm doing.
<fuzzybear3965>
The `custom-iso.nix` I grabbed from a blog (Mayflower Consulting).
<fuzzybear3965>
Your command makes sense to me. And it does seem a bit cleaner.
<fuzzybear3965>
It's probably what I would do if I knew what I was doing.
<fuzzybear3965>
I'll remove my grub settings and rebuild
<patagonicus>
fuzzybear3965: There's https://nixos.wiki/wiki/Creating_a_NixOS_live_CD, which is less overhead in the config, but slightly longer command to build it (but I'd argue less complexity in total)
<fuzzybear3965>
I commented out the boot.loader block.
<LilleCarl>
fuzzybear3965: That percentage is way higher than when i do stuff Nix stuff. I'm closer to 10% :p
<fuzzybear3965>
patagonicus I read that, too. I guess I landed on this approach by copying and pasting.
<fuzzybear3965>
LilleCarl We know just enough to shoot ourselves in the feet.
<LilleCarl>
Oh you C++ developer :p
<patagonicus>
I learned quite a bit about how the system build process works while building a custom sd image generator, but a few things I use there I still don't understand, but I know it works. ¯\_(ツ)_/¯
<viric>
Often I wanted a reminder of the kernel cmdline that will stop stage1, stage2, at different points
<viric>
Maybe we could write in stage1 a command 'help' that would print that?
pjt_tmp has quit [Ping timeout: 256 seconds]
quyse has joined #nixos
neiluj has joined #nixos
tarruda1 has quit [Ping timeout: 264 seconds]
<fuzzybear3965>
patagonicus Does this look about right?
<Netsu>
how nix handle cabal with multiple libraries?
fuzzybear3965 has quit [Remote host closed the connection]
cosimone has joined #nixos
primeos has joined #nixos
noudle has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
aveltras has joined #nixos
cole-h has quit [Ping timeout: 260 seconds]
<aveltras>
does anyone have a config example with a custom sway cursor theme ?
<hyperfekt>
Can anyone tell me how .swap targets/units work (on NixOS?)
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<hyperfekt>
Ah, they're generated from fstab
tarruda1 has joined #nixos
okad has quit []
karantan has joined #nixos
justan0theruser has quit [Ping timeout: 268 seconds]
<karantan>
how can I know if nixos-rebuild process is running? is there any nixos build command that will tell me this?
<karantan>
or is the only way to ps .. | grep .. ?
<pinpox>
Quicke question: I'm setting up a nixos server and want to use EFI, grub2 and LVM. My setup is /dev/sda1 as 500M EFI partition and /dev/sda2 as LVM partition containing "root" and swap". What do I have to set "boot.loader.grub.device" to in this config?
<sphalerite>
pinpox: when you're using efi, "nodev"
<pinpox>
sphalerite: ok
<pinpox>
sphalerite: Thanks
mounty has joined #nixos
orivej has joined #nixos
dada_da has quit [Ping timeout: 260 seconds]
dada_da has joined #nixos
respawn_ has joined #nixos
miracle_fox has joined #nixos
<pinpox>
damn I forgot to set the sudo password and now I can't change the configuration.nix
* pinpox
facepalms
miracle_fox has left #nixos [#nixos]
civodul has joined #nixos
OCCASVS__ has joined #nixos
__monty__ has joined #nixos
OCCASVS__ is now known as OCCASVS
OCCASVS has quit [Changing host]
OCCASVS has joined #nixos
OCCASVS has joined #nixos
OCCASVS has quit [Changing host]
lassulus_ has joined #nixos
lassulus_ has quit [Client Quit]
lassulus_ has joined #nixos
lassulus_ has quit [Client Quit]
lassulus has quit [Quit: WeeChat 2.9]
lassulus has joined #nixos
tarruda1 has quit [Read error: Connection reset by peer]
tarruda1 has joined #nixos
<sphalerite>
pinpox: classic. I (try to) put my SSH key in the root account for all the servers I manage
<sphalerite>
Though I sometimes forget that too.
<pinpox>
sphalerite: Yep, thats what i do too. But I usually just try to get the server running with some minimal config. As long as I can reach it via ssh and login after a reboot I'll be able to provision it with my centralized deployment (krops)
<pinpox>
It's fixed, just booted into single user mode and set the password.
justan0theruser has joined #nixos
astylian_ has joined #nixos
fuiltilt has quit [Quit: WeeChat 2.9]
astylian has quit [Read error: Connection reset by peer]
<sphalerite>
pinpox: hm, not sure with krops's source-copying approach, but you can also build a system derivation and install that directly. That's what I usually do now
<pinpox>
I'll look into that for the next server, now it's already krops'ed
<pinpox>
Is anyone running a seafile server on nixos? I don't understand what the `sewafile-shared` package in nixpkgs provides, but it seems to not include the server itself. Should I just go with docker? Or any other well-performing nextcloud/owncloud alternative to host and share some files?
fadenb[m] has joined #nixos
cosimone has quit [Ping timeout: 265 seconds]
cosimone_ is now known as cosimone
<sphalerite>
docker or podman is probably the least-friction option. You could use virtualisation.containers to specify it in your nixos config.
<pinpox>
sphalerite: Okay, Ill do that then. I had it running natively on arch until now but I don't have time to package it for nixos right now
bzl has quit [Quit: changing servers]
SomeoneSerge has joined #nixos
respawn_ has quit [Quit: Leaving]
qwerty has quit [Read error: Connection reset by peer]
qwerty has joined #nixos
lgcl has joined #nixos
<hexa->
pinpox: nextcloud if you want a cloud, syncthing if you want to purely sync files
aveltras has quit [Quit: Connection closed for inactivity]
_deepfire has joined #nixos
dadada_ has joined #nixos
dada_da has quit [Ping timeout: 240 seconds]
okad has joined #nixos
Netsu has quit [Remote host closed the connection]
tarruda1 has quit [Read error: Connection reset by peer]
tarruda1 has joined #nixos
ericsagnes has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
ericsagn1 has quit [Ping timeout: 268 seconds]
fuzzypixelz has joined #nixos
fuzzypixelz has quit [Remote host closed the connection]
fuzzypixelz has joined #nixos
sss2 has quit [Quit: Leaving]
orivej has joined #nixos
da_dada has joined #nixos
tsrt^ has quit []
dadada_ has quit [Ping timeout: 256 seconds]
cfricke has quit [Quit: WeeChat 3.0]
vs^ has joined #nixos
mallox has joined #nixos
da_dada has quit [Ping timeout: 256 seconds]
da_dada has joined #nixos
marsh has quit [Ping timeout: 272 seconds]
justan0theruser has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 240 seconds]
mallox has quit [Quit: WeeChat 3.0]
justanotheruser has joined #nixos
marsh has joined #nixos
orivej has quit [Quit: orivej]
orivej has joined #nixos
tokudan has quit [Remote host closed the connection]
orivej_ has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
tokudan has joined #nixos
Ariakenom has joined #nixos
oida has joined #nixos
domogled has joined #nixos
<sphalerite>
hexa-: since pinpox said "nextcloud/owncloud alternative", I guessed that was out of the question :p
<hexa->
sphalerite: whoops, must've glanced over the "alternative suffix" :)
<hexa->
but nextcloud performs well, just give it 4 Cores ang 8 GB RAM to start
<hexa->
*cough*
justanotheruser has quit [Read error: Connection reset by peer]
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
<ar>
you also need to tolerate php
<hexa->
sure, but I tend to just not look at it closely, ma27[m] provides this really awesome abstraction
werner291 has joined #nixos
<hexa->
also when you want a "cloud", there is not much else to go for
<hexa->
and obviously I wouldn't host such a beast for myself :p
OCCASVS has quit [Quit: Connection closed for inactivity]
<hexa->
and to be fair, there are two kinds of php projects.
nicoo has quit [Quit: WeeChat 1.7.1]
orivej_ has quit [Ping timeout: 264 seconds]
tarruda1 has quit [Read error: Connection reset by peer]
tarruda1 has joined #nixos
nicoo has joined #nixos
okad has quit [Quit: okad]
lordcirth__ has joined #nixos
Schicko has joined #nixos
lordcirth has quit [Ping timeout: 240 seconds]
<lukego>
Hey I've packaged a binary and used autoPatchelfHook in the derivation but it fails to start. strace shows execve() on the executable giving -ENOENT. I expect that when it fails to link but ldd shows all libs resolved. Any pointers how to diagnose? details in https://gist.github.com/lukego/0eec1b9beac49be14cff7ed951216f08
bitmapper has joined #nixos
gustavderdrache has joined #nixos
strobelight has joined #nixos
okad has joined #nixos
<Schicko>
How would I install a cross-compiled package? I want to install `idris2` but built with `musl`. I know that I can build it with the command `nix build -f channel:nixos-unstable pkgsCross.musl64.idris2`, which would produce a `result` symlink in CWD to the compiled "package", but how would I also get `nix` to also manage the installation of that package for me (probably with `nix-env -i`)? I tried `nix-env -i
<Schicko>
pkgsCross.musl64.idris2`, but that doesn't work.
<Schicko>
I ask because it seems that the cached `idris2` is built with`glibc` instead (could be wrong about that), so it doesn't seem to run properly in my system which is uses `musl`.
<simpson>
-iA would be required, not -i. The -A flag tells nix-env to lookup a name to install. (If you have a path directly into the Nix store, then you can do `nix-env -i /nix/store/...` to add that path directly to the environment.
orivej has joined #nixos
tarruda1 has quit [Read error: Connection reset by peer]
<lukego>
(I suspect autoPatchelfHook isn't running and the ELF interpreter is the problem...)
tarruda1 has joined #nixos
<Schicko>
Thanks, I'll give that a go. Also, I know that the "result" file that is produced with `nix build` is just a symlink, but I read somewhere that it shouldn't renamed or moved. What is the reason for that?
asbachb has joined #nixos
<Schicko>
And how would I remove it safely if I need to?
<Schicko>
Or if I no longer need it?
<simpson>
The symlink is a GC root; it prevents Nix from garbage-collecting your freshly-built package.
<simpson>
That's all. If you remove all references to a package, then Nix might not keep it around.
<Schicko>
So it's safe to remove if I no longer need it since `nix` will just GC at some point?
tarruda1 has quit [Read error: Connection reset by peer]
<simpson>
Yeah.
<Schicko>
Thanks for explaining!
tarruda1 has joined #nixos
ManiacOfMadness has joined #nixos
rb2k has joined #nixos
ddellacosta has joined #nixos
zecnate has joined #nixos
<zecnate>
I've run `nix-env -i cargo` yet when I run `cargo build` it fails with: "error: linker `cc` not found"
<zecnate>
I tried `nix-env -i gcc`, but I get the same error.
<zecnate>
How can I configure `cargo` to delegate to `gcc` for `cc`? (-and why doesn't the nixpkgs derivation just set this up directly?)
<viric>
zecnate: why would cargo choose the gcc?
i077 has quit [Quit: WeeChat 3.0]
<viric>
either it chooses the gcc or it does not include any gcc
<viric>
that said I have never used it so I don't know why it isn't happy about gcc in the path
<zecnate>
Hm, I see. So maybe I need to figure out how to configure Cargo to use a specific compiler. I've just never had to do that for cargo installed via other means.
<viric>
CC=gcc env var?
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
<zecnate>
Nope.
<zecnate>
Different tack: is there a way to start a `nix-build` and if the builder fails, drop into a `nix-shell` in the build directory so that I can examine results?
<viric>
you can use "nix-shell -A whatever" to get that environment from scrach, and there you can run the build recipe
tarruda1 has quit [Read error: Connection reset by peer]
<zecnate>
simpson: Yes. My first question about running Cargo cropped up because my `nix-build` fails, and I noticed that if I did `nix-shell .` in the same directory and then inside that ran `cargo build` I got a different error. So next I wanted to try a normal Cargo build outside of a `nix-build` process to triangulate.
tarruda1 has joined #nixos
<zecnate>
What I really want/need it a way to diagnose the existing `nix-build` with more detail, so I think `genericBuild` might be the way.
tarruda1 has quit [Read error: Connection reset by peer]
tarruda2 has joined #nixos
<zecnate>
BTW- how do I know my `default.nix` invokes `genericBuild`? I just set up `naersk` with `niv` and I'm unfamiliar with both. Do they call out to `stdenv`?
leothrix has joined #nixos
tarruda2 has quit [Read error: Connection reset by peer]
tarruda2 has joined #nixos
bridge[evilred] has joined #nixos
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
Supersonic has quit [Ping timeout: 246 seconds]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
jonringer has joined #nixos
xcmw has joined #nixos
<lukego>
(Yes, my mistake seems to have been to think that autoPatchelfHook works with runCommandNoCC.)
ddellacosta has quit [Ping timeout: 268 seconds]
<victorbjelkholm>
anyone know if there is any trickeries involved to get nvim + tmux + the tmux-nvim and nvim-tmux plugins to play nicely with each other? I've got everything installed but navigation via :TmuxNavigateDown in neovim doesn't properly jump to the pane below (same for other directions)
<victorbjelkholm>
"doesn't properly" meaning "doesn't jump at all"
kaivai has quit [Ping timeout: 260 seconds]
SeasonsBeatings is now known as grumble
<siraben>
I'm trying to play a windows-only game on Steam on NixOS, how do I launch it?
justanotheruser has quit [Ping timeout: 240 seconds]
devalot has left #nixos ["ERC (IRC client for Emacs 27.1)"]
philr has quit [Ping timeout: 264 seconds]
<heath>
everytime I try to use the "nix-env" command, it complains that it can't find a default.nix file in a different directory (maybe the directory I was in when installing?). I'm trying to just install some basic tools like cabal2nix
<heath>
echo $NIX_PATH gives me ~/.nix-defexpr/channels
<bqv>
There's the dynamicuser stuff, which I had issues with, but there isn't much else I can forsee being problematic, what are you thinking of?
<lordcirth>
I guess it depends on which init you want to switch to. But there's probably lots of little things. Conditionals, dbus, socket passing, etc
<bqv>
Dbus has already given me a slight headache, yes
<bqv>
Fair enough. It seems vaguely realistic at least, just messy, maybe
<genevino>
bqv: i guess that's unrealistic, if systemd bothers you, and there are perfectly valid reasons why it would, you're most likely best off with artix + nix on top.
<bqv>
I don't think that's even comparable, and I see no fundamental reason why this won't work (it actually kinda does already, in a POC kinda way)
sefu has joined #nixos
<lordcirth>
bqv, I also don't get why you care enough. Systemd works fine
<genevino>
bqv: well the question is what you try to achieve here, nixos is pretty much bound tight to systemd.
<genevino>
bqv: unless it doesn't.
<genevino>
eh
<genevino>
lordcirth:
<genevino>
and it's trivial to get systemd to deadlock when rebooting.
<lordcirth>
I've broken boot before, but rarely was it systemd's fault, IMHO
<genevino>
and hands down, there are a lot of issues with systemd, alone it having over 190 man pages that start with systemd* - i don't know how many lifetimes you live, but i reckon to live only one.
<genevino>
and it's easy to spend a complete day debugging weird systemd behaviour only to find out that you're experiencing a bug that's reported since 3 years that the systemd developers refuse to deal with.
<genevino>
which in turn is hard to debug as systemd has a lot of completely un-predictable behaviour.
<genevino>
still, it's possible to make it behave, even in nixos, and that's probably HEAPS easier than what you approach.
AlpineLlama has quit [Ping timeout: 260 seconds]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 268 seconds]
werner292 is now known as werner291
astylian_ has quit [Ping timeout: 240 seconds]
tarruda2 has quit [Read error: Connection reset by peer]
tarruda3 has joined #nixos
concept2 has quit [Quit: See ya later!]
<genevino>
lordcirth: a computer completely deadlocking when you type "reboot" is simply broken, period. i understand systemd doesn't want to ship defaults that on huge database servers lead to data-loss, but the behaviour of reboot in systemd is simply broken beyond repair.
<genevino>
CtrlAltDelBurstAction=reboot-immediate is a good way to be able to still actually reboot when that happens - in case you're in front of said computer. if you're logged in to a machine via ssh where you type reboot and the system just doesn't come up again, you'll have a bad time.
<genevino>
but even then it's possible to entirely lose control over systemd depending on how you configured it, and off-loading the problem to be just PEBKAC 100% of the time seems a bit narrow-minded to me.
<lordcirth>
genevino, oh, you mean deadlocking during the shutdown?
<lordcirth>
I've had the 1m30s timeout before, but I don't recall ever deadlocking
<genevino>
lordcirth: yup, and i've had situations where even reboot -f deadlocks, and i ran in some 90min timeouts as well.
<genevino>
(yes, 90min, not 90sec)
<genevino>
and yes i tried all the sysrq's and my current setup includes this: https://clbin.com/uoG7o
<lordcirth>
oof. Never seen anything like that, but I can believe it
<DavHau[m]>
As soon as I use a remote builder, nix ONLY builds remote and doesn't use my local machine anymore. How can I tell nix to use both remote and local machine for building?
<{^_^}>
systemd/systemd#1615 (by prescott66, 5 years ago, closed): System hangs at reboot/shutdown - Arch Linux
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaivai has joined #nixos
cybersyn has joined #nixos
<Duponin>
hi, question a bit stupid but how can I create the sha256 for a directory to input it in the `fetchurl` Nix command?
domogled has quit [Read error: Connection reset by peer]
domogled has joined #nixos
<DavHau[m]>
@Duponin nix-prefetch-url?
<genevino>
i don't think fetchurl works recursively on directories, and i don't think you can sha256 a directory, either.
<Duponin>
genevino: we can't sha256 a directory I agree. I guess fetchUrl needs a zip and we have to provide the sha256 of the zip
<Duponin>
but when we use fetchFromGithub, we have to provide revision and the sha256 (→ wat?)
<qyliss>
Nix can sha256 a directory
<qyliss>
nix-hash --type sha256 /var/empty
<qyliss>
,tofu Duponin
lgcl has quit [Read error: Connection reset by peer]
<{^_^}>
Duponin: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000), then replace it with the correct hash Nix expected. For inserting 52 0's in vim: <esc>52i0<esc>
<Duponin>
qyliss: oooooookay, thank you :)
<rawtaz>
yjftsjthsd: haha, you're right :D
<j4m3s__>
how does it work on a directory ? It computes the sha256 of the nar file of the dir?
cybersyn` has joined #nixos
<clever>
j4m3s__: it will serialize the entire directory (nix-store --dump /var/empty/ | hexdump -C) and then hash the serialized form
<j4m3s__>
Ok ok :) thx for the info
cybersyn` has quit [Client Quit]
cybersyn has quit [Remote host closed the connection]
berberman_ has joined #nixos
tarruda3 has quit [Read error: Connection reset by peer]
tarruda3 has joined #nixos
berberman has quit [Ping timeout: 272 seconds]
berberman_ has quit [Max SendQ exceeded]
berberman has joined #nixos
<Duponin>
j4m3s__: the cursed answer would be `find . | tar -cv - | sha256sum -` :D
<j4m3s__>
Why would this be cursed ?
<j4m3s__>
tar ?
<qyliss>
for one thing it would probably vary a lot based on your tar implementation
<Duponin>
I'm sure we can do a recursive loop with
<qyliss>
and filesystem
<clever>
qyliss: it will also have last-mod timestamps on all the files, ruining the reproducability
<clever>
qyliss: nix uses nar instead of tar, which just lacks timestamp support
<qyliss>
yeah
<j4m3s__>
Yes, that's why nixos uses nar if i'm correct
<gchristensen>
and is ordered and doesn't support suid and other things
<Duponin>
we just have to touch files to setup timestamp 1 just before to pipe into tar
<clever>
you can abuse `nix-store --dump foo > foo.nar` and `nix-store --restore foo < foo.nar` as a tar replacement
pushqrdx has quit [Remote host closed the connection]
<j4m3s__>
Oh didn't know that one :D
tarruda3 has quit [Read error: Connection reset by peer]
sefu has quit [Ping timeout: 246 seconds]
tarruda3 has joined #nixos
pushqrdx has joined #nixos
cosimone has quit [Quit: cosimone]
<pushqrdx>
can someone please tell me what's wrong with my wine overlay that makes it build 32bit even though i specified 64?
<pushqrdx>
it uses a fork that implements a wayland driver, and the 32 bit build works
rajivr has quit [Quit: Connection closed for inactivity]
lifestronaut has joined #nixos
sefu has joined #nixos
tarruda4 has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #nixos
tarruda4 has joined #nixos
<sphalerite>
Is there a way to get "3" for python3 and "2" for python2 without funky version parsing or if statements?
v0|d has joined #nixos
sefu has quit [Client Quit]
<clever>
> python3.isPy3
<{^_^}>
true
<clever>
sphalerite: is that good enough?
<clever>
> python3.isPy2
<{^_^}>
false
<v0|d>
hey there, I need a little bit of help on dnat'tin to libvirt guests. I need to add a rule like -A FORWARD -d guest_ip -p tcp --dport a_port -j ACCEPT via networking.firewall.extraCommands. The problem is libvirt service is fired after firewall service and that particuler one adds several rules to FORWARD chain such as LIBVIRT_FWX _FWI _FWO and these rules basically deny my extra commands. Any ideas?
<clever>
matthewcroughan: got any clue about this error? heh
<matthewcroughan>
lmfao, you gotta be kidding me
<clever>
[ 2.465971] Unable to handle kernel NULL pointer dereference at virtual address 0000003c
<matthewcroughan>
me? Nope
<clever>
[ 2.498077] PC is at bpf_prog_alloc+0x94/0xdc
<matthewcroughan>
PC?
<clever>
program counter
berberman_ has joined #nixos
<matthewcroughan>
clever: what hardware are you running this on?
<pinpox>
colemickens: You are the author of https://github.com/colemickens/cfdyndns , right? The nixpkgs service for it is failing for me, is the tool still working?
<clever>
matthewcroughan: rpi1, with custom firmware and kernel
berberman has quit [Ping timeout: 268 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewcroughan>
interesting
<matthewcroughan>
I guess you'll find your answers in the Raspbian kernel.
<clever>
matthewcroughan: ive got it working on pi2 and pi3 without too much trouble, but pi1 is still giving troubles
<matthewcroughan>
Whatever you're dealing with is likely to have been patched and fixed in Raspbian, so I'd look there.
<clever>
matthewcroughan: already using that fork, but with a custom .config file
asheshambasta has quit [Ping timeout: 268 seconds]
<matthewcroughan>
bisect time
<matthewcroughan>
Or doesn't it work at all at any stage?
<matthewcroughan>
Are you trying to make Nix run on a pi1 though?
<clever>
i have never gotten it to work on a pi1 with the open firmware
<matthewcroughan>
Are you sure it's not running out of RAM?
<clever>
its failing during boot, it cant have used more then 20mb of ram
<matthewcroughan>
I tried hard to get NixOS to work on a 256MB x86 laptop but just kicked out at Stage1
growpotkin has joined #nixos
<clever>
its not even reaching /init in the initrd
<matthewcroughan>
yeah, interesting
<matthewcroughan>
I don't have a pi1 here actually
<matthewcroughan>
but is your work avail on git anywhere?
<pushqrdx>
joko hmm this throws attribute 'overrideAttrs' missing
davidv7 has joined #nixos
<sphalerite>
infinisil: huh, why isn't nixbot answering my last two messages?
<infinisil>
,ping
<infinisil>
Looks like there's some problems on gchristensen's end: Dec 23 20:35:27 protos nixbot[510]: [ThreadId 1] Exception: ConnectionClosedException Abnormal "Could not connect to any of the provided brokers: [((\"events.nix.gsc.io\",5671),HandshakeFailed (Error_Protocol (\"certificate has unknown CA\",True,UnknownCa)))]"
<gchristensen>
hmmmmmmmmmmm
miscalculated has joined #nixos
jollyrogue[m] has joined #nixos
<bqv>
julm: btw, told you. :p
<pushqrdx>
can some nix wizard take a look at https://pastebin.com/rtrQYLg8 to fix why it's throwing "attribute 'overrideAttrs' missing"
<pushqrdx>
i want to both override attributes and pass parameters to build wineWow
<clever>
pushqrdx: you need to swap .override and overrideAttrs
<matthewcroughan>
"cannot auto-call a function that has an argument without a default value ('lib')" is all I get
<clever>
,callPackage matthewcroughan
<{^_^}>
matthewcroughan: If you're updating a file in nixpkgs that starts with something like `{ stdenv, cmake }:`, use `nix-build -A` in the nixpkgs root with the corresponding package attribute to build it. If it's not in nixpkgs, try `nix-build -E 'with import <nixpkgs> {}; callPackage ./file.nix { }'. The mapping from package attributes to package files is in pkgs/top-level/all-packages.nix.
lassulus_ has joined #nixos
<matthewcroughan>
clever: interesting, the result of that is "[D 2020-12-23 20:58:10] mty_fopen: 'fopen' failed to open 'parsecd-150-50.so' with errno 30"
<matthewcroughan>
I can get clefru's package working on wayland though
gustavderdrache has quit [Ping timeout: 256 seconds]
<pushqrdx>
freaking hell... wine built without the --with-wayland flag
<pushqrdx>
this is one of those times when i hate myself and nix
domogled has quit [Ping timeout: 240 seconds]
<hodapp>
grrr, still stuck at "The name org.freedesktop.secrets was not provided by any .service files" despite adding gnome_keyring & gcr to services.dbus.packages
<pushqrdx>
why didn't the 'configureFlags = [ "--with-wayland" ];' propagate with the overlay...
<hodapp>
and NixOS docs don't say anything about keyrings or secrets daemons... bleh
<clever>
pushqrdx: youll need to edit a copy of builder-wow.sh, and then override the buildScript attr, with .override i think
<{^_^}>
[nixpkgs] @WilliButz pushed 6 commits to release-20.09: https://git.io/JLXlm
<pushqrdx>
clever i really want to try out that wine-wayland version, and building from source in a nix-shell is just failing to run, apparently somehere in that monster of a derivation there's some special nix fix
<lordcirth>
hodapp, do you have security.pam.services.<name>.enableGnomeKeyring set, for any <name>?
<pushqrdx>
so i had to go with the overlay route, also because wine has to be properly installed for it to work
<hodapp>
lordcirth: no, should I?
<lordcirth>
hodapp, Not sure you need it as such, but it would pull in what you do need
<lordcirth>
<name> should be a display manager, like sddm, it seems
<hodapp>
is this documented anywhere?
werner292 has joined #nixos
<veleiro>
what's the difference between "programs.*" and "environment.systemPackages"
<lordcirth>
veleiro, systemPackages just puts it in path; programs.* generally does something else that it needs to be useful
<clever>
veleiro: `programs.*` is just a collection of nixos options, some of them may create config in /etc or add a package to systemPackages for you
<hodapp>
tried putting it there, still no luck... guess I need to log out and back in
<veleiro>
so there's a use case for both i suppose
astylian_ has joined #nixos
<veleiro>
i dont remember program.* before today, outside of home-manager
<lordcirth>
veleiro, eg, IIRC molly-guard is under programs; merely having the binaries does nothing, but neither is it a service. So programs.*
<veleiro>
yeah sway is under programs too
<veleiro>
didnt use to be though
<pushqrdx>
clever what would happen if i add builderScript = ./local-script.sh in the old: of overrideDerivation?
<pushqrdx>
buildScript*
<clever>
pushqrdx: it would create a $buildScript env var, that does nothing
<clever>
but overrideDerivation happens after that, so you have to override builder instead
<pushqrdx>
so where do i override that piece of crap :D?
<clever>
pushqrdx: either .override buildScript, or .overrideDerivation builder
<pushqrdx>
so for the first option i just wrap the whole overrideDerivation in a paren and attach .override with buildscript?
<clever>
pushqrdx: the overrides must be done in the right order, the result of overrideDerivation lacks a .override
lord| has quit [Ping timeout: 240 seconds]
<hodapp>
hrmph, logging out and back in still didn't solve this
<pushqrdx>
clever alright so what should i do to this http://ix.io/2Jjp :))?
<hodapp>
maybe there is some magical way I can just convince Pithos to not require that I turn my entire system upside down for one login...
<clever>
pushqrdx: you can just set builder, since your already using overrideDerivation
<pushqrdx>
builder = ./my-local-copy.sh?
lord| has joined #nixos
<clever>
pushqrdx: yeah
davidv7 has quit [Remote host closed the connection]
helithumper[m] has joined #nixos
<pushqrdx>
clever while setting up the build environment: executing '/nix/store/xq0djhdlcdgpjvig28h9yp1qaw1287zw-builder-wow.sh': Permission denied.. for some reason
<pushqrdx>
idk i am getting a bit frustrated
davidv7 has joined #nixos
davidv7 has quit [Read error: Connection reset by peer]
<clever>
pushqrdx: you need to +x the file
<clever>
pushqrdx: oh, no, you want args!
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLXlR
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<clever>
pushqrdx: stdenv.mkDerivation mangles the builder, and turns it into args!!
<clever>
pushqrdx: overrideDerivation happens later, this is why its deprecated :P
<{^_^}>
[nixos-common-styles] @garbas pushed to main « new files moved from nixos-homepage: configuration/index/setup »: https://git.io/JLXl0
<lordcirth>
Ah, as sh -e doesn't require it to be executable.
<{^_^}>
[nixos-homepage] @garbas pushed to extract-site-styles-to-new-flake « moved few more files to nixos-common-styles »: https://git.io/JLXl2
<clever>
the builder is already set to bash
<pushqrdx>
when i made it executable with builder = ... it threw another error `Exec format error`
<clever>
pushqrdx: because it didnt have a #!
<Duponin>
I'm following the wiki guide to create our own package but when I list package to find mine it don't find the derivation and don't have any clue why it don't
<hodapp>
ugh, it would help if I even had a clue how to validate that something is providing org.freedesktop.secrets
<pushqrdx>
then i changed builder = .. to args = [ "-e" ./my-local-copy.sh ]; now it started configuring but i hit a missing wayland packages
<pushqrdx>
which is good, means it picked up that i want freaking wayland
<clever>
:D
<lordcirth>
pushqrdx, sounds like a good start!
<pushqrdx>
how can i add one more build input then?
<pushqrdx>
should be the wayland, wayland-protocols packages
<lordcirth>
Duponin, can you be more specific? You wrote a package; where did you put it, and how are you listing packages?
<pushqrdx>
clever yeah thanks to you, really i couldn't have figured it out so i appreciate your help :D
<clever>
pushqrdx: append to buildInputs like normal
<pushqrdx>
except that i don't know how to append to input in a derivation or at all, is it buildInputs = buildInputs ++ [] ?
<clever>
pushqrdx: thats what the old: is for
<clever>
pushqrdx: its passing you the old value of every attr, so you can do old.buildInputs ++ []
<Duponin>
lordcirth: sure. definition is `nixpkgs/pkgs/tools/ldap/389/default.nix` and I search with `nix-env -f $NIXPKGS -qaP 389-ds-tools` ("389-ds-tools" is the `pname` I set)
<lordcirth>
Duponin, Anyway, if you add that line - plenty of examples in there - it should show up in nix-env
<pushqrdx>
like as we're talking gcc starts 8 instances at a time and takes all cores. However the last build and the one before it after a few minutes build gets so slow and apparently uses only 1 core
<pushqrdx>
this wine derivation though.. thing needs to be nuked
vidbina has quit [Ping timeout: 264 seconds]
<clever>
pushqrdx: it looks pretty ugly, it runs 2 full builds (each with its own configure, build, install), in the same derivation
<pushqrdx>
for some weird reason it's building with max 2~3 compiler instances and only 3 cores are maxed out while the rest are sleeping
<Duponin>
lordcirth: one emacs sigterm later (lint and format on all-packages.nix were a bad idea...) and it works! Thank you :)
<lordcirth>
Duponin, lol. nice
<clever>
pushqrdx: that could just be the dependencies within the makefile
<pushqrdx>
very goddamn slow, when i built wine from source myself in a nix shell it only took 15-20 minutes, nix-env takes nearly 2 hours
fuiltilt has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}>
[nixpkgs] @mjlbach opened pull request #107496 → neochat: init at 1.0 → https://git.io/JLX8u
<lordcirth>
That is quite strange
<lordcirth>
pushqrdx, what happens if you build with nix-env while inside nix-shell?
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<lordcirth>
Maybe nix-shell is getting some vars from the nixpkgs repo, and nix-env from your env
<clever>
pushqrdx: also, if your testing, build with nix-build, not nix-env
sefu has joined #nixos
lassulus has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @dasJ opened pull request #107497 → nixos/tmp: Make /tmp on ramdisk usable again → https://git.io/JLX82
asymmetric has quit [Quit: Peace.]
<pushqrdx>
lordcirth i didn't test that because i didn't think that would make a difference :D
asymmetric has joined #nixos
<pushqrdx>
clever i haven't discovered the nix-build part yet, been semi fulfilled with nix-shell, nix-env that i forgot there's more to nixos than just these
<pushqrdx>
probably it's time to learn more now that i have been using nixos for more than 2 month now
<clever>
pushqrdx: nix-build '<nixpkgs>' -A wine
<pushqrdx>
what's the difference to nix-env picking up the overlay and replacing exisiting install with a new build?
MidAutumnHotaru has quit [Ping timeout: 256 seconds]
<clever>
pushqrdx: nix-shell, nix-env, and nix-build will all load your overlays.nix by default
<clever>
pushqrdx: nix-env will install whatever it built into ~/.nix-profile, and add gc roots, so youll eventually wind up with 20 copies of wine that you cant gc with the default flags
<clever>
pushqrdx: nix-build creates a result symlink, so you can result/bin/wine foo.exe, and it overwrites result each time, so GC will only keep the last build around
<pushqrdx>
wait how is that, i built wine already 4 times today and i only have 1gb left on this disk, i ran out of space earlier on the 2nd build but haven't since then
lassulus has joined #nixos
<pushqrdx>
sure if it creates copies everytime i shouldn've ran out of space already
<clever>
pushqrdx: when nix-env successfully builds it, a gc root is added, so that build cant be deleted
<pushqrdx>
but when i rerun nix-env it says replacing foo
<clever>
its creating a new copy of your profile, where foo has been replaced
<clever>
but it keeps the old version as well, incase you decide to nix-env --rollback
<pushqrdx>
holy shit
<clever>
thats how rollbacks work
<pushqrdx>
i forgot that rollbacks also apply to nix-env
<clever>
nix-env --list-generations
<clever>
rollbacks ONLY apply to nix-env
<clever>
nixos-rebuild is a wrapper around nix-env!
<clever>
nix-channel is also a wrapper around nix-env!
<lordcirth>
nix-build, however, only registers ./result as a root, AFAIK, which gets overwritten on a new build
<pushqrdx>
fuck so i have a ton of wine builds now, shit i have 160 gens lmao
<clever>
ls -l /nix/var/nix/profiles/per-user/clever/profile*/bin/wine
<clever>
pushqrdx: this will show the storepath for wine, in each generation
<clever>
some of them may be in multiple, if you installed other things
<clever>
a single non-wow build is 258mb
<pushqrdx>
yeah i have 5 symlinks, 2 of them are pointing to the same store path, so 3 ones
<lordcirth>
nix-store --optimize might help a lot too
<lordcirth>
They probably dedup well
<lordcirth>
But you should probably just GC
<pushqrdx>
3 unique builds lol, and the forth one is on the way
<clever>
pushqrdx: nix-end --delete-generation 42, if you want to remove a single root
<pushqrdx>
lordcirth i really wanna GC because i already filled the 125 gigs drive, but i also don't wanna redownload all the stuff
<clever>
pushqrdx: if you gc while building, you cant delete things the build needs
<clever>
pushqrdx: also, `nix-collect-garbage --max-freed 10g` will only delete 10g of stuff
<pushqrdx>
i want to gc everything except the things few projects want can i do that?
<pushqrdx>
because i know that i have at least 80gb of wasted shit there
<clever>
2020-12-23 18:01:36 < clever> pushqrdx: if you gc while building, you cant delete things the build needs
<pushqrdx>
well i can't build all my projects at once only to quickly run gc while they are building
rprije has quit [Remote host closed the connection]
<pushqrdx>
i have probably 8 projects that i care about their dependencies, including wine
sefu has quit [Ping timeout: 265 seconds]
<clever>
pushqrdx: having a nix-shell open on the project also counts
<lordcirth>
pushqrdx, consider nix-store --optimize as well. Takes a while, but saves space without actually removing anything
<pushqrdx>
clever so i just run nix-collect-garbage without sudo? because this profile garbage is different thatn the root garbage?
<esotericnonsense>
hm. I'm trying to install nixos and I've got it to work via refind but I can't get nixos-rebuild to populate the /boot/EFI directory with grub
<pushqrdx>
lordcirth yeah i will run this after gc
<clever>
pushqrdx: without args, permissions for gc dont matter
<esotericnonsense>
boot.loader.grub.efiInstallAsRemovable and efiSupport are both true, boot.loader.efi.efiSysMountPoint is set to /boot
<clever>
pushqrdx: permissions only matter if you use -d (delete all generations) or ----delete-older-than
<clever>
pushqrdx: if it has root, then it can also delete GC roots for nixos and root's nix-env
<pushqrdx>
gc only collected 7gb lol
<pushqrdx>
where's the rest i know there's more
<clever>
pushqrdx: nix-du
<lordcirth>
well, if you didn't delete any of those 160 gens...
<clever>
pushqrdx: or just run `ncdu -x /nix`, what is the fattest path?
<pushqrdx>
oh come on.. waiting on lock file. apparently waiting for wine
<clever>
pushqrdx: which lock file?
<pushqrdx>
waiting for lock on profile '/nix/var/nix/profiles/per-user/pushqrdx/profile'
<pushqrdx>
this is what nix-env -iA nixos-nix-du says
<pushqrdx>
hangs on that wait
<clever>
pushqrdx: you can use nix-build instead
<clever>
pushqrdx: nix-build '<nixpkgs>' -A nix-du ; result/bin/nix-du ...
<NemesisD>
is there a straightforward way to interactively run through a derivation's build? i'm building a python project and during the setup phase it seems to be lacking a python package dependency and i can't figure out how to supply it
<infinisil>
NemesisD: Usually `genericBuild` after entering the nix-shell
<pushqrdx>
clever didn't know nix-build could be used like that.
<clever>
infinisil: except when its wine-wow, that abomination breaks all the rules, lol
<clever>
pushqrdx: 2020-12-23 17:53:46 < clever> pushqrdx: nix-build creates a result symlink, so you can result/bin/wine foo.exe, and it overwrites result each time, so GC will only keep the last build around
<pushqrdx>
well that nix-du package flooded lines like N102 -> N415;
<clever>
pushqrdx: read the readme on the link i gave
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
davidv7 has joined #nixos
<pushqrdx>
oh it's a graph visualizer that's neat
<pushqrdx>
.......... error: build of '/nix/store/680647p0yvbfrn10sya2nypy25d9p3dm-wine-wayland.drv' failed
<pushqrdx>
so far with nix, nixos i haven't have the need for extra stuff like direnv or lorri, but what i now feel like i need is a way for (quick and dirty install) of a bunch of binaries
<clever>
pushqrdx: direnv is basically just automatic nix-shell
<clever>
pushqrdx: lorri adds gc roots for each dir, so you cant gc the things, even when the nix-shell is closed
<pushqrdx>
so for instance when i built wine myself from source in a nix-shell, i changed prefix to alocal folder and it installed there, i wish there was a quick way to just say instal this directory, just symlink /lib, /bin etc
<pushqrdx>
so i don't have to generate a derivation or installPhase stuff
<pushqrdx>
this is very annoying when i don't really care about wrapping or packaging
<clever>
pushqrdx: it wont properly track the dependencies when you do that
vs^ has quit []
<pushqrdx>
yeah but i don't really care for some projects, i just wanna test that thing i compiled from source, if it's worth i would then deal with the proper packaging
<pushqrdx>
but yetsterday i wasted so much time packaging someting just so i can run it
Synthetica has quit [Quit: Connection closed for inactivity]
<pushqrdx>
and in the end it wasn't worth all the fuss
<pushqrdx>
i tend to --prefix most builds from source to a local directory and i just wish there was some utility or quick hack that treats the install directory as proper install
<pushqrdx>
so i don't have to a) specify any installPhase b) nix-env -i the thing
<pushqrdx>
-if
<clever>
pushqrdx: once nix-build completes, and your happy with it, you can always nix-env -i ./result
<pushqrdx>
but nix-build would still require me declaratively specifying which stuff to copy in installPhase right?
<clever>
yeah
<pushqrdx>
yeah i don't want that, i want to specify build inputs maybe even without a .nix file, go into a shell build some stuff, say make install (into a local prefix)
<pushqrdx>
then use these files
Rusty1 has joined #nixos
<pushqrdx>
so something like nix-shell -p foo bar baz then mkdir install && make --prefix=$PWD/install && make install or whatever
<vldn>
packaged chitubox successfully if someone is interested
<vldn>
:D
justanotheruser has joined #nixos
sefu has joined #nixos
o1lo01ol1o has joined #nixos
joehh1 has quit [Ping timeout: 256 seconds]
joehh1 has joined #nixos
<pushqrdx>
skipping incompatible /nix/store/796snvfrnpnxpsmqxvf506fx1mkzz65z-wayland-1.18.0/lib/libwayland-client.so when searching for -lwayland-client
<lordcirth__>
pushqrdx, is the -l supposed to be part of the word?
lordcirth__ is now known as lordcirth
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pushqrdx>
yeah that's just how the linker flags are specified
<pushqrdx>
it just can't find a compatible wayland-client.. even though in a nix-shell from source everything went fine
<pushqrdx>
also in the 32 bit build of the overlay it went fine
<pushqrdx>
64 bit version is flopping on me all day long that i kinda lost hope now, that's the 6th or 7th build each taking 1+ hours today that fails because of some goddamn silly reason
<pushqrdx>
i think it's easier to find a way to package my local nix-shell build to be installable than try to overlay this bile of garbage
sefu has quit [Ping timeout: 240 seconds]
mounty has quit [Quit: Konversation terminated!]
<{^_^}>
[nixpkgs] @matthiasbeyer opened pull request #107505 → Add lotide, hitide and service definitions for both → https://git.io/JLX0b
civodul has quit [Ping timeout: 272 seconds]
<radvendii>
I'm having trouble cross-compiling anything for darwin. has anyone here successfully done that?
<radvendii>
(I also opened an issue on github #107241)