worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
shibboleth has quit [Quit: shibboleth]
<ogle__> tilpner: yeah I was hoping for something more automagical akin to patchShebangs.
<{^_^}> [nixpkgs] @xrelkd opened pull request #73890 → youtube-dl: 2019.11.05 -> 2019.11.22 → https://git.io/Je6bv
gagbo has quit [Ping timeout: 240 seconds]
<tilpner> I'm not aware of something like that
<ogle__> :(
<ogle__> I suppose I will try scripting something
ogle__ has left #nixos [#nixos]
<jared-w> I never realized how sinful my scripts were until I started using nixos. "Oh use /bin/blah instead of relying on the path. That'll make it more robust." Hah. Jokes.
gagbo has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #73891 → [staging] pythonPackages.setuptools: 41.4.0 -> 41.6.0 → https://git.io/Je6bJ
bvdw has quit [Read error: Connection reset by peer]
magneticduck has quit [Remote host closed the connection]
bvdw has joined #nixos
<samueldr> extremely robust, for running on that one system where the binary is at that location, if the binary is not ever changed for another one
selfsymmetric-mu has joined #nixos
m0rphism has quit [Ping timeout: 252 seconds]
<jared-w> Indeed. Bit of a misguided solution for scripts that are trying to be portable, though... Whoops. I've gotten much better at that for obvious reasons :p
mexisme has joined #nixos
<jared-w> although ironically I first wised up about this the first time I tried to run a few of my "portable scripts" in macOS
xkapastel has quit [Quit: Connection closed for inactivity]
jgeerds has quit [Ping timeout: 252 seconds]
alexherbo2 has quit [Ping timeout: 276 seconds]
fusion809 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #73881 → glib.setupHook: fix make_glib_find_gsettings_schemas → https://git.io/Je656
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/Je6bl
jluttine has quit [Ping timeout: 250 seconds]
infinisi1 is now known as infinisil
<{^_^}> [nixpkgs] @jonringer merged pull request #72841 → python3Packages.monty: 1.0.4 -> 3.0.2 → https://git.io/Je2p1
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.monty: 1.0.4 -> 3.0.2 »: https://git.io/Je6b4
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
drakonis_ has joined #nixos
fusion809 has joined #nixos
fusion809 has quit [Read error: Connection reset by peer]
fusion809 has joined #nixos
halfbit has quit [Ping timeout: 276 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2019-10-30 -> 2019-11-21 »: https://git.io/Je6bK
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 276 seconds]
o1lo01ol1o has joined #nixos
werner291 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
ixxie has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
wildtrees has quit [Quit: Leaving]
werner291 has quit [Quit: werner291]
paprika has joined #nixos
<Nazral> Hi
<Nazral> I installed gcc but I get the following error
<Nazral> Sanity check compile stderr:
<Nazral> gcc: error trying to exec 'as': execvp: No such file or directory
paprika has quit [Client Quit]
<Nazral> not sure how can I fix this
drakonis has joined #nixos
boogiewoogie has quit [Remote host closed the connection]
<clever> ,libraries Nazral
<{^_^}> Nazral: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<Nazral> thank you
ddellaco1 has joined #nixos
slack1256 has joined #nixos
justanotheruser has joined #nixos
drakonis1 has joined #nixos
Rusty1 has joined #nixos
drakonis_ has quit [Ping timeout: 276 seconds]
drakonis1 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #73893 → python3Packages.portalocker: 1.5.1 -> 1.5.2 → https://git.io/Je6Nc
peanutbutter144 has quit [Quit: No Ping reply in 180 seconds.]
peanutbutter144 has joined #nixos
zeta_0 has joined #nixos
<zeta_0> i want to install nixos unstable on my raspberry pi 4, but i am not sure if i should install unstable or install stable and upgrade it to unstable ?
<zeta_0> also if there is an x, does that mean that the specific nixos version is broken(doesn't build)?
nexgen3 has quit [Quit: Leaving]
<zeta_0> i just read in the documentation that upgrading will not work, so i think i am going to directly install nixos unstable
<samueldr> if you're not customizing anything, there won't be a raspberry pi 4 sd image in stable
<samueldr> the x means different things, depending, hovering over it gives some more details
<samueldr> one timed out, the other had a dependency that failed to build
<samueldr> in both cases there won't be an image built :)
soju has quit [Quit: Connection closed for inactivity]
<zeta_0> samueldr: so i need to use the latest successful build, right ?
<samueldr> any successful build is fine
<samueldr> you can always upgrade
<samueldr> but yeah, latest successful is likely what you want
<samueldr> >> i just read in the documentation that upgrading will not work
<samueldr> where did you read that? what passage?
<samueldr> that seems wrong to me at a glance
drakonis1 has joined #nixos
<drakonis> i finally did it, i have nixos on my lappy
<zeta_0> samueldr: oh i think that's for `ARM` my mistake
<drakonis> life is grand.
<{^_^}> [nixpkgs] @jonringer opened pull request #73894 → python3Packages.google_cloud_translate: 1.7.0 -> 2.0.0 → https://git.io/Je6Ni
galaxie has quit [Ping timeout: 260 seconds]
<zeta_0> drakonis: it's worth it, nixos is an amazing distro, and by lappy you meant laptop right ?
<drakonis> i've been using it on and off for years
<drakonis> and yes laptop
<drakonis> i haven't gotten around setting it up on my laptop until now
<drakonis> otherwise i've been using it for a while now
<{^_^}> [nixpkgs] @suhr opened pull request #73895 → cue: 0.0.11 -> 0.0.14 → https://git.io/Je6NH
<zeta_0> drakonis: cool, i switched from debian to nixos a couple months ago, nix is great
<jared-w> Nixos legitimately annoyed me. I tried to get it setup once a while ago and over-complicated it and it didn't work right. This time around it was painless and I opted to just give up and use kde/plasma until I had the time to customize it more rather than getting the configs perfect first. Needless to say, having an install working in 20 minutes more flawlessly than your lovingly tweaked WM configs is very annoying.
<jared-w> Pffh.
xkapastel has joined #nixos
<samueldr> now try doing the same on your phone
<drakonis> pfft ricers
red[evilred] has joined #nixos
<red[evilred]> H haha
<jared-w> wat did u just say about me? I'll have you know I have hundreds of lines in my neovim config. My wm brings all the boys to the yard ... /pasta
galaxie has joined #nixos
<jared-w> I do want to get xmonad setup eventually, but also want to try out wayland and there aren't any good wms for wayland yet... *sigh* (well there's sway but I don't like i3 style wms for irrational reasons)
<zeta_0> jared-w: ya nixos was painful for me to install but after that it got better
<jared-w> One of the things that tripped me up for a while is there's a split between people who use channels and people who want their entire config to be _completely_ reproducible and there's an enormous difference between "I wrote my own OS agnostic linux-like-distro in nix lang" and "idk I just installed firefox through configuration.nix and called it a day"
<notgne2> after a while on KDE I just wrote a 900 line home-manager module dubbed "ezpc" paired with a 178 line NixOS module (some external modules I made were used too)
<notgne2> it manages pretty much everything I would want standard across my computers with various toggles
<drakonis> the magic of nixos
<jared-w> nice
<notgne2> including one to switch between wayland and X11 configurations using a toggle, since my desktop has nvidia :(
<zeta_0> jared-w: i am using xmonad in nixos right now, i really like it
danielrf has quit [Remote host closed the connection]
<notgne2> I also went a bit overboard making every themable application be themed based off a single base16 field
<jared-w> I need to put more stuff into home-manager. Right now it sets up git stuff and like a few other things but I have suuuper detailed zsh and neovim configuration setups from my years on Arch, so they're both probably going to be slightly painful to stick in home-manager
<drakonis> i'm glad my laptop works out of the box
<drakonis> arch users huh
<zeta_0> so for my experience with xmonad is much better than gnome(other than having to configure some things manually)
<jared-w> I also have this irrational need to use neovim from the bleeding edge of master and idk quite how to set that up yet. I miss my transparency and other random v0.5dev crap ;-;
<jared-w> zeta_0: yeah xmonad is awesome. Especially for limited screens. I'm also excited cause I've heard it has some of the best multi monitor support vs other tiling wms so that would be sweet
<jared-w> notgne2: I think I saw your configs on r/nixos then because I definitely remember seeing some crazy setup where way too much effort had been put into theming and I appreciated that on a deep level since I also care too much about stupid things like that
<zeta_0> jared-w: ya, xmonad has a lot of flexibility, you can easily use it with multiple monitors
<zeta_0> taking some time for aesthetics is good
o1lo01ol1o has joined #nixos
<zeta_0> samueldr: so what is the difference between: `Latest successful build` and `Latest successful build from a finished evaluation` ?
<zeta_0> samueldr: they seem to look the same ?
<samueldr> they seem to, but they differ by the last four words
jluttine has joined #nixos
<samueldr> the first one, the latest build is always the latest build
<samueldr> it doesn't wait for the full nixpkgs set to be (tried to be) built
<samueldr> if you were to download from a "last successful build" that was extremely fresh, with a lot of rebuilds, you could be installing stuff that has not been rebuilt yet by hydra
work_ has joined #nixos
iqubic has quit [Ping timeout: 276 seconds]
<zeta_0> so in this context, `evaluation` means: that all the nixpkgs can be built with this version, so you know they won't break ?
drakonis has quit [Quit: WeeChat 2.6]
<zeta_0> samueldr: thanks for the info
<samueldr> not really, simply "all packages at that commit"
<zeta_0> samueldr: oh, ok
<samueldr> even if all packages not needed by the sd image fails, but the sd image works, the link would point to it
h0m1 has quit [Ping timeout: 252 seconds]
<zeta_0> so which link would you recommend that i use to install on my raspberry pi 4 ? https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image.aarch64-linux#tabs-links
h0m1 has joined #nixos
<zeta_0> samueldr: i just want to make that i am doing this right, i had many issues when installing nixos on my laptop, so i don't want to struggle installing it on my pi
<jared-w> One thing I've been trying to do is figure out how to build a statically linked haskell project. Specifically, one using the aws-lambda-haskell-runtime library. They have a setup here https://theam.github.io/aws-lambda-haskell-runtime/01-getting-started.html but it's all stack based
<samueldr> zeta_0: from a finished eval is likel to be better
<samueldr> currently both links point to the same image
<{^_^}> [nixpkgs] @jonringer merged pull request #73893 → python3Packages.portalocker: 1.5.1 -> 1.5.2 → https://git.io/Je6Nc
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.portalocker: 1.5.1 -> 1.5.2 »: https://git.io/Je6A3
<zeta_0> samueldr: thanks, sorry for spamming you with so many questions
<zeta_0> samueldr++
<{^_^}> samueldr's karma got increased to 137
<jared-w> I've tried using nh2's static-haskell-nix repo but I end up with a bunch of missing library weirdness and cabal telling me to run cabal update
justanotheruser has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #73894 → python3Packages.google_cloud_translate: 1.7.0 -> 2.0.0 → https://git.io/Je6Ni
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.google_cloud_translate: 1.7.0 -> 2.0.0 »: https://git.io/Je6AG
<notgne2> jared-w: I don't think that was me, I haven't uploaded any of my config publically yet, so far it's just shared between all my devices, my wife, and her brother. though I am very interested to see the post you are referencing to get some more ideas
<jared-w> hmm... gonna look that up then
<zeta_0> jared-w: are you using home.nix ? it's much easier to use that
<colemickens> has there been discussion of hwat nix-shell looks like with flakes?
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<jared-w> notgne2: ahh, it was elvishjerricco's config I remember reading about that did the base16 stuff. https://www.reddit.com/r/NixOS/comments/9aa08b/whats_your_configurationnix_like/e4xuwak/
<jared-w> Doesn't seem like they've uploaded their config to github yet. elvishjerricco pls
justanotheruser has joined #nixos
<notgne2> funny he had the same idea as me with base16, I've found it very fun to be able to change out the colors, rebuild, and watch every application on my system change to fit the theme
<notgne2> so far I'm only theming gtk, codium, kitty, rofi, sway, i3, and waybar, but I plan to add a lot more
<jared-w> zeta_0: I have all of my home-manager stuff shoved inside of my configuration.nix at the moment. It's a dumb solution but I don't hate it yet. It was also convenient to be able to reuse pkgs with the overrides and whatever that I have setup since I attempted to get everything done without actually switching channels in the name of "tru reproducibility"
<jared-w> Time will tell on whether or not I fucked that up :p
<notgne2> it's also as far as I know the simplest way to theme codium at all
<jared-w> notgne2: nice. Getting everything super standard is a really nice feeling.
<notgne2> yes it's been great having all these multiple devices where I can just configure by setting if I want to use wayland, my wallpaper, theme, colorscheme, font, then some random toggles like games and bluetooth
<notgne2> then every application is configured according to all those options automatically
<notgne2> I can't imagine how that would be done without NixOS
<jared-w> suuuuper painfully
<jared-w> Have you seen some of the most-starred dotfiles repos on github?
nuncanada has quit [Ping timeout: 276 seconds]
<notgne2> oh yes, I had a giant dotfiles repo too until one day I worked through every single file and converted it to a nix expr, adding modules for missing applications where needed
<jared-w> Even then, they don't achieve that level of configurability.
<jared-w> Yeah I kinda wanna do that but I also want to keep my dotfiles as close as possible to how they're "supposed" to be written. Idk why. Maybe I just haven't fully drank the koolaid but something bugs me about having a configuration for one tool that's completely inaccessible without some other unrelated tool
<notgne2> next I think I'm going to try and make another module/setting to see how small I can get NixOS (potentially using a different output than an actual NixOS install like I did with Continix) since I have a system with 64MB ram and a 252mhz processor
<elvishjerricco> jared-w: One reason I don't have my config on github is because I keep putting work related stuff in it. Not sure how to hide that from a github repo.
<elvishjerricco> notgne2: Tiny NixOS would be great. I'd love to see how that turns out
<jared-w> elvishjerricco: .gitignore has worked well for me. I've stuck work stuff in a separate file and done an "if this is my work computer source this extra directory" sorta thing.
<elvishjerricco> That's not a bad idea
<jared-w> Then the other directory can actually be a second, private, git repo. Or whatever, really. I always just kept it unmaintained since I've yet to actually use stuff I wrote at one job anywhere else
qubasa_ has joined #nixos
buckley3104 has quit [Quit: The Lounge - https://thelounge.chat]
<jared-w> I've seen similar usages of the idea in other peoples' dotfiles where they'll have multiple private-style things and either just source the private dir, or in each of their separate bits of config they'll source the appropriate private stuff if they need to. Either way.
buckley310 has joined #nixos
boxscape has quit [Remote host closed the connection]
<jared-w> I actually don't have my zsh setup fully public for the same reason. I'm _pretty_ sure there's nothing lying around in there that's sensitive but meh.
<jared-w> although I keep one sensitive alias in my zsh config because of nostalgia. I used to have this setup in college when I admin'd the CS labs: alias door='sshpass -p "ps aux | grep fixme *" ssh -o StrictHostKeyChecking=no root@nfs ./RelayExec64'
<jared-w> it was a hacky POS that would ssh into our rpi we wired into the server door and would unlock the server room from my laptop. Good times, good times
qubasa has quit [Ping timeout: 240 seconds]
<buckley310> I'm trying to apply dconf settings to my user profile... am i even on the right track here? http://ix.io/22uq im sort of copying this: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/display-managers/gdm.nix#L224
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
<evils> will nix use a patch file placed alongside the default.nix?
<buckley310> not automatically
<evils> if i give it a path, is that relative to the default.nix?
<buckley310> if the path is specified inside of default.nix, yes
<evils> hmm, it's not finding it...
<buckley310> idk. post it
chickenbuttscrat has joined #nixos
<buckley310> is that inside of a derivation inside of default.nix?
<evils> kicad/unstable.nix
<{^_^}> [nixpkgs] @jonringer opened pull request #73897 → python3Packages.python-daemon: fix missing dependency → https://git.io/Je6Aw
<buckley310> its possible that you need to specify it without quotes
<buckley310> theres a distinction between strings and paths
<evils> that's it
Miyu-saki has joined #nixos
<evils> buckley310++
<{^_^}> buckley310's karma got increased to 3
<buckley310> :D
<{^_^}> [nixpkgs] @jonringer merged pull request #73796 → pijul: fix build → https://git.io/Je6Je
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « pijul: fix build »: https://git.io/Je6AK
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 245 seconds]
<evils> doh, i didn't find a good example because i did `grep -sir "*.patch"`
<buckley310> ah
<evils> 7 results made me think it just uses patches when they're in the directory
<{^_^}> [nixpkgs] @jonringer opened pull request #73898 → pythonPackages.twine: disable python<=3.5 → https://git.io/Je6AD
ddellaco1 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #73899 → python3Packages.spglib: 1.12.1.post0 -> 1.14.1.post0 → https://git.io/Je6A5
<jared-w> kicad. Now there's a name I haven't heard in a while
<{^_^}> [nixpkgs] @jonringer merged pull request #73889 → python3Packages.pydocstyle: 2.1.1 -> 4.0.1 → https://git.io/Je6F5
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Je6xf
<evils> i've heard nothing but that for the last month xD, my branch works now though :D, close to making a PR for 5.1.5
kleisli has joined #nixos
<jared-w> nice!
<evils> huh, if i open the 7 files individually i don't get any issues
<evils> wrong chat
<jared-w> Got fond memories of randomly placing crap on a pcb and then having it auto-wire and somehow having accidentally made an almost optimal configuration the first time
<{^_^}> [mobile-nixos] @samueldr opened pull request #52 → imageBuilder.makeMBR: Fixes bug with gap → https://git.io/Je6xL
<{^_^}> [mobile-nixos] @samueldr opened pull request #53 → device: Pine64 PinePhone Don't be evil development kit // pine64-dont-be-evil → https://git.io/Je6xO
<evils> jared-w: how did you determine the optimal configuration?
ericsagnes has quit [Quit: WeeChat 2.6]
<evils> have you considered sticking to C89 and single threads?
<evils> wrong chat again xD
ericsagnes has joined #nixos
gagbo has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
rardiol has quit [Ping timeout: 276 seconds]
sb0 has joined #nixos
<jared-w> lol.
<jared-w> evils: honestly, I just showed it to my professor and asked him if he could do it better. He squinted at it for a bit and went "wow, that's pretty good; that's gotta be near optimal or something" and I never really questioned him on it
<jared-w> Looking back, in all honesty it probably wasn't that close to optimal lol
<evils> well, can't argue with a professor
<jared-w> He was a strange case
gagbo has quit [Remote host closed the connection]
<selfsymmetric-mu> How do I get `pyenv`? I don't see one in nixpkgs.
gagbo has joined #nixos
<infinisil> selfsymmetric-mu: pipenv?
<selfsymmetric-mu> infinisil: No, `pyenv`: https://github.com/pyenv/pyenv
<selfsymmetric-mu> Normally I'd just use Nix to configure Python versions, but it doesn't like it when I override the patch version and use virtualenv with it.
<selfsymmetric-mu> infinisil: This is an attempt in Nix, but it doesn't work: https://gist.github.com/matthew-piziak/776f3f3012435b8c9a2fb4e120538f3c
<selfsymmetric-mu> So I'm trying to take a step back.
domogled has joined #nixos
vonfry has joined #nixos
zeta_0 has joined #nixos
<zeta_0> i just burned nixos unstable onto an sd card and placed it into my raspberry pi 4(model B), i am not sure what to do next ?
<evils> is it the aarch64 iso?
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<zeta_0> evils: yes
<zeta_0> samueldr: you there ? i could use your help as well
<evils> sry, missed it's a 4, my next suggestion was going to be "connect power and a screen"
<zeta_0> evils: i already have the everything setup, i am just not sure how to install correctly, is it just like installing nixos on a laptop, or are the steps different ?
<evils> i think i followed this for my rpi 3B+, not sure if that's still valid for the 4, https://github.com/zupo/nix
<evils> assuming it boots, i'm guessing it should be valid
gagbo has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
<zeta_0> evils: thanks, this will really help, it's going to take me a while though
<zeta_0> evils++
<{^_^}> evils's karma got increased to 1
mexisme has quit [Ping timeout: 276 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
xkapastel has quit [Quit: Connection closed for inactivity]
gagbo has quit [Ping timeout: 276 seconds]
gagbo has joined #nixos
bgupta has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<bgupta> Curious is Macos Catalina supported yet. I saw a great Nix talk and wanted to play, and now see that Catalina may not be supported due to the inability to create /nix on the read-only / fs.
<notgne2> I believe nix 2 supports specifying different store locations, not exactly sure how though
<infinisil> bgupta: I think there's a fix for it by LnL
<clever> notgne2: local?store=/mnt/ only works if you can chroot, and darwin doesnt have chroot support
<clever> notgne2: and recompiling to put /nix/store elsewhere means recompiling EVERYTHING
<clever> notgne2: changing /nix/store also means you cant use nixops to deploy linux
o1lo01ol1o has joined #nixos
jboy has quit [Remote host closed the connection]
jboy has joined #nixos
endformationage has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<kaliumxyz> Is there some memory type which is optimal for the nix store?
<kaliumxyz> like some kinda write once memory with high read speed?
<clever> kaliumxyz: thats basically what you get if you enable fstrim on an ssd, it will pre-erase blocks, so it writes faster
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<kaliumxyz> clever I don't care about write speed that much (except for when I'm doing deployments with nixops or testing stuff, but in that case whats written to the store is actually just testing stuff and should really be kept in memory instead).
halfbit has joined #nixos
<clever> kaliumxyz: most FS's will also keep a read cache, so recently used files stay in ram, but you could force that if you use something like the installer media, where it unionfs's a read-only store with a tmpfs
<kaliumxyz> That sounds pretty interesting.
<clever> but you usually also loose all disk contents on reboot when in such a setup
lovesegfault has joined #nixos
englishm has quit [Excess Flood]
o1lo01ol1o has quit [Remote host closed the connection]
englishm has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
gagbo has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
vonfry has quit [Quit: WeeChat 2.6]
Rusty1 has quit [Quit: Konversation terminated!]
oida has quit [Remote host closed the connection]
oida has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 276 seconds]
slack1256 has quit [Ping timeout: 265 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<lovesegfault> ,search libclang.so
<lovesegfault> ,find libclang.so
<{^_^}> ,find is temporarily unimplemented
<lovesegfault> ,locate libclang.so
<{^_^}> Found in packages: emscriptenfastcomp, llvmPackages.libclang.lib, llvmPackages.clang-polly-unwrapped.lib
ixxie has quit [Ping timeout: 240 seconds]
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @fpletz merged pull request #73886 → nixos/phpfpm: enable PrivateTmp=true → https://git.io/Je6dl
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/Je6pd
zupo has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #73890 → youtube-dl: 2019.11.05 -> 2019.11.22 → https://git.io/Je6bv
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/Je6pF
oxford has quit [Ping timeout: 260 seconds]
oxford has joined #nixos
drakonis1 has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
<NinjaTrappeur> Could somebody with commit rights review https://github.com/NixOS/nixpkgs/pull/73699 ?
<{^_^}> #73699 (by NinjaTrappeur, 3 days ago, open): tests/systemd-networkd-wireguard: migrate to python test runner
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
jgt has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #73901 → glui: fix build → https://git.io/Je6jl
dema has joined #nixos
FRidh has joined #nixos
<laas> does anyone know how to do nested updates of sets?
<laas> in an ergonomic way
<clever> laas: lib.recursiveUpdate
<laas> thanks
<{^_^}> [nixpkgs] @pstch opened pull request #73902 → nixos/lxd: add package options for LXC, LXD and ZFS → https://git.io/Je6ju
<{^_^}> [nixpkgs] @FRidh pushed 93 commits to staging: https://git.io/Je6jz
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #73891 → [staging] pythonPackages.setuptools: 41.4.0 -> 41.6.0 → https://git.io/Je6bJ
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to staging « pythonPackages.setuptools: 41.4.0 -> 41.6.0 »: https://git.io/Je6j2
zupo has quit [Client Quit]
Heirlung has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @jonringer merged pull request #73899 → python3Packages.spglib: 1.12.1.post0 -> 1.14.1.post0 → https://git.io/Je6A5
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.spglib: 1.12.1.post0 -> 1.14.1.post0 »: https://git.io/Je6jV
<{^_^}> [nixpkgs] @FRidh merged pull request #73898 → pythonPackages.twine: disable python<=3.5 → https://git.io/Je6AD
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to master « pythonPackages.twine: disable python<=3.5 »: https://git.io/Je6jw
<{^_^}> [nixpkgs] @vbgl merged pull request #73713 → ocaml-sodium: init at 0.6.0 → https://git.io/JeK04
<{^_^}> [nixpkgs] @vbgl pushed commit from @rixed to master « ocaml-sodium: init at 0.6.0 »: https://git.io/Je6jP
<{^_^}> [nixpkgs] @FRidh pushed 12 commits to release-19.09: https://git.io/Je6jD
<kaliumxyz> how much does nix benefit from having the store on an NVMe drive?
mniip has quit [Ping timeout: 608 seconds]
<tilpner> kaliumxyz: As opposed to spinning metal or a SATA SSD?
philr has joined #nixos
Heirlung has joined #nixos
<pistache> in my case, the switch from a SATA SSD to the same SSD in NVMe didn't make much difference
<pistache> it depends on the SSD specifications, some are quite beefy and make good use of the NVMe bandwidth, others not so much
lovesegfault has quit [Ping timeout: 246 seconds]
<kaliumxyz> I'm a noob on this but does nix do paralel writes when writing to the nix store?
<kaliumxyz> tilpner as opposed to anything.
<pistache> if it's read performance you're interested in, just having more RAM (more cache) can be better
<kaliumxyz> best case non-NVMe
<tilpner> kaliumxyz: Having any kind of storage is vastly preferable to having none
Diagon has quit [Quit: Leaving]
<kaliumxyz> I was looking into it because a dedicated volume for the nix store would make it last pretty much forever as flash memory doesn't wear out that quickly with little writes and tons of reads.
<kaliumxyz> tilpner as opposed to best-case non-NVMe
Jackneill has joined #nixos
<tilpner> It doesn't make too much of a difference
<tilpner> A good SATA SSD is already pretty usable
<tilpner> But your workload may disagree with me
mniip has joined #nixos
<tilpner> If you use it as a build server, an NVME drive might very well be worth the money
<pistache> I'd recommend filling the server with RAM before investing in expensive NVMe drives
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
doublex__ has joined #nixos
Ariakenom has joined #nixos
Ariakenom has quit [Client Quit]
doublex_ has quit [Ping timeout: 245 seconds]
alp- is now known as alp
zupo has joined #nixos
reactormonk has joined #nixos
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @jonringer closed pull request #72825 → [staging] python3Packages.pytest: 5.2.2 -> 5.3.0, python3Packages.hypothesis: 4.41.0 -> 4.45.1 → https://git.io/Je2Qn
captn3m0 has quit [Ping timeout: 252 seconds]
captn3m0- has joined #nixos
<reactormonk> I'm getting a weird combination of circumstances here, one of the pieces is the .so provided by nix, maybe someone here has seen this before? GhcException on cradle initialisation: "can't load .so/.DLL for: /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libpthread.so (/nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libpthread.so.0: undefined symbol: __libc_vfork, version
<reactormonk> GLIBC_PRIVATE)"
<{^_^}> mpickering/haskell-ide-engine#63 (by reactormonk, 13 hours ago, open): GhcException on cradle initialisation: can't load .so/.DLL
domogled has joined #nixos
chloekek has joined #nixos
Ariakenom has joined #nixos
jgt has joined #nixos
domogled has quit [Read error: Connection reset by peer]
<viric> Hello nixos
<viric> If I refer to a path (./my.patch) in nix, is there any way I can ensure the file gets into the store without execution bit?
<clever> viric: it will get whatever the execute state is for the original my.patch
<viric> In a way that hashes are as if the file were without execution bit. It doesn't work copying the file to the store and removing the bit.
<viric> clever: I know. I want the hashes not to depend on the execute bit of the file
<yorick> viric: you're going to have to read/write the file
<viric> (as if execute bit weren't there, explicitly)
<clever> why does the file sometimes have the execute bit?
<viric> clever: windows git checkoout vs cygwin git checkout
<clever> ah
<viric> yorick: that won't work, the hashes still will be based on the original bit
<clever> i dont think theres much you can do about that
<viric> It's so annoying
<clever> just make sure its always cloned with the right tool
<viric> I can't choose the tool
<clever> label it as user error when the wrong tool is chosen
<yorick> viric: if you do builtins.toFile (builtins.readFile ..)?
<viric> I'd need a nix operation to take the file with nix-code explicit bit
<viric> yorick: then it will be based on contents?
<yorick> yes
<clever> `builtins.toFile (builtins.readFile ..)` could force it to never be executable
domogled has joined #nixos
<clever> but only works for files with pure text content
<viric> it's a .patch
<clever> so it will work fine in this case
<viric> Will it keep bit-to-bit?
<clever> yeah
<viric> as in content bits
<viric> :)
<{^_^}> [nixpkgs] @jonringer opened pull request #73903 → kde-frameworks.extra-cmake-modules: allow for unset qtPluginPrefix → https://git.io/Jeie2
<viric> I'd need to get the filename of a file...
noudle has joined #nixos
xkapastel has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.6]
<viric> clever: yorick: the file is generated fine, byte to byte, no exec bit, but its hash is different :(
<clever> viric: is the name the same?
<viric> yes
<viric> 3976 Dec 31 1969 /nix/store/z256jkhdr4j8cyx4jhqn15z9rwzvzn9h-qt59_quicktest_main_with_setup.patch
<clever> not sure then
<clever> and the other storepath with ./foo?
<viric> 3976 1 gen. 1970 /nix/store/jyjr2g3iq27g6p0cbrj3gwp5aw2pc05q-qt59_quicktest_main_with_setup.patch
<viric> (timezone differences in computers)
<clever> and something like md5sum agrees they are identical?
<viric> yes
<clever> what does `nix-store --query --deriver` say on each?
<viric> the toFile says unknown-deriver, the original path not valid. damn it
isHavvyGhosting has quit [Read error: Connection reset by peer]
lorimer has quit [Read error: Connection reset by peer]
isHavvyGhosting has joined #nixos
lorimer has joined #nixos
buckley310 has quit [Quit: Ping timeout (120 seconds)]
adamtkh has quit [Quit: Ping timeout (120 seconds)]
buckley310 has joined #nixos
<clever> viric: they should both say unknown-deriver i believe
adamtkh has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #73788 → nixos/nextcloud: add occ in path of nextcloud-setup → https://git.io/JeKh6
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeieN
m0rphism has joined #nixos
o1lo01ol1o has joined #nixos
<jjakob> so the error yesterday that I got with nix-env "error: executing '': no such file or directory" was due to unset PAGER
<viric> clever: let me find the invalid thing
<jjakob> simply export PAGER=cat fixed it (or install less and set PAGER=less)
kleisli has quit [Ping timeout: 240 seconds]
<viric> clever: mh I have the final store path built, and I cannot ask nix to 'rebuild' so the patch gets into the store
<jjakob> it would be nice if nix-env printed a more useful error message
<clever> viric: remove the root to the thing depending on the patch, and nix-store --delete it
<viric> No no
<viric> it takes 2h to build :)
<{^_^}> [nixpkgs] @worldofpeace opened pull request #73904 → Vala updates → https://git.io/Jeiej
<clever> viric: oh, nix-instantiate must always copy the patch file
<viric> I'll refer to the file in a different expression
cfricke has joined #nixos
<clever> viric: run `nix-store -qR` on the drv, to confirm your looking at the right patch path
cfricke has quit [Client Quit]
<viric> clever: I tried nix-instantiate. Runs fine, but the file is still invalid path
<viric> (although mentioned in the drv!)
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<clever> viric: that doesnt sound right
<viric> ah no wrong path GRMBL
<clever> thats why it didnt sound right!
<viric> Correct, same hash in all now!
<viric> simply before nix-instantiate I had ANOTHER stale file there, and not the correct.
<jjakob> why does installing dnsutils also install bind?
<clever> 14050 dnsutils = bind.dnsutils;
<{^_^}> [nixpkgs] @nlewo merged pull request #73895 → cue: 0.0.11 -> 0.0.14 → https://git.io/Je6NH
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JeivL
<clever> jjakob: dnsutils is part of the bind package
<{^_^}> [nixpkgs] @nlewo closed pull request #73851 → cue: 0.0.11 -> 0.0.14 → https://git.io/Je6Vt
tbenst has quit [Remote host closed the connection]
tbenst has joined #nixos
<jjakob> clever: I see, why though, on most other distros dnsutils is a separate package
<viric> oh no. I take back my last words. Two different hashes in both ends. Same contents, no exec bit in both.
<viric> unknown-deriver in both
<clever> jjakob: the dnsutils are in the bind source, and compiled when building bind
<clever> jjakob: nix is using split outputs, to let you install one part or the other
logzet has joined #nixos
<viric> clever: the toFile does something with the 'context' and paths. What is that thing context in primops.cc?
<clever> viric: every string has some context attached to it, saying which derivations the string depends on
<viric> AH maybe it parses a string for nix operations ${}
<viric> I see.
<clever> viric: if you pass "${hello}" to another derivation, it uses that context to know that the string depends on hello
<viric> clear
<clever> viric: so whatever is receiving the string, must depend on hello
<viric> So not my case
<{^_^}> [nixpkgs] @lourkeur opened pull request #73905 → fix #68151 → https://git.io/Jeiv3
<{^_^}> [nixpkgs] @zimbatm pushed commit from @aanderse to master « nixos/beanstalkd: keep jobs in persistent storage (#73884) »: https://git.io/Jeivs
<{^_^}> [nixpkgs] @zimbatm merged pull request #73884 → nixos/beanstalkd: keep jobs in persistent storage → https://git.io/Je6dY
<{^_^}> [nixpkgs] @worldofpeace opened pull request #73906 → Pantheon use latest mutter → https://git.io/JeivZ
<viric> clever: the different hash comes from the 'text' concept of it
<viric> makeStorePath(type "text", ...)
<viric> store paths have types.
<clever> viric: yeah, one minute
jgt has quit [Read error: Connection reset by peer]
<clever> viric: that explains all the dirty details of the internals
<viric> I see
<viric> yes, it's text vs source
dansho has quit [Remote host closed the connection]
<clever> the name is also part of the <s>, so ./foo and ./bar have different hashes, even with identical files
ggpeti[m] has joined #nixos
<viric> identical contents you mean
<clever> yeah
<viric> unfortunate.
<viric> I'll script a compulsory chmod -x ... after checkout
<viric> (it's for a build robot)
nschoe has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #73864 → gitlab-runner: 12.4.1 -> 12.5.0 → https://git.io/Je6ij
<{^_^}> [nixpkgs] @zimbatm pushed commit from @max-wittig to master « gitlab-runner: 12.4.1 -> 12.5.0 (#73864) »: https://git.io/JeivX
<ggpeti[m]> hello, I am wondering if someone has a few minutes to review and merge my pgsidekick PR
jgt has joined #nixos
<{^_^}> #73720 (by ggPeti, 3 days ago, open): pgsidekick: init at unstable-2014-11-23
halfbit has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @blitz opened pull request #73907 → git-machete: init at 2.12.1 → https://git.io/JeivH
<Izorkin> etu: please recheck pr #73151. Updated and rebased.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73151 (by Izorkin, 1 week ago, open): php74: init at 7.4 RC6
bahamas has joined #nixos
<etu> Izorkin: I don't like the non-needed package updates that you pulled in. I think the PR is big enough with just PHP (and required changes).
<etu> Izorkin: If you look at the variant I made you can see how small the changes are in comparison
captn3m0- has quit [Ping timeout: 265 seconds]
<Izorkin> etu: These phpPackages still need to be updated. Or is it worth making a separate PR?
gxt has quit [Ping timeout: 260 seconds]
<ij> Should I be able to "nix-env -iA nixos.cri-o"? I see it in the package list, but it don't work, no sir
<clever> ij: what error does it fail with?
<ij> just says not found :)
magneticduck has joined #nixos
<clever> ij: are you on nixos or other?
<ij> nixos
<ij> 19.09.1292.e1843646b04 (Loris)
<{^_^}> [nixpkgs] @domenkozar merged pull request #69552 → ghc: compile with DWARF support by default → https://git.io/JeGSI
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JeivF
<evils> are there any packages that separate their assets (just static files) into a dependency?
<clever> evils: haskell packages do that, so the assets dont depend on the dynamic lib, and then ghc itself
<clever> evils: so when you switch to static linking of the haskell components, it wont depend on ghc at runtime
<evils> clever: i'm looking for an clean example, that stuff sounds more involved
<clever> ij: that should work, what does `nix-channel --list` say?
<clever> evils: just set the outputs attr of the derivation, outputs = [ "out" "static" ];
<etu> Izorkin: The bigger a PR is, the harder it becomes to review.
<clever> evils: and then install files to both $out and $static
<clever> evils: and at compile time, you can bake $static/foo into the binaries if you need to
<ij> clever, no nixos channel there, only my manually added older release and unstable channels
<etu> Izorkin: So changing things that aren't required or directly related makes it very slow and a much harder process than needed.
<clever> ij: not sure what could be the issue then, what happens with `nix-build '<nixpkgs>' -A cri-o` ?
<ij> clever, that works
<clever> ij: and: nix-instantiate --find-file nixpkgs ?
<ij> runs
<clever> ij: what does it output?
<ij> /nix/store/1hkdnjw9anmd07gn25snnrjfv4zr11xg-source
<clever> ij: echo $NIX_PATH
<ij> /home/s/.nix-defexpr/channels:nixpkgs=/nix/store/1hkdnjw9anmd07gn25snnrjfv4zr11xg-source:nixos-hardware=/nix/store/jy3djgblk4gz2pzwywx54l2fbkdn2925-source:nixos-config=/etc/nixos/configuration.nix
<clever> ij: something changes NIX_PATH, so its ignoring the channels on root
<clever> changed*
<{^_^}> [nixpkgs] @c0bw3b merged pull request #73792 → [r19.03] libextractor: add patch for CVE-2019-15531 → https://git.io/JeKjH
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @risicle to release-19.03 « libextractor: add patch for CVE-2019-15531 »: https://git.io/Jeivx
Chiliparrot has joined #nixos
<clever> ij: `nix-env -f '<nixpkgs>' -iA cri-o` would make nix-env obey the same NIX_PATH that nix-build obeyed
<ij> I should have /nix/var/nix/profiles/per-user/root/channels in NIX_PATH?
<clever> /home/clever/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
jgeerds has joined #nixos
<ij> because I see it's present in the other nixos I own
<clever> ij: thats what the default NIX_PATH should look like
<evils> clever: i'm lacking context for your suggestion, i'm trying to simplify the kicad package by separating its "libraries" (footprints etc) into `kicad-libraries` and then use e.g.: `${kicad-libraries}/modules` in the kicad package
captn3m0 has joined #nixos
<ij> I gotta change that
<clever> evils: you could add `outputs = [ "out" "libraries" ];` to the derivation, then reference `${kicad.libraries}` to get the files that got installed to $libraries
thc202 has joined #nixos
sigmundv has joined #nixos
<evils> clever: i'm not seeing where i would define the libraries in your suggestion
<yorick> clever: you could, but libraries aren't built as part of the kicad build
<clever> evils: the kicad package would `mkdir $libraries` and copy things to there, while doing its normal build
<clever> yorick: ah, in that case, it would be better to just make 2 seperate derivations
<yorick> as far as I know, it's just a clone of https://kicad.github.io/
<clever> might get away with just `kicad-libraries = fetchgit`
jgt has quit [Quit: WeeChat 2.4]
<evils> clever: ah, so the reason i want to separate it is because i'm also doing kicad-unstable and may want to reuse these assets there
<clever> yeah, simpler to use a fetchgit then
<evils> clever: also, using `mkdir` doesn't sound like it'd get rid of all the library stuff in the kicad package
<yorick> evils: is there any library stuff in the kicad package?
<yorick> I've always had to install kicad-libraries seperately and set the path somewhere
reactormonk has quit [Ping timeout: 265 seconds]
<evils> yorick: yea, that's kinda what i want to do, set the paths with a wrapper, but aside from adding the libraries as a dependency, have no reference in the default.nix
<yorick> the library management is the ugliest part of kicad
<evils> i basically find the mkLib and passthru part of that default.nix quite cluttering and was wondering if i can abstract it out of the default.nix
<ij> clever, anyhow thanks! sorry it's because of my misconfiguration :)
<yorick> evils: you can still do kicad.libraries now, right?
<yorick> well, kicad.symbols and footprints and templates and packages3d
nuncanada has joined #nixos
<evils> ok so i'm quite unfamiliar with the `package`.`stuff`, stuff
rauno has quit [Ping timeout: 240 seconds]
<evils> yorick: does look like kicad.symbols etc exists
<yorick> evils: passthru does that magically, yeah
__monty__ has joined #nixos
fusion809 has quit [Remote host closed the connection]
<yorick> libraries = lib.symlinkJoin (with kicad; [ symbols footprints templates packages3d ]) or something
jollyjester has joined #nixos
jgeerds has quit [Ping timeout: 265 seconds]
<jollyjester> how can i add a path in my bash script, for example if i wanted to execute /usr/bin/firefox how can i get the path of it from /nix/store
<evils> yorick: i want to get rid of mkLib and the contents of passthru in that kicad/default.nix because it clutters it up, wouldn't that break what you're suggesting?
<yorick> evils: you could still move it to a different file
<evils> also since i want to use the libraries for kicad-unstable, wouldn't that imply i'd have to install kicad to install kicad-unstable?
<yorick> evils: no, kicad.symbols is usable without building kicad itself
hmpffff has joined #nixos
<clever> evils: you can either do `symbols = something;` right in the kicad derivation (but kicad will depend on, and force symbols to build first), or you can do `passthru.symbols = something;` then kicad wont depend on the symbols
mananamenos has joined #nixos
<jollyjester> i think it was something along the lines of
<jollyjester> /nix/store/{firefox}
<jollyjester> or something like that, involving curly braces
<clever> jollyjester: if your bash is a string in a nix file, ${pkgs.firefox}/bin/firefox
<jollyjester> ok
<{^_^}> [nixpkgs] @Izorkin opened pull request #73908 → Update php packages → https://git.io/Jeifu
<jollyjester> clever: -bash: ${pkgs.firefox}/bin/firefox: bad substitution
<jollyjester> when i try to echo it
<evils> clever: ok, that's clearing something up, but how do i move both the `let mklib =... in stdenv.mkDerivation` and the definition of `passthru` to a separate file?
<clever> jollyjester: then its not a string in a nix file
<jollyjester> clever: i mean like in a .sh script
<clever> evils: you can use callPackage in all-packages.nix to load the file and pop it into pkgs
sb0 has quit [Quit: Leaving]
<clever> jollyjester: you usually want to build that bash script with nix, so you would use something like pkgs.substituteAll to replace @firefox@ with pkgs.firefox
<evils> clever: that seems like a completely unrelated answer to me xD
<jollyjester> clever: how do i do that
<evils> clever: atm i'm thinking there's probably a way to move the passthru to a file, do import where it used to be, and put something like 'with mkLib = ...' in that file
<clever> jollyjester: check nixpkgs for examples of how substituteAll is used
<{^_^}> [nixpkgs] @marsam opened pull request #73909 → nodejs-13_x: 13.1.0 -> 13.2.0 → https://git.io/JeifK
<evils> maybe i should just rephrase my original question, anyone know of a package that does this i can use as an example?
<jollyjester> clever: how do i install substitute
<clever> jollyjester: you would write a package overlay, that does something = self.substituteAll { src = ./something.sh; firefox = self.firefox; }; i believe
<clever> jollyjester: and then nix-env -iA nixos.something
<evils> i keep finding myself unable to link the theory with the practice, snippets that sound like a good idea lack context as to where i'd apply them, which is why i strongly prefer grepping through nixpkgs to reading the documentation...
<jollyjester> weird the manual tells me to use substitute like a program
<jollyjester> substitute ./foo.in ./foo.out \
<clever> jollyjester: thats a function that pkgs.substituteAll uses
<{^_^}> [nixpkgs] @jonringer merged pull request #56518 → pythonPackages.mnist: init at 0.2.2 → https://git.io/fhNbD
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JeifH
<jollyjester> clever: do you know a way to create a shell script as a package
<jollyjester> what you'd do is just move it to .loca/bin but how do you do that on nixos
<clever> jollyjester: grep the nixpkgs source for substituteAll, youll find an example near nixos-install and nixos-rebuild
<marek> any KDE maintaners around? kiod5 is crashing with org.kde.kpasswdserver[2482]: qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
<marek> but I see kio using mkDerivaction, so Qt5 should wrapp it
<{^_^}> [nixpkgs] @marsam opened pull request #73910 → sops: 3.4.0 -> 3.5.0 → https://git.io/JeifF
Neo-- has joined #nixos
<jollyjester> clever: so how would i make a shell script into a package
<clever> jollyjester: you would write a package overlay, that does something = self.substituteAll { src = ./something.sh; firefox = self.firefox; }; i believe
<jollyjester> like just add the script to my path and execute it, for example "screenshot" being a shell script and instead of doing `bash screenshot` you would just run `screenshot` in your shell
mexisme has quit [Ping timeout: 245 seconds]
<clever> jollyjester: that will generate a package, that copies something.sh, and replaces @firefox@ with self.firefox
<jollyjester> i'm not talking about the previous firefox substitute thing
<clever> jollyjester: for simple 2-4 line scripts, something like https://github.com/cleverca22/nixos-configs/blob/master/util.nix would do
<jollyjester> clever: and how do i use it
civodul has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73781 → Pantheon 5.1 (second set of updates etc.) → https://git.io/JeKAW
<{^_^}> [nixpkgs] @worldofpeace pushed 18 commits to master: https://git.io/Jeifp
<jollyjester> error: cannot auto-call a function that has an argument without a default value ('writeScriptBin')
<clever> jollyjester: which nixpkgs rev are you on?
<clever> (or channel)
<jollyjester> 19.09
<clever> jollyjester: are you using callPackage?
fendor has joined #nixos
pointfourone has quit [Ping timeout: 276 seconds]
iyzsong has joined #nixos
<jollyjester> clever: i have no idea i'm running the utils.nix
<jollyjester> how am i supposed to run it what i did was nix-build utils.nix
<clever> ,callPackage jollyjester
<{^_^}> jollyjester: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<jollyjester> ah jeez clever do you have a huge notebook or markdown/org file with all of this stuff
<jollyjester> because i feel like it's going to take me 2 years to learn just the basics
<clever> jollyjester: my brain is just wonky, ive memorized a decent chunk of the source for nix, nixops, and nixpkgs
<jollyjester> the fact that nixos isn't posix-compliant just tilts my whole linux knowledge upside down
<clever> yeah, that adds a bit of a learning curve
<jollyjester> all of this extra abstraction and nix scripts
<{^_^}> [nixpkgs] @teto merged pull request #73901 → glui: fix build → https://git.io/Je6jl
<{^_^}> [nixpkgs] @teto pushed commit from @jonringer to master « glui: fix build »: https://git.io/JeiJO
<adisbladis> jollyjester: Just think of store paths as mini posix-compliant envs :P
<adisbladis> Or more specfically FHS
<clever> you could think of it like just building every package with its own custom --prefix=
<adisbladis> We love FHS so much we have thousands of them
<clever> and then having to manually tell each package where to find all of its deps
<jollyjester> tea or coffee while using nix?
<jollyjester> i prefer tea because it's more hydrating especially while sweating from frustration
Kirens has quit [Ping timeout: 260 seconds]
<qyliss> I'm not sure POSIX actually mandates an fs structure beyond /bin/sh, fwiw.
<clever> thats more in the FHS scope
<jollyjester> but replace emacs with nixos
<jollyjester> and the editors with distros
<clever> jollyjester: one trick, is to just forget everything you know about where files normally are, and learn how to find where a tool is told to look
<clever> jollyjester: for example, instead of assuming the config is in /etc/nginx/nginx.conf, you `ps aux | grep nginx` and look at whatever `--config` is telling it to look at
<jollyjester> the hardest part to understand is the .nix files
<jollyjester> and how they work
<clever> that way of finding things, also applies to other distros sometimes
<kahiru> a how the various nix-* tools work with said .nix files
<clever> jollyjester: do you know functional programming?
<jollyjester> clever: i tried learning haskell a bit
<jollyjester> and i learned the basics of nix
<{^_^}> [nixpkgs] @petabyteboy opened pull request #73911 → yarn2nix-moretea: v1.0.0-36-g3f2dbb0 -> v1.0.0-39-g9e7279e → https://git.io/JeiJg
<notgne2> I've been using Nix for a while and I'm picking up Elm, I think I might finally properly learn Haskell soon
alexherbo2 has joined #nixos
<notgne2> I feel like Nix has probably prepared me a bit
<jollyjester> so, since nix is a lazy programming language, will adding more "modules" for different programs to use in your configuration slow it down or not?
<dminuoso> jollyjester: What does lazy have to do with this?
<notgne2> the evaluation time will increase
<notgne2> which is an issue with nixpkgs currently that I believe is being tackled somehow
<dminuoso> jollyjester: Lazyness merely means you can do things like (mutually) recursive definitions.
<jollyjester> dminuoso: oh ok
<dminuoso> jollyjester: You can express things in more natural ways.
<dminuoso> jollyjester: This notion is kept in other techniques like nixos modules
<dminuoso> jollyjester: Which is why you can have two nixos modules which refer to each other.
<jollyjester> also the nixpkgs are put into different categories right?
<dminuoso> (This is not directly an effect of nix being lazy, but nixos modules being done in a lazy fashion as well)
<jollyjester> also if a package becomes unmaintained, is there a way to remove it from the repositories?
<dminuoso> jollyjester: All nix parts are maintained in git repositories.
<clever> jollyjester: last week, slim was finally removed (its been unmaintained since ~2014)
<dminuoso> jollyjester: So removing/upgrading/adding packages is just working on that git repository. In principle anyone can do it.
<jollyjester> how does the removal process occur
<dminuoso> jollyjester: You would either open an issue or better make a pull request at github with the necessary modification.
<dminuoso> jollyjester: Oh and another property of lazyness is that nixpkgs is introduced as a huge attribute. So you dont actually install packages, you just reference them somehow (and by doing them they get installed automatically)
<dminuoso> *huge attribute set
gxt has joined #nixos
<jollyjester> dminuoso: did nixos improve your workflow in a drastic manner?
<dminuoso> jollyjester: Yes.
<jollyjester> how much time did you think you saved and lost after you started using nixos
<dminuoso> I dont think of it in terms of "how much time"
<dminuoso> Im maintaining multiple complex mail setups, so nixops/nixos gives us deterministic mail setups (*guaranteed* coherence between development, staging and production, instant and accurate rollbacks) with the expressivity of a functional programming language.
<clever> dminuoso: and your less likely to run into a 500 mile email problem, due to the distro downgrading components on you
<Izorkin> etu: splitted to #73151 and #73908
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73151 (by Izorkin, 1 week ago, open): php74: init at 7.4 RC6
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73908 (by Izorkin, 55 minutes ago, open): Update php packages
<jollyjester> what part of the manual or what instructional video shows me piece by piece what a .nix script does
<qyliss> jollyjester: https://nixos.org/nixos/nix-pills/ might be what you're looking for if you haven't come across them already
<adisbladis> I'm very hesitant to recommend nix-pills :/
<adisbladis> Had many people scared off by those
<qyliss> I wouldn't generally but since jollyjester is asking for a step by step of what happens to a .nix file rather than "how do I use this" I figured the pills are the answer
rardiol has joined #nixos
<jollyjester> what does `with import <nixpkgs> {};` do
<adisbladis> jollyjester: https://github.com/tazjin/nix-1p
<qyliss> jollyjester: <nixpkgs> refers to the path to Nixpkgs set on your system
<qyliss> > <nixpkgs>
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
<adisbladis> Start by reading 1p :) There is a section on with statements
<qyliss> Import reads and evaluates that file
<adisbladis> Right after that comes the explanation of <nixpkgs>
<qyliss> In the case of nixpkgs, it returns a function, which is then called with {}, an empty attribute set / dictionary
<qyliss> "with" takes the attribute set returned from that function, and makes all of its attributes available in the current scope
<qyliss> > with { a = 1; }; a
<{^_^}> <LAMBDA>
<qyliss> wait what
<dminuoso> Presumably `<nixpath>` resolves to whatever is in NIX_PATH=/some_path:nixpath=<whatever_goesHere> ?
<qyliss> Regardless of whatever typo I made there, that's how it works
<dminuoso> Or is there additional magic?
<qyliss> dminuoso: yes, unless it's overridden with -I nixpkgs=... on the command line
<adisbladis> qyliss: No typo, I'm guessing you hit some peculiarity in how {^_^} evals expressions
<qyliss> > let attrSet = { a = 1; }; in with attrSet; a
<{^_^}> <LAMBDA>
<dminuoso> qyliss: Alight. What's with that first path in NIX_PATH that does not have a name? What is that for/can that be referred to as well?
<dminuoso> > <.>
<{^_^}> file '.' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):271:1
<qyliss> dminuoso: every directory in there can also be referenced in angle brackets
kaliumxyz has quit [Remote host closed the connection]
<qyliss> On my system, for example, I just set NIX_PATH to a single directory, with subdirectories called "nixpkgs", "nixpkgs-overlays", etc.
<dminuoso> qyliss: Ah, so `<./bar>` for example would look into *every* path in NIX_PATH?
<qyliss> Every one not preceded by an =
<qyliss> But you just need to say <bar>
<dminuoso> qyliss: What if you had a file /quux/bar, with NIX_PATH=/quux:bar=/blup and then referred to <bar> ?
<dminuoso> qyliss: That seems ambiguous
boogiewoogie has joined #nixos
<qyliss> I think it takes the first one
<qyliss> It's only ambiguous in the way that PATH is ambiguous
<qyliss> But it might give priority to explicitly named ones; I don't actually know.
<dminuoso> qyliss: Either way, thank you for this information. Really useful to know :)
<Ashy> but getting this error: ModuleNotFoundError: No module named 'pip._internal.main'
<adisbladis> > let attrSet = { a = 1; }; in (with attrSet; a)
<{^_^}> <LAMBDA>
<Ashy> is there a similar example for python3?
<adisbladis> Hmm, still not
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<qyliss> > let x = { a = 1; }; in with x; a
<{^_^}> <LAMBDA>
<adisbladis> Ashy: I've seen that before. It's an internal change in pip.
<qyliss> When I DMed the bot that exact line, it worked
<dminuoso> It works here as well.
<dminuoso> In a local nix repl
<Ashy> adisbladis: so im stuck waiting for nixpkgs to be updated to handle it?
<dminuoso> Perhaps a bot bug?
<adisbladis> Ashy: Are you triggering it creating your nix environment or by running `pip install` on a package?
<{^_^}> [nixpkgs] @danieldk opened pull request #73912 → spaCy 2.2.3 and required dependency updates → https://git.io/JeiJx
<Ashy> adisbladis: copeied and pasted that example into default.nix in a temp dir with a requirements.txt containing "pandas", then running nix-shell
<Ashy> pandas is just to test this, i actually want to use solo-python to flash the firmware onto my solokeys
<Ashy> i'm on channel
<Ashy> er, i'm on channel nixos-19.09
reactormonk has joined #nixos
<Ashy> actually, i get the same error with python27 too
<adisbladis> Ashy: It would be helpful to get a full output
<adisbladis> Ashy: Also all the deps required by solo-python is already in nixpkgs
<adisbladis> So you can just pull them from there
<{^_^}> [nixpkgs] @tjilerom opened pull request #73913 → Haskell updates → https://git.io/JeiUq
<jollyjester> so i was reading nix-1p
<jollyjester> and i see
<jollyjester> "yes, libraries, plural"
<jollyjester> that's a nice reference
Okinan has quit [Remote host closed the connection]
Okinan has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73904 → Vala updates → https://git.io/Jeiej
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to staging: https://git.io/JeiU3
philr has quit [Ping timeout: 240 seconds]
nschoe has quit [Ping timeout: 252 seconds]
<Ashy> adisbladis: when you say i can just pull the deps, can i just fire up a nix-shell with them? `nix-shell -p python3Packages.click ...`
bahamas has quit [Ping timeout: 245 seconds]
smatting has joined #nixos
<mananamenos> hi, I have a haskell project which suddenly started failing to build. I found the lib causing it, fixed it in my nixpkgs local project, now the lib builds well. Back to my project, how do I make my project's default.nix or just shell.nix take that lib from my local nixpkgs dir?
<clever> mananamenos: -I nixpkgs=/path/to/nixpkgs
<ij> clever, well I thought you'd be right.. but installing other things work... I am going to look at the release branch to see it's truly there
<mananamenos> clever it still says that that lib is broken, even if it builds fine. Did i have to do something special in nixpkgs project to unmark it from broken? I've deleted the line from configuration-hackage2nix.yaml.
<clever> mananamenos: how does your default.nix load nixpkgs?
<{^_^}> [nixpkgs] @geistesk opened pull request #73914 → et: 0.1.1 -> 0.1.2 → https://git.io/JeiUg
<mananamenos> let pkgs = import <nixpkgs> { }; in pkgs.haskellPackages.callPackage ./default.nix { }
Ariakenom has joined #nixos
jollyjester has quit [Quit: leaving]
<mananamenos> clever, i here is my shell.nix https://pastebin.com/F4NEhGfW. I tried to call `nix-shell -I nixpkg=~/path-to-local/nixpkgs/`
<mananamenos> oh, it seems i still have to add --arg config '{ allowBroken = true; }'
<clever> mananamenos: then its not actually set to not be broken
<ij> How is nix-env -f '<nixpkgs>' ... -iA package different from nix-env -iA nixos.package?
<ij> ah, never mind I know
bahamas has joined #nixos
zupo has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
mexisme has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
<mananamenos> clever, thank you. I've got working
<{^_^}> [nixpkgs] @aanderse opened pull request #73915 → codeowners: add etu as php owner → https://git.io/JeiUd
bvdw has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.6]
<FRidh> Ashy: adisbladis: the problem is that example. Using nix-shell will trigger the python setup hook, exporting PYTHONPATH resulting in the wrong pip module being loaded
<adisbladis> FRidh: Note to self: Go through the python docs and make sure we're consistently using withPackages
zupo_ has joined #nixos
<FRidh> adisbladis: we do mostly. This was something added by those that wanted to show how to use pip impurely. I'm not bothering really with that piece because its asking for trouble and outside the scope of nixpkgs.
mexisme has quit [Ping timeout: 276 seconds]
<FRidh> but indeed, withPackages here would solve it
zupo has quit [Ping timeout: 246 seconds]
<betawaffle> how does anyone decide between using `x86_64` and `amd64` when referring to an architecture?
<adisbladis> FRidh: It's fine that you want to use it impurely. Though I don't think the docs should contain anything to encourage that.
<adisbladis> FRidh: I don't know how many people I've helped because of docs giving bad examples :)
mexisme has joined #nixos
<{^_^}> [nixpkgs] @novoxudonoser opened pull request #73916 → helm3: init at 3.0.0 (help wanted) → https://git.io/JeiTq
mexisme has quit [Ping timeout: 245 seconds]
mananamenos_ has joined #nixos
mananamenos has quit [Remote host closed the connection]
mananamenos_ has quit [Client Quit]
mananamenos has joined #nixos
mexisme has joined #nixos
rauno has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
mexisme has quit [Ping timeout: 250 seconds]
mananamenos has quit [Client Quit]
gxt has joined #nixos
mananamenos has joined #nixos
<ij> how do I extract the version from a files of a channel?
mexisme has joined #nixos
<{^_^}> [nixpkgs] @virusdave opened pull request #73917 → unison-ucm 1.0.e-alpha -> 1.0.f-alpha → https://git.io/JeiTu
Makaveli7 has joined #nixos
<ij> ah, it's .version... :) ls didn't show it by default
mexisme has quit [Ping timeout: 252 seconds]
<philipp[m]> Can I get the path of a shell.nix file while evaluating it?
Ariakenom has joined #nixos
mexisme has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
<mananamenos> i want to upload configuration.nix and hardware-configuration.nix files to git repo, but as those files are only edited by root, i cannot create a repo in that dir with normal user. How should i approach this? Give that dir users group?
<clever> mananamenos: or just `sudo -i` to get a root shell
<mananamenos> ok
<mananamenos> the thing is then I have to give create git root name, email and also ssh key
<tilpner> mananamenos: Change ownership of the directory/files to your user
<philipp[m]> You could opt for two repositories on your hdd, pulling the files as root and otherwise working as your normal user.
<clever> mananamenos: if you are using an ssh agent, it will inherit those vars and keys
mexisme has quit [Ping timeout: 250 seconds]
bahamas has quit [Read error: Connection reset by peer]
kleisli has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #73915 → codeowners: add etu as php owner → https://git.io/JeiUd
fendor has joined #nixos
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jeiks
bahamas has quit [Read error: Connection reset by peer]
mexisme has joined #nixos
<etu> :O
bahamas has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jeik0
mexisme has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @filalex77 opened pull request #73918 → nebula: init at 1.0.0 → https://git.io/JeikE
Makaveli7 has joined #nixos
mexisme has joined #nixos
bahamas has quit [Ping timeout: 245 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
domogled has quit [Quit: domogled]
mexisme has quit [Ping timeout: 250 seconds]
civodul has quit [Remote host closed the connection]
mexisme has joined #nixos
<laas> does anyone here use non-standard ways to compress their initrd?
<inf> Hey all. I'm trying to setup unencrypted grub-based setup with GPT -> unencrypted EFI partition + luks -> lvm -> ext4... After installing GRUB (with enableCryptodisk = true;) it tries to mount lvmid/... disk, without
<philipp[m]> Back in my gentoo days I did such things, but I don't bother with it now.
zupo has joined #nixos
<inf> trying cryptomount first... when I strings'ify the grub image it ends with (lvmid/...)/boot/grub, how I expected... On my main laptop I use (with very similar setup, but grub is stored on separate drive and LUKS is directly on sda block device) it just creates `cryptomount` line at the end of grub...
<inf> end of grub efi image*
boogiewoogie has quit [Remote host closed the connection]
<inf> so somehow grub-install doesn't see that root partition is running off LUKS?
cosimone has joined #nixos
waleee-cl has joined #nixos
sondr3 has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
<rnhmjoj> do you know any quick way to copy a file between virtual machines running in a nixos test?
<clever> rnhmjoj: there is a dedicated xchg mount point for just that, check the other nixos tests for an example
<rnhmjoj> clever: thank you, i'll into it
cosimone has quit [Quit: Quit.]
Rusty1 has joined #nixos
nuncanada has quit [Read error: Connection reset by peer]
mexisme has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
rardiol has quit [Ping timeout: 265 seconds]
<ij> does adding directories have a different effect to adding name= in $NIX_PATH when doing nix-env -iA?
knupfer has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
<Ariakenom> im getting failed assertions from autoLogin for sddm gdm and lightdm. "The current default session: none is not valid". I set default to none and desktopManager.xterm.enable. according to the wiki.
<Ariakenom> is the assertion pointing out some error that I can fix?
<rnhmjoj> clever: the only reference i can find is in nixos/tests/blivet.nix, but it's not clear how (or why) it's used.
pie_ has quit [Quit: No Ping reply in 180 seconds.]
cosimone has joined #nixos
<rnhmjoj> i tried touching a file in /tmp/xchg but it's not shared between hosts
pie_ has joined #nixos
<sondr3> is discourse.nixos.org down for others than me? It keeps timing out
<clever> rnhmjoj: each host has its own xchg dir, under some statedir
cosimone has quit [Client Quit]
<sondr3> nvm it suddenly started working
cosimone has joined #nixos
<rnhmjoj> sondr3: it works for me, but it's kind of slow
<ij> can nix 2.0 do "nix-env -i"?
mexisme has quit [Ping timeout: 252 seconds]
reactormonk has quit [Ping timeout: 276 seconds]
cosimone has quit [Client Quit]
nschoe has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
<rnhmjoj> clever: what i meant was exchange a file between two guests vm running in the same nixos test, not between a guest and the host machine. can i use xchg to do this?
mexisme has joined #nixos
<clever> rnhmjoj: you would have to copy it from guest to host using xchg, then move it from one xchg to the other xchg
<clever> then back from host->guest
<clever> although....
o1lo01ol1o has joined #nixos
cosimone has joined #nixos
<clever> rnhmjoj: ah, xchg-shared
<clever> rnhmjoj: if you write a nixos test, that runs `mount`, what FS's do you see mounted, like xchg?
boogiewoogie has joined #nixos
<rnhmjoj> clever: i'm not sure what you are asking... the /tmp/xchg is a 9p filesystem
<clever> rnhmjoj: are there several xchg's mounted?
<rnhmjoj> clever: ah, ok: no, there's only /tmp/xchg
mexisme has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68616 → xpdf: 4.00 -> 4.02 → https://git.io/JeiLk
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JeiLI
civodul has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73818 → clj-kondo: 2019.11.03 -> 2019.11.07 → https://git.io/Je63u
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeiLO
<clever> rnhmjoj: and if you `touch /tmp/xchg/foo` in one guest, then `ls /tmp/xchg/` from another, does foo show up?
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @sikmir to release-19.09 « xpdf: 4.00 -> 4.02 »: https://git.io/JeiLs
<rnhmjoj> clever: no, that doesn't work unfortunately
mexisme has joined #nixos
psyanticy has joined #nixos
jollyjester has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73917 → unison-ucm 1.0.e-alpha -> 1.0.f-alpha → https://git.io/JeiTu
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeiLW
<clever> rnhmjoj: i believe each vm has a stateDir function on it, that returns the dir that xchg would be under
<jollyjester> Do you guys actually configure your software through home-manager or the nixos configuration? Isn't just backing up your configs better? Including them in a .nix file or just backing up a .conf file, I think it's the same thing
mexisme has quit [Ping timeout: 246 seconds]
<jollyjester> Maybe it's because of the modularity of nix, and how you can edit the config file depending on what state the system is...
<jollyjester> Guess I answered my own question?
drakonis has joined #nixos
<sondr3> eh, personally it's because I can bundle configuration and installating all in one, no more shell script listing all "required" packages on new Arch installs etc, just include the relevant configuration and you have everything configured and installed
<sondr3> it really starts to shine once you are configuring more than one machine, I can do big changes on my laptop to configuration of whatever software, pull them home and rebuild and _know_ that they will be completely in sync
<jollyjester> I kind of prefer the UNIX way, I feel like NixOS tries to impress us by it's complexity not it's simplicity and writing your own scripts to configure your system is a more simple way to do it, but that's what I think
tboerger has joined #nixos
<sondr3> I did that before, but it was a major PITA to keep in sync, updated and working across different machines. Nix isn't just managing software, but also hardware. With Arch it's hard to keep track of what changes you've made to your kernel parameters, xorg configuration and so on, with Nix all is configured in my dotfiles
seku has joined #nixos
<rnhmjoj> clever: i've found the function stateDir() and the state `/tmp/vm-state-client/xchg/` in the host machine. i'll try to use copyFromHost
<{^_^}> [nixpkgs] @d-goldin opened pull request #73920 → [r19.09]: python27Packages.cherrypy: fix build → https://git.io/JeiLV
<sondr3> Now I have a base set of packages for my home and OS, and my laptop can have specific settings for power management, kernel headers and so on and still know that everything else is the same as my desktop at home
pointfourone has joined #nixos
mexisme has joined #nixos
<clever> rnhmjoj: copyFileFromHost is rather ugly, it just jams the entire file into an echo command!
ddellaco1 has joined #nixos
<sondr3> dunno, I came from Arch to NixOS using my own shell scripts to configure my dotfiles and so on and using Nix and home-manager has been such a breath of fresh air for me
drakonis has quit [Ping timeout: 240 seconds]
<tboerger> does somebody know a repository which defines expressions for graphical macos apps?
<clever> i just configure things without dot files!
<clever> sondr3: if you do it this way, vim works without any .vimrc
<rnhmjoj> clever: uhm.. it's a rather small file but it's binary: i hope it doesn't mess it up
<clever> sondr3: and this makes an /etc/screenrc, so no dot file either, https://github.com/cleverca22/nixos-configs/blob/master/core.nix#L34-L40
<clever> rnhmjoj: telling the guest to run a plain `cp` against its `xchg` dir feels faster
<sondr3> clever: that's how I do it too :)
<sondr3> I still have a few regular dots lying around, but they are mostly things I'm frequently changing and want them to settle down before merging them into a nix derivation
boogiewoogie has quit [Remote host closed the connection]
<Shoubit> clever, is there something similar/is that usable for Neovim?
<rnhmjoj> clever: alternatively i could try to hack something with netcat. i wonder if `succeed("command &")` will work
xkapastel has quit [Quit: Connection closed for inactivity]
<clever> rnhmjoj: maybe
<sondr3> Shoubit: home-manager includes neovim as a program you can configure too, I do it with it: https://github.com/sondr3/dotfiles/blob/master/config/home/neovim.nix
mexisme has quit [Ping timeout: 246 seconds]
ng0 has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #73911 → yarn2nix-moretea: v1.0.0-36-g3f2dbb0 -> v1.0.0-39-g9e7279e → https://git.io/JeiJg
<{^_^}> [nixpkgs] @zimbatm pushed commit from @petabyteboy to master « yarn2nix-moretea: v1.0.0-36-g3f2dbb0 -> v1.0.0-39-g9e7279e (#73911) »: https://git.io/JeiLS
mexisme has joined #nixos
kisonecat has joined #nixos
seku has quit [Remote host closed the connection]
reactormonk has joined #nixos
crazazy[m] has joined #nixos
kisonecat has quit [Client Quit]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #72287 → linuxConfig: fix deps and cross-compiling behavior → https://git.io/JeiLp
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/JeiLh
mexisme has quit [Ping timeout: 276 seconds]
tboerger has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
mexisme has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
Makaveli7 has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @d-goldin opened pull request #73922 → python27Packages.cherrypy: fix build → https://git.io/JeitZ
mexisme has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
MmeQuignon has quit [Ping timeout: 276 seconds]
<inf> OK, got everything working in my case - issue was that cryptsetup luksFormat created LUKSv2 volume, while GRUB only supports LUKSv1.
<inf> Now another quick, rather unrelated, question... Is there a way to add an extra symlink in /run/current-system/sw/bin? I have awesomewm setup that references x-terminal-emulator, and I'd like to just create a global "alias" for that command.
<inf> eg. x-terminal-emulator → ${pkgs.kitty}/bin/kitty
<kahiru> create a package which depends on kitty and drops the symlink there?
<kahiru> or a wrapper script instead of symlink
<inf> yeah, that sounds like a plan. just wondering if there's some quicker way
mexisme has quit [Ping timeout: 252 seconds]
<sondr3> if you use something like home-manager you could create a shell alias for it maybe?
<kahiru> I don't think awesome takes shell aliases into account
<pingiun> can I evaluate parts of my nixos config in the nix repl? I want to figure out what config.security.acme.certs evaluates to
<sondr3> yeah, not sure myself either
mexisme has joined #nixos
<infinisil> pingiun: Yeah with `nixos = import <nixpkgs/nixos> {}` then `nixos.config.security.acme.certs`
<infinisil> Or `nix-instantiate --eval '<nixpkgs/nixos>' -A config.security.acme.certs` works too
<pingiun> can I also do this in a nix container?
<pingiun> I get error: file 'nixpkgs/nixos' was not found in the Nix search path
<infinisil> Nah, you need to have access to the configuration.nix file for the machine for this
<pingiun> ah okay
<infinisil> And <nixpkgs>
<pingiun> I didn't really like using the container anyway :p
mexisme has quit [Ping timeout: 245 seconds]
alexherbo2 has joined #nixos
mexisme has joined #nixos
endformationage has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<srk> any idea what's going on here -
<srk> /nix/store/wpi89y86krq9rbvwcbx0hc36ibp5d0v7-stdenv-linux/setup: line 320: [@]: bad substitution
<srk> builder for '/nix/store/98r5m0vx20ym2i9wfq8nmxm9ri1d3knc-lua-5.3.5-env.drv' failed with exit code 1
<srk> nix-shell -p mpv, tried changing inherit lua to lua = lua5_3 but getting the same error
halfbit has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
<sondr3> Lua 5.1, 5.2 and 5.3 are essentially different programming languages with big incompatible changes between them
<adisbladis> Anyway, this is a bug on master
<srk> ah, ok, but I'm getting the same with 5.1 and 5.2
<srk> lua.withPackages (ps: with ps; [ luasocket ]);
<adisbladis> sondr3: This has nothing to do with lua but stdenv changes
<srk> seems to cause this
<adisbladis> All of lua.withPackages is broken
<sondr3> adisbladis: fair, but he is using a version of Lua with mpv that it doesn't support :)
<srk> I see
<srk> sondr3: I've just tried to "fix" it by changing it to more recent lua
smatting has quit [Ping timeout: 252 seconds]
<adisbladis> I've tried chasing down exactly what it is but these are parts of nixpkgs I don't fully grok
<srk> same here
bahamas has joined #nixos
<srk> but I need my music player! :)
mexisme has joined #nixos
tabaqui1 has joined #nixos
<adisbladis> Here is where the error is happening
<tabaqui1> hey all
<tabaqui1> can I use tar/zip/winrar/... to extract files from .closure directly?
<tabaqui1> without installed nix environment
<adisbladis> tabaqui1: What are you trying to do?
<tabaqui1> my collegue get a closure from other team and want to extract single file
<catern> tabaqui1: it depends on the format of that .closure, but probably not - check with "file", is it listed as binary data? if so it's in Nix canonical form which is a low-overhead uncompressed form for binary data
<srk> adisbladis: cooling, lookin' into it
<tilpner> tabaqui1: Does your .closure file have "nix-archive-1" in the first hundred bytes?
<catern> tabaqui1: if it's in Nix canonical form then you'll need the Nix tools to unpack it
<tabaqui1> catern: "file" just returns Data
<tabaqui1> nix-archive-1, right
<srk> adisbladis: I mean thanks, looking :)
drakonis has quit [Quit: WeeChat 2.6]
<adisbladis> tabaqui1: It's likely a NAR, which is not supported by any tooling I know of except nix
<tabaqui1> yeah, it seems so
<tabaqui1> adisbladis, tilpner, catern thanks
tabaqui1 has left #nixos ["WeeChat 2.6"]
mexisme has quit [Ping timeout: 252 seconds]
fendor has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63845 → deepin.deepin-editor: init at 1.2.9.1 → https://git.io/fjrjQ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeiqI
jb55 has quit [Ping timeout: 260 seconds]
<exarkun> is there a logging proxy packaged in nixos that's simple to run and supports ssl?
mexisme has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #73923 → eksctl: 0.9.0 -> 0.10.2 → https://git.io/JeiqO
bahamas has quit [Ping timeout: 240 seconds]
oida has quit [Remote host closed the connection]
oida has joined #nixos
sondr3 has quit [Quit: WeeChat 2.6]
karetsu has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
<karetsu> is it normal that home-manager tells me that
<karetsu> User systemd daemon not running. Skipping reload.
<tilpner> On which OS?
<karetsu> I expect several user services to be running
<karetsu> nixos
<tilpner> No, that doesn't sound normal
<karetsu> any idea where a setting that would've disabled it would live?
<tilpner> karetsu: systemctl --user status
<karetsu> my config is here: https://github.com/karetsu/nixOS-configuration/ but I can't see anything obvious that would do it
<tilpner> Does that show services running?
<karetsu> state: degraded, failed: 1 units
<karetsu> then there's a command group but doesn't say which of the commands didn't work
<srk> adisbladis: this one is tricky to debug as changes to stdenv/generic/setup.sh cause massive rebuilds. I might try bisecting it as I don't see any suspicious changes in that file
<tilpner> karetsu: So it might not be a HM problem
<karetsu> oh its definitely not, its a systemd issue but HM alerted me to it
<tilpner> karetsu: Figure out what happened to your systemd user session. If you want help with that, share output of above command and logs
<adisbladis> srk: The change happened on staging... Bisecting will probably take forever
<adisbladis> I'd really like Ericson2314 to take a look at this
jb55 has joined #nixos
<adisbladis> As it's likely his recent stdenv changes broke it
mexisme has joined #nixos
<karetsu> tilpner: what would you need to see other than these? https://gist.github.com/karetsu/f1fee99b88157db11f0f6c1b0b71e8ae
<globin> srk, adisbladis: can you gist a little reproduction etc. so I can have a quick look at it without having to read through everything?
<karetsu> so its dbus that died, but systemctl --user status dbus says its active...
<infinisil> karetsu: I've been manually doing `systemctl --user daemon-reload`, then restarting the services i need restarted
<infinisil> I think home-manager has something nicer though lemme see
<infinisil> karetsu: Try `systemd.user.startServices = true`
<karetsu> in home.nix or my general config?
mexisme has quit [Ping timeout: 252 seconds]
<srk> globin: nix-shell -p 'lua.withPackages (ps: [])'
<adisbladis> globin: lua.withPackages (_: [ ])
<globin> Thanks, will check in a few minutes if I can fix it easily
<srk> Bisecting: 23 revisions left to test after this (roughly 5 steps)
<infinisil> karetsu: home config
mexisme has joined #nixos
<magneticduck> http://ix.io/22xF
<magneticduck> I'm trying to point `requireFile` at a file in my store, but having trouble
<magneticduck> I need to get the sha256 hash, but `nix-store --query --hash` is providing this thing, which is not the usual size of a sha256 hash!
<magneticduck> the usual length, I mean. anyway, when I use this as the `sha256` argument of requireFile, I get an error message telling me that my file is not in the store.
<infinisil> magneticduck: Using `sha256 = "sha256:1fgbr8gn5d8ffw979jd0k09cinhysrwj5njnjfcm5d0ayiql85ca"` should work I think
<magneticduck> hmm, still not working
o1lo01ol1o has quit [Remote host closed the connection]
karetsu has quit [Quit: WeeChat 2.6]
<eyJhb> hyper_ch: sadly the fix does not work for me
<magneticduck> I'm actually not using requireFile directly, but trying to enter this file into a list of possible Mathematica versions which are tried in order by the Mathematica expression in nixpkgs
<infinisil> magneticduck: Can you show the error and the nix file declaring the requireFile?
<magneticduck> sure
rardiol has joined #nixos
* infinisil is away for a bit though
gxt has quit [Ping timeout: 260 seconds]
<magneticduck> so, the nix expression in question is http://ix.io/22xH
<magneticduck> and the error produced is http://ix.io/22xI
<magneticduck> oh wait, I figured it out >_<
<betawaffle> does anyone use nix to manage dotfiles/their home directory on a non-nixos machine? (eg. macos)
karetsu has joined #nixos
<magneticduck> betawaffle, there's home-manager
<magneticduck> but I don't know if that works on mac
<karetsu> infinisil: it still gives me a systemctl --user status of degraded and the services still don't start automatically, specifically its dbus that isn't
<betawaffle> i just assumed it didn't, but didn't look at it much
<jollyjester> can someone help me try patching a binary using a .nix file
<infinisil> magneticduck: And..?
mexisme has quit [Ping timeout: 276 seconds]
<jollyjester> how would i add all the libraries and ld-linux and everything to a default.nix
<jollyjester> and build it, then it makes a binary that executes properly
<magneticduck> infinisil, the file had the wrong name. it was expecting Mathematica_11.0.1_English_LINUX.sh, but the file I had downloaded was called Mathematica_11.0.1_LINUX.sh
<infinisil> Ahh I see
<magneticduck> I wasn't expecting an issue of that sort, since I assumed everybody acquired the file in the same way and the naming wouldn't jump around between versions
<{^_^}> [nixpkgs] @xrelkd opened pull request #73924 → cargo-watch: 7.2.2 -> 7.3.0 → https://git.io/JeimI
<magneticduck> maybe I'll open a pull request to use the alternative name
reactormonk has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
<magneticduck> infinisil, wait, that wasn't the problem!
<magneticduck> the English version is never tagged with "English", the name was fine. I still don't know why it's not finding the file
karetsu has quit [Quit: WeeChat 2.6]
karetsu has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
<{^_^}> [nixops-aws] @AmineChikhaoui merged pull request #18 → Cleanup release.nix and setup.py; bump to 19.09 in CI → https://git.io/Je62R
<{^_^}> [nixops-aws] @AmineChikhaoui pushed 2 commits to master: https://git.io/Jeimn
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos
maxigit has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #73925 → parity: 2.5.9 -> 2.5.10, parity-beta: 2.6.4 -> 2.6.5 → https://git.io/Jeiml
<maxigit> hello, I need help how to install libmysql found by stack (using --nix)
mexisme has joined #nixos
knupfer has joined #nixos
karetsu has quit [Quit: WeeChat 2.6]
drakonis has joined #nixos
<betawaffle> there seems to be something wrong with chapter 19 of the nix manual
MmeQuignon has joined #nixos
dema has quit [Ping timeout: 265 seconds]
mexisme has quit [Ping timeout: 276 seconds]
karetsu has joined #nixos
drakonis1 has quit [Ping timeout: 276 seconds]
drakonis has quit [Quit: WeeChat 2.6]
maxigit has left #nixos [#nixos]
jollyjester has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Ma27 pushed to master « roundcube: 1.4.0 -> 1.4.1 »: https://git.io/Jeim2
drakonis1 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has joined #nixos
karetsu has quit [Quit: WeeChat 2.6]
drakonis has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
drakonis1 has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Quit: WeeChat 2.6]
cosimone has quit [Quit: Terminated!]
pie_ has joined #nixos
o1lo01ol1o has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed 5 commits to master: https://git.io/JeimF
drakonis has quit [Ping timeout: 250 seconds]
halfbit has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @mmahut opened pull request #73926 → kdeFrameworks.kio: moving bin stuff into "out" output → https://git.io/JeiYJ
<{^_^}> [nixpkgs] @Ma27 merged pull request #73924 → cargo-watch: 7.2.2 -> 7.3.0 → https://git.io/JeimI
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeiYT
ambro718 has joined #nixos
<joepie91> how do I get debug output during the boot process? without rebuilding the system, because it won't boot anymore
<samueldr> depending on your bootloader, but most likeley using `e` you can add to the boot command line options
<samueldr> loglevel=8 may help if it's a kernel issue
<joepie91> GRUB
<samueldr> yeah, `e` there
<joepie91> samueldr: it's a block device mounting mystery :) fails during stage 1 I think
<samueldr> ah
<samueldr> you may want a shell to investigate then
<samueldr> these are the relevant option names
<samueldr> you may want boot.debug1devices or boot.debug1mounts
<samueldr> at the very least boot.shell_on_fail
drakonis has joined #nixos
<joepie91> samueldr: those don't show any extra info though?
<samueldr> no, but you will be able to poke at things
<{^_^}> [nixpkgs] @d-goldin closed pull request #73922 → WIP python27Packages.cherrypy: fix build → https://git.io/JeitZ
fendor has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @d-goldin opened pull request #73927 → python27Packages.cherrypy: deprecating python 2.7 → https://git.io/JeiYi
<ddima> joepie91: boot.trace trace at least shows the statements executed of stage-1 and stage-2, but whether it's useful or not depends on the type of issue you're having.
davidak has joined #nixos
<davidak> people want to know why NixOS/NixOps is your config. management system of choice ;) https://twitter.com/nixcraft/status/1197832727686307840
knupfer has quit [Ping timeout: 250 seconds]
dema has joined #nixos
boxscape has joined #nixos
smatting has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #73862 → grafana-loki: 0.4.0 -> 1.0.0 → https://git.io/Je662
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeiOv
<nilsirl[m]> How can I install docker-credential-pass?
domogled has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #73914 → et: 0.1.1 -> 0.1.2 → https://git.io/JeiUg
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeiOt
davidak has quit [Remote host closed the connection]
davidak has joined #nixos
zupo has joined #nixos
zupo has quit [Client Quit]
FRidh has quit [Quit: Konversation terminated!]
Neo-- has quit [Ping timeout: 240 seconds]
smatting has quit [Remote host closed the connection]
halfbit has joined #nixos
smatting has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
ixxie has joined #nixos
growpotkin has joined #nixos
davidak has quit [Read error: Connection reset by peer]
davidak has joined #nixos
chloekek has quit [Quit: WeeChat 2.6]
bahamas has joined #nixos
bahamas has joined #nixos
wildtrees has joined #nixos
<srk> adisbladis: globin: ad lua - bisect says 1601a7fcce389ae3f1b1b36676fd5545035566af is the first bad commit
lovesegfault has joined #nixos
<srk> part of that was reverted by 5b6da99ea09a166ad8d79fc2fb2c371958a9bd93
jollyjester has joined #nixos
<jollyjester> The option `services.xserver' defined in `/home/eon/.config/nixpkgs/home.nix' does not exist.
<jollyjester> i'm getting this, very weird, the options page shows the option as valid
karetsu has joined #nixos
<karetsu> I've gotten much further down the road with my previous issue - now I have a dbus entry from notify-send that I think looks slightly odd. https://gist.github.com/karetsu/fb6634ffc14bf6c778fd78f101556378
<karetsu> the string ':1.16' seems strange to me, what has I messed up in notify-send to send :1.16 or 7?
zupo has joined #nixos
zupo has quit [Client Quit]
<infinisil> jollyjester: That's a NixOS option, not a home-manager one
<justanotheruser> gchristensen: good talk last night!
lovesegfault has quit [Ping timeout: 250 seconds]
Thra11 has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
jollyjester has quit [Quit: leaving]
reactormonk has joined #nixos
bvdw has joined #nixos
nschoe has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-make: 0.23.0 -> 0.24.0 »: https://git.io/Jei3z
jollyjester has joined #nixos
<jollyjester> i just installed ubuntu_font_family and when doing fc-list | grep "Ubuntu" it doesn't show anything
<adisbladis> srk: Ok, lemme try to revert that commit locally and rebuild :)
mexisme has joined #nixos
jgeerds has joined #nixos
drakonis has joined #nixos
LysergicDreams has quit [Ping timeout: 240 seconds]
juhe has joined #nixos
LysergicDreams has joined #nixos
smatting_ has joined #nixos
smatting has quit [Ping timeout: 250 seconds]
<veleiro> can anyone explain, why would I use home-manager vs nix-env? because nix-env is declarative? I'd like all of my config files for emacs etc to be deterministic as it is for configuration.nix
hmpffff has quit [Quit: nchrrrr…]
<adisbladis> veleiro: nix-env is not declarative
<adisbladis> And home-manager is :)
<adisbladis> Also home manager has some pretty nifty features like user services
<adisbladis> veleiro: Imho the best way to use home-manager is as a nixos module
karetsu has quit [Quit: WeeChat 2.6]
hmpffff has joined #nixos
<veleiro> so why wouldn't nix-env be more like that? all i can imagine is its easy to just spin up some derivations to check out, but using both home-manager and nix-env would ensue quite a mess
<adisbladis> veleiro: Mostly historical I guess. Idk
<adisbladis> Never really used nix-env
tilpner has quit [Quit: tilpner]
<juhe> veleiro: I think that the goals of nix-env and home-manager are different. nix-env is for (at least to me) for quick & dirty tests of applications, which either end up in home or even system configuration or not.
<juhe> veleiro: I try to keep the output of nix-env -q short. Mainly because apps installed by nix-env do not get updated when running home-configuration switch (or nixos-rebuild switch).
rardiol has quit [Ping timeout: 245 seconds]
tilpner has joined #nixos
<jollyjester> can anyone tell me if ubuntu_font_family works on their system
<veleiro> oh thats cool, i'm pretty much convinced about home-manager i believe.
<jollyjester> i tried restarting my xorg session too, but with no effect
<{^_^}> [nixpkgs] @jamii opened pull request #73928 → Fix mariadb drivers → https://git.io/JeisU
<adisbladis> veleiro: For ad-hoc things you want either `nix run` or `nix-shell`
LysergicDreams has quit [Ping timeout: 240 seconds]
<adisbladis> I recommend everyone to stay away from nix-env :)
<veleiro> jollyjester: mine work in fonts.fonts = with pkgs; [ ubuntu_font_family ];
<lordcirth> I try to only use nix-env for -qa
<adisbladis> Also there is a `nix` 2.0 command coming which replaces nix-env and has at least some better semantics
<veleiro> <adisbladis "ultranix: For ad-hoc things you "> thanks
<qyliss> Yeah, I like to think of it as "nix-env is there because it hasn't been deleted yet"
<adisbladis> lordcirth: It's fine as a search tool, I mean anything that alters state
<lordcirth> adisbladis, ooh, where can I follow that 2.0?
red[evilred] has joined #nixos
<red[evilred]> I’m still struggling with the use case for home-manager too. I think I need an article / video / something to help me understand what I’m missing
* juhe noted down to use nix run / nix-shell instead of nix-env :)
<adisbladis> red[evilred]: Basically this: You know how you have configuration.nix globally
<adisbladis> What if you could have that for user profiles too
LysergicDreams has joined #nixos
jollyjester has quit [Quit: leaving]
<red[evilred]> So each user has a configuration.nix?
<qyliss> essentially
<adisbladis> red[evilred]: Each user has a home.nix (usually in ~/.config/nixpkgs/home.nix)
hmpffff has quit [Quit: nchrrrr…]
<red[evilred]> So I could use my master configuration.nix to write out my individual user home.nix es?
<veleiro> which is why nix-env isnt helping, because you can have config files for it too in home, right?
<adisbladis> But home-manager can also be used as a nixos module (ie you also define your user profiles in configuration.nix)
<adisbladis> red[evilred]: ^
<adisbladis> Then it's all updated when you nixos-rebuild
<red[evilred]> Oh, so basically what I’ve been doing already manually
<veleiro> ~/.config/nixpkgs/config.nix
<red[evilred]> Sold.
<red[evilred]> Time to find that module
<veleiro> i like how nix-env has rollbacks and i dont understand either the warning about home-manager needing manual rollbacks
<red[evilred]> It’s basically saying that it can’t restore something that wasn’t automatically generated
<red[evilred]> Which is also true for all of nix, but you don’t see it because people typically don’t do things manually at a system level
MmeQuignon has quit [Ping timeout: 240 seconds]
<veleiro> true
<red[evilred]> Basically the same warning as when you turn mutable users false but forget to define one
<red[evilred]> That user just disappears
<red[evilred]> Or adding something directly to hosts
<red[evilred]> Which reminds me, I need to check on my nixos PRs
<adisbladis> red[evilred]: I believe it's a directory called `nixos` in the home-manager repo, add that to your system imports
davidak has quit [Read error: Connection reset by peer]
<adisbladis> And then something like: `home-manager.users.adisbladis = import home.nix;`
davidak has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<red[evilred]> YES! It got added!
<red[evilred]> Woot!
<red[evilred]> Now I gotta go check on hydra and make sure I didn’t break master :P
smatting_ has quit [Ping timeout: 276 seconds]
<red[evilred]> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<red[evilred]> Nope
<red[evilred]> ,help
dooms has joined #nixos
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<qyliss> red[evilred]: you can PM the bot fwiw
<red[evilred]> ,
<{^_^}> Special commands: find tell locate expand - Commands sorted by use count, page 0 (use ,<n> to view page <n>): help libraries unstable escape'' library declarative unfree howoldis escape" ping paste callpackage -a pinning profiling ask overlay pr wololo nixlang++ which-channel botsnack stateversion xml imperative xy cache fancy-uninstall pills channels exec ifd invite haskell loot home-manager stuck pointers tias tofu cloak dontask escape-special
<red[evilred]> Oh, thank you
<juhe> Does anyone know how to cleanup boot stage 1's network before entering boot stage 2? Or at least somehow persuade systemd that it should reconfigure eth0 to become enp4s0 as if is with boot when network in boot stage 1 is never configured...
<red[evilred]> I’m looking for the heroku url that shows channel status
<adisbladis> ,howoldis red[evilred]
<{^_^}> red[evilred]: https://howoldis.herokuapp.com/
<red[evilred]> Thanks : <3
<red[evilred]> Now I just need to work out when this got commit was actually committed as it showed the date I committed it, not when merged.
davidak has quit [Ping timeout: 276 seconds]
<red[evilred]> Easy from a command line, hard from a cellphone
<red[evilred]> I should probably just be patient
<lordcirth> red[evilred], what commit ID?
fusion809 has joined #nixos
<red[evilred]> C8bfae0
lovesegfault has joined #nixos
bahamas has quit [Ping timeout: 246 seconds]
<red[evilred]> It got merged into staging, then staging-next over the last few weeks
<red[evilred]> I’m trying to work out when it hit master
<lordcirth> K
<red[evilred]> I guess it doesn’t matter - but it does mean that I can now open a PR to add LTFS support!
<red[evilred]> Which is what I’ve been waiting for
davidak has joined #nixos
<ambro718> When I run genericBuild in a nix-shell environment, it ends up failing to install to the nix store (Read-only file system). How do I make the install work?
<lordcirth> red[evilred], ec9cf578e56ff7c3045878f86506338b0112777d Wed Nov 20
<adisbladis> ambro718: What do you expect to happen? Where do you want the stuff to be installed?
<ambro718> adisbladis: possibily in a specific location of my choice, not in the nix store
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<adisbladis> ambro718: You could try `export out=/path/to/wherever`
<ambro718> I'll try. I'll have to be done in a new environment though, since it affects the build.
LysergicDreams has quit [Ping timeout: 240 seconds]
smatting_ has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.6]
gentauro has quit [Read error: Connection reset by peer]
juhe has quit [Quit: Leaving.]
ng0 has quit [Remote host closed the connection]
gentauro has joined #nixos
cosimone has joined #nixos
ng0 has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #73699 → tests/systemd-networkd-wireguard: migrate to python test runner → https://git.io/JeKl1
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeisM
<red[evilred]> @lordcirth thank you! That’s excellent news!
shibboleth has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @bbigras opened pull request #73929 → nginx-sso: 0.16.1 -> 0.22.0 → https://git.io/Jeisy
<{^_^}> [nixpkgs] @flokli merged pull request #73411 → nixosTests.yggdrasil: port to python → https://git.io/JerDY
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/Jeis7
gagbo has quit [Ping timeout: 250 seconds]
LysergicDreams has joined #nixos
<lordcirth> red[evilred], FYI, I found this great tip: https://stackoverflow.com/a/30998048
<{^_^}> [nixpkgs] @maljub01 opened pull request #73930 → kbfs service: Do not assume fuse is installed → https://git.io/JeisA
<red[evilred]> Oh, that’s really useful - thank you
alexherbo2 has joined #nixos
alexherbo2 is now known as alex```
Ariakenom has joined #nixos
bahamas has joined #nixos
captn3m0 has quit [Read error: Connection reset by peer]
captn3m0 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73876 → Fix Plasma NixOS tests → https://git.io/Je67I
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/JeiGm
<{^_^}> [nixpkgs] @Dema opened pull request #73932 → netgen-mesher: init at version 6.2.1909 → https://git.io/JeiGY
<{^_^}> [nixpkgs] @flokli merged pull request #73131 → Port tests to python → https://git.io/JeV1D
<{^_^}> [nixpkgs] @flokli pushed 15 commits to master: https://git.io/JeiGO
bahamas has quit [Ping timeout: 265 seconds]
aither has quit [Ping timeout: 276 seconds]
<Ariakenom> when setting autologin and xterm as desktop manager I get assertion errors. Why is that?
nuncanada has joined #nixos
smatting_ has quit [Ping timeout: 240 seconds]
captn3m0 has quit [Ping timeout: 240 seconds]
<lordcirth> Ariakenom, can you pastebin the exact errors?
captn3m0 has joined #nixos
<dema> Yeah! made my first package in nix :D
<lordcirth> dema, awesome! PR to nixpkgs, or just for yourself?
<Ariakenom> lordcirth: dont have them atm. lemme see
<dema> @Dema opened pull request #73932 → netgen-mesher: init at version 6.2.1909 → https://git.io/JeiGY
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73932 (by Dema, 11 minutes ago, open): netgen-mesher: init at version 6.2.1909
<dema> Just took random issue requesting package and tried to write a derivation for it
<{^_^}> [nixpkgs] @flokli opened pull request #73933 → nixosTests.mongodb: port to python → https://git.io/JeiGl
<lordcirth> Awesome!
psyanticy has quit [Quit: Connection closed for inactivity]
reactormonk has quit [Ping timeout: 245 seconds]
<red[evilred]> That is awesome!
<red[evilred]> I didn’t know there were issues requesting new packages. Just learned something!
<{^_^}> [nixpkgs] @flokli opened pull request #73934 → nixosTests.cockroachdb: port to python → https://git.io/JeiGu
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
fendor has joined #nixos
<Ariakenom> lordcirth: it was about it not being possible to have displaymanager.default=none and autoLogin=true.
noudle has quit []
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
<Ariakenom> desktopManager.default sry
hmpffff has joined #nixos
<Ariakenom> I set it to none according to https://nixos.wiki/wiki/I3
cosimone has quit [Quit: Terminated!]
gxt has joined #nixos
aither has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
<Ariakenom> ex lightdm.autologin, but same for all dm i tried
Okinan has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #73935 → nixosTests.mpd: port to python → https://git.io/JeiGS
growpotk- has joined #nixos
<{^_^}> [nixpkgs] @LnL7 merged pull request #73826 → git: disable failing test on darwin → https://git.io/Je6W9
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/JeiGQ
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @kylesferrazza opened pull request #73936 → meteor: 1.8.1 -> 1.8.2 → https://git.io/JeiGA
dema has quit [Ping timeout: 240 seconds]
v0|d has joined #nixos
<hyper_ch> eyJhb: :(
<lordcirth> Ariakenom, how would you have autologin without a login manager?
<{^_^}> [nixpkgs] @LnL7 opened pull request #73937 → [WIP] darwin: update bootstrap-tools to use llvm_9 → https://git.io/JeiZJ
<{^_^}> [nixpkgs] @worldofpeace opened pull request #73938 → nixosTests.gnome3-xorg: port to python → https://git.io/JeiZT
growpotk- has quit [Ping timeout: 265 seconds]
LysergicDreams has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #73939 → nixosTests.gitlab: port to python → https://git.io/JeiZt
__Myst__ has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
Okinan has quit [Ping timeout: 276 seconds]
LysergicDreams has joined #nixos
drakonis_ has joined #nixos
<Ariakenom> lordcirth: it was services.xserver.displayManager.lightdm.autoLogin
slack1256 has joined #nixos
<eyJhb> hyper_ch: so running my old config :%
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Ariakenom> is that not alogin manager?
domogled has quit [Ping timeout: 252 seconds]
Okinan has joined #nixos
lovesegfault has joined #nixos
mexisme has quit [Ping timeout: 265 seconds]
chloekek has joined #nixos
slack1256 has quit [Ping timeout: 240 seconds]
lovesegfault has quit [Ping timeout: 250 seconds]
alex``` has quit [Quit: The Lounge - https://thelounge.chat]
cosimone has joined #nixos
lovesegfault has joined #nixos
<Ariakenom> (no sarcasm I find these managers confusing)
domogled has joined #nixos
zupo has joined #nixos
zeta_0 has joined #nixos
<zeta_0> when i set the option: `networking.wireless.enable = true;` in configuration.nix, wpa_supplicant threw an error: `Failed to open config file '/etc/wpa_supplicant.conf', error: No such file or directory`
<zeta_0> what's going on here ?
<zeta_0> how do i get the wifi up and running in nixos ?
<jared-w> Does your wpa_supplicant file exist?
<jared-w> I think it has to be created manually for some reason... I remember needing to do some weird nonsense before giving up and installing nixos through the graphical live disk like a pleb
zupo has quit [Client Quit]
<jared-w> (in my case I configured everything right but forgot I was on a WEP wifi network until I used the graphical installer which had the GUI to automate the wireless nonsense)
zupo has joined #nixos
cosimone has quit [Remote host closed the connection]
<zeta_0> jared-w: i guess not, i'm not sure if i am missing some steps to get the wifi up and running
cosimone has joined #nixos
<jared-w> let's see if I can dig up the page I used last time
<jared-w> https://qfpl.io/posts/installing-nixos/ I found this more helpful for the wifi than the official docs
<jared-w> I also did the wifi completely manually the first time through. You have to or nixos-rebuild switch won't actually work :p
drakonis has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<lordcirth> Ariakenom, ah ok. I thought by displaymanager.default=none you meant disabling all login managers
knupfer has joined #nixos
drakonis1 has joined #nixos
MmeQuignon has joined #nixos
domogled has quit [Quit: domogled]
drakonis_ has quit [Ping timeout: 265 seconds]
<Ariakenom> lordcirth: it looks strange to me ... but there is services.xserver.desktopManager.xterm.enable = true which is supposed to work instead?
drakonis has quit [Ping timeout: 276 seconds]
<dredozubov> I'm trying to do patchPhase after installPhase and patch the headers in $out. During that I'm getting: "patch: **** Can't create temporary file Library/Frameworks/Security.framework/Headers/SecItem.h.oKnh4ui : Permission denied"
<dredozubov> Does it mean I can't do this in $out? How do I do this instead?
philr has joined #nixos
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @saschagrunert to master « sonobuoy: 0.15.0 -> 0.16.1 (#70904) »: https://git.io/JeiZN
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70904 → sonobuoy: 0.15.0 -> 0.16.1 → https://git.io/Jelel
m1cr0man has joined #nixos
worldofpeace has joined #nixos
<worldofpeace> dredozubov: umm, you how did you do patchPhase after installPhase? That phase runs way before anything has been compiled or installed. If you want to fix some headers that are installed you want postFixup.
<dredozubov> doc says it can be rearranges, so I did ` phases = [ "configurePhase" "installPhase" "patchPhase" "fixupPhase" ];`
<lordcirth> That seems a weird thing to do, though...
<dredozubov> I'm trying to fix apple_sdk.frameworks, there are lots of weird thing there
<dredozubov> things*
<dredozubov> I want to patch some headers, just as worldofpeace pointed out
<adisbladis> Oh, apple frameworks
<adisbladis> Here be dragons :P
__Myst__ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @knedlsepp opened pull request #73940 → boost170: Fix cmake files → https://git.io/JeinT
<worldofpeace> Yeah it's pretty much not a good idea to reorder, or even set `phases`. I believe there's an active to issue to deprecate that entirely.
<worldofpeace> How about using the `dont$phase` attributes if what you need to do is disable a phase?
<worldofpeace> patchPhase is for operating on the src.
tbenst has quit [Remote host closed the connection]
<worldofpeace> also, how you defined phases appears to completely leave out unpackPhase. I bet there isn't an src unpacked in the working directory.
<dredozubov> actually I don't need to unpack anything here, so it's not a concern
<dredozubov> it looks like it's cherry-picking system headers from os x /Library/System to the nix-store
<dredozubov> but I guess it was an incorrect approach anyway
noudle has joined #nixos
<adisbladis> I'd cram it into postFixup
mexisme has joined #nixos
zeta_0 has joined #nixos
<zeta_0> how do i find ssid and key ?
<zeta_0> i need them to setup wifi in nixos ?
<{^_^}> [nixpkgs] @markuskowa merged pull request #73835 → scalapack: 2.0.2 -> 2.1 → https://git.io/Je6Ri
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JeinO
<adisbladis> zeta_0: If you're using wifi I'd suggest networkmanager
MmeQuignon has quit [Quit: WeeChat 2.6]
<zeta_0> adisbladis: i set this 2 options in nixos and i am still getting an error: networking.wireless.enable = true;
<zeta_0> networking.networkmanager.enable = true;
<zeta_0> adisbladis: are there other steps i need to do ?
<waleee-cl> zeta_0: I don't think you can enable both at the same time?
<zeta_0> waleee-cl: so set the 1st option to false ?
<waleee-cl> the first one uses wpa_supplicant and the other is self-explanatory
<{^_^}> [nixpkgs] @knedlsepp opened pull request #73941 → klayout: init at 0.26.1 → https://git.io/Jein7
<waleee-cl> zeta_0: If you want to use NetworkManager you can just comment out the networking.wireless.enable (it default's to false I think)
<adisbladis> zeta_0: networking.wireless and networking.networkmanager are mutually exclusive iirc
<adisbladis> Either way, you probably don't want to use networking.wireless
<adisbladis> networking.wireless naming is unfortunate
<adisbladis> It should have been networking.wpa_supplicant
davidak has quit [Quit: Leaving]
<zeta_0> waleee-cl: cool thanks, i just set it to false and going to try a rebuild
<adisbladis> You do not want or need networking.wireless if you're using networkmanager
<adisbladis> zeta_0: All the DEs networking interfaces are based on networkmanager
<adisbladis> I wonder if we should rename networking.wireless...
<adisbladis> We probably should.
<zeta_0> adisbladis: oh, i did not know that, ya they should have named the options better, to avoid confusion
<zeta_0> adisbladis: i am not using a DE, i am only using xmonad ?
<waleee-cl> could be a good idea, I guess some people are going to want/add iwd as an alternative soon
<zeta_0> waleee-cl: ok, well i am going to try rebuilding
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
o1lo01ol1o has quit [Remote host closed the connection]
zeta_0 has joined #nixos
<zeta_0> i did a rebuild with networkmanager enabled and there was no errors but the wifi still does not work, is it because i am using xmonad ?
<zeta_0> am i missing additional steps
<zeta_0> i'm confused ?
drakonis has joined #nixos
<waleee-cl> have you configured the network?
bahamas has joined #nixos
<waleee-cl> ie if you do: nmcli connection up <tab> do you have any completions?
<adisbladis> zeta_0: waleee-cl: https://github.com/NixOS/nixpkgs/issues/73942
<{^_^}> #73942 (by adisbladis, 5 minutes ago, open): networking.wireless nixos module name leads to confusion
<waleee-cl> (or do you have any entries if you use nmtui)
<zeta_0> waleee-cl: there is completions for nmcli ?
<waleee-cl> adisbladis: thumbs up on that
<zeta_0> waleee-cl: i have nmtui as well ?
<adisbladis> zeta_0: nmtui is a part of networkmanager (curses ui)
drakonis1 has quit [Ping timeout: 276 seconds]
<zeta_0> adisbladis: thanks for putting that issue, the naming confusion is annoying
<zeta_0> anyways, what steps do i need to do next to setup wifi ?
<zeta_0> i didn't think i'd have to struggle so much to setup wifi
<adisbladis> zeta_0: Is nmtui showing you anything?
<adisbladis> zeta_0: The only other thing I can think of is firmware.
bahamas has quit [Ping timeout: 240 seconds]
<adisbladis> https://nixos.org/nixos/options.html#hardware.enableredistributablefirmware
<zeta_0> adisbladis: yes nmtui works, thats what i need to use then ?
<adisbladis> zeta_0: That or use the gnome tray thingy?
shibboleth has quit [Quit: shibboleth]
<waleee-cl> zeta_0: formally known as nm-applet, can be integrated in some bars (i3bar, polybar &c)
<{^_^}> [nixpkgs] @fpletz merged pull request #73935 → nixosTests.mpd: port to python → https://git.io/JeiGS
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/Jeic3
drakonis1 has joined #nixos
<{^_^}> [nix] @edolstra pushed 4 commits to master: https://git.io/JeicG
zeta_0 has quit [Quit: trying options']
magneticduck has quit [Remote host closed the connection]
drakonis1 has quit [Client Quit]
drakonis1 has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
zeta_0 has joined #nixos
<zeta_0> using nmtui i finally got the wifi on my laptop to work, thanks guys for the help
<ilya-fedin> How I can use ccacheStdenv with qt.mkDerivation?
zeta_0 has quit [Client Quit]
mexisme has quit [Ping timeout: 245 seconds]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @shanemikel opened pull request #73943 → Update maintainer-list.nix → https://git.io/Jeicz
mexisme has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
bahamas has joined #nixos
<{^_^}> [mobile-nixos] @samueldr merged pull request #52 → imageBuilder.makeMBR: Fixes bug with gap → https://git.io/Je6xL
<{^_^}> [mobile-nixos] @samueldr pushed 2 commits to master: https://git.io/JeiCJ
chloekek has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
bahamas has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73378 → nixos/gdm: make desktopManager.default work → https://git.io/Jerzq
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeiCq
ixxie has quit [Ping timeout: 265 seconds]
ckauhaus has quit [Quit: WeeChat 2.6]
work_ has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #73939 → nixosTests.gitlab: port to python → https://git.io/JeiZt
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/JeiCW
dconnolly has quit [Quit: reboot for maintenance]
<{^_^}> [nixpkgs] @WilliButz merged pull request #73933 → nixosTests.mongodb: port to python → https://git.io/JeiGl
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/JeiC4
alexherbo2 has quit [Ping timeout: 240 seconds]
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
zeta_0 has joined #nixos
<zeta_0> why is `..` causing an error to be throw when i try to rebuild ? https://gist.github.com/zeta-00/ae08f79b2922d8377fc097edd5dbee6c
__monty__ has quit [Quit: leaving]
<zeta_0> did i mess up somewhere ? https://rycee.gitlab.io/home-manager/options.html#opt-programs.bash.shellAliases
<zeta_0> rycee ?
<infinisil> > { ".." = ".." }
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):271:15
<infinisil> > { ".." = ".."; }
<{^_^}> { ".." = ".."; }
<infinisil> > { .. = ".."; }
<{^_^}> error: syntax error, unexpected '.', at (string):271:3
<infinisil> You need to quote it
<{^_^}> [nixpkgs] @worldofpeace pushed to master « nixos/gdm: don't raise an Exception in set-session script »: https://git.io/JeiCu
fendor has quit [Quit: Leaving]
mexisme has quit [Ping timeout: 245 seconds]
<zeta_0> infinisil: thanks, these tiny details mess me up sometimes'
<jared-w> The semicolon thing also gets me
<zeta_0> infinisil++
<{^_^}> infinisil's karma got increased to 162
<jared-w> Between typescript, haskell, nix, dhall, and rust, there's just too many ways to write object literals :p
<zeta_0> jared-w: ya
zeta_0 has quit [Quit: rebuilding]
knupfer has quit [Ping timeout: 245 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
mexisme has joined #nixos
bahamas has joined #nixos
bahamas has quit [Ping timeout: 265 seconds]
halfbit has quit [Ping timeout: 252 seconds]
<sshow> > fmt.Println("foonar")
<{^_^}> attribute 'Println' missing, at (string):271:1
nocoolnametom has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed to master « codimd: fix build »: https://git.io/JeiCp
<lovesegfault> infinisil: Can I bother you for a PR review?
<infinisil> Which one?
<{^_^}> #73608 (by lovesegfault, 4 days ago, open): beets: fix absubmit deps
<infinisil> Ahh
<lovesegfault> infinisil: Is that a good ahh or a bad one?
<{^_^}> [nixpkgs] @Infinisil merged pull request #73608 → beets: fix absubmit deps → https://git.io/JeKkX
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JeiWt
<lovesegfault> Oh, a good one!
justanotheruser has quit [Quit: WeeChat 2.6]
<infinisil> ^^ :)
<lovesegfault> Thanks :)
<infinisil> Am using beets myself, so it's not unrelated to me
<{^_^}> [nixpkgs] @Ma27 pushed to release-19.09 « codimd: fix build »: https://git.io/JeiWm
<lovesegfault> infinisil: I see, so with this you can now submit your signatures to Acoustic Brainz
<lovesegfault> and 1.4.9 has my changes to make the analyzer run in parallel on the music files so it's much faster
* lovesegfault should time how long it takes to publish his 11k flacs
<infinisil> lovesegfault: Does it only run on things in the mb database?
<lovesegfault> infinisil: Nope, runs on anything you have
<infinisil> s/mb/ab (acoustic brainz)
<lovesegfault> Having stuff _not_ in their DB is even better
<lovesegfault> as I understand, at least
<infinisil> Oh I see, then I should probably enable that actually, I have many such songs
<lovesegfault> I'll show you how, one second
<lovesegfault> infinisil: ^
<lovesegfault> With this last commit you can just do `streaming_extractor_music` since it'll be propagated to your path
<infinisil> Why is it necessary to set the binary?
<infinisil> Ah
<infinisil> I'm honestly not so sure about whether I want to keep using beets
<infinisil> There's not really an alternative, but it's just really slow and cumbersome to integrate stuff with
sigmundv has quit [Ping timeout: 265 seconds]
<lovesegfault> infinisil: I feel the same way
<lovesegfault> where I'm like "this is not great, but it's worlds better than not having it"
<infinisil> I have so many scripts related to managing my music
<lovesegfault> I started working on a replacement
<infinisil> Oh I've actually planned some stuff for a replacement too hehe
<infinisil> Haven't started though
<infinisil> lovesegfault: Wait let's go to #nixos-chat
<lovesegfault> written in Rust and all, but I got stuck writing some really advanced thing to minimize data transfers when updating music metadata and then I got a job and never touched it :P
<lovesegfault> Alright, moving there
cosimone has quit [Quit: Quit.]