barrett has quit [Remote host closed the connection]
emptyflask has quit [Ping timeout: 245 seconds]
emptyflask has joined #nixos
Zer0xp has quit [Ping timeout: 276 seconds]
chr15 has quit [Ping timeout: 250 seconds]
<codedmart>
Hmm... maybe chain loading is the wrong word. I want run run an efi file before I boot into nix os. I have a macbook pro and it is how I turn on my integrated graphics.
<codedmart>
I can't remember how I did it in Arch and I already deleted that.
iqubic`` has joined #nixos
oborot has joined #nixos
iqubic` has quit [Ping timeout: 276 seconds]
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
emptyfl4sk has joined #nixos
thc202 has quit [Ping timeout: 264 seconds]
<ivan>
I think steam is broken in master, dpkg-deb: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 264 seconds]
Ralith_ has quit [Remote host closed the connection]
amf has joined #nixos
<amf>
I have airsonic installed via the unstable trick from https://functor.tokyo/blog/2018-02-18-install-packages-from-nixos-unstable (I use a few other packages with that, so I know it works), however airsonic is still at an older version. I've tried nixos-rebuild switch a few times (with --upgrade) and not sure what's happening or how to debug this
<amf>
i do see the newer version in /nix/store along with the old version
<mdash>
amf: what are you looking at to see the current version?
<amf>
the web ui
<amf>
i suspect i'm hitting a bug and wanted to upgrade
<mdash>
amf: does 'systemctl status nginx' show the old version?
<mdash>
err
<mdash>
amf: 'systemctl status airsonic'
<mdash>
maybe nginx needs to be restarted but i'm not clear
<amf>
Resolved local Airsonic version to: 10.2.1-RELEASE
<mdash>
ok nah it's just doing proxyPass there.
<amf>
not using nginx
<mdash>
mmm, ok the big problem I see is that the module doesn't take a `package` arg
<mdash>
are you using packageOverrides?
<amf>
nope, just the functor.tokyo `unstable.airsonic` (i'm still quite new to nixos, so dont even know how to do packageOverrides yet)
<mdash>
right. so, that's enough to get the contents of the airsonic package put into the environment ($PATH etc)
<mdash>
but what you need is to get it into the systemd service that nixos starts for it
<mdash>
some mixos modules take a `package` arg for this reason
<mdash>
this one doesn't so let's see what else can be done
<mdash>
set packageOverrides like it describes, with "airsonic = unstable.airsonic;'
dbmikus has quit [Ping timeout: 264 seconds]
<amf>
got, nixpkgs.config.packageOverrides' already defined, with it in it's own stanza, but if i put it in the packageOverrides part, it says unstable is undefined
<{^_^}>
[nixpkgs] @cdepillabout closed pull request #67624 → haskell: get cabal-install 3.0.0.0 building on ghc-8.6.5 and ghc-8.8.1 → https://git.io/fjxLc
evanjs has quit [Ping timeout: 244 seconds]
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
oborot has quit [Ping timeout: 245 seconds]
Ralith_ has joined #nixos
evanjs has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
endformationage has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
slack1256 has joined #nixos
Raylier has joined #nixos
mac10688 has joined #nixos
<Raylier>
Hello people just installed NixOS, and since this is very different idk if things will work as in other distros
<Raylier>
So I downloaded bspwm, sxhkd and stuff will I configure it from $HOME/.config/
<Raylier>
?
emptyfl4sk has joined #nixos
<slack1256>
Probably, my xmonad reads from $HOME/.xmonad/xmonad.hs
evanjs has quit [Ping timeout: 245 seconds]
<Ashy>
Raylier: yeah your dotfiles will still mostly work as per usual
<slack1256>
Stuff like global configuration is usually done on nix, but user config seems to work as is other distros.
<Raylier>
ah cool
<Ashy>
there is a project called home-manager that lets you manage your dotfiles with nix too but i haven't bothered with that yet with over a year of nixos usage
<Raylier>
Ah cool
<Raylier>
So installed bspwm, I don't need xinitrc right
<sphalerite>
contrun[m]: aah, yes, pass allowImportFromDerivation = true; to linuxManualConfig to allow it to read the config at eval time and check those assertions correctly
emptyfl4sk has joined #nixos
Myhlamaeus1 has quit [Remote host closed the connection]
<contrun[m]>
sphalerite: Thanks. I encounterd another error with another cryptic error message.
<contrun[m]>
`mv .config config` seems to be working. It is maybe because of the filename `.config`.
<sphalerite>
contrun[m]: aah yes, that's a pain…
emptyfl4sk has quit [Ping timeout: 258 seconds]
<contrun[m]>
sphalerite: It is now building. I am very excited. Thank you every much.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Myhlamaeus1 has joined #nixos
esclear has quit [Ping timeout: 246 seconds]
<sphalerite>
contrun[m]: I think you can use your config if you use configfile = builtins.path { path = ~/Workspace/linux/.config; name = "linux-config"; };
<sphalerite>
* use your config without renaming it
v88m has quit [Ping timeout: 244 seconds]
captn3m0- has joined #nixos
zupo has joined #nixos
knupfer has joined #nixos
captn3m0 has quit [Ping timeout: 245 seconds]
justanotheruser has joined #nixos
alex``` has joined #nixos
DariusTh` has quit [Ping timeout: 246 seconds]
kvda has joined #nixos
<alexarice[m]>
is there a function in lib for a deep merge of attrsets?
ng0 has quit [Quit: Alexa, when is the end of world?]
hoijui has joined #nixos
sk8forether has quit [Quit: Connection closed for inactivity]
<{^_^}>
[nixpkgs] @7c6f434c pushed to master « petrinizer: fix build by pinning the neccessary library versions »: https://git.io/fjjQy
Chiliparrot has joined #nixos
hoijui has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtojnar has joined #nixos
jtojnar has quit [Ping timeout: 244 seconds]
hoijui has joined #nixos
jtojnar_ has joined #nixos
adamantium has quit [Ping timeout: 245 seconds]
nikivi has quit [Ping timeout: 264 seconds]
emptyfl4sk has joined #nixos
thc202 has joined #nixos
alanz has quit [Ping timeout: 252 seconds]
levdub has quit [Ping timeout: 252 seconds]
alanz has joined #nixos
emptyfl4sk has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<shyim>
Hey when I checkout nixpkgs master and make an rebuild on that. My PC crashed with out of memory. I have 16 GB. Is that normal xD
<andi->
shyim: it probably depends on where in the process your PC crashed. Was it post eval? Then most likely you did run too many jobs at the same time.
<shyim>
The CPU load is okay. But ram is at 100%
levdub has joined #nixos
<andi->
still it might mean that you are building too many things at once for your RAM.
<andi->
How many cores/jobs did you configure and what had to be rebuild?
nikivi has joined #nixos
judson_ has quit [Read error: Connection reset by peer]
<shyim>
i didnt configured cores/jobs
<shyim>
lol its compiling the linux kernel :D
judson_ has joined #nixos
<{^_^}>
[nixpkgs] @jluttine opened pull request #68252 → eth-typing: 2.0.0 -> 2.1.0 and eth-utils: 1.4.1 -> 1.7.0 → https://git.io/fjj5O
<shyim>
i didnt have configured swap 🙈
domogled has joined #nixos
<gh30rgh3>
why do you need swap?
<andi->
shyim: you most likely have a line at the bottom of your /etc/nixos/hardware-configuration.nix with some kind of defaults
<shyim>
nix.maxJobs = lib.mkDefault 16;
<shyim>
gh30rgh3,it compiles so much things on rebuild and ram goes 100%
<DariusTheMede>
clever: thanks for helping yesterday - the answer turned out to be that unstable really is unstable - I pinned nixpkgs to some hash from last week and everything built
hoijui has quit [Ping timeout: 245 seconds]
<DariusTheMede>
What should one do about something that was working but is now broken? Raise a ticket? Hope for the best?
<clever>
DariusTheMede: git bisect to find when it broke
<simpson>
DariusTheMede: In general, one should open a text editor and fix the offending Nix expression. One could bisect to try to find the broken commit.
<simpson>
Hope is not a strategy. Filing an issue is a losing strategy.
o1lo01ol1o has joined #nixos
<DariusTheMede>
I will try - this will be my first git bisect hunt the thimble
o1lo01ol1o has quit [Remote host closed the connection]
WilliamHamilton has joined #nixos
<WilliamHamilton>
I noticed that the package pkgs.linuxPackages_5_1 that I used in ` boot.kernelPackages = pkgs.linuxPackages_5_1;` is now missing; what should I use in its place?
o1lo01ol1o has joined #nixos
<averell>
5_2 or latest maybe?
alex``` has quit [Ping timeout: 244 seconds]
<contrun[m]>
I failed at a later (hopefully, the last) stage of building a kernel from local source. The file `Documentation/Kconfig` does exist in the source tree, but not the nix source. It that due to pkgs.lib.cleanSource? Does that filter the Documentation directory out?
<WilliamHamilton>
averell, thanks!
<angerman>
`dyld: __dyld section not supported in /nix/store/h6569hzda3977wkib2pkxbv5n3vbiwyk-wine64-4.0/lib/../bin/wine64-preloader` anyone seen this? I think it's mojave specific.
<contrun[m]>
I checked cleanSource in nixpkgs. It does not filter such directory.
<{^_^}>
[nixpkgs] @risicle opened pull request #68260 → pythonPackages.{colorcet,pytest-mpl}: fix & re-enable all tests on darwin → https://git.io/fjjdU
<hyperfekt>
rnhmjoj: Also, try to package function arguments (the one with all the dependencies) to one per line, with commata in front instead of behind so they're all aligned. That minimizes diffs when they change.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<rnhmjoj>
hyperfekt: yeah, i'm used to that, from haskell. i was actually interested about aligning attribute names with spaces
<rnhmjoj>
the manual is not really clear about this, but it seems they should be aligned
<eyJhb>
Yeah, know about that :D Also looking forward to seeing how it goes ( samueldr !). Just if there was something right now that could be used!
<eyJhb>
But then again. I normally only ever use Termux for some small git lists, and when... drinking and people get curious
<Acou_Bass>
i ran nixpkgs on my sailfish OS phone once... sorta pointless (mostly because i couldnt be bothered getting XWayland working) :P
<evanjs>
I love my iPhone but I'm pretty interested to see where all the mobile NixOS stuff goes. Crazy me wonders if a color e-ink tablet with NixOS might be possible in the future...
<Acou_Bass>
I'd love to try a NixOS-based pinephone or something though... NixOS + plasma mobile would be sweeet
<eyJhb>
Acou_Bass: I agree :D But I am still rocking my OnePlus One five years later. The ONLY thing that bothers me, is that there is nothing official for it anymore..
<Acou_Bass>
=\ thats lame
emptyfl4sk has joined #nixos
<eyJhb>
And the ROM I currently run, does NOT like when I go from WiFI to LTE + using Messenger. THen it just reboots
<eyJhb>
Should look into the issue at some point
<Acou_Bass>
ive got a nokia n900 that still gets updates to the official OS, plus any number of other distros that run perfectly ona mainline kernel, but my main phone is an xperia X running sailfish OS :P
<Acou_Bass>
got a nexus 4 that has really good unofficial support too but i think the battery's toasted, it doesnt boot at the mo
<immae>
c
evanjs has joined #nixos
evanjs has quit [Client Quit]
DariusTheMede has joined #nixos
evanjs has joined #nixos
o1lo01ol1o has joined #nixos
gh30rgh3 has left #nixos ["User left"]
ContainsLiquid has quit [Quit: ContainsLiquid]
ContainsLiquid has joined #nixos
emptyfl4sk has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Ping timeout: 244 seconds]
omnipotententity has joined #nixos
omnipotententity has joined #nixos
<omnipotententity>
what's the best way to get the configuration for an older revision?
<eyJhb>
omnipotententity: don't think that is possible
<evanjs>
eyJhb: did not see sphalerite there. That's hilarious 😃
<omnipotententity>
boo, not even somewhere in the nix store? I thought the configuration was something that was hashed to get the directory name, if it's not stored anywhere how is the hash verified?
<evanjs>
*sigh* gdm broke on me and xmonad (xsession via home-manager) again. This is going to be fun
<omnipotententity>
eyJhb, actually, I think I do have something in nix store
<omnipotententity>
neat
<sphalerite>
omnipotententity: there's a copyConfiguration option, but you can't enable it retroactively. The best way is to version your config using git or something. I also use zfs with 5-minutely snapshots on top of that because I'm awful at committing my changes.
<omnipotententity>
but only for the very first revision
jackdk has joined #nixos
<omnipotententity>
sphalerite, I'll make sure to enable that then
<omnipotententity>
thanks for the tip
wfranzini has quit [Remote host closed the connection]
<eyJhb>
sphalerite: sure that is the option name?
<clever>
omnipotententity: nix-diff
wfranzini has joined #nixos
<sphalerite>
eyJhb: omnipotententity: system.copySystemConfiguration. my bad
<omnipotententity>
It's not a HUGE DEAL because I'm just troubleshooting an rpi installation because I can't make it boot after changing the installer, I just wanted to look at the old configuration and see
<clever>
omnipotententity: if you nix-diff the .drv for /run/current-system, and nixos-rebuild dry-run, you can see how your cfg differs from the running os
<sphalerite>
that _only_ copies configuration.nix though, so if you have your config split into multiple modules it's not very useful
andgate has joined #nixos
<eyJhb>
Would be nice if it copied /etc/nixos/*
<clever>
and then incrementally edit the config to null out the differences
DariusTheMede has quit [Ping timeout: 244 seconds]
<omnipotententity>
clever, that might be quite nice for troubleshooting this problem, thanks
<{^_^}>
[nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fjjx3
<sphalerite>
It's a writeTextFile derivation, so I'm guessing it's declining because of the preferLocalBuild = true; or allowSubstitutes = false;, but the problem is it can't be built on my laptop because it's not aarch64…
Blessjah has quit [Remote host closed the connection]
<sphalerite>
Does anyone know a workaround for this?
o1lo01ol1o has quit [Remote host closed the connection]
<numkem>
I'm trying to connect to a samba share through Dolphin and it fails while not promting me for credentials. If I enter them manually (ex: smb://user:pass@host/share) it works but will eventually fail when the credentials times out. I've read through the options/packages and discourse to no avail. What would I be missing?
<sphalerite>
numkem: are you using the plasma desktop?
<numkem>
sphalerite: yes I am through the option
evanjs has joined #nixos
<mac10688>
how come I configured mysql with services.mysql.package = pkgs.mysql and ran nix-shell -p mysql then I run mysql and I get "Welcome to the MariaDB monitor"?
<sphalerite>
numkem: hm ok. I don't really know much about it, but maybe you need to install some sort of keyring package
<clever>
mac10688: services.mysql.package only controls the version the systemd service runs
<Acou_Bass>
I'm curious to know if anyone's got a ZNC bouncer running with a lets encrypt cert (via the nixos ACME module or any other means)? there doesn't seem to be an option in the ZNC config to allow this but I'm wondering if there's a way round it like putting it under znc.confOptions.extraZncConf or anythng like that
<sphalerite>
numkem: hm, plasma seems to already add kwallet to systemPackages
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « haskell-arbtt: fix the test suite »: https://git.io/fjjxS
<numkem>
sphalerite: kwallet is there already, gvfs is for gnome3 and I already have polkit enabled.
<eyJhb>
Acou_Bass: not on NixOS, only in Docker. But should be doable
<eyJhb>
I don't even remember how I have configured it
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjjxH
<Acou_Bass>
it works fine on arch (especially now ZNC has updated to allow you to use split certs like what LE spits out) but i cant see how to do it via nixos config
<numkem>
Acou_Bass: not that I know what ZNC is but what about using something like traefik that has ACME support out of the box through docker and just proxy the traffic
<numkem>
sphalerite: no worries, it's just really puzzling how nothing is written anywhere about it
<eyJhb>
Seems overkill, doesn't it?
<Acou_Bass>
numkem: is that a web server with ACME built in?
detran has joined #nixos
<numkem>
Acou_Bass: it's a reverse proxy. It does the ACME stuff all on it's own.
<Acou_Bass>
i considered it doing it that way via nginx, would probably work fine (I'm already going to be using nginx anyway so it would juts be another virthost)
<Acou_Bass>
ahhh
<Acou_Bass>
awesome
<clever>
Acou_Bass: also have a look at security.acme.certs in the nixos options
<Acou_Bass>
yeah clever that part's all fine
<{^_^}>
[nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjjxF
<Acou_Bass>
my struggle is getting ZNC to read those certs
<{^_^}>
[nixpkgs] @alyssais pushed commit from @doronbehar to master « gitAndTools.hub: 2.12.3 -> 2.12.4 »: https://git.io/fjjpB
willghatch has joined #nixos
<{^_^}>
[nixpkgs] @volth opened pull request #68280 → produce cleaner /etc/hosts → https://git.io/fjjpE
emilis has joined #nixos
<willghatch>
I'm trying to make some package definitions, but I can't seem to make libraries visible on the search path. Eg. this example I'm trying to build has xorg.xinput in its buildInputs, but the build fails because it can't find XInput.h. I'm having similar problems with various things I try to build, so I'm clearly missing something.
<devhell>
hey y'all, any chance of https://github.com/NixOS/nixpkgs/pull/68146 getting merged? I can't see anything wrong with it and I also need Rstudio updated but don't have merge powers ;-)
<{^_^}>
#68146 (by averelld, 2 days ago, open): rstudio: fix build with new hunspell-dicts
xkapastel has quit [Quit: Connection closed for inactivity]
<evanjs>
sphalerite: yes, exit_boot() failed and efi_main() failed has stuck with me from ~5.0-5.2.11 or something like that. Not limited to kernel versions afaik
<samueldr>
right, then u-boot should look for the exlinux.conf in either /extlinux.conf or /boot/extlinux.conf in that ext4 partition
<samueldr>
(s/exlinux.conf/extlinux.conf/)
<samueldr>
can you mount the ext4 partition and validate that the extlinux.conf file is (I expect) /boot/extlinux.conf ?
<Acou_Bass>
hmmmm this is weird
<samueldr>
sorry, /boot/extlinux/extlinux.conf *
<Acou_Bass>
i tried cd'ing into /boot and its saying 'structure needs cleaning' (i had this trouble with he real boot partition too...) so its like nix is writig a duff /boot dir?
<samueldr>
(I was going from memory, I just verified on hardware)
xkapastel has joined #nixos
<samueldr>
weird
<samueldr>
I still haven't looked at the earlier discussion, was this an hydra-built image?
<Acou_Bass>
yeah
<Acou_Bass>
ill try a newer image (mine was from yesterday) :P
<sphalerite>
evanjs: yeah I'd suspect a firmware bug then
<samueldr>
the ones from unstable will already have /boot in the main partition
<samueldr>
Acou_Bass: so I would advise using an image from nixos-unstable if that's what you want
<Acou_Bass>
this isnt unstable
<samueldr>
additionally, if you have a 3B+ it will end up working better with a more recent u-boot
<Acou_Bass>
im using nixos-19.03 image and installing as such
<Acou_Bass>
ahhh right
<Acou_Bass>
mine is a 3B not 3b+ reckon its still worth doing unstable instead?
<samueldr>
just saying, you might prefer using nixos-unstable if you intend to have /boot in the main partition
<samueldr>
yeah
<samueldr>
espeially considering it's getting forked in 19.09 soon™
<evanjs>
sphalerite: wait really. How would I even go about troubleshooting that if it's so early in the boot process?
<Acou_Bass>
i dont really intend to have /boot in the main partition
<sphalerite>
evanjs: check if the vendor has updates. If not, nothing to be done.
<Acou_Bass>
i just tried it to fix my existing issue
<Acou_Bass>
:P
<samueldr>
so you'd be able to set the channel to 19.09 in a couple days
<sphalerite>
evanjs: although you could compare it against some other linux distros to make sure
<evanjs>
sphalerite: I know, just wondering if I installed things improperly or if something's mismatched with my partition map and my BIOS, etc
<dahirsch>
i have a question regarding overriding packages in nix-env cmdline. there is a package i want with only one option set from false to true. however --arg and --option do not seem to have any effect when i install it via nix-env -iA. any idea why?
<sphalerite>
evanjs: nah it's definitely a bug somewhere
<samueldr>
since you already have filesystems and such, I would maybe dd if=/dev/zero of=/dev/$SDCARD bs=1M count=2, then format it as FAT32 or EXT4, one partition, then run fight flash fraud
<Acou_Bass>
ill give that aa try :D
domogled has quit [Quit: domogled]
<samueldr>
and maybe sync, unmount, eject, unplug, replug, mount before running f3read
domogled has joined #nixos
<samueldr>
though I *think* it shouldn't matter since I think it handles syncing things and re-reading from FS and not caches
<samueldr>
though it should let you know that the SD card is likely fine, or likely duff :/
<Acou_Bass>
yeah
<Acou_Bass>
ill give that a try first
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
domogled has quit [Quit: domogled]
<{^_^}>
[nixpkgs] @flokli merged pull request #66274 → nixos/gitlab: Add support for secure secrets and more → https://git.io/fjQ1G
<Acou_Bass>
hmm ive got a class 4 32GB or a class 10 16GB
<samueldr>
though, my opinion on all that is one shouldn't rely on an SD card for OS uses :/
<Acou_Bass>
well yeah
<samueldr>
but it's irrelevant to your question
<samueldr>
basically, use the speediest you have
<samueldr>
but anything you have is better than nothing
<samueldr>
fun thing: sometimes "broken" sd cards can be useful
<Acou_Bass>
oh wait i cant use the class 10 16GB anyway
<Acou_Bass>
that's got my Arch install on it for if i decide to give up on nix on the pi :P
<samueldr>
:)
<Acou_Bass>
oh? what are broken SD cards good for
<samueldr>
I have one that has enough MB still working where I wrote a partition with tianocore for the rpi3, and I have that rpi3 which boots from usb via a tianocore uefi
<samueldr>
and since it acts as a read-only firmware anyway, I have no fears of it degrading more
<samueldr>
and since it's read-only, it doesn't update (except for the boot order once), meaning that the day it decides to die, I just write a new one
dasj19 has quit [Quit: dasj19]
<Acou_Bass>
hehe weird
<samueldr>
so that raspberry pi setup never used u-boot or the sd_image, rather it booted from the UEFI iso image from usb, installed to another usb drive using grub as one would do on UEFI x86_64 :)
waleee-cl has joined #nixos
<Acou_Bass>
thats handy
Church- has quit [Quit: WeeChat 1.6]
<Acou_Bass>
so you essentially had your OS on a USB storage device rather than SD card
<samueldr>
I hope the raspberry pi foundation wakes up and embraces tianocore for the next iteration :/
<samueldr>
Acou_Bass: yeah, and it also acts like a more standard device rather than have a custom boot process
<Acou_Bass>
right
<samueldr>
(which we do through u-boot on the sd_image)
<Acou_Bass>
thats good
<Acou_Bass>
uh oh
Mark_ has joined #nixos
<Acou_Bass>
this class 4 card... writing the .img to it is going at 160kb/s
Mark_ has quit [Client Quit]
* Acou_Bass
puts the kettle on
<Acou_Bass>
gonna be a long one
alanz has joined #nixos
<tokudan>
Acou_Bass, if you've got a decent card reader, you can run blkdiscard on the sd card first, so the card can free all blocks. if the card has been written to a lot, that can give you an enourmous speed burst. though I've encountered severall readers that don't support it
aleph- has joined #nixos
<Acou_Bass>
how weird
levdub has joined #nixos
nikivi has joined #nixos
nikivi has quit [Max SendQ exceeded]
devhell has quit [Quit: WeeChat 2.5]
o1lo01ol1o has joined #nixos
<omnipotententity>
Acou_Bass, that's strange about the PXE boot. I've been tooling around with the installer's configuration.nix and trying to make my configuration match it, I haven't had much luck thus far, where luck is defined as actually booting systems.
<omnipotententity>
But to be fair, I've been mostly doing math
knupfer has quit [Ping timeout: 240 seconds]
<omnipotententity>
I've only actually given it about 15 minutes of touch time
esclear has joined #nixos
nikivi has joined #nixos
nikivi has quit [Max SendQ exceeded]
<sphalerite>
tokudan: wait, SD cards support discard as well??
<tokudan>
sphalerite, yes, just these junk usb card readers do not support it
nikivi has joined #nixos
nikivi has quit [Max SendQ exceeded]
<sphalerite>
tokudan: TIL! This could come in useful
<tokudan>
sphalerite, my laptop has a built-in reader that seems to be attached directly to pci and blkdiscard works perfectly fine and the data is gone after about two to three seconds... and slow cards suddenly are fast again :)
<{^_^}>
[nixpkgs] @matthewbauer pushed to release-19.03 « mesa: don’t build surfaceless on macOS »: https://git.io/fjjhp
<sphalerite>
tokudan: yeah, I'd expect it to be a reasonably good reader though when the internal storage on the device is so small >.<
<tokudan>
sphalerite, try lspci and see if you can find your reader there. mine shows up as 02:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
<sphalerite>
tokudan: no, the PCI bus in there only has ethernet on there. The SD (and eMMC) controller are on i2c I think
<tokudan>
sphalerite, i2c? that would mean something like max 5 MBit/s i think... i2c isn't meant for real data transfer, as far as i know
emilis has quit [Quit: Leaving]
<tokudan>
sphalerite, are you sure it doesn't show up on the usb bus?
<sphalerite>
tokudan: I'm probably just confused.
<sphalerite>
tokudan: yep
<sphalerite>
it does actually show as an mmc controller to the kernel
<sphalerite>
hang on, let me peek into the device tree…
<tokudan>
sphalerite, does it show up through lsusb?
<sphalerite>
no
<etu>
Freeze soon? :O
<sphalerite>
etu: idk, I've asked disasm but not heard back
<willghatch>
What's the best way to figure out which package contains a certain file? I'm looking for `uuid/uuid.h` to build something, but it doesn't seem to be in the `libuuid` package.
<clever>
,locate uuid.h
<{^_^}>
Found in packages: k3d, spdk, jack1, jack2, zimlib, obexftp, zfs.dev, asterisk, directfb, libjack2, syslogng, linux.dev, openwsman, emscripten, libuuid.dev, asterisk-lts, aws-c-common, libossp_uuid, linuxHeaders, postgresql94, postgresql95, postgresql96, postgresql_10, postgresql_11, utillinux.dev, linux_mptcp.dev, zfsUnstable.dev, linuxPackages.zfs, virtualbox.modsrc, linuxPackages_4_4.zfs, linuxPackages_4_9.zfs, linuxPackages_5_0.zfs, and 28 more
<{^_^}>
Found in packages: emscripten, libuuid.dev, utillinux.dev
<sphalerite>
ddima: yes it's using that
<clever>
,locate
<{^_^}>
Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<clever>
ddima: ^^
zeta_0 has joined #nixos
<ddima>
thanks
<sphalerite>
why are SD cards so ridiculously breaky?
<sphalerite>
Sep 07 22:58:59 bringtnix kernel: mmc0: card never left busy state
<sphalerite>
RIP
<tokudan>
sphalerite, probably because you don't discard them regularly. I've got 30 raspis running for 4 years that never needed a new sd card
<zeta_0>
is `helm-linux-discs` a nix package for emacs, i could not find it in gnu elpa?
<sphalerite>
tokudan: that shouldn't cause the card to stop working completely.
<willghatch>
clever: Here is an FHS environment script I've been using for some Racket development, and the racketcs target of Racket requires libuuid: https://pastebin.com/EK1iswp7
<tokudan>
sphalerite, true
<zeta_0>
i am trying to find a way to mount and unmount usb flash drives from within emacs?
<clever>
willghatch: i'm not sure if buildFHSUserEnv will properly work with gcc, have you tried libuuid.dev ?
<willghatch>
clever: probably the problem is I needed libuuid.dev, not just libuuid. I didn't realize that.
<manveru>
zeta_0: does eshell count? :)
<clever>
willghatch: stdenv.mkDerivation will handle .dev for you
<clever>
willghatch: buildFHSUserEnv isnt meant to be used for compiling, so it doesnt
<willghatch>
clever: I see. I've added the .dev to that environment and it seems to be working. Thanks!
<zeta_0>
manveru: i already do that manually which is a hassle, i am looking for way to do this easily from within emacs?
emptyfl4sk has quit [Ping timeout: 240 seconds]
<willghatch>
clever: So if I add .dev for packages that I put in my system packages array can I be heretical and just have libraries sitting around and `make` things without figuring out the exact dependencies every time?
boxscape has quit [Remote host closed the connection]
<samueldr>
omnipotententity: it's "not weird" for u-boot to go in PXE mode; its distroboot concept will fallback to PXE if it cannot boot from either of EFI, extlinux.conf or a boot.scr
<clever>
willghatch: yes, lol
<samueldr>
what's weird though is how the sd card or filesystem (apparently) got corrupted :/
romildo has joined #nixos
<manveru>
zeta_0: personally i use pmount/pumount, which is pretty convenient, but there's also automount if you don't want to do anything manually...
<samueldr>
(just saying that seeing PXE boot happening generally means that it couldn't boot from the usual on-device methods)
<omnipotententity>
samueldr, tbh I wasn't aware that rpi could even do pxe boot, which is why I found it weird.
<samueldr>
it doesn't, it's u-boot that does :)
<omnipotententity>
ooooh
<clever>
omnipotententity: ive configured my rpi's to netboot, without u-boot, but you have to burn a fuse to do it, and its very picky
<samueldr>
yeah, I should have said "it doesn't", in this case :)
<romildo>
Is it possible to disable a setup hook from a build dependency for a specific package? How?
<clever>
romildo: override the package to not make a setup hook
<willghatch>
clever: one more question -- where is the `nix-locate` command? I don't seem to have it, and I don't see it on the web package search.
<omnipotententity>
Is there a good way to tell nix to delete specific previous revisions? I don't want to lose my working, original revision, but I do want to kill everything besides that and the most recent
<clever>
willghatch: its in the nix-index package
<omnipotententity>
I'm out of space on my rpi
<sphalerite>
omnipotententity: you can amnually remove generations from /nix/var/nix/profiles
<sphalerite>
omnipotententity: then garbage-collect with nix-store --gc
<omnipotententity>
awesome
<omnipotententity>
thanks
<samueldr>
that will not clear the boot partition though
<samueldr>
it will on the next rebuild
<omnipotententity>
that's fine
<samueldr>
(just saying in case)
<sphalerite>
samueldr: but on the pi it doesn't use the boot partition for kernels anyway, right?
<clever>
emily: the number mostly refers to the cpu, and the letter, the accessories (usb hub and such), the + is just a new version that is backwards compat
<omnipotententity>
Acou_Bass, to save you some trouble, the invocation is "boot.kernelPackages = pkgs.linuxPackages_rpi;"
<Acou_Bass>
yeee
<samueldr>
because I know for a fact that u-boot 2018.11 (IIRC for 19.03) the 3B+ will not work with the new kernel since u-boot at that point had no knowledge about the 3B+
<Acou_Bass>
i added it and will give it a go D
<clever>
samueldr: it should probably use the same install-bootloader stuff that the rest of nixos uses, on x86
<Acou_Bass>
im installing as we speak (with that kernel) hehe
<sphalerite>
clever: it does.
<samueldr>
clever: the tricky bits is that u-boot is "not a bootloader" and can (and does!) chainload to grub fine
<clever>
sphalerite: ah
<sphalerite>
clever: it uses the extlinux-compatible thing
<clever>
sphalerite: but thats just the config, does it also install the grub binaries?
<clever>
samueldr: that can make things more complex...
<samueldr>
and updating u-boot is rather more involved than just copying files to a partition
<sphalerite>
clever: no, it doesn't use grub.
rndd has quit [Quit: WeeChat 2.4]
<samueldr>
on some devices it needs to be burned at the right location
<samueldr>
on others in the spi flash
<zeta_0>
no one is responding in #nixos-emacs?
<romildo>
clever, would it e something like the following? buildInputs = [ (lxqt-build-tools.override{setupHook = true;}) ]
<samueldr>
so I'm really thinking that the u-boot updates should be out-of-band
<samueldr>
I was thinking, in high level terms, that an upgrade script could be built, that knows about the different kind of u-boots, so you would nix-shell -p uboot-upgrader... but that doesn't solve the issue of finding the right u-boot for the device
rndd has joined #nixos
<clever>
samueldr: what if you just have nixos modules for each device, that install an upgrade-uboot script into systemPackages?
<samueldr>
it really needs some good thinking applied to the problem
<clever>
and you tell the user to enable the right one for their platform
<samueldr>
that may work
<samueldr>
though when does that run?
<clever>
when the user decides to manually run `upgrade-boot` in a root shell?
<samueldr>
ah, that sounds okay
<samueldr>
I was thinking you were implying that it would somehow run on nixos-rebuild / activation
rndd has quit [Client Quit]
logzet has quit [Ping timeout: 264 seconds]
<__red__>
Greetings!
__red__ has joined #nixos
<{^_^}>
[nixpkgs] @rileyinman opened pull request #68285 → redshift-wlr: Init at 2019-04-17 → https://git.io/fjjjy
<__red__>
I see that the exim package got updated same day after the RCE was published - awesome.
<__red__>
Do we have any indication as to when it will hit the channels?
<bikki[m]1>
The firefox "upgrade" leaves Firefox in an unusable state too. Usually these problems are expected when shifting down a branch, not up a branch to unstable.
qyliss has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<bikki[m]1>
Another disapointing issue is that using the latest Linux Kernel alongside the fuse exfat driver results in my build being unable to complete.
mmlb has quit [Ping timeout: 260 seconds]
alex``` has quit [Quit: WeeChat 2.5]
<waleee-cl>
some times, unstable actually means unstable :) But with rollbacks it's not a big issue
<multun>
Meh
<samueldr>
bikki[m]1: the update process is not exactly "nixos-unstable -> stable"; nixos-unstable is what the *next* stable version will be forked from
<samueldr>
bikki[m]1: the most likely explanation is that the current version of unstable is from a bit before the update
<waleee-cl>
wasn't the exfat driver included only a week ago or something like that?
<samueldr>
while the version of stable, probably able to update quicker, is from after *its* firefox update
aristid has joined #nixos
<bikki[m]1>
exfat? I looked at github and there's some older issues that reference it
<bikki[m]1>
That's not really relevent to Linux 5.2 though...
<bikki[m]1>
It threw me off since on most distributions, the rolling (unstable) branch gets newer updates before the stable branch so I just assumed I could safely upgrade everything to unstable from stable and be fine.
<clever>
bikki[m]1: because unstable is so unstable, it sometimes doesnt pass automated testing, which holds the channel back
<clever>
so it can sometimes take longer for changes to go from master->unstable
<clever>
but the stable channels typically only get security fixes and browser updates, so they update much faster
<clever>
> master.firefox.name
<{^_^}>
undefined variable 'master' at (string):264:1
<clever>
infinisil: no entry for nixpkgs master?
<multun>
Last time I checked, most automated tests fails were caused by CI servers beeing at full disk usage
<bikki[m]1>
I see, so packages are queued for branches independently. A package needs not filter through unstable in order to reach stable
<clever>
bikki[m]1: correct
ixxie has joined #nixos
<gyroninja>
unstable was just recently updated though
<clever>
gyroninja: and unstable-small JUST updated, but its using a commit that is 2 hours old
<infinisil>
clever: The default pkgs is master
<clever>
> firefox.name
<{^_^}>
"firefox-69.0"
<clever>
yep, master has 69, and unstable is still 68
<waleee-cl>
unstable-small was pretty great to change to, until I realized it might be a good idea to not have libreoffice from that channel in your configuration.nix
aristid1 has joined #nixos
aristid has quit [Ping timeout: 268 seconds]
<multun>
waleee-cl: why not ?
mbrgm_ has joined #nixos
<clever>
multun: it takes a dozen hours to compile
<multun>
oops
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
<multun>
is unstable-small like unstable but with less cached packages ?
<clever>
yeah
<clever>
so it updates faster
<multun>
oh noez
<waleee-cl>
yep, I checked on the rebuild progress after some minutes had passed and noticed loads and loads of C++-compile logs