gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
magnetop` has quit [Ping timeout: 248 seconds]
griff_ has quit [Quit: griff_]
<gchristensen> Mic92: it looks like https://github.com/NixOS/nixpkgs/pull/34568 is causing an eval issue
detran has quit [Ping timeout: 256 seconds]
<genesis> quite success to package assaultcube :)
<genesis> my first derivation ^^
<genesis> which ac_client
<genesis> /home/genesis/.nix-profile/bin/ac_client
<genesis> \o/
dbe_ has quit [Ping timeout: 240 seconds]
catch22 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 2a2c8ea Jörg Thalheim: rust: fix evaluation
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vNxrV
<Mic92> gchristensen: ^
orivej has quit [Ping timeout: 248 seconds]
detran has joined #nixos
<gchristensen> ah, excellent!
yegortimoshenko has quit [Remote host closed the connection]
codingkoi has joined #nixos
yegortimoshenko has joined #nixos
codingkoi has left #nixos [#nixos]
BlessJah has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 240 seconds]
<dhess> gchristensen: have you configured a Hydra job to pull from a private GitHub repo? Or just generally any GitHub repo with a git:// URL rather than https:// ?
BlessJah has joined #nixos
<gchristensen> I haven't, but it should be workable to do by giving one of the hydra users a private SSH key
srid is now known as srid``
srid` is now known as srid
detran has joined #nixos
<dhess> gchristensen: right, I just don't know where that key needs to go
<dhess> or which user
<dhess> surprising lack of Google hits on this topic
* gchristensen looks at the hydra module
<dhess> gchristensen: nah don't bother, I can do that. Just figured you might have done this before and had a quick answer
<dhess> I will figure it out, just trying the lazy evaluation approach first :)
<gchristensen> dhess: I think in HOME/.ssh/id_rsa for the hydra user
swayf has quit [Remote host closed the connection]
<dhess> or maybe "memoized approach" is the better analogy
<gchristensen> for the user `hydra`
<dhess> ok for the actual hydra user. I will try that. Thanks!
swayf has joined #nixos
<gchristensen> let me know if that works.. :)
<gchristensen> oh! prerun the `ssh git@github.com' to get known hosts setup
<dhess> I will :) Won't get to it in the next few hours. Hopefully later today or tomorrow
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34573: python3Packages.luftdaten: init at 0.1.4 (master...luftdaten) https://git.io/vNxoO
NixOS_GitHub has left #nixos [#nixos]
<dhess> yeah. Actually I have some NixOps code to set known_hosts ahead of time so I don't need that imperative step :)
<dhess> and to deploy the ssh key. yay NixOps!
<gchristensen> nice!
<ertes> i seem to be causing these bot failures every single time… is there something wrong with my PRs?
detran has quit [Ping timeout: 256 seconds]
<samueldr> needing to build the full image to test my grub theme changes is... inefficient
<samueldr> at least it's all hands-off, start the process then boot in a VM
<gchristensen> ertes: are you esoeylemez ?
<Dezgeg> dhess: which version of gmp?
<Dezgeg> I have at least the one that GCC uses building
<ertes> gchristensen: yeah
detran has joined #nixos
<gchristensen> ertes: well so there was a bug where it couldn't handle PRs with no body, which is fixed now. but, what failures are you thinking specifically?
swayf has quit [Ping timeout: 265 seconds]
<ertes> gchristensen: oh, nevermind… the checks are running now
<gchristensen> sorry ertes, there is a sizable backlog. I'm working to bring up extra capacity now
<ertes> gchristensen: no worries… i was just confused =)
detran has quit [Ping timeout: 240 seconds]
jkemet_ has joined #nixos
jkemet has quit [Ping timeout: 276 seconds]
bluesky has joined #nixos
silver_ has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
detran has joined #nixos
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34574: nixos/home-assistant: support platform=... scheme for autoExtraComponents (master...home-assistant) https://git.io/vNxKm
NixOS_GitHub has left #nixos [#nixos]
silver has quit [Ping timeout: 248 seconds]
<dhess> Dezgeg: in nixpkgs-unstable
<dhess> I restarted the build and it looks to have passed, actually
detran has quit [Ping timeout: 248 seconds]
justanotheruser has joined #nixos
dan_b has quit [Ping timeout: 248 seconds]
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jonafato opened pull request #34575: keybase-gui: fix missing desktop file (master...keybase-gui-icon) https://git.io/vNxKg
NixOS_GitHub has left #nixos [#nixos]
acarrico has joined #nixos
kreetx has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 256 seconds]
xcmw has joined #nixos
spear2 has quit [Remote host closed the connection]
detran has joined #nixos
detran has quit [Ping timeout: 240 seconds]
detran has joined #nixos
ottidmes has quit [Ping timeout: 268 seconds]
detran has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer closed pull request #34203: Add "ghc-mod" to darwin stable channel (master...patch-7) https://git.io/vNrE2
NixOS_GitHub has left #nixos [#nixos]
<genesis> targets = if (server) then "server" else "";
<genesis> targets = if (client) then targets + " client" else targets;
<genesis> already defined , how do that better ?
<genesis> i wonder why it doesn't accept redefinition, or concatenation on strings ...
<gchristensen> targets = (if server then "server" else "") + (if clients then " client" else "") maybe?
<gchristensen> variables in Nix are immutable
<genesis> oki right thanks
<gchristensen> you're welcome :)
<genesis> in nix-repl ; ;it doesn't complain !
<genesis> ^^
<tilpner> (optionalString server "server") + (optionalString client "client")
leotaku has quit [Quit: WeeChat 2.0]
detran has joined #nixos
<tilpner> Or just if ... then "server" else "client", if you can assume exactly one is set
detran has quit [Ping timeout: 276 seconds]
<genesis> oki, need with stdenv.lib;
<genesis> i begin to understand a bit the stuff.
detran has joined #nixos
hakujin1 has joined #nixos
<tilpner> with lib; should be fine too, I don't know how/why they're different though
detran has quit [Ping timeout: 248 seconds]
stepcut has joined #nixos
hakujin1 has quit [Ping timeout: 256 seconds]
thc202 has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 5 new commits to master: https://git.io/vNxig
<NixOS_GitHub> nixpkgs/master e5ffae3 Tim Steinbach: linux: 4.14.16 -> 4.14.17
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master fcbb7da Tim Steinbach: linux: 4.4.114 -> 4.4.115
<NixOS_GitHub> nixpkgs/master d6d4ef6 Tim Steinbach: linux: 4.9.79 -> 4.9.80
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 4860ab4 Tim Steinbach: linux: 4.9.79 -> 4.9.80...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vNxi2
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vNxia
<NixOS_GitHub> nixpkgs/release-17.09 0231629 Tim Steinbach: linux: 4.14.16 -> 4.14.17...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vNxiw
<NixOS_GitHub> nixpkgs/release-17.09 d31b569 Tim Steinbach: linux-copperhead: 4.15.a -> 4.15.1.a...
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
stepcut has quit [Remote host closed the connection]
griff_ has joined #nixos
detran has quit [Ping timeout: 276 seconds]
silver_ has quit [Read error: Connection reset by peer]
alexteves has quit [Read error: Connection reset by peer]
detran has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stepcut has joined #nixos
xcmw has joined #nixos
detran has quit [Ping timeout: 264 seconds]
<chreekat> Can I get a topo sort of closures somehow? I'm trying to look at a big set of derivs and figure out why some packages end up with different hashes. I figure it all starts somewhere (or multiple somewheres)
<chreekat> * end up with different hashes when instantiated on different boxes
detran has joined #nixos
<simpson> chreekat: Check the nix-store man page for the --query mode. There are various ways to dump out trees of dependencies.
<simpson> Sorry I can't help more; I'm kind of busy. Good luck.
detran has quit [Ping timeout: 240 seconds]
matthewbauer has joined #nixos
oborot has joined #nixos
detran has joined #nixos
<oborot> Can somebody give me a hand with some networking trouble I've been having?
markus1199 has joined #nixos
<Kim> Is there a good way to handle creating links at /?
<Kim> Currently digging around for how that should be handled, but not finding anything
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
detran has quit [Ping timeout: 240 seconds]
<oborot> I got a bunch of Raspberry PIs hooked together with my laptop via switch. I can connect to them, but after a while the connection drops. And when I grep journalctl for the interface I see this: https://gist.github.com/anonymous/6caf57fb20f4fc23224e17609f01d503
markus1189 has quit [Ping timeout: 248 seconds]
<Ralith> looks like your DHCP server isn't responding reliably
<Kim> I guess I could use fileSystems to do a bound mount, but I feel like out of the wrong ways to do this, that's really far up on the list of wrong xD
<oborot> The switch I'm using only supports IPv6, I don't know if that would have anything to do with it.
<oborot> Admittedly, I don't know much about IPv6.
<chreekat> simpson: thanks, I am a dingus who stopped about 4 lines above the mention of --tree in that man page a while ago
pkill9 has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #34577: notmuch: fix version wildcard (master...patch-8) https://git.io/vNxXO
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
yann-kaelig has quit []
orivej has quit [Ping timeout: 268 seconds]
detran has quit [Ping timeout: 256 seconds]
mbrgm has quit [Ping timeout: 256 seconds]
Mateon3 has joined #nixos
mbrgm has joined #nixos
d4g has joined #nixos
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
detran has joined #nixos
xcmw has joined #nixos
d4g_ has quit [Ping timeout: 240 seconds]
Ubercow has joined #nixos
matthewbauer has quit [Remote host closed the connection]
matthewbauer has joined #nixos
detran has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
detran has joined #nixos
<grahamc> Is the NixOS stable Prometheus node exporter’s support for the CPU exporter broken? It isn’t listed as an option for me.
detran has quit [Ping timeout: 256 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
detran has joined #nixos
Ubercow has quit [Quit: Ubercow]
Ubercow has joined #nixos
ryanartecona has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<oborot> I think I figured out my IPv6 issue... seems I was connecting to the link local address and not the routable address.
<oborot> Now to figure out how to get the actualy address I need....
<oborot> Maybe I should take a step back and learn about how IPv6 works first
Supersonic112 has quit [Disconnected by services]
chreekat has quit [Ping timeout: 256 seconds]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
detran has joined #nixos
oborot has quit [Ping timeout: 240 seconds]
Ubercow has quit [Quit: Ubercow]
detran has quit [Ping timeout: 252 seconds]
detran has joined #nixos
<mkaito> Say I want to provision some systems via nixops with a known private SSH key, so I can put the corresponding public key somewhere else. Is there a good way to do this?
detran has quit [Ping timeout: 248 seconds]
detran has joined #nixos
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
bluesky_ has joined #nixos
<bluesky_> When writing a systemd.services entry in nixos I am finding that my "wantedBy" entry is not rendered in the resulting systemd file. Has anyone else experienced this?
detran has quit [Ping timeout: 276 seconds]
detran has joined #nixos
<bluesky_> Here is the entry I am using: https://paste.debian.net/plain/1008702
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eschnett opened pull request #34578: openmpi: 1.10.7 -> 3.0.0 (master...eschnett/openmpi-3.0.0) https://git.io/vNxMA
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 248 seconds]
detran has joined #nixos
detran has quit [Ping timeout: 240 seconds]
detran has joined #nixos
detran has quit [Ping timeout: 256 seconds]
ryanartecona has quit [Quit: ryanartecona]
bluesky_ has quit [Quit: Page closed]
<genesis> https://github.com/bignaux/nixpkgs/blob/arm-work/pkgs/games/assaultcube/default.nix quite working, but now i need a shell script that cd to the nix /share/games/assaultcube , what should i look for ?
stepcut has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master c00cc98 Peter Hoeg: wp-cli: 1.4.1 -> 1.5.0
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vNxDu
NixOS_GitHub has left #nixos [#nixos]
stepcut has joined #nixos
detran has joined #nixos
stepcut has quit [Remote host closed the connection]
ryanartecona has joined #nixos
ditadi has joined #nixos
<ditadi> hello guys, does anybody here use offlineimap with gpg/pass via systemd?
detran has quit [Ping timeout: 264 seconds]
stepcut has joined #nixos
detran has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
stepcut has quit [Remote host closed the connection]
mkoenig_ has joined #nixos
tunnels has joined #nixos
detran has quit [Remote host closed the connection]
detran has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
<tunnels> i have a weird problem with my terminal. Using the graphical livecd, when i delete a character on the terminal, the character is deleted, but is not removed from the line, and the cursor moves forward and displays a blank character. I am using a macbook pro 2015
<tunnels> typing on graphical applications works fine though
<samueldr> tunnels: wait a sec, it's a known issue (finding the right issue)
ryanartecona has joined #nixos
<samueldr> though, yesterday another user used this fix in the live environment and then had trouble installing, YMMV
<samueldr> alternatively, an installation using a previously released iso should work
<tunnels> samueldr: hah that sucks, because the old isos dont boot for me.
<samueldr> which old isos?
detran has quit [Ping timeout: 240 seconds]
<tunnels> 2631 and 2375 i think
<tunnels> 2378 not 2375
<samueldr> you can try the release 2903, which is right before 2905 if it's with 2905 you have the issue
<samueldr> (assuming since c1d9aff was the iso with the issue yesterday)
stepcut has joined #nixos
<samueldr> a more recent iso may work, but I'm not sure whether the channels have advanced or not since
<tunnels> alright thanks for finding the issue lol it drove me mad
<tunnels> ill try an older iso
<samueldr> no worries, you're not the only one which stumbled on the issue
detran has joined #nixos
detran has quit [Ping timeout: 248 seconds]
<mkaito> any idea why nix-repl doesn't play nice with my backspace and such? seems like some sort of readline problem maybe?
tmaekawa has joined #nixos
griff_ has quit [Quit: griff_]
<Ralith> usually means missing terminfo or incorrect TERM value
detran has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
schoppenhauer has quit [Ping timeout: 260 seconds]
liuz has joined #nixos
<mkaito> oh right. I keep forgetting that by having nix on top of "regular" linux, nix is still it's own little universe. thanks!
schoppenhauer has joined #nixos
<eacameron> I have NixOS on a disk drive and I'd like to copy my installation to an SSD. Does anyone know of a way to do this?
detran has quit [Ping timeout: 256 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<iqubic> Are there logs around for the #nixos?
detran has joined #nixos
<samueldr> eacameron: last time I did this I used `dd` from source to target, though it was easier since source was smaller than target
<samueldr> if you rework your partitions to fit in the SSD it should work, though don't keep both disks plugged in if using UUIDs to mount as you might mount the wrong one
<eacameron> samueldr: Is it possible to just shrink my partition on the disk first to ensure that?
<samueldr> and if you're using "by-path" to identify you disks, you will need to change them for the new drive
<samueldr> eacameron: I can't guarantee, but it should
<samueldr> I did it way in the past with another linux distro install
<samueldr> iqubic: https://botbot.me/freenode/nixos/ the link is in the topic if you ever lose it
liuz has quit [Quit: Textual IRC Client: www.textualapp.com]
<iqubic> Cool, thanks.
<fearlessKim[m]> iqubic: if you go to riot.im, you can search the logs
<iqubic> Cool, thank you.
<Ralith> samueldr: huh? the whole point of UUIDs is that they *don't* change according to what's plugged in
liuz has joined #nixos
<samueldr> Ralith: UUID will be copied to the target drive when using `dd`
<samueldr> they are a property of the partition
<samueldr> s/partition/fs/
<liuz> #join ubuntu-cn
<Ralith> wat
<liuz> Sorry
<iqubic> I have my own personal logs, it's just ERC stopped logging conversations for a while.
detran has quit [Ping timeout: 256 seconds]
<samueldr> Ralith: was that adressed to me?
<Ralith> huh.
<Ralith> samueldr: til, that's all
<samueldr> though, it is possible to change those UUIDs, making it a non-issue if careful
<chreekat[m]> Seems like a good reason to use cp or rsync
<samueldr> (and possible to break things when setting it to a specific one!)
ryanartecona has quit [Quit: ryanartecona]
detran has joined #nixos
ryanartecona has joined #nixos
liuz has quit [Quit: Textual IRC Client: www.textualapp.com]
stepcut has joined #nixos
detran has quit [Ping timeout: 256 seconds]
detran has joined #nixos
holdend has joined #nixos
holdend has quit [Remote host closed the connection]
detran has quit [Ping timeout: 260 seconds]
detran has joined #nixos
azertyieio has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 268 seconds]
ryanartecona has quit [Quit: ryanartecona]
detran has joined #nixos
detran has quit [Ping timeout: 240 seconds]
detran has joined #nixos
griff_ has joined #nixos
detran has quit [Ping timeout: 256 seconds]
pie_ has quit [Ping timeout: 248 seconds]
detran has joined #nixos
detran has quit [Ping timeout: 248 seconds]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d31b5695726 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
detran has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
detran has quit [Ping timeout: 240 seconds]
detran has joined #nixos
iyzsong has joined #nixos
detran has quit [Remote host closed the connection]
detran has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8c280d3ad52 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
Guanin has quit [Ping timeout: 240 seconds]
freeman42x[NixOS has joined #nixos
detran has quit [Ping timeout: 252 seconds]
<hyper_ch> Mic92: good input about the inverting the naming to enable legacy version.... :)
wavewave_ has joined #nixos
georgew_ has joined #nixos
detran has joined #nixos
edofic_ has joined #nixos
dgonyeo_ has joined #nixos
thoughtpolice_ has joined #nixos
griff_ has quit [Quit: griff_]
griff_ has joined #nixos
Shados_ has joined #nixos
griff_ has quit [Client Quit]
MightyJoe has joined #nixos
griff_ has joined #nixos
maiksen_ has joined #nixos
Guanin has joined #nixos
marek_ has joined #nixos
griff_ has quit [Client Quit]
dev1 has joined #nixos
the_real_plumps_ has joined #nixos
griff_ has joined #nixos
tnks_ has joined #nixos
griff_ has quit [Client Quit]
griff_ has joined #nixos
griff_ has quit [Client Quit]
detran has quit [Ping timeout: 240 seconds]
griff_ has joined #nixos
griff_ has quit [Client Quit]
matthewbauer has quit [Ping timeout: 260 seconds]
griff_ has joined #nixos
griff_ has quit [Client Quit]
MK_FG has joined #nixos
MK_FG has joined #nixos
griff_ has joined #nixos
max3raza_ has joined #nixos
griff_ has quit [Client Quit]
griff_ has joined #nixos
detran has joined #nixos
Ankhers_ has joined #nixos
griff_ has quit [Client Quit]
the_real_plumps has quit [*.net *.split]
Shados has quit [*.net *.split]
AlanPearce[m] has quit [*.net *.split]
georgew has quit [*.net *.split]
mk-fg has quit [*.net *.split]
eqyiel has quit [*.net *.split]
cyraxjoe has quit [*.net *.split]
Intensity has quit [*.net *.split]
dgonyeo has quit [*.net *.split]
grahamc has quit [*.net *.split]
AdamSlack[m] has quit [*.net *.split]
timclassic has quit [*.net *.split]
mhsjlw[m] has quit [*.net *.split]
moredhel1 has quit [*.net *.split]
Singularity[m] has quit [*.net *.split]
thoughtpolice has quit [*.net *.split]
wavewave has quit [*.net *.split]
andi- has quit [*.net *.split]
edofic has quit [*.net *.split]
marek has quit [*.net *.split]
max3raza has quit [*.net *.split]
wervenyt[m] has quit [*.net *.split]
bhipple[m] has quit [*.net *.split]
ison[m] has quit [*.net *.split]
maiksen has quit [*.net *.split]
Ankhers has quit [*.net *.split]
tnks has quit [*.net *.split]
MagneticDuck has quit [*.net *.split]
maurer has quit [*.net *.split]
nhill has quit [*.net *.split]
dev has quit [*.net *.split]
MK_FG is now known as mk-fg
georgew_ is now known as georgew
griff_ has joined #nixos
edofic_ is now known as edofic
thoughtpolice_ is now known as thoughtpolice
dgonyeo_ is now known as dgonyeo
wavewave_ is now known as wavewave
griff_ has quit [Client Quit]
griff_ has joined #nixos
Ubercow has joined #nixos
griff_ has quit [Client Quit]
griff_ has joined #nixos
griff_ has quit [Client Quit]
griff_ has joined #nixos
griff_ has quit [Client Quit]
bsima has quit [Ping timeout: 240 seconds]
griff_ has joined #nixos
griff_ has quit [Client Quit]
bsima has joined #nixos
detran has quit [Ping timeout: 240 seconds]
MagneticDuck has joined #nixos
maurer has joined #nixos
eqyiel has joined #nixos
nhill has joined #nixos
wervenyt[m] has joined #nixos
mhsjlw[m] has joined #nixos
Singularity[m] has joined #nixos
ison[m] has joined #nixos
timclassic has joined #nixos
bhipple[m] has joined #nixos
AdamSlack[m] has joined #nixos
moredhel1 has joined #nixos
grahamc has joined #nixos
AlanPearce[m] has joined #nixos
andi- has joined #nixos
johnw has joined #nixos
detran has joined #nixos
eqyiel has quit [Changing host]
eqyiel has joined #nixos
seanparsons has quit [Ping timeout: 256 seconds]
detran has quit [Remote host closed the connection]
detran has joined #nixos
leat has quit [Ping timeout: 265 seconds]
seanparsons has joined #nixos
exec_ has joined #nixos
<exec_> will patchelf be capable of patching object files compiled into ELF binary applications?
detran has quit [Ping timeout: 260 seconds]
<exec_> like replacing this.o with that.o without needing to recompile the binary from source
detran has joined #nixos
<tilpner> It doesn't currently, and I don't expect it ever will be able to do that
detran has quit [Ping timeout: 248 seconds]
coot has quit [Quit: coot]
<exec_> ok
Ubercow has quit [Quit: Ubercow]
detran has joined #nixos
Ubercow has joined #nixos
catch22 has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 248 seconds]
detran has quit [Ping timeout: 240 seconds]
detran has joined #nixos
iyzsong has quit [Ping timeout: 248 seconds]
griff_ has joined #nixos
griff_ has quit [Client Quit]
<hyper_ch> so PR got updated according to Mic92's suggestion :)
griff_ has joined #nixos
detran has quit [Ping timeout: 256 seconds]
detran has joined #nixos
<hyper_ch> adisbladis[m]: :)
<hyper_ch> so, now I only need to move office server to new dataset
<sphalerite> exec_: yeah that seems unlikely, since patchelf is just intended for fiddling with the headers. And the intricacies of linking mean that it wouldn't even be reasonably possible in many cases, especially with link-time optimisations destroying some of the necessary information
<sphalerite> exec_: replacing parts is what dynamic libraries are for
detran has quit [Ping timeout: 248 seconds]
<hyper_ch> I still wonder why elves are used by linux... ok, there are also daemons....
<hyper_ch> (reading up on ELF now)
leat has joined #nixos
detran has joined #nixos
fiddlerwoaroof_ is now known as fiddlerwoaroof
detran has quit [Ping timeout: 264 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] DarkScythe97 opened pull request #34579: hwdata: 0.300 -> 0.308 (master...hwdata) https://git.io/vNxQl
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
duckwho has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 260 seconds]
griff_ has quit [Quit: griff_]
detran has joined #nixos
<exec_> like as long as that .o is not C/C++ code itself
simukis has joined #nixos
detran has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markuskowa opened pull request #34580: openmpi: fix broken modules, disable dsos (master...openmpi-fix-dso-pr) https://git.io/vNxQQ
NixOS_GitHub has left #nixos [#nixos]
<exec_> for example it could be a png file
detran has joined #nixos
FRidh has joined #nixos
detran has quit [Ping timeout: 268 seconds]
ma27 has joined #nixos
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vNx7m
<NixOS_GitHub> nixpkgs/master 32d4b01 Tobias Pflug: grobi: init at 0.3.0
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 7e0b231 Frederik Rietdijk: Merge pull request #34567 from holidaycheck/add-grobi...
detran has quit [Ping timeout: 256 seconds]
azertyieio has joined #nixos
detran has joined #nixos
detran has quit [Ping timeout: 240 seconds]
stphrolland has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
detran has joined #nixos
detran has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #34581: Squid fix CVE-2018-1000024 & CVE-2018-1000027 (master...squid) https://git.io/vNx76
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #34582: [17.09] squid: fix CVE-2018-1000024 & CVE-2018-1000027 (release-17.09...17.09/squid) https://git.io/vNx7M
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
ma27 has joined #nixos
detran has quit [Ping timeout: 240 seconds]
ma27 has quit [Ping timeout: 256 seconds]
magnetop` has joined #nixos
b has quit [Ping timeout: 268 seconds]
detran has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
tunnels has quit [Quit: Page closed]
detran has quit [Ping timeout: 260 seconds]
matthewbauer has joined #nixos
hiratara_ has joined #nixos
hiratara has quit [Ping timeout: 252 seconds]
hiratara_ is now known as hiratara
marek_ is now known as marek
detran has joined #nixos
ottidmes has joined #nixos
detran has quit [Ping timeout: 268 seconds]
MP2E has quit [Remote host closed the connection]
detran has joined #nixos
detran has quit [Ping timeout: 248 seconds]
fyuuri has joined #nixos
detran has joined #nixos
bluesky has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] calvertvl opened pull request #34583: src: 1.13 -> 1.17 (master...upd_src_1.17) https://git.io/vNx5W
NixOS_GitHub has left #nixos [#nixos]
bluesky has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to python-unstable: https://git.io/vNx5B
<NixOS_GitHub> nixpkgs/python-unstable aaa50d5 Frederik Rietdijk: python.pkgs.spyder: fix expression...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable be964d0 Frederik Rietdijk: python.pkgs.pyqt5: minor improvements
psychon has joined #nixos
detran has quit [Ping timeout: 248 seconds]
<psychon> hi, I need to add a patch to luaPackages.lgi, which is defined in pkgs/top-level/lua-packages.nix. Dropping a .patch file in pkgs/top-level/ seems wrong, any suggestions?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] psychon opened pull request #34584: lgi: Fix cairo bindings search path (master...lgi-fix-cairo) https://git.io/vNx5g
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
LnL has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<hyper_ch> where is the nixos mailing list?
matthewbauer has quit [Remote host closed the connection]
aanderse_ has quit [Ping timeout: 264 seconds]
detran has joined #nixos
ent has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<hyper_ch> all I can find is a google group
iyzsong has joined #nixos
detran has quit [Ping timeout: 268 seconds]
detran has joined #nixos
dbe_ has joined #nixos
eceuv has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] calvertvl opened pull request #34585: loccount: 1.1 -> 1.2 (master...upd_loccount_1.2) https://git.io/vNxdR
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 77e0748 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master 3ac3049 Peter Simons: hackage2nix: use latest version of weeder by default
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/vNxdE
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master af884f5 Peter Simons: cabal2nix: update build to hpack 0.24
ent has quit [Quit: testing]
ent has joined #nixos
detran has joined #nixos
knupfer has joined #nixos
<dbe_> I installed the nixpkgs-unstable channel and did a nix-channel --update. If I do 'nix search -u kitty', I get no results. But if I do 'nix-env -qa | grep kitty' I get one result. If I do 'nix-shell -p kitty' I get no result. But 'nix-env -i kitty' works. What differs between how 'nix', 'nix-env' and 'nix-shell' finds packages?
aanderse_ has joined #nixos
<hyper_ch> (I use mostly nox to find stuff)
detran has quit [Ping timeout: 240 seconds]
throwboy has joined #nixos
kreetx has joined #nixos
<dbe_> hyper_ch: sorry, did you respond to me? I got disconnected, only got your message about nox. nox seems cool though! I'll definitely try it out.
<hyper_ch> nox is great IMHO
<dbe_> Nix is such an awesome bit of software, but it's in such a disorganized jumble. I guess it's because development is happening so fast and there isn't anyone there to kind of knit everything together.
oida has quit [Quit: WeeChat 1.6]
<dbe_> It's like, I really want to get my hands dirty, but almost feels like you need insider information to get started
detran has joined #nixos
<throwboy> lets say I want to create a package that fetches a repo from Github, containing the actuall build instructions (eg. default.nix), how would I let nix know that it should run these?
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #nixos
<dbe_> throwboy: stdenv.mkDerivation has tools to specify the build stages, it's outlined in https://nixos.org/nixpkgs/manual/
<dbe_> throwboy: and also there is a command called fetchFromGithub you can use to fetch sources easily
detran has quit [Ping timeout: 240 seconds]
azertyieio has quit [Ping timeout: 240 seconds]
<throwboy> dbe_ I know that I can fetch from github with "fetchFromGithub", and I also know that I can run different scripts in the build stages. What I'd like to do is to somehow "append" the instructions in the fetched "*.nix" to my package
<throwboy> dbe_ If that makes sene
<dbe_> throwboy: ooh right, I see.
<Adev[m]> Specially if we consider the nix CMD line tool itself
<Adev[m]> > Nix is such an awesome bit of software, but it's in such a disorganized jumble. I guess it's because development is happening so fast and there isn't anyone there to kind of knit everything together.
<Adev[m]> I could not agree more
detran has joined #nixos
<dbe_> Adev[m]: yeah, exactly. Nix expressions themselves seems really solid, and so does nixpkgs. I'm not quite sure about configurations just yet (configuration.nix, callpackage with a conf-set, overrideattrs), but maybe that's because I haven't had the time to understand them yet
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 3 new commits to staging: https://git.io/vNxFE
<NixOS_GitHub> nixpkgs/staging f0d5bf8 Tuomas Tynkkynen: iptables: 1.6.1 -> 1.6.2
<NixOS_GitHub> nixpkgs/staging 95b0ae0 Tuomas Tynkkynen: boehmgc: 7.6.2 -> 7.6.4
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging d8571b5 Tuomas Tynkkynen: iproute: 4.14.1 -> 4.15.0
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging 34b7ea6 Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vNxFu
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 264 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] netixx opened pull request #34586: nixos/vswitches : Fix vswitch-netdev.service going down just after startup (master...fix-networking.vswitches-#34336) https://git.io/vNxFX
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
<throwboy> So does anyone here have an idea on how I could achive what I outlined in my previous posts?
jarlg has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] netixx closed pull request #34330: nixos/freeradius : init - Added freeradius service (master...master) https://git.io/vNMoW
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 260 seconds]
<psychon> throwboy: why do you want to download the build instructions from github anyway?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] netixx opened pull request #34587: nixos/freeradius : init - Added freeradius service (master...add-freeradius-service) https://git.io/vNxbv
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
<throwboy> psychon: so I would want to fetch a node packages repo from Github, run node2nix on it and then add the resulting default.nix to my package.
FRidh has joined #nixos
<psychon> okay... sounds sensible, I guess
<psychon> sorry, I don't know more either
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vNxbG
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master f25d21d Vladimír Čunát: Merge #34584: lgi: Fix cairo bindings search path...
<NixOS_GitHub> nixpkgs/master f6a48c2 Uli Schlachter: lgi: Fix cairo bindings search path...
detran has quit [Ping timeout: 240 seconds]
ssmike1 has joined #nixos
ssmike has quit [Ping timeout: 256 seconds]
ssmike1 is now known as ssmike
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master b8dfab9 Tuomas Tynkkynen: cifs-utils: 6.6 -> 6.7
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vNxbl
NixOS_GitHub has left #nixos [#nixos]
psychon has left #nixos [#nixos]
detran has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 3 new commits to master: https://git.io/vNxbo
<NixOS_GitHub> nixpkgs/master 4b3f0d8 Vladimír Čunát: Revert "Merge #34584: lgi: Fix cairo bindings search path"...
<NixOS_GitHub> nixpkgs/master cc0f942 Vladimír Čunát: Merge #34584: lgi: Fix cairo bindings search path
<NixOS_GitHub> nixpkgs/master 718552e Uli Schlachter: lgi: Fix cairo bindings search path...
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #34584: lgi: Fix cairo bindings search path (master...lgi-fix-cairo) https://git.io/vNx5g
NixOS_GitHub has left #nixos [#nixos]
orivej has joined #nixos
detran has quit [Remote host closed the connection]
detran has joined #nixos
rauno has joined #nixos
detran has quit [Ping timeout: 256 seconds]
<MichaelRaskin> hyper_ch: well, it is possible to subscribe to the Google group with a non-Google mail account, so it is used as a mailing list.
<hyper_ch> MichaelRaskin: and how?
<MichaelRaskin> hyper_ch: https://nixos.org/nixos/support.html
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #34588: greybird: 3.22.5 -> 3.22.6 (master...upd.greybird) https://git.io/vNxNq
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> mailto: nix-devel+subscribe@googlegroups.com
__Sander__ has joined #nixos
detran has joined #nixos
<hyper_ch> MichaelRaskin: thx
<hyper_ch> MichaelRaskin: I subscribed because of https://github.com/NixOS/nixpkgs/pull/34559/#issuecomment-362863887
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 645743f Peter Simons: normalize: enable libmad to add support mp3 files
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vNxN8
detran has quit [Ping timeout: 256 seconds]
__Sander__ has quit [Ping timeout: 240 seconds]
hotfuzz has joined #nixos
ma27 has joined #nixos
detran has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 268 seconds]
Ubercow has quit [Quit: Ubercow]
randomstrangerb has quit [Ping timeout: 240 seconds]
detran has joined #nixos
randomstrangerb has joined #nixos
thc202 has joined #nixos
detran has quit [Ping timeout: 240 seconds]
detran has joined #nixos
<dbe_> Why, when I run this command: 'nix-shell --expr '(import <nixpkgs> {}).python.withPackages (pkgs: with pkgs; [ virtualenv ])'' do I not get python in my $PATH, but if I do 'nix-shell -p 'python.withPackages (pkgs: with pkgs; [virtualenv])'' I do? How do they differ? Is it in --expr?
<MichaelRaskin> --expr gives you dependencies for building the package, -p gives you the package itself
<dbe_> Hmm, ok...
detran has quit [Ping timeout: 248 seconds]
fyuuri has quit [Ping timeout: 248 seconds]
eceuv has joined #nixos
magnetop` is now known as magnetophon
zarkone has joined #nixos
detran has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
eceuv has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 252 seconds]
detran has joined #nixos
ma27 has joined #nixos
detran has quit [Remote host closed the connection]
detran has joined #nixos
jarlg has quit [Quit: WeeChat 1.9.1]
ma27 has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 240 seconds]
ma27 has joined #nixos
detran has joined #nixos
detran has quit [Ping timeout: 256 seconds]
stphrolland has quit [Quit: leaving]
detran has joined #nixos
swayf has joined #nixos
silver has joined #nixos
detran has quit [Ping timeout: 264 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vNxxS
<NixOS_GitHub> nixpkgs/master d6e1c7b Victor Calvert: loccount: 1.1 -> 1.2
<NixOS_GitHub> nixpkgs/master 575d8ba Frederik Rietdijk: Merge pull request #34585 from calvertvl/upd_loccount_1.2...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34583: src: 1.13 -> 1.17 (master...upd_src_1.17) https://git.io/vNx5W
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vNxxH
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master f36b402 Frederik Rietdijk: Merge pull request #34588 from romildo/upd.greybird...
<NixOS_GitHub> nixpkgs/master 7bf36a8 José Romildo Malaquias: greybird: 3.22.5 -> 3.22.6
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34579: hwdata: 0.300 -> 0.308 (master...hwdata) https://git.io/vNxQl
NixOS_GitHub has left #nixos [#nixos]
hellrazor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34573: python3Packages.luftdaten: init at 0.1.4 (master...luftdaten) https://git.io/vNxoO
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34473: Python CAN support (master...python-can-support) https://git.io/vN5AU
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 276 seconds]
pie_ has joined #nixos
detran has joined #nixos
andromeda-galaxy has quit [Ping timeout: 260 seconds]
detran has quit [Ping timeout: 248 seconds]
andromeda-galaxy has joined #nixos
detran has joined #nixos
ThatDocsLady has joined #nixos
<ij> Should I be able to nixos-rebuild switch from a chroot?
<clever> ij: only "nixos-rebuild boot" and "nixos-rebuild build" would work in there
<clever> ij: switch and test involve interacting with systemd and starting services up, which wont work under chroot
<ij> ah!
<ij> didn't think about it needing systemd
<clever> you also need to make sure the /boot partition is available at /boot inside the chroot
detran has quit [Ping timeout: 256 seconds]
<ij> sure, that's done :)
<ij> I'm getting a unable to mout root fs on unknown-block(1,0). I recreated the /boot ntfs partition.
detran has joined #nixos
fragamus has joined #nixos
pkill9 has joined #nixos
detran has quit [Ping timeout: 240 seconds]
ThatDocsLady has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #34589: pythonPackages.pybase64: init at 0.2.1 (master...package-pybase64) https://git.io/vNxh3
NixOS_GitHub has left #nixos [#nixos]
y0no[m] has joined #nixos
detran has joined #nixos
coot has joined #nixos
Svarog has joined #nixos
<Svarog> i've just tried repackaging a couple of binary packages and i got them to work, but i can't seem to get the icons to show up when using alt-tab for example
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #34590: pick: 1.9.0 -> 2.0.1 (master...bump/pick-2.0.1) https://git.io/vNxhM
NixOS_GitHub has left #nixos [#nixos]
<Svarog> do i need to do something more than just copying .desktop files to $out/share/application
detran has quit [Ping timeout: 240 seconds]
<Svarog> and making sure the icons are under $out/share/icons?
michalrus has left #nixos ["WeeChat 1.7.1"]
jensens has joined #nixos
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh deleted python-unstable at aaa50d5: https://git.io/vNxjv
NixOS_GitHub has left #nixos [#nixos]
<Baughn> Soo... what do I need to do for `bin/halt` to work?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #34591: facter: 3.9.0 -> 3.9.3 and sole dependency libwhereami: 0.1.1 -> 0.1.3 (master...bump/facter-3.9.3) https://git.io/vNxjT
NixOS_GitHub has left #nixos [#nixos]
bpa has joined #nixos
ottidmes has quit [Quit: WeeChat 1.9.1]
detran has quit [Ping timeout: 276 seconds]
mrkgnao has joined #nixos
detran has joined #nixos
zarkone has quit [Ping timeout: 248 seconds]
randomstrangerb has quit [Ping timeout: 268 seconds]
randomstrangerb has joined #nixos
simendsjo has joined #nixos
detran has quit [Ping timeout: 256 seconds]
<genesis> i try to write a very simple shell launcher for assaultcube https://github.com/bignaux/nixpkgs/blob/arm-work/pkgs/games/assaultcube/launcher.sh
ottidmes has joined #nixos
<genesis> but it can't find the CUBE_DIR nor exec commande. i wonder what should i read on nixos to understand what to do
<ottidmes> Any idea how to solve this error message in Hyper-V when using nano: "error opening terminal: $TERM" where $TERM is the value of the TERM env var, which defaults to value "linux"
detran has joined #nixos
detran has quit [Ping timeout: 248 seconds]
rauno has quit [Remote host closed the connection]
detran has joined #nixos
tertleeltret has quit [Quit: Connection closed for inactivity]
raynold has quit [Quit: Connection closed for inactivity]
<Profpatsch> lewo: MoreTea: I’m setting up a wiki page for the containers workgroup
detran has quit [Ping timeout: 268 seconds]
mkoenig_ has quit [Ping timeout: 268 seconds]
mkoenig has joined #nixos
detran has joined #nixos
GiGa has joined #nixos
<GiGa> Hi folks
<genesis> hi GiGa
<GiGa> I'm trying to build add some packages. My nix-channel has is unstable.
<GiGa> hi genesis
<GiGa> Yet I'm getting an error:
<GiGa> "error: file ‘nixos-unstable’ was not found in the Nix search path (add it using $NIX_PATH or -I), at /var/lib/containers/evitabumgmt/etc/nixos/configuration.nix:23:23"
<GiGa> I don't understand why I'd need to do that, given my whole setup is on unstable?
<genesis> are you on a non-nixos ?
<GiGa> Nope, nixos native :D
<genesis> can't help :s
<LnL> the default NIX_PATH does not include user channels
<GiGa> I've got a package overrides section but I don't think it needs to be there (I wasn't on unstable previously)
<GiGa> LnL: That's my system channel
detran has quit [Ping timeout: 256 seconds]
ma27 has quit [Ping timeout: 276 seconds]
<LnL> what's the output of sudo nix-channel --list
<LnL> then use <nixos> instead of <nixos-unstable>
<GiGa> Ah
<ij> Does anyone have a compiled grub.cfg for an encrypted root volume? I want to take a look at what the output should be, because mine doens't boot.
<GiGa> ij: My laptop has an encrpted root
<MoreTea> Profpatsch: got an adress for that page?
<GiGa> ij: you want to see /boot/grub/grub.cfg ?
<ij> GiGa, Could you paste your /boot/grub/grub.cfg for me somewhere please? That would be much appreciated.
<ij> Correct.
* GiGa goes to boot his laptop
<hyper_ch> how did you encrypt your root volume?
<GiGa> luks
<ij> The usual, it also worked before I recreated my corrupted /boot ntfs partition.
<hyper_ch> because mine is encrypted as well but I don't use luks :)
<ij> Ah, then yes — luks.
detran has joined #nixos
<GiGa> you have to add the relevant argument to initrd
<ij> I've a boot.initrd.luks.devices = [ {name = …; and such…
<GiGa> ij: sounds familiar
asuryawanshi has joined #nixos
GiGa|Laptop has joined #nixos
<GiGa|Laptop> looks like I need to tidy up some old configs :S
xcmw has joined #nixos
<hyper_ch> ij: what does your hardware-configuration look like?
yann-kaelig has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<ij> So initrd should unmount it, right? It's got only kernel microcode in my case.
<hyper_ch> there's nothing in your hardware-configuration.nix
<ij> see the second file
<marek> I'm having a hard time getting firefox running with icedtead, is there anything else I need to do instead of installing firefoxWrapper and icetead = true;?
ssmike1 has joined #nixos
orbekk has joined #nixos
<hyper_ch> ij: you don't have an boot, luks and root file definition in your hardware
ssmike has quit [Ping timeout: 240 seconds]
ssmike1 is now known as ssmike
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/acme_systemd_extension cbdc86d zimbatm: simplified proposal
<NixOS_GitHub> nixpkgs/acme_systemd_extension 32b1f93 joachim schiele: security.acme: added reload and restart lists for sytemd targets
<NixOS_GitHub> [nixpkgs] qknight created acme_systemd_extension (+4 new commits): https://git.io/vNpvd
<NixOS_GitHub> nixpkgs/acme_systemd_extension 299d871 joachim schiele: fixed missing "types" string and added example
NixOS_GitHub has left #nixos [#nixos]
GiGa has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight deleted acme_systemd_extension at 8a4ba4f: https://git.io/vNpvx
NixOS_GitHub has left #nixos [#nixos]
GiGa|Laptop has quit [Quit: Leaving]
Rusty1_ has joined #nixos
niklob has joined #nixos
<Profpatsch> MoreTea: Not yet created cc lewo
<Profpatsch> I’m in a meeting right now, so might take an hour or two.
<hyper_ch> ij: you need a proper hardware-configuration.nix
<ij> Did you take a look at the other file though?
<hyper_ch> ij: you need a proper hardware-configuration.nix
<hyper_ch> ij: you don't have an boot, luks and root file definition in your hardware
<ij> I do.
<ij> Is the hardware-configuration.nix supposed to be touched since it's autogenerated?
<hyper_ch> ij: in the files you've posted you have nothing in there
detran has quit [Ping timeout: 248 seconds]
<hyper_ch> ij: https://github.com/sjau/nixos/blob/337b536bca3257ae85dcc860db1cc0c04fc98082/hardware-configuration.nix thats what my hardware-configuration.nix looked like when I still was using luks/dm-crypt
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
detran has joined #nixos
phaebz has joined #nixos
detran has quit [Ping timeout: 265 seconds]
<ottidmes> Solved my hyper-v nano issue by creating my own install iso adding the hyper-v modules and using the fbdev video driver, not sure what exactly of those fixed it, but it works
detran has joined #nixos
rihards has joined #nixos
ottidmes has quit [Quit: WeeChat 1.9.1]
viric has joined #nixos
detran has quit [Ping timeout: 248 seconds]
asuryawanshi has quit [Remote host closed the connection]
ivanivan has joined #nixos
coot has quit [Quit: coot]
<ivanivan> Can someone explain the black magic that implements this function in stdenv's setup.sh?
<ivanivan> I'm especially confused about: exec {fd}< "$fn"
<ivanivan> `fd` was declared (`local fd`) but never set, there's no `$` (as in `$fd`) and what do the curly braces do?
<ivanivan> y
detran has joined #nixos
coot has joined #nixos
<ij> hyper_ch, so your nixos-generate-config also generated the all of the filesystem entries?
<hyper_ch> ij: yes, it did... just have stuff properly mounted hwne you run nixos-generate-config in the installer iso
<Dezgeg> a pure guess: exec {fd}< "$fn" opens file named $fn and stores the file descriptor into $fd
detran has quit [Ping timeout: 240 seconds]
coot has quit [Quit: coot]
coot has joined #nixos
<ivanivan> Dezgeg: that's my best guess as well, but how? what are the braces for?
detran has joined #nixos
<Dezgeg> just some random magic syntax
<ivanivan> lol
<Dezgeg> whatever the bash developers decided the syntax for that construct to be
<ij> hyper_ch, Still, I'm not sure why you want to ditch communication for repetition and simply insist on me having a "proper" hardware-configuration.nix.
<ij> ivanivan, #bash might help
<ivanivan> ij: ah, that's a good point
<ivanivan> Dezgeg: yeah, I guess what I'm really after is the details of that Bash syntax
<ivanivan> i'll try #bash, thanks guys!
ivanivan has left #nixos ["WeeChat 1.9.1"]
detran has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vNpUm
<NixOS_GitHub> nixpkgs/master 4db7c04 Michael Weiss: fim: 0.5rc3 -> 0.6
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
detran has quit [Ping timeout: 256 seconds]
vidbina has joined #nixos
detran has joined #nixos
Neo-- has joined #nixos
freeman42x[NixOS has quit [Ping timeout: 276 seconds]
rihards has quit [Quit: rihards]
detran has quit [Ping timeout: 248 seconds]
Svarog has quit [Quit: Ex-Chat]
alexteves__ has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
ivanivan has joined #nixos
ivanivan has quit [Quit: WeeChat 1.9.1]
nix-gsc-io`bot has joined #nixos
detran has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/af884f5607e (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
alex`` has quit [Quit: WeeChat 2.0.1]
detran has quit [Ping timeout: 240 seconds]
Ankhers_ is now known as Ankhers
orivej has joined #nixos
detran has joined #nixos
detran has quit [Ping timeout: 248 seconds]
jacob_ has joined #nixos
jacob_ is now known as Guest75478
ndrei has joined #nixos
rsa has quit [Ping timeout: 248 seconds]
vidbina has quit [Ping timeout: 248 seconds]
griff_ has joined #nixos
detran has joined #nixos
i-am-the-slime has joined #nixos
alex`` has joined #nixos
detran has quit [Remote host closed the connection]
detran has joined #nixos
rsa has joined #nixos
datakurre has quit [Ping timeout: 256 seconds]
stepcut has joined #nixos
ent has quit [Ping timeout: 265 seconds]
<i-am-the-slime> Man, I'm still confused about kernels.
<i-am-the-slime> For uname -a I get Linux nixos 4.9.65
<i-am-the-slime> With this one, I have some annoying graphical glitches.
<i-am-the-slime> So I am trying to get a newer one.
detran has quit [Ping timeout: 260 seconds]
coot has quit [Quit: coot]
<i-am-the-slime> That seems a little dangerous.
<i-am-the-slime> Why doesn't linuxPackages_4_14 work for example?
<hyper_ch> becuase it's not packaged like that
<samueldr> hmmmm, I'm using linuxPackages_4_14 here
<hyper_ch> oh, it's packaged like that?
<hyper_ch> strange things are happening
<hyper_ch> still fail to see what's supposedly dangerous
<samueldr> i-am-the-slime: did you send messages earlier?
detran has joined #nixos
<samueldr> (I don't know if I'm missing part of the problem or if you started with "Man, I'm still confused about kernels.")
chreekat has joined #nixos
<ij> I found out why I couldn't boot. I had copied corrupted kernels/initrds and nixos-rebuild boot didn't rewrite them until I removed them.
<i-am-the-slime> I can do latest but not 4_14
<samueldr> hyper_ch: personally, I prefer not having major version change under my feet for the kernel
<hyper_ch> samueldr: atomic upgrades... go back to an older generation
<i-am-the-slime> I probably have a wrong channel for nixpkgs or something.
<hyper_ch> so I fail to see the issue
<samueldr> sure, but I will *anyway* need to go back to an older revision, so why *have* to fail a reboot :)
bpa has quit [Read error: Connection reset by peer]
<i-am-the-slime> hyper_ch: If you happen to install some other package and that also updates your kernel you can roll back but you still won't have the new package?
ryanartecona has joined #nixos
<i-am-the-slime> I'm missing a 'do you' around the end of that question.
<samueldr> i-am-the-slime: it is possible, what's the output of `nix-shell -p nix-info --run nix-info` ?
asuryawanshi has joined #nixos
<Izorkin> How can configure order of mounting of filesystems? It is required that zfs filesystem rpool/data/data1 is mounted first, and rpool/data/data2 only after it. And when unmounting, it should be vice versa: first rpool/data/data2 and then rpool/data/data1
<hyper_ch> why would installation of another package update the kernel?
<hyper_ch> Izorkin: use legacy as mountpoint and define them in your hardware-configuration.nix
<i-am-the-slime> if you add it to system packages and linux_latest points to some new vresion now?
<hyper_ch> i-am-the-slime: if you use nixos-rebuild switch/boot --> no new kernel will be installed when you add a new package to the system packages
<hyper_ch> i-am-the-slime: it'll only check if you run --upgrade
<i-am-the-slime> Ah, thanks, I did not know that.
<genesis> http://pasteall.org/803347/bash -> line 18: exec: : not found , i still don't find the pb.
<i-am-the-slime> I always do nixos-rebuild switch
<samueldr> i-am-the-slime: your 17.09 channel is at a revision from 24-nov-2017
<hyper_ch> i-am-the-slime: that won't upgrade anything
<hyper_ch> i-am-the-slime: just install/remove stuff
<i-am-the-slime> Very good to know.
<samueldr> it is entirely possible that at that moment 14.4 wasn'T packaged (I'm verifying)
<i-am-the-slime> How do I fast forward these channels?
detran has quit [Ping timeout: 268 seconds]
<hyper_ch> try --upgrade
datakurre has joined #nixos
<hyper_ch> or switch to unstable channel
<hyper_ch> not sure if --upgrade will make 4.14 available
<i-am-the-slime> How do I switch to the unstable channel?
<samueldr> switching to unstable isn't ncessary
<samueldr> rocking 4.14 on 17.09
<hyper_ch> i-am-the-slime: nix-channel --add https://nixos.org/channels/nixos-unstable nixos --> that changes to unstable
asuryawanshi has quit [Ping timeout: 260 seconds]
<hyper_ch> (unstable seems pretty stable though)
<i-am-the-slime> But I thought if I said: "pkgs" it looked in the nixpks channel for the package.
<Izorkin> hyper_ch: Can you show an example?
<samueldr> i-am-the-slime: `pkgs` inside configuration.nix will use the channel that is used for building the system; in this case, it's the channel named `nixos` for your root user
<i-am-the-slime> Alright that's enlightening.
<samueldr> i-am-the-slime: `sudo nix-channel --list` will list the channels you added
<samueldr> you probably will see both `nixpkgs` and `nixos` in your list (judging from your nix-info run)
detran has joined #nixos
<i-am-the-slime> Yes
<i-am-the-slime> I guess I want everything to be unstable, actually.
ambro718 has joined #nixos
<hyper_ch> i-am-the-slime: then issue the command I've given above
<hyper_ch> i-am-the-slime: and then run nixos-rebuild boot --upgrade
<hyper_ch> (I wouldn't use switch for such a big upgrade)
<i-am-the-slime> I will do that.
<samueldr> you may want to remove the `nixpkgs` channel you added, and fix configuration.nix if it is used in there, otherwise you'll have a system using two revisions of the channel
<Izorkin> hyper_ch: I also have. When you restart, errors occur - Failed unmounting /var/lib/mysql/iblogs | Failed unmounting /home/user | Failed unmounting /run/user/1000
<samueldr> (depends on WHY nixpkgs unstable is there)
<i-am-the-slime> Well how do I know if it's used in there?
<hyper_ch> Izorkin: I have no idea what you're doing...
<samueldr> i-am-the-slime: rummaging through your memory and remembering why you added it... and maybe searching for instances of `<nixpkgs` in your /etc/nixos files
<samueldr> (depending on how your configuration.nix is written; you can import other files)
<viric> niksnut: the dd advice in https://nixos.org/nixos/manual/index.html#sec-booting-from-usb ... maybe should mention conv=fdatasync.
<hyper_ch> I wonder when my ZFS PR will be merged :)
<i-am-the-slime> I added it when I was installing packages with nix-env
<hyper_ch> hi viric
<i-am-the-slime> And packages didn't seem that old in it.
<viric> o/
<hyper_ch> viric: what does that option do?
<viric> dd will not exit until the data is flushed to the target
taktoa has joined #nixos
<samueldr> same as `sync` or `eject` would (eject will sync)
<hyper_ch> I always issue sync
<viric> otherwise it will exit, you may unplug the USB and it would not be written.
detran has quit [Ping timeout: 240 seconds]
<i-am-the-slime> samueldr: Why would things break because of this channel?
<hyper_ch> but didn't know about the dd option :)
<i-am-the-slime> Only if it's used in configuration.nix?
<viric> samueldr: eject a usb?
<samueldr> viric: sudo eject /dev/sdX
<viric> I never heard of ejecting a usb
<viric> interesting.
<samueldr> i-am-the-slime: no specific reasons, just be warned that you still have *that* channel that can bring other older software around
<hyper_ch> (it will fly across the room if you eject it)
<Izorkin> hyper_ch: I'm trying to split the data into different zfs dataset ztank/nixos/nix | ztank/nixos/root1 | ztank/nixos/tmp | ztank/nixos/var As a result, when you restart, errors occur - Failed unmounting
<samueldr> i-am-the-slime: it depends on why it was added, but configuration.nix will use the nixos channel by default
<hyper_ch> i-am-the-slime: you could remove it and see how things go
<hyper_ch> Izorkin: I still have no idea what and how you did
<hyper_ch> Izorkin: as said, use legacy as mountpoint and specify things in the hardware-configuration.nix
ent has joined #nixos
mrkgnao has quit [Ping timeout: 265 seconds]
mrkgnao has joined #nixos
<Izorkin> hyper_ch: my hardware-configuration.nix https://pastebin.com/EjJ7kzfR
<i-am-the-slime> okay I just updated to nixos-unstable and ran nixos-rebuild boot --upgrade, if it blows up, I'll just go back to the older generation
detran has joined #nixos
<hyper_ch> i-am-the-slime: yep... that's the good thing about nixos :)
<hyper_ch> if an upgrade goes wrong, you can just boot into an older generation
ma27 has joined #nixos
detran has quit [Remote host closed the connection]
detran has joined #nixos
griff_ has quit [Quit: griff_]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #34592: ucl: patch shebang configure so full-featured 'bash' is used, fix (master...fix/ucl-use-bash-for-configure) https://git.io/vNpLg
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 252 seconds]
ryanartecona has quit [Quit: ryanartecona]
<ambro718> Can someone explain to me how exactly I am supposed to use overlays? Suppose I put something like this into configuration.nix: nixpkgs.overlays = [ (import ./overlay) ]; Woldn't that only take effect for the system configuration - what about if I want to install a package from an overlay with nix-env?
detran has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
<clever> ambro718: you put them into the directory this line looks at
<ambro718> clever: but I want the overlay to be next to my system configuration, e.g. in /etc/nixos/overlay, and be effective both for nix-env and nixos-rebuild
<samueldr> depending on the opinions of more experience users, I may have a pattern for that
<clever> ambro718: you can just make a symlink pointing to that main location
<ambro718> clever: wouldn't that break if I try to do nixos-rebuild from another user which doesn't have it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas pushed 1 new commit to master: https://git.io/vNpte
<NixOS_GitHub> nixpkgs/master 8c8e882 Herwig Hochleitner: chromium: 64.0.3282.119 -> 64.0.3282.140...
NixOS_GitHub has left #nixos [#nixos]
<clever> ambro718: leave the overlay in the public location, and make a symlink under $HOME that points to it
ssmike has quit [Ping timeout: 256 seconds]
ssmike1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas pushed 1 new commit to release-17.09: https://git.io/vNptf
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 b6ad2ef Herwig Hochleitner: chromium: 64.0.3282.119 -> 64.0.3282.140...
<i-am-the-slime> now it ran for about 30 mimnutes and failed, nice
detran has quit [Ping timeout: 265 seconds]
ssmike1 is now known as ssmike
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 3 new commits to staging: https://git.io/vNptU
<NixOS_GitHub> nixpkgs/staging de243f2 John Ericson: Merge pull request #34312 from lopsided98/cpupower-pciutils-cross...
<NixOS_GitHub> nixpkgs/staging 259b9ff Ben Wolsieffer: pciutils: enable cross compilation
<NixOS_GitHub> nixpkgs/staging 84f54b8 Ben Wolsieffer: cpupower: enable cross compilation
NixOS_GitHub has left #nixos [#nixos]
<ambro718> why does nix-prefetch-git produce JSON not Nix result, I can't just paste the result into code then
detran has joined #nixos
azertyieio has joined #nixos
i-am-the-slime has quit [Remote host closed the connection]
<ambro718> it seems broken even, I get a hash mismatch trying to build source that was expressed by the result of nix-prefetch-git
detran has quit [Ping timeout: 260 seconds]
<genesis> yes it has a lot of limitations ...
i-am-the-slime has joined #nixos
<ambro718> ok I'll just get back to copying to hash from the error then :)
bluesky has quit [Ping timeout: 248 seconds]
<genesis> i become crazy with my exec error :D
bluesky has joined #nixos
<genesis> hum i'm stupid.
lesce has joined #nixos
<i-am-the-slime> alright so taht worked
<i-am-the-slime> don't have ghc-mod or psc-ide or whatever anymore but I guess that's the price to pay
detran has joined #nixos
hph^ has joined #nixos
ma27 has quit [Ping timeout: 276 seconds]
<i-am-the-slime> does anybody have bluetooth working well enough to use with headphones?
sigmundv_ has joined #nixos
<ndrei> i-am-the-slime: yep
<ndrei> i-am-the-slime: what issues do you have with it?
<i-am-the-slime> It won't pair. Just now the headphones showed up in the dialogue.
<i-am-the-slime> But when I say pair it fails.
<ndrei> hmm, I'm using bluetoothctl, perhaps try removing the device first,
<ndrei> ?
asuryawanshi has joined #nixos
<i-am-the-slime> I can try bluetoothctl
detran has quit [Ping timeout: 256 seconds]
<i-am-the-slime> It looks like it won't find it if I don't deactivate and reactivate bluetooth.
<samueldr> i-am-the-slime: there were reports recently of people failing to pair with BLE bluetooth headsets
<ndrei> I admit I had to create a script to deal with issues with subsequent connections, switching the default pulse sink, etc. but bluetooth on Linux isn't great..
<samueldr> BLE being Bluetooth Low Energy
<samueldr> ^ and that too
<i-am-the-slime> okay I just turned bluetooth off and on, and now it is supposedly connected
<i-am-the-slime> and now of course there's a "lost connection"
<i-am-the-slime> yeah it keeps on saying lost connection
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taktoa opened pull request #34593: gnuradio: fix wrapper (master...taktoa/gnuradio-wrapper-fix) https://git.io/vNpqq
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
<ndrei> i-am-the-slime: do you have another device that works?
<i-am-the-slime> Audio? I don't know, I could try to find something else, why?
<ndrei> now, any device
<ndrei> just to make sur it's not your bluetooth controller that's the problem
asuryawanshi has quit [Ping timeout: 256 seconds]
<i-am-the-slime> but the audio stuff?
<ndrei> well, if you find out you can't connect any device...
<ndrei> or is it just you're losing audio?
<i-am-the-slime> I can connect them for a while.
<ndrei> yeah, and then they disconnect, it's not just that you loose audio
<i-am-the-slime> now I just scanned for other devices
<i-am-the-slime> and it didn't work anymore
<i-am-the-slime> after turning bluetooth off and on again it finds quite a few devices again
<samueldr> i-am-the-slime: just in case, `hardware.pulseaudio.package` needs to be set to `pkgs.pulseaudioFull`, it defaults to a lighter package without bluetooth support
<i-am-the-slime> I have that pulseaudioFull
<samueldr> (though, you might just as well have done that already)
<samueldr> then good, at least it isn't *that* problem
<i-am-the-slime> I think it's probably the driver of the controller
cinimod_ has joined #nixos
<i-am-the-slime> Seems like it gets lazy after a while.
<ndrei> I guess Linux just doesn't like your bluetooth controller
detran has quit [Ping timeout: 248 seconds]
<ndrei> you could try booting from an Ubuntu live usb just to make sure
ambro718 has quit [Quit: Konversation terminated!]
<ndrei> you can get cheap usb bluetooth dongles...
<i-am-the-slime> I was hoping that this 4.15 kernel would be more happy with it.
iyzsong has quit [Ping timeout: 248 seconds]
<ndrei> oh, and see what dmesg tells you
randomstrangerb has quit [Ping timeout: 268 seconds]
<ndrei> $ dmesg -w
<i-am-the-slime> That's one dmesg message: [ 593.456707] bluetoothd[798]: segfault at 0 ip 00005556b3c66a76 sp 00007ffcff916a70 error 4 in bluetoothd[5556b3bfd000+f6000]
randomstrangerb has joined #nixos
<i-am-the-slime> Beautiful :)
hotfuzz_ has joined #nixos
<ndrei> yeah, look it up, altough it doesn't sound good at all :)..
hotfuzz has quit [Ping timeout: 264 seconds]
<ndrei> I'm using 18.03 and unstable nixpkgs and have no issues with bluetooth, apart from, well, it being very unrealiable to "there's a script for that";.
<i-am-the-slime> How do I find out what my bluetooth adapter is?
<cinimod_> Anyone know anything about `nix-buffer`?
<samueldr> lsusb sometimes help, even on laptops (depending on how it's connected internally)
<ndrei> just try switching to 18.03 and nixpkgs unstable
<ndrei> it's so easy with nix, why not try
<i-am-the-slime> Okay, I don't mind switching even more
<ndrei> sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos
<ndrei> sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable
detran has joined #nixos
<samueldr> ndrei: 18.03 isn't released yet, so it's nixos-unstable, and nixpkgs-unstable vs. nixos-unstable there won't be much diferences
patron has joined #nixos
patron has quit [Client Quit]
<samueldr> (hopefully)
<i-am-the-slime> i'm using those already
<ndrei> why do you say "not much differences" for switching both channels?
<i-am-the-slime> sudo nix-channel --list
<ndrei> ah, then try stable..
<i-am-the-slime> gives those two
<i-am-the-slime> nah, i just came from stable
<samueldr> ndrei: I'm saying not much differences between nixos-unstable and nixpkgs-unstable, nixos-unstable tracks the same branch, but won't advance when nixos-specific tests fail
<ndrei> you did --upgrade right?
<i-am-the-slime> yes
spear2 has joined #nixos
<ndrei> samueldr: okay got it
<i-am-the-slime> I'll just have to listen to music from my phone, I guess
<ndrei> or get a cheap dongle
<samueldr> ndrei: right now, it looks like there's three days worth of changes between the two https://github.com/NixOS/nixpkgs-channels/compare/nixpkgs-unstable
hph^ has quit [Ping timeout: 240 seconds]
<i-am-the-slime> I think I have a dongle
<i-am-the-slime> I can try that
<samueldr> those three days may help in some situations though!
cnidario has joined #nixos
<i-am-the-slime> wow this laptop has three usb ports, luxury
detran has quit [Ping timeout: 248 seconds]
<i-am-the-slime> Now lsusb gives me this guy: Bus 001 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
<i-am-the-slime> now how do I use "the right" adapter to connect?
<ndrei> with bluetoothctl you you "select <tab>"
<ndrei> or you # list and then # select
<i-am-the-slime> okay I will try
<ndrei> then once your headset is connected $ pactl set-card-profile <tab> a2dp_sink
freeman42x[NixOS has joined #nixos
<i-am-the-slime> well I see nixos and nixos #2
<i-am-the-slime> and they have some hex identifiers
fyuuri has joined #nixos
<i-am-the-slime> alright, I just realised I can just unplug one of them
<samueldr> you may want to unplug your usb, remember which one stays when listing, then re-plug usb, the new one should be the usb
<i-am-the-slime> it is nixos #2
<samueldr> never mind
<samueldr> :)
detran has joined #nixos
<i-am-the-slime> okay now it says connected, it hasn't dropped yet
<i-am-the-slime> let me try to play some music
<i-am-the-slime> okay that works pretty well
<hyper_ch> i-am-the-slime: upgrade worked?
<i-am-the-slime> no
<i-am-the-slime> ah yes
<ndrei> cool
<i-am-the-slime> sorry
<hyper_ch> so it worked?
<i-am-the-slime> hyper_ch: I had to get rid of two packages
<i-am-the-slime> ghc-mod and psc-package, I think
<i-am-the-slime> and then it worked
<hyper_ch> and you have now 4.14 kernel?
<i-am-the-slime> 4.15 even
<hyper_ch> ok... no idea what those two packages are
<i-am-the-slime> The first I need to get back eventually
<i-am-the-slime> But I could also install it with nix-env
<i-am-the-slime> I hope
sigmundv_ has quit [Ping timeout: 240 seconds]
ma27 has quit [Ping timeout: 264 seconds]
<i-am-the-slime> ndrei: So where do I get your magic scripts.
<i-am-the-slime> Or how do I see if it stops working?
<ndrei> i-am-the-slime: :)
<ndrei> one moment
detran has quit [Ping timeout: 248 seconds]
jensens has quit [Ping timeout: 256 seconds]
<pie_> what would be a good way to reopen pdfs that were open in my last logged in session?
<bendlas> Hi! Is anybody else unable to use `nixos-install`? For me it fails with `error: path ‘/nix/store/xryr9g56h8yjddp89d6dw12anyb4ch7c-nix-1.10’ is not valid`
<bendlas> There is already a ticket: https://github.com/NixOS/nixpkgs/issues/33990
<bendlas> but I'm curious, how widespread the problem is.
<ndrei> I call it "headset"
<ndrei> just replace the hardcoded addresses with your own
<ndrei> https://ptpb.pw/Nk8I and this one "speakers", for when you want to switch to speakers
detran has joined #nixos
<ndrei> you need to have "expect" and "parallel" installed
<i-am-the-slime> hmm
<ndrei> you can even bind it to a key combo for extract convenience, I just type in a terminal..
<i-am-the-slime> where do you put these scripts?
<i-am-the-slime> ~/bin ?
<ndrei> yep
hellrazor has quit [Ping timeout: 240 seconds]
<i-am-the-slime> so I just turned the headset off and on again
<i-am-the-slime> it's not automatically connecting now at least
<i-am-the-slime> let's see what happens with your script
<ndrei> they're really a brute force (but surefire) way to switch from bluetooth to speakers, circumventing many issues I experienced with the default behaviour + bugs..
<ndrei> yeah if you've got any issues try running the commands one by one and make sure they work properly
ma27 has joined #nixos
<i-am-the-slime> Okay so the select part selects the headset and bluez_card.... is the card's hex name?
detran has quit [Ping timeout: 256 seconds]
<ndrei> yep, fir the card, then the headset, and the rest is pulseaudio stuff
nix-gsc-io`bot has joined #nixos
<i-am-the-slime> the card?
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b6ad2eff814 (from 61 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
<ndrei> the controller I mean
<Rusty1_> pavucontrol installed?
<ndrei> the expect script does what you'd do in bluetoothctl
<ndrei> and the rest what you'd do in pavucontrol.. or better by command line, it moves all running sink inputs (running audio streams) to the headset
goibhniu has joined #nixos
<ndrei> it works great for me, I was tired of 10 settings every time I switched headset/speakers
<i-am-the-slime> Okay, you're right, I will just try the commands step by step and figure out the right hex addresses
detran has joined #nixos
<i-am-the-slime> Should I run this through a nix-shell? Because of the parallel and expect stuff?
<ndrei> just install them globally, parallel is an awesome tool
<ndrei> and expect can be handy as well
sigmundv_ has joined #nixos
<ndrei> and really you could replace parallel with xargs -n1, it's just I love this tool :)
<Izorkin> hyper_ch: via systemd.mounts it is possible to add a dependency zfs a rpool/date1 dependent on rpool/date2 ?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hyper_ch> no idea
<i-am-the-slime> what does it do?
cinimod_ has left #nixos [#nixos]
detran has quit [Ping timeout: 265 seconds]
phaebz has quit [Remote host closed the connection]
<ndrei> basically, forEach for shells, in the default behavior, takes each line from stdin and runs the command you give it with {} replaced by that line
xcmw has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 2b5a665 Austin Seipp: arachne-pnr: 2018.01.10 -> 2018.02.04...
<NixOS_GitHub> nixpkgs/master 12037a9 Austin Seipp: yosys: 2018.01.10 -> 2018.02.04...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master f610a78 Austin Seipp: icestorm: 2018.01.10 -> 2018.02.04...
<NixOS_GitHub> [nixpkgs] thoughtpolice pushed 4 new commits to master: https://git.io/vNpOn
<ndrei> so in this case, pactl lists running audio streams, then for each stream parallel runs the command to move the sink input to the headset
fyuuri has quit [Quit: WeeChat 2.0.1]
detran has joined #nixos
<i-am-the-slime> I think I understand
<i-am-the-slime> quite magical
<ndrei> yep :), extremely useful, altough for most things xargs -n1 does the same thing really
<ndrei> actually, xargs -i -n1 so you can use "{}" as replacement string
<i-am-the-slime> so headset seems to be working
<i-am-the-slime> I was wondering if I could make variables/constants for the adapter and the headset but it seems like they don't exist inside of the "expect" block anymore
rauno has joined #nixos
<ndrei> yeah it's because of shell quoting, the expect block is wrapped in "'"
<i-am-the-slime> Ah true
<i-am-the-slime> alsa_output.pci-0000_00_1f
<i-am-the-slime> how do I find my version of this?
detran has quit [Ping timeout: 240 seconds]
<ndrei> just <tab> complete it
sigmundv_ has quit [Ping timeout: 240 seconds]
<gchristensen> is there a way to run a systemd service every time the activation script runs? ie: on boot, or nixos-rebuild switch?
<i-am-the-slime> that failed me on the bluetooth one but let's see
<MichaelRaskin> Isn't there extraActivationCommands or something?
<ndrei> you need zsh for this.. or otherwise just list sinks and stuff, don't know the exact commands
<ndrei> zsh has much better completion
<gchristensen> MichaelRaskin: hmm yes I could put it in there
<ndrei> sorry for dragging you into the Linux tools rabithole
<MichaelRaskin> system.activationScripts.myExtraCommand
<i-am-the-slime> I have fish
noffle has joined #nixos
<i-am-the-slime> I was hoping it could do that too
<ndrei> maybe it's missing a completion package?
<ndrei> anyway, zsh does it great
fyuuri has joined #nixos
<i-am-the-slime> I bet it's this one: alsa_output.pci-0000_00_1f.3.analog-stereo
troydm has joined #nixos
<i-am-the-slime> looks like yours
<i-am-the-slime> should have just tried it
detran has joined #nixos
<ndrei> haha, yeah, expected I guess for analog output
<troydm> hey guys! is it safe to install NixOS with Apple's ESP as /boot on Macbook Pro, coz I did install where I have separate ESP partition used excusively by NixOS and I think it's not downright
<troydm> ???
<i-am-the-slime> works like a charm
<i-am-the-slime> perfect, thanks so much
<ndrei> awesome
<ndrei> sure, glad I could help
<i-am-the-slime> Of course I had to put this line in your second script: #!/usr/bin/env bash
<i-am-the-slime> Otherwise it seemed too fishy for fish.
<gchristensen> MichaelRaskin: do you know what updates /nix/var/nix/profiles/syste
<ndrei> oh yeah, indeed
<gchristensen> MichaelRaskin: do you know what updates /nix/var/nix/profiles/system ?
vidbina has joined #nixos
<ndrei> I don't find fish that useful, but I must admit the UI is "pretty" for a shell :).. It's just a bit confusing when you also want to do "regular" shell scripting
<MichaelRaskin> gchristensen: I think there is a call to nix-env --set in NixOS code?
<gchristensen> I suppose it is a simple experiment to find out, but I'm hunting for if it is updated before or after the activate script runs
<i-am-the-slime> ndrei: The thing is I can't write a loop in bash nor fish for the life of me
<i-am-the-slime> I just use fish because of the history feature
<i-am-the-slime> I guess zsh can also do it but when I tried it back in the day it was very slow
<ndrei> yes it's very nice indeed
detran has quit [Ping timeout: 256 seconds]
<ndrei> you probably were using oh-my-zsh or similar right?
<i-am-the-slime> yes
<MichaelRaskin> gchristensen: first update the profile, then do the switch
tmaekawa has joined #nixos
<MichaelRaskin> It is all in nixos-rebuild.sh
<gchristensen> great
<gchristensen> then the bootloader must do a similar step as well
<MichaelRaskin> I think it is inside switch-to-configuration now
<MichaelRaskin> That script does see the action to perform
b has joined #nixos
fendor has joined #nixos
<hyper_ch> hmmmm, what rss readers are you using?
<MichaelRaskin> Still conducting the survey?
<sudoreboot[m]> How can I browse nix functions?
<samueldr> I'm using tt-rss
Arcaelyx has joined #nixos
<hyper_ch> samueldr: can it also display the full website or just the rss info text?
<samueldr> let me check
<samueldr> I don't think so
detran has joined #nixos
<hyper_ch> ok
sigmundv_ has joined #nixos
detran has quit [Ping timeout: 256 seconds]
hellrazor has joined #nixos
jtojnar_ has joined #nixos
brennie has joined #nixos
<brennie> So python27Packages.pysvn fails to build on darwin: https://hydra.nixos.org/build/61631913/nixlog/1 due to not being able to find g++
<brennie> I'd love to contribute and fix this issue, but im not sure how exactly to approach this. I do have xcode tools available and g++ is in my $PATH
jtojnar has quit [Ping timeout: 256 seconds]
jtojnar_ is now known as jtojnar
<LnL> that only works in a gcc stdenv, it should be using c++ or $CXX
Itkovian has joined #nixos
noffle has left #nixos ["WeeChat 1.9-dev"]
detran has joined #nixos
orivej has joined #nixos
detran has quit [Ping timeout: 240 seconds]
jensens has joined #nixos
detran has joined #nixos
ottidmes has joined #nixos
szgyg_ has joined #nixos
Arcaelyx has quit [Ping timeout: 240 seconds]
Arcaelyx_ has joined #nixos
<brennie> LnL: so how would I change it? patch the makefile?
detran has quit [Ping timeout: 240 seconds]
ma27 has quit [Ping timeout: 256 seconds]
fendor has quit [Read error: Connection reset by peer]
<dhess> Anyone here using the new cross-compilng support in nixpkgs master/unstable for Haskell packaging?
bluesky has quit [Ping timeout: 256 seconds]
bluesky has joined #nixos
<bendlas> anybody else here, for whom `nixos-install` doesn't work?
fragamus has joined #nixos
<mpickering> "doesn't work" means?
<LnL> bendlas: depends on the package, makeFlags = [ "CXX=c++" ]; is the nicest fix but doesn't always work
detran has joined #nixos
<bendlas> can you try `nixos-install --root /tmp/sys` for me?
Itkovian has quit [Read error: Connection reset by peer]
<LnL> err brennie ^
<bendlas> for me it fails with even the most minimal configuration: https://github.com/NixOS/nixpkgs/issues/33990#issuecomment-362926645
jensens has quit [Ping timeout: 256 seconds]
<bendlas> cc mpickering
Itkovian has joined #nixos
<ottidmes> I have the following situation, I have an encrypted hard drive and I want to be able to unlock it in stage 1 and boot to the unlocked drive in stage 2. In this case I am using sedutil (hardware encryption) instead of LUKS. And since it is full disk encryption, I will have to use something else to unlock this. It could be another drive, USB stick, or the little unencrypted partition available on the otherwise
<ottidmes> fully encrypted disk called the PBA. I am trying to use the latter, but the problem of having a custom stage 1 build with NixOS where I unlock the drive to use for stage 2 exists no matter where I choose to put this imag.
<ottidmes> I thought of creating a custom iso, but the iso build its own file system to boot to in stage 2, while I want it to boot to the in stage 1 unlocked file system
<clever> ottidmes: you can use configuration.nix to modify the scripts in stage1
mrkgnao has quit [Ping timeout: 240 seconds]
<clever> ottidmes: and if you always mount that unlock partition to /boot, nixos-rebuild can update it properly
<viric> can the bind mount of /nix/store be umounted, while running?
<clever> viric: what do you want to do?
bluesky has quit [Read error: Connection reset by peer]
<viric> clever: cp --reflink to another place
<ottidmes> clever: I have a fully working initrd the way I want it too, the problem is that the PBA or an USB stick for that matter, cannot simply boot in an initrd, it needs to be a bootable image of some sorts, so how can I get this envelope
<viric> it says it cannot cross filesystem boundaries. btrfs.
<clever> viric: ah
detran has quit [Ping timeout: 268 seconds]
<clever> viric: mount the entire device again, elsewhere, for example, mount -v /dev/sda1 /mnt/
taktoa has quit [Remote host closed the connection]
<viric> clever: I can remount it rw, and to remount it ro I need to add 'bind' agian
mrkgnao has joined #nixos
<viric> again
<viric> clever: ah.
<clever> viric: the kernel is smart enough to know, and just reuse the existing open handle
<viric> clever: right, for btrfs, right.
<clever> but this variant will be the original rootfs, without any mounts ontop of it
<MichaelRaskin> I think you can do a non-recursive bind mount of the underlying FS somewhere
<MichaelRaskin> Without even looking at the device.
detran has joined #nixos
<viric> clever: fine. I do cp -x
<clever> the method i gave above has minimal impact on what nix is doing to save you, and can be undone easily when your finished
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vNpGQ
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master db40ca8 Kranium Gikos Mendoza: pick: 1.9.0 -> 2.0.1
<NixOS_GitHub> nixpkgs/master 5967321 Frederik Rietdijk: Merge pull request #34590 from womfoo/bump/pick-2.0.1...
<viric> MichaelRaskin: ah may be.
<ottidmes> clever: It is meant to be used on normal boot, so it is not that my installer is not working for me, that I have covered, but how now my system is installed can I make it unlock, when I cannot boot in the regular boot files, because they are on the encrypted drive as well.
<MichaelRaskin> clever: I think non-recursive bind is generally safer than second-mount of the device. Just because you are telling kernel the actual truth of what you want
<viric> MichaelRaskin: I'm back at brfs.
<viric> MichaelRaskin: that is, btrfs.
<MichaelRaskin> Brrrr-FS?
<viric> :)
<viric> moreover they introduced zstd, which I like a lot.
<clever> ottidmes: enless your using luks support within grub, the /boot needs to be in cleartext somewhere
<MichaelRaskin> I do use it for /nix/store, because I don't really mind losing the data there, and I like BtrFS features there
<viric> but I think I should start using snapshots in my life.
<ottidmes> As part of the standard there is this unencrypted PBA thing, they supply you with a existing image for BIOS and EFI, but they just allow you to unlock your drive, while I want to include things like a SSH server so I can unlock it remotely
Itkovian has quit [Ping timeout: 248 seconds]
ndrei has quit [Quit: WeeChat 2.0]
<viric> and I don't like zfs enough (it wants ram and ignores page cache)
<clever> ottidmes: https://nixos.org/nixos/options.html#boot.loader.grub.enablecrypt
<ottidmes> clever: So I basically have a little unencrypted partition I can put an image, then unlock the drive, and then the normal drive as usual appears, so I should be able to just continue booting in stage 2 then
<MichaelRaskin> viric: clever: an artist-statement way of playing with RO bind mount of store would be to use statically linked busybox copied to /tmp in unshare-d mount namespace to unmount /nix/store and spawn whatever operation is needed
<clever> ottidmes: i think this option allows the legacy grub stub (between sector 1 and partition 1) to ask for a password and decrypt /boot/
<viric> I don't master the unshare thing yet.
<clever> ottidmes: you generally put /boot on that unencrypted partition, and then it gets the kernel/initrd from that
<MichaelRaskin> I use it for running Firefox.
<viric> nice
<viric> I remember I wanted that for firefox as well, and I ended up using another username for it
aarvar has quit [Ping timeout: 248 seconds]
<ottidmes> clever: This PBA where you can write an image file to, is basically your own enablecrypt thing, and I am trying to extend with additional features, but I want to achieve this in NixOS instead of changing the build they supply: https://github.com/Drive-Trust-Alliance/sedutil/blob/master/images/buildbios
<MichaelRaskin> I want to control Firefox from scripts, that means Marionette, and _that_ means either port management or network namespaces where each instance thinks it has the port 2828 for itself.
detran has quit [Ping timeout: 276 seconds]
<viric> never heard of marionette
<viric> js opening network ports?
<clever> ottidmes: at a glance, i think thats just making a /boot containing your kernel, initrd, and bootloader, formated with ext4, and gzip'd
<viric> My concern was the fs
<MichaelRaskin> Some time ago I did have a small number of UIDs to separate different kinds of Gecko sessions (Google-tainted, online banking, random stuff…) Now all my FF instances have different UIDs
<clever> ottidmes: the problem, is that nixos has to modify the bootloader config every single time you `nixos-rebuild switch`, so it has to re-generate that, and re-flash the PBA
<ottidmes> clever: Right, but could I not kexec into the thing build by nixos?
jtojnar has quit [Ping timeout: 248 seconds]
<viric> MichaelRaskin: aren't you going to qubes? :)
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0e371a60a5d (from 66 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
<clever> ottidmes: hmm, yeah, you could, and that reminds me
<clever> ottidmes: i had an idea a few months ago, about making a kexec based bootloader, for servers
<MichaelRaskin> Marionette is the full Firefox solution for external browser control; it includes executing scripts in the browser-chrome context, if you want to.
<clever> ottidmes: because the grub generation list for emergency rollbacks, is 100% useless on a headless server
<ottidmes> clever: true
<clever> ottidmes: my idea, was to make a very thin "OS", that runs sshd, and if you dont connect within 30 seconds, it boots the default config via kexec
<clever> ottidmes: and if you do connect, you get a boot menu (or shell) over ssh
<clever> then it kexec's your choice of OS
<dhess> clever: 🙏🏽
<ottidmes> clever: I basically want to achieve the same
<MichaelRaskin> viric: Qubes… not convenient to manage via Lisp scripts.
asuryawanshi has joined #nixos
<clever> ottidmes: i should look into that issue when i get a chance and finish my idea up
detran has joined #nixos
fragamus has quit [Ping timeout: 252 seconds]
fyuuri has quit [Ping timeout: 248 seconds]
<ottidmes> clever: I am going to experiment with that as well, but actually need it right now, so I will see how far I can get it to work, but I will first try if I can just get it to work with the latest config
<clever> ottidmes: do you know haskell any?
<ottidmes> clever: Plenty, my favourite language
zearen has joined #nixos
<clever> ottidmes: this is an "OS" based on a custom init binary (written in haskell) booted inside the initrd under linux
<clever> ottidmes: it currently boots into a very very basic shell, that is implemented in haskell
leotaku has joined #nixos
asuryawanshi has quit [Ping timeout: 248 seconds]
<clever> ottidmes: add in the kexec tools, and your crypto tools, and it could then kexec over to any kernel it can find
<ottidmes> clever: awesome! I will check it out :-)
detran has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vNpZ9
<NixOS_GitHub> nixpkgs/master 4e2ff75 Jan Tojnar: synapse: 0.2.99.2 → 0.2.99.3
NixOS_GitHub has left #nixos [#nixos]
<viric> MichaelRaskin: I always used btrfs without subvolumes before.
<i-am-the-slime> now I am trying to get this usbmuxd thing to work
<i-am-the-slime> I guess I need to make it be a "service" and not just install the package, right?
<viric> I also learnt recently about rmlint.
<gchristensen> "rmlint finds space waste and other broken things on your filesystem and offers to remove it" -> just zap the first few blocks of for disk and it is probably even faster :)
detran has joined #nixos
<viric> gchristensen: "all your files seem broken"
Drakonis has joined #nixos
<viric> gchristensen: "make better files next time"
<gchristensen> haha there you go
<viric> gchristensen: "all your work is waste"
jtojnar has joined #nixos
<viric> why do I always forget noatime when I move big things...
randomstrangerb has quit [Ping timeout: 240 seconds]
leotaku has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<viric> I'll try btrfs-send soon...
randomstrangerb has joined #nixos
detran has quit [Remote host closed the connection]
simendsjo has quit [Remote host closed the connection]
detran has joined #nixos
simendsjo has joined #nixos
Arcaelyx_ has quit [Read error: Connection reset by peer]
detran has quit [Ping timeout: 256 seconds]
raynold has joined #nixos
Arcaelyx has joined #nixos
<jluttine> i'd like to suggest that pull requests aren't merged until nox-review has been successfully run. if there are some broken packages, those should be fixed before merging either by the pull requester or the package maintainer or whoever. of course, some packages may have so many packages depending on it that this might not make sense, but at least in typical cases. it feels a bit stupid to break master
<jluttine> unnecessarily
<jluttine> and not just master, these get to nixos-unstable
leotaku has joined #nixos
<jluttine> nixos-unstable is often broken just because nox-review wasn't run successfully before merging a pull request
detran has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
<jluttine> if the point is that people get motivated to fix packages when they suddenly notice that they're system is broken, i don't think it works well..
tnks_ is now known as tnks
<gchristensen> jluttine: I think you'll find the community generally agrees
<gchristensen> getting there is complicated, but we (and me, personally) are working hard to do better
detran has quit [Ping timeout: 256 seconds]
<marek> anyone knows how to get mic working on macbook pro 2010? :/
detran has joined #nixos
fragamus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNpnd
<NixOS_GitHub> nixpkgs/master 2d724b6 adisbladis: airsonic: 10.0.1 -> 10.1.1
NixOS_GitHub has left #nixos [#nixos]
<infinisil> marek: have you enabled pulseaudio?
<marek> infinisil: yes, my audio is working, just not the mic
<marek> https://github.com/mbbx6spp/mbp-nixos and I have this too
Neo-- has joined #nixos
<jluttine> gchristensen: thanks! didn't mean to sound blunt. just wanted to say that i would rather fix packages in pull requests that break them rather than suddenly notice that i can't upgrade my system because some change i first need to hunt down and then start fixing without knowing what changes/commits exactly are related to this problem..
<gchristensen> yeah, I know the feeling
<gchristensen> the problem is many PRs change hundreds of packages and require >50 CPU hours to properly check them
<infinisil> marek: I'm just using hardware.pulseaudio.enable = true and haven't had any problems with audio (macbook air 2012)
<infinisil> So not sure what's the problem
<gchristensen> my work with grahamcofborg is to start at the smaller end of the scale and try and vet those better, before trying for thee big ones
detran has quit [Ping timeout: 264 seconds]
<infinisil> marek: you might want to run pavucontrol and change some settings
michaelpj_ has joined #nixos
<jluttine> gchristensen: yep, such pull requests are obviously a different beast
exec_ has quit [Read error: Connection reset by peer]
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNpcZ
<NixOS_GitHub> nixpkgs/master 14731b5 adisbladis: calibre: 3.15.0 -> 3.16.0
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> Nixpkgs is at the size where «PR breaks something less-used» implies that a full nox-review pr will take more than 4 hours wall-clock time
ryanartecona has joined #nixos
<infinisil> But at least you can always easily find out what broke something (and return to the last working version) with git bisect
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34549: way-cooler: 0.6.2 -> 0.8.0 (master...way-cooler) https://git.io/vNA7h
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 264 seconds]
<nahamu> Is there a simplified example of making an overlay?
<nahamu> I want to move all my custom live os build code into a single overlay of nix expressions, but I'm having trouble wrapping my head around how to get started.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #34594: amdgpu-pro: 17.10 -> 17.50 (master...amdgpu_pro_17_50) https://git.io/vNpCv
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
<nahamu> infinisil: yeah, I read that but I don't understand it.
<nahamu> that's a bit clearer, but I'm still not clear on how to use it effectively. I've been doing builds by pointing nix-build directly at release.nix of a nixpkgs tree.
<nahamu> err at nixos/release.nix rather
jensens has joined #nixos
<dhess> nahamu: what about this? Start with default.nix and just work your way down. https://github.com/dhess/nixpkgs-dhess
Neo-- has quit [Ping timeout: 256 seconds]
<MichaelRaskin> I think pointing at the nixpkgs/ directory is the standard approach
mrkgnao has quit [Ping timeout: 248 seconds]
<nahamu> dhess: thanks, I'll take a look.
<dhess> there are some very simple overrides and then some more complicated ones as well
detran has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34591: facter: 3.9.0 -> 3.9.3 and dependency libwhereami: 0.1.1 -> 0.1.3 (master...bump/facter-3.9.3) https://git.io/vNxjT
NixOS_GitHub has left #nixos [#nixos]
FRidh has quit [Quit: Konversation terminated!]
detran has joined #nixos
alex`` has quit [Quit: WeeChat 2.0.1]
asuryawanshi has joined #nixos
detran has quit [Ping timeout: 260 seconds]
detran has joined #nixos
detran has quit [Ping timeout: 240 seconds]
dbe_ has quit [Ping timeout: 240 seconds]
<nahamu> how do I invoked nix-build to pick up both an overlay and nixpkgs?
detran has joined #nixos
orbekk has quit [Ping timeout: 248 seconds]
stephenjudkins has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
knupfer1 is now known as knupfer
detran has quit [Ping timeout: 256 seconds]
orbekk has joined #nixos
leotaku has quit [Ping timeout: 260 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Unode> Hi all, when I run nixos-rebuild nixos (grub) doesn't pick up the windows partition I have on this machine. Is there any automatic way to enable this or do I have to manually add the entry to Grub's menu?
<srhb> nahamu: Short version is something like nix-build -E 'with import <nixpkgs> { overlays = [ (self: super: { hello = super.sl; }) ]; }; pkgs.hello'
<srhb> nahamu: (where you'd replace that silly overlay with a real import or something)
<srhb> Unode: Yeah, there's an option for grub to autodiscover all the things
<Unode> actually I take that back, grub does create a menu entry but when grub starts I don't see that option in the menu
detran has joined #nixos
<srhb> Unode: It's called useOSProber
<Unode> hum... I've never seen this behavior from grub. I thought everything in grub.cfg would be displayed
<srhb> Unode: I thought so too.
<Unode> I have http://dpaste.com/0N470QF on grub.cfg, automatically generated
<Unode> but when I boot, I see only nixos, old-nixos, and 2 other linux partitions I have on this machine but no windows
<Unode> I'm now puzzling over that 'partool ... hidden' line.
leotaku has joined #nixos
<Unode> trying to comment that and reboot. Be right back
blahblah has joined #nixos
<srhb> Unode: Or you could just enable that option :P
catch22 has joined #nixos
Itkovian has joined #nixos
detran has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Ping timeout: 240 seconds]
throwboy has quit [Remote host closed the connection]
cnidario has quit [Read error: Connection reset by peer]
ryanartecona has quit [Quit: ryanartecona]
randomstrangerb has quit [Ping timeout: 265 seconds]
detran has joined #nixos
randomstrangerb has joined #nixos
leotaku has quit [Ping timeout: 252 seconds]
leotaku has joined #nixos
MarcWeber has joined #nixos
detran has quit [Ping timeout: 265 seconds]
leotaku has quit [Ping timeout: 240 seconds]
jensens has quit [Ping timeout: 256 seconds]
leotaku has joined #nixos
detran has joined #nixos
simendsjo has quit [Ping timeout: 268 seconds]
DeVol has joined #nixos
hamishmack has quit [Quit: hamishmack]
detran has quit [Ping timeout: 256 seconds]
ditadi has quit [Quit: WeeChat 2.0]
<nahamu> srhb and dhess: thank you. I think I'm starting to figure things out.
detran has joined #nixos
<gchristensen> !m srhb and dhess
<[0__0]> You're doing good work, srhb and dhess!
freeman42x[NixOS has quit [Ping timeout: 240 seconds]
detran has quit [Ping timeout: 240 seconds]
stephenjudkins has quit [Remote host closed the connection]
freeman42x[NixOS has joined #nixos
ivanivan has joined #nixos
<samueldr> grrrmmm, anyone here knowing grub2 (efi) particularly well?
<samueldr> trying to find out why grub2 will not chainload an EFI program on *some* of my machines, but will on some and in virtualbox's UEFI
<srhb> \p/
MP2E has joined #nixos
<srhb> ... s/p/o
<MichaelRaskin> Just in case — does anything that requires access to /boot/ work on the machines where chainloading doesn't?
stephenjudkins has joined #nixos
<srhb> offlinehacker[m]: I think I have a good fix for the k8s tests now. So looks like we're almost good to go on 1.9.1 :) We could do some deprecation cleanup though...
<samueldr> MichaelRaskin: working on something for the installer iso, and yes, I can boot the installer image without issue on all machines
<srhb> (Just in time for 18.03 amirite)
<MichaelRaskin> Ah, it's the same image
<ivanivan> I see a lot of lines like "sed -i '/depmod/d' Makefile" in derivations for kernel modules. Is that the accepted approach? Does depmod make any kind of sense on NixOS anyway?
<samueldr> the efi program is on the same partition/disk than grub
detran has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
<samueldr> I'm thinking of two things to help debug the issue: 1) search online for grub and chainloading efi programs 2) finding another efi program, in case the issue is with what I'm trying to boot
<MichaelRaskin> Sanity check: if you make this EFI program the default (i.e. call it bootx64.efi in the FS), does it work?
<samueldr> good idea, I'll check
<clever> ivanivan: depmod has to be ran after nix has merged every package that provides modules
<MichaelRaskin> As for other UEFI program: I guess you can try chainloading GRUB2…
michaelpj_ has quit [Read error: Connection reset by peer]
<MichaelRaskin> Probably you can do it without rebuilding the image
stephenjudkins has joined #nixos
<ivanivan> clever: I'm porting a custom kernel module to nix, should I just omit any depmod calls?
<clever> ivanivan: yeah, nix will do it for you at a later point in time
<ivanivan> Or where in my config might I call it at the appropriate time?
<ivanivan> ah ok
<ivanivan> thank you!
<clever> ivanivan: you need to ensure the kernel module is inside pkgs.linuxPackages.foo
jensens has joined #nixos
<clever> ivanivan: and then nixpkgs will auto-build it against the right kernel
<MichaelRaskin> When you add the package to the list of kernel module packages, NixOS will run a global depmod
ma27 has joined #nixos
<clever> and if you do boot.extraModulePackages = [ config.boot.kernelPackages.foo ]; you will always get the module for the right kernel
ryanartecona has joined #nixos
<clever> boot.kernelPackages = pkgs.linuxPackages; will then change both the kernel, and the module packages together
Drakonis has quit [Read error: Connection reset by peer]
detran has quit [Ping timeout: 240 seconds]
<clever> ivanivan: all making sense?
<ivanivan> clever: mostly. is there a way i can load my config in nix-repl or similar to verify I've got things defined in the right places?
taktoa has joined #nixos
<clever> ivanivan: pkgs.makeModulesClosure is used to merge all the modules together into 1 directory tree, and it runs the bash script i linked above, which does depmod
<clever> ivanivan: nix-repl '<nixpkgs/nixos>'
<clever> and then eval things like config.boot
michaelpj_ has joined #nixos
<clever> nix-repl> config.boot.kernelPackages.kernel
<clever> «derivation /nix/store/sc196z0sb5vhq16wvz7695ilvk1b9imq-linux-4.9.75.drv»
<clever> my current kernel
<ivanivan> clever: cool, i wasn't sure whether that'd include my package overrides and stuff. I'll try it!
<clever> nix-repl> config.boot.kernelPackages.nvidia_x11_beta
<clever> nvidia drivers, built against the kernel
<clever> nix-repl> config.system.build.bootStage1
<clever> the bash script inside stage1, that contains paths to the kernel modules in the initrd
<clever> nixos will then package that script (and all its deps) into an initrd
alexteves has joined #nixos
<clever> nix-repl> config.system.modulesTree
<clever> all of the kernel modules
<clever> how i found the last one
<samueldr> well, it sanity-checked, it does boot when it's the main program booted on hardware which won't chainload...
detran has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
<clever> and you can :b any of those attributes to build them, then poke around with ls
<clever> and :r to reload everything after making changes
ma27 has quit [Ping timeout: 276 seconds]
alexteves__ has quit [Ping timeout: 264 seconds]
<michaelpj> is there something like writeTextBin I can use in a derivation? I would use writeTextBin itself but I think I can't set meta on that?
<michaelpj> er, writeScriptBin
lesce has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> michaelpj: all writeScriptBin does is set 4 arguments for writeTextFile
<clever> ah, but no meta possible with the raw one
hamishmack has joined #nixos
<ivanivan> clever: sorry this is a dumb question, but I can't figure out how to access linuxPackages in nix-repl
detran has quit [Ping timeout: 256 seconds]
<michaelpj> yeah, doesn't seem to be a way to set meta
<clever> ivanivan: pkgs is rather hard to access from the nixos config, one min
<michaelpj> I need to wrap my final program in a slightly more complex wrapper script than wrapProgram is suitable for, just checking to see if there's a convenient way
matthewbauer has joined #nixos
<clever> michaelpj: runCommand
<matthewbauer> hey could someone review/merge my pr: https://github.com/NixOS/nixpkgs/pull/34577
<matthewbauer> should be a straightforward change
<michaelpj> clever: does that take meta? doesn't look like it...
xcmw has joined #nixos
<clever> michaelpj: runCommand takes a set, which can contain anything mkDerivation accepts
<clever> ivanivan: under config._module.args you can find every argument that is passed to configuration.nix
bitchecker has quit [Quit: bye!]
<clever> nix-repl> config._module.args.pkgs.linuxPackages.kernel
<clever> ivanivan: so its in here
niklob has quit [Ping timeout: 276 seconds]
<michaelpj> clever: ah, let me try that
<ivanivan> clever: thanks again. it'll take me a little while to poke around and absorb all that, but very helpful!
asuryawanshi has joined #nixos
detran has joined #nixos
<samueldr> and MichaelRaskin, if you have any tips/pointers, it grub can chainload itself on the hardware it can't chainload that other specific program...
yann-kaelig has quit []
<samueldr> I'm leaning towards dumb EFI assumptions in both programs
bitchecker has joined #nixos
bitchecker has quit [Remote host closed the connection]
detran has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Ping timeout: 260 seconds]
<MichaelRaskin> samueldr: can the program work as the _first_ UEFI loader?
<samueldr> yes
<MichaelRaskin> Hm.
<MichaelRaskin> I wonder if Qemu with OVMF will give any complaints
bitchecker has joined #nixos
Guest75478 has quit [Quit: Lost terminal]
<samueldr> I wonder too
<samueldr> btw, if you're curious or have spare uefi hardware to check, it's the result of an open PR on nixpkgs (though, DO NOT feel in any way like you have to check :))
<clever> ive also discovered some weird things
<clever> grub technically has zero support for nvme drives
<clever> all grub can do, is make use of the nvme drivers, in the board firmware
<MichaelRaskin> I don't want to reboot now, that's for sure.
<clever> so if your firmware cant boot nvme, grub has no way to open nvme, even if you can somehow boot the grub via other means
hiratara has quit [Ping timeout: 265 seconds]
<samueldr> are there any other bootloaders with similar drivers?
<MichaelRaskin> I can check in Qemu, but I won't apply any magic to Qemu in the process.
<samueldr> I seem to remember that there is something special to do to use qemu with OVMF in nixos, am I wrong?
<MichaelRaskin> I don't think so
detran has joined #nixos
<MichaelRaskin> @ qemu qemu-system-x86_64 --enable-kvm -bios $(test-build '' OVMF.fd)/FV/OVMF.fd -device e1000,netdev=net0 -netdev user,id=net0 "$@"
<Dezgeg> you might need to pass something like -bios ${pkgs.OVMF.fd}/FV/OVMF.fd
<MichaelRaskin> Pay no attention to the details of @ qemu and test-build
<samueldr> yeah, something like that, thanks!
hiratara has joined #nixos
<samueldr> what's `test-build`?
<MichaelRaskin> It is a wrapper around nix-build
<samueldr> ah, good
<MichaelRaskin> (@ is also a wrapper)
<MichaelRaskin> Basically, I use --no-out-link >90% of time, and it doesn't have a short form, and that-s annoying.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34596: python3Packages.aioimaplib: init at 0.7.13 (master...aioimaplib) https://git.io/vNpRR
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> And nix-shell thinks that --run should take a single parameter and consider it as string, which messes with tab-completion, which is annoying.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #34592: ucl: patch shebang configure so full-featured 'bash' is used, fix (master...fix/ucl-use-bash-for-configure) https://git.io/vNpLg
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 248 seconds]
detran has joined #nixos
dan_b has joined #nixos
<samueldr> results! won't chainload with OVMF
<MichaelRaskin> Now play with memory size (-m)
<samueldr> it failed initially with out of memory, but re-doing it with bigger -m (before your prompt) gave me the same result than with failing hardware
<samueldr> (it's reassuring, one of the failing hardware is a C720p running tianocore-based UEFI)
<iqubic> What does the inherit keyword do in a derivation?
<MichaelRaskin> I have seen cases where «explicit out of memory», «weird failure» and «OK» all happen as you increase RAM size
ryanartecona has quit [Quit: ryanartecona]
<samueldr> with 20GB it fails the same way
<samueldr> same way than with 2GB
ambro718 has joined #nixos
detran has quit [Ping timeout: 264 seconds]
<iqubic> clever: gave me this template derivation to use, and I'm not sure what inherit does there.
<samueldr> oh, I never shared the error message I think "error: unknown error."
<MichaelRaskin> iqubic: it is not specific to derivations; inherit x ~ x=x;
<clever> iqubic: can you link what you have right now?
<samueldr> which is ~99% sure grub_error (GRUB_ERR_BAD_OS, "unknown error") from chainloader.c
<MichaelRaskin> Basically, it puts into the attribute set you are writing something that is in scope.
<iqubic> clever, all I have is the gits you gave me.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #34597: nix: fix config for echo/test on newer busybox (master...fix/nix-busybox-config) https://git.io/vNpRd
NixOS_GitHub has left #nixos [#nixos]
<iqubic> I never did write other.nix yet.
<MichaelRaskin> samueldr: at least you have a reproducible error that can be shared fully…
<clever> iqubic: all that does is allow the other package to depend on metakit
<clever> iqubic: its the same as { metakit = metakit; };
<iqubic> So why don't we write metakit = metakit?
<samueldr> MichaelRaskin: definitely, thanks by the way
<clever> because its longer, and you have to put the name in twice
<iqubic> And do I still have to declare metakit as an input in other.nix?
<clever> the same as any other input
<iqubic> Cool, thank you.
<clever> { stdenv, metakit }:
<iqubic> Along with all of everything else that other.nix needs.
<MichaelRaskin> iqubic: also, for recursive attribute sets inherit will take the value form the scope, and metakit = metakit will create a self-reference.
<iqubic> Can I then put metakit into my buildDeps?
<MichaelRaskin> (recursive means that {version="x"; name="x-${version}";} works)
<clever> yeah
<iqubic> MichaelRaskin: So do I not want rec in there?
<iqubic> That's what clever gave me, so IDK what to do.
<MichaelRaskin> You usually want to use rec and inherit
<iqubic> Like clever told me to do.
detran has joined #nixos
<iqubic> Metakit isn't in nixpkgs so I wrote a derivation for that.
<iqubic> and I need to tell nix that other.nix depends on metakit.
<iqubic> So I think that will work.
<iqubic> Also, is it fine for other.nix's source to be a directory on disk?
hotfuzz_ has quit [Ping timeout: 248 seconds]
detran has quit [Ping timeout: 240 seconds]
detran has joined #nixos
<ivanivan> clever: the Makefile for the kernel module I'm porting calls `install` with `-m 0755 -o root -g root`
<ivanivan> The attempt to change ownership raised an error so I removed `-o root -g root` from my installPhase.
<ivanivan> I notice the resulting foo.ko has 555 permissions despite the `-m 0755`. I suspect this doesn't matter, but not sure...
<clever> ivanivan: after the build job finishes, the nix daemon will sanitize the entire output
<clever> nothing can be writeable
<ivanivan> i thought that must be it ;)
<ivanivan> my buildPhase gets shorter and shorter :)
ssmike has quit [Quit: ssmike]
ssmike has joined #nixos
ssmike has quit [Client Quit]
ssmike has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<samueldr> (and I'm not patching grub to figure out basic debugging informations, computering is hell)
<samueldr> now*
<gchristensen> samueldr: god speed
<ivanivan> clever: last question, i promise :) . During post-installation fixup, I see:
<ivanivan> shrinking RPATHs of ELF executables and libraries in /nix/store/xxx-foo-0.1-4.9.76
<ivanivan> shrinking /nix/store/xxx-foo-0.1-4.9.76/lib/modules/4.9.76/misc/foo/foo.ko
<ivanivan> wrong ELF type
<ivanivan> stripping (with flags -S) in /nix/store/xxx-foo-0.1-4.9.76/lib
<ivanivan> patching script interpreter paths in /nix/store/xxx-foo-0.1-4.9.76
<ivanivan> checking for references to /tmp/nix-build-foo-0.1-4.9.76.drv-0 in /nix/store/xxx-foo-0.1-4.9.76...
<ivanivan> wrong ELF type
<ivanivan> Are these warnings/errors of any consequence?
<MichaelRaskin> samueldr: if I tell that I have used a laptop where GRUB2 worked with EFI but gummiboot didn't, will it encourage or discourage you?
<clever> ivanivan: this just blindly tries to run patchelf --shrink-rpath on everything
<clever> and kernel modules just arent supported, so it prints a warning and ignores it
<samueldr> MichaelRaskin: both! I know implementations are... weird or just plain buggy
fragamus has joined #nixos
<MichaelRaskin> I think it was the first attempt by Asus to implement something looking like UEFI
<MichaelRaskin> They later got better.
<ivanivan> clever: cool, thanks again
<MichaelRaskin> The other vendors… Well…
<samueldr> heh, I though mine was alright... but earlier today it lost all its boot entries
<clever> ivanivan: dontPatchELF would also let you disable it, if you cared to
<samueldr> (ASUS laptop)
<MichaelRaskin> With Asus laptops, at least you can just go to Boot Menu and restore the ones you care about.
<samueldr> yes!!!!
<MichaelRaskin> With Lenovo… nope.
<samueldr> I have two UEFI here that won't allow me
<samueldr> which is why I'm working on that small feature for the installer iso
detran has joined #nixos
<MichaelRaskin> Oh right.
<samueldr> in fact, that small feature saved me on my asus laptop that lost its entries...
<samueldr> since on THAT computer it works
<MichaelRaskin> Hehe
<ivanivan> clever: nice, I'll use that
hiratara has quit [Quit: ZNC - http://znc.in]
<samueldr> (it's chainloading refind, since refind is good at... finding efi programs to start)
<MichaelRaskin> Are you sure losing the entries was not linked to dual-booting into Windows?
simukis has quit [Ping timeout: 260 seconds]
<samueldr> no windows on that laptop
<clever> ivanivan: aha, line 16 checks if its an elf file, and skips non-elf files
<samueldr> nixos-only
<MichaelRaskin> Hm.
<clever> but kernel modules are a grey zone, elf, dynamicaly, linked, but not your normal .so
knupfer has quit [Ping timeout: 260 seconds]
<MichaelRaskin> Yes, Asus own menu requires you to have a good idea, or implement a manual search of a tree.
hiratara has joined #nixos
fragamus has quit [Client Quit]
nkpart has joined #nixos
thc202 has quit [Ping timeout: 268 seconds]
<MichaelRaskin> I was under false impression that having Boot Menu with reasonable UEFI management (Asus-style) is basically industry standard. Then I got a slightly used Thinkpad (because huge battery), and met Reality.
<ivanivan> I notice this towards the end of nixos-rebuild, though it doesn't fail the build:
<ivanivan> depmod: WARNING: could not open /nix/store/xyxy-kernel-modules-shrunk/lib/modules/4.9.76/modules.order: No such file or directory
<ivanivan> depmod: WARNING: could not open /nix/store/xyxy-kernel-modules-shrunk/lib/modules/4.9.76/modules.builtin: No such file or directory
<samueldr> ♥ nix and nixos... building the iso with a patched grub was trivial
detran has quit [Ping timeout: 248 seconds]
<clever> ivanivan: should be minor
chisui has joined #nixos
DeVol has quit []
<ivanivan> a few fatal modprobe errors earlier in the build for various kernel modules, it looks like
<ivanivan> fatal but not fatal :)
fragamus has joined #nixos
detran has joined #nixos
asuryawanshi has joined #nixos
<iqubic> What is the difference between zlib and zlibStatic?
<simpson> iqubic: Without looking, surely zlibStatic is suitable for being statically linked into builds, and zlib is a DSO.
detran has quit [Ping timeout: 256 seconds]
<iqubic> And which do I want? The program I'm writting a derivation for wants zlib version 1.2.11 from here: http://www.zlib.net/fossils/
<iqubic> I'm sure a newer version will work, but I'm not sure if I want static or not.
<iqubic> If it helps I'm compiling a C++ program.
<simpson> Dunno, does the language you're working with normally statically link? If you're not sure, go with regular `zlib`.
<simpson> I'd try `zlib` first then.
<iqubic> It's C++.
<iqubic> I'll try "zlib" first.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> Does linux have any concept of DLL, or is that a windows only thing?
<iqubic> like would I ever need a foo.dll file for compiling a thing on linux?
alex`` has joined #nixos
<MichaelRaskin> DLL is a Windows instantiation of the notion of Dynamic Shared Object. In Unix-like systems, the customary extension is .so
detran has joined #nixos
<iqubic> Alright I see.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markuskowa opened pull request #34598: freeipmi: 1.5.7 -> 1.6.1 (master...freeipmi-pr) https://git.io/vNpuW
NixOS_GitHub has left #nixos [#nixos]
<iqubic> So I have a few things I need to do, before compilation happens. Where do I tell my derivation about those things? What phase comes before compilation?
<iqubic> Note, I'll be compiling with Ninja.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Chiiruno opened pull request #34599: edid-decode: init at git-2017-09-18 (master...master) https://git.io/vNpuu
NixOS_GitHub has left #nixos [#nixos]
ivanivan has quit [Quit: WeeChat 1.9.1]
detran has quit [Ping timeout: 240 seconds]
fyuuri has joined #nixos
<iqubic> I assume using Ninja causes the configure phase to be skipped.
<iqubic> What does the configure phase even do?
<Yaniel> the configure phase should generate the ninja files
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michaelpj opened pull request #34600: sil: init at 1.3.0 (master...imp/sil) https://git.io/vNpuP
NixOS_GitHub has left #nixos [#nixos]
<iqubic> How is that usually done?
<Yaniel> with cmake
<iqubic> Is there a default ninja configure phase?
<Yaniel> or, more recently, with meson
<iqubic> Why would you need cmake for that?
<iqubic> What is the point of it?
<Yaniel> because cmake generates build files
<Yaniel> that is its sole point
<Yaniel> unlike make and ninja, which take those build files and actually build the software
<iqubic> Right. So I'm going to have to redefine the configure phase, because my project is weird like that.
<Yaniel> what is this project?
niklob has joined #nixos
<iqubic> It's just a very highly obscure puzzle game that a total of like, 10 people actively play.
<Yaniel> I mean how is it supposed to be built
jensens has quit [Ping timeout: 248 seconds]
<Yaniel> does it have a handwritten ninja file?
<iqubic> Oh, it's supposed to be build by first first running a script called "ninjamaker" and then using the resulting ninja file to build the program.
<Yaniel> yeah so that ninjamaker fills the same purpose as cmake or meson
<Yaniel> i.e. the configure phase
<iqubic> I know. Which is why I have to redefine the configure phase as I said earlier.
detran has joined #nixos
<Yaniel> right
<Yaniel> I suppose nix doesn't know about much more than autotools, cmake and meson
<iqubic> Well, this "ninjamaker" thing is literally just a bash script that creates the proper ninja build script.
michaelpj_ has quit [Ping timeout: 264 seconds]
niklob has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vNpzO
<NixOS_GitHub> nixpkgs/master 5d2b4a5 Tuomas Tynkkynen: picocom: 3.0 -> 3.1
NixOS_GitHub has left #nixos [#nixos]
<iqubic> I'm not sure why the code wasn't written any better.
<Yaniel> NIH syndrome is a terrible thing
<iqubic> What is that?
<Yaniel> Not Invented Here
<Yaniel> buut yeah if you're lucky it's fairly straightforward
<iqubic> Also, looking at the list of flags it turns out that all I need to do is this: configureScript = "ninjamaker";
<Yaniel> maybe
detran has quit [Ping timeout: 256 seconds]
<Yaniel> if it does not have too many expectations about the system it's run on
<iqubic> Yaniel: I'm not planning on putting this up on nixpkgs ever.
<Yaniel> I mean it could trip over something as trivial as starting with #!/bin/bash
<MichaelRaskin> First you tell us about a cool little-known puzzle game, and then such a letdown…
<MichaelRaskin> But if you package and take dependencies from Nixpkgs, Nixpkgs manual is usually still one of the sources of useful information
<gchristensen> MichaelRaskin: I know, right?
<MichaelRaskin> (Nix manual is also useful, but it is lower-level)
<iqubic> MichaelRaskin: If you want to try this game, I can put up a link to it online.
<gchristensen> I live for puzzle games
<iqubic> s/online/in #nixos/
cnidario has joined #nixos
detran has joined #nixos
lord| has quit [Quit: WeeChat 2.0.1]
lord| has joined #nixos
<iqubic> I did not know that nixos people liked puzzle games.
<samueldr> isn't nix, nixpkgs and nixos one big puzzle game?
<MichaelRaskin> I always thought Nix is a save-load emulator for another puzzle game…
<iqubic> Oh. I see.
<samueldr> TAS for linux systems :D
Ubercow has joined #nixos
<iqubic> LOL.
leotaku has quit [Quit: WeeChat 2.0]
lesce has joined #nixos
liuz has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> Here's a video of an Arch Installation speed run
<MichaelRaskin> Nix is not much useful for TAS, TA-100%-completion maybe.
asuryawanshi has quit [Ping timeout: 248 seconds]
<iqubic> Why is Nix not the right tool for the job?
fragamus has joined #nixos
<gchristensen> its caching makes it less likely you'd do it all in one shot
azertyieio has quit [Ping timeout: 268 seconds]
<iqubic> Do all of what in one shot?
<MichaelRaskin> A speedrun of a Linux-based system.
detran has quit [Ping timeout: 240 seconds]
<MichaelRaskin> This exchange is more of an association chain than something that can be fully explained.
<iqubic> What would you classify as the start and the end of the run?
xcmw has joined #nixos
coot has joined #nixos
<MichaelRaskin> That's basically my objection
xcmw has quit [Client Quit]
<iqubic> Oh. I got you.
detran has joined #nixos
coot_ has joined #nixos
coot has quit [Ping timeout: 248 seconds]
detran has quit [Ping timeout: 248 seconds]
Ubercow has quit [Quit: Ubercow]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
detran has joined #nixos
ndrei has joined #nixos
<ndrei> not nixos related but figure someone where might have the solution: how do get a large cursor with xmonad on a hidpi display? xcursor.size in ~/.xressources doesn't work..
detran has quit [Ping timeout: 256 seconds]
<iqubic> Well, it should work.
<iqubic> But try asking in #xmonad.
<i-am-the-slime> Do you guys know how I can remove the delay in password retry for sddm?
<ndrei> thanks, you think it might be xmonad? all fixes I see mention gnome
<ndrei> anyway, yeah, I'll take it there
<fpletz> ndrei: try ~/.Xresources
<ndrei> yep, that's what I'm doing
<fpletz> only that one is loaded by our xsession script iirc
<fpletz> note the captial X :)
<ndrei> yes I know, actually I have all my urxvt settings there and other stuff and they load fine
<fpletz> oh, ok
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #34526: plasma-integration: Fix font style name bug with Qt >= 5.8 (master...bugfix/plasma-integration/font-style) https://git.io/vNNWT
NixOS_GitHub has left #nixos [#nixos]
<chisui> i-am-the-slime: isn't that the default linux password delay?
<gchristensen> fpletz: have you seen http://grahamc.com/blog/nixos-system-version-prometheus ?
<iqubic> What's the latest stable channel?
<iqubic> Is it 17.09?
<gchristensen> yes
detran has joined #nixos
Guanin has quit [Quit: Leaving]
<fpletz> gchristensen: oh no, we have a similar solution for that :)
i-am-the-slime has quit [Ping timeout: 256 seconds]
<fpletz> just came back home from fosdem
<gchristensen> oh! how was it?
silver has quit [Quit: rakede]
Buzzard456 has joined #nixos
<Buzzard456> ▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! xgxtpno: blahblah matthewbauer alexteves ▄▄▄▄▄▄▄▄▄▄▄
<Buzzard456> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! vwhlyuaa: orivej MichaelRaskin nkpart ▄▄▄▄▄▄▄▄▄▄▄▄▄▄
<Buzzard456> â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! zehbeveep: mkaito contrapumpkin nuncanada â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–
<Buzzard456> â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! gukifztdja: Baughn Adluc vidbina â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â
<Buzzard456> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! xceildfyd: datakurre detran sr ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Buzzard456 has quit [Excess Flood]
<fpletz> the nixos session by MoreTea was pretty insightful
<fpletz> did you know that nix is running on one of the worlds' four fastest supercomputers? :P
<gchristensen> top four? I didn't! I knew it was in the TOPS500 though!
the has joined #nixos
the has quit [Changing host]
the has joined #nixos
<MP2E> wow, I did not
ssmike has quit [Ping timeout: 240 seconds]
the has quit [Remote host closed the connection]
the has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<fpletz> that new risc-v dev board that can run linux is also pretty amazing: https://fosdem.org/2018/schedule/event/riscv/
<Yaniel> also amazingly expensive
mkoenig has quit [Ping timeout: 256 seconds]
<gchristensen> very cool, did you go to that talk?
alex`` has quit [Quit: WeeChat 2.0.1]
mkoenig has joined #nixos
<fpletz> gchristensen: saw only the last 15min, for the demo they had quake running with an ati graphics card :)
detran has joined #nixos
<gchristensen> nice. clever and I were wondering what all the SMAs were for, seems like they connect to the DDR
<lejonet> gchristensen: You were at fosdem? :O
<gchristensen> oh, no, from pictures on their website :)
<MP2E> I'd like a RISC-V board, only thing holding me back currently is the price
<lejonet> gchristensen: :P too bad, would've loved to meetup
<gchristensen> I keep threatening to do a NixOS meetup where I live, in rural-ish Massachusetts
<lejonet> :P
<lejonet> MP2E: me too, I would love to play around with one, but can't really justify the price tag
detran has quit [Ping timeout: 248 seconds]