<jackdk>
I am having difficulty booting the nixos install medium on my xps 13 (9380). I have turned secure boot off in the bios, but trying to boot either of the partitions on the USB just gives me a black screen and a cursor in the top left
<jackdk>
I assume it matters because you asked that, but reading about all the weird variations in USB-C For Workgroups 3.11 WIth Enhanced Tools makes me want to flip tables
<gchristensen>
lol yep
<gchristensen>
it can't boot off USB disks in the left edge
<gchristensen>
(and the one on the right is displayport...)
<Church->
Huh thought that was on the left?
shandogs has quit []
<Church->
Least it is on my xps13
<gchristensen>
not on the 9380
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<emily>
is the doc saying that nixos-rebuild supports <nixpkgs-overlays> really true? I can do `nix run nixpkgs.redshift-wayland` but not reference `pkgs.redshift-wayland`, even when $NIX_PATH/nix.nixPath includes nixpkgs-overlays
markus1189 has joined #nixos
jgt has joined #nixos
<clever>
emily: last i checked, nixos-rebuild ignores overlays in NIX_PATH
<clever>
emily: it only obeys nixpkgs.overlays = [ ... ]; in configuration.nix
<emily>
so "If you want your overlays to be accessible by nix tools and also in the system-wide configuration, add nixpkgs-overlays to your NIX_PATH: ... Currently nixos-rebuild only works with a <nixpkgs-overlays> path that is a directory." on the wiki is just nonsense? :/
<clever>
emily: line 9 tells nixos to use an overlay in the overlays dir, and line 13 bakes that overlays dir into the default NIX_PATH
<emily>
yeah, but then I have to duplicate the whole list :( it's not the end of the world, just kind of sucks
<Netsu>
nix derivation build ocaml package with library and binary successfully, but throw that `wrong ELF type`. Should it be fixed in derivation somehow?
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
<Miyu-chan>
Aside from `serviceConfig.restartNonce = currentTime; restartIfChanged = true;` what other facilities do I have to start the service on rebuild?
<arianvp>
to _Start_ it?
<Miyu-chan>
Yes, to start it.
<arianvp>
add wantedBy = [ "multi-user.target" ]
<Miyu-chan>
activationScript?
<Miyu-chan>
Hm. That's also one thing that I thought about.
<arianvp>
it will then be pulled in on boot, and will also be started during activation
o1lo01ol1o has joined #nixos
<Miyu-chan>
You sure about that? I checked switch-to-configuration, and multi-user.target is not started.
<arianvp>
i'm 75% sure
root has joined #nixos
<Miyu-chan>
Good enough. I'll check the source. Thanks!
root is now known as Guest29495
ericsagnes has quit [Ping timeout: 250 seconds]
___laika has quit [Ping timeout: 245 seconds]
ym555 has joined #nixos
<arianvp>
Miyu-chan: look at line 177 in switch-to-configuration
bnasty[m] has quit [*.net *.split]
AluisioASG has quit [*.net *.split]
chreekat has quit [*.net *.split]
Supersonic has quit [*.net *.split]
vdemeester has quit [*.net *.split]
slikts has quit [*.net *.split]
Glenn has quit [*.net *.split]
snajpa has quit [*.net *.split]
ok2` has quit [*.net *.split]
tomberekn[m] has quit [*.net *.split]
zik[m] has quit [*.net *.split]
Gopal[m] has quit [*.net *.split]
kjuvi[m] has quit [*.net *.split]
TaoHansen[m] has quit [*.net *.split]
Lev[m] has quit [*.net *.split]
blitzclone[m] has quit [*.net *.split]
aterius has quit [*.net *.split]
fasd has quit [*.net *.split]
apx[m] has quit [*.net *.split]
xenofungus[m] has quit [*.net *.split]
EB[m] has quit [*.net *.split]
HappyEnt[m] has quit [*.net *.split]
neonfuz2 has quit [*.net *.split]
Dan[m]6 has quit [*.net *.split]
jak[m] has quit [*.net *.split]
ndarwincorn has quit [*.net *.split]
escaP[m] has quit [*.net *.split]
icetan has quit [*.net *.split]
Obscurity[m] has quit [*.net *.split]
sauyon[m] has quit [*.net *.split]
rizary has quit [*.net *.split]
alj[m] has quit [*.net *.split]
craigevil[m] has quit [*.net *.split]
arthur[m]2 has quit [*.net *.split]
IslandUsurper has quit [*.net *.split]
ninjatrappeur[m] has quit [*.net *.split]
Deathmist[m] has quit [*.net *.split]
luftmensch[m] has quit [*.net *.split]
DanP[m] has quit [*.net *.split]
rdes[m] has quit [*.net *.split]
timclassic has quit [*.net *.split]
iceychris[m] has quit [*.net *.split]
cornu has quit [*.net *.split]
abbec has quit [*.net *.split]
MilkManzJourDadd has quit [*.net *.split]
malteof[m] has quit [*.net *.split]
jonge[m] has quit [*.net *.split]
Noughtmare[m] has quit [*.net *.split]
musicmatze has quit [*.net *.split]
simbergm has quit [*.net *.split]
leons has quit [*.net *.split]
Ashy has quit [*.net *.split]
shlevy has quit [*.net *.split]
witchof0x20 has quit [*.net *.split]
mingc has quit [*.net *.split]
jeregrine has quit [*.net *.split]
rajivr___ has quit [*.net *.split]
fgaz has quit [*.net *.split]
nwspk has quit [*.net *.split]
AstroBadger has quit [*.net *.split]
sorear has quit [*.net *.split]
codezero has quit [*.net *.split]
lpsmith has quit [*.net *.split]
shad has quit [*.net *.split]
makefu has quit [*.net *.split]
Fulgen has quit [*.net *.split]
mq32 has quit [*.net *.split]
xq- has joined #nixos
<arianvp>
it starts all target units I think
mexisme has quit [*.net *.split]
fusion809 has quit [*.net *.split]
gerschtli has quit [*.net *.split]
tokudan has quit [*.net *.split]
siel has quit [*.net *.split]
zacts has quit [*.net *.split]
levdub has quit [*.net *.split]
cyris212 has quit [*.net *.split]
awygle has quit [*.net *.split]
aswanson has quit [*.net *.split]
pop[m]1 has quit [*.net *.split]
lel[m] has quit [*.net *.split]
ploupiboulba[m] has quit [*.net *.split]
rnhmjoj has quit [*.net *.split]
balsoft[m] has quit [*.net *.split]
seese[m] has quit [*.net *.split]
alan[m] has quit [*.net *.split]
fabianhjr[m] has quit [*.net *.split]
wuji[m] has quit [*.net *.split]
bkl[m] has quit [*.net *.split]
Lisanna[m] has quit [*.net *.split]
haslersn[m] has quit [*.net *.split]
hpfr[m] has quit [*.net *.split]
nrdxpmatrixorg[m has quit [*.net *.split]
pinage404[m] has quit [*.net *.split]
Florian[m] has quit [*.net *.split]
nbardiuk has quit [*.net *.split]
yoho[m]1 has quit [*.net *.split]
ptotter[m] has quit [*.net *.split]
bendlas has quit [*.net *.split]
Moredread[m] has quit [*.net *.split]
copy` has quit [*.net *.split]
jasongrossman[m] has quit [*.net *.split]
codyopel has quit [*.net *.split]
wak-work has quit [*.net *.split]
schmittlauch[m] has quit [*.net *.split]
sylvie[m] has quit [*.net *.split]
nh2[m] has quit [*.net *.split]
bennofs[m] has quit [*.net *.split]
dtz has quit [*.net *.split]
joepie91[m] has quit [*.net *.split]
kaychaks[m] has quit [*.net *.split]
anton_ has quit [*.net *.split]
Ericson2314 has quit [*.net *.split]
tboston has quit [*.net *.split]
rizary_ has quit [*.net *.split]
qyliss^work has quit [*.net *.split]
datakurre has quit [*.net *.split]
mekdolan has quit [*.net *.split]
b42 has quit [*.net *.split]
stigo has quit [*.net *.split]
simpson has quit [*.net *.split]
xacktm has quit [*.net *.split]
Khetzal has quit [*.net *.split]
thoughtpolice has quit [*.net *.split]
c00w has quit [*.net *.split]
eeva has quit [*.net *.split]
yorick has quit [*.net *.split]
zgrep has quit [*.net *.split]
nimblepoultry has quit [*.net *.split]
scott has quit [*.net *.split]
coderobe has quit [*.net *.split]
drvirgilio_ has quit [*.net *.split]
stramble-M has quit [*.net *.split]
Luker has quit [*.net *.split]
chaker has quit [*.net *.split]
otwieracz has quit [*.net *.split]
mk_modrzew has quit [*.net *.split]
globin has quit [*.net *.split]
myme has quit [*.net *.split]
ym555_ has quit [Ping timeout: 277 seconds]
gxt has quit [Ping timeout: 260 seconds]
Unode has quit [Ping timeout: 244 seconds]
pie_ has quit [Ping timeout: 252 seconds]
Neo-- has joined #nixos
<Miyu-chan>
arianvp: Okay cool, you're in the same side of the netsplit.
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjXoo
xacktm has joined #nixos
<Miyu-chan>
Aww, dammit. I actually liked that feature.
<Miyu-chan>
It's the right way forward though.
rsoeldner has joined #nixos
<yorick>
Miyu-chan: "abc${DEF:geh}" looks like a bash substitution
<Taneb>
I'm trying to package something and it's distributed as an essentially standalone python script. Are there any examples in nixpkgs I could refer to that people like?
<Miyu-chan>
Also, what's the status of file system encryption with NixOS? Not block level, but file system.
<Miyu-chan>
I guess it'd be better to say encryption-aware file systems?
<yorick>
Miyu-chan: zfs and bcachefs do that
<Miyu-chan>
Or not, that makes it sound like the file system knows wheter its on LUKS or not.
<Miyu-chan>
Yeah, I'm thinking about ext4 and f2fs specifically, since they seem to use fscrypt, and I'm not sure how that works on bootup.
<yorick>
I wouldn't really call that encryption-aware
<lucus16>
Taneb: I packaged latexrun a while ago, that's a standalone python script
<Taneb>
lucus16: exactly what I'm after, thanks :)
<Miyu-chan>
I checked it out a bit, and fscrypt seems like there's only an fscrypt package.
<{^_^}>
[nixpkgs] @1000101 opened pull request #64784 → monero: Enable Trezor support → https://git.io/fjXKk
zupo has joined #nixos
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
<Zer0xp>
Does anyone here use KDE Plasma ?
<Zer0xp>
With their NixOS
<yorick>
Zer0xp: it's the default
<Zer0xp>
So I've been trying to update my VS Code but I keep getting this issue: "A folder named /home/Zer0xp/.cache/kioexec/krun/7199_0/ already exists."
<Zer0xp>
I try deleting the folder but it keeps respawning instantly
<Miyu-chan>
I'll have to ask. What does "default" here mean?
<yorick>
Zer0xp: on 18.09?
<yorick>
Miyu-chan: if you complete the graphical installer and enable x, that's what you get
<Zer0xp>
Does anyone know what kioexec does and why it prevents me from updating certain apps ? Had the same issue trying to update Postman.
<aveltras>
I have a problem configuring notmuch with emacs, I have set up the emacs service and use emacsclient to use emacs. in my terminal the env variable NOTMUCH_CONFIG is available but emacs can't see it, i guess the service might be started too soon. did anyone face this problem ?
<betaboon>
baronleonardo: i just tested that and it seems to work
rauno has quit [Ping timeout: 258 seconds]
<baronleonardo>
thanks man you saved me :)
<betaboon>
baronleonardo: aside from that: i just tested `nix-shell -p i3pystatus` and then open a python-shell and run `import i3pystatus` works fine for me as well
is_null has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @FRidh opened pull request #64795 → ccache.links: make it a function of unwrappedCC → https://git.io/fjXPZ
is_null has joined #nixos
<baronleonardo>
betaboon it works just in this shell and this is an application that need to be in i3 config file at startup
das_j2 has joined #nixos
is_null has quit [Remote host closed the connection]
<das_j2>
ajs124: Ping
<ajs124>
das_j2: pong
<das_j>
ajs124: noice
jtojnar has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
jtojnar has quit [Client Quit]
<betaboon>
baronleonardo: i don't quite understand. is your problem solved now, or not ?
<__monty__>
Hmm, could someone verify whether the "wire-desktop" in nixpkgs is a valid derivation? nix-build ~/src/nixpkgs -a wire-desktop is complaining it's not a derivation.
srid6390803 has joined #nixos
<betaboon>
__monty__: `nix-shell -p wire-desktop` works fine here
stepcut has quit [Remote host closed the connection]
<__monty__>
Hmm, maybe the problems evaluating the derivation came from having the result folder around? Just tried removing that and seems I lack permissions?
<clever>
__monty__: you want `rm result` not `rm result/`
<__monty__>
clever: Still have that open from yesterday : )
kim0 has joined #nixos
<__monty__>
Welp, guess I'll have to fix my store then?
<clever>
__monty__: nix-store --verify --check-contents will look for any damaged paths
siers has left #nixos ["WeeChat 2.2"]
orivej has quit [Ping timeout: 245 seconds]
<clever>
__monty__: nix-store --delete /nix/store/foo to remove corrupt things, dont use --force
srid6390803 has joined #nixos
deech__ has joined #nixos
shomodj_ has joined #nixos
shomodj has quit [Ping timeout: 245 seconds]
deech_ has quit [Ping timeout: 272 seconds]
deech_ has joined #nixos
<__monty__>
Hmm, verify didn't find anything, so I guess it's alright.
ThatDocsLady has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @vcunat pushed 3 commits to staging-19.03: https://git.io/fjXXq
deech__ has quit [Ping timeout: 245 seconds]
igor has joined #nixos
alp has joined #nixos
<__monty__>
clever: Hmm, electron looks packaged for darwin already? It just fetches the .app but that's fine, right?
<clever>
__monty__: oh, maybe i was just mis-remembering that part
<clever>
its patching the pre-built binary, for both platforms
igor has quit [Client Quit]
alp_ has quit [Ping timeout: 252 seconds]
sb0 has joined #nixos
<Miyu-chan>
This is starting to tick me off lol. How do I make .* not include . ..
<igor>
Hello. Is there a way to display nix-shell enviroment in shell?
lkonya has quit [Ping timeout: 260 seconds]
<Miyu-chan>
nix-shell --run 'env'?
<__monty__>
clever: I'm looking at the repo because you said it'd be easy to just feed the css, html and js to electron. It uses yarn though and I'm not at all familiar, can't find anything that looks like a makefile to see what steps have to be executed to complete the html/js assets. Should I just try running yarn in the derivation?
<clever>
__monty__: its using yarn to build the final JS, but you can just rip that final JS out of the existing .deb
igor has quit [Quit: leaving]
eisbaer-1 has joined #nixos
<Miyu-chan>
57293 store paths deleted, 38427.28 MiB freed
<Miyu-chan>
Wooh. That's one thick n/nix/store
<clever>
Miyu-chan: ive seen bigger
<clever>
Filesystem Size Used Avail Use% Mounted on
<clever>
tank/nix 160G 152G 8.0G 96% /nix
<exarkun>
1 line of nix to install/enable node_exporter. or 95 lines of ansibles. :(
<__monty__>
clever: Hmm, so, I get the deb, download the assets, then wrap electron around it all? They, seem to release versions for the different platforms at different commits. Wouldn't this matter?
<clever>
__monty__: try just using the latest version for all platforms and see what breaks
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aveltras_ has joined #nixos
aveltras_ has quit [Client Quit]
Drakonis has joined #nixos
<aveltras>
anyone using the weechat service ? I don't get how it works. Why must i explicitly login as weechat user "su -l weechat -s /bin/sh" and then start weechat when there's a service running supposed to do this (i guess) ?
<gchristensen>
I don't ...
<gchristensen>
I just run weechat in screen
<gchristensen>
IMO the weechat service should not be in nixos
<aveltras>
gchristensen: with which user ?
<gchristensen>
my own user
<aveltras>
using tmux or sth ?
<gchristensen>
I use screen :P but you could use tmux, sure
<hpfr[m]>
How do you guys handle dotfiles vs nixos modules? Seems like a lot of modules have a multi line string option for putting a config that outputs to the dotfile. Is that the way to go?
<hpfr[m]>
The only problem I have with that is that you would lose out on syntax highlighting
<sauyon>
do you mean dotfiles in $HOME?
<das_j2>
hpfr[m] (IRC): For $HOME, home-manager is probably the way to go
<__monty__>
I'm still on the fence about using home-manager to just put my dotfiles in place or actually translating the configs into nix. Any advantages to doing that?
<das_j2>
__monty__ (IRC): Ping me once you have decided. I have the same problem
<das_j>
Oh, that (IRC) suffix sucks
das_j2 has quit [Remote host closed the connection]
<exarkun>
matrix?
<das_j>
yep
<aveltras>
tilpner: where does the "files.".profile".text" come from ? is this home manager ?
<__monty__>
aveltras: Looks like it, yeah. "home.files" in the manual.
<aveltras>
is there any alternative to get the same effect without bringing home manager in ?
<aveltras>
it's for a server config
wfranzini has quit [Remote host closed the connection]
<aveltras>
is "environment.loginShellInit" the same ?
drakonis_ has joined #nixos
<das_j>
if you need /etc, use environment.etc."myservice/main.cfg".text = ''
hyper_ch2 has quit [Remote host closed the connection]
vmandela has joined #nixos
<baronleonardo>
hello, I need so help about python on nixos
<hpfr[m]>
sauyon: yeah I guess they don’t seem to actually overlap, I’m pretty new to nix. It looks like the nixos modules are restricted to system settings like default editor anyway. I’ll look into home-manager more.
<baronleonardo>
I have a python package
<baronleonardo>
i3pystatus
<das_j>
aveltras: I have no idea where file comes from...
<{^_^}>
[nixpkgs] @ambrop72 opened pull request #64809 → chromium: Fix running with --use-gl=egl. → https://git.io/fjXMb
<baronleonardo>
it depends on 2 packages on as a library `python-dbus` and one on pip `xkbgroup`
snajpa has quit [Client Quit]
<aveltras>
das_j: ok np, i'm just wondering how people configure weechat on their nixos server
<das_j>
aveltras: As a bouncer?
leotaku has quit [Ping timeout: 268 seconds]
<aveltras>
das_j: i don't know all the vocabulary related to irc, i've setup a vps and now i'd lik to be able to have a permanent irc service that i can connect to from emacs and android
<baronleonardo>
anyone would help me at this problem ?!
<das_j>
Well you can just preStart = "echo whatever > ${config.users.users.weechat.home}"; in the service
<das_j>
that would be dirty but it would work
<das_j>
sorry ${config.users.users.weechat.home}/.profile of course
<das_j>
also yes, what you describe is a bouncer
<Taneb>
aveltras: what you've just described is I think a bouncer
<sauyon>
aveltras: this all feels a bit dirty
<aveltras>
das_j: but the service is already running and i cant connect to it, only if i run "weechat" explicitly then i can
<das_j>
aveltras: what does `ss -tulpen` say?
<{^_^}>
[nixpkgs] @WilliButz opened pull request #64810 → nixos/tests: extend grafana test, nixos/grafana: use group grafana instead of nogroup → https://git.io/fjXMA
<das_j>
Does it list it? Also, don't forget about the nixos firewall
<aveltras>
but then i have to ssh on the server, switch to weechat user and keep the windows open
npmccallum has joined #nixos
<sauyon>
you could always specify the command to run on the client
das_j2 has joined #nixos
das_j2 has quit [Remote host closed the connection]
<gchristensen>
please just don't use the weechat service tbh
<__monty__>
clever: What's your reasoning for getting the sources using the deb and then wrapping that with electron, rather than just doing the full yarn build process? I'm having trouble wrapping my head around why you'd use only *part* of a pre-built thing.
<aveltras>
gchristensen: im now using a custom weechat service based on tilpner gist
das_j2 has quit [Remote host closed the connection]
das_j2 has joined #nixos
<clever>
__monty__: and the usual purity stuff like people assuming /bin/bash exists
npmccallum_ is now known as npmccallum
das_j2 has quit [Remote host closed the connection]
aveltras_ has joined #nixos
<__monty__>
clever: So I get the deb, then use dpkgs to fetch the sources?
aveltras_ has quit [Client Quit]
<gchristensen>
dpkg can't fetch, that is what apt isfor
tg has joined #nixos
catern has joined #nixos
<__monty__>
Ah, thought that that was what dpkg-deb -x was doing. Guess I'll have to read up on dpkg and apt.
<gchristensen>
oh maybe it can ... hrmm ... I didn't think dpkg knew how to fetch
<tilpner>
aveltras: The .profile is there to automatically attach to the abduco session. I just do "mosh weechat@somehost" and can use weechat. Then press the abduco detach shortcut and weechat is still running but I have my shell back
baronleonardo has quit [Remote host closed the connection]
<clever>
__monty__: i think `dpkg -x` is just to extract the contents of the deb
<tilpner>
aveltras: You can just manually put the .profile there for now, to see if this module is something you want in the first place
<aveltras>
tilpner: seems it was the .weechat directory
<tilpner>
aveltras: Can you verify that /var/lib/weechat/irc.conf contains the networks you expect? I see a .weechat there, which the service should ignore. So if you copied your config there, that might explain the missing networks
<aveltras>
in my ~weechat
<aveltras>
moved it away
<aveltras>
then the two methodes of starting weechat get the default config
<aveltras>
which is fine i guess since i'll redo it according to the nginx proxy methode
<mkaito>
my day so far: hating life trying to set up an environment with rust nightly and a working rust-racer.
<aveltras>
tilpner: thx for the help here
Guest58212 has quit [Quit: WeeChat 2.3]
<aveltras>
tilpner: i'll see if i manage to get it fully working from there :)
zacts has joined #nixos
<tilpner>
aveltras: AFAIK, just typing weechat will use "~/.weechat", which is not what I wanted
<tilpner>
aveltras: But the service will use ~ for its config, so both ways you mentioned will use different locations for their config
realrokka has quit [Ping timeout: 268 seconds]
<aveltras>
tilpner: seems it works fine from there, i just had to "/relay add weechat 9000" and setting the password
<aveltras>
the android app connects
<aveltras>
i wont use "weechat" command anymore then
<aveltras>
tilpner: why did you give up on declarative config ?
npmccallum_ has joined #nixos
<ldlework>
Is there nix module for weechat config now?
<gchristensen>
no
<tilpner>
aveltras: Too much trouble to make changes. Just changing notification settings for a buffer would require a restart of weechat, and thus disconnect me from everything
<aveltras>
would be nice
<tilpner>
I have a Nix expression that generates a weechat configuration directory from an attrset
<tilpner>
But it just doesn't fit the way people use weechat
<gchristensen>
oh cool
<clever>
tilpner: irssi has a /upgrade command, that will re-exec itself, and forward all open sockets
<gchristensen>
whoa
<clever>
tilpner: so you can change the binary without loosing connections
Zer0xp has quit [Ping timeout: 260 seconds]
<aveltras>
the thing is, it would be nice to have an expression to have an initial setup, even if then you just change your settings imperatively
srid6390803 has joined #nixos
<tilpner>
clever: Yes, I probably could. At that point, I was passing a nix store path as configuration, but I could have made it a stable path and relinked it
npmccallum has quit [Ping timeout: 245 seconds]
npmccallum_ is now known as npmccallum
winem_ has quit [Ping timeout: 272 seconds]
<tilpner>
gchristensen, aveltras: Here's my wrapper for declarative weechat config, feel free to salvage what you like: https://tx0.co/uY1
<{^_^}>
[nixpkgs] @FRidh merged pull request #64701 → buildPythonPackage: add support for setupPyGlobalFlags (2) → https://git.io/fjXmo
<{^_^}>
[nixpkgs] @FRidh pushed to staging « buildPythonPackage: add support for setupPyGlobalFlags (2) »: https://git.io/fjXD6
<{^_^}>
[nixpkgs] @vcunat pushed 29 commits to staging-19.03: https://git.io/fjXyM
<Gopal[m]>
is it possible to run a portable linux tarball?
<Gopal[m]>
like firefox.tar.gz
<Gopal[m]>
or ungoogled chromium's portable linux tarball?
Drakonis has quit [Ping timeout: 250 seconds]
<tilpner>
Gopal[m]: Your question is unclear to me. You should specify where that tarball comes from
acarrico has quit [Ping timeout: 268 seconds]
<tilpner>
Gopal[m]: Possible interpretations: "I have a source tarball, how do I compile it?" "I have a tarball of binaries, how do I execute those?" "Can I use nixpkgs-packaged applications in a portable way?"
domogled has quit [Quit: domogled]
orivej has quit [Ping timeout: 248 seconds]
ashesham` has quit [Ping timeout: 252 seconds]
Myhlamaeus has joined #nixos
dansho has joined #nixos
jasongrossman has quit [Ping timeout: 245 seconds]
fusion809_ has quit [Remote host closed the connection]
<exarkun>
it doesn't build because the updated python packages from the overlay don't seem to end up in use
___laika has joined #nixos
<{^_^}>
[nixpkgs] @nicknovitski opened pull request #64822 → bundlerUpdateScript: init and use → https://git.io/fjXS8
alp_ has quit [Ping timeout: 276 seconds]
mariel__ has quit [Ping timeout: 248 seconds]
<mkaito>
does anyone actually know how to use carnix/buildRustCrate?
<exarkun>
mkaito: I tried carnix last week, totally failed
<mkaito>
the nixpkgs manual is outdated, the project readme is useless, and I'm kind of tired of waiting for buildRustPackage to recompile every single crate over and over again.
<mkaito>
¯\_(ツ)_/¯
<exarkun>
yes
wfranzini has quit [Remote host closed the connection]
<erictapen>
mkaito: carnix is still quite unstable but I was able to use it for some stuff. any specific questions?
dm9 has quit [Quit: WeeChat 2.5]
<mkaito>
yeah, it fails to find the `std` and `core` crates when compiling the `serenity` crate.
<mkaito>
and I have no idea if I'm doing something wrong ir it's carnix or the rust tooling in nixpkgs that's broken
<mkaito>
that's when I try to use rustc from the mozilla overlay. when I don't, it just spits out ~200 errors about things not being in scope when compiling serenity, which I guess is because rustc is older? I don't know.
<tilpner>
mkaito: You don't have to use the NUR method to get the mozilla overlay
<mkaito>
tilpner: When I tried to use makeRustPlatform, I found that it tried to access rustc.src to make an ad-hoc rustSrc derivation, which fails because the overlay has a separate rust-src attribute.
<mkaito>
well, it fails because `rustc.src` doesn't exist on the one from the mozilla overlay.
<__monty__>
I'm getting "undefined variable 'desktopItem'", is this because I'm on darwin? And if so, how do I make it lazy enough for that not to matter?
<tilpner>
mkaito: Are you referring to my paste?
<mkaito>
I did something 90% the same earlier today
<__monty__>
Oh, nvm, forgot a rec.
<tilpner>
Try what I linked, I'm sure it worked when I originally wrote that
<mkaito>
oh you do `rustc = rust`, yeah that might work
<erictapen>
mkaito: yeah if you push your progress I could have a look at it
<pamplemo1sse>
Is this up-to-date: https://nixos.org/nixpkgs/manual/#ssec-check-phase? Because when I do not specify `doCheck = false`, tests are run... So the default seems to be the opposite of what's documented.
<pamplemo1sse>
And, for python packages, how does nix-build knows which tests to run?
<tilpner>
pamplemo1sse: You may need doInstallCheck = false;
<pamplemo1sse>
Well, again, in the documentation "By default it is skipped"... This is not what I experience.
<clever>
wildtrees: if installed from the same nixpkgs, it will point to the same storepath for both users
<wildtrees>
I havent updated anything and there is two different hashes
<wildtrees>
could that be from programs needing different versions?
<clever>
wildtrees: what is the full path to the library?
<wildtrees>
in nix store? there are two from what looks like the same library
<__monty__>
clever-senpai: I caved and just downloaded and extracted the .pkg for darwin. Can you ever forgive me?
<clever>
wildtrees: yeah, what is the full path to both of them
<clever>
__monty__: dont worry, i was doing the exact same thing for daedalus initially :P
<erictapen>
mkaito: well I got to the point where serenity is failing to build, but got no further. really weird that it does not find the reqwest crate. I give up, good luck!
<clever>
__monty__: i just unpacked the darwin pkg, and ran electron against it
<clever>
__monty__: it would be interesting to find the JS files in both the debian and darwin builds, and diff them, to see why they differ
ndarwinc1 has joined #nixos
ndarwinc1 has quit [Client Quit]
<mkaito>
erictapen: yeah I gave up too and just made buildRustPackage use an updated rustc instead. thanks a lot for trying though!
<wildtrees>
clever, gimme a min so I can cut and paste
o1lo01ol1o has quit [Remote host closed the connection]
<clever>
wildtrees: one is the bootstrap tools openssl, the other is the non-bootstrap openssl
<clever>
wildtrees: how did you wind up with that ssl in your profile?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<wildtrees>
I installed it via nix-env as a non special user to try to get a local install of perl6 to recognize it
<clever>
,libraries wildtrees
<{^_^}>
wildtrees: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<ashkitten>
when i ssh into my computer with a command it says it can't find that command. still works if i use an absolute path, but it's kinda weird
ndarwinc1 has joined #nixos
<symphorien>
ssh does not source /etc/profile or whatever hook nix uses to set the path
<ashkitten>
if i log in with an interactive session it finds the command just fine
ndarwinc1 has quit [Client Quit]
<ashkitten>
oh
<ashkitten>
how do i.. make that work
<clever>
ashkitten: .bash_profile vs .bashrc
<clever>
ensure both update PATH
<symphorien>
bash sources nothing with non interactive non login shells
<clever>
you can test it with `ssh user@host nix-store --version`
<symphorien>
the only solution I found is zsh
ndarwinc1 has joined #nixos
<clever>
symphorien: it does still source one of them, i cant remember which
<ashkitten>
i'm using zsh but didn't enable programs.zsh because the default zsh startup scripts were setting prompt stuff i didn't like
<symphorien>
I could not find it when I tried
<ashkitten>
i'm guessing that's the issue
<clever>
symphorien: just confirmed, ~/.bashrc is ran, on the gentoo machine, with non-interactive shells
mexisme has quit [Ping timeout: 264 seconds]
<symphorien>
ah ok
<ashkitten>
sadly i can't actually do any testing right now while my zpool is scrubbing
<clever>
one problem i did run into, is that darwin's bash, will only source ~/.bashrc, and nothing from /etc/
<clever>
so you cant just fix it system wide
<ashkitten>
it'd slow down everything to a crawl
<clever>
you must fix it for every single user, one by one
<ashkitten>
i was actually really annoyed at programs.zsh.enable setting things like prompt behavior and such when i didn't expect it to. i might make a pr to nixpkgs to make it less annoying
arjen-jonathan has quit [Ping timeout: 264 seconds]
growpotkin has joined #nixos
<growpotkin>
where my LISPers at? I can't get `ssl` to play nice
<pamplemo1sse>
are there any style guide for contributing to nixpkgs?
<growpotkin>
pamplemo1sse: I don't think there are any published, but just make a PR and wait for someone to nit pick which is what always happens to me lol
<growpotkin>
pamplemo1sse: But there are a few basic ones in the contributors guide.
<infinisil>
pamplemo1sse: Did you look in the nixpkgs manual?
Neo-- has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
orivej_ has quit [Ping timeout: 272 seconds]
abathur has joined #nixos
<{^_^}>
[nixpkgs] @nyarly opened pull request #64843 → (fish): remove cmake flag → https://git.io/fjX7y
Ariakenom has quit [Quit: Leaving]
<hexa->
Fatal error: glibc detected an invalid stdio handle
<{^_^}>
[nixpkgs] @thoughtpolice pushed commit from @r-ryantm to master « metabase: 0.32.2 -> 0.32.9 »: https://git.io/fjX7h
erasmas has quit [Quit: leaving]
o1lo01ol1o has quit [Remote host closed the connection]
<andi->
dwarrfs really expects people to be on the flakes track just yet... :/
o1lo01ol1o has joined #nixos
ryantrinkle has joined #nixos
<clever>
andi-: there an idea i had before, if you build a package with splitDebug = true;, then you get a .debug output on it
<clever>
andi-: in theory, you could then have a gdb plugin, that will use `nix-store --query --deriver` to find the drv behind a path, then `nix-store --query --binding debug` to find its .debug, and dynamically load that
<andi->
I usually deal with it using just nix but thought dwarffs might be a good idea..
npmccallum has quit [Quit: npmccallum]
wfranzini has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
wfranzini has joined #nixos
<ashkitten>
so what's the deal with the wiki these days? when i first started using nixos it was all hands on deck trying to move the wiki to the manual, but the manual still seems incomplete and people keep pointing to the wiki periodically for tips on things
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjX52
<gchristensen>
state is so evil
<day|flip>
evil?
<gchristensen>
yes
<day|flip>
enlighten me
<gchristensen>
problems exist one moment, and don't the next
<gchristensen>
source is some state somewhere
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ldlework>
death to the state!
spaark has quit [Quit: leaving]
<gchristensen>
yes, exactly, death to my filesystem's state!
<andi->
gchristensen: have you though about using a micro SD card (with those R/O switches) for your system? ;-)
<gchristensen>
:P
<day|flip>
kind of reminds me of my udev rule issue i been having. mostly cuz. I been pointing my subsystem to "hwmon". But should be been using "hwmon2"