worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
xd1le has quit [Quit: Quit]
<samueldr> tobiasBora0: you can boot in the previous generations still, yes?
<samueldr> tobiasBora0: what kernel are they using?
toastyavocado has joined #nixos
<samueldr> IIRC older u-boots didn't know about the 3B+, so your u-boot reported as a 3B, and the mainline kernel is now incompatible with a 3B+ acting like a 3B
<jlv> Is the minimal installer ISO supposed to boot into a GRUB menu with no kernel loaded? From the description, I assumed it at least booted into a shell.
<samueldr> which might be the issue you're having
cosimone has quit [Quit: Quit.]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<tobiasBora0> samueldr: I can boot indeed on an older generation with kernel 5.6
<samueldr> tobiasBora0: can you tell me the output of `dmesg | grep 'Machine model:'` ?
<samueldr> one of the first thing the kernel prints is the model name *as configured in the device tree*
<samueldr> so if it's the situation where a 3B+ shows up as a 3B I think (not sure) that it would show up as a 3B there
lovek323 has joined #nixos
ericmoritz has quit [Remote host closed the connection]
<risson> Hey everyone! I'm having trouble getting dns in a NixOS container. It seems the networking.nameservers I am setting inside the container configuration isn't used :/
<tobiasBora0> samueldr: hum, it's written [ 0.000000] Machine model: Raspberry Pi 3 Model B+
<samueldr> then I guess my assumption is not the right one
<samueldr> I know other users have had issues with 3B+, though I don't have one to hel
<samueldr> help*
<jlv> nvm, iso wasn't copied correctly
<tobiasBora0> samueldr: how is it possible to update u-boot? I need to reinstall the new image 20.03 and migrate all data from the old install to the new one?
<samueldr> that's an unresolved question still ;/
<samueldr> :/*
<lovek323> Hey all. I've received a message that I'm no longer in the nixpkgs-committers group, just when I've come back to NixOS with my work system. Any chance of getting added back into that group?
<lovek323> I have one PR open that needs some review or merging: https://github.com/NixOS/nixpkgs/pull/96728 and I will be opening another to add TablePlus to nixpkgs soon.
<{^_^}> #96728 (by lovek323, 2 days ago, open): goreplay: add v1.1.0
<samueldr> is your image from before or after /boot was moved off the first partition, tobiasBora0?
<samueldr> lovek323: I believe you've seen that, right? https://github.com/NixOS/nixpkgs/issues/88867
<{^_^}> #88867 (by Mic92, 14 weeks ago, open): RFC 55 - Remove inactive Nixpkgs
<samueldr> I wouldn't think reinstating will be an issue, but can't say for sure :)
IsoLinCHiP has quit [Ping timeout: 265 seconds]
<tobiasBora0> samueldr: not sure to see what you mean, but /boot is on the partition 2, with /bin, /dev, /home...
<tobiasBora0> hum wait
<tobiasBora0> it's an empty folder
<samueldr> tobiasBora0: at some point before the /boot folder, which held the kernels and such was the first partition, mounted on /boot
<samueldr> ah, something failed to mount?
<{^_^}> [nixpkgs] @marsam merged pull request #96943 → ibm-plex: 5.1.0 -> 5.1.3 → https://git.io/JUYsT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUOm7
<tobiasBora0> samueldr: I was reading the sd card on another computer when I answer your question. But I think the /boot mounts the partition 1 folder nixos, but I'll try to reboot to confirm
<samueldr> that's almost a given
<samueldr> there should at least be extlinux.conf in there
<{^_^}> [nixpkgs] @marsam merged pull request #96971 → terraform: 0.13.1 -> 0.13.2 → https://git.io/JUOJK
<{^_^}> [nixpkgs] @marsam pushed commit from @Chili-Man to master « terraform_0_13: 0.13.1 -> 0.13.2 (#96971) »: https://git.io/JUOmh
<lovek323> samueldr: thanks, yep, I saw that. just wondering if I can get back in now that I'm likely to be more active?
<samueldr> lovek323: I make no decisions, just linked in case *that* particular issue escaped you
<lovek323> yep, thanks!
<samueldr> lovek323: I would simply ask in there
<samueldr> the RFC does state:
<samueldr> >> Previous committers are moved to a new Nixpkgs Committers Emeritus team, to honor their past contributions. Members of this team will remain in the GitHub organisation, and may regain push access at a later time.
<samueldr> so you may regain push access at a later time, I guess ;)
rgrau has quit [Ping timeout: 258 seconds]
<lovek323> makes sense
fresheyeball has quit [Ping timeout: 264 seconds]
fresheyeball has joined #nixos
<samueldr> tobiasBora0: for updating the raspberry pi's u-boot, I guess this is the easier method
<tobiasBora0> samueldr: ok, so yes, the partition 1 is mounted on /boot, and it contains a extlinux folder, with the configuration and everything
akaWolf has quit [Ping timeout: 260 seconds]
<samueldr> though there is a net benefit in having unlimited* space for generations if you re-do your setup with a fresh install
<samueldr> or at the very least move your boot files
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JUOYk
<samueldr> instructions here https://nixos.wiki/wiki/NixOS_on_ARM#Disable_use_of_.2Fboot_partition
mariatsji has joined #nixos
<tobiasBora0> samueldr: now there is only one partition?
IsoLinCHiP has joined #nixos
palo has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @risicle merged pull request #96501 → python3Packages.phonopy: fix build and tests → https://git.io/JUI4d
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JUOYm
mariatsji has quit [Ping timeout: 272 seconds]
spease has quit [Remote host closed the connection]
cosimone has joined #nixos
<tobiasBora0> I think I'm going to reinstall a new version from scratch. Just, while I'm running the current version, is there a simple way to backup the data? For example, can I just copy/paste the /var folder?
<samueldr> tobiasBora0: still two partitions, but the FAT32 partition for the raspberry pi is used as an opaque blob we don't care about in the running system
<samueldr> and for data, it depends what you have been running
<samueldr> nothing raspberry-pi specific
cosimone has quit [Client Quit]
<samueldr> might want /etc/ssh too
<samueldr> and /home
ris has quit [Ping timeout: 258 seconds]
<tobiasBora0> samueldr: just some apps like gitea (based on postgresql)
<samueldr> yeah, so whatever those apps add as state I guess :)
<cole-h> jtojnar: Thanks, I figured it was something like that. I was just curious what the difference between `nix repl '<nixpkgs/nixos>'` and `nix repl '<nixos-config>'` should be.
palo has joined #nixos
<{^_^}> [nixpkgs] @cyraxjoe closed pull request #49734 → nixos/dockd: add new service → https://git.io/fxhMn
<jtojnar> I would not even expect `nix repl '<nixos-config>'` to work
orivej has quit [Ping timeout: 240 seconds]
xd1le has joined #nixos
<jtojnar> cole-h the `configuration.nix` usually contains a function and nix repl would not know what to pass it
orivej has joined #nixos
<cole-h> Yeah, true.
<jtojnar> whereas `<nixpkgs/nixos>` contains `default.nix` with default arguments pre-filled https://github.com/NixOS/nixpkgs/blob/55e8cbd26304ca0d82fd1ae2a53731dc9e1723fe/nixos/default.nix#L1-L3
<jtojnar> so that should evaluate okay
<tobiasBora0> ok cool, I was just affraid that stateVersion changes could break some stuff, I'll try and see if it works. Thanks!
cosimone has joined #nixos
Rusty1 has joined #nixos
cosimone has quit [Client Quit]
<cole-h> jtojnar: OK. I set my `nixos-config` to a compat directory that is basically my nixosConfiguration (https://github.com/cole-h/nixos-config/blob/nixus/compat/nixos/default.nix)
<tobiasBora0> By the way, unrelated questions, but what is the usual way to create the secret files? Because for now I've a script that create the files, and give them the appropriate permissions (for example chmod gitea:gitea XXX). But the issue is that when gitea is not yet installed, this fails. So for now I build once the system, put the appropriate permissions, and rebuild again, but sometimes it corrupts
<tobiasBora0> some states (got an issue with nextcloud recently), and it's not very practical
<cole-h> So `nix repl '<nixpkgs/nixos>'` functions, and `nixos-option` does too.
gueorgui_ has joined #nixos
gueorgui has quit [Ping timeout: 258 seconds]
<samueldr> tobiasBora0: you could put back the same stateVersion that you had, since you're putting back the same state
<samueldr> tobiasBora0: in fact you probably should
<tobiasBora0> samueldr: ok, I'll do that then, thanks
orivej has quit [Remote host closed the connection]
orivej has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flythief has joined #nixos
knerten has joined #nixos
<flythief> hi, my opengl program throws glfw error with " GLX: No GLXFBConfigs returned". I just add pkgs.glfw3 in my default.nix by direnv. And my glxgears works. glxinfo show GLXFBConfigs like this file. Anyone have some suggestions? thanks firstly. https://www.irccloud.com/pastebin/iBwWTeIR/
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e14d5a2cf12 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jasom has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @zowoq merged pull request #96728 → goreplay: init at 1.1.0 → https://git.io/JUqYM
<{^_^}> [nixpkgs] @zowoq pushed commit from @lovek323 to master « goreplay: init at 1.1.0 »: https://git.io/JUOO9
dbmikus has quit [Ping timeout: 240 seconds]
tldr32 has quit [Ping timeout: 256 seconds]
ddellacosta has joined #nixos
kreyren has quit [Ping timeout: 240 seconds]
<jtojnar> cole-h personally, I removed global NIX_PATH altogether and am just passing it explicitly to things that still need it (e.g. https://github.com/jtojnar/entries/blob/1a2025c3062c04b483db149b3eb96839921c58ac/flake.nix#L36)
<cole-h> jtojnar: Only reason I want that is so I can `nix repl '<nixpkgs>'`
toastyavocado has quit [Remote host closed the connection]
<cole-h> Sure beats `nix repl /nix/store/...............` :P
pjt_tmp has joined #nixos
seanparsons has quit [Ping timeout: 258 seconds]
<jtojnar> right, I usually do `nix repl ~/Projects/nixpkgs` since I have the local checkout handy
<cole-h> Doesn't give you overlays, though, does it?
<jtojnar> but I agree it is convenient
<jtojnar> yeah, it does not
<cole-h> I guess I could even shorten it to just <pkgs>, to thwart anything relying on <nixpkgs>
<jtojnar> for my packageset I just use `nix repl` in my config flake
<jtojnar> yeah using a diffferent name sounds like a good compromise
<cole-h> I wish nix repl worked like the rest of the flake commands, so I could do `nix repl .#.......`
rajivr has joined #nixos
<{^_^}> [nixpkgs] @trepetti opened pull request #96986 → svlint: init at 0.4.7 → https://git.io/JUO3G
Havvy has quit [Read error: Connection reset by peer]
Havvy has joined #nixos
seanparsons has joined #nixos
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos
domogled has joined #nixos
zebrag has quit [Remote host closed the connection]
pinkieval has quit [Ping timeout: 256 seconds]
xcmw has joined #nixos
zebrag has joined #nixos
pinkieval has joined #nixos
jasom has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #96987 → freeswitch: 1.10.3 -> 1.10.5 → https://git.io/JUOso
<{^_^}> [nixpkgs] @marsam opened pull request #96988 → xonsh: 0.9.20 -> 0.9.21 → https://git.io/JUOs6
nDuff has quit [Quit: zzz]
maxdevjs has quit [Remote host closed the connection]
maxdevjs has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
knerten1 has joined #nixos
knerten has quit [Ping timeout: 240 seconds]
boxscape has quit [Quit: Connection closed]
orivej has quit [Ping timeout: 265 seconds]
veleiro has quit [Ping timeout: 260 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #96989 → rclone: 1.52.3 -> 1.53.0 → https://git.io/JUOGz
zupo has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #96990 → recursive: 1.062 -> 1.064 → https://git.io/JUOGS
<samueldr> I seem to remember seeing people with recent issues on unstable and fontconfig / emoji stuff, what was the cause?
<samueldr> cole-h: I think you were one of them
<cole-h> samueldr: Issue was still happening. Lemme try with my recent nixpkgs.
<cole-h> samueldr: But the issue was https://github.com/NixOS/nixpkgs/issues/86601
<{^_^}> #86601 (by wmertens, 17 weeks ago, open): fontconfig: Enable color emoji as a fallback
<samueldr> somehow after updating the emojis used as desktop names are ~3x3 instead of some normal font size, maybe 16 or 24x24
<samueldr> thanks
<samueldr> I'll try removing my config
<cole-h> Yep, still fscked.
<samueldr> wait, what, those aren't emojis?
<samueldr> nope, removing my config changes nothing
<cole-h> Exactly
<samueldr> hah
<samueldr> (also, looks like fzf somehow requires perl on path... will need to look into that)
akaWolf has joined #nixos
<samueldr> ah, someone did
<samueldr> infinisil++
<{^_^}> infinisil's karma got increased to 351
<samueldr> unstable just didn't get an update since #95930
<{^_^}> https://github.com/NixOS/nixpkgs/pull/95930 (by Infinisil, 1 week ago, merged): fzf: Make sure that perl path is valid
<cole-h> samueldr: If you do somehow figure it out, please let me know, because I miss my color emojis :(
<samueldr> I haven't tested things much yet
<samueldr> it might be awesomewm
<samueldr> but mine are color
<samueldr> only 3x3 instead of a normal font size
orivej has quit [Ping timeout: 240 seconds]
<samueldr> I recognize the poo diminished into 3x3
orivej has joined #nixos
<samueldr> in firefox it seems to work just as it was
<samueldr> comparing my 20.03 and unstable systems
<samueldr> same behaviour in a GTK2 VTE app, lilyterm
<samueldr> cole-h: I wonder if yours are present, but just too small to render
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/0d60b0b10ea (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> [nixpkgs] @Mic92 opened pull request #96991 → nixos/installer: enable sshd by default → https://git.io/JUOZ0
<ryantm> Why must a flake have a defaultPackage? What if I just want to provide a nixosModule?
<cole-h> ryantm: It doesn't need a defaultPackage?
<cole-h> ryantm: See, for example, the h-m flake, which provides a nixosModule and a lib function: https://github.com/rycee/home-manager/blob/master/flake.nix
<ryantm> Maybe I'm using my flake in the wrong way then because I'm getting:
<ryantm> Oh... I misread the error message, sorry.
<cole-h> :P
<cole-h> ryantm: \For curiosity's sake, what was the error message?
<ryantm> flake 'git+file:///home/ryantm/p/nixfiles' does not provide attribute 'packages.x86_64-linux.defaultPackage.x86_64-linux', 'legacyPackages.x86_64-linux.defaultPackage.x86_64-linux' or 'defaultPackage.x86_64-linux'
<ryantm> cole-h: I was calling nix build, when I should have been calling nixos-rebuild switch --flake
<cole-h> Yeah, that's what I was about to ask.
spease has joined #nixos
<spease> I'm getting "Unable to use C math library functions (with or without -lm)" when trying to build a library that's using ios.toolchain.cmake - anybody have an idea why that might be, or something I could do to figure out what I need to do to fix it?
Yaniel has quit [Ping timeout: 246 seconds]
<spease> Thanks
<cole-h> ryantm: You can also set `defaultPackage.x86_64-linux = nixosConfigurations.hostname.config.system.build.toplevel;`, I think. Then `nix build` would at least build the system config (but not switch to it)
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<cole-h> ryantm: And then you could probably set defaultApp to be the switcher script, so you don't need `nixos-rebuild`
growpotkin has joined #nixos
<ryantm> defaultPackage.x86_64-linux = self.nixosConfigurations.home1.config.system.build.toplevel;
<ryantm> Is defaultApp what you get from nix run?
<cole-h> Yep
<ryantm> cole-h: I don't actually know how to reference the switcher script, do you have an example?
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
<cole-h> ryantm: I think it would be something like: `defaultApp.x86_64-linux = "${self.nixosConfigurations.home1.config.system.build.toplevel}/bin/switch-to-configuration switch";`?
<cole-h> Untested, but that's the perl switcher script
flythief has quit [Quit: Connection closed for inactivity]
spease has quit [Ping timeout: 245 seconds]
fzakaria has joined #nixos
<fzakaria> yes! quassel on nixos :)
fzakaria has left #nixos [#nixos]
fzakaria has joined #nixos
xcmw has quit [Quit: Textual IRC Client: www.textualapp.com]
<fzakaria> I set it up with TLS from ACME too on Quassel.
tldr32 has joined #nixos
<jtojnar> cole-h that issue is something different (though it was kind of hijacked), emoji shrunk after it was opened
<ryantm> cole-h: here we go this works: defaultApp.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.writeScriptBin "switch" "${self.nixosConfigurations.home1.config.system.build.toplevel}/bin/switch-to-configuration switch";
<samueldr> jtojnar: shrunk after it was opened?
tobiasBora0 has quit [Ping timeout: 272 seconds]
<jtojnar> samueldr we had working emoji before the fontconfig changes
<jtojnar> merged in july
<samueldr> yes
<jtojnar> the issue was opened in may
<samueldr> yes, I assumed the issue shouldn't have been hijacked
waleee-cl has quit [Quit: Connection closed for inactivity]
<jtojnar> I am investigating it now
<samueldr> OH, they started shrinking, after the point in time _the issue_ was opened
<samueldr> I thought you meant emojis shrank after the file was opened or something like that
Maxdamantus has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 240 seconds]
Maxdamantus has joined #nixos
veleiro has joined #nixos
hke has quit [Read error: Connection reset by peer]
hke has joined #nixos
mariatsji has joined #nixos
<fzakaria> ,locate jdk8
<{^_^}> Couldn't find in any packages
mariatsji has quit [Ping timeout: 260 seconds]
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<samueldr> fzakaria: oracle's java stuff is under an EULA IIRC
<samueldr> or at least a license agreement
<fzakaria> thanks; i was actually just testing my new quassel client and using the bot lol
<samueldr> oh
<fzakaria> im an admitted IRC noob; so just figuring it out.
<samueldr> no worries
eacameron has quit [Read error: Connection reset by peer]
eacameron has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #96992 → treewide: use URN for fontconfig DTD → https://git.io/JUOCq
<cole-h> jtojnar: If you get anywhere, let me know. I'll be a willing test subject.
<cole-h> ryantm: Ah, so the default app doesn't take arguments? Glad you got it working.
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-20.03: https://git.io/JUOCs
<{^_^}> [nixpkgs] @vcunat merged pull request #96893 → [20.03] adobe-reader: add knownVulnerabilities → https://git.io/JUm0I
<samueldr> yeah, don't hesitate to cc me on anything about shrunken emoji syndrome
<cole-h> +100000
m_hackerfoo has quit [Quit: killed]
HackerFoo has quit [Quit: killed]
m_hackerfoo has joined #nixos
HackerFoo has joined #nixos
<jtojnar> but that has been there for ages
Rusty1 has quit [Quit: WeeChat 2.3]
<cole-h> jtojnar: Confirmed, pango-view displays the emoji not omega-small by commenting that out
endformationage has quit [Quit: WeeChat 2.9]
<cole-h> Commenting out either of those works.
<cole-h> Still been there for ages, though...
dansho has quit [Ping timeout: 265 seconds]
<cole-h> jtojnar++ Thanks for looking into all the font woes.
<{^_^}> jtojnar's karma got increased to 60
<jtojnar> ideally we would fix that before the stale branch oof
<jtojnar> but no idea what to do other than bisect
justanotheruser has quit [Quit: WeeChat 2.7.1]
justanotheruser has joined #nixos
<cole-h> That's one of the downsides of NixOS... bisecting software is less than trivial :(
<cole-h> Especially system-affecting software
jasom has quit [Ping timeout: 272 seconds]
dyaso has quit [Ping timeout: 272 seconds]
<samueldr> though the guarantees when you bisect something like that and can show it working and not, it's golden
jasom has joined #nixos
<jtojnar> I cannot imagine bisecting software anywhere else
<jtojnar> and thankfully, here I just need to build pango
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2eacb603535 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej has joined #nixos
Yaniel has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #96474 → libreoffice-fresh: 6.4.3.2 -> 7.0.0.3 → https://git.io/JUII5
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JUOWD
<jtojnar> what was the site that looked up which commits had which versions of packages?
<jtojnar> trying to build the old fontconfig but the current expression does not like git
<{^_^}> [nixpkgs] @jbaum98 opened pull request #96993 → vimPlugins: Refactor coc-* plugins and fix coc-go → https://git.io/JUOWd
<pjt_tmp> in the `nix build` status thingie, what is the leftmost number for?
justanotheruser has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #96494 → j: j901e -> j901f → https://git.io/JUICN
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JUOWN
justanotheruser has joined #nixos
<pjt_tmp> I tried inferring by behavior, can't figure it out
<jtojnar> pjt_tmp currently building?
<cole-h> building/built/todo
<cole-h> I believe
<pjt_tmp> jtojnar: that's what it'd seem like, but it's at two while my command will have one output
maxdevjs has quit [Ping timeout: 260 seconds]
<cole-h> Check nix-top
Sibi_ has joined #nixos
colecf has joined #nixos
<pjt_tmp> oooooh I see. I'm not used to building with multiple cores lol
SanchayanMaity has joined #nixos
Muukaayuu has joined #nixos
<{^_^}> [nixpkgs] @equirosa opened pull request #96994 → croc: 8.0.13 -> 8.2.0 → https://git.io/JUOlw
<jtojnar> cole-h the scaling code is not idempotent
<cole-h> 👀
<cole-h> jtojnar: Good find. The question (or rather, my question) is: how would this be fixed?
<{^_^}> [nixpkgs] @colemickens closed pull request #96941 → gtkcord3: init at 0.0.4 → https://git.io/JUY3B
ddellacosta has quit [Ping timeout: 246 seconds]
palo1 has joined #nixos
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
maier has joined #nixos
<cole-h> jtojnar: re: https://github.com/NixOS/nixpkgs/pull/95358#issuecomment-683825817 -- why would that situation be any different from any other software that encounters a breaking change? (I realize it's a comment by Eelco, but wondering if you have a clue)
<{^_^}> [nixpkgs] @marsam opened pull request #96995 → dune_2: 2.7.0 -> 2.7.1 → https://git.io/JUO8K
<cole-h> Isn't the answer just "update the package and config accordingly to avoid the backwards-incompatible change"?
Muukaayuu has quit [Quit: WeeChat 2.9]
orivej has quit [Quit: orivej]
ubergum has joined #nixos
orivej has joined #nixos
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
orivej has quit [Ping timeout: 240 seconds]
ubergum has quit [Remote host closed the connection]
spudly has quit [Ping timeout: 264 seconds]
spudly- is now known as spudly
orivej has joined #nixos
<jtojnar> cole-h the issue he refers to occurs when mixing channels or using Linux distro with incompatible nixpkgs
<cole-h> Ah, right.
<jtojnar> but I wonder if it even was a config issue in the first place
<jtojnar> the reason this mostrosity was introduced
nixos_newbie has joined #nixos
<jtojnar> it might have just been a cache incompatibility which can be solved more easily
iqubic has joined #nixos
domogled has quit [Quit: domogled]
<jtojnar> need to find a nixpkgs revision that still contains some gui software linked against fc 2.10
<jtojnar> ideally in biinary cache
<jtojnar> but too lazy for that
<iqubic> So, I'm currently in the process of switching from an old laptop that runs NixOS to a new laptop. I'm going to wiping Window 10 off the new laptop and installing NixOS. What's the best method for migrating all of my configuration data, also all of my personal data too?
<iqubic> I think rsync might work, but I haven't worked with SSH ever.
<pjt_tmp> If you're anything like me all you need to worry about is /etc and ~. Be sure if that works for you though.
<iqubic> I'm also going to need a refresher on how to set up ZFS. I have ZFS on my old laptop, but I don't recall how I set it up.
<pjt_tmp> ...or /etc and ~ without ~/.cache
<iqubic> pjt_tmp: yeah. I think /etc and ~, but not ~/.cache will work for me.
sputny has joined #nixos
<iqubic> But I have no idea how to transfer the data over.
<pjt_tmp> iqubic: also a few other dot folders prolly. Wish I remembered how to display them >_<
<iqubic> And actually, I might need to generate a new hardware-configuration.nix
<iqubic> But the main issue here is getting zfs setup, and transferring files with rsync/scp
<energizer> iqubic: i would use a usb drive
<iqubic> Why would you use that over rsync?
<energizer> faster
mariatsji has joined #nixos
<iqubic> energizer: I actually want to use this as an excuse to learn how SSH works.
<pjt_tmp> energizer: unless ya got usb 1.0 but 5ghz wifi :L
<iqubic> I'm willing to wait as long as it takes for the data to transfer.
<pjt_tmp> important consideration: how much you care about metadata?
<energizer> iqubic: you'll also have to learn about how to make computers able to see each other over a network (local or internet)
<energizer> otherwise they wont be able to make an ssh connection
<energizer> that can be fiddly and have security implications for your systems
<iqubic> energizer: Yeah. I know. I want to do this.
<energizer> do you control the wifi network?
<energizer> man i'm curious about your background. you use haskell and nixos, but haven't used ssh before, that's an unusual combination i think
<pjt_tmp> if not, a good portable mini router is like ~$30 usd
<nixos_newbie> hey all, maybe some can shed a light on some problem that I can't fix. I am trying to use zathura 0.4.6 instead of zathura 0.4.5, which is the version on the unstable channel. I've made a simple package override before, but the way that zathura is organized is confusing me
orivej has quit [Ping timeout: 260 seconds]
<nixos_newbie> looking at the repository, https://github.com/NixOS/nixpkgs-channels/tree/nixos-unstable/pkgs/applications/misc/zathura, there is default.nix wrapper.nix and /code/default.nix
<nixos_newbie> the version I want to override is defined in /core/default.nix
<iqubic> energizer: My background is just that I'm a self-taught teenager that has interests in technology.
<iqubic> And yes, I do control the wifi network here.
<energizer> ah, teenager, that makes sense :)
<nixos_newbie> I tried to add the following on my configuration.nix nixpkgs.overlays = [ (self: super: { zathura = super.zathura.overrideAttrs(_: { zathura_core.version = "0.4.6"; }); }) ];
<iqubic> I'm 19.
<nixos_newbie> I get the error: cannot coerce a set to a string, at /nix/store/j0mxbhf15s4fkm76k7kp71ra8yiwbb0l-nixos-20.09pre239318.c59ea8b8a0e/nixos/pkgs/build-support/trivial-builders.nix:7:7 on rebuild
<{^_^}> [nixpkgs] @danieldk opened pull request #96996 → broot: 0.20.3 -> 1.0.0, fix Darwin build → https://git.io/JUOBJ
<energizer> iqubic: turns out "which computers can see each other over my network" is a rapidly evolving right now due to things like wireguard replacing old tech
<iqubic> And since I'm so much more technologically literate than my father, whom I live with, my father gave me complete control over the network. For better, or for worse.
<energizer> and zerotier, tailscale, etc
<pjt_tmp> nixos_newbie: just a tip if you wanna see that offline, something that might work: ls ~/.nix-defexpr/channels_root/nixos-unstable/nixpkgs/pkgs/applications[etc].
<energizer> meanwhile there's new stuff going on with ssh (gravitational.com)
<pjt_tmp> much easier w/ tab completion
<iqubic> Right. So how would I go about seeing if my two machines can see eacho other?
ericsagnes has quit [Ping timeout: 264 seconds]
<energizer> iqubic: on one of them run `ip addr`
<energizer> see what the *local* ip address is for that machine
<pjt_tmp> nixos_newbie: and yeah, that layout is weird
<energizer> local meaning on your home network, not the internet
<pjt_tmp> energizer: iqubic: could also learn nmap here. that's a nice tool to shove in the ol' back pocket
<energizer> good idea
<pjt_tmp> nmap -A 192.168.1.0/24
ericsagnes has joined #nixos
sangoma has joined #nixos
<pjt_tmp> or something
<energizer> the computation i was waiting for just finished, so i'll hand the baton over to whoever wants it
<{^_^}> [nixpkgs] @Mic92 merged pull request #89748 → nixos/krb5: allow lists in configuration → https://git.io/JfMQp
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JUOBY
<nixos_newbie> pjt_tmp there was no channels_root/nixos-unstable/, only channels_root/nixos, even though I am following unstable
<iqubic> The output from ip addr is so confusing
<nixos_newbie> is this folder .nix-defexpr. this is suposed to be a copy of the repository, or this has already my overrides aplied to it?
<energizer> you can post the output of `ip addr`
<pjt_tmp> nixos_newbie: I *think* it's a synlink to the current gen's directory.
<energizer> and the nmap thing pjt said
<pjt_tmp> also you can add -T4 to speed it up
<iqubic> Here's the output of `ip addr`: https://termbin.com/ebh37
<pjt_tmp> nmap machine go brrrrrrr
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d92de0eb189 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<iqubic> So, what should I do there?
cjpbirkbeck has quit [Ping timeout: 256 seconds]
<pjt_tmp> nixos_newbie: either way, there are other ways to get to it, just a thing to know
<pjt_tmp> nixos_newbie: one other way (sorta):
<pjt_tmp> nix edit nixpkgs.zathura
<pjt_tmp> similar use only though
<energizer> iqubic: ip addr is saying, you have three network interfaces. loopback (lo), ethernet (enp1s0), wireless (wl...)
<iqubic> Sure.
<iqubic> That makes sense. My laptop has an ethernet port and a wireles chip.
<iqubic> I'm wl... here.
<iqubic> I'm using wireless.
<energizer> those long interface names are interpretable as ethernet port 1 slot 0 or something like that (there's an rfc you can read)
<pjt_tmp> nixos_newbie: after a bit o' inspection I *think* I know what's going on here.
<iqubic> Yeah.
<iqubic> I know.
<nixos_newbie> pjt_tmp, if I make modifications using nix edit, how these changes will persist?
<iqubic> Is 10.0.0.10/24 my local ip address?
nature has joined #nixos
<energizer> those x.x.x.x/y notation refer to a set of addresses, https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#IPv4_CIDR_blocks
<pjt_tmp> nixos_newbie: no, it opens the file in the store itself, which can't/shouldn't be modified manually. It's a weird command to have considering that.
<iqubic> So, what should I pass into nmap?
<nixos_newbie> yeah, just notices it was on read only, but a handy command to have
<pjt_tmp> nixos_newbie: typing nix[space][tab] will show you what all the subcommands are
<nixos_newbie> the first line of the derivation is { symlinkJoin, lib, makeWrapper, zathura_core, file, plugins ? [] }
<{^_^}> [nixpkgs] @Mic92 merged pull request #95910 → texinfo: 6.5 -> 6.7; fix cross compiling → https://git.io/JJjKY
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/JUOBH
<nixos_newbie> this is a pattern matching, right? the thing I want to "override" is this zathura_core
<nixos_newbie> should this work?
<{^_^}> [nixpkgs] @danieldk opened pull request #96997 → programs.zsh: remove unnecessary `with` → https://git.io/JUOBd
<{^_^}> [nixpkgs] @bzizou opened pull request #96998 → hp2p: init at 3.3 → https://git.io/JUOBF
<iqubic> pjt_tmp: What nmap command should I run?
<pjt_tmp> nixos_newbie: the reason for the whole layout, roughly, is for modularity. Hence the files for postscript/djvu etc. I'd have to stare at it for awhile to know exactly how though. I have a diff solution that I can explain in a sec
<pjt_tmp> iqubic: do you know the subnet?
ubergum has joined #nixos
<iqubic> I'm not sure. I assume looking at the output of `ip addr` can tell me, but I'm not sure how to parse that.
<pjt_tmp> iqubic: so 1 is loopback. That one can only talk to itself (oversimplifiying), so it's not that one you want.
<pjt_tmp> 2 looks like a wired connection, and 3 a wireless one
<iqubic> I want the wlp1... thing, as I want to connect over wifi.
<iqubic> That's correct.
noudle has joined #nixos
<pjt_tmp> also, the ifconfig is good here too. A bit nicer looking
<pjt_tmp> * ifconfig command
<iqubic> What am I looking for?
cole-h has quit [Quit: Goodbye]
<pjt_tmp> in ifconfig, there are lines that start with 'RX packets' 'TX packets'
justanotheruser has quit [Ping timeout: 265 seconds]
<iqubic> Correct.
<pjt_tmp> and an amount indicating bytes. If the wired one was way higher you'd know your wireless connection was not being prefered.
<iqubic> I'm only connected via wireless. The values for the wired connection are all zeros
<pjt_tmp> just good to know
<iqubic> *zeroes
<pjt_tmp> iqubic: okay, what's the address? 192.something?
<iqubic> Not sure.
<iqubic> termbin.com/pyu01
<pjt_tmp> it's the line that starts with 'inet'
<iqubic> So, 10.0.0.10?
<iqubic> Seems weird.
<pjt_tmp> seems like it then yeah. and indeed a bit weird. 192.168.8.x or 172.20.0.x are more common
<pjt_tmp> but anyway
<pjt_tmp> 10.0.0.0/24 should be your subnet, I think
<pjt_tmp> that covers 10.0.0.[0-255]
<iqubic> I guess this is an artifact of using a comcast wireless router.
<pjt_tmp> could be I guess? hm
<pjt_tmp> so doing nmap 10.0.0.0/24 would be the simplest way to scan. Add -v to be sure it's starting at .0 and going up.
xd1le has quit [Ping timeout: 240 seconds]
<pjt_tmp> adding -T4 will make it faster though older devices may not like that.
<pjt_tmp> same for -T5 but more so
<pjt_tmp> -Pn will give more info, -A will give even more
nixos_newbie has quit [Ping timeout: 245 seconds]
alp has joined #nixos
wfranzini has joined #nixos
wfranzini has quit [Client Quit]
<iqubic> So, what sort of output do I want from nmap?
<pjt_tmp> iqubic: if you recognize the hostnames of results, then you have an easy way of identifying devices.
<pjt_tmp> iqubic: just try the version without flags first.
<iqubic> See, that's just it. I've got several devices that I know are turned on and connected to the router, but I can't see any of them in the nmap output.
<iqubic> I tried with the -v flag.
<energizer> some routers come configured to not let devices see each other by default
<iqubic> Weird.
mananamenos has joined #nixos
<energizer> security
<pjt_tmp> iqubic: does -v say it's scanning 256 addrs?
<iqubic> Yes.
<pjt_tmp> hm
<pjt_tmp> try with -A. It's a bit more comprehensive
<pjt_tmp> also, this whole approach is most usefull when not all devices have a monitor
<iqubic> How long is this going to take?
sascha has joined #nixos
<pjt_tmp> hit enter to see an eta
<iqubic> using -v took like 30 seconds.
sascha is now known as Guest64249
<iqubic> Oh, and -A is 95% done.
<iqubic> The last 5% is taking so long.
nature has quit [Ping timeout: 258 seconds]
<iqubic> Well, It's at about 100% and it's still got 5 seconds to go.
<pjt_tmp> happens sometimes
<iqubic> Stats: 0:02:36 elapsed; 246 hosts completed (10 up), 10 undergoing Connect Scan Connect Scan Timing: About 100.00% done; ETC: 00:05 (0:00:00 remaining)
<iqubic> And now it's back down to 88%
alp has quit [Ping timeout: 272 seconds]
<iqubic> Ah. Now we have progress. NSE Timing is happening now.
<pjt_tmp> hm. The router might be throttling the scan possibly.
<pjt_tmp> you have to see it's settings to know
<iqubic> Weird.
<pjt_tmp> also, one really nice unrelated command is tldr
maxdevjs has joined #nixos
<iqubic> Isn't that like `man` but more short?
<pjt_tmp> shows some simple use cases for certain commands. tldr nmap is a nice example
<pjt_tmp> yep
<pjt_tmp> nice since not all commands bother to include examples
<iqubic> nmap is done.
<iqubic> nmap 10.0.0.0/24 -A
<iqubic> No idea what I'm looking at.
<pjt_tmp> each result should say something like 'scan results for [hostname] (ip address) at the top
knerten2 has joined #nixos
<iqubic> It doesn't though.
<pjt_tmp> is it an error or something?
<iqubic> No.
<iqubic> Nmap scan report for 10.0.0.179 Host is up (0.031s latency).
<iqubic> And then it just goes on to list other stuff.
<pjt_tmp> I guess that device doesn't have a hostname(?)
<pjt_tmp> not sure
<iqubic> That particular device is a Brother Printer.
mananamenos_ has joined #nixos
knerten1 has quit [Ping timeout: 256 seconds]
<iqubic> But the issue is that my other laptop, and my other two machines that I know are connected to this wifi router aren't being found.
<iqubic> In fact, none of the results have any hostname associated with them. Just ip addresses.
<pjt_tmp> so all the devices you see aren't them? Because that's also odd. Even my most concealed devices still say "Host is up (x.xx latency)\nAll 100 scanned ports on _ are closed"
mananamenos has quit [Ping timeout: 258 seconds]
<iqubic> Yeah, I'm still getting that message.
mallox has joined #nixos
<pjt_tmp> but with no hostnames
<iqubic> Nope.
<iqubic> Not of that.
<iqubic> *none of them.
civodul has joined #nixos
<pjt_tmp> at this point I'd say go into the router's settings. If all of them are like that (and all of them *do* have hostnames), the router is the one thing they have in common.
cfricke has joined #nixos
<iqubic> Yeah. Alright. I just went to my router's settings, which can be found by pointing a web browswer to 10.0.0.1
<iqubic> And I can get the ip address that way.
<pjt_tmp> yeah, prod aroind in there. do keep nmap handy though, it can typically give much more useful info than here
<iqubic> And I can go on my old laptop and run `ping 10.0.0.10` which is the ip of my new laptop. That responds to pings in the same way as if I had pinged google.com
<iqubic> Or if I pinged 127.0.0.1 (local host)
<{^_^}> [nixpkgs] @danieldk opened pull request #97000 → stdenv: unset SDKROOT on Darwin → https://git.io/JUO09
mallox_ has joined #nixos
<iqubic> Lets just try connecting with SSH.
<iqubic> I tried running `ssh 10.0.0.10`. Recieved: ssh: connect to host 10.0.0.10 port 22: Connection refused
alp has joined #nixos
mallox has quit [Ping timeout: 256 seconds]
<energizer> systemctl status sshd
<pjt_tmp> iqubic: either that's the router at it again, or services.ssh.{etc} isn't set and so sshd isn't running on the other device
<pjt_tmp> I gotta sleep tho. ##hardware might be of help with the router, ##linux for other things
<iqubic> Yeah. I have no idea if services.ssh.{etc} is set up by default on the NixOS graphical installer. LOL.
<pjt_tmp> unlikely
<iqubic> So, how can I set up sshd?
<iqubic> Is that possible to do?
<pjt_tmp> if you have access to said device via kbd/monitor or something else sure.
<pjt_tmp> also could make a custom iso
<pjt_tmp> with it enabled by default.
<pjt_tmp> some instructions on nixos.wiki
<{^_^}> [nixpkgs] @vbgl opened pull request #97001 → coqPackages.paramcoq: init at 1.1.2 for Coq 8.12 → https://git.io/JUOEI
<iqubic> It's a laptop. I have access to the machine's kbd and monitor
<iqubic> So, how do I run sshd?
<iqubic> Is there just some command that I can run?
<energizer> enable it in configuration.nix
<pjt_tmp> man configuration.nix, /-search services.ssh
<pjt_tmp> or any old tutorial online to learn how to do it the imperative way
<energizer> ew :)
<pjt_tmp> hey, only gotta do it once most cases
<pjt_tmp> I do gotta sleep tho. might be here again in ~20 hrs
<iqubic> Well, that didn't work.
mmohammadi9812 has joined #nixos
o1lo01ol1o has joined #nixos
<iqubic> Warning, do not know how to make this configuration bootable; please enable a boot loader.
tsrt^ has quit []
<iqubic> I just want to run sshd, damnit.
xd1le has joined #nixos
<iqubic> At this point I'm heavily considering abandoning the SSH route and just using a second USB flash drive to transfer my data over.
<srk> iqubic: installer does have ssh but not running by default, start it with systemctl start sshd and set password for root
<{^_^}> srk: 8 hours, 17 minutes ago <bqv> can I interest you in a vervis flake? or maybe you'd like to upstream it to nixpkgs? since i recall you were interested in it too. One problem with both of those is that fetchDarcs doesn't seem to work properly with a patch rev, and there's no darcs libfetcher yet, so it'd have to be cached or updated regularly
<iqubic> Thanks.
<pjt_tmp> could do, yeah. You could still learn some of this later if wanted.
<srk> bqv: sure, I wanted to play with vervis!
gthm has quit [Quit: leaving]
gthm has joined #nixos
<iqubic> srk: Do I need to set a root password on the live system?
__monty__ has joined #nixos
<srk> iqubic: yes
<bqv> srk: to which? :p
<srk> yes. :D
* bqv !
<srk> bqv: when I've tried to package vervis even darcs was broken on nixos .. :D
<bqv> Lmao
<srk> and darcs repo hosted on darcs .. fun :) got resolved quickly over IRC
<iqubic> Alright, I've got ssh set up.
<bqv> the problem I have is that half the vervis repos are darcs, and hosted on vervis, so I can't get an archive
<bqv> Or I don't think I can
pjt_tmp has quit [Ping timeout: 240 seconds]
<iqubic> Now, first things first, partioning + zfs.
<srk> maybe ask on #darcs if there's something like git archive
<bqv> mm
<iqubic> So, the nixos installation guide says I should start with partitioning. How does that work if I'm going to be using zfs?
<srk> depends if you want separate boot or everything zfs
<iqubic> What I need is a UEFI boot partition, a swap partition, and a large partition for my zpool
<iqubic> large partition = remainder of the hard drive.
<iqubic> I only have one SSD here.
<srk> considered btrfs? :)
<iqubic> Me? No.
Guest64249 has quit [Quit: Leaving]
<iqubic> I suppose switching computers is as good a time as any to also switch file systems.
<iqubic> I'll entertain the possibility of btrfs for a bit, if you want to try and sell me on it.
<srk> I've switched most of my ssd drives from ext4 to btrfs recently, like it so far but I'm not toying with it that much
<iqubic> I love zfs because of the snapshots. Can btrfs do that?
<srk> yes
<iqubic> What made you decide to switch to btrfs?
<srk> subvols, snapshots, CoW, async discard
<iqubic> what is CoW?
mallox_ has quit [Quit: WeeChat 2.9]
<iqubic> And what are subvols?
<srk> copy on write
<srk> subvolumes - logical layout, similar to zfs
<iqubic> Why would you want CoW?
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #96997 → programs.zsh: remove unnecessary `with` → https://git.io/JUOBd
<srk> well, performance I guess
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JUOu4
<srk> it can be turned off
<iqubic> I see. I'd like to switch to btrfs.
<energizer> i use btrfs, but nixos community seems to be mostly using zfs
<turlando> both zfs and btrfs have cow
<iqubic> I think I'm just going to stick with zfs, actually.
<iqubic> So I'd like to have a UEFI boot partition, a swap partition, and leave the rest to ZFS.
<turlando> btw from my experience nix is one of the best linux os regarding zfs compatibility
<turlando> the other one being ubuntu
<iqubic> I agree.
<turlando> debian, redhat, arch all have some issues or it is not supported officially
<srk> how much RAM do you have iqubic?
<etu> nixos (other than ubuntu) is the only distro I would trust to have zfs as root on
<iqubic> 16gigs.
<srk> that's fine
<iqubic> So I don't need swap?
<srk> turlando: often legal issues :)
<turlando> srk eh...
<srk> pretty sure you do, as arc will consume bunch of your memory
<turlando> s/consume/use: the arc space will be freed as soon as the kernel is under memory pressure
<srk> sometimes
<turlando> which is the same behavior as the normal cache in other filesystems
<iqubic> So, I want a swap partition?
<iqubic> How do I list the sub-volumes in a zpool?
<energizer> iqubic: controversial
<energizer> that sounds like a question for the zfs documentation :)
<iqubic> Yeah. I've figured it out.
<turlando> srk I haven't carefully checked on linux but I'm pretty sure I've never ran into memory issue on freebsd because of arc eating all the memory
<srk> turlando: sometimes it would take me number of failed nix-build attempts to trigger arc freeing space (large evaluation requiring like 16G mem)
<srk> was fine after I've set arc_max
<turlando> mh, that's not good at all
<iqubic> How big is a swap partition supposed to be?
<energizer> some people use a rule of thumb like "twice the size of your ram" but yknow, whatever
<turlando> there is not a go-to answer
<turlando> if you want to use hibernation at least as much as your ram
<iqubic> lsblk on my new machines is confusing me so much.
<iqubic> Here's the output: termbin.com/p82nd
<iqubic> I'm not sure which one of those is the laptop's hard drive.
<energizer> probably neither
<energizer> need to set up a partition table etc
<energizer> see the nixos manual for instructions
<iqubic> Yeah. I'm sure I do.
<energizer> (note that doing this will erase the drive)
<iqubic> I'm aware.
arjen-jonathan has joined #nixos
<iqubic> I want to go through with that.
<iqubic> So, how shall I set up the partition table?
<iqubic> I've opened gparted, but all it can see is the 8GB flash drive that I'm running the live system from.
<energizer> try gdisk
<iqubic> gdisk wants me to enter a device filename, but I'm not sure which name to give.
page has quit [Ping timeout: 240 seconds]
<bqv> srk: I think the smart thing is just to fix fetchdarcs tbh, cause its a really simple fix, I've just been avoiding it cause I vowed never to PR nixpkgs again
<energizer> `sudo blkid` sometimes helps
<bqv> It just needs --to-hash as an option
<bqv> As well as --tag
page has joined #nixos
<iqubic> energizer: sudo blkid gives me the same output: termbin.com/p82nd
<energizer> no, that's lsblk
<energizer> i said blkid
<iqubic> termbin.com/pvhql
<iqubic> No idea what's going on now.
<ar> ,locate bin ntpclient
<{^_^}> Couldn't find in any packages
<ar> ,locate bin ntpdate
<{^_^}> Found in packages: ntp
<energizer> idk iqubic, it looks like for some reason your drives aren't detected
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JUOzD
<iqubic> What the actual hell is going here.
<iqubic> This was sold as a Windows 10 laptop.
alexherbo2 has joined #nixos
<srk> bqv: I see. tired of waiting for months?
<energizer> maybe there's a driver issue or missing kernel param or broken drive
<srk> bqv: what's the flag it needs? darcs get --to-patch?
<bqv> srk: yup
<energizer> or maybe you just need to reboot
<bqv> srk: --to-hash might be better
<bqv> Either works
thc202 has joined #nixos
<srk> ok. can you link the vervis flake?
<iqubic> Perhaps I should go through the Windows 10 setup stuff first, and then try installing NixOS.
<bqv> srk: http://rc.fron.io/overlays/vervis.nix is what I have right now, I can lift that into a flake, I just wanna be sure it makes sense (I.e. The fetchers work)
<energizer> oh sometimes i need to fiddle with the firmware settings
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> What sort of firmware settings? Like in the bios?
<energizer> yeah
<energizer> but this stuff is hard for me to understand, someone else would be better than me
<bqv> srk: the revs are commented out cause fetchdarcs treats them as tags, and they aren't, there are no tags
<srk> bqv: cool, no need to convert right now, I'm not a flake user yet
<bqv> Ah ok
<srk> preBuild contains the TH fixes?
<mananamenos_> hi, i want change to version of this https://github.com/NixOS/nixpkgs-channels/blob/nixos-19.09/pkgs/development/tools/build-managers/leiningen/default.nix#L48 and nix-shell into this. How do I call this file to nix-shell into it?
<mananamenos_> maybe someone could point to some easy docs about this
<bqv> srk: I fixed that by changing a version, those are just packaging fixes (except the middle two which do a version upgrade of pandoc)
<srk> I see
<srk> mananamenos_: nix-shell -p pkgs.leiningen (to override version and src you need something bit more complex, like nix-shell -E 'with (import <nixpkgs> {}); pkgs.leiningen.overrideAttrs (old: { version = ...; src = ...; })'
<mananamenos_> thank you srk, i will try that
<{^_^}> [nixpkgs] @FRidh pushed 84 commits to staging-next: https://git.io/JUOg4
<{^_^}> [nixpkgs] @andersk opened pull request #97002 → cryptsetup: Build with an lvm2 that’s built with udev → https://git.io/JUOgB
<mananamenos_> srk, nix-shell -E 'with (import <nixpkgs> {}); pkgs.leiningen.overrideAttrs (old: { version = 2.8.1; })' this gives me an error error: attempt to call something which is not a function but a float, at (string)
<srk> mananamenos_: version has to be a string
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d92de0eb189 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<srk> you also need to override src as it contains the hash of the original version
page_ has joined #nixos
page has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @doronbehar opened pull request #97003 → gst_all_1.gst-rtsp-server: fix pkgconfig includedir and libdir → https://git.io/JUOgS
<mananamenos_> srk, src attribute is a fetchurl function call. There is url attribute which already must get the correct version as it embed with ${version} variable. So i have to change the sha256 only, right? How do find out its value of my new version?
<iqubic> Screw this. I'm going to quickly run through the Windows set-up stuff once, and then try installing NixOS again.
<srk> mananamenos_: you either supply some wrong hash and fix it after you get hash mismatch error or you can use nix-prefetch-url
<srk> ,tofu mananamenos_
<{^_^}> mananamenos_: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000), then replace it with the correct hash Nix expected. For inserting 52 0's in vim: <esc>52i0<esc>
<srk> mananamenos_: not sure if you can override just sha256 of the fetchurl call, probably
yutyo[m] has quit [Remote host closed the connection]
<srk> yeah, looks like it's possible with src = old.src.override { inherit version; sha256 = ".."; };
cmcaine[m] has quit [Quit: Idle for 30+ days]
l-as has quit [Quit: Idle for 30+ days]
aniketd[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
clandest[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
porphyrogenetos has quit [Quit: Idle for 30+ days]
hr[m] has quit [Quit: Idle for 30+ days]
kaiha[m] has quit [Quit: Idle for 30+ days]
<mananamenos_> srk, so, i've just tried to pass the only some dummy sha256 as you mentioned, but I fetchurl requieres url param too. So now I've ended up with `nix-shell -E 'with (import <nixpkgs> {}); pkgs.leiningen.overrideAttrs (old: { version = "2.8.1"; src = fetchurl {url = "https://raw.github.com/technomancy/leiningen/${version}/bin/lein-pkg"; sha256 = "934839";};})'` which gives an error: undefined variable version. Why doesn't it see the
<mananamenos_> version variable?
spudly has quit [Quit: ZNC - http://znc.in]
ManiacOfMadness has joined #nixos
<srk> mananamenos_: yeah, it's not part of the fetchurl { <scope> }, try with fetchurl { inherit version; ...
<iqubic> What the bloody hell is going on here?
<iqubic> Why can't linux see my hard drive?
lord| has quit [Ping timeout: 256 seconds]
<iqubic> Like, Windows works fine. But I don't give a hoot about that.
<iqubic> I'm trying to install NixOS on a Dell Latitude 3500.
lord| has joined #nixos
<srk> missing kernel module?
<srk> is that nvme ssd?
<iqubic> Hmm. It might be.
<iqubic> How do I check?
<srk> specs :)
<srk> try
<srk> modprobe nvme
<srk> dmesg
<srk> as root, to see if it finds the drive
<mananamenos_> srk, `inherit version` hasn't helped. Anyway I hardcoded the version in the url, the expression succedded and im in the nix-shell now. However, `lein version` shows me 2.9.1 instead of 2.8.1. So it sees my system's lein instead the one in the nix shell. Why?
redkahuna has joined #nixos
<iqubic> modprobe nvme fails because it couldn't insert nvme, as that operation isn't permitted.
<srk> (as root)
<iqubic> Ah.
<redkahuna> Hey All, I am new on nix, I try to follow the official documentation. I try to build the hello.nix from https://nixos.org/guides/nix-pills/generic-builders.html#idm140737320264832. I am in mac os and i have these error: ld: symbol(s) not found for architecture x86_64
<redkahuna> I have the same error with the other example graphiz
<redkahuna> Any idea ? Thanks
<iqubic> `modprobe nvme` returns nothing at all.
benedikt-h has joined #nixos
benedikt-h has quit [Client Quit]
<srk> mananamenos_: hmhm, not sure. maybe it's better to add that expression to nixpkgs.overlays now as something like lein_2_8_1 = and use that
<srk> iqubic: that's correct, it retuns exit code 0 :)
<iqubic> Yeah.
<srk> ,overlays mananamenos_
<{^_^}> srk: Did you mean overlay?
<{^_^}> mananamenos_: Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
benedikt-h has joined #nixos
<iqubic> So how do see if this is nvme?
<srk> check the end of the kernel logs with dmesg
<srk> or with lsblk again
<srk> maybe lshw could tell if its nvme
benedikt-h has quit [Client Quit]
boxscape has joined #nixos
benedikt-h has joined #nixos
<iqubic> I just ran `lshw | grep -i nvme` and got nothing.
<iqubic> tried searching for sata, also got nothing..
<mananamenos_> srk, i've just uninstalled leiningen from my systemPackages in configuration.nix, got into nix shell again, and find out lein is not even in scope in the nix-shell.
<mananamenos_> so, yeah..:/ will try to with overlay in configuration.nix then
<srk> mananamenos_: probably due to nix-shell -E not doing what we want here, I guess it would require additional wrapper to put it to path
sputny1 has joined #nixos
<srk> iqubic: and the other two? does it find the drive now?
<iqubic> What other two?
<srk> [11:15] < srk> or with lsblk again
<srk> [11:15] < srk> check the end of the kernel logs with dmesg
hiro99 has joined #nixos
<iqubic> Ah. lsblk still return nothing.
<iqubic> Or rather, it only finds the usb stick I've booted from.
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JUOaW
<iqubic> the only red lines I'm getting in dmesg are from iwlwifi telling me that telling me that the BIOS contains WGDS and not WRDS
<iqubic> Ah. I see.
<srk> fun
<iqubic> How do I turn off RAID and switch AHCI?
<iqubic> Why is that fun?
<srk> BIOS
<srk> or UEFI.. idk
<srk> (fun /s crappy hw .. :))
<iqubic> I see. Time to dig around.
<{^_^}> [nixpkgs] @kampka opened pull request #97004 → highlight: fix cross-platform build → https://git.io/JUOad
<iqubic> Cool. I hope this works
<mananamenos_> srk, I finally copied the default.nix to my /etc/nixos/, change the version in that file, and called from systemPackages in configuration.nix with (callPackage ./lein-2.8.1.nix { })
<iqubic> Alright... This is running nvme
<mananamenos_> for now this works :) thank you very much for your help!
benedikt-h has left #nixos [#nixos]
<iqubic> I can tell because the drive names aren't sdX... but nvmeX...
<iqubic> I assume I can just carry on with a NixOS installation like normal, yeah?
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/JUOVO
<iqubic> I know this that the nvme drive is the correct one to use because 1. It's newly added to the lsblk list, and b) the number and fs types of the partitions match that of a Windows installation.
sputny1 has quit [Quit: sputny1]
<srk> mananamenos_: yw!
<srk> iqubic: yup
<iqubic> srk: Thanks for all the help.
<srk> yw! :)
<iqubic> The rest of this should just be following the installation guide.
<iqubic> I've done plenty of NixOS installs in the past. It usually consists of copying over my current configuration.nix, updating the stateVersion, and generating a new hardware-configuration.nix
<iqubic> I assume I can address this the physical hard drive by using /dev/nvme...
<iqubic> Where nvme... is what's displayed in lsblk. Is that right?
<srk> yup, nothing special about that, just different naming scheme
<iqubic> Cool.
<srk> for VMs you sometimes get dev/vda instead of dev/sda depending on IO subsys. config
sascha has joined #nixos
sascha is now known as Guest43221
<iqubic> So, this laptop has a fingerprint scanner built into it. Unfortunately it requires propritary Dell software that you can only get if you have a laptop that comes with Dell's own spin of Ubuntu.
<iqubic> So, I'm not going to try making that work.
Ramon has joined #nixos
<iqubic> Like even if I wanted to make that work, I can't. I don't have access to Dell's propritary linux drivers for that.
benedikt-h has joined #nixos
<iqubic> But that wasn't a feature I was ever planning on using, so I'm totally fine with that.
gxt has joined #nixos
redkahuna has quit [Ping timeout: 240 seconds]
Ramon has quit [Remote host closed the connection]
benedikt-h has left #nixos ["WeeChat 2.7.1"]
<sphalerite> What's the current preferred way to to package go stuff for nixpkgs? I know vgo2nix is a thing, but it's not mentioned in the nixpkgs manual — is that only suitable for out-of-nixpkgs go packages?
<sphalerite> (cc adisbladis who maintains vgo2nix)
<q3k[m]> buildGoModule is the new standard for nixpkgs
<q3k[m]> although that now seems contested: https://github.com/NixOS/nixpkgs/issues/84826
<{^_^}> #84826 (by nlewo, 20 weeks ago, open): Recommend buildGoPackage instead of buildGoModule in the nixpkgs manual
redkahuna has joined #nixos
sputny has quit [Quit: sputny]
redkahuna has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @doronbehar opened pull request #97005 → libpfm: 4.10.1 -> 4.11.0 → https://git.io/JUOw7
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/02a26492208 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
gxt has quit [Remote host closed the connection]
spudly has joined #nixos
spudly has quit [Changing host]
spudly has joined #nixos
gxt has joined #nixos
Sanchayan has joined #nixos
SanchayanMaity has quit [Ping timeout: 264 seconds]
damjan has quit [Quit: bye]
Ramon has joined #nixos
redkahuna has joined #nixos
<Ramon> Does anyone know how to get Nix to fetch a tarball from URL that required Kerberos Auth? I am trying to do ```nix-shell -I nixpkgs=<URL> ...``` but I kept getting 401 unauthorised. When I curl the URL myself in command line, it works fine
damjan has joined #nixos
spudly has quit [Remote host closed the connection]
redkahuna has quit [Ping timeout: 246 seconds]
ubergum has quit []
redkahuna has joined #nixos
<immae> Can I make a derivation forget that it has some runtime dependency? (namely, haskellPackages.postgresql-simple-migration thinks it needs ghc at runtime - so it downloads a bunch of additional derivations - but it’s wrong)
redkahuna has quit [Ping timeout: 240 seconds]
SanchayanMaity has joined #nixos
Sanchayan has quit [Ping timeout: 240 seconds]
redkahuna has joined #nixos
alp has quit [Ping timeout: 244 seconds]
<infinisil> immae: Currently on my phone, but there are some helpers for that, grep for eeeeeeeeee in nixpkgs
<immae> Found it thanks!
spudly has joined #nixos
spudly has quit [Changing host]
spudly has joined #nixos
redkahuna has quit [Ping timeout: 260 seconds]
<infinisil> immae: What's it called for the future?
<immae> remove-references-to
<immae> But grepping for eeeee is far easier than remembering the name :p
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<infinisil> Hehe
<immae> (In my case I only had to copy bin/migrate to another derivation though, the dependency comes from elements of lib/ which I don’t need)
Sanchayan has joined #nixos
SanchayanMaity has quit [Ping timeout: 264 seconds]
redkahuna has joined #nixos
redkahuna has quit [Ping timeout: 240 seconds]
civodul has joined #nixos
fendor has joined #nixos
SanchayanMaity has joined #nixos
redkahuna has joined #nixos
Sanchayan has quit [Quit: leaving]
SanchayanMaity has quit [Client Quit]
SanchayanMaity has joined #nixos
redkahuna has quit [Ping timeout: 240 seconds]
mananamenos_ has quit [Quit: Leaving]
mananamenos has joined #nixos
alexherbo2 has quit [Ping timeout: 258 seconds]
alexherbo2 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/10aede9bcfe (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
SanchayanMaity has quit [Quit: leaving]
alp has joined #nixos
Sanchayan has joined #nixos
eoli3n_ has joined #nixos
rgrau has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #97003 → gst_all_1.gst-rtsp-server: fix pkgconfig includedir and libdir → https://git.io/JUOgS
<{^_^}> [nixpkgs] @jtojnar pushed commit from @doronbehar to master « gst_all_1.gst-rtsp-server: fix pkgconfig includedir and libdir »: https://git.io/JUO6V
cosimone has joined #nixos
<maralorn> infinisil: Why eeeeeeeeee in the first place?
dyaso has joined #nixos
<etu> maralorn: e is not allowed in the hash and will never conflict
<infinisil> > :v validStoreHashChars
<{^_^}> validStoreHashChars = ["a" "b" "c" "d" "f" "g" "h" "i" "j" "k" "l" "m" "n" "p" "q" "r" "s" "v" "w" "x" "y" "z" "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" ]
<ar> hm
<ar> > validStoreHashChars
<{^_^}> [ "a" "b" "c" "d" "f" "g" "h" "i" "j" "k" "l" "m" "n" "p" "q" "r" "s" "v" "w" "x" "y" "z" "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" ]
<ar> infinisil: what does :v do?
<infinisil> Ah just shows the definition of it (for a variable defined in the bot), guess that wasn't necessary for this
<infinisil> > randomStorePath
<{^_^}> "/nix/store/cmrn9vzpwszzjia5n8qwkbjmrvyc1f3k-foobar"
<euandreh> Is there a way to make 'nix build' to print more than the last 10 log lines of a failed build?
Darkmatter66 has quit [Max SendQ exceeded]
<euandreh> increasing the verbosity only prints more things on the execution of nix itself, but not the failed derivation build
Darkmatter66 has joined #nixos
<euandreh> I rtfm, and there is: 'nix build -L'
<euandreh> I was only looking at flags for the build subcommand
redkahuna has joined #nixos
benedikt-h has joined #nixos
<maralorn> Learning about the weird valid chars list improved my live a lot. Since then I only use numbers to intentionally break hashes.
<maralorn> I would so love a nix-prefetch editor plugin, that could just fill in the correct hash.
Darkmatter66 has quit [Client Quit]
wolke has quit [Quit: ZNC 1.8.1 - https://znc.in]
malook has joined #nixos
<benedikt-h> Hi, I have seen that there are already some variants of the eclipse IDE packaged in unstable
Darkmatter66 has joined #nixos
<benedikt-h> However, I would need the one for "java and dsl"
<benedikt-h> Simply running the installer does not work (dynamically linked)
<alexarice[m]> maralorn: There was an emacs one but last time I tried it, it didn't work
<benedikt-h> How could I make this work?
veleiro` has joined #nixos
zal has joined #nixos
Darkmatter66 has quit [Max SendQ exceeded]
Darkmatter66 has joined #nixos
wolke has joined #nixos
zalaare has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #97006 → Fpc 3.2.0 aarch64 → https://git.io/JUOPT
Darkmatter66 has quit [Max SendQ exceeded]
veleiro has quit [Ping timeout: 265 seconds]
davidv7 has quit [Ping timeout: 260 seconds]
Darkmatter66 has joined #nixos
eoli3n_ has quit [Ping timeout: 258 seconds]
Darkmatter66 has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @aquair opened pull request #97007 → collectd: added interval option to collectd → https://git.io/JUOPw
hiro99 has quit [Ping timeout: 256 seconds]
Darkmatter66 has joined #nixos
aquair has joined #nixos
xd1le has quit [Read error: Connection reset by peer]
tmaekawa has joined #nixos
xd1le has joined #nixos
<{^_^}> [nixpkgs] @andersk opened pull request #97008 → cryptsetup, lvm2, systemd: Break cyclic dependency at a different point → https://git.io/JUOXs
<__monty__> I'm running into a segmentation fault seemingly caused by undmg, anyone run into this before?
zupo has joined #nixos
Ramon has quit [Ping timeout: 245 seconds]
<Ke> wonder why do I have /etc/nixos, while I am not using it for anything
cfricke has quit [Ping timeout: 244 seconds]
<Ke> that's like 1K of mem or something
redkahuna has quit [Quit: WeeChat 2.2]
<{^_^}> [nixos-homepage] @garbas pushed to debug « disable (temporary) updating of nix unstable flake »: https://git.io/JUOX9
cfricke has joined #nixos
JohannesArnold[m has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
dbmikus has joined #nixos
cfricke has quit [Client Quit]
Denommus has quit [Ping timeout: 272 seconds]
dbmikus has quit [Ping timeout: 240 seconds]
page_ is now known as page
<{^_^}> [nixpkgs] @kampka opened pull request #97009 → netpbm: Fix cross platform build → https://git.io/JUO1L
<{^_^}> [nixos-homepage] @garbas merged pull request #511 → disable (temporary) updating of nix unstable flake → https://git.io/JUYjN
<{^_^}> [nixos-homepage] @garbas pushed 3 commits to master: https://git.io/JUO1Y
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to debug: https://git.io/JUO1O
OmnipotentEntity has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #97010 → git-lfs: 2.11.0 -> 2.12.0 → https://git.io/JUO1n
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #97011 → direnv: 2.21.3 -> 2.22.0 → https://git.io/JUO1C
dguibert has joined #nixos
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
OmnipotentEntity has joined #nixos
phirsch has joined #nixos
<{^_^}> [nixpkgs] @andersk closed pull request #97002 → cryptsetup: Build with an lvm2 that’s built with udev → https://git.io/JUOgB
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mweinelt merged pull request #96595 → pinnwand: 1.2.1 -> 1.2.2 → https://git.io/JULKn
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JUO17
fendor has joined #nixos
malook has quit [Quit: malook]
omneh has joined #nixos
omneh has joined #nixos
omneh has quit [Changing host]
OmnipotentEntity has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #97012 → flow: 0.132.0 -> 0.133.0 → https://git.io/JUO1N
<{^_^}> [nix] @edolstra pushed 13 commits to configs: https://git.io/JUOMT
<{^_^}> [nixpkgs] @siraben opened pull request #97013 → Move KnightOS packages into pkgs/tools/knightos → https://git.io/JUOML
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
omneh has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/10aede9bcfe (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<Raito_Bezarius> is there any plan to support public/private IPv6 in NixOps?
<{^_^}> [nixpkgs] @romildo closed pull request #59953 → [WIP] deepin.deepin-manual: init at 2.0.19 → https://git.io/fjObl
<{^_^}> [nixpkgs] @romildo closed pull request #88906 → deepin.go-dbus-factory: 0.9.0 -> 1.6.4.4 → https://git.io/JfVjH
<{^_^}> [nixpkgs] @romildo closed pull request #89002 → deepin.dde-qt-dbus-factory: 5.0.1 -> 5.1.0.1 → https://git.io/JfrJG
CcxWrk has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @romildo closed pull request #92625 → deepin: update packages and add desktop module → https://git.io/JJtXT
<{^_^}> [nixpkgs] @Lassulus merged pull request #86663 → left4gore: Init at 2.3 → https://git.io/JfsCx
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUOMu
<{^_^}> [nixpkgs] @romildo closed pull request #77293 → Deepin desktop modules → https://git.io/JvelQ
CcxWrk has joined #nixos
cfricke has joined #nixos
<{^_^}> [nixpkgs] @B4dM4n opened pull request #97015 → libreoffice-still: fix build → https://git.io/JUODv
GolDDranks has joined #nixos
<GolDDranks> Hi, if there are any people with review/merge rights, consider helping us getting this PR over the goal line so that 20.09 wouldn't have major bugs with Raspberry Pi 4! https://github.com/NixOS/nixpkgs/pull/91295
<{^_^}> #91295 (by jbaum98, 10 weeks ago, open): Rewrite raspberrypi-builder.sh based on extlinux
<GolDDranks> It's the only major one I've encountered thus far. (often preventing nixos-rebuild because the cleanup of /boot isn't done properly). It would be great to have merged!
kreyren has joined #nixos
iamjackpreacher[ has joined #nixos
mmohammadi98120 has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #96966 → liberation_ttf: Fix cross-compiling → https://git.io/JUYx7
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/JUOD2
mmohammadi9812 has quit [Ping timeout: 260 seconds]
mmohammadi98120 is now known as mmohammadi9812
dansho has joined #nixos
mmohammadi98123 has joined #nixos
mmohammadi9812 has quit [Read error: Connection reset by peer]
mmohammadi98123 is now known as mmohammadi9812
sangoma has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #97016 → marwaita: 7.5.1 -> 7.6 → https://git.io/JUOya
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @marsam opened pull request #97017 → ocamlPackages.merlin: 3.3.8 -> 3.3.9 → https://git.io/JUOyM
philr has quit [Ping timeout: 260 seconds]
sangoma has joined #nixos
iqubic` has joined #nixos
alp has quit [Remote host closed the connection]
CcxWrk has quit [Ping timeout: 240 seconds]
alp has joined #nixos
iqubic has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #96581 → ocamlPackages.piqi-ocaml: 0.7.5 → 0.7.7 → https://git.io/JULRD
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.piqi-ocaml: 0.7.5 → 0.7.7 »: https://git.io/JUOSG
<V> > lib.fakeSha256
<{^_^}> "0000000000000000000000000000000000000000000000000000000000000000"
<kaliumxyz> thats a good one to remember.
<{^_^}> [nixpkgs] @evils opened pull request #97018 → openocd: 0.10.0 -> 2020-09-02 → https://git.io/JUOSn
<V> honestly, is there any reason that shouldn't be eeeeees
<V> infinisil: , etc
dansho has quit [Ping timeout: 256 seconds]
<kaliumxyz> Is there any reason it should be e's?
<{^_^}> [nixpkgs] @danieldk opened pull request #97019 → mkl: 2020.2.254 -> 2020.3.279 → https://git.io/JUOSW
<V> kaliumxyz: see previous conversation
<Taneb> Store hash isn't the same thing as that sha256
<V> this is true
<Taneb> There are plenty of ones with an e in them
<V> Shame on me for writing things while sleepy
<Taneb> I think they're written in hex?
<kaliumxyz> nah, hashes avoid e, o, and some others cause they might be mistaken for 3, 0, etc
CcxWrk has joined #nixos
<kaliumxyz> :eye: wait e is valid?
<kaliumxyz> nvm me
<V> oh, wait, no
<V> it's not hex, it's using some modified base32 that removes characters that could spell rude words IIRC
<etu> V: Yep, correct :)
<kaliumxyz> I guess thats one reason to chose a character set.
<V> so... changing lib.fakeSha* to all ees would make sense?
<V> there are instances of sha256 = ".*e.*" from a casual grep but I think these are all hex
<V> and for stuff like npm's hashes, etc
<V> or for fetchPypi
n9nes- has joined #nixos
<V> (possibly hashes may be written as hex?)
<V> I'm not nearly awake enough for this :p
n9nes has quit [Ping timeout: 265 seconds]
Rusty1 has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
n9nes- has quit [Ping timeout: 260 seconds]
nullheroes has quit [Quit: WeeChat 2.9]
n9nes has joined #nixos
<{^_^}> [nixpkgs] @samuelgrf opened pull request #97020 → dynamic-workspaces: init at 1.0.1 → https://git.io/JUO9U
kreyren has quit [Ping timeout: 240 seconds]
dansho has joined #nixos
OmnipotentEntity has quit [Remote host closed the connection]
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
gustavderdrache has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n9nes has quit [Ping timeout: 265 seconds]
n9nes- has joined #nixos
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<sephii> Does `nix-build` keep the result of `fetchFromGitHub` somewhere on the FS? If so, is there a way to find it and remove it?
zupo has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e30287c590d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7bc3a08d3a4 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<clever> sephii: why do you want to remove it?
<sephii> clever: or at least locate it. I changed an option (I added `fetchSubmodules = true`) but I keep getting an error that should be fixed
<clever> sephii: you need to invalidate the hash, change a few digits to 0's
zupo has quit [Ping timeout: 240 seconds]
<sephii> clever: ok now it recloned it, but then the build fails because the hash doesn't match
<{^_^}> [nixpkgs] @dguibert merged pull request #97015 → libreoffice-still: fix build → https://git.io/JUODv
<{^_^}> [nixpkgs] @dguibert pushed 2 commits to master: https://git.io/JUOHY
<clever> sephii: now insert that new and correct hash into the expr
mmohammadi98123 has joined #nixos
noudle has quit []
mmohammadi9812 has quit [Ping timeout: 246 seconds]
mmohammadi98123 is now known as mmohammadi9812
<sephii> mmmh it's in a weird format (`sha256-XVNM8cEQeSxDvfXLtF3FQnKi8qZvyH/ePrQO4x9+rus=`). Anyway, I think adding `--fetch-submodules` to `nix-prefetch-git` got me the correct hash :) thanks!
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @trepetti opened pull request #97021 → svls: init at 0.1.17 → https://git.io/JUOHi
mmohammadi9812 has quit [Ping timeout: 240 seconds]
GolDDranks has quit [Remote host closed the connection]
noreferences has joined #nixos
fendor has quit [Read error: Connection reset by peer]
noreferences has quit [Client Quit]
fendor has joined #nixos
noreferences has joined #nixos
orivej has joined #nixos
noreferences has quit [Client Quit]
noreferences has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
noreferences has quit [Client Quit]
noreferences has joined #nixos
<{^_^}> [nixpkgs] @samuelgrf opened pull request #97022 → krohnkite,kwin-tiling: fix typo → https://git.io/JUOQl
<{^_^}> [nixpkgs] @Infinisil opened pull request #97023 → Module-builtin assertions, disabling assertions and submodule assertions → https://git.io/JUOQg
noreferences has quit [Client Quit]
noreferences has joined #nixos
noreferences has quit [Client Quit]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/10aede9bcfe (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> [nixpkgs] @sephii opened pull request #97024 → securefs: 0.8.3 -> 0.11.1 → https://git.io/JUO7m
ddellacosta has joined #nixos
noudle has joined #nixos
nixbitcoin has quit [Ping timeout: 240 seconds]
nixbitcoin has joined #nixos
alexherbo2 has joined #nixos
<Baughn> Is there any way to install NixOS on a laptop where I cannot disable secure boot?
<Baughn> (If I do, it'll erase the SSD.)
Darkmatter66_ has joined #nixos
noreferences has joined #nixos
noreferences has quit [Client Quit]
<clever> Baughn: if the secureboot is doing its job properly, not really
<Baughn> Well, it certainly refuses to boot the default iso.
<clever> Baughn: you would need to make a backup of the ssd to another machine, then turn off secureboot
noreferences has joined #nixos
noreferences has quit [Client Quit]
Darkmatter66 has quit [Ping timeout: 258 seconds]
<Baughn> Can't it be booted with efistub?
<Baughn> Or... whatever the shim is called?
<clever> Baughn: only if that shim is trusted by the secureboot
<Baughn> Hmm. Well, I can't really backup the SSD without booting linux.
<Baughn> Maybe ubuntu will work
<benedikt-h> All right, I have figured it out. There is eclipses.buildEclipse and eclipses.eclipseWithPlugins. Those did the trick
orivej has quit [Ping timeout: 258 seconds]
lotharn has quit [Ping timeout: 246 seconds]
MtotheM has joined #nixos
dyaso has quit [Quit: Konversation terminated!]
<dbe2> What's the standard way to create a write-enabled directory for a specific user? I have a service running as a "isSystemUser" user, and that service needs some writeable directories.
lsix has joined #nixos
sangoma has quit [Ping timeout: 265 seconds]
<cransom> dbe2: an entry in `systemd.tmpfiles.rules` if the user isn't going to get a typical home directory
<cransom> the service could also use some of the DynamicUser options which will have systemd create some stuff too, but it depends on your use case.
zupo has joined #nixos
zupo has quit [Ping timeout: 260 seconds]
flythief has joined #nixos
benedikt-h has left #nixos ["WeeChat 2.7.1"]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUOdP
nixos_newbie has joined #nixos
<clever> dbe2: i prefer just doing createHome = true; on that user
cfricke has joined #nixos
cosimone has quit [Quit: Quit.]
<CRTified[m]> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
cosimone has joined #nixos
cosimone has quit [Client Quit]
cfricke has quit [Client Quit]
<dbe2> thanks :)
<{^_^}> [nixpkgs] @DamienCassou opened pull request #97026 → emacs: Add missing patches to the Emacs derivations → https://git.io/JUOFT
erasmas has joined #nixos
kreyren has joined #nixos
Maxdamantus has quit [Ping timeout: 265 seconds]
Maxdamantus has joined #nixos
jumper149 has joined #nixos
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
<zebrag> I've installed NixOS on a laptop a year ago. It was easy and fine, but because I needed npm and I had issues with it at the time, I haven't used that machine since...
<zebrag> First question: how is the project faring since?
<simpson> NixOS is fine. npm's still pretty bad. I think that we added a new nodePackages version for the latest stable series.
<zebrag> This time I intend to use npm the most naive way
codezero has quit [Quit: The Lounge - https://thelounge.chat]
<zebrag> However, last time, even like this there were issues with one npm package not finding some "so" lib... But that might have been fixed
codezero has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #97011 → direnv: 2.21.3 -> 2.22.0 → https://git.io/JUO1C
<{^_^}> [nixpkgs] @zimbatm pushed to master « direnv: 2.21.3 -> 2.22.0 (#97011) »: https://git.io/JUOFx
<zebrag> simpson: So, you say Nixos is doing fine; good to know
Rusty1 has joined #nixos
<zebrag> Since that aspect is settled, now I'm looking for pointers to upgrade my box
Denommus has joined #nixos
<clever> zebrag: sudo nixos-rebuild boot --upgrade
<Denommus> hello
<zebrag> my, that is clever
<zebrag> (sorry)
<Denommus> how could I refer to nodeEnv in an overlay?
<Denommus> I want to create a new package that uses nodeEnv.buildNodePackage, but I have no idea how
asheshambasta has joined #nixos
<asheshambasta> cachix.org down?
<infinisil> asheshambasta: Seems like it yeah
maier has quit [Ping timeout: 240 seconds]
alexherbo20 has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo20 is now known as alexherbo2
<{^_^}> [nixpkgs] @avnik opened pull request #97027 → Wine update: 5.14 -> 5.16 → https://git.io/JUObD
Sanchayan has quit [Quit: leaving]
<gchristensen> is there a way to disable nscd for a single terminal, like an env variable glibc looks at or something
cosimone has joined #nixos
xcmw has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed 3 commits to demos: https://git.io/JUObd
<{^_^}> [nixos-homepage] @garbas opened pull request #513 → Converting examples into asciinema videos → https://git.io/JUObA
<domenkozar[m]> yeah, looking into it
xd1le has quit [Remote host closed the connection]
<asheshambasta> also; I seem to have run into an issue (https://github.com/cachix/cachix/issues/267); but I've deleted the nix file in my case; and it still doesn't seem to make cachix not download from that particular cache. As a result; I cannot even nixos-rebuild anymore; and I was wondering if this was related to the outage.
<domenkozar[m]> back!
<{^_^}> cachix/cachix#267 (by cdepillabout, 33 weeks ago, open): cachix CLI command for removing/disabling cache
<IslandUsurper[m]> Denommus, have you looked at node2nix?
<asheshambasta> domenkozar[m]: thanks
<{^_^}> [nixpkgs] @roberth merged pull request #95760 → Add vscode-json-languageserver-bin node package → https://git.io/JJNOS
<{^_^}> [nixpkgs] @roberth pushed 3 commits to master: https://git.io/JUONL
<CRTified[m]> Is there a simple way to cross-compile the armv6 image ( https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix ) on x86_64? I tried it according to https://nixos.wiki/wiki/NixOS_on_ARM#Compiling_through_QEMU but it fails building uboot
<srk> CRTified[m]: with cross compilation support, something like https://gist.github.com/sorki/548de08f621b066c94f0c36a7a78cc41
inkbottle has joined #nixos
lotharn has joined #nixos
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #96564 → murmur: support building with grpc → https://git.io/JULYE
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JUOAC
<CRTified[m]> srk: Thanks, I'll have a look :)
nature has joined #nixos
<inkbottle> (aka zebrag, speaking to myself) So, I've been mostly using 2 commands: vim /etc/nixos/configuration.nix, and nixos-rebuid switch
page has quit [Ping timeout: 240 seconds]
veleiro`` has joined #nixos
dbmikus has joined #nixos
veleiro` has quit [Ping timeout: 258 seconds]
<Denommus> IslandUsurper[m]: I haven't considered it, but I think I'm going to try to use it
justanotheruser has joined #nixos
Denommus has quit [Remote host closed the connection]
<IslandUsurper[m]> Considering that it handles your dependencies, I recommend it.
<{^_^}> [nixpkgs] @midchildan opened pull request #97028 → arc_unpacker: init at b9843a1 → https://git.io/JUOpt
g_ has joined #nixos
g_ is now known as Guest29927
evanjs has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @cmacrae opened pull request #97029 → yabai: 3.2.1 -> 3.3.0 → https://git.io/JUOpK
Guest43221 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer opened pull request #97030 → python3Packages.ftputil: fix tests → https://git.io/JUOhU
endformationage has joined #nixos
page has joined #nixos
orivej has joined #nixos
<lordcirth_> I'm confused. Trying to run 'ld' says to install nixos.ccacheWrapper. nix-env -qa says it doesn't exist. But -qaA finds "ccache-links-wrapper-". What am I supposed to put in systemPackages to get ld?
davidv7 has joined #nixos
thonkpod_ has quit [Quit: WeeChat 2.7.1]
thonkpod has joined #nixos
asheshambasta has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #97006 → fpc: 3.0.4 -> 3.2.0, add support for aarch64-linux → https://git.io/JUOPT
<{^_^}> [nixpkgs] @timokau pushed 5 commits to master: https://git.io/JUOhg
<inkbottle> configuration.nix: system.stateVersion = "19.03"; That must be old, I should probable change that
evanjs has joined #nixos
kreyren has quit [Ping timeout: 240 seconds]
<cransom> inkbottle: that has repercussions. read the release notes of rleeases after 19.03 to find out if that that's going to bite you.
<{^_^}> [nixpkgs] @timokau opened pull request #97031 → hedgewars: fix build on aarch64 → https://git.io/JUOhi
<zebrag> cransom: doing that (did I mentioned I'm on 2 different computers with 2 different nick and that is confusing)
<zebrag> it is*
Extends has joined #nixos
<zebrag> "When upgrading from a previous release, please be aware of the following incompatible changes"...
arjen-jonathan has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Izorkin opened pull request #97032 → htop: 3.0.0 -> 3.0.1 → https://git.io/JUOjL
ris has joined #nixos
bennofs_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « pythonPackages.dnspython: use 1.x for Python 2 »: https://git.io/JUOjE
<{^_^}> [nixpkgs] @Ma27 merged pull request #97032 → htop: 3.0.0 -> 3.0.1 → https://git.io/JUOjL
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JUOja
bennofs__ has quit [Ping timeout: 240 seconds]
<inkbottle> https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-19.09; "NetworkManager systemd unit was renamed"; I do not have "networkmanager" per se in my configuration.nix; what I do have is: `networking.hostName = "nixos";`, `networking.networkmanager.enable = true;`
<inkbottle> not sure what I should do in this concern
<inkbottle> I will probably end up posting my configuration.nix
<{^_^}> [nixpkgs] @FRidh pushed to master « pythonPackages.dnspython_1: add missing file, fixes eval »: https://git.io/JUOjX
<inkbottle> Or I could compare with some up to date kde-plasma configuration.nix
<inkbottle> if there is a plain one out there
<inkbottle> or I could do both
<inkbottle> behold configuration.nix: https://paste.debian.net/1162480/
<{^_^}> [nixpkgs] @FRidh pushed 306 commits to staging: https://git.io/JUOjH
mananamenos has quit [Ping timeout: 246 seconds]
<aanderse> does anyone know what all the weird vim errors (warnings?) are with nixos unstable right now when i rebuild my system? `....... vim.1.gz: whatis parse for rview(1) failed`
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
eoli3n_ has joined #nixos
maier has joined #nixos
lsix has quit [Quit: WeeChat 2.9]
maier has quit [Ping timeout: 246 seconds]
cole-h has joined #nixos
mariatsji has quit [Remote host closed the connection]
<inkbottle> It doesn't seem I really need to specify: `system.stateVersion` This seems outdated way of doing things?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nixos
xcmw has quit [Client Quit]
<inkbottle> Is there a reasonable list of packages for KDE-Plasma to put in `environment.systemPackages = with pkgs; [`?
<clever> inkbottle: you need to specify it if your using things where the state has changed, such as the ssh hostkey type, or the default postgres master user
<clever> inkbottle: and youll only know the state has changed if you read the nixos release notes closely
<inkbottle> clever: well, I did have quite a close look at them
<inkbottle> Also I'm trying to simplify things before the upgrade
<clever> inkbottle: thats what stateVersion is for, to minimize the breakage when you upgrade without reading the release notes
<clever> so it continues to work as before
<clever> it should just be left at the previous value
<inkbottle> Do you mean that won't prevent installation of newer linux-kernel, and newer version of packages?
<clever> inkbottle: the only case i can think of where it stops things from upgrading is the postgresql version
pjt_tmp has joined #nixos
<clever> inkbottle: because the new version cant read the old db files, and upgrading would break postgresql hard
<inkbottle> okay
<cole-h> state version only affects NixOS modules, AFAIK
<V> is there any good reason why modules don't each maintain a separate state version, and do so automatically
o1lo01ol_ has joined #nixos
<clever> V: it has to be done from your configuration.nix, because you might be building for another machine (nixops)
<V> like, what's stopping the postgres module from keeping a file in /var/lib/postgresql/version
<clever> V: then you would have to ship 2 versions of the postgres binary to the end machine, and somehow swap which one is in the global $PATH based on the file
o1lo01ol1o has quit [Read error: Connection reset by peer]
<V> no? can you not have it upgrade
<clever> V: upgrading involves dumping the entire db to .sql format while the old daemon runs, then switching the daemon out, and re-importing the entire db
<V> ugh
<clever> yes
<clever> so you need to be aware of those changes, and manually migrate the state before you change the stateVersion
<{^_^}> [nixpkgs] @pstn opened pull request #97033 → jellyfin: 10.6.3 -> 10.6.4 → https://git.io/JU3vC
mariatsji has joined #nixos
justanotheruser has quit [Ping timeout: 256 seconds]
ntwaaci^ has joined #nixos
<inkbottle> So I'm running `nixos-rebuild boot --upgrade` with no changes to my `configuration.nix`
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #96970 → dash: Fix cross build → https://git.io/JUOfA
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JU3fw
<inkbottle> error: build of '/nix/store/7wczp7561wb4zw9bxql0byj9vahdy065-nixos-system-nixos-19.03.173691.34c7eb7545d.drv' failed
<clever> inkbottle: try running it again, its probably just a random error
<inkbottle> doing it now
sascha has joined #nixos
sascha is now known as Guest31100
<inkbottle> How do I know what linux kernel is shipped with stable channel?
<clever> inkbottle: `nix repl '<nixpkgs>'` then eval `linux`
<inkbottle> ok
<clever> that will tell you what kernel your going to be getting
<inkbottle> waiting the the upgrade operation to end
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to master: https://git.io/JU3f5
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-20.03: https://git.io/JU3fF
kreyren has joined #nixos
cole-h has joined #nixos
ingenieroariel has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #97034 → gnupg: 2.2.22 -> 2.2.23 → https://git.io/JU3JC
<{^_^}> [nixos-homepage] @garbas pushed to demos « add example 3,4,5 »: https://git.io/JU3JE
xcmw has joined #nixos
xcmw has quit [Client Quit]
cosimone has quit [Quit: Quit.]
Guest31100 has quit [Quit: Leaving]
sgrunert has joined #nixos
alp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-homepage] @garbas pushed to demos « register example 3,4,5 with Makefile »: https://git.io/JU3Jd
<inkbottle> clever: nix repl '<nixpkgs>', linux, says "linux-4.19.80". Is it realistic? Not sure I'm seeing the correct derivation.
disasm has quit [Ping timeout: 264 seconds]
<inkbottle> I was expecting "5.7..."
<clever> inkbottle: `sudo nix-channel --list` ?
<sonercirit[m]> hello, how can I turn change nix channel into the nixpkgs master branch?
<sonercirit[m]> gonna test some stuff in VM :D
<{^_^}> [nixpkgs] @saschagrunert opened pull request #97035 → buildah: 1.15.1 -> 1.15.2 → https://git.io/JU3JN
<clever> sonercirit[m]: you dont have to change the channel, just git clone master, and use `-I nixpkgs=/foo` to point things to the checkout
alp has joined #nixos
<sonercirit[m]> where do I do the `-l nixpkgs=/foo` part
<sonercirit[m]> while rebuilding the system?
disasm has joined #nixos
<inkbottle> clever: nixos-19.03, not the one I want. Why is it so? (I've just completed `nixos-rebuild boot --upgrade` successfully
<clever> sonercirit[m]: when you build things that you want to have obey master
<clever> inkbottle: --upgrade just gets the latest for your current channel, you need to change the channel first
<inkbottle> ok;
<clever> inkbottle: sudo nix-channel --add https://nixos.org/channels/nixos-20.03 nixos
<inkbottle> tx
justanotheruser has joined #nixos
<sonercirit[m]> ty @cl
<sonercirit[m]> * ty clever
<{^_^}> [nixpkgs] @Mic92 merged pull request #97031 → hedgewars: fix build on aarch64 → https://git.io/JUOhi
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JU3UL
nixos_newbie has quit [Remote host closed the connection]
<{^_^}> [nixos-homepage] @garbas merged pull request #513 → Converting examples into asciinema videos → https://git.io/JUObA
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixos-homepage] @garbas pushed 6 commits to master: https://git.io/JU3UO
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to demos: https://git.io/JU3U3
<inkbottle> clever: okay, I did that. Now I'm doing "nixos-rebuild boot --upgrade" again
<cole-h> sonercirit[m]: Btw, it's -I nixpkgs=/foo, not -l (eye vs ell)
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #97036 → libzra: init at unstable-2020-08-10 → https://git.io/JU3UW
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7ff50a7f7b9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
lordcirth_ has quit [Remote host closed the connection]
lordcirth has joined #nixos
tnias has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to release-20.03 « nix-bundle: 0.3 -> 0.4 »: https://git.io/JU3UV
<{^_^}> [nixpkgs] @danieldk merged pull request #96900 → zotero: fix reliance on coreutils being in PATH → https://git.io/JUmKH
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JU3Ui
nullheroes has joined #nixos
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sphalerite has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #97037 → crcpp: init at 1.0.1.0 → https://git.io/JU3Ts
kim0 has joined #nixos
mariatsji has quit [Remote host closed the connection]
<{^_^}> [nixos-search] @garbas pushed to fix-177 « when wrong channel is selected (via url) show error »: https://git.io/JU3TC
<{^_^}> [nixos-search] @garbas opened pull request #178 → when wrong channel is selected (via url) show error → https://git.io/JU3TW
Sibi_ has quit [Quit: Connection closed for inactivity]
sphalerite has joined #nixos
<cole-h> What's the difference between emacsPackages and emacsPackagesNg?
<etu> None
<etu> cole-h: emacsPackages is an alias for emacsPackagesNg nowadays, there was a difference when emacsPackagesNg was created.
<V> That seems like a good reason to add emacsPackagesNg to aliases.nix
flythief has quit [Quit: Connection closed for inactivity]
<cole-h> Now to figure out why doom isn't seeing the emacsql-sqlite binary...
<{^_^}> [nixpkgs] @maralorn pushed to haskell-updates « haskellPackages.monoidal-containers: Remove patch »: https://git.io/JU3kq
<etu> V: It is
<{^_^}> [nixos-search] @garbas merged pull request #178 → when wrong channel is selected (via url) show error → https://git.io/JU3TW
<{^_^}> [nixos-search] @garbas pushed to master « when wrong channel is selected (via url) show error (#178) »: https://git.io/JU3ks
<{^_^}> [nixos-search] @garbas pushed 0 commits to fix-177: https://git.io/JU3kG
<etu> V: emacsPackagesNg = emacsPackages; # added 2019-08-07
<V> seems like a good reason to replace it with a throw, I mean
<V> Honestly, a bunch of the things here should be replaced with throws
<V> And then have the throws removed after a year
<V> Currently there's no process for any of this
<cole-h> I wish `nix shell -f'<nixpkgs>' stdenv` worked :(
<cole-h> Now I have to try and find what package provides c99 compiler
<cole-h> s/ compiler//
<V> > nix shell
<V> error: 'shell' is not a recognised command
<{^_^}> undefined variable 'shell' at (string):321:5
<{^_^}> [nixpkgs] @Atemu opened pull request #97038 → linux_zen: 5.8.1 -> 5.8.6 → https://git.io/JU3k0
<V> is nix shell in unstable nix?
<cole-h> nixUnstable, yes.
<etu> ooh, nice
<inkbottle> clever: "linux-5.4.61" it's more like it.
<inkbottle> I had several interesting warning during build
<inkbottle> Is there a log where I can find them?
<clever> inkbottle: you can run `nix-store -l /nix/store/foo` on a given path, to see the full logs from building that path
mariatsji has joined #nixos
xcmw has joined #nixos
<inkbottle> nix-store -l /nix/store/hl0gxn5wg5wmk33060dhznkag0p7h2wr-nixos-system-nixos-20.03.2873.10aede9bcfe.drv
<inkbottle> it didn't return anything
Church- has joined #nixos
<clever> then that specific path didnt have any warnings when building
<clever> but things it depends on may have
<clever> each path has its own logs
<inkbottle> ok
<{^_^}> [nixpkgs] @IvarWithoutBones closed pull request #92364 → snes9x-gtk: fix GSettings crash when opening file picker → https://git.io/JJIlS
ivunchata has joined #nixos
aleph- has quit [Ping timeout: 258 seconds]
kaliumxyz has quit [Remote host closed the connection]
<inkbottle> re-running `nixos-rebuild boot --upgrade` did show them again
cosimone has joined #nixos
<{^_^}> [nixpkgs] @orivej opened pull request #97041 → hydrogen: 0.9.7 -> 1.0.1 → https://git.io/JU3kj
Rusty1 has joined #nixos
<clever> inkbottle: eval time warnings from the nix code arent held in the `nix-store -l` logs
cosimone has quit [Read error: Connection reset by peer]
<ivunchata> Hey guys, I'm new to NixOS and have an issue with my NIC (probably hardware related), which is solved if I run ethtool on it, disabling TSO. My question is - how do I properly run a command after an interface comes up or after the system boots?
cosimone has joined #nixos
dansho has quit [Quit: Leaving]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7f0e4290564 (from 65 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<neonfuz2> so, nixos-unstable has been broken for 13 days?
<neonfuz2> I got a package merged and have been surprised to see no updates so I can't install from upstream yet lol
<{^_^}> [nixpkgs] @Infinisil opened pull request #97042 → Show sub options of freeform types → https://git.io/JU3Im
<cole-h> neonfuz2: status.nixos.org/
<cole-h> neonfuz2: https://status.nixos.org *
<cole-h> The specific blocker: https://github.com/NixOS/nixpkgs/issues/96479
<{^_^}> #96479 (by doronbehar, 1 week ago, open): nixos-unstable is blocked because of failing luks-format1 test
<neonfuz2> oh yeah didn't see the issues links
<neonfuz2> thanks
<{^_^}> [nixpkgs] @adisbladis merged pull request #97026 → emacs: Add missing patches to the Emacs derivations → https://git.io/JUOFT
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JU3I3
<numkem> how do you convert the ouput hash from what nix tells me into the "sha256-xxxx" format required by `cargoDeps.overrideAttrs`?
<numkem> I want to update `rnix-lsp` to the latest version
<inkbottle> I have a warning concerning boot.initrd.luks.devices and LoaOf: https://paste.debian.net/1162510/
<inkbottle> I don't really know what to do about it
<cole-h> Ignore it. There's nothing you can do about it.
<cole-h> Or rather
<colemickens> Can't... they fix it?
<cole-h> Do what it suggests
<colemickens> I thought I did when I got that warning
<cole-h> I thought it was complaining about loaOf in general
<inkbottle> it is
<cole-h> inkbottle: Follow the suggestion: ("Do ..... instead of ..... ")
<inkbottle> and I don't understand the suggestions
<inkbottle> are the "..." a placeholder?
<cole-h> Instead of having a list of attrs like `[ { name = "root"; othersetting = "awsdf"; } ]`, change it to be an attr set like `{ root = { othersetting = "awsdf"; }; }`
<inkbottle> no, that wouldn't do
<inkbottle> reading
<cole-h> Please paste your config if you want more specific help.
<inkbottle> will do
<{^_^}> [nixpkgs] @markuskowa opened pull request #97043 → openmpi: 4.0.4 -> 4.0.5 → https://git.io/JU3I8
zupo has joined #nixos
<numkem> actually my question seems to be more how to you take what nix tell you into a SRI hash
<colemickens> inkbottle: from the guide you are following, the snippet change is: https://gist.github.com/colemickens/eef293d75f5d7c01adbfd4c7593f3734
maier has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #96976 → black-macchiato: init at 1.3.0 → https://git.io/JUOkm
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JU3Ig
petar has quit [Remote host closed the connection]
mariatsji has quit [Read error: Connection reset by peer]
petar has joined #nixos
<inkbottle> colemickens: nice, thanks
dbmikus has quit [Ping timeout: 260 seconds]
Gohla has quit [Ping timeout: 264 seconds]
maier has quit [Ping timeout: 260 seconds]
<cole-h> I think the `name = ...;` is also unnecessary
Darkmatter66 has joined #nixos
Darkmatter66_ has quit [Ping timeout: 260 seconds]
cosimone has quit [Quit: Quit.]
dbmikus has joined #nixos
cosimone has joined #nixos
<inkbottle> cole-h: yes, what I thought initially, but I left it, just as you did in your gist. That should be harmless
<cole-h> (Wrong cole ;) )
euandreh has quit [Remote host closed the connection]
<inkbottle> Now I've muted all the warnings; so it must be time for reboot
<cole-h> Good luck
<inkbottle> tx
inkbottle has quit [Quit: Konversation terminated!]
<cole-h> infinisil++ That module-builtin assertions stuff looks very cool 👀
<{^_^}> infinisil's karma got increased to 353, it's a crit!
<infinisil> :D
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #96932 → gtg: Run tests → https://git.io/JUYLh
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JU3Lm
inkbottle has joined #nixos
<inkbottle> It is quite incredible, nixos workflow is very smooth, very easy to use
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #93631 → k2pdfopt: 2.51a -> 2.53 → https://git.io/JJWNh
<{^_^}> [nixpkgs] @AndersonTorres pushed 3 commits to master: https://git.io/JU3LY
redji12 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #96523 → netdata: 1.23.2 -> 1.24.0 → https://git.io/JUIix
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JU3Lo
Kritnich has quit [Quit: Bye bye.]
Kritnich has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drewr has quit [Ping timeout: 240 seconds]
ivunchata has quit [Remote host closed the connection]
iqubic` has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
<{^_^}> [nixpkgs] @Mic92 merged pull request #96567 → gocryptfs: 1.7.1 -> 1.8.0 → https://git.io/JULOi
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JU3tI
drewr has joined #nixos
kreyren has quit [Ping timeout: 240 seconds]
kreyren_ has joined #nixos
euandreh has joined #nixos
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
rgrau has quit [Ping timeout: 240 seconds]
superherointj has joined #nixos
<superherointj> I have seen many 'result' folders (as symlink) appear in several places in my system. Like: in `~/` and `/etc/nixos/`. Can I delete it and not worry about it? I am not sure what causes it to appear.
<Extends> it appears when you try to build something manually (like a derivation for instance) so you can usually delete it if it is useless
inkbottle has quit [Ping timeout: 240 seconds]
<V> yeah, it's just a symlink into the store
<V> it will remove a gc root though
<V> i.e. whatever it pointed can then be gc'd
<superherointj> Should I garbage collect after removing it?
<V> well, if you don't care about any of those results, gcing would free some space up
<superherointj> Thanks.
<V> if you have stuff in /etc/nixos it sounds like you did nix-build on nixos
<V> so you probably have some fairly hefty space savings coming your way
<V> er, s/nix-build on nixos/nixos-rebuild build/
<{^_^}> [nixpkgs] @tokudan opened pull request #97044 → gnupg: 2.2.21 -> 2.2.23 [security] → https://git.io/JU3qc
<{^_^}> [nixpkgs] @jtojnar opened pull request #97045 → netpbm: 10.89.1 → 10.91.2 → https://git.io/JU3ql
superherointj has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @jtojnar pushed to master « netpbm: clean up »: https://git.io/JU3q0
cript0nauta has joined #nixos
criptonauta_ has quit [Read error: Connection reset by peer]
cript0nauta has quit [Remote host closed the connection]
cript0nauta has joined #nixos
<{^_^}> [nixpkgs] @fooker closed pull request #96637 → concourse-bin: init at 6.5.1 → https://git.io/JULjT
cript0nauta has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @risicle closed pull request #93882 → python37Packages.asdf: 2.6.0 -> 2.7.0 → https://git.io/JJRRP
cript0nauta has joined #nixos
lotharn has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
danpker has joined #nixos
lotharn has joined #nixos
<{^_^}> [nixpkgs] @maralorn merged pull request #95369 → hasura: 1.2.1 -> 1.3.1-beta.1 → https://git.io/JJ7I2
<{^_^}> [nixpkgs] @maralorn pushed 2 commits to haskell-updates: https://git.io/JU3qD
cript0nauta has quit [Remote host closed the connection]
cript0nauta has joined #nixos
lotharn has quit [Client Quit]
lotharn has joined #nixos
tobiasBora0 has joined #nixos
<energizer> having an issue installing a poetry package `pendulum` https://bpa.st/FIGQ
<{^_^}> [nixpkgs] @Ma27 opened pull request #97046 → hydra-unstable: 2020-08-04 -> 2020-09-02 → https://git.io/JU3qh
lotharn has quit [Client Quit]
lotharn has joined #nixos
est31 has quit [Ping timeout: 240 seconds]
boxscape has quit [Quit: Connection closed]
est31 has joined #nixos
boxscape has joined #nixos
mariatsji has joined #nixos
dguibert has quit [Ping timeout: 245 seconds]
<pjt_tmp> hi! I'm building a thing with a painfully large set of deps, and want to pin the longest-taking ones to the store. How can I log that information?
<pjt_tmp> Right now I just have something like "watch -n 10 nix-top -1 >> log.txt"
<pjt_tmp> and will later do some sed magic to find the duration of each thing
<pjt_tmp> there's probably a way to make that less painful, right?
<energizer> pjt_tmp: there are some Nix github issues about logging for this purpose, idk if they made any progress
<energizer> adisbladis: do i need to patch poetry2nix's pip to include poetry? https://bpa.st/FIGQ
mariatsji has quit [Ping timeout: 260 seconds]
<pjt_tmp> energizer: that would be nice yeah. I don't suppose you know of some bash that'd make this less awkward?
fresheyeball has quit [Quit: WeeChat 2.7.1]
pkern has joined #nixos
<energizer> ,locate bin/loop
<{^_^}> Found in packages: loop
<energizer> pjt_tmp: ^
<pjt_tmp> hm
<pjt_tmp> one install later...
<pjt_tmp> yeah that could help
<pjt_tmp> oh, just thought of something! nix-top --json would be a nice thing.
<pjt_tmp> time to file a feature request
<energizer> structured logs should be built into nix, not a third party polling tool
<pkern> Hey. If I'm on nixos-20.03 and want just a single package from unstable, how would I do that? I added the channel per https://discourse.nixos.org/t/installing-only-a-single-package-from-unstable/5598 and now it seems to build a ton of derivations that looks like an upgrade...
<dminuoso> What would that structured logs even contain, energizer?
<pkern> And what I actually want to do is run a Terraria server with the latest build, but it also looks like there's no way to specify the package in the service defintion.
<energizer> dminuoso: "even"?
<{^_^}> [nixpkgs] @mweinelt merged pull request #96863 → zigbee2mqtt: 1.14.2 -> 1.14.3 → https://git.io/JUqAO
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JU3mQ
Extends has quit [Remote host closed the connection]
<dminuoso> energizer: I have my doubts logging on the nix implementation itself is sensible.
noonien has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #97047 → stdenv/adapters.nix: add isStatic when static stdenv adapter is used → https://git.io/JU3mN
<energizer> dminuoso: daemons are the right place to log. any other place will miss short-lived events.
<cole-h> pjt_tmp: You could try `nix-build-uncached`? Might help.
<pjt_tmp> dminuoso: some nice json with a well-defined schema would be good. Easy to play with via jq.
<pjt_tmp> cole-h: The thing I'm building and its deps aren't in any cache, so I can't quite see what I'd do with this here.
redji12 has quit [Remote host closed the connection]
<pjt_tmp> my main goal is to pin the things that take the longest to build
<pjt_tmp> shoving them up onto cachix etc is a 2ndary step
thc202 has quit [Ping timeout: 240 seconds]
pkern has quit [Quit: leaving]
<cole-h> matthewbauer: You know what would make me happy? Applying De Morgan's Law to `hasDynamicLoader` :D
<cole-h> Then it would only be 3 characters added, instead of 5 ;^)
sgrunert has quit [Remote host closed the connection]
ingenieroariel has quit [Remote host closed the connection]
toastyavocados has joined #nixos
tokudan has quit [Remote host closed the connection]
chkno has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #96269 → treewide: convert patch series files to Nix expressions → https://git.io/JUU0K
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/JU3YR
<toastyavocados> With the minimal NixOS image for a new installation of the OS, is the systemctl NetworkManager enabled by default?
tokudan has joined #nixos
tokudan has quit [Remote host closed the connection]
<pjt_tmp> toastyavocados: I've used it before and am *pretty* sure it is.
<toastyavocados> Ok thanks!
tokudan has joined #nixos
<pjt_tmp> not totally sure though. what would I have noticed if it wasn't?
KarlJoad has joined #nixos
<pjt_tmp> I know that wpa_supplicant isn't by default for sure, but that's abit less relevant
<{^_^}> [nixpkgs] @bluecmd opened pull request #97048 → nixos/manual: luks entries are auto-detected → https://git.io/JU3YV
<chkno> toastyavocados: It doesn't appear to be: nix-instantiate --eval -E 'with import <nixpkgs> {}; builtins.hasAttr "NetworkManager" (pkgs.nixos { }).config.systemd.services' => false.
<chkno> nix-instantiate --eval -E 'with import <nixpkgs> {}; builtins.hasAttr "NetworkManager" (pkgs.nixos { networking.networkmanager.enable = true; }).config.systemd.services' => true
malook has joined #nixos
<chkno> toastyavocados: Though possibly pkgs.nixos {} is more minimal than you meant.
nature has quit [Ping timeout: 265 seconds]
<toastyavocados> I meant the minimal installation CD available here: https://nixos.org/download.html
<toastyavocados> chkno is the second command you posted how I enable it?
<cole-h> This file has all the imported modules for the minimal CD
<toastyavocados> cole-h thanks!
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maier has joined #nixos
alp has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 opened pull request #97049 → [20.03] nixUnstable: pre20200721_ff314f1 -> pre20200829_f156513, hydra-unstable: 2020-08-04 -> 2020-09-02 → https://git.io/JU3Yd
alp has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/fa3fb57d322 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fa3fb57d322 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<grfn> I am led to believe that there exists somewhere a "what package has this file" search engine
<grfn> does anyone know what that is?
<chkno> toastyavocados: So the minimal CD doesn't have NetworkManager on by default, but the graphical CD does: nix-instantiate --eval -E 'with import <nixpkgs> {}; builtins.hasAttr "NetworkManager" (pkgs.nixos { imports = [<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-base.nix>];}).config.systemd.services' => false. But replace installation-cd-base.nix with installation-cd-graphical-base.nix & you get
<chkno> true.
<grfn> specifically looking for a "PythonExtensions" package, which is used here: https://github.com/Blosc/python-blosc/blob/master/CMakeLists.txt#L3
maier has quit [Ping timeout: 260 seconds]
<V> grfn: ,locate + ,find
<grfn> not sure what you mean
<pjt_tmp> ,locate lol
<{^_^}> Found in packages: oh-my-zsh
<pjt_tmp> huh. didn't expect that
<grfn> ,locate pythonextensions-config.cmake
<{^_^}> Couldn't find in any packages
<V> grfn: you're looking for scikit-build, I think
<grfn> ,locate PythonExtensionsConfig.cmake
<{^_^}> Couldn't find in any packages
<grfn> V: hmm, doesn't seem to do it
<grfn> already had it in propagatedBuildInputs, moved it to nativeBuildInputs and that made no difference
<simpson> grfn: I think that it comes from scikit-build.
<{^_^}> [nixpkgs] @jonringer merged pull request #96986 → svlint: init at 0.4.7 → https://git.io/JUO3G
<{^_^}> [nixpkgs] @jonringer pushed commit from @trepetti to master « svlint: init at 0.4.7 »: https://git.io/JU3OU
<V> simpson: <V> grfn: you're looking for scikit-build, I think
<pjt_tmp> ,locate python37Packages.pythonExtensionsConfig.cmake
<{^_^}> Couldn't find in any packages
<{^_^}> [nixpkgs] @jonringer merged pull request #95983 → bambootracker: 0.4.3 -> 0.4.4 → https://git.io/JUvYC
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JU3OT
<pjt_tmp> hm
<hodapp> a fellow machine learning learner?
<chkno> grfn: https://github.com/bennofs/nix-index also exists.
<V> v@february /n/s/d947pkbl4nvf3cc7z9qi6s3qybb4qg4z-python3.7-scikit-build-0.11.1> fd | rg pythonextensions
<V> lib/python3.7/site-packages/skbuild/resources/cmake/UsePythonExtensions.cmake
<V> lib/python3.7/site-packages/skbuild/resources/cmake/FindPythonExtensions.cmake
<grfn> hodapp: a bit, but mostly maintainer of tooling for machine learning engineers
<grfn> hmmmm
<grfn> what is this package expecting then
<hodapp> grfn: I'm sorry to hear that.
<grfn> hodapp: haha yeah. it's a living
<hodapp> especially if you must touch TensorFlow.
<grfn> I must.
<V> UsePythonExtensions.cmake:25 gives find_package(PythonExtensions) under 'example usage'
<hodapp> ow.
<V> so
<grfn> hmm V sshould I just patch this package to add `include(${scikit-build}/lib/...)` at the top of CMakeLists?
<grfn> or is there a better way to do that
gustavderdrache has quit [Quit: Leaving.]
sbetrium has joined #nixos
<V> Not sure, I'm not a cmake/python packaging expert
<grfn> hah.
<V> but if you grep through nixpkgs for find_package you do find a number of places where that kind of thing is patched
<grfn> I'm almost one of those, I've just never run into scikit-build before
<grfn> ah ok cool
<grfn> I'll give that a shot
<V> I would like to think there is a better way
<grfn> I feel like I have that thought about 1 in 5 times I package something for nixpkgs
<V> I have that thought over half the times I do anything in nixpkgs
arjen-jonathan has joined #nixos
<chkno> How do I use builtins.filterSource (or lib.cleanSourceWith) inside a flake? Everything is already store paths during flake evaluation, and filterSource refuses to operate on store paths ("cannot refer to other paths"). builtins.unsafeDiscardStringContext makes it work. How scared of the "unsafe" should I be?
<grfn> blergh, that doesn't work
<grfn> still no FindPythonExtensions.cmake
<grfn> oh I thin maybe I need to add it to CMAKE_MODULE_PATH
Church- has quit [Ping timeout: 258 seconds]
zecnate has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #97050 → python3Packages.catalogue: fix expression → https://git.io/JU3OV
<zecnate> Hello. I am interested in using nix as a reproducible or deterministic build system within Docker. The idea is that for users who already have docker (but not nix), they can produce bitwise identical binaries as any other users for statically compiled linux binaries. Is this a plausible use case?
eoli3n_ has quit [Ping timeout: 256 seconds]
<immae> zecnate: if I understand correctly your question, using nix inside of docker requires --priviledged, which is a dangerous flag
alp has quit [Ping timeout: 272 seconds]
bert0x[m] has joined #nixos
<{^_^}> [nixpkgs] @vcunat opened pull request #97051 → systemd: build libudev.so "separately" → https://git.io/JU3Od
bert0x[m] has left #nixos [#nixos]
<grfn> zecnate: that's pretty close to what I do at work
<zecnate> immae: the use of docker in this case isn't for security, it's for reproducibility.
<zecnate> @grfn: Good to know that at least some others have a similar use case.
<immae> yes, what I meant is that your users may not like it :)
erasmas has quit [Quit: leaving]
<zecnate> The users are running an arbitrary build system already.
Church- has joined #nixos
<zecnate> @grfn would any of your system at work be open source, per chance, so I can learn from examples?
<grfn> zecnate: it's not but I want to make it
<{^_^}> [nixpkgs] @jonringer merged pull request #96940 → cordless: init at 2020-08-30 → https://git.io/JUYOC
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JU33m
<{^_^}> [nixpkgs] @jonringer merged pull request #94506 → honggfuzz: 2.2 -> 2.3.1 → https://git.io/JJVX8
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JU33G
<zecnate> I'm defining a .nix file beginning with `{ pkgs ? import (fetchTarball …) {} }`... How can I tell nix to perform the fetch/unpacking that `fetchTarball` does without installing a derivation?
alp has joined #nixos
spudly has quit [Ping timeout: 256 seconds]
malook has quit [Quit: malook]
Church- has quit [Ping timeout: 258 seconds]
Church- has joined #nixos
noudle has quit []
<chkno> zecnate: Nix only ever writes stuff to disk by building derivations. If you don't want it to show up in the main /nix/store, you can set NIX_STORE_DIR (and possibly other vars mentioned at the bottom of `man nix-store`) to have it write somewhere else.
<{^_^}> [nixpkgs] @maralorn opened pull request #97052 → haskellPackages.ghcide: Fix build → https://git.io/JU336
<zecnate> Because I'm running nix inside a nixos docker image, I want to fetch/build all dependencies of my project at one shell command, then after that build my project. I'm exploring doing a project build as a derivation.
<grfn> zecnate: nix-build -A env is what I do
<zecnate> (Splitting out those two steps is a caching convenience for devs who encounter build errors.)
<zecnate> @grfn Thanks. I don't yet understand what `-A` means and what `env` is.
<grfn> -A is short for "attribute"
<zecnate> If you can't tell, I'm just now learning nix. ;-)
<grfn> haha no worries
<colemickens> (you could build the container itself with Nix, too, btw, maybe down the line...)
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<zecnate> The next issue I run into is that my derivation attempts to set `src` to a path to a directory, which is the source of my project I want to build. So the nix expr lives in the same repo with the source. It seems like `src` always expects to fetch and unpack a tarball, though.
<V> zecnate: are you using quotes around the path
<grfn> zecnate: doUnpack = false;
<grfn> or
<grfn> dontUnpack = true;
<grfn> ?
<grfn> one of those
Church- has quit [Quit: WeeChat info:version]
<grfn> or unpackPhase = "true"
<grfn> whatever works
<chkno> zecnate: A common idiom when the .nix file lives inside its own project's source is to use src = lib.cleanSource ./.;
<{^_^}> [nixpkgs] @zowoq merged pull request #97035 → buildah: 1.15.1 -> 1.15.2 → https://git.io/JU3JN
<{^_^}> [nixpkgs] @zowoq pushed commit from @saschagrunert to master « buildah: 1.15.1 -> 1.15.2 »: https://git.io/JU33d
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
sbetrium has quit [Quit: sbetrium]
aleph- has joined #nixos
<V> grfn: unpackPhase was deprecated in preference of dontUnpack
sbetrium has joined #nixos
o1lo01ol_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<chkno> zecnate: Here's a concrete, small example of building a package from inside itself: https://github.com/chkno/snek . See also https://www.reddit.com/r/NixOS/comments/8tkllx/standard_project_structure/ for a much larger example.
spudly has joined #nixos
ardumont has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
hyper_ch has quit [Quit: ZNC 1.8.1 - https://znc.in]
hyper_ch has joined #nixos
ericnoan has quit [Ping timeout: 258 seconds]
julm has quit [Ping timeout: 260 seconds]
arjen-jonathan has quit [Ping timeout: 240 seconds]
ericnoan has joined #nixos
ericnoan has quit [Ping timeout: 258 seconds]
wolfshappen has quit [Quit: No Ping reply in 210 seconds.]
ardumont has joined #nixos
ericnoan has joined #nixos
wolfshappen has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #97046 → hydra-unstable: 2020-08-04 -> 2020-09-02 → https://git.io/JU3qh
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JU3GB
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97053 → welle-io: 2.1 -> 2.2 → https://git.io/JU3GF
philr has joined #nixos
disasm has quit [Ping timeout: 264 seconds]
disasm has joined #nixos
sbetrium has quit [Quit: sbetrium]
alexherbo22 has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo22 is now known as alexherbo2
sbetrium has joined #nixos
shibboleth has quit [Quit: shibboleth]
zecnate has quit [Remote host closed the connection]
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dali99 opened pull request #97054 → vsci: init at 7.0.12 → https://git.io/JU3Zn
<{^_^}> [nixpkgs] @tiagolobocastro opened pull request #97055 → p3x-onenote: init at 2020.10.111 → https://git.io/JU3ZW
alexherbo2 has quit [Ping timeout: 260 seconds]
cosimone_ has quit [Client Quit]
julm has joined #nixos
cosimone has joined #nixos
kreyren_ has quit [Ping timeout: 240 seconds]
xcmw has joined #nixos
Rusty1 has joined #nixos
ntwaaci^ has quit []
tsrt^ has joined #nixos
<bqv> ,locate lspci
<bqv> ,locate lsblk
<bqv> ,locate lsmod
<{^_^}> Found in packages: toybox, busybox, pciutils
<{^_^}> Found in packages: utillinux, libuuid.bin, zfsUnstable, utillinux.bin
<{^_^}> Found in packages: kmod, toybox, busybox
iqubic has joined #nixos
<iqubic> So, I'm trying to partition my SSD for a new NixOS installation. How shall I go about doing this? I want a uefi boot partition, a 32G swap and the rest should be allocated to zfs.
<jlv> Anyone know a guide for setting up Kerberos in NixOS?
davidv7 has quit [Ping timeout: 264 seconds]
<jlv> Just ignore the part about formatting as ext4 use ZFS instead.
<iqubic> jlv: That's all fine and good, but I'm not sure what to do with the partition I'm going to dedicating to ZFS.
<jlv> iqubic: turn it into a ZFS pool I suppose. I'm not 100% sure.
sbetrium has quit [Quit: sbetrium]
maier has joined #nixos
<iqubic> What does the `-8GiB` do in this command: `parted /dev/sda -- mkpart primary 512MiB -8GiB`?
<jlv> iqubic: it leaves the last 8G untouched. If you want 32G swap, change that to `-32GiB`.
<iqubic> Sure.
<trepetti[m]> its been like this for almost an hour
<trepetti[m]> stuck in a weird (not acutally compiling) place
<iqubic> Looks like my resulting partition is not properly aligned for best performance. Is that an issue?
sbetrium has joined #nixos
<iqubic> Because apparently 433009328s % 2048s != 0s
maier has quit [Ping timeout: 246 seconds]
cosimone has quit [Quit: Quit.]
<cole-h> trepetti[m]: Looks like it worked? It has an out path.
<trepetti[m]> cole-h: huh, interesting. the arch build on the right most there looks stopped for me and the check on the PR is stuck still
<{^_^}> #97021 (by trepetti, 9 hours ago, open): svls: init at 0.1.17
ahciada has quit [Remote host closed the connection]
ahciada has joined #nixos
<cole-h> trepetti[m]: It's waiting for an aarch64 builder. There are 14 in-progress builds and 29 waiting, so it will take a little bit.
<jlv> iqubic: I think there is a `parted` flag or option you can use to align the partition while you are creating it.
<trepetti[m]> oooh, gotcha
<cole-h> (Note the link you sent was for the x86_64-linux build, which did succeed)
<jlv> Most partitioning tools should have an option for alignment.
<trepetti[m]> sorry, i hadnt seen the mid-way interrupted message before
<trepetti[m]> yes, true
<iqubic> Which flag might that be, jlv?
<trepetti[m]> thanks!
jumper149 has quit [Quit: WeeChat 2.9]
<jlv> iqubic: I think it's `--align=opt`
gv has quit [Quit: gv]
gv has joined #nixos
<jlv> Although. I think I've had situations where I still got an alignment notice even while using that flag. It's been a while since I did a fresh install.
gv has quit [Remote host closed the connection]
gv has joined #nixos
mbrgm_ has joined #nixos
mbrgm_ has quit [Changing host]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 244 seconds]
mbrgm_ is now known as mbrgm
onewayonelife[m] has joined #nixos
gv has quit [Remote host closed the connection]
gv has joined #nixos
<{^_^}> [nixpkgs] @ianmjones opened pull request #97057 → snippetpixie: 1.3.3 -> 1.4.1 → https://git.io/JU3nE
gv has quit [Remote host closed the connection]
<iqubic> parted was confusing me, so I just used cfdisk instead.
gv has joined #nixos