andi- 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
xelxebar has joined #nixos
<adisbladis> energizer: That has some overlap with mypy. Is it possible to omit types from those docstrings and have mypy provide them instead?
<adisbladis> Yes it is :)
felixfoertsch has quit [Ping timeout: 246 seconds]
<gchristensen> energizer: any helpful links?
<gchristensen> oh cool
kleisli has quit [Ping timeout: 240 seconds]
lunik1 has joined #nixos
<lunik1> If I run a docker container as a systemd service using docker-containers.<name> when is the container base image updated?
<energizer> looks like sphinx integrated support directly so maybe sphinx-autodoc-napoleon-typehints isn't necessary anymore
cr4y1 has quit [Ping timeout: 256 seconds]
bhipple has joined #nixos
<evils> is `apropos` working for anyone?
<energizer> not for me
<Bunogi> If I have added two nix channels, do all of them get updated when I run nixos-rebuild --upgrade switch, or just the normal nixos one?
ZaraChimera has joined #nixos
<clever> Bunogi: `nixos-rebuild --upgrade` will only update the channel named nixos
<clever> Bunogi: `nix-channel --update` will upate all by default
<gchristensen> now that I got nixops storing state in s3, I can pop one layer off my stack of things to do ...
felixfoertsch has joined #nixos
<Bunogi> clever: Thanks for clearing my confusion, that explains why certain things didn't seem to get updated...
<atemu12[m]> lunik1: If you only specify some name, the dockerd will try to pull it from dockerhub and it only gets updated through the dockerd
<{^_^}> [nixpkgs] @bhipple merged pull request #83319 → nano: 4.7 -> 4.9 → https://git.io/JvSLY
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvSYH
<lunik1> atemu12[m]: ok thanks
<atemu12[m]> lunik1: You can fetch a Docker container with Nix and make dockerd use the nix store path though IIRC
Mrmaxmeier has quit [Remote host closed the connection]
<lunik1> atemu12[m]: this section of the manual? https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools
<atemu12[m]> `pullImage`, yeah
<Jonathan44> I am not figuring it out clever. Is there any other advice you can give me? I am a little confused because it looks like the cmake error is saying the error is on line 138 `CMake Error at CMakeLists.txt:138 (install):` but that line is `set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH ON)` which appears to have nothing to do with `install`.
<lunik1> ok I will have a read, thanks
<clever> Jonathan44: can you put all of the nix files into a gist?
<Jonathan44> Yeah
<Jonathan44> The `ccd` (dependency) which builds fine. https://gist.github.com/JonathanILevi/7662dadeb3daddaf543491d5370ff170
<clever> Jonathan44: you can add multiple files to a single gist, which makes it much easier to read
<Jonathan44> Oh.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83325 → python27Packages.geoalchemy2: 0.6.3 -> 0.7.0 → https://git.io/JvSOq
<clever> Jonathan44: just hit edit, and add file
<Jonathan44> Okay, I added the other default.nix.
kleisli has joined #nixos
<Jonathan44> I tried several things from the links you shared which I deleted (because I forgot what a nix comment is...).
<clever> Jonathan44: did you hit save? and each file needs a unique name
<Jonathan44> Whoops, Now I did.
<Jonathan44> Oh, and I fixed the names.
_rvl has quit [Quit: ZNC 1.7.4 - https://znc.in]
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> Jonathan44: i dont see how that ccd derivation would ever work, it has no source, so nix-build has nothing to build
<Jonathan44> I am sorry, I copied an old version of the file.
<GrimSleepless> bhipple: Thank you for your review. I made the changes you asked for. I have also added a commit to add the missing dependency of iptables
<GrimSleepless> bhipple: thanks you again!
butterthebuddha has joined #nixos
_rvl has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #82622 → opentx: 2.2.1 -> 2.3.5, fix build → https://git.io/JviVk
<clever> Jonathan44: and what error happens if you run nix-build?
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvSO0
m0rphism has quit [Ping timeout: 265 seconds]
<Jonathan44> clever: I added a file for the whole cmd output. Line 40-41 is what appears to be the error.
orivej has quit [Ping timeout: 256 seconds]
<clever> Jonathan44: and where is the source for this project?
orivej has joined #nixos
jb551 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bhipple pushed commit from @vbgl to master « alt-ergo: 2.3.0 → 2.3.1 »: https://git.io/JvSOw
<{^_^}> [nixpkgs] @bhipple merged pull request #83268 → alt-ergo: 2.3.0 → 2.3.1 → https://git.io/JvyPM
<clever> CMake Error at CMakeLists.txt:138 (install):
<clever> Jonathan44: can you modify both default.nix files, to give them a better name
<clever> Jonathan44: its hard to tell which one is which in the build log
<Jonathan44> Yeah.
chagra has quit [Ping timeout: 256 seconds]
kleisli has quit [Ping timeout: 256 seconds]
jb55 has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #81735 → Protonvpn ng update 2.2.0 to 2.2.2 → https://git.io/JvVv4
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvSOX
<{^_^}> [nixpkgs] @ajs124 opened pull request #83326 → uefitool: update → https://git.io/JvSO1
<Jonathan44> Okay, I change the file names.
<clever> Jonathan44: i meant the `name = "env";` in the file
<Jonathan44> Oh, lol
<clever> Jonathan44: env is failing to build, which env?
<Jonathan44> Oh, I see.
T_S_ has quit [Remote host closed the connection]
<Jonathan44> I didn't think that default.nix appeared in the error.
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Jonathan44> Okay, I did it.
butterthebuddha has joined #nixos
<Jonathan44> Shoot, no I didn't.
lunik1 has quit [Quit: :x]
Fare has quit [Ping timeout: 260 seconds]
<Jonathan44> Now I did.
iyzsong has joined #nixos
<Jonathan44> Hey, I figured something out clever.
<clever> ?
<Jonathan44> There are two CMakeLists.txt. One in the root and one in src (for fcl).
<ottidmes> Did I somehow miss it, or is there no lib function for: builtins.foldl' (x: y: x // y) {}
<Jonathan44> The one is src is where the error is coming from.
<clever> Jonathan44: that would explain why its complaining about the missing project()
<ajs124> Is there anyone (like, a team) I can CC if a PR against nixpkgs fixes a security issue?
<clever> Jonathan44: let me try something here...
<evils> ajs124: there's #nixos-security and https://nixos.org/nixos/security.thml
Ilya_G has quit [Remote host closed the connection]
<ajs124> evils: that link seems broken
<evils> s/thml/html/
Fare has joined #nixos
<ajs124> Ok, I'll go ask in that channel, if someone can take a look at it, thanks!
<Jonathan44> Why can the src not be "."?
<clever> Jonathan44: it must contain a / and must not be quoted
<clever> Jonathan44: src = ./.; is most common
<Jonathan44> Oh.
<gchristensen> clever: check this out:
<{^_^}> [nixpkgs] @grahamc opened pull request #83327 → nixos-rebuild: support --upgrade-all and document --upgrade → https://git.io/JvS3q
<clever> gchristensen: heh :D
<clever> gchristensen: i wonder what spured that on!
<clever> gchristensen: personal, i dont touch --upgrade, it conflicts with --rollback (which wont fully undo the upgrade)
kleisli has joined #nixos
<gchristensen> hehe
<{^_^}> [nixpkgs] @JeffLabonte opened pull request #83328 → [19.09] protonvpn ng 2.2.0 to 2.2.2 → https://git.io/JvS3s
<Jonathan44> Oh, clever, fcl also depends on Eigen.
mbrgm_ has joined #nixos
<clever> Jonathan44: already ahead of you
<clever> Jonathan44: nearly done compiling
<Jonathan44> Oh, wow
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
<simpson> Jonathan44: Once you get the hang of this, you'll be able to do this much faster. A lot of this is grepping nixpkgs, looking up release tarball URLs and versions, filling out license metadata.
<Jonathan44> Yeah, I am sure. I am quite new to nix (and not familiar with C/C++ build systems).
exprez135 has joined #nixos
<Jonathan44> Mine is building now too. Eigen is in nixpkgs so it is easier (:
<clever> Jonathan44: https://gist.github.com/b0b199f9ddf1b217cdc182884a40ced2 and `nix-build -A fcl` and it builds on my end
<{^_^}> [nixpkgs] @grahamc merged pull request #83235 → memcached: 1.5.22 -> 1.6.2 → https://git.io/JvyWP
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JvS3B
wildtrees has quit [Quit: Leaving]
<Jonathan44> Okay, you are more familiar with nix than me :D
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
butterthebuddha has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83329 → python37Packages.aiohttp-socks: 0.3.4 -> 0.3.6 → https://git.io/JvS3E
<{^_^}> [nixpkgs] @JeffLabonte opened pull request #83330 → protonvpn-cli-ng: 2.2.0 -> 2.2.2 → https://git.io/JvS3u
<Jonathan44> Thanks so much for your help clever!
<clever> yep
<Jonathan44> Um, clever. How can I use that in a shell. nix-shell is throwing errors.
<clever> Jonathan44: you need to use -A to tell it which thing you want a shell on
<clever> Jonathan44: either `-A libccd` or `-A fcl`
<Jonathan44> Oh, thanks.
<Jonathan44> I am going to have to look up the documentation on the scope thing you used.
<clever> Jonathan44: i'm not sure its fully documented, but it basically lets you make a private set of packages, and you can still add overlays to it later
<Jonathan44> Okay.
johnny5 has quit [Ping timeout: 240 seconds]
<Jonathan44> I get the idea, but I am afraid I am going to need to become more familiar with other parts of nix before I can do it myself.
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cosimone has quit [Quit: Quit.]
butterthebuddha has joined #nixos
<Jonathan44> Can I that in a shell which includes more dependencies?
<clever> Jonathan44: you could just add them to the buildInputs
<atemu12[m]> Jonathan44: You can always add more `buildInputs`
<Jonathan44> clever: `let fcl-thing = import(./default.nix);` and `fcl-thing.fcl` doesn't work.
<clever> Jonathan44: depending on how you do it, that may give you an env with fcl pre-built, not fcl's deps
<{^_^}> [nixpkgs] @ryantm closed pull request #82876 → gede: 2.15.4 -> 2.16.1 → https://git.io/Jv1Yi
<{^_^}> [nixpkgs] @jonringer merged pull request #83323 → pythonPackages.azure*: bump many → https://git.io/JvSmi
<{^_^}> [nixpkgs] @jonringer pushed 22 commits to master: https://git.io/JvS3D
sigmundv_ has quit [Ping timeout: 240 seconds]
cyris212 has joined #nixos
_cyris212 has quit [Ping timeout: 264 seconds]
Fare has quit [Remote host closed the connection]
thc202 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvS3N
habbah has quit [Ping timeout: 240 seconds]
<atemu12[m]> I'm trying to exclude a list of packages from systemPackages via an overlay but for some reason my solution doesn't work, how can I debug this?
<clever> atemu12[m]: an overlay cant modify systemPackages, the most you can do is make that package null, like `firefox = null;` so installing firefox does nothing
<atemu12[m]> Well, that'd explain why
<atemu12[m]> clever: Do you know of a good way of doing that for a list of packages?
<{^_^}> [nixpkgs] @ajs124 opened pull request #83331 → [20.03] memcached: 1.5.22 -> 1.6.2 → https://git.io/JvS3p
<clever> atemu12[m]: what are you trying to remove from systemPackages?
<atemu12[m]> A list of packages that I want on all other machines but not my armv7 pi where they're broken
<{^_^}> [nixpkgs] @ajs124 opened pull request #83332 → [19.09] memcached: 1.5.16 -> 1.6.2 → https://git.io/JvSse
<clever> atemu12[m]: what about modifying what put them into systemPackages, to not do that
wavirc22 has quit [Ping timeout: 246 seconds]
<atemu12[m]> clever: As I said, I'd like to keep them on all other machines, I can't just remove them from systemPackages
<clever> atemu12[m]: then use an if statement and a config flag
<clever> atemu12[m]: or use imports to group things into pi and non-pi stuff
<clever> atemu12[m]: for example, clevers_machines.nix does a bunch of config that i put on many of my machines, but i could just omit that from the imports list on a pi
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #83333 → wal-g: 0.2.14 -> 0.2.15 → https://git.io/JvSsJ
<OmnipotentEntity> So... who here knows the awful oroborous of fuckity that is CUDA? Specifically, I seem to need LD_LIBRARY_PATH to contain `/run/opengl-drivers/lib` to make a CUDA program go. If I have to put that in a nixpkg derivation using wrapProgram should I use that path or should I use `${linuxPackages.nvidia_x11}/lib` instead? grahamc's github for CUDA examples has the latter, but other packages in the repo seem to have the former.
<clever> OmnipotentEntity: if xorg is enabled, then LD_LIBRARY_PATH will contain /run/opengl-drivers/lib system wide
<atemu12[m]> <clever "atemu12: for example, clevers_ma"> That isn't going to work nicely with my config layout but you just gave me an idea
<{^_^}> [nixpkgs] @cdepillabout merged pull request #83316 → ghc-8.10.1: rc1 -> final → https://git.io/JvSLf
<{^_^}> [nixpkgs] @cdepillabout pushed 3 commits to haskell-updates: https://git.io/JvSsT
<OmnipotentEntity> That's strange then.
<clever> OmnipotentEntity: are you running it from a shell or a systemd service?
<OmnipotentEntity> I'm running it from a shell, but it's a shell spawned within a gui (Konsole in a Yakuake container)
<OmnipotentEntity> my env doesn't seem to include LD_LIBRARY_PATH by default in this shell.
<clever> OmnipotentEntity: Yakuake?
<clever> OmnipotentEntity: the container stuff may be breaking it
<OmnipotentEntity> Just Konsole doesn't have LD_LIBRARY_PATH on my box either.
<OmnipotentEntity> Yakuake is a doom style drop down terminal that you can activate with a global key shortcut.
<OmnipotentEntity> sorry quake style not doom style
<OmnipotentEntity> oh, you know what
<OmnipotentEntity> it's probably the fact that I use zsh
mexisme_ has quit [Read error: Connection reset by peer]
<clever> OmnipotentEntity: did you enable zsh within configuration.nix? that might break some things
<{^_^}> [nixpkgs] @marsam merged pull request #83036 → conmon: 2.0.13 -> 2.0.14 → https://git.io/JvSst
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvSsq
<OmnipotentEntity> I thought I did, but I suppose a better question is: How does one go about doing that the proper way? Is there documentation I can read to ensure I did it correctly?
martin__ has quit [Quit: Connection closed for inactivity]
<clever> OmnipotentEntity: https://nixos.org/nixos/options.html#zsh
<OmnipotentEntity> thx
<{^_^}> [nixpkgs] @jonringer opened pull request #83334 → python: make update script use installable path → https://git.io/JvSsY
<OmnipotentEntity> I do have programs.zsh.enable set to true
jumper149 has quit [Quit: WeeChat 2.7.1]
lunik1 has joined #nixos
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme_ has joined #nixos
<clever> OmnipotentEntity: not sure whats going on then
<OmnipotentEntity> I should note that nix-shell does still run bash by default, and running nix-shell with no arguments and running bash both do not set LD_LIBRARY_PATH either.
<clever> OmnipotentEntity: it could either be /etc/bashrc or /etc/profile
<clever> OmnipotentEntity: it may only run for "login shells", so a non-login bash wont do it
<{^_^}> [nixpkgs] @marsam opened pull request #83335 → rage: 0.3.0 -> 0.4.0 → https://git.io/JvSs3
<OmnipotentEntity> lookes like /etc/profile calls a set-environment script in the nix store
<bqv[m]> i feel like i should try a different window manager to exwm
<OmnipotentEntity> :q
<bqv[m]> it's been a while now
<bqv[m]> maybe there's something better
<OmnipotentEntity> sorry wrong window
<srid> Why is `nix-env -f ... -i` behaviour so strangely? The -f argument takes a tarball path (on Github), but it uses the previous fetch of the tarball. I just pushed a new revision to the git repo, but nix-env is not fetching (I did an uninstall before running nix-env)
<clever> srid: nix show-config | grep tarball-ttl
<clever> srid: it caches the tarball for 1 hour by default
<srid> Can I temporarily disable this?
<clever> srid: you can either use `--option tarball-ttl 1234` to change it, or you can just wipe ~/.cache/nix/tarballs
<srid> Right, right, thanks!
ZaraChimera has quit [Ping timeout: 240 seconds]
<srid> Really, all of this should be done automatically for `nix-env -f ... -u`
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvSsG
<{^_^}> [nixpkgs] @marsam merged pull request #83271 → teams: 1.3.00.958 -> 1.3.00.5153 → https://git.io/JvyM1
<clever> srid: -u will just re-install all things currently installed, based on the given expr
butterthebuddha has joined #nixos
wildtrees has joined #nixos
<clever> srid: its more the job of nix-channel to update the exprs, most of the time
mexisme has joined #nixos
<OmnipotentEntity> hmm... that set-environment script does not set the LD_LIBRARY_PATH for me.
wildtrees has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #83061 → rmtrash: init at 1.13 → https://git.io/JvSsZ
<{^_^}> [nixpkgs] @jonringer pushed commit from @LouisTakePILLz to master « rmtrash: init at 1.13 »: https://git.io/JvSsC
mexisme_ has quit [Ping timeout: 272 seconds]
johnnyfive has joined #nixos
<clever> it goes via environment.sessionVariables
<clever> OmnipotentEntity: which isnt in my old example...
mexisme_ has joined #nixos
<OmnipotentEntity> I must have something wrong then. Maybe I just am missing a package that I should have installed.
<clever> aha
<clever> OmnipotentEntity: PAM sets those vars
<{^_^}> [nixpkgs] @savannidgerinel opened pull request #83336 → Add a derivation for Fitnesstrax → https://git.io/JvSsR
<OmnipotentEntity> So that implies that I have something wrong with my logins?
<OmnipotentEntity> I'm not following D:
mexisme has quit [Ping timeout: 272 seconds]
<clever> OmnipotentEntity: i'm not seeing how it actually works on my machine yet
<alienpirate5> howoldis is broken ;-;
<clever> alienpirate5: status.nixos.org
<alienpirate5> thank you
<alienpirate5> gnome 3.36 when ;-;
wild_buffalo has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @jonringer merged pull request #83335 → rage: 0.3.0 -> 0.4.0 → https://git.io/JvSs3
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « rage: 0.3.0 -> 0.4.0 »: https://git.io/JvSsr
johnnyfive has quit [Ping timeout: 265 seconds]
bhipple has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @jonringer pushed commit from @zowoq to master « croc: 8.0.3 -> 8.0.4 »: https://git.io/JvSsi
<{^_^}> [nixpkgs] @jonringer merged pull request #83324 → croc: 8.0.3 -> 8.0.4 → https://git.io/JvSYv
CMCDragonkai_ has joined #nixos
<OmnipotentEntity> clever, if it helps, this is my configuration.nix: https://pastebin.com/RDaiMYDe
<OmnipotentEntity> And thanks, sorry for dragging you into a mess.
<CMCDragonkai_> Hey does anybody know if Netgear Nighthawk ac1900 works on NixOS?
<OmnipotentEntity> Is that a wireless nic?
<CMCDragonkai_> It is a wireless nic that connects via USB
<OmnipotentEntity> It looks like the driver situation for that card is very bad.
<clever> OmnipotentEntity: all of that config looks like it should work
<OmnipotentEntity> I was able to find a github for a driver that says it works on kernel versions <4.4
<OmnipotentEntity> which... blegh
<CMCDragonkai_> what is a recommended wireless nic card (that connects via USB) for Linux?
<{^_^}> [nixpkgs] @marsam opened pull request #83337 → lxc: 3.2.1 -> 4.0.0 → https://git.io/JvSs1
<OmnipotentEntity> CMCDragonkai_, I don't know, because I don't need to know, but a fast google search turned up this, ymmv https://www.addictivetips.com/ubuntu-linux-tips/usb-wifi-adapter-linux/
<{^_^}> #81626 (by hedning, 3 weeks ago, merged): Gnome 3.36
<cole-h> alienpirate5: Whenever staging gets merged into master
<alienpirate5> it was merged
<alienpirate5> *
<alienpirate5> interestingly enough fedora already has it :/
<OmnipotentEntity> alienpirate5, NixOS is about to hit another major release.
<alienpirate5> right
<alienpirate5> forgot about the 20.03 release
<OmnipotentEntity> And if you want it now, you can have it now. You just have to mess around with nix-channels a bit
mexisme_ has quit [Ping timeout: 246 seconds]
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #83338 → lxd: 3.22 -> 3.23 → https://git.io/JvSsp
<OmnipotentEntity> clever, what would you suggest then at this point? I'd reinstall but that shouldn't matter on NixOS because every upgrade is equivalent to a reinstall.
johnnyfive has joined #nixos
<clever> OmnipotentEntity: what does glxinfo say?
h0m2 has quit [Ping timeout: 246 seconds]
<OmnipotentEntity> had to run it with a nix-shell, but that nix-shell does not have ld_library_path set.
<clever> OmnipotentEntity: how did you check?
<OmnipotentEntity> env | grep LD_LIB
<OmnipotentEntity> env | grep -i opengl also comes up blank.
<clever> OmnipotentEntity: what about the output of `nixos-version` ?
Jonathan44 has quit [Ping timeout: 240 seconds]
<OmnipotentEntity> 20.09pre215033.ddc2f887f5f (Nightingale)
h0m2 has joined #nixos
<OmnipotentEntity> I can hop back on 19.09 if you need. I'm only on unstable because I was trying to get CUDA stuff working.
<clever> OmnipotentEntity: looks pretty much identical on that revision
<OmnipotentEntity> It looks like the default was set to false.
mexisme_ has quit [Ping timeout: 260 seconds]
<clever> OmnipotentEntity: oh, i see that, line 130 in the file i linked
<clever> OmnipotentEntity: try changing it to true?
mexisme_ has joined #nixos
<OmnipotentEntity> well, if it's the case that the default is false, wouldn't I want to add that to the wrapProgram then?
<energizer> when i do `src = ./.`, nix attempts to read my 50GB ./big_data.csv into memory, runs out of ram, and bails. i want it to succeed instead of failing, perhaps by transferring the file in chunks or using file-copy operations. what are the issues involved here?
<clever> OmnipotentEntity adding it to the wrapProgram would also be a solution
<clever> energizer: builtins.filterSource
<clever> energizer: if you want to just exclude the csv file entirely
<clever> energizer: pkgs.requireFile or pkgs.fetchurl if you actually want it in the store
<energizer> clever: sure. what if i actually want the data to be stored?
<energizer> ah
<OmnipotentEntity> right, circling back around to the original question, should I used ${linux.nvidia_x11}/lib or /run/opengl-drivers/lib, do you think?
<OmnipotentEntity> And it's great that something isn't mysteriously broken on my box :D
<clever> OmnipotentEntity: you should use /run/opengl-drivers/lib, so it picks up the right drivers for the kernel
<OmnipotentEntity> roger doger.
<OmnipotentEntity> Thanks!
<OmnipotentEntity> should I build against ${linux.nvidia_x11} though?
<OmnipotentEntity> or should I build against the system drivers?
<OmnipotentEntity> I suppose I should also build against the system drivers huh
<clever> OmnipotentEntity: i think mesa is the right one, but you may need nvidia_x11 for the cuda headers
<OmnipotentEntity> I need it for cuda
<OmnipotentEntity> The pull is here: https://github.com/NixOS/nixpkgs/pull/82082
<{^_^}> #82082 (by OmnipotentEntity, 2 weeks ago, open): katago: init at 1.3.3
<OmnipotentEntity> I'm just trying to work through a review and make sure I'm doing it the right way
<jared-w> does anyone know a way to get `sh <(curl https://nixos.org/nix/install) --daemon` to run completely non-interactively?
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<cole-h> Hook it up to `expect`, maybe?
<energizer> clever: what is the difference between requireFile, fetchurl, copyPathToStore?
<clever> energizer: requireFile is typically used for things behind a license agreement, like java
<clever> energizer: it gives you an error saying to download the thing, and run `nix-store --add-fixed sha256 ./foo`
<clever> energizer: then its in the store, and things work as normal
<clever> energizer: pkgs.fetchurl is how most things work, but requires you to host it on an http server somewhere
<clever> energizer: copyPathToStore is an internal function inside nix
<OmnipotentEntity> clever, looks like it works just fine using the system drivers. So I've removed the linuxPackages reference. Thanks for all of your help
<OmnipotentEntity> :D
<jared-w> cole-h: printf 'n\n' | .... turned out to be the simpler solution
<jared-w> cole-h: was gonna try expect at first but couldn't be assed to install it just to try a hunch out
<cole-h> clever: As the resident Nix expert, would you mind explaining the difference between `import ./default.nix` and `import ./default.nix {}`?
<clever> cole-h: after importing the file, it treats it as a function, and passes it an empty set
<cole-h> In hindsight, that makes a lot of sense. Thanks! clever++
<{^_^}> clever's karma got increased to 370
<OmnipotentEntity> oh, karma system
<OmnipotentEntity> clever++
<{^_^}> clever's karma got increased to 371
<OmnipotentEntity> I definitely owe you for earlier too, just wasn't really aware of it.
<jared-w> maybe you should /nic Entity then :p
<OmnipotentEntity> ?
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bhipple has joined #nixos
<energizer> is there anythign i can do to prevent big_data.csv from being world readable?
<gchristensen> (OmnipotentEntity: not so omnipotent, was the joke :))
<OmnipotentEntity> oh, that joke.
<OmnipotentEntity> I'd ditch this nick if I hadn't had it forever.
ottidmes has quit [Ping timeout: 264 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<OmnipotentEntity> I thought he was saying I could workaround a restriction on increasing karma too rapidly by changing my nick, which I thought was weird.
<gchristensen> ah hehe
<OmnipotentEntity> Also it's Omniscient that knows everything ;D
<clever> energizer: everything in the nix store must always be readable
butterthebuddha has joined #nixos
<OmnipotentEntity> I'm very clearly of the almighty idiot archetype
butterthebuddha has quit [Client Quit]
mexisme has joined #nixos
<energizer> clever: i can get around that with a user-level store?
mexisme_ has quit [Ping timeout: 246 seconds]
<clever> energizer: you could maybe use `--store local?root=$HOME`, but that has many bugs
<energizer> ok
mexisme_ has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @bdesham opened pull request #83339 → weechatScripts.wee-slack: 2.4.0 -> 2.5.0 → https://git.io/JvSZf
<energizer> i just noticed in pstree that wpa_supplicant is running. i already have network-manager going. why is wpa_supplicant still here?
waleee-cl has quit [Quit: Connection closed for inactivity]
Mateon1 has quit [Ping timeout: 240 seconds]
<clever> energizer: what is it a child of?
<energizer> clever: systemd
<clever> not sure what is happening then, ive not used network-manager
<{^_^}> [nixos-homepage] @garbas pushed to master « add redirects from old learn.html pages to new learn.html »: https://git.io/JvSZE
levdub has quit [Quit: The Lounge - https://thelounge.chat]
levdub has joined #nixos
* clever heads off to bed
justan0theruser has quit [Quit: WeeChat 2.7.1]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83317 → qgis: 3.10.1 -> 3.10.4 (+ libs) → https://git.io/JvSLT
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JvSZQ
felixfoertsch23 has joined #nixos
Mateon2 has joined #nixos
glittershark has quit [Ping timeout: 240 seconds]
felixfoertsch has quit [Ping timeout: 264 seconds]
andi- has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 250 seconds]
andi- has joined #nixos
wavirc22 has quit [Ping timeout: 250 seconds]
wavirc22 has joined #nixos
pluplog has joined #nixos
johnnyfive has quit [Ping timeout: 264 seconds]
<{^_^}> [nix] @gnprice opened pull request #3445 → installer: Fix terminal colors. → https://git.io/JvSnu
johnnyfive has joined #nixos
domogled has quit [Quit: domogled]
ghasshee has joined #nixos
johnnyfive has quit [Ping timeout: 260 seconds]
Mateon2 has quit [Ping timeout: 264 seconds]
sjkelly1 has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
lovesegfault has quit [Ping timeout: 246 seconds]
rail_ has quit [Quit: gone...]
Mateon2 has joined #nixos
rail_ has joined #nixos
bhipple has quit [Remote host closed the connection]
johnnyfive has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
johnnyfive has quit [Ping timeout: 256 seconds]
johnnyfive has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
ddellacosta has quit [Ping timeout: 256 seconds]
aniketd[m] has joined #nixos
kloenk has quit [Read error: Connection reset by peer]
pbb has quit [Remote host closed the connection]
kloenk has joined #nixos
johnnyfive has quit [Ping timeout: 246 seconds]
johnny5 has joined #nixos
cole-h has quit [Quit: Goodbye]
exprez135[m] has joined #nixos
<{^_^}> [nix] @Ericson2314 opened pull request #3446 → Big Derivation refactor → https://git.io/JvScH
shafox has joined #nixos
rardiol_ has quit [Ping timeout: 250 seconds]
LysergicDreams has quit [Ping timeout: 265 seconds]
LysergicDreams has joined #nixos
exprez135 has quit [Quit: The Lounge - https://thelounge.chat]
drakonis has quit [Ping timeout: 246 seconds]
pbb has joined #nixos
bahamas has joined #nixos
LysergicDreams has quit [Ping timeout: 265 seconds]
LysergicDreams has joined #nixos
GDiaX has quit [Read error: Connection reset by peer]
<jluttine> in package derivation, is it possible to add a dependency in such a way that the resulting executable would find stuff from the dependency's share directory?
<jluttine> now i'm just copying files in installPhase from the dependency's share directory to $out/share
vk3wtf has quit [Quit: WeeChat 2.7.1]
vk3wtf has joined #nixos
vk3wtf has quit [Quit: WeeChat 2.7.1]
vk3wtf has joined #nixos
palo1 has joined #nixos
vk3wtf has quit [Client Quit]
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @dasj19 opened pull request #83340 → atom: 1.42.0 -> 1.45.0; atom-beta: 1.43.0 -> 1.46.0 → https://git.io/JvSCy
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
vk3wtf has quit [Client Quit]
<{^_^}> [nixpkgs] @vbgl pushed to release-20.03 « alt-ergo: 2.3.0 → 2.3.1 »: https://git.io/JvSC5
peelz has joined #nixos
<peelz> Why does this fail with "cannot coerce a function to a string, at /nix/store/......../nixos/pkgs/build-support/mkshell/default.nix:28:3": https://termbin.com/hurf
<srhb> peelz: List elements are separated by whitespace
<srhb> peelz: (So, wrap it in a paranthesis)
<peelz> srhb: oh thanks lmao. I always trip on this and forget about it
<srhb> peelz: :)
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
wavirc22 has quit [Ping timeout: 240 seconds]
<peelz> Is there a reason to have shell.nix wrapped in a function? It seems to work whether it's a function or the result of "mkShell"
wavirc22 has joined #nixos
<peelz> { pkgs ? import <nixpkgs> {} }: mkShell { ... }
<samueldr> nix will automatically call a set pattern function on invocation
<samueldr> when you do it that way, you can use --arg and --argstr
<peelz> ahh
<peelz> that's nice
butterthebuddha has joined #nixos
<peelz> I totally forgot about that
<samueldr> e.g. --arg pkgs 'import <some-other-channel> {}' as --arg takes nix as the value
<samueldr> (or some builtins.fetchurl more probably)
<peelz> what happens if I pass args without wrapping it in a function?
<samueldr> --arg pkgs 'import (builtins.fetchTarball "channel:nixos-18.09") {}'
<samueldr> not sure
<qyliss> try it :P
<peelz> lol
<samueldr> though qyliss has the right mindset here :)
<peelz> I'm not sure it does anything but I might be wrong
<peelz> doesn't crash at least
mexisme_ has quit [Ping timeout: 260 seconds]
<peelz> mkShell is just a normal derivation with 'noBuildPhase' and a shellHook
<peelz> samueldr++ srhb++
<{^_^}> samueldr's karma got increased to 189, srhb's karma got increased to 84
pjt_014 has joined #nixos
levdub has quit [Ping timeout: 246 seconds]
octe has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @leifmetcalf opened pull request #83341 → Tiny doc fix: Update git clone command example → https://git.io/JvSWW
linarcx has joined #nixos
vk3wtf has joined #nixos
mexisme_ has joined #nixos
bahamas has quit [Ping timeout: 256 seconds]
joehh1 has joined #nixos
<joehh1> hello, is there a function composition operator in nix? like haskell's . ?
dozn has quit [Quit: I'm probably just changing some settings or have had an outage, I'll be back soon.]
<srhb> joehh1: Not really.
<joehh1> ok, oh well, I'll manage I suppose :)
<joehh1> thanks for that speedy response
dozn has joined #nixos
ehmry has quit [Ping timeout: 240 seconds]
codezero has quit [Quit: Ping timeout (120 seconds)]
codezero has joined #nixos
vesper11 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83342 → python27Packages.graph-tool: 2.29 -> 2.30 → https://git.io/JvSWi
vesper has joined #nixos
ehmry has joined #nixos
c0c0 has quit [Ping timeout: 264 seconds]
bahamas has joined #nixos
zupo has joined #nixos
<{^_^}> [nix] @DavHau opened pull request #3447 → improve toFile error message when containing potential drv path → https://git.io/JvSWQ
ayerhart has joined #nixos
asheshambasta has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvSWj
c0c0 has joined #nixos
Heirlung- has joined #nixos
Heirlung has quit [Ping timeout: 258 seconds]
Heirlung- is now known as Heirlung
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @vbgl opened pull request #83343 → coqPackages.coqhammer: 1.1 → 1.1.1 → https://git.io/JvSls
felixfoertsch23 has quit [Ping timeout: 264 seconds]
chagra has joined #nixos
<bqv[m]> hey, i've just had a terrible idea
<bqv[m]> how bad would it be to write emacs lisp in raw nix
<bqv[m]> and then serialize it
<energizer> what would be the benefit bqv[m]
<bqv[m]> that it's no longer opaque to nix
<MichaelRaskin> Well, Nix has lists and strings, so actually not hard
<bqv[m]> exactly
<MichaelRaskin> But it won't solve too much of opaqueness
pjt_014 has quit [Ping timeout: 265 seconds]
<MichaelRaskin> I mean, do you want to write a macroexpander in Nix? I hope not
<bqv[m]> hahah
<bqv[m]> quite true
terlar has joined #nixos
<MichaelRaskin> If you want just concatenation and path-reference-tracking, _strings_ of elisp are perfectly inspectable
<energizer> i mean why write it in nix as opposed to any other language
<bqv[m]> mainly i see things like this https://github.com/nix-community/nur-combined/blob/8f843089a7d9bc0d4f42cce7426f034143982de7/repos/rycee/hm-modules/emacs-init-defaults.nix#L4 and think well, why does the abstraction have to stop at the level of setq
<bqv[m]> but then of course you'd need to write bespoke abstraction for everything
<bqv[m]> so why not just transpile the language
<{^_^}> [nix] @edolstra merged pull request #3445 → installer: Fix terminal colors. → https://git.io/JvSnu
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JvSl2
<energizer> ah
<bqv[m]> essentially have an emacs lisp dsl within nix
<MichaelRaskin> Nix is slow
<bqv[m]> so is emacs...
<bqv[m]> i get your point though, but it's a one-time cost
<MichaelRaskin> You mean one-time cost of improving Nix speed?
<MichaelRaskin> It's per-evaluation otherwise
<energizer> i'd rather have it lookLikeNix than look-like-elisp, i like being able to write in a consistent style
<bqv[m]> i'm not anticipating having to evaluate often
<bqv[m]> and yes that's my plan energizer
<bqv[m]> i'd prefer it be entirely one or the other
<bqv[m]> and since my elisp config is quite convoluted and nebulous, that'll be quite hard with just interpolation
<terlar> Anyone using direnv with nix? I just ran into a quite unexpected situation due to how hooks and stuff works. If you have shellHook and buildInputs etc they are exported as environment variables, this means that if you from within the direnv switched directory run another nix-shell towards another target it will inherit the current environment from the nix-shell. I found it quite unexpected
<{^_^}> [nixpkgs] @averelld closed pull request #67860 → plex-mpv-shim: init at 0.2 → https://git.io/fjpYQ
rardiol has joined #nixos
<peelz> terlar: AFAIK that's just how the default nix-shell behaves. I don't think direnv has a special solution for it. You might wanna try nix-shell --pure if env contamination is a problem
<energizer> terlar: also check out lorri
felixfoertsch has joined #nixos
<terlar> I am using lorri, still has the same issue
<terlar> Yes, --pure is working as expected, but I do want to propagate some normal env variables. Now I am thinking I have to within the direnv unexport all the nix special env vars
<peelz> There's also --keep
<peelz> you could alias nix-shell in your direnv lmao
<peelz> wait actually idk if you can do that
<terlar> Ah, didn't know that one, does that work togather with --pure or is it an alternative, which will only propagate the --keep ones?
<peelz> Not sure, try it :P
<terlar> Will do, thanks for the tip
<peelz> np
<peelz> seems to work: BLAH="test" nix-shell -p --pure --keep BLAH --run 'echo $BLAH'
FRidh has joined #nixos
arahael2 has joined #nixos
zupo has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/JvS8v
arahael1 has quit [Ping timeout: 256 seconds]
vandenoever has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 opened pull request #83344 → rainloop: 1.13.0 -> 1.14.0 → https://git.io/JvS8L
vandenoever has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #83345 → cheat: 3.0.7 -> 3.8.0 → https://git.io/JvS8t
Ariakenom has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
joehh1 has quit [Quit: WeeChat 2.4]
lsix has joined #nixos
Desetude has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
linarcx has quit [Ping timeout: 240 seconds]
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wavirc22 has joined #nixos
noudle has joined #nixos
butterthebuddha has joined #nixos
maddo has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #83346 → cargo-outdated: 0.9.7 -> 0.9.8 → https://git.io/JvS8W
FRidh has joined #nixos
mexisme has joined #nixos
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme_ has quit [Ping timeout: 246 seconds]
butterthebuddha has joined #nixos
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
jw358 has joined #nixos
<jw358> hi all, fairly lazy question here
<jw358> has anyone done anything like mapping the old nix mailing list links to some archive?
<{^_^}> [nixpkgs] @Mic92 opened pull request #83347 → weechatScripts.wee-slack: 2.4.0 -> v2.5.0 → https://git.io/JvS86
<jw358> nixos.org/nix-dev/#### -> some archive
<jw358> e.g. i cannot tell what specifically this link frfom here is https://discourse.nixos.org/t/how-to-edit-pulseaudio-profiles/1874/3
wavirc22 has joined #nixos
cr4y1 has joined #nixos
maddo has quit [Quit: See ya]
maddo has joined #nixos
__monty__ has joined #nixos
<bqv[m]> i should really be in #nixos-emacs
Mic92 has quit [Quit: WeeChat 2.7]
Mic92 has joined #nixos
m0rphism has joined #nixos
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has quit [Quit: WeeChat 2.7.1]
butterthebuddha has joined #nixos
felixfoertsch has quit [Ping timeout: 246 seconds]
felixfoertsch has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #83345 → cheat: 3.0.7 -> 3.8.0 → https://git.io/JvS8t
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvS4W
felixfoertsch has quit [Ping timeout: 256 seconds]
kaliumxyz has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #83344 → rainloop: 1.13.0 -> 1.14.0 → https://git.io/JvS8L
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvS44
terlar has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
orivej has joined #nixos
opthomasprime has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
leonardp has joined #nixos
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #83234 → quartus: expose CLI executables + increase device support → https://git.io/JvyWm
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JvS4g
fendor has joined #nixos
opthomasprime has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
opthomasprime has joined #nixos
felixfoertsch has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #83341 → Tiny doc fix: Update git clone command example → https://git.io/JvSWW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvS4w
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83349 → python37Packages.PyChromecast: 4.1.1 -> 4.2.0 → https://git.io/JvS4r
shyim has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed commit from @leifmetcalf to release-20.03 « Update git clone command example »: https://git.io/JvS4i
<{^_^}> [nixpkgs] @DieGoldeneEnte opened pull request #83350 → llvmPackages_10: rc5 -> release → https://git.io/JvS4P
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
wavirc22 has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
mounty has quit [Ping timeout: 256 seconds]
octe has joined #nixos
mounty has joined #nixos
opthomasprime has quit [Ping timeout: 260 seconds]
<layus[m]> hi all, with recent nixpkgs-unstable I am unable to run sway on nixos.
<layus[m]> I get the strange "MESA-LOADER: failed to open i965 (search paths /run/opengl-driver/lib/dri)"
<layus[m]> but that path exists, and the library is in there.
<layus[m]> openat(AT_FDCWD, "/run/opengl-driver/lib/dri/i965_dri.so", O_RDONLY|O_CLOEXEC) = 10
Desetude has quit [Ping timeout: 246 seconds]
ciil has joined #nixos
pluplog has quit [Remote host closed the connection]
ciil has quit [Client Quit]
thc202 has joined #nixos
ciil has joined #nixos
<layus[m]> Is it okay to start sway from a tty ?
ciil has quit [Client Quit]
_e has quit [Quit: WeeChat 2.4]
<hyper_ch> HPE SSDs die after 40'000 hours of operation - https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=a00097382en_us
bahamas has quit [Ping timeout: 260 seconds]
_e has joined #nixos
ciil has joined #nixos
<lewo> layus[m]: I think so if you `exec sway`
civodul has joined #nixos
opthomasprime has joined #nixos
<layus[m]> how would `exec sway` be any different from just `sway` ?
shyim has joined #nixos
<Jank[m]> layus: Yes, sway can be loaded from a tty
<bqv[m]> you shouldn't need the `exec`
<bqv[m]> that just replaces the running shell with sway
<layus[m]> Yes, so my issue remains... strange enough.
leonardp has quit [Ping timeout: 240 seconds]
<Jank[m]> Are you able to run an older version of sway? I have mine pinned to 1909 release because I had a similar issue that I didn't feel like debugging
<layus[m]> Oh yes, old versions run fine.
<Jank[m]> Just 1.4, right?
Desetude has joined #nixos
<layus[m]> I rolled back to my nixos build from February
mananamenos has joined #nixos
<Jank[m]> Yeah, well I've noticed that 1.4 does have an issue similar to yours as well, so you're not alone in this
<layus[m]> running sway-0d2a3fa835c5c0a9ae13f621f5a76cd8b5c9781c (version 1.2 actually)
wavirc22 has quit [Read error: Connection reset by peer]
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<layus[m]> Without further debugging, it is hard to report upstream, as it could be triggered by the very specific handling of opengl in nixos
sigmundv_ has joined #nixos
butterthebuddha has joined #nixos
Jackneill has joined #nixos
<Jank[m]> Yes, this appears to be a similar result for me. Running nixos 19.09 with just sway as an unstable package.
Mateon3 has joined #nixos
Mateon2 has quit [Ping timeout: 246 seconds]
Mateon3 is now known as Mateon2
leonardp has joined #nixos
<Jank[m]> Hey, anyone know how I can solve `fatal error: gdk/gdkx.h: No such file or directory` for a `#include <gdk/gdkx.h>`? I'm adding `gtk2-x11` to the buildInputs, but no change.
wavirc22 has joined #nixos
<manveru> Jank[m]: try `gtk2-x11.dev` maybe?
vandenoever has quit [Read error: Connection reset by peer]
felixfoertsch23 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
felixfoertsch has quit [Ping timeout: 240 seconds]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<Jank[m]> Hmm, I swear I tried that already and the build script gave an error, but now it seems fine with it. We'll see if it finishes
o1lo01ol1o has joined #nixos
<Jank[m]> Nope. Same error.
ajp has quit [Quit: No Ping reply in 180 seconds.]
FRidh2 has joined #nixos
phreedom has quit [Ping timeout: 240 seconds]
FRidh has quit [Read error: Connection reset by peer]
phreedom has joined #nixos
<manveru> does your configure script maybe use pkg-config?
ajp has joined #nixos
<Jank[m]> Yes it does
orivej has quit [Ping timeout: 256 seconds]
<manveru> and you added pkgconfig to your nativeBuildInputs?
<Jank[m]> I am compiling a netplay version of dolphinEmu
<Jank[m]> yes
CMCDragonkai_ has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<Jank[m]> I am doing a `dolphinEmu.overrideDerivation` and only modifying version, src, and buildInputs so far
<manveru> sorry, i'm really not sure what's going on then...
<manveru> not really a C expert :|
<Jank[m]> Alright thanks anyway
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ottidmes has joined #nixos
<Jank[m]> Fixed that issue! Using the gtk2-x11.dev, and modifying the include statement to be `#include <gtk-2.0/gdk/gdkx.h>` solved it. Is there a more elegant way of doing this than modifying the source code?
<Jank[m]> Well actually that doesn't even work because inside `gdk/gdkx.h` there's an include statement for another `gdk/*.h` file. How do I add `${gtk2-x11.dev}/include/gtk-2.0` to the search path for header files?
pluplog has joined #nixos
nschoe has joined #nixos
xkapastel has joined #nixos
<srk> something like NIX_CFLAGS_COMPILE = "-L${libmysqlclient}/lib/mysql -I${libmysqlclient}/include/mysql";
<srk> sometimes this stuff works automagically with pkg-config
<Jank[m]> Hmmm, I'm looking through other packages that use that library and they don't seem to do that, but I also don't see how they can get it to work at all.
avn has joined #nixos
<srk> nix-shell -p pkg-config gtk2-x11.dev --run 'pkg-config --cflags gtk+-x11-2.0'
<srk> interestingly it outputs a whole bunch of flags!
<boogiewoogie[m]> hey, did anyone manage to get routersploit working? I've got it installed, however testing is done instantly without any exploits actually being checked.. :x
<Jank[m]> How would I go about using those flags? It should be just add it to build inputs, right? Is there something weird because I'm doing an override?
<srk> really depends on the buildsystem of the package
<Orbstheorem> Hello, anybody using nixpkgs-wayland? I get a missing `wayland-server` when building wlroots (though I added the cachix cache, so I don't get why I building either)
<Jank[m]> I think it's just cmake
<srk> Jank[m]: reading previous comments it should *just* work if you have cmake and pkg-config in propagatedBuildInputs
<srk> Jank[m]: if not it might require some patching
<{^_^}> [nixpkgs] @turboMaCk opened pull request #83352 → elmPackages.elm-instrument: remove patch → https://git.io/JvSR1
<Jank[m]> both are in nativeBuildInputs
<srk> native, righ!
<srk> t
<ottidmes> boogiewoogie[m]: Interesting piece of software, guess I will try it on my new router to see if there is anything to worry about
orivej has joined #nixos
<boogiewoogie[m]> ottidmes: yep! please let me know if you can get it to work properly. :) my current expression [ https://hastebin.com/atuhavibuh ] builds fine, but when running the scan from inside the interactive shell, it instantly finishes without actually having checked any vulnerability.
wavirc22 has quit [Read error: Connection reset by peer]
<ottidmes> boogiewoogie[m]: Thanks! when I give it a shot, I will let you know
aveltras has joined #nixos
linarcx has joined #nixos
opthomasprime has left #nixos [#nixos]
MoreTea has quit [Quit: WeeChat 1.9]
knupfer has joined #nixos
m1sosoup has joined #nixos
m0rph has joined #nixos
m1sosoup has quit [Ping timeout: 240 seconds]
zupo has quit [Ping timeout: 250 seconds]
phreedom has quit [Remote host closed the connection]
zupo has joined #nixos
phreedom has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @talyz opened pull request #83353 → [20.03] gitlab: 12.8.6 -> 12.8.7 (#82838) → https://git.io/JvS0s
<{^_^}> [nixpkgs] @talyz opened pull request #83354 → gitlab: 12.8.6 -> 12.8.7 (#82838) → https://git.io/JvS0G
hax404 has quit [Remote host closed the connection]
jbgi has joined #nixos
<ottidmes> is there a way to get the date of a version from a git repo, without having to clone the repo, cause then you could do: git log -1 --format=%as <commit>? It is on github so I know I could use the API to get the info, but that won't really work for a package meant to be put in nixpkgs
hax404 has joined #nixos
Cale has quit [Ping timeout: 260 seconds]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<ottidmes> Or rather my question would be, how do most packages get their version date in their manpages, do they hardcode them somewhere and commit that date, or can this done dynamically?
<gchristensen> probably using SOURCE_DATE_EPOCH
Heirlung has quit [Ping timeout: 256 seconds]
kai_w has joined #nixos
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed 5 commits to master: https://git.io/JvS0M
<{^_^}> [nixpkgs] @domenkozar merged pull request #83352 → elmPackages.elm-instrument: remove patch → https://git.io/JvSR1
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JvS0x
chloekek has joined #nixos
o1lo01ol1o has joined #nixos
Heirlung has joined #nixos
<ottidmes> gchristensen: seems to be SOURCE_DATE_EPOCH=1, so I would still have to find a way to determine its value, kind of hoped this would be set based on fetchFromGitHub
<{^_^}> [nixpkgs] @bachp opened pull request #83355 → skypeforlinux: 8.56.0.103 -> 8.58.0.93 → https://git.io/JvSEf
jbgi has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<mpickering> ocharles: You could use generic profilers like perf probably as it's a C++ code base?
<mpickering> or even coz will probably work to identify slow points
wavirc22 has quit [Read error: Connection reset by peer]
phreedom_ has joined #nixos
phreedom has quit [Remote host closed the connection]
<Miyu-saki> Okay, uh, how do I run multiple X servers?
<Miyu-saki> I want one in tty7 and the other in tty8.
<Miyu-saki> I'm trying to replicate this. https://github.com/Witko/nvidia-xrun
<Miyu-saki> I've already replicated optimus-manager using clones.
<klys> are you using gdm3 or another dm to startx?
realrokka has quit [Ping timeout: 272 seconds]
<Miyu-saki> I'm using lightdm.
<Miyu-saki> But I don't have to.
<Miyu-saki> I don't mind going to the command line, login, then manually starting X.
<klys> thing is, it may be a matter of configuring lightdm to start two sessions
<klys> yes, if you manually startx a second time, it will appear as :1 the second time.
<Miyu-saki> I think that'd require a lot more hacking to the NixOS module system tho. Hm. I need to load with nvidia drivers in the other one. I'll just do the manual startx?
<klys> reading man startx...
<klys> there does not appear to be a way to set the .conf file from here, though startx and xinit are scripts that can be modified.
mekeor has joined #nixos
<ocharles> mpickering: huh, never really though about that. Just not convinced it'll tell me anything useful
<mpickering> I assume people must profile c++ applications occasionally..
<Miyu-saki> Will give it a try after dinner. thamks
<tilpner> Miyu-saki: I've had luck with hardware.nvidia.prime.offload, no need for xrun
<tilpner> (Unless you want power savings, I guess)
o1lo01ol1o has joined #nixos
<ocharles> mpickering: sure, but you want to know things like "evaluating import performance", or more abstract measurements, or something like that
<ocharles> But maybe it'll work. I need to learn those tools though
<mpickering> I think if you compile `nix` with debug symbols then that should get you most the way
<mpickering> at least using `perf`
orivej has quit [Ping timeout: 250 seconds]
<mpickering> or `valgrind` apparently
hax404 has quit [Ping timeout: 260 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @marsam merged pull request #83337 → lxc: 3.2.1 -> 4.0.0 → https://git.io/JvSs1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvSEM
<asymmetric> what is happening when i see "cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused" during nixos-rebuild ?
<{^_^}> [nixpkgs] @marsam merged pull request #81621 → pythonPackages.scrapy: 1.8.0 -> 2.0.0 → https://git.io/JvaOf
<{^_^}> [nixpkgs] @marsam pushed 5 commits to master: https://git.io/JvSEH
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @talyz to release-20.03 « gitlab: 12.8.6 -> 12.8.7 (#82838) (#83353) »: https://git.io/JvSEQ
<{^_^}> [nixpkgs] @petabyteboy merged pull request #83353 → [20.03] gitlab: 12.8.6 -> 12.8.7 (#82838) → https://git.io/JvS0s
<{^_^}> [nixpkgs] @petabyteboy merged pull request #83354 → [19.09] gitlab: 12.8.6 -> 12.8.7 (#82838) → https://git.io/JvS0G
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @talyz to release-19.09 « gitlab: 12.8.6 -> 12.8.7 (#82838) (#83354) »: https://git.io/JvSE7
wavirc22 has quit [Ping timeout: 265 seconds]
<evils> asymmetric: i think nix got updated, see issue #72372
<{^_^}> https://github.com/NixOS/nixpkgs/issues/72372 (by flokli, 20 weeks ago, open): Activation script snippet "nix" failed
wavirc22 has joined #nixos
<Miyu-saki> tilpner: eGPU. :)
<Miyu-saki> Sadly, NVidia Prime Offload has the assumption that the NVidia GPU never falls out the bus.
<Miyu-saki> But yeh, NVidia Prime Render Offload is a good thing.
jb55 has quit [Remote host closed the connection]
<yorick> how do I clear the hydra evaluation queue?
jb55 has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
<asymmetric> thx evils++
<{^_^}> evils's karma got increased to 2
leonardp has quit [Remote host closed the connection]
<tilpner> Miyu-saki: Oh no
inkbottle has joined #nixos
<tilpner> I have successfully used that in past, but I found this by going backwards in wiki history to find the repo, and the going backwards in git history to find the script
zebrag has quit [Ping timeout: 260 seconds]
<tilpner> It's a scary script, but it worked eventually
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #83304 → chromium: Enable swiftshader by default. → https://git.io/JvSez
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JvSun
hax404 has joined #nixos
<ottidmes> I just now noticed that on nixFlakes I get the following hashes: sha256-K0udUU06wVlixXKIipF+Ob2322bBVeQ+mwzfdZ2xapE=, why the change?
<niksnut> those are SRI hashes
<niksnut> they're more standard than what we were using before
<ottidmes> niksnut: seems like a good reason, but how will that impact nixpkgs, where everything AFAIK still uses the old format? Will we slowly move towards this format?
<Miyu-saki> tilpner: omg thanks
<Miyu-saki> tilpner: thank youu
zupo has joined #nixos
<niksnut> eventually nixpkgs should switch to SRI hashes
<niksnut> in fact it should be safe to do so now, since they've been supported for a while
<tilpner> niksnut: Will that mean renaming sha256 attributes to "hash"?
<Miyu-saki> Holy crap, this is amazing.
<Miyu-saki> tilpner: Are you building a NixOS system here? lol
<Miyu-saki> And making it work on any OS
ryantm has quit [Ping timeout: 256 seconds]
<Miyu-saki> By setting the environment variables
<Miyu-saki> Because, wow.
<ottidmes> niksnut: I see 4 packages indeed already using them in nixpkgs, thanks for clearing that up :)
<niksnut> tilpner: yes (well, replacing, not renaming)
<tilpner> Miyu-saki: Sort of. The readme implies it's meant to also work on non-NixOS systems
ryantm has joined #nixos
_e has quit [Quit: WeeChat 2.4]
<tilpner> Miyu-saki: It's not my script, and the repo name is "crap", so, uhh...
<tilpner> niksnut: Of course, the values have to be changed too
Desetude has quit [Ping timeout: 272 seconds]
gustavderdrache has joined #nixos
phreedom_ has quit [Remote host closed the connection]
pluplog has quit [Read error: Connection reset by peer]
phreedom has joined #nixos
asbachb has joined #nixos
mekeor has quit [Ping timeout: 246 seconds]
<bqv[m]> hey
<bqv[m]> is there anything stopping me from doing `mkOption { default = mkIf (cfg.???) ???; }` ?
<Miyu-saki> tilpner: Now, what would be nice if I can somehow wire that up with prime render offload, because eGPU is bandwidth starved.
noudle has quit []
dermetfan has joined #nixos
<gchristensen> bqv[m]: I'm ... not sure ... but at least in nixos, it is not acceptable to have the default change
Desetude has joined #nixos
hax404 has quit [Ping timeout: 260 seconds]
<tilpner> Miyu-saki: Sorry, I can't help you with that
<bqv[m]> hm, ok
hax404 has joined #nixos
<Miyu-saki> tilpner: No worries!
<Miyu-saki> It was more of just me thinking out loud
<Miyu-saki> Also, doesn't seem to survive a vt change sadly. :/
<Miyu-saki> But hey, it mostly works.
<tilpner> Miyu-saki: I remember having to stop the current display-manager, switching to tty1 or 2 (not sure), running the script with a special invocation, and then switching to the tty it used for X
<tilpner> Miyu-saki: And then something was up with the DPI, everything scaled weirdly, but that was good enough
wavirc22 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @timokau merged pull request #83190 → newsboat: 2.18 -> 2.19 → https://git.io/JvDpK
<{^_^}> [nixpkgs] @timokau pushed 6 commits to master: https://git.io/JvSzm
wavirc22 has joined #nixos
chagra has quit [Ping timeout: 256 seconds]
Cale has joined #nixos
<tilpner> Nothing new, that's just where I found it
Desetude has quit [Quit: WeeChat 2.7.1]
jakobrs has joined #nixos
<jakobrs> What are the problems with running NixOS on the raspberry pi 4
<jakobrs> As in, why is it easier on the Pi 3 than the Pi 4?
<tilpner> jakobrs: #nixos-aarch64 would probably know
<asbachb> jakobrs: I'm running nixos on raspberry pi 4. Why you think it's problematic?
<bqv[m]> hey, save me some trawling, how can i make an assert-ish thing on some options
<bqv[m]> in a module
<bqv[m]> so one can be null, but not both
<asbachb> I guess the only thing to mention is that bootloader is not manager by NixOS.
<tilpner> bqv[m]: assertions in the module
iyzsong has quit [Ping timeout: 246 seconds]
<bqv[m]> ah, excellent, thanks
wavirc22 has quit [Read error: Connection reset by peer]
work_ has joined #nixos
<jakobrs> The wiki mentions it's experimental
<jakobrs> And I've tried to get it working, but I've always failed
<ottidmes> niksnut: I looked at flakes yesterday, but I did not use them yet because it does not seem to support dirty working directories as of yet. I get why this should not be used for published flakes, but for local development this to me would be a must have. Is support for this eventually planned?
waleee-cl has joined #nixos
wavirc22 has joined #nixos
dtz1 is now known as dtz
hax404 has quit [Ping timeout: 246 seconds]
<mjrosenb> possibly silly question: I've installed idea-ultimate on MacOS, and it *mostly* works (because java), but it looks like the thing that got installed was the linux version.
<mjrosenb> any ideas what I did wrong, since when I looked at the nix expr for it, I do remember seeing it attempting to install from the a dmg.
hax404 has joined #nixos
hax404 has quit [Remote host closed the connection]
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @juliendehos opened pull request #83356 → gede: 2.15.4 -> 2.16.2 → https://git.io/JvSzx
kolbycrouch has quit [Ping timeout: 264 seconds]
<jakobrs> Completely irrelevant but I noticed something:
<jakobrs> nixpkgs.muse fails to build on Hydra, but building it locally succeeds
<jakobrs> As in, nix-shell -p muse worked fine, although it had to compile from source
hax404 has joined #nixos
<niksnut> ottidmes: dirty working directories should work, what in particular didn't work?
<niksnut> it's possible it's currently broken though, I recently made some big changes to lock file generation and there may be some things broken
cosimone has joined #nixos
pluplog has joined #nixos
<ottidmes> niksnut: I was told by bqv[m] that you have to commit all your changes before flake will built + https://github.com/NixOS/nix/issues/3231
<{^_^}> nix#3231 (by Ma27, 18 weeks ago, open): Using dirty git checkouts as flakes
<ma27[m]> those were my findings from november, I'm not sure about the current state tbh
<ma27[m]> but I'd be fairly interested in knowing how to use dirty checkouts as well :)
<niksnut> note that files do have to be tracked by git
<niksnut> untracked files are invisible
<niksnut> but tracked files can be dirty
<niksnut> in fact you can even have dirty inputs (e.g. --override-input nixpkgs /path/to/dirty/nixpkgs)
<ottidmes> ah, so only new files would require action, but if I just change some file, I would be able to rebuild without having to go through git first (which would be painful)
<niksnut> right
<ottidmes> and that --override-input would allow for untracked files, are you implying that? if so, is it also possible to define those not through the command line? (would be awesome if I can just set those up for my dev machine in a file, rather than having to wrap all calls)
phreedom has quit [Remote host closed the connection]
<niksnut> no, that doesn't allow untracked files either
phreedom has joined #nixos
orivej has joined #nixos
<niksnut> and yes you don't have to use the command line, you can also define a (possibly dirty) input in flake.nix, e.g. inputs.nixpkgs = { type = "git"; url = "/path/to/nixpkgs"; }
<ottidmes> and does it copy over the git repo in some way, or does it just use the repo on the path as-is
hax404 has quit [Quit: WeeChat 2.7.1]
chagra has joined #nixos
<ottidmes> it seemed from the description of path inputs for example, that they do copy over the whole path to the store, like "${/some/path}" does for Nix
<ottidmes> (those paths might contain secrets in my development directory I would not like copied)
<gchristensen> I think `hash = ` support is too new, we usually wait 1 year before using them in nixpkgs
jakobrs has quit [Quit: WeeChat 2.7.1]
<ottidmes> Valodim[m]: AFAIK you should either use the change proposed, i.e. sha256 = "..."; or hash = "sha256-K0udUU06wVlixXKIipF+Ob2322bBVeQ+mwzfdZ2xapE="; (SRI format)
<Valodim[m]> aight, that's a clear answer. no point having prs like that stuck due to bikeshedding
<FRidh2> no it's ok already, we actually use it in some places
<gchristensen> FRidh2: when did it get introduced?
<ottidmes> gchristensen: not long ago "niksnut | in fact it should be safe to do so now, since they've been supported for a while"
<gchristensen> neat
<FRidh2> updaters already use it https://github.com/NixOS/nixpkgs/pull/78913
<{^_^}> #78913 (by jtojnar, 7 weeks ago, merged): common-updater-scripts: Support SRI-style hash
<gchristensen> neato
jakobrs has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #83357 → makemkv: 1.14.7 -> 1.15.0 → https://git.io/JvSg7
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83358 → python27Packages.python-stdnum: 1.12 -> 1.13 → https://git.io/JvSg5
<immae> niksnut: what source do you use for flakes? I’m using https://gist.github.com/edolstra/40da6e3a4d4ee8fd019395365e0772e7 to start learning about it but the document doesn’t mention anything about "inputs", so I guess there are other sources somewhere?
<FRidh2> the rfc
<immae> Ah cool
<immae> Thanks
<jakobrs> Do I need to compile Nix from source to use flakes?
<{^_^}> [nixpkgs] @bcdarwin opened pull request #83359 → python3Packages.dipy: init at 1.1.1 → https://git.io/JvSgx
<ottidmes> jakobrs: in unstable there is nixFlakes
<immae> jakobrs: you have a nixFlakes derivation in nixpkgs :)
<jakobrs> Ah, ty
<ottidmes> jakobrs: at least, I would use the version from unstable for flakes, and then you do nix.package = pkgs.nixFlakes;
<jakobrs> Oh, and is it possible to supress the "experimental feature 'nix-command' is disabled" error persistently?
<jakobrs> I mean, so that I don't have to manually do --experimental-features nix-command on every invocation
<ottidmes> it is, let me check the config option for that again
melling has joined #nixos
jbgi has joined #nixos
<ottidmes> jakobrs: nix.extraOptions = '' experimental-features = nix-command '';
<jakobrs> that makes sense
<jakobrs> thanks again
<immae> ottidmes++ (having to specify it everytime was annoying :D )
<{^_^}> ottidmes's karma got increased to 22
<{^_^}> [nixpkgs] @timokau opened pull request #83360 → home-manager: sync default.nix with upstream → https://git.io/JvS2I
hax404 has joined #nixos
<jakobrs> Hm, Nix didn't like that
<jakobrs> "warning: unknown setting 'experimental-features'
<jakobrs> Oh, it works, the warning is wrong
<ottidmes> jakobrs: could be just the first time, should go away if you set nix.package = pkgs.nixos-unstable.nixFlakes; (or wherever you get nixFlakes from)
<{^_^}> [nixpkgs] @Infinisil merged pull request #83357 → makemkv: 1.14.7 -> 1.15.0 → https://git.io/JvSg7
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JvS2B
<jakobrs> Yeah, I set it in .config/nix/nix.conf
<jakobrs> the warning is just because I was using nix-shell -p nixFlakes
<jakobrs> where nix-shell is from nixos-19.09
erictapen has joined #nixos
<{^_^}> [nixpkgs] @karolchmist opened pull request #83361 → bloop: add blp linking to bloop → https://git.io/JvS2u
kolbycrouch has joined #nixos
<ottidmes> I will have to start updating some scripts to support the new `nix eval` API in a backwards compatible way, I mostly use its --raw flag that is missing from nix-instantiate AFAIK, ah well, it was flagged as experimental for a reason
asbachb has quit [Quit: Ping timeout (120 seconds)]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
cosimone has quit [Client Quit]
cosimone has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> ottidmes: You can do `nix-instantiate --eval --strict --json` and then process it with jq
<infinisil> E.g. if it outputs a string, use `jq -r .` to un-json it
<infinisil> (or anything really, not just strings)
<ottidmes> infinisil: true, I have used that before, guess I will use that trick again and not rely on the nix command for now in any of my scripts
plato[m] has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<plato[m]> "nix search --json" outputs lots of packages in JSON, but then returns an exit code 1 and thus fails. This is a bug, isn't it? It also outputs "no results found".
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<plato[m]> I'm looking at the source code for this and it's...confusing to say the least.
<{^_^}> [nixpkgs] @bachp opened pull request #83362 → nixos/boinc: simplify setup of boinc service → https://git.io/JvS2h
jumper149 has joined #nixos
jumper149 has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 merged pull request #35676 → x11idle: update version, repository → https://git.io/vAobf
<{^_^}> [nixpkgs] @Mic92 pushed commit from @swflint to master « x11idle: update version, repository (#35676) »: https://git.io/JvSaf
nuncanada has joined #nixos
<{^_^}> [nixpkgs] @Mic92 closed pull request #44203 → Restic fixes: pruning, process substitution → https://git.io/fN2Jp
nobrak has joined #nixos
mindtree[m] has joined #nixos
<mindtree[m]> Hi folks! Do I need to do anything in particular to enable broadcast packets?
glittershark has joined #nixos
<mindtree[m]> I'm interfacing with an old networked LASER that informs the network of its presence by sending broadcast packets once a second, but I'm not seeing it at the moment. Just wondering if I should be checking my nix firewall config (it's just default atm) or if my issue is likely elsewhere
jumper149 has joined #nixos
LysergicDreams has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
<bahamas> can anyone point me to the code that allows nixops to deal with virtualbox? I'm creating a machine with nixops and it times out while trying to connect
justanotheruser has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 250 seconds]
rsa has quit [Ping timeout: 260 seconds]
rardiol_ has joined #nixos
<jakobrs> I'm not sure if this is NixOS-specific or not but
<jakobrs> If I do `touch ~/.config/pulse/default.pa`,
<jakobrs> systemctl restart --user pulseaudio.service stops working
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83363 → python27Packages.pyroute2: 0.5.9 -> 0.5.10 → https://git.io/JvSaB
rardiol has quit [Ping timeout: 256 seconds]
<jakobrs> "Failed with result 'service-start-limit-hit'"
<{^_^}> [nixpkgs] @Mic92 merged pull request #83356 → gede: 2.15.4 -> 2.16.2 → https://git.io/JvSzx
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvSaw
fenedor has joined #nixos
<jakobrs> Disregard my previous three sentences
<jakobrs> Turns out I needed to do `.include /etc/pulse/default.pa`
cole-h has joined #nixos
fendor has quit [Ping timeout: 260 seconds]
kloenk has quit [Quit: No Ping reply in 180 seconds.]
kloenk has joined #nixos
<{^_^}> [nixops] @grahamc pushed 58 commits to integration: https://git.io/JvSaX
justanotheruser has joined #nixos
orivej has joined #nixos
captjakk has joined #nixos
fenedor is now known as fendor
captjakk has quit [Remote host closed the connection]
wavirc22 has quit [Read error: Connection reset by peer]
<{^_^}> [nix] @pmiddend opened pull request #3448 → nix search --json: Don’t fail for empty result set → https://git.io/JvSa5
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83364 → python27Packages.shodan: 1.21.3 -> 1.22.0 → https://git.io/JvSaA
ottidmes has quit [Ping timeout: 250 seconds]
<mindtree[m]> Ahh, turns out I just had to enable the UDP port that the LASER was broadcasting on and the TCP port is uses for comms. Case closed!
<mindtree[m]> * Ahh, turns out I just had to enable the UDP port that the LASER was broadcasting on and the TCP port it uses for comms. Case closed!
ottidmes has joined #nixos
erictapen has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @domenkozar pushed 4 commits to release-20.03: https://git.io/JvSVv
<cole-h> Anybody here ever used androidenv to build an Android app? Having troubles with "accepting the license", even though I have `android_sdk.accept_license = true;` in my config.nix
lunik1 has quit [Ping timeout: 250 seconds]
<bqv[m]> how are you consuming androidenv
erasmas has joined #nixos
<bqv[m]> i imagine it's just not in the right file
gentauro has quit [Quit: leaving]
noudle has joined #nixos
<cole-h> Oh, I was trying to make a shell out of said androidenv duh
jakobrs has quit [Quit: WeeChat 2.7.1]
<cole-h> Building with `nix-build` seems to fail at the build step: "Buildfile: build.xml does not exist!"
gentauro has joined #nixos
<cole-h> I guess androidenv doesn't support Kotlin builds yet?
cosimone has quit [Quit: Terminated!]
ddellacosta has joined #nixos
wildtrees has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
zupo has joined #nixos
bvdw has joined #nixos
* cole-h tries in straight Android Studio
gentauro has quit [Quit: leaving]
gentauro has joined #nixos
Rusty1 has joined #nixos
lunik1 has joined #nixos
opthomasprime has quit [Ping timeout: 240 seconds]
lunik1 has quit [Client Quit]
opthomasprime has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.2]
ddellacosta has joined #nixos
philr has quit [Ping timeout: 256 seconds]
lunik1 has joined #nixos
anderslu1dstedt has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to release-20.03 « add openapi-generator-cli-unstable »: https://git.io/JvSVx
anderslundstedt has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
lassulus_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nix] @pmiddend closed pull request #3448 → nix search --json: Don’t fail for empty result set → https://git.io/JvSa5
lassulus has quit [Ping timeout: 250 seconds]
lassulus_ is now known as lassulus
gentauro has quit [Quit: leaving]
<lunik1> is there a way to run a command on startup? specifically `echo lz4 > /sys/module/zswap/parameters/compressor`
gentauro has joined #nixos
<{^_^}> [nixpkgs] @Mic92 closed pull request #83363 → python27Packages.pyroute2: 0.5.9 -> 0.5.10 → https://git.io/JvSaB
<{^_^}> [nixpkgs] @Mic92 reopened pull request #83363 → python27Packages.pyroute2: 0.5.9 -> 0.5.10 → https://git.io/JvSaB
<ottidmes> lunik1: boot.initrd.preDeviceCommands
<{^_^}> [nixpkgs] @Mic92 merged pull request #83363 → python27Packages.pyroute2: 0.5.9 -> 0.5.10 → https://git.io/JvSaB
<tilpner> lunik1: Try boot.kernelParams = [ "zswap.compressor=lz4" ];
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvSwE
<{^_^}> [nixpkgs] @veprbl merged pull request #81124 → zathura: 0.4.4 -> 0.4.5 and plugins update → https://git.io/JvuPu
<{^_^}> [nixpkgs] @veprbl pushed 8 commits to master: https://git.io/JvSwz
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<lunik1> tilpner: sorry I should have said, setting this via kernel params is currently broken :( https://github.com/NixOS/nixpkgs/issues/44901
<{^_^}> #44901 (by ikervagyok, 1 year ago, open): zswap: loading modules to late
watzon has joined #nixos
erictapen has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed 7 commits to master: https://git.io/JvSwg
<{^_^}> [nixpkgs] @Ericson2314 pushed 5 commits to release-20.03: https://git.io/JvSw2
<lunik1> ottidmes: will I run into the same kernel module issue linked above if I run the commands that early?
CptCaptain has joined #nixos
<ottidmes> lunik1: not sure, I had to use it for something myself, to write to /sys/, but whether the issue also affects this place, that is for you to try
plato[m] has left #nixos ["User left"]
dottedmag has joined #nixos
<dottedmag> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<jasom> I'm getting some errors trying to run a program under wine, and some googling tells me that I may need 32-bit graphics drivers installed. Is there a way to do this under nixos? I have a nvidia GTX 1050 if it's driver specific.
dottedmag has left #nixos [#nixos]
<CptCaptain> When using postgres with a copy-on-write filesystem, it is generally advised to disable COW on /var/lib/postgresql. Is there a good NixOS-style way of doing that?
<bqv[m]> bind mount?
<bqv[m]> add a filesystem
<CptCaptain> Can you create btrfs subvolumes using autoFormat = true?
Lysergic1reams has joined #nixos
<tilpner> jasom: Try hardware.opengl.driSupport32Bit
LysergicDreams has quit [Ping timeout: 256 seconds]
chpatrick has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
<lordcirth_> CptCaptain, perhaps add a prestart to the postgres service?
<lordcirth_> Or the init service
<bqv[m]> oh no
<bqv[m]> that's awful
<bqv[m]> just make it a separate mount
anderslundstedt has joined #nixos
anderslu1dstedt has quit [Ping timeout: 240 seconds]
lunik1 has quit [Quit: :x]
lunik1 has joined #nixos
<CptCaptain> Guess I'll create a no-cow subvolume by hand.
<CptCaptain> I'm scared of autoFormat nuking my hd
o1lo01ol1o has joined #nixos
lunik1 has quit [Client Quit]
<jasom> tilpner: thanks!
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
endformationage has joined #nixos
evanjs has joined #nixos
<watzon> Well I'm about to install nixos for the first time. Wish me luck.
is_null has joined #nixos
butterthebuddha has joined #nixos
<CptCaptain> watzon: One of us... one of us...
<MichaelRaskin> Much less luck is needed when you can just reroll the dice until they come up right!
<watzon> Tbh I was inspired by Andrew Kelly, the creator of Zig. He uses Nix on his streams and it seems pretty cool.
<watzon> Maybe this will be the distro that gets me to stop distrohopping
<Valodim[m]> it will :)
johnnyfive has joined #nixos
<MichaelRaskin> There is always a risk that you end up using Nix-on-* and distrohop _more_
johnny5 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83365 → python27Packages.thespian: 3.9.11 -> 3.10.0 → https://git.io/JvSr0
Vikingman has quit [Read error: Connection reset by peer]
vandenoever has quit [Read error: Connection reset by peer]
<CptCaptain> Took me two tries before I stuck. watzon, Most distros are quite similar if you compare them to NixOS
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<watzon> Right lol. I've used most of the major ones out there. I think the only ones I'm really missing are Gentoo and *BSD.
<Valodim[m]> "Most distros are quite similar if you compare them to NixOS", say what?
butterthebuddha has quit [Quit: Textual IRC Client: www.textualapp.com]
<watzon> Correct me if I'm wrong, but Nix would help with the typical "installing multiple versions of Y on my PC" problem, right?
<lordcirth_> watzon, yes, Nix is quite good at that
<watzon> Because I seem to run into that a lot
<CptCaptain> Valodim[m]: I mean, they are quite close to each other and NixOS is somewhere else
<MichaelRaskin> Well, you probably end up installing them from different checkouts of Noxpkgs
<CptCaptain> yum and apt are conceptually quite similar
<MichaelRaskin> Nixpkgs is not too keen on having a ton of versions of something at once
<MichaelRaskin> (in a single checkout)
<Valodim[m]> CptCaptain: ah. yeah :)
<MichaelRaskin> But there are no problems with using stuff from assorted checkouts
<Valodim[m]> or having different versions of the same package per user, per directory, or just around
srid has quit [Quit: Connection closed for inactivity]
<watzon> I need to do some reading still, but from what I've seen watching Andrew's streams you can have different local configs for different environments, right? Or am I thinking about this wrong.
<MichaelRaskin> Yes, this is easy with Nix
<Valodim[m]> if it looks seamless in his setup, he's probably using lorri or a similar mechanism to define dev environments with shell.nix'es
<bqv[m]> my favourite thing is derivations that take a version as an input
<bqv[m]> so that you can choose what version you want, and use an older one if you're happy with compiling it yourself
<noonien> hello folks
Lysergic1reams has quit [Ping timeout: 240 seconds]
lunik1 has joined #nixos
<noonien> does anyone have issues with nm-applet not reading vpn passwords from the keyring?
<watzon> I'll have to look into lorri, because I want that lol
<noonien> it seems the passwords are stored/updated, but never read
kleisli_ has joined #nixos
LysergicDreams has joined #nixos
jjakob has quit [Ping timeout: 272 seconds]
kleisli has quit [Ping timeout: 260 seconds]
cjpbirkbeck has joined #nixos
bahamas has quit [Quit: leaving]
<watzon> Alright well here goes. Pray for me 😆
<noonien> The issue seems to be described here: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/193
Ariakenom has quit [Quit: WeeChat 2.7]
mindtree[m] has quit [Ping timeout: 240 seconds]
sleibrock[m] has quit [Ping timeout: 240 seconds]
quiet_laika[m] has quit [Ping timeout: 240 seconds]
srid[m] has quit [Ping timeout: 240 seconds]
the_pumpkin_man[ has quit [Ping timeout: 240 seconds]
gallible[m] has quit [Ping timeout: 240 seconds]
akapaka[m] has quit [Ping timeout: 240 seconds]
dreadward[m] has quit [Ping timeout: 240 seconds]
VaNilLa[m] has quit [Ping timeout: 240 seconds]
rgb[m] has quit [Ping timeout: 240 seconds]
pkolloch[m] has quit [Ping timeout: 240 seconds]
xa0[m] has quit [Ping timeout: 240 seconds]
kaychaks[m] has quit [Ping timeout: 240 seconds]
abbec has quit [Ping timeout: 240 seconds]
webdavis has quit [Ping timeout: 240 seconds]
pingveno[m] has quit [Ping timeout: 240 seconds]
pwaller[m] has quit [Ping timeout: 240 seconds]
matthewbauer has quit [Ping timeout: 240 seconds]
edomfjp[m]1 has quit [Ping timeout: 240 seconds]
yoho[m]1 has quit [Ping timeout: 240 seconds]
jbbr[m] has quit [Ping timeout: 240 seconds]
WillW has quit [Ping timeout: 240 seconds]
theduke[m] has quit [Ping timeout: 240 seconds]
mica[m] has quit [Ping timeout: 240 seconds]
nilsirl[m] has quit [Ping timeout: 240 seconds]
zml[m] has quit [Ping timeout: 240 seconds]
imj[m] has quit [Ping timeout: 240 seconds]
gcoakes[m] has quit [Ping timeout: 240 seconds]
softinio[m] has quit [Ping timeout: 240 seconds]
neonfuz2 has quit [Ping timeout: 240 seconds]
grahamc[m] has quit [Ping timeout: 240 seconds]
pantomath[m] has quit [Ping timeout: 240 seconds]
alexfmpe[m] has quit [Ping timeout: 240 seconds]
slabity has quit [Ping timeout: 240 seconds]
gsals[m] has quit [Ping timeout: 240 seconds]
david-sawatzke[m has quit [Ping timeout: 240 seconds]
quidel[m] has quit [Ping timeout: 240 seconds]
alienpirate5 has quit [Ping timeout: 240 seconds]
blitzclone_ has quit [Ping timeout: 240 seconds]
hiroshi[m] has quit [Ping timeout: 240 seconds]
Irenes[m] has quit [Ping timeout: 240 seconds]
arcnmx has quit [Ping timeout: 240 seconds]
florianjacob has quit [Ping timeout: 240 seconds]
atopuzov[m] has quit [Ping timeout: 240 seconds]
aniketd[m] has quit [Ping timeout: 256 seconds]
scream has quit [Ping timeout: 256 seconds]
chris|1 has quit [Ping timeout: 256 seconds]
ZerataX has quit [Ping timeout: 256 seconds]
l_inus[m] has quit [Ping timeout: 256 seconds]
chvp has quit [Ping timeout: 256 seconds]
Dandellion has quit [Ping timeout: 256 seconds]
cornu has quit [Ping timeout: 256 seconds]
ukazka[m] has quit [Ping timeout: 256 seconds]
ryanmaclean[m] has quit [Ping timeout: 256 seconds]
M4cheese[m] has quit [Ping timeout: 256 seconds]
ksixty has quit [Ping timeout: 256 seconds]
bobvanderlinden_ has quit [Ping timeout: 256 seconds]
kraem[m] has quit [Ping timeout: 256 seconds]
xavierm02 has quit [Ping timeout: 256 seconds]
mupf[m] has quit [Ping timeout: 256 seconds]
risebell[m] has quit [Ping timeout: 256 seconds]
aquarial has quit [Ping timeout: 256 seconds]
index-0[m] has quit [Ping timeout: 256 seconds]
sreybastien[m] has quit [Ping timeout: 256 seconds]
Ovsyanka[m] has quit [Ping timeout: 256 seconds]
abbradar[m] has quit [Ping timeout: 256 seconds]
keithy[m] has quit [Ping timeout: 256 seconds]
haslersn has quit [Ping timeout: 256 seconds]
Ox4A6F has quit [Ping timeout: 256 seconds]
simbergm has quit [Ping timeout: 256 seconds]
denbrahe[m] has quit [Ping timeout: 256 seconds]
pheoxy has quit [Ping timeout: 256 seconds]
unclechu has quit [Ping timeout: 256 seconds]
bennofs[m] has quit [Ping timeout: 256 seconds]
DamienCassou has quit [Ping timeout: 256 seconds]
davidak[m] has quit [Ping timeout: 240 seconds]
bricewge has quit [Ping timeout: 240 seconds]
ongy[m] has quit [Ping timeout: 240 seconds]
Victor[m] has quit [Ping timeout: 240 seconds]
Nyanloutre[m] has quit [Ping timeout: 240 seconds]
jonreeve[m] has quit [Ping timeout: 240 seconds]
timokau[m] has quit [Ping timeout: 240 seconds]
mt[m] has quit [Ping timeout: 240 seconds]
dtz has quit [Ping timeout: 240 seconds]
boogiewoogie[m] has quit [Ping timeout: 240 seconds]
ma27[m] has quit [Ping timeout: 240 seconds]
bohan[m] has quit [Ping timeout: 240 seconds]
worldofpeace has quit [Ping timeout: 240 seconds]
Jank[m] has quit [Ping timeout: 256 seconds]
kyren has quit [Ping timeout: 256 seconds]
Guest72610 has quit [Ping timeout: 256 seconds]
siraben has quit [Ping timeout: 256 seconds]
atemu12[m] has quit [Ping timeout: 256 seconds]
arianvp[m] has quit [Ping timeout: 256 seconds]
makaveli[m] has quit [Ping timeout: 256 seconds]
hpfr[m] has quit [Ping timeout: 256 seconds]
thefloweringash has quit [Ping timeout: 256 seconds]
vaibhavsagar has quit [Ping timeout: 256 seconds]
spacekitteh[m] has quit [Ping timeout: 256 seconds]
sleibrock[m] has joined #nixos
haslersn has joined #nixos
M4cheese[m] has joined #nixos
<noonien> it would appear this bug was introduced in 1.8.22, but is fixed in 1.21.2.r24206.gbb4b7495-1 as far as i can tell
jbbr[m] has joined #nixos
worldofpeace has joined #nixos
aniketd[m] has joined #nixos
abbec has joined #nixos
kyren has joined #nixos
yoho[m]1 has joined #nixos
kaychaks[m] has joined #nixos
mica[m] has joined #nixos
<evils> > pkgs.networkmanager.version
<{^_^}> "1.22.8"
sreybastien[m] has joined #nixos
chvp has joined #nixos
blitzclone_ has joined #nixos
grumble has quit [Quit: even though the storm calmed down, the bitter end is just a matter of time]
ksixty has joined #nixos
softinio[m] has joined #nixos
alienpirate5 has joined #nixos
Irenes[m] has joined #nixos
DamienCassou has joined #nixos
<noonien> hmm, i might have made a mistake, i was looking at network-manager-applet
bricewge has joined #nixos
<noonien> is that version from unstable?
thefloweringash has joined #nixos
Jank[m] has joined #nixos
gallible[m] has joined #nixos
mt[m] has joined #nixos
imj[m] has joined #nixos
grumble has joined #nixos
hpfr[m] has joined #nixos
makaveli[m] has joined #nixos
timokau[m] has joined #nixos
<evils> jup, (not sure where the bot is getting it though)
rgb[m] has joined #nixos
denbrahe[m] has joined #nixos
<evils> > networkmanagerapplet.name
<{^_^}> "network-manager-applet-1.16.0"
bennofs[m] has joined #nixos
unclechu has joined #nixos
gcoakes[m] has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83367 → python27Packages.sphinxcontrib-openapi: 0.5.0 -> 0.6.0 → https://git.io/JvSoc
pwaller[m] has joined #nixos
<evils> huh, is 1.8 for me from nixpkgs-unstable xD
quiet_laika[m] has joined #nixos
mupf[m] has joined #nixos
<noonien> yes, for nm-applet
mindtree[m] has joined #nixos
<noonien> nixos-19.09 is 1.18.4, unstable is 1.22.8
Guest72610 has joined #nixos
<noonien> i'll update to unstable, that will probably fix my issue :D
pheoxy has joined #nixos
theduke[m] has joined #nixos
srid[m] has joined #nixos
dreadward[m] has joined #nixos
xa0[m] has joined #nixos
chris|1 has joined #nixos
pingveno[m] has joined #nixos
matthewbauer has joined #nixos
keithy[m] has joined #nixos
jonreeve[m] has joined #nixos
ryanmaclean[m] has joined #nixos
cornu has joined #nixos
edomfjp[m]1 has joined #nixos
gsals[m] has joined #nixos
risebell[m] has joined #nixos
<noonien> oh, it looks like i'll have to use an overlay, there's no option to select which networkmanager to use in the nixos config
GerdFlaig[m] has joined #nixos
florianjacob has joined #nixos
vaibhavsagar has joined #nixos
bobvanderlinden_ has joined #nixos
alexfmpe[m] has joined #nixos
the_pumpkin_man[ has joined #nixos
noudle has quit []
atemu12[m] has joined #nixos
rsa has joined #nixos
l_inus[m] has joined #nixos
simbergm has joined #nixos
pkolloch[m] has joined #nixos
xavierm02 has joined #nixos
bohan[m] has joined #nixos
spacekitteh[m] has joined #nixos
hiroshi[m] has joined #nixos
Ovsyanka[m] has joined #nixos
quidel[m] has joined #nixos
webdavis has joined #nixos
aquarial has joined #nixos
VaNilLa[m] has joined #nixos
nilsirl[m] has joined #nixos
arcnmx has joined #nixos
slabity has joined #nixos
pantomath[m] has joined #nixos
jjakob has joined #nixos
ongy[m] has joined #nixos
ZerataX has joined #nixos
rauno has quit [Remote host closed the connection]
Ox4A6F has joined #nixos
grahamc[m] has joined #nixos
atopuzov[m] has joined #nixos
Nyanloutre[m] has joined #nixos
ma27[m] has joined #nixos
zml[m] has joined #nixos
Dandellion has joined #nixos
kraem[m] has joined #nixos
neonfuz2 has joined #nixos
WillW has joined #nixos
dtz has joined #nixos
fling has joined #nixos
boogiewoogie[m] has joined #nixos
davidak[m] has joined #nixos
akapaka[m] has joined #nixos
cosimone has joined #nixos
arianvp[m] has joined #nixos
ukazka[m] has joined #nixos
siraben has joined #nixos
scream has joined #nixos
abbradar[m] has joined #nixos
index-0[m] has joined #nixos
david-sawatzke[m has joined #nixos
Victor[m] has joined #nixos
glittershark has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/JvSop
glittershark has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-20.03: https://git.io/JvSoj
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.09: https://git.io/JvSKv
orcus has quit [Ping timeout: 260 seconds]
orcus has joined #nixos
maddo has quit [Quit: See ya]
felixfoertsch23 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @jonringer merged pull request #83329 → python37Packages.aiohttp-socks: 0.3.4 -> 0.3.6 → https://git.io/JvS3E
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.aiohttp-socks: 0.3.4 -> 0.3.6 »: https://git.io/JvSK3
felixfoertsch has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83325 → python27Packages.geoalchemy2: 0.6.3 -> 0.7.0 → https://git.io/JvSOq
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.geoalchemy2: 0.6.3 -> 0.7.0 »: https://git.io/JvSKZ
maddo has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83367 → python27Packages.sphinxcontrib-openapi: 0.5.0 -> 0.6.0 → https://git.io/JvSoc
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.sphinxcontrib-openapi: 0.5.0 -> 0.6.0 »: https://git.io/JvSKC
<{^_^}> [nixpkgs] @jonringer merged pull request #83365 → python27Packages.thespian: 3.9.11 -> 3.10.0 → https://git.io/JvSr0
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.thespian: 3.9.11 -> 3.10.0 »: https://git.io/JvSK0
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83368 → python37Packages.xdis: 4.2.2 -> 4.2.3 → https://git.io/JvSKu
ixxie has joined #nixos
dhess has quit [Quit: ZNC - https://znc.in]
mekeor has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed 6 commits to master: https://git.io/JvSK1
rsa has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @Ericson2314 opened pull request #3449 → Smaller derivation refactor → https://git.io/JvSK5
leotaku has quit [Ping timeout: 264 seconds]
pjt_014 has joined #nixos
leotaku has joined #nixos
<scoates> there's still no way to install nix on Catalina without a reboot (for the synthetic mount, or otherwise), right?
<cransom> correct.
<scoates> thanks
<LnL> not correct
<scoates> go on…
<scoates> doesn't this confirm it? firmlinks aren't customizable enough, and synthetic changes require a reboot?
<LnL> /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B
<cransom> oh.
<cransom> TIL.
<scoates> " This only applies on a reboot,"
<LnL> but ....
rubaka has joined #nixos
<scoates> I'm the first to admit that my brain isn't working all that well these last couple weeks, but that definitely reads like that will only work on a reboot to me.
<LnL> synthethic.conf only applies on reboot, but you can trigger it yourself
rubaka is now known as rsa
<{^_^}> [nixpkgs] @primeos pushed to master « glances: 3.1.4 -> 3.1.4.1 »: https://git.io/JvS6q
<LnL> happy to rephrase it if it's not clear
<scoates> got it. thank you for spelling that out. If I manage to catch my breath, I'll submit a disambiguation PR (-:
<scoates> (erm… unintentionally bad metaphor for the times; just meant I'm busy)
<LnL> it's not merged yet
<watzon> Ok I'm up and running 😁
<scoates> ah. well it's this part that seems ambiguous to me: "This only applies on a reboot, but apfs.util can be used to trigger the creation (not deletion) of new entries."
melling has quit [Quit: WeeChat 2.7.1]
<scoates> because the "This" appears to apply to the sentence it's in.
<watzon> Question. How do you handle a user local configuration? I know you can do things globally in /etc/nixos/configuarion.nix, but what about on a user by user basis?
erictapen has quit [Ping timeout: 246 seconds]
<scoates> "synthetic.conf changes are only applied on [re]boot, but to trigger an immediate, temporary (until synthetic is applied, on reboot) change, you can `/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B`" something like that. I don't have my writer hat fully on at the moment. (-:
<evils> ,home-manager watzon
<{^_^}> watzon: home-manager allows you to manage your per-user configuration similarly to NixOS's configuration.nix <https://nixos.wiki/wiki/Home_Manager>. It can also be used in your NixOS configuration directly, see <https://rycee.gitlab.io/home-manager/index.html#sec-install-nixos-module>
<watzon> You guys are awesome, thanks :)
cYmen_ has quit [Quit: bye]
cYmen has joined #nixos
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « gitRepo: 2.4.1 -> 2.5 »: https://git.io/JvS6V
spacekookie has quit [Quit: No Ping reply in 60 seconds.]
spacekookie has joined #nixos
<scoates> LnL: thanks for the help.
<scoates> any chance we'll see this in the actual installer soon?
<colemickens> [1/0/6 built, 2/0/6 copied (0.1/4.3 MiB), 0.0 MiB DL] copying path '/nix/store/qpf30r6m49n7gg4qhxm4xflrw1jdzbpy-unit-firewall.service' to 'ssh-ng://colemickens@aarch64.nixos.com
<colemickens> How do I make sure this never happens? I don't want to ever copy store contents to my remote builder, only in reverse.
<colemickens> Preferably, I'd just build on the remote and then ssh c@remote cachix push /nix/store/last-output, but I've been repeatedly butting heads with the CLI and not all of these things to be easy.
<colemickens> (Especially since the nix-copy-closure speed is shockingly slow and I suspect pushing to and then pulling from cachix will be faster. and helps prevent rebuilds between communtiy box wipes)
<clever> colemickens: you can use nix-copy-closure to copy a drv file, then run `nix-store -r` on the remote machine to build it
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.xdis: 4.2.2 -> 4.2.3 »: https://git.io/JvS67
<{^_^}> [nixpkgs] @jonringer merged pull request #83368 → python37Packages.xdis: 4.2.2 -> 4.2.3 → https://git.io/JvSKu
<colemickens> clever: cool, I can probably run with that and get something that fits my need. thanks again.
<{^_^}> [nixpkgs] @jonringer merged pull request #83364 → python27Packages.shodan: 1.21.3 -> 1.22.0 → https://git.io/JvSaA
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.shodan: 1.21.3 -> 1.22.0 »: https://git.io/JvS6b
<colemickens> (and I'm making slow progress on my rpi4 stuff thanks to your help the other day :) )
shibboleth has joined #nixos
growpotkin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @rycee pushed 2 commits to master: https://git.io/JvSiT
<{^_^}> [nixpkgs] @rycee closed pull request #83360 → home-manager: sync default.nix with upstream → https://git.io/JvS2I
nschoe has quit [Quit: Program. Terminated.]
ottidmes has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Mic92 closed pull request #83347 → weechatScripts.wee-slack: 2.4.0 -> 2.5.0 → https://git.io/JvS86
sputny[m] has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nilsirl[m]> Is there a way to not load the pulseaudio module "module-esound-protocol-unix"?
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JvSiC
<{^_^}> [nixpkgs] @nh2 merged pull request #83318 → hplip: 3.19.12 -> 3.20.3 → https://git.io/JvSLk
<drakonis> you're going to have to change the module
<drakonis> rather, the nix module that loads pulseaudio
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83369 → libsForQt5.qtutilities: 6.0.4 -> 6.0.5 → https://git.io/JvSiW
mekeor has quit [Ping timeout: 264 seconds]
<drakonis> hmm, actually, you might have to copy the existing pulseaudio config and disable the PA module and use it as the replacement config
<{^_^}> [nix] @Ericson2314 opened pull request #3450 → Extend Rust FFI → https://git.io/JvSiz
<{^_^}> [nixpkgs] @dywedir merged pull request #83346 → cargo-outdated: 0.9.7 -> 0.9.8 → https://git.io/JvS8W
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JvSi2
dhess has joined #nixos
<drakonis> that's not a function, its a tool
dhess_ has joined #nixos
<energizer> ok, when/where is it used
dhess has quit [Ping timeout: 240 seconds]
LysergicDreams has quit [Ping timeout: 246 seconds]
LysergicDreams has joined #nixos
<hexo_> hi, is there anyone using nix/nixos on powerpc64el ?
<hexo_> sorry, ppc64le
<hexo_> :)
<drakonis> which cpu?
lopsided98 has quit [Quit: Disconnected]
<drakonis> because the range of ppc64le cpus is fairly wide
<hexo_> power8
<drakonis> neat
<hexo_> i'd love to move to nixos :D
<gchristensen> hexo_: I know of someone cross compiling it to it, but they don't talk about it.
<gchristensen> if we had some interest in making it work, and 1 or 2 build machines somehow, we could
<drakonis> its pretty much server grade hardware
lopsided98 has joined #nixos
<hexo_> question is, if i can have that build machine at home
<hexo_> or it would pose some security problems?
<gchristensen> we would not allow you to build on our behalf, no
<gchristensen> but you could do your own builds on your own, for sure
<srk> hexo_: you can try filling bootstrap-files/ppc64le.nix with files from hydra links I've sent you
<srk> and try to compile everything from there
<hexo_> yes, i was looking at it like 5 mins ago
<hexo_> :D
<gchristensen> hexo_: looking on ebay, power8 hw is ...pricey.
<hexo_> yes :(
<hexo_> sometimes you can find one from Tyan for cheap
<drakonis> its rare sighting
<drakonis> power9 is easier to find now that raptor is doing it
<hexo_> yup!
<gchristensen> yeah, so, we can only put the builder in to hydra if we can build it ourselves
<drakonis> too bad it is ludicrously expensive right now
<gchristensen> depending on who hexo_ is, it may not be ludicriously expensive :)
<hexo_> it is, i got mine on sale
<hexo_> for like 400 euros?
* hexo_ hides
<gchristensen> nice
<hexo_> too bad i couldn't get 5 like i wanted. i could donate then :(
<hexo_> no money, no fun
<drakonis> the full raptor build is p. costly
<hexo_> so, this!
<drakonis> the components alone are cheap though
teteros has joined #nixos
wildtrees has quit [Remote host closed the connection]
<hexo_> i wanted the power9 badly, then i calculated costs and figured out that P9 price itself would pay 7 years of el. power for P8 :(
<hexo_> so i'm running that :D
<teteros> Trying to write an xml file to /var/lib/libvirt/qemu, I've tried writeTextFile but that seems to only copy file to /nix/store. Any ideas?
wildtrees has joined #nixos
opthomasprime has left #nixos [#nixos]
<srk> teteros: you need a script which copies it there
Cale has quit [Ping timeout: 260 seconds]
rardiol_ has quit [Ping timeout: 256 seconds]
<teteros> srk: e.g writeScriptBin ?
<teteros> with symlink to config path
rardiol has joined #nixos
jakobrs has joined #nixos
LysergicDreams has quit [Ping timeout: 240 seconds]
<srk> teteros: soemthing like systemd.services.my-libvirt-init.script = ..
lsix has quit [Ping timeout: 260 seconds]
<jakobrs> What is the *idiomatic* way to use a package from nixos-unstable in your configuration.nix?
<srk> teteros: with Type = "oneshot" and wantedBy = [ "multi-user.target" ];, you can find some examples in nixpkgs
Cale has joined #nixos
<teteros> srk: thanks
<evils> how do i use something like /nix/store/*-system-path/ as the input to a derivation?
LysergicDreams has joined #nixos
lsix has joined #nixos
<{^_^}> [nixpkgs] @drewrisinger opened pull request #83370 → pythonPackages.arrow: 0.15.4 -> 0.15.5 → https://git.io/JvSPO
<srk> ,unstable
<srk> hah
<b42> teteros: you can also use systemd.tmpfiles.rules for this, C to copy or L to symlink
<jakobrs> Apparently I need to `inherit config;`?
<jakobrs> Is there a list of all the arguments that need to be `inherit`ed?
<aswanson> I'm attempting to hack on a python application and trying to generate a dev environment with pypi2nix. when I run `pypi2nix -r requirements.txt` I get an error about being unable to access https://github.com/pypa/pip.git due to a self signed certificate
<aswanson> is that something wrong with my setup, or do I just need to temporarily disable git's ssl verification temporarily?
CRTified has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 264 seconds]
ddellacosta has joined #nixos
jakobrs has quit [Ping timeout: 240 seconds]
chpatrick has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @ryantm merged pull request #83369 → libsForQt5.qtutilities: 6.0.4 -> 6.0.5 → https://git.io/JvSiW
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvSPi
knupfer has quit [Remote host closed the connection]
teteros has quit [Quit: thanks for help]
<energizer> i am running networkmanager but i notice that wpa_supplicant is also running. why is this happening?
<lassulus> networkmanager uses wpa_supplicant
<energizer> ah ok
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @Frostman opened pull request #83371 → prometheus: 2.16.0 -> 2.17.0 → https://git.io/JvSPQ
knupfer has joined #nixos
<watzon> Ok I'm trying to create a file in my home directory and I'm getting `cannot create regular file; read only file system`
<watzon> Any idea what might be wrong?
jbgi has quit [Ping timeout: 260 seconds]
<lordcirth_> watzon, what filesystem? "df ." ?
<watzon> The root filesystem is `ext4`
<cole-h> Might also want to check `dmesg`/`journalctl -b` for ext4 messages
kleisli__ has joined #nixos
<lordcirth_> watzon, this is as a normal user? In /home?
asheshambasta has quit [Ping timeout: 246 seconds]
<watzon> Yep
wildtrees has quit [Remote host closed the connection]
<watzon> Things were working. I might be able to rollback, but I want to know what went wrong.
<watzon> Not seeing anything relevant in journalctl
<{^_^}> [nixpkgs] @drewrisinger opened pull request #83372 → pythonPackages.quandl: 3.4.8 -> 3.5.0 → https://git.io/JvSPN
<lordcirth_> watzon, what about dmesg?
<lordcirth_> Also, look at what options / was mounted with ('mount')
<cole-h> `journalctl -b` is a prettier `dmesg`, so there shouldn't be a difference
jakobrs has joined #nixos
<lordcirth_> Well, journalctl has a lot of non-dmesg stuff in it too
<cole-h> Fair.
kleisli_ has quit [Ping timeout: 246 seconds]
wildtrees has joined #nixos
<watzon> Anything in specific I should be grepping for in dmesg?
<watzon> I'm not seeing anything that indicates an issue
wildtrees has quit [Max SendQ exceeded]
<jakobrs> After updating to bluez-5.53 from unstable, I noticed that bluez-5.50 is still being depended upon (indirectly through obexftp)
<cole-h> watzon: `journalctl --grep="EXT4-fs error"`, just to be certain
<jakobrs> How do I ensure that *only* bluez-5.53 is being used? Overlays?
cosimone has quit [Quit: Quit.]
ixxie has quit [Ping timeout: 256 seconds]
<cole-h> After that, I'd manually scroll through `journalctl`/`dmesg` and look for errors
<watzon> Yeah nada. Seems like the issue is actually in attempting to copy a file from /nix/store though. Maybe that's the issue.
<watzon> Using touch in my home directory works
<cole-h> What are you actually trying to do?
<watzon> Install oh-my-zsh lol. It's ending up being a little more complicated than I thought.
bennofs has quit [Ping timeout: 246 seconds]
<lordcirth_> watzon, consider using home-manager for that
<cole-h> There's a NixOS module as well.
jbgi has joined #nixos
<cole-h> `programs.zsh.ohMyZsh.*`
pbb has quit [Remote host closed the connection]
<watzon> I installed the module, but it doesn't seem to be working
<watzon> Tried with home-manager first, then with the global config
<cole-h> What does "doesn't seem to be working" entail for you?
kloenk has quit [Read error: Connection reset by peer]
<watzon> Well I don't have a .zshrc, that's what I was trying to copy into my home directory
kloenk has joined #nixos
<OmnipotentEntity> oh my zsh is fun.
pbb has joined #nixos
<jakobrs> I'm kind of concerned that having two different versions of bluez in use at once is going to be a problem
<drakonis> is bluez a daemon?
<watzon> Apparently lol. I'm trying to do things the Nix way and avoid just copying my .zshrc from my dotfiles
<jakobrs> It's a "bluetooth stack"
shibboleth has quit [Quit: shibboleth]
<jakobrs> Not sure what that means, just that bluez 5.53 works better than 5.50 in my case and that I'm not entirely sure how to upgrade it
<watzon> I also don't have a .oh-my-zsh directory though, so I don't know what I'd source even if I did copy my dotfiles over
<Valodim[m]> watzon: don't go overboard though ;)
<{^_^}> [nixpkgs] @bbigras opened pull request #83373 → pixiecore: init at 2020-03-25 → https://git.io/JvSXR
FRidh2 has quit [Quit: Konversation terminated!]
<jakobrs> The problem is that I don't see how nixpkgs overlays would be used to replace a package with one from a different channel
<psiperator[m]> I just got oh-my-zsh working system-wide, just added zsh and oh-my-zsh to pkgs, and programs.zsh.ohMyZsh expression with enabled = true then whatever you want to configure like themes etc after
jakobrs has quit [Quit: WeeChat 2.7.1]
<psiperator[m]> I think its nicer system wide so you get theming and autocomplete as root etc. you can still use a custom .zshrc for user specific stuff but i guess if you want to that the nix way thats where the home manager shenanigans start
<{^_^}> [nixpkgs] @drewrisinger closed pull request #78876 → subunit: 1.1.0 -> 1.3.0 → https://git.io/JvOPz
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83375 → rambox-pro: 1.2.2 -> 1.3.1 → https://git.io/JvSXK
zupo has joined #nixos
<colemickens> I'm going to have to fix the Spotify nixos module I guess. On a crusade to remove every last webapp.
<{^_^}> [nixpkgs] @jonringer merged pull request #83314 → pythonPackages.flask-babel: 0.12.2 -> 1.0.0 → https://git.io/JvSIM
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « pythonPackages.flask-babel: 0.12.2 -> 1.0.0 »: https://git.io/JvSX9
johnjay has joined #nixos
<johnjay> is the nixos manual a good resource to learn about nixos or are there better ones?
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @jonringer merged pull request #83315 → pythonPackages.flask-appbuilder: 2.1.6 -> 2.3.0 → https://git.io/JvSIh
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « pythonPackages.flask-appbuilder: 2.1.6 -> 2.3.0 »: https://git.io/JvSXQ
<drakonis> johnjay: there's others that can be used along
pbb has joined #nixos
<johnjay> well you have to start somewhere
<{^_^}> [nixpkgs] @primeos pushed to master « fscrypt-experimental: 0.2.6 -> 0.2.7 »: https://git.io/JvS1v
<drakonis> the wiki should have a few pointers
<drakonis> you can look up options through the website, although i think that might be currently broken?
wavirc22 has joined #nixos
<drakonis> you haven't installed nixos yet have you?
<drakonis> ah it works, its only taking a while to load
<energizer> is there an equivalent of fetchurl but for ssh?
<johnjay> drakonis: i'm downloading the iso right now
<johnjay> going to test in vm first
<drakonis> that's fair
zeta_0 has joined #nixos
<cole-h> drakonis: There's also `man configuration.nix` as a manpage alternative to /nixos/options.html
growpotkin has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
aveltras has quit [Quit: Connection closed for inactivity]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
shafox_ has joined #nixos
cosimone has joined #nixos
captjakk has joined #nixos
shafox has quit [Ping timeout: 264 seconds]
<drakonis> oh yes
<drakonis> and you can query the manpage with /
<drakonis> it'll allow you to look up text through regex
pluplog has quit [Read error: Connection reset by peer]
shafox__ has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed 6 commits to release-20.03: https://git.io/JvS1Q
shafox_ has quit [Ping timeout: 258 seconds]
shafox__ has quit [Quit: Leaving]
<energizer> if i ever feel cool because i'm using cutting-edge tools like nix i get a helpful reminder that no, i'm a barbarian grepping manpages like it's the 70s
<gchristensen> lol
<jared-w> energizer: You could use a fancy manpage thing written in node if you want. 10x the bugs, 500x the disk space, and 102.5% coolness factor or something
<drakonis> a barbarian?
<drakonis> what.
<evils> on that topic, i'm trying to fix apropos, infinisil suggested building the mandb cache at build-time (rather than in an activationScripts entry), would this involve making a derivation that produces it for the generated system?
<jared-w> gchristensen: have you ever run into issues with hydra where a channel update (on nixos.org) happens, and then a personal hydra starts rebuilding a crap ton of things from scratch for no reason even though it should be in the upstream binary cache?
<jared-w> evils: the way most package managers do apropos is by re-generating the entire mandb cache every package install, iirc
<evils> jared-w: we can do better
<jared-w> I should hope so :)
<nilsirl[m]> How can I install a program for which I have a "default.nix"?
<evils> jared-w: i can't though :(
<tilpner> evils: Uh oh, that sounds like a bad tradeoff for most people. It takes 17s here, and I almost never use apropos
<clever> nilsirl[m]: nix-env -f default.nix -iA something
<tilpner> Please it make it configurable if you do add it
<evils> tilpner: you're a good nixos user, you never use apropos because it doesn't work :P
<nilsirl[m]> clever: thank you
<tilpner> evils: But it does, after you manually build the cache
ZoomZoomZoom has joined #nixos
<evils> tilpner: so the idea is to build it once if your system is being built with documentation enabled
<tilpner> I just don't want to pay the cost for an always-up-to-date cache, if it's going to add 17s to every rebuild where I add a manpnage
<jared-w> evils: what if you used https://nixos.org/nix/manual/#chap-post-build-hook a post-build-hook that ran a script which checked if a package had man pages and, if it did, regenerated the cache?
<evils> tilpner: on the open PR #76841 infinisil suggested building it once for each system, and on the `cfg.man.enable` switch, making `cfg.man.apropos.enable` is trivial though
<{^_^}> https://github.com/NixOS/nixpkgs/pull/76841 (by matthewbauer, 11 weeks ago, open): nixos/apropos: init
<jared-w> For more speed you could conceivably make it async and just fire a zombie process off into the aether
<infinisil> jared-w: Not the right approach for this. post-build-hook would run for everything that's built on the system
<infinisil> Not just installed things
<jared-w> infinisil: ah yeh, good point
<infinisil> jared-w: Also, it wouldn't run for things downloaded from a cache
mrpi has quit [Ping timeout: 240 seconds]
<evils> FWIW, if the db is up to date it's nearly instant to update, so if it's an activation script and you made no changes that change the mandb it's fairly low overhead?
<jared-w> oh, duh
mrpi has joined #nixos
<tilpner> evils: It is not instant here. I just ran it again, 12s
<jared-w> Hmm... A systemd timer to run the db update periodically if necessary?
<tilpner> It's fine if it's possible to disable it
<evils> jared-w: would that ever be necessary?
<jared-w> evils: it means you don't need to touch the entire nix build or nixos-rebuild mechanisms at all
<evils> tilpner: i'm going by the fact that rebuilding my system when the database already exists takes the the same amount of time as rebuilding it without apropos added
<evils> infinisil: did you have something specific in mind when you suggested moving it to build-time?
<gchristensen> indeed it seems the right time to index is at build-time of the system closure, since the philosophy of Nix is to move as much in to system build as possible, leaving state gunk for the very little we can't
<infinisil> evils: Well, just that using activationScript should be avoided whenever possible. It's just impure and essentially what all other deployment tools do (massage the system into some state, as good as they can)
<evils> ideally, one would attempt to reuse the most recent mandb output?
<gchristensen> why should I build my apropos db on my 20 target servers instead of my 1 build host
ZaraChimera has joined #nixos
<evils> gchristensen: because i can't think of a better way to do it :D
<infinisil> evils: What's the problem with generating it at build time?
<evils> infinisil: ^
<gchristensen> does that mean you don't know how?
<evils> jup
garbas has quit [Ping timeout: 250 seconds]
<gchristensen> ah
<gchristensen> sounds like a fun quarantine puzzel!
<evils> as far as i can tell i'd want a derivation that depends on something like /nix/store/*-system-path/sw/share and outputs its db?
fling has quit [Ping timeout: 240 seconds]
<evils> but then you have the system depending on something that depends on the system?
garbas has joined #nixos
<infinisil> evils: You'd want to use `environment.systemPackages` probably
<{^_^}> [nixos-homepage] @nextl00p opened pull request #365 → Fix accidental paste → https://git.io/JvSMC
<evils> infinisil: as the input?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> I think there's some gtk cache thing that's also generated in a similar way
<infinisil> Yeah
LysergicDreams has quit [Ping timeout: 258 seconds]
<infinisil> nixpkgs/nixos/modules/config/gtk/gtk-icon-cache.nix
<infinisil> Hm, seems to use `environment.extraSetup`
fling has joined #nixos
<evils> just in case someone wants apropos right now, https://git.io/JvSM8
zupo has joined #nixos
LysergicDreams has joined #nixos
<infinisil> I think using `environment.systemPackages` should work better for this
<tilpner> There's probably a buildEnv created from systemPackages somewhre
<tilpner> Try and reuse that
<infinisil> Oh yeah
<tilpner> Ahh, config.system.path
<tilpner> Though that doesn't account for users.users.foo.packages
<infinisil> Hm, a separate DB per user would make sense
<tilpner> evils: See config/system-path.nix
gentauro has joined #nixos
gentauro has quit [Changing host]
ixxie has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 256 seconds]
<evils> i think i'm missing some background, i'd want to depend on a part of the system config, but want the db be in the nix store? i've never seen anything that does that
<tilpner> Yeah, this can collect a weird circular dependency if you're not careful
<evils> it's not even that, sounds like i want to make a derivation that depends on a config instead of a derivation
<tilpner> You can probably generate mandb from environment.extraSetup
<tilpner> Though no caching then
<evils> sounds like that'd be equivalent to what i have now
<tilpner> No, it's very different
orivej has joined #nixos
<tilpner> extraSetup runs after system.path is built
<tilpner> Yours run every time I boot
<tilpner> (And switch)
zupo has joined #nixos
<tilpner> extraSetup runs as nixbld*, yours runs as root
xkapastel has quit [Quit: Connection closed for inactivity]
<tilpner> If the one in extraSetup fails, the user gets an error
<tilpner> If yours fails, the user can't boot
<infinisil> environment.variables.MANPATH = pkgs.runCommandNoCC "mandb" {} "mandb -C $out <some way to pass in ${config.system.path} as the input>"
<infinisil> Something like this ^
<infinisil> Should work
<tilpner> Huh, there's a --no-straycats
<evils> tilpner: yea, they become an issue if there's too many /s
<evils> mandb requires /var/cache/man to exist
zupo has quit [Client Quit]
captjakk has quit [Remote host closed the connection]
erictapen has joined #nixos
wiml has joined #nixos
linarcx has quit [Ping timeout: 250 seconds]
mehlon has joined #nixos
lsix has quit [Ping timeout: 272 seconds]
bvdw has quit [Read error: Connection reset by peer]
lsix has joined #nixos
bvdw has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
wiml has quit [Quit: wiml]
<{^_^}> [nixpkgs] @Mic92 opened pull request #83377 → radare2-cutter: 1.10.1 -> 1.10.2 → https://git.io/JvSDE
wiml has joined #nixos
<noonien> is it possible to specify a nixpkgs channel for an interactive nix-shell?
<tilpner> noonien: Yes, nix-shell -I nixpkgs=channel:nixos-unstable -p hello
<noonien> awesome, thanks!
<betaboon> can anyone suggest a way to add an assertion to an expression in an overlay to make sure i notice when nixpkgs has a version of a package greater-or-equal than in my overlay ?
gustavderdrache has quit [Quit: Leaving.]
captjakk has joined #nixos
<tilpner> betaboon: foo = let newFoo = ...; in with lib; assert versionAtLeast (getVersion newFoo) (getVersion super.foo); newFoo;
gudea[m] has joined #nixos
<tilpner> Though this won't catch equal versions
<{^_^}> [nixpkgs] @afrepues opened pull request #83378 → Build MELPA package lists without null packages → https://git.io/JvSDH
<tilpner> Use versionOlder and a negation for that
<betaboon> tilpner: would it be possible to compare the rev of fetchsvn ?
<tilpner> Uhh
<{^_^}> [nixpkgs] @symphorien opened pull request #83379 → buildRustCrate: don't sort link flags → https://git.io/JvSD7
<tilpner> Probably, but I have never used fetchsvn
<tilpner> What I sent was the generic version that will work for all-ish of nixpkgs
chagra has quit [Quit: WeeChat 2.7.1]
mehlon has quit [Quit: Leaving]
<tilpner> You can of course use foo.src.rev instead of getVersion name
<betaboon> thank you :)
shibboleth has joined #nixos
zupo has joined #nixos
mananamenos has quit [Read error: Connection reset by peer]
jb55 has quit [Quit: jb55]
philr has joined #nixos
jbgi has quit [Ping timeout: 240 seconds]
mmchen has joined #nixos
growpotkin has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #83051 → syncthingtray: 0.10.6 -> 0.10.7 → https://git.io/JvSyw
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvSyr
zfnmxt has quit [Quit: Bye!]
chloekek has quit [Ping timeout: 240 seconds]
zfnmxt has joined #nixos
wildtrees has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7.1]
wildtrees has quit [Max SendQ exceeded]
lovesegfault has joined #nixos
wildtrees has joined #nixos
mmchen has quit [Remote host closed the connection]
ixxie has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @lsix opened pull request #83382 → [20.03] qgis: 3.10.1 -> 3.10.4 → https://git.io/JvSSq
chagra has joined #nixos
shibboleth has quit [Quit: shibboleth]
hax404 has quit [Remote host closed the connection]
hax404 has joined #nixos
maddo has quit [Quit: See ya]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<benley> anyone know how to use overrideCabal (or whatever thing) to override just the "revision" field in a hackage package? When I try I end up with sha256sum mismatches that I can't resolve because it matches either the .cabal file or the .tar.gz source but not both
__monty__ has quit [Quit: leaving]
hax404 has quit [Ping timeout: 240 seconds]
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « xcircuit: 3.9.73 -> 3.10.12, maintain »: https://git.io/JvSSX
zeta_0 has quit [Client Quit]
<{^_^}> [nixos-homepage] @garbas pushed to governance « Governance page »: https://git.io/JvS9f
nuncanada2 has joined #nixos
nuncanada2 has quit [Read error: Connection reset by peer]
nuncanada2 has joined #nixos
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<{^_^}> [nixpkgs] @wohanley opened pull request #83385 → goimapnotify: init at 2.0 → https://git.io/JvS9T
nuncanada has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « performous: fix build »: https://git.io/JvS9k
<{^_^}> [nixos-homepage] @garbas opened pull request #366 → Governance page → https://git.io/JvS9t
nuncanada2 has quit [Read error: Connection reset by peer]
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 256 seconds]
hax404 has joined #nixos
patrl has joined #nixos
<patrl> is anyone using the new prime offload support that landed in unstable a little while ago?
* tilpner
erasmas has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #83386 → gvls: init at 0.14.3 → https://git.io/JvS9n
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « timidity: fix playing over JACK with -iA -Oj »: https://git.io/JvS9l
<{^_^}> [nixos-homepage] @garbas pushed to governance « remove nixos/foundation.html from MAkefile »: https://git.io/JvS9V
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @romildo merged pull request #83251 → iconpack-obsidian: 4.10 -> 4.11 → https://git.io/Jvy0N
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JvS9w
o1lo01ol1o has joined #nixos
<ZoomZoomZoom> Is it ok that I get "attribute 'overrideAttrs' missing" while attempting to overlay the kernel package?
Jackneill has quit [Ping timeout: 250 seconds]
evanjs has joined #nixos
<cole-h> Probably means you're not doing the right thing. Mind sharing the full overlay you've come up with?
knupfer has quit [Remote host closed the connection]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
usedcardsalesman has joined #nixos
usedcardsalesman has quit [Client Quit]
o1lo01ol1o has quit [Ping timeout: 264 seconds]
justanotheruser has quit [Ping timeout: 250 seconds]
LysergicDreams has quit [Ping timeout: 250 seconds]
wiml has quit [Quit: wiml]
wildtrees has quit [Quit: Leaving]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #80035 → stretchly: 0.21.0 -> 0.21.1, use system electron, simplify → https://git.io/JvWQE
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvS9F
chagra has quit [Ping timeout: 240 seconds]
<ZoomZoomZoom> cole-h, huh, so I've added 'pkgs.' before the package name and now I get "undefined variable 'python37'" and "undefined variable 'callPackage'" errors
fendor has quit [Read error: Connection reset by peer]
<cole-h> Can't help without seeing the full overlay ;^)
chagra has joined #nixos
<energizer> ZoomZoomZoom: perhaps you mean pkgs.callPackage
<ZoomZoomZoom> cole-h, https://pastebin.com/sgLFHsPk
<{^_^}> [nixpkgs] @MrMebelMan opened pull request #83387 → pythonPackages.opensimplex: init at 2.0 → https://git.io/JvSHv
<clever> ZoomZoomZoom: linuxPackages_testing_bcachefs is a set containing many kernel packages, not a single kernel
<clever> ZoomZoomZoom: you want linuxPackages_testing_bcachefs.extend (self: super: { kernel = super.kernel.something; })
<ZoomZoomZoom> ah, snap, thankx
<clever> that would change the kernel within the set
<cole-h> ZoomZoomZoom: Also, you don't need the `pkgs.` stuff in `pkgs.linuxPackages_testing_bcachefs = super.pkgs....`
<clever> self and super are both versions of pkgs
<cole-h> It's redundant
<ZoomZoomZoom> cole-h, yes. I just tried it in desperation
<clever> ZoomZoomZoom: you can also use nix repl to test these things out
<clever> ZoomZoomZoom: try `linuxPackages` inside `nix repl '<nixpkgs>'`
<ZoomZoomZoom> clever, thanks a lot.
cr4y1_ has joined #nixos
<jared-w> would changing the kernel version even work? bcachefs is a fairly large patch
<ZoomZoomZoom> jared-w that's another question. At least I'd like to try.
cr4y1 has quit [Ping timeout: 264 seconds]
ZoomZoomZoom has quit [Quit: Leaving]
patrl has left #nixos ["WeeChat 2.7.1"]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b79a4740442 (from 35 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
lsix has quit [Quit: WeeChat 2.7.1]
<judson_> I'm trying to use pypi2nix, and getting `error: value is a function while a set was expected, at .../requirements.nix:17:22`
<judson_> Which is where it tries to import python-packages.nix from nixpkgs
justanotheruser has joined #nixos
<energizer> you might be missing a {}
wiml has joined #nixos
<energizer> if you show the code someone can probably help better