worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<{^_^}> [nixpkgs] @marsam merged pull request #97184 → lesspipe: 1.84 -> 1.85 → https://git.io/JUsRE
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUZeL
ml| has joined #nixos
<zeta_0> infinisil: yes, but i haven't used git very much, so i was just double checking that, apologies, it was just a quick question, i ask the majority of my nix questions on reddit, and if i get really stuck, i usually ask here in #nixos.
<V> zeta_0: no need to be sorry, there's nothing wrong with asking questions
<zeta_0> V: sometimes i ask too many questions here, and get accused of being a help vampire, so i try not to ask too many questions in the #nixos channel, reddit has actually been very good, i usually get feedback within a few hours.
xcmw has quit [Quit: Textual IRC Client: www.textualapp.com]
kreyren has quit [Remote host closed the connection]
<damjan> V: so, how do I add it to the PATH of the build ?
<clever> damjan: add a thing to nativeBuildInputs
kreyren has joined #nixos
<zeta_0> anyways, back to cloning nixpkgs !
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
detran_ has quit [Ping timeout: 240 seconds]
<damjan> clever: to which nativeBuildInputs?
<clever> damjan: the nativeBuildInputs for the build that needs the tool
<damjan> so that would be the nixpkgs uwsgi ?
<V> damjan: ye
<V> Or the specific plugin that uses it
<{^_^}> [nixpkgs] @marsam merged pull request #97279 → atlassian-jira: 8.10.0 -> 8.12.0 → https://git.io/JUGch
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUZeD
<{^_^}> [nixpkgs] @marsam merged pull request #97147 → kubernetes-helm: 3.3.0 -> 3.3.1 → https://git.io/JUsUB
<{^_^}> [nixpkgs] @marsam pushed commit from @Chili-Man to master « kubernetes-helm: 3.3.0 -> 3.3.1 (#97147) »: https://git.io/JUZe9
detran has joined #nixos
alexherbo21 has joined #nixos
<{^_^}> [nixpkgs] @tomberek closed pull request #73068 → picat: 1.9 -> 2.7 → https://git.io/JeVCC
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
alexherbo2 has quit [Ping timeout: 264 seconds]
alexherbo21 is now known as alexherbo2
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JUZex
<{^_^}> [nixpkgs] @marsam merged pull request #97282 → vgrep: init at 2.4.0 → https://git.io/JUGgr
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUZeh
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97315 → terraform-ls: 0.6.1 -> 0.7.0 → https://git.io/JUZvT
<teoma> I'm wondering how to mount a NixOS VM qcow2 image on the host; I can connect it to /dev/nbd0 with qemu-nbd, but fdisk doesn't show any partitions...
<zeta_0> V, simpson: i finally found `dpkg`, when searching nixos packages, anyways, is this tool all i need to install that networking tool from the .deb file?
<zeta_0> i like how the search nixos web page is much faster now, but the search results are not very accurate !
<{^_^}> [nixpkgs] @tomberek closed pull request #80429 → fastlane: 2.128.1 -> 2.141.0 → https://git.io/Jv4gB
<V> zeta_0: I suggest you go read up the manual on how to make a derivation for proprietary software, also take a look in nixpkgs as I said
<V> You've not done half the things I said already, so I'll let you take the time to go over that again and piece it together with existing examples
<V> There's plenty of stuff available there
<{^_^}> [nixpkgs] @romildo opened pull request #97316 → marwaita-peppermint: init at 0.3 → https://git.io/JUZv8
<zeta_0> V: ok, i'll continue searching through nixpkgs, and look for nix documenation on how to do this.
<zeta_0> i'm going to take a quick break, i'll be back in about 5 minutes !
nrb26 has quit [Remote host closed the connection]
mariatsji has joined #nixos
romildo has joined #nixos
romildo has left #nixos [#nixos]
<{^_^}> [nixpkgs] @tomberek closed pull request #67849 → filebot: init at 4.8.5 → https://git.io/fjpqa
mariatsji has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @tomberek closed pull request #70037 → dotty: 0.14.0-RC1 -> 0.19.0-RC1 → https://git.io/JenJx
andymandias has joined #nixos
<patrickod> hey folks. I'm still hitting a wall w/ this looking glass compilation issue and greatly appreciate any input https://gist.github.com/patrickod/c09bd3a005940541e3ccfed139902592#file-gistfile1-txt I have specified both gcc.arch and gcc.tune in my /etc/nixos/configurationn.nix rebuilt & switched but this is not having the expected effect in the cc-wrapper argument generation based on this code
rajivr has joined #nixos
h0m2 has quit [Ping timeout: 246 seconds]
h0m2 has joined #nixos
<zeta_0> simpson, V: ok, i executed: `grep -R 'dpkg-deb' .` in the cloned nixpkgs dir, and it returned a bunch of stuff, do you want me to paste been the returned output?
<V> No
<V> I want to not be asked tech support questions
<V> I am willing to help out people who put in actual effort into trying to understand and figure stuff out
<V> This is not that
<zeta_0> type paste bin, not paste been
<V> I know what a pastebin is
<zeta_0> V: it's ok, this is my first time using grep, so i'm just experimenting with it now !
<zeta_0> i've heard of grep, but for some reason i've never had to use it until now.
<V> I think you should probably consider learning how to use the command line before coming in here and asking how to do this and that where you're lacking basic knowledge of the subject
<V> Maybe consider installing a more beginner-friendly operating system
<zeta_0> well, grep returned too much, so i need a better filter, to try and narrow down what i need.
<V> I hear ubuntu/linux mint/elementry OS are good
<V> (I will not be answering further questions)
<damjan> I changed the uwsgi/default.nix like this http://vpaste.net/OuDP0 … didn't help, still the same error
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JUZfF
sputny has quit [Remote host closed the connection]
tobiasBora0 has quit [Ping timeout: 244 seconds]
<zeta_0> V: well thanks for the help, i think i can go from here, i've been using nixos for over a year now but i'm starting to get the hang of it, and ya need to actually take the time to learn the terminal correctly, i've just been learning as i go.
<zeta_0> the main problem that i have with nixos is it's lack of documentation, with ubuntu i can quickly find step-by-step instructions on how to do something.
<zeta_0> i'm going to head out, later, and thanks for the help !
<tomberek> g'day
<zeta_0> simpson++ V++
<{^_^}> V was put on Santa's "nice" list
<{^_^}> simpson's karma got increased to 29
<{^_^}> [nixpkgs] @worldofpeace opened pull request #97318 → [20.03] Pantheon updates sep 2020 → https://git.io/JUZJ3
zeta_0 has quit [Quit: rcirc on GNU Emacs 27.1]
<siraben> Anyone able to build knightos-mkrom on macOS? I'm trying to see why even setting hardeningDisable = [ "format" ]; is causing a format string error; http://ix.io/2wnt
alexherbo22 has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo22 is now known as alexherbo2
<aleph-> Is there an easy way to just dump a nix expr to a file in a non-nixstore path?
<aleph-> Trying to generate some nix expr's from json but nix repl is elliding most of the content it seems due to the size of the exprs
cjpbirkbeck has joined #nixos
<damjan> should there be "${php-embed.dev}" in ./pkgs/servers/uwsgi/default.nix ?
tomberek has quit [Remote host closed the connection]
<aleph-> Nevermind, got it figured out
detran has quit [Quit: ZNC 1.7.5 - https://znc.in]
knerten2 has joined #nixos
knerten1 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/42674051d12 (from 54 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
zeta_0 has joined #nixos
<zeta_0> i'm still haven't figured out a solution to my issue, so here is the reddit post if any of you want to take a look: https://www.reddit.com/r/NixOS/comments/inyo1i/what_is_a_simple_and_easy_way_to_installbuild_a/
<{^_^}> [nix] @jtojnar opened pull request #3994 → README: Fix hacking link → https://git.io/JUZUD
zeta_0 has quit [Client Quit]
tomberek has joined #nixos
detran has joined #nixos
<damjan> ahh, is it "${php-embed.unwrapped.dev}"?
alexherbo2 has quit [Ping timeout: 258 seconds]
GolDDranks has joined #nixos
<GolDDranks> Hi, any quick help? I'm trying to build dropbear SSH with musl, and I'm having hard time
<tomberek> GolDDranks what issue are you running into?
<GolDDranks> The muslPkgs helper attribute doesn't have a working build (coreutils tests fail), so I'm trying to directly override libc
<GolDDranks> I have an expression like
<GolDDranks> let pkgs = import <nixpkgs> { config = { packageOverrides = pkgs: { stdenv = pkgs.stdenv.override { hostPlatform.libc = "musl"; }; }; };};inpkgs.dropbear.override { enableStatic = true;}
<GolDDranks> But when trying to build that, it says: error: attribute 'isx86_64' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/stdenv/generic/make-derivation.nix:259:33(use '--show-trace' to show detailed location information)
<GolDDranks> I'm on AArch64
<GolDDranks> I managed to build a musl busybox earlier, so I figured it's possible even without muslPkgs
<{^_^}> [nixpkgs] @mweinelt merged pull request #97263 → zigbee2mqtt: 1.14.3 -> 1.14.4 → https://git.io/JUGkz
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JUZTb
<GolDDranks> But musl busybox has an musl option in its recipe. Dropbear doesn't have that, so I'm trying to hack the build together with overrides.
<damjan> so, UWSGICONFIG_PHPDIR = "${php-embed.unwrapped.dev}"; helps. but … now complains about plugins/php/common.h:13:10: fatal error: ext/session/php_session.h: No such file or directory
<tomberek> GolDDranks it seems you are only changing the host platform
<tomberek> have you looked at pkgsMusl? it overrides more things and may be closer to what you want
<tomberek> GolDDranks: `nix-build -A pkgsMusl.dropbear`
<damjan> I have a suspicion nobody ever tried uwsgi with php on nixos
<GolDDranks> @tomberek Yep, I looked into that. It doesn't build
<GolDDranks> coreutils fails some test
<tomberek> GolDDranks , also, the failure seems to come from not having isx86_64 defined.. have you defined isAarch64?
<GolDDranks> I haven't. Is it a stdenv attribute or pkgs attribute or...?
MtotheM has quit [Read error: Connection reset by peer]
<tomberek> (this is in a mesonFlag portion of make-derivation.nix). looks like it's a stdenv attribute
cole-h has joined #nixos
<GolDDranks> For one, I have troubles navigating this code, where it complains: https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/make-derivation.nix#L264
zangi has joined #nixos
<tomberek> but fixing coreutils is really going to be much more helpful, i don't have aarch64 on me, but i do have armv7l
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<GolDDranks> I can't see where the isx86_64 attribute comes into scope
aw has joined #nixos
<zangi> how do I exclude sources that were downloaded by `nix flake show` from `nix-store --gc`?
spacefrogg has joined #nixos
<GolDDranks> tomberek, agree, it would be helpful if coreutils worked :D The failing test was:
<GolDDranks> FAIL: test-init.sh==================test-init.sh: failed test: err not empty: Segmentation fault (core dumped)FAIL test-init.sh (exit status: 1)
<GolDDranks> I actually downloaded that coreutils version (8.31) and quickly looked at the test, but it was hard to see what's wrong. It seems it just did some quick smoke test with calling touch and echo.
zangi has quit [Read error: Connection reset by peer]
<GolDDranks> -with +by
zupo has joined #nixos
zangi has joined #nixos
<GolDDranks> And compare
<GolDDranks> And if touch or echo segfaults, something seems to be wrong. (My gut says that linking is borked? but could be anything)
<tomberek> GolDDranks: is this related? https://github.com/NixOS/nixpkgs/pull/85953
<{^_^}> #85953 (by lovesegfault, 19 weeks ago, closed): [WIP] coreutils: 8.31 -> 8.32
zupo has quit [Ping timeout: 258 seconds]
<cole-h> Probably not, since it was closed
<GolDDranks> tomberek the version is one newer than what I have, BUT if muslPkgs.coreutils build worked with that, I'm interested
<tomberek> i'm trying a build now, but will take some time to bootstrap it's way there. Though i guess i should be updating my arm cache. (https://arm.cachix.org)
joebobjoe has joined #nixos
orivej_ has quit [Ping timeout: 256 seconds]
<cole-h> Wait, is someone trying to update coreutils? That's not going to end well...
orivej has joined #nixos
quinn has joined #nixos
<GolDDranks> tomberek interesting to see whether it fails also for you. You're building on ARMv7, right?
<GolDDranks> I guess the patch you linked still is applied at the moment by default?
<tomberek> not quite sure, it might have been subsumed.. cole-h: for now i'm just trying to re-create what GolDDranks is running into
<tomberek> cole-h: actually, you may know more about the status of pkgsMusl on Aarch64?
<cole-h> I know nothing about aarch64 🙃 Sorry to disappoint.
<cole-h> However, there is #nixos-aarch64
<cole-h> Some of the folks over there might know more
<GolDDranks> Thanks for the tip
<GolDDranks> Let's say what tomberek's build says
joebobjoe has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
tomberek has quit [Remote host closed the connection]
redmp has joined #nixos
tomberek has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
ddellacosta has quit [Ping timeout: 258 seconds]
redmp has quit [Client Quit]
<{^_^}> [nix] @jtojnar closed pull request #3994 → README: Fix hacking link → https://git.io/JUZUD
redmp has joined #nixos
redmp has quit [Client Quit]
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 272 seconds]
Supersonic112 is now known as Supersonic
<GolDDranks> Is there an easy way to build a package while disabling tests? I tried with "nix-build -E 'with import <nixpkgs> { }; pkgsMusl.coreutils.override { doCheck = false; }'" but it doesn't work
<GolDDranks> error: anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/tools/misc/coreutils/default.nix:1:1 called with unexpected argument 'doCheck', at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/customisation.nix:69:16
zeta_0 has joined #nixos
<simpson> GolDDranks: `pkgsMusl.coreutils.overrideDerivation (_: { doCheck = false; })` might work.
joebobjoe has joined #nixos
<GolDDranks> @sims
<GolDDranks> @simpson
<GolDDranks> Sorry about spam, I fail at hard :D simpson, thanks, seems to work!
<GolDDranks> What's different with what I tried?
<GolDDranks> Some of the packages do seem to respond to just "override"
<simpson> GolDDranks: Builds for me, and /nix/store/13hixj726brwyskpxj0zly78p854d0fi-coreutils-8.31/bin/uptime links and runs.
<simpson> GolDDranks: There's three overrides. I used the forbidden one, `overrideDerivation`, whoops. But `overrideAttrs` works just as well in this case.
<zeta_0> does virtualbox go by a different name, when looking for it's application to run i can't find it? i installed it without any errors using these instructions, so there shouldn't be any issues: https://nixos.wiki/wiki/Virtualbox
<simpson> `overrideAttrs` changes what's in the derivation's attrset itself; `override` changes what was used in the *file*, the default.nix, which is in nixpkgs and was called.
<zeta_0> simpson: i decided to go with a virtual machine and put ubuntu on it instead, i gave up on trying to install the .deb pkg with nix.
<zeta_0> when i search `virtualbox` in xmonad's dmenu, it does not show up, so it must go by a different name.
<simpson> zeta_0: After reading the backscroll, I'm sorry for confusing you by asking you to do things that you didn't understand. By "grep nixpkgs", I merely meant to search nixpkgs using your preferred computer tools.
<simpson> I meant for you to find a derivation *like* https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/simplenote/default.nix#L73-L83 and to use it as inspiration *but not literally as a copy-and-paste source* for writing your own few dozen lines of Nix.
<zeta_0> simpson: i am not sure how difficult it's going to be, so maybe i'm better off using a virtual machine, what would you recommend that i do, i need to get this networking tool up and running soon?
<GolDDranks> simpson, I see, thank. So, you tried building coreutils-8.31 with musl? Which architecture? I managed to build it now, with tests disabled. The commands seem to work.
<zeta_0> simpson: i'm guessing that i need to modify the nix code you linked slightly.
<zeta_0> in order to get nix to work with that .deb file.
<simpson> zeta_0: Write a fresh file. Do not copy a single line. Type out every single character.
<simpson> GolDDranks: Boring old amd64 laptop, nothing special. I haven't at all investigated why the tests might be broken; Nix tends to break lots of tests just by being itself.
orivej has joined #nixos
<GolDDranks> Allright. For me, this one test (test-init.sh) breaks both on my Raspberry Pi 4 and AWS Graviton, both AArch64. So it might be AArch64 specific?
<zeta_0> oh so `VirtualBox` is case sensitive, that's why it did not show up in xmonad's dmenu.
<simpson> GolDDranks: Highly likely; #nixos-aarch64 may know more.
<GolDDranks> I'll ask there
<tomberek> GolDDranks: my build is still in progress, just a small TinkerBoard
<GolDDranks> tomberek, thanks for the info! Let me know when it finishes
<zeta_0> simpson: well, i'll try to write some nix code, and if i can't figure it out, i'll just use the virtualbox instead.
<zeta_0> simpson: here's what i have so far in this shell.nix file: https://dpaste.org/OrMm
<zeta_0> screw it, i give up, i'll just use virtualbox instead.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97320 → terragrunt: 0.23.33 -> 0.23.40 → https://git.io/JUZql
<simpson> zeta_0: Eventually, with time, you will grow. In the meantime, I think you need `src`?
<{^_^}> [nixpkgs] @marsam merged pull request #97315 → terraform-ls: 0.6.1 -> 0.7.0 → https://git.io/JUZvT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUZqV
<{^_^}> [nixpkgs] @marsam merged pull request #96694 → navi: 2.9.0 -> 2.10.0 → https://git.io/JUtp0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUZqy
<GolDDranks> Any quick help why this expression doesn't work?
<GolDDranks> with import <nixpkgs> { config = { packageOverrides = pkgs: { pkgsMusl.coreutils = pkgs.pkgsMusl.coreutils.overrideAttrs(_: { doCheck = false; }); }; };};pkgsMusl.dropbear.override { enableStatic = true;}
<GolDDranks> error: attribute 'dropbear' missing, at /root/dropbear_musl.nix:8:1
m0rphism has quit [Ping timeout: 260 seconds]
<GolDDranks> If I comment out the config/packageOverrides part, it works
<{^_^}> [nixpkgs] @marsam merged pull request #96967 → pdfcpu: 0.3.4 -> 0.3.5 → https://git.io/JUYpn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUZqb
justanotheruser has quit [Ping timeout: 256 seconds]
<GolDDranks> Hmm, pkgsMusl = pkgs.pkgsMusl // pkgs.pkgsMusl.coreutils.overrideAttrs(_: { doCheck = false; }); doesn't erase the other packages in pkgsMusl, but that's a bit tedious. I wonder what's the correct idiom
<zeta_0> simpson: well, thanks for the help, i'm going to call it a day.
<zeta_0> later
xd1le has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vbgl opened pull request #97321 → proverif: 2.01 → 2.02pl1 → https://git.io/JUZmv
xd1le has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 27.1]
<tomberek> GolDDranks you can create an overlay for pkgsMusl with that override
<GolDDranks> Ugh, my current expression didn't even disable the tests for some reason??!
<GolDDranks> That's new to me. What's the difference between an overlay and override?
<aleph-> Hmm, how would one access a member of a list?
maxdevjs has quit [Ping timeout: 246 seconds]
<tomberek> GolDDranks: what is the expression you are working with? there are several ways to do this. Nix exposes various mechanisms, all of which have pros/cons.
<GolDDranks> So, I'm trying to create and expression that overrides coreutil's doCheck to equal false, and then using that, builds pkgsMusl.dropbear, while overriding enableStatic = true; in that package.
<tomberek> and you want this to be something that can be `nix-build`-able?
<GolDDranks> Yes
<tomberek> does this help? https://pastebin.com/ZJq7nCz3
<{^_^}> [nixpkgs] @marsam opened pull request #97322 → dune_2: fix hash → https://git.io/JUZmB
<GolDDranks> Thanks, I'll try it!
<tomberek> well... that won't use the new coreutils,,, one sec
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bd649f4f55c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/42674051d12 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<GolDDranks> That won't work, the coreutils runs the tests nevertheless. (Presumably because dropbear still tries to depend on the old coreutils?)
<tomberek> my bad,, this will be closer: https://pastebin.com/K28gRgA1
Rusty1 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #97270 → calibre: build with py3 by default → https://git.io/JUGYi
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/JUZmw
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ebd2e632d61 (from 15 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
mariatsji has joined #nixos
<GolDDranks> tomberek, thanks the "- let in" part had some weirdness but I removed that. Now it uses the coreutils with tests disabled! Thanks
<tomberek> next is getting the static portion
<GolDDranks> So, the coreutils test thing nothwithstanding, I'm finally making progress with my build :)
proofofkeags has quit [Ping timeout: 265 seconds]
stiell has quit [Ping timeout: 246 seconds]
<GolDDranks> Oh no, it still builds and runs the coreutils tests?!! Why...
mariatsji has quit [Ping timeout: 256 seconds]
<tomberek> let's just build that first: https://pastebin.com/z2VukCAq
<GolDDranks> I'm not sure how the overlays are supposed to work, but shouldn't the overridden package be named so that the old package is overwritten? coreutilsNoTest is named differently, no?
<tomberek> yes, but we're having issues, so let's just do one thing at a time
<GolDDranks> It complains about a syntax error: error: syntax error, unexpected IN, expecting '{', at /root/coreutils_overlay.nix:11:1
CMCDragonkai1 has joined #nixos
<tomberek> blarg... i'm copying things around: https://pastebin.com/jGVrJk7q
<GolDDranks> This succeeds right away
gerschtli has quit [Quit: WeeChat 2.7.1]
gerschtli has joined #nixos
<GolDDranks> It's the same result I managed to do earlier with an overridAttr /nix/store/39s6s8371b1kfrpv876c5hdmhhr1rnkq-coreutils-8.31
endformationage has quit [Quit: WeeChat 2.9]
cjpbirkbeck has quit [Quit: Goodbye, take care]
<tomberek> okay... that's good
<tomberek> now you can try dropbear?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97323 → topgrade: 5.5.0 -> 5.7.0 → https://git.io/JUZmb
<GolDDranks> Now as I try by changing the last lines to: pkgs.pkgsMusl.dropbear.override { enableStatic = true;}
<GolDDranks> It says: these derivations will be built: /nix/store/c1wz3gc8irs9rpfzvwq30q88hzf3shg5-coreutils-8.31.drv /nix/store/1a454ixw6hwf2l931jlpb7fcf85761f7-diffutils-3.7.drv /nix/store/i3xm22gq2hfdknx5h68dfnf39wd3fyd4-binutils-wrapper-2.31.1.drv
<GolDDranks> Plus a bunch of others
<GolDDranks> I'll see what it does
<GolDDranks> Doesn't look too good. If it was building the correct one, it would use the cached one directly
<GolDDranks> I think the derivation c1wz3gc8irs9rpfzvwq30q88hzf3shg5-coreutils-8.31.drv is the wrong one
<tomberek> correct.... i'm not sure how pkgsMusl is constructed
<GolDDranks> The correct derivation would be 7nyx52bk63dc6bi1i37dyk147i61gvfa-coreutils-8.31.drv
<bqv> cole-h: am i being <clinically slow> or does that patch not apply?
<bqv> i'm trying to use "git am" but 3 hunks fail
<tomberek> it may work to just override coreutils. I just don't know if that will override it inside pkgsMusl.
<tomberek> one sec,, i'm trying a few things
<tomberek> `nix-build -E 'with import <nixpkgs>{overlays=[(self: super: {coreutils=super.coreutils.overrideAttrs (old:{doCheck=false;});})];}; pkgsMusl.dropbear.override {enableStatic=true;}'`
aborsu has quit [Quit: aborsu]
<aterius> Flakes question: I'm trying to override nixpkgs with a set of overlays, and pass that overridden nixpkgs as the environmental variables in a dev shell. Nix throws an error that I'm trying to pass a set, not a string (which is true). Is there a way I can get the "path" to the overridden nixpkgs?
<tomberek> GolDDranks: that produces a static dropbear on my x86.
<GolDDranks> Nice! I'll try that
<GolDDranks> So the trick is teh override the main coreutils package, not the pkgsMusl one?
<tomberek> toggling the "doCheck" attribute does seem to change the derivation.... so *crosses fingers*
<GolDDranks> Yes! It seems to use the correct coreutils this time!
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « utils.bash: also "fix" cc-wrapper and pkg-config-wrapper »: https://git.io/JUZYW
<tomberek> excellent, now the hope is the rest of the toolchain works on aarch64
<GolDDranks> There's still a lot of dependencies to process, so a lot can go wrong, but... *crosses fingers*
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
<{^_^}> [nixpkgs] @zowoq opened pull request #97324 → scc: 2.12.0 -> 2.13.0 → https://git.io/JUZY8
<GolDDranks> Thank you! And hopebully someone over the #nixos-aarch64 has some idea how to fix/further investigate the coreutils problem.
evanjs has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #97325 → nixos/mailhog: run with DynamicUser → https://git.io/JUZYR
<tomberek> it seems that pkgsStatic, pkgsMusl, and the various variations (and then cross-compiling!) is sometimes in flux. Good news is that once you get it working and have a binary cache, you can save all that work once-and-for-all
justanotheruser has joined #nixos
_rvl_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
_rvl has joined #nixos
_rvl has quit [Remote host closed the connection]
<tomberek> GolDDranks do you have copy of the error?
<ldlework> welp, upgraded to unstable and my GPU is broken again
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97326 → ugrep: 2.5.3 -> 2.5.5 → https://git.io/JUZYS
_rvl has joined #nixos
palo1 has joined #nixos
mmohammadi9812 has joined #nixos
<tomberek> GolDDranks did that work?
Sanchayan has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97327 → vale: 2.3.3 -> 2.3.4 → https://git.io/JUZYj
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97328 → vultr-cli: 0.3.2 -> 0.4.0 → https://git.io/JUZOW
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
<GolDDranks> tomberek, wow, the build passed
<tomberek> woo!
<GolDDranks> However, the end result...
<GolDDranks> relocation errors and segfault :D
<GolDDranks> Also, the file doesn't seem to be actually staticall linked
<GolDDranks> file /nix/store/ccj6d4f17dxqmdf3ncim729n2l1vshmr-dropbear-2019.78/bin/dropbear
<GolDDranks> /nix/store/ccj6d4f17dxqmdf3ncim729n2l1vshmr-dropbear-2019.78/bin/dropbear: ELF 64-bit LSB shared object,
<GolDDranks> ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter /nix/store/f9dv17acrzf6dkgcsmk7k32z4x9djd9n-musl-1.1.24/lib/ld-musl-aarch64.so.1, not stripped
<tomberek> with this? nix-build -E 'with import <nixpkgs>{overlays=[(self: super: {coreutils=super.coreutils.overrideAttrs (old:{doCheck=false;});})];}; pkgsMusl.dropbear.override {enableStatic=true;}'
<GolDDranks> Yes
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97329 → windowchef: 0.5.0 -> 0.5.1 → https://git.io/JUZOV
<GolDDranks> I'm actually running this on an AWS instance, if you want to try and see, give me your id_rsa.pub, and I'll let you in. (I'm going to delete the instance latter so)
mariatsji has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
<{^_^}> [nix-mode] @matthewbauer merged pull request #105 → Fix nix-get-completions, add to nix-repl-mode → https://git.io/JUGsO
<{^_^}> [nix-mode] @matthewbauer pushed 3 commits to master: https://git.io/JUZOd
evanjs has joined #nixos
<cole-h> bqv: You need to rebase
<cole-h> (on master)
<{^_^}> [nixpkgs] @marsam pushed to master « calibre: remove self reference »: https://git.io/JUZOj
justanotheruser has quit [Ping timeout: 256 seconds]
<cole-h> Oh, looks like you got it :D
<{^_^}> [nix-mode] @matthewbauer pushed to master « Release 1.4.5 »: https://git.io/JUZ3I
<{^_^}> [nix-mode] @matthewbauer pushed 0 commits to refs/tags/v1.4.5: https://git.io/JUZ3L
<cole-h> bqv: When you were copying the patch, you forgot a colon for `nlohmann:json` in the `toJSON` function -- should be `nlohmann::json` ;^)
wavirc22_ has joined #nixos
wavirc22 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97330 → yacreader: 9.6.2 -> 9.7.0 → https://git.io/JUZ3i
<cole-h> bqv: Also, uh, feel free to change the patch title (or even just squash if you want) -- I just wanted to get it out there :P
sgrunert has joined #nixos
cole-h has quit [Quit: Goodbye]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/bd649f4f55c (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @Mic92 merged pull request #82641 → hovercraft: 2.6 -> 2.7 → https://git.io/JviXT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JUZsJ
aborsu has joined #nixos
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97331 → yder: 1.4.11 -> 1.4.12 → https://git.io/JUZsZ
<bqv> cole-h: ah, sure, yeah i thought i should credit since you cracked it, not me :p
<bqv> i had an iteration a bit like that but didn't find that ALLOW_UNDEFINED flag
<{^_^}> [nixpkgs] @0x4A6F opened pull request #97332 → timescale-prometheus: 0.1.0-beta.2 -> 0.1.0-beta.4 → https://git.io/JUZsR
CMCDragonkai has quit [Remote host closed the connection]
CMCDragonkai has joined #nixos
sgrunert has quit [Remote host closed the connection]
sascha has joined #nixos
sascha is now known as Guest56725
cfricke has joined #nixos
<{^_^}> [nixpkgs] @makefu opened pull request #97333 → backport hovercraft fix → https://git.io/JUZs5
mallox has joined #nixos
xantoz has quit [Read error: Connection reset by peer]
xantoz has joined #nixos
stiell has joined #nixos
Guest56725 has quit [Quit: Leaving]
sgrunert has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97334 → zimg: 3.0 -> 3.0.1 → https://git.io/JUZGW
arjen-jonathan has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
mallox has quit [Quit: WeeChat 2.9]
evanjs has joined #nixos
sangoma has joined #nixos
<typetetris> I have two source trees (one of them generated), which I want to "merge" for a build. Are there already functions for this in nixpkgs?
turion has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
sputny has joined #nixos
alp has joined #nixos
<{^_^}> [nixpkgs] @DavHau opened pull request #97335 → nixops: add virtualbox base image → https://git.io/JUZZ8
<{^_^}> [nixpkgs] @filalex77 merged pull request #97323 → topgrade: 5.5.0 -> 5.7.0 → https://git.io/JUZmb
marsh has joined #nixos
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JUZZE
civodul has joined #nixos
alp has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JUZZD
<{^_^}> [nixpkgs] @vcunat merged pull request #97229 → picard-tools: 2.23.3 -> 2.23.4 → https://git.io/JUsHC
growpotkin has joined #nixos
lord| has quit [Ping timeout: 260 seconds]
tomberek has quit [Remote host closed the connection]
arjen-jonathan has quit [Ping timeout: 244 seconds]
Uniaika has left #nixos [#nixos]
alexherbo2 has joined #nixos
tomberek has joined #nixos
<{^_^}> [nixpkgs] @euank opened pull request #97336 → k3s: 1.18.2 -> 1.18.8 → https://git.io/JUZnz
lord| has joined #nixos
medvid_ has quit [Ping timeout: 264 seconds]
lunik19 has joined #nixos
lunik1 has quit [Ping timeout: 264 seconds]
lunik19 is now known as lunik1
<Graypup_> hi, does anyone know how to make certs available at /etc/ssl/certs for a nix-built docker container?
<Graypup_> my specific problem is that my haskell program is not finding system ca-certificates appropriately from within a container
<Graypup_> so I assume they are missing
<ikwildrpepper> Graypup_: maybe add pkgs.cacert?
<ikwildrpepper> (adding it to contents, I meant)
medvid_ has joined #nixos
<dminuoso> Graypup_: What's the underlying tls library?
<dminuoso> plain `tls`?
<Graypup_> yeah, haskell tls
<Graypup_> seems to be using x509-system to get the broken path
turion has quit [Quit: Leaving.]
<Graypup_> mmm, what's wrapProgram a part of?
<Graypup_> stdenv?
<symphorien[m]> makeWrapper
<Graypup_> I am going to probably solve this problem by abandoning azure tbf because app service sucks hugely at handling 500MB (compressed) docker containers as generated by Nix and Haskell (both equally guilty) >_>
<Graypup_> and it's not entirely nix's fault that my app uses diagrams-builder which requires a ghc
<Graypup_> iow screw this I'm going to nixos
cosimone has joined #nixos
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #97338 → nixos/prometheus-exporters: fix default firewall filter → https://git.io/JUZcE
<typetetris> With `builtins.filterSource`, `builtins.path` I can filter a source tree, but how can I add files to it? I guess, I will have to use `stdenv.mkDerivation` and copy stuff together in `installPhase` or some such?
<typetetris> Or is there a better way?
<{^_^}> [nixpkgs] @zowoq pushed to master « exa: remove maintainer »: https://git.io/JUZc6
thc202 has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #97321 → proverif: 2.01 → 2.02pl1 → https://git.io/JUZmv
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JUZc7
tomberek has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @petabyteboy opened pull request #97339 → flashrom: fix aarch64 build → https://git.io/JUZCe
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @filalex77 merged pull request #97324 → scc: 2.12.0 -> 2.13.0 → https://git.io/JUZY8
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JUZCt
GolDDranks has quit [Remote host closed the connection]
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0ecc8b9a56a (from 67 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
o1lo01ol1o has joined #nixos
GolDDranks has joined #nixos
alp has joined #nixos
chenhq2005 has joined #nixos
saschagrunert has joined #nixos
maier has joined #nixos
sgrunert has quit [Ping timeout: 246 seconds]
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
fendse has joined #nixos
Gleaken[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
cfricke has quit [Quit: WeeChat 2.9]
tmaekawa has quit [Ping timeout: 260 seconds]
norbert[m]2 has quit [Quit: Idle for 30+ days]
<ldlework> TIL nixpkgs has fucking drempels
<ldlework> wtf
cosimone has joined #nixos
<{^_^}> [nixpkgs] @kampka closed pull request #97009 → netpbm: Fix cross platform build → https://git.io/JUO1L
cosimone_ has quit [Ping timeout: 256 seconds]
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
ehmry has quit [Remote host closed the connection]
chenhq2005_ has joined #nixos
chenhq2005__ has joined #nixos
chenhq2005___ has joined #nixos
chenhq2005 has quit [Ping timeout: 256 seconds]
chenhq2005_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @elseym merged pull request #97338 → nixos/prometheus-exporters: fix default firewall filter → https://git.io/JUZcE
<{^_^}> [nixpkgs] @elseym pushed 2 commits to master: https://git.io/JUZlk
turlando has joined #nixos
chenhq2005 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97340 → at-spi2-core: 2.36.0 -> 2.36.1 → https://git.io/JUZlq
chenhq2005__ has quit [Ping timeout: 240 seconds]
chenhq2005___ has quit [Ping timeout: 240 seconds]
chenhq2005_ has joined #nixos
<joesventek> ldlework, which window manager is that?
chenhq2005__ has joined #nixos
<ldlework> joesventek: QTile
<{^_^}> [nixpkgs] @herrwiese opened pull request #97342 → bpytop: 1.0.21 -> 1.0.25 → https://git.io/JUZla
chenhq2005 has quit [Ping timeout: 240 seconds]
<joesventek> Nice. Too bad it doesn't do tags a la dwm.
chenhq2005_ has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<ldlework> Yeah, I've never wanted apps on multiple workspaces.
<ldlework> I have Win-[a-g,z-b] bound to 10 workspaces, and everything has its place :)
<joesventek> I use it to quickly put applications in and out of view.
xd1le has quit [Read error: Connection reset by peer]
johanot has quit [Ping timeout: 256 seconds]
xd1le has joined #nixos
johanot has joined #nixos
<ldlework> I just use Win-Shift-(one of the letters above) to move something around to another workspace if it needs to move.
<{^_^}> [nixpkgs] @cmacrae opened pull request #97343 → emacs-mac: json support → https://git.io/JUZ8s
chenhq2005__ has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @marsam merged pull request #97320 → terragrunt: 0.23.33 -> 0.23.40 → https://git.io/JUZql
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUZ8l
tmaekawa has joined #nixos
mmohammadi9812 has joined #nixos
chenhq2005 has joined #nixos
<{^_^}> [nix-mode] @jcs090218 opened pull request #106 → Fixed minor issues for `nix-mode.el`. → https://git.io/JUZ4O
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0ecc8b9a56a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @fitzgibbon closed pull request #74962 → exult: 1.4.9rc1 -> 1.5.0git → https://git.io/JeDYX
joebobjoe has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jpgu-epam opened pull request #97344 → Nixos 20.03 patches → https://git.io/JUZ4r
tmaekawa has quit [Quit: tmaekawa]
cfricke has joined #nixos
malook has joined #nixos
eoli3n_ has quit [Ping timeout: 260 seconds]
amir has quit [Ping timeout: 240 seconds]
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
civodul has quit [Read error: Connection reset by peer]
civodul has joined #nixos
joebobjoe has joined #nixos
spudly- is now known as spudly
mmohammadi98129 has joined #nixos
mmohammadi9812 has quit [Read error: Connection reset by peer]
mmohammadi98129 is now known as mmohammadi9812
joebobjoe has quit [Ping timeout: 260 seconds]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @ckauhaus opened pull request #97345 → mccp: add patch for CVE-2019-14274 → https://git.io/JUZB8
marble_visions_ has quit [Quit: bye]
chenhq2005 has quit [Ping timeout: 240 seconds]
marble_visions has joined #nixos
marble_visions has quit [Remote host closed the connection]
hiro99 has joined #nixos
marble_visions has joined #nixos
eoli3n_ has joined #nixos
<marble_visions> hi all, i've got an embedded GCC compiler (gcc-arm-none-eabi) that is provided from nixpkgs as a derivation, and I can also download it from the official website developer.arm.com. if i install from a derivation, i get the bits and pieces of the compiler package in lib, bin, etc... if i get it from the vendors website, i untar the archive and i get the contents in e.g. gcc-arm-none-eabi-9-2020-q2-update/bin , gcc-arm-none-eabi-9-2020-q2-u
<marble_visions> pdate/lib
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #97346 → test-driver.py: fix VM state directory deletion → https://git.io/JUZRv
<marble_visions> it might seem odd, but some tooling requires that I have this toplevel "gcc-arm-none-eabi-9-2020-q2-update"
<marble_visions> how can I simulate this with the derivation in nixpkgs?
<marble_visions> for example, collect the bunch of symlinks, and just serve them off of "gcc-arm-none-eabi-9-2020-q2-update/" as well as the "/"
<marble_visions> by "/" i mean the system-wide or user-specific env that evaluated the derivation
lotharn has quit [Ping timeout: 264 seconds]
<marble_visions> throwing in an example of one such make-based project that requires the "gcc-arm-none*" folder: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Getting-started/ta-p/1121153
<marble_visions> it's baked into the makefile
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #97347 → castor, gitAndTools.git-interactive-rebase-tool, the-way: disable checks → https://git.io/JUZRq
<{^_^}> [nixpkgs] @rople380 opened pull request #97348 → exodus: 20.1.30 -> 20.8.28 → https://git.io/JUZRG
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
Izorkin has joined #nixos
<siraben> When I search for a package I seem to get results from nixos anid nixpkgs channels, how do I show only one?
<siraben> Is it due to using home-manager?
sangoma has quit [Read error: Connection reset by peer]
heijligen has quit [Ping timeout: 240 seconds]
megfault has quit [Ping timeout: 244 seconds]
cap has quit [Ping timeout: 240 seconds]
<symphorien[m]> add `-f "<nixpkgs>"`
lotharn has joined #nixos
<siraben> symphorien: Yeah but should I worry about having both nixos and nixpkgs?
<symphorien[m]> no
<symphorien[m]> just keep in mind that it's possible that they don't point to the same revision of nixpkgs
<symphorien[m]> sometimes one forgets and this can lead to head scratching
<siraben> Ok.
<symphorien[m]> (usually nixos is root's nixpkgs channel, and nixpkgs is the user's)
eoli3n_ has quit [Ping timeout: 240 seconds]
kreyren_ has joined #nixos
kreyren has quit [Ping timeout: 240 seconds]
malook has quit [Quit: malook]
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
hiro99 has quit [Remote host closed the connection]
fendor has joined #nixos
cr4y1 has joined #nixos
hiro99 has joined #nixos
sangoma has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #97333 → backport hovercraft fix → https://git.io/JUZs5
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to release-20.03: https://git.io/JUZ0n
hiro99 has quit [Client Quit]
alp has quit [Remote host closed the connection]
alp has joined #nixos
__monty__ has joined #nixos
ravndal has quit [Ping timeout: 240 seconds]
cfricke has quit [Quit: WeeChat 2.9]
aborsu has quit [Quit: aborsu]
zupo has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #97322 → dune_2: fix hash → https://git.io/JUZmB
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « dune_2: fix hash »: https://git.io/JUZEt
<{^_^}> [nixpkgs] @udf opened pull request #97349 → python38Packages.telethon: Patch find_library call for libssl → https://git.io/JUZE3
cfricke has joined #nixos
aborsu has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #97189 → liferea: 1.12.6 → 1.12.9 → https://git.io/JUsEy
<{^_^}> [nixpkgs] @vbgl pushed to master « liferea: 1.12.6 → 1.12.9 »: https://git.io/JUZEG
<{^_^}> [nixpkgs] @filalex77 merged pull request #97328 → vultr-cli: 0.3.2 -> 0.4.0 → https://git.io/JUZOW
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JUZEa
zupo has quit [Ping timeout: 240 seconds]
turlando has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to master « liferea: remove myself from meta.maintainers »: https://git.io/JUZEy
fendor has quit [Remote host closed the connection]
<ldlework> hmm kitty is broke on unstable
<{^_^}> #80936 (by shyim, 28 weeks ago, open): Kitty does not start more
<siraben> ldlework: is it? i'm on unstable and kitty works fine
<siraben> uh oh, I'm in the process of updating my system too, heh
<ldlework> I get
<ldlework> fast_data_types.FreeTypeError: Failed to load face, with error: cannot open resource
<ldlework> [251 06:45:16.623331] Failed to convert descriptor to face for symbol_map font
cosimone has quit [Quit: Quit.]
ckauhaus has joined #nixos
chenhq2005 has joined #nixos
ehmry has joined #nixos
<{^_^}> [nixpkgs] @max-wittig opened pull request #97350 → gitlab-runner: 13.3.0 -> 13.3.1 → https://git.io/JUZuq
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #nixos
amir has joined #nixos
sangoma has quit [Ping timeout: 246 seconds]
chenhq2005 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUZuN
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/42674051d12 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<ldlework> siraben: I think it's OK
sangoma has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #97348 → exodus: 20.1.30 -> 20.8.28 → https://git.io/JUZRG
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JUZze
amir has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peterhoeg closed pull request #96844 → nixos/nfsd: run rpc-statd as a normal user → https://git.io/JUqH7
queiw_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97353 → armadillo: 9.900.2 -> 9.900.3 → https://git.io/JUZzd
<{^_^}> [nixpkgs] @peterhoeg reopened pull request #96844 → nixos/nfsd: run rpc-statd as a normal user → https://git.io/JUqH7
chenhq2005 has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4bd1938e03e (from 84 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
teto has joined #nixos
chenhq2005_ has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
chenhq2005 has quit [Ping timeout: 240 seconds]
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #97016 → marwaita: 7.5.1 -> 7.6.1 → https://git.io/JUOya
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JUZ2m
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
chenhq2005_ has quit [Ping timeout: 240 seconds]
kolaente_ has joined #nixos
<kolaente_> Hey there, has anyone gotten the terraform autocomplete to work with zsh? I couldn't find anything about that on nix and terraform -install-autocomplete won't work since the .zshrc is managed by nix
fendse has quit [Ping timeout: 240 seconds]
malook has joined #nixos
Pratzkas has joined #nixos
<Pratzkas> Hello, what are you talking about here in this chat?
aborsu has quit [Quit: aborsu]
<Pratzkas> What means nixos?
<Pratzkas> Hello??
<makefu> Pratzkas: nix is the package manager and nixOS is the Operating System based on the nix package manager
<etu> Pratzkas: NixOS is a linux-based distro
<ptotter[m]> NixOS?
<Pratzkas> Ok
<Pratzkas> What means distro?
<GolDDranks> This video made override and overrideAttrs a lot more clearer: https://www.youtube.com/watch?v=6VepnulTfu8
<Pratzkas> Thanks
<{^_^}> [nixpkgs] @filalex77 closed pull request #86686 → nixos/caddy: add support for Caddy v2 → https://git.io/Jfsrw
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4bd1938e03e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
aquair has left #nixos [#nixos]
Pratzkas has left #nixos [#nixos]
orivej has quit [Quit: No Ping reply in 180 seconds.]
zupo has joined #nixos
malook has quit [Quit: malook]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97354 → acme-sh: 2.8.6 -> 2.8.7 → https://git.io/JUZau
<siraben> While trying to cross-compile Rust to ARM, I get the following error:
<siraben> error: linker `armv7-unknown-linux-gnueabihf-clang` not found
<siraben> My .cargo/config looks like this
<siraben> [target.armv7-unknown-linux-gnueabihf]
<siraben> linker = "armv7-unknown-linux-gnueabihf-clang"
kolaente_ has quit [Quit: WeeChat 2.7.1]
<siraben> What linker do I use?
evanjs has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97356 → anydesk: 6.0.0 -> 6.0.1 → https://git.io/JUZaD
<clever> siraben: are you in a nix-shell that includes that linker?
<siraben> clever: looks like the nix-shell doesn't have it, how would I get it?
evanjs has joined #nixos
<clever> siraben: you would run nix-shell against a derivation like: pkgsCross.arm-embedded.stdenv.mkDerivation { name = "foo"; }
<clever> that would give you the cross gcc for arm-none
<symphorien[m]> the linker will be indicated in the $LD environment variable
<siraben> clever: would I not use pkgs.rustPlatform.buildRustPackage ?
<clever> yeah, nix will setup all of the tools in all-caps vars, $CC, $CXX, $OBJCOPY, $LD and more
<clever> siraben: that one wont be a cross build
<clever> siraben: there is also github.com/nmattia/naersk which is supposed to fully automate cross-compiling rust
<siraben> clever: does this look good? http://ix.io/2wpM
<{^_^}> [nixpkgs] @marsam merged pull request #97327 → vale: 2.3.3 -> 2.3.4 → https://git.io/JUZYj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUZah
<siraben> Then I do, nix-shell shell.nix --run "cargo build --target=armv7-unknown-linux-gnueabihf"
<siraben> wow it's recompiling gcc, hm.
<clever> siraben: that will give a gcc that targets linux, instead of arm-none
<siraben> What do I need to change?
<clever> pkgsCross.arm-embedded.stdenv.mkDerivation will give you a cross gcc
<clever> and skip mkShell, just use mkDerivation
<siraben> What's arm-embedded here?
<clever> the internal name for arm without a kernel
<siraben> But with mkDerivation, cargo won't be able to install the dependencies
<clever> why cant it?
<clever> mkShell just calls mkDerivation for you
<{^_^}> [nixpkgs] @marsam merged pull request #97332 → timescale-prometheus: 0.1.0-beta.2 -> 0.1.0-beta.4 → https://git.io/JUZsR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUZVU
<siraben> error: attribute 'arm-embedded' missing,
<clever> siraben: its part of pkgsCross
<clever> > pkgs.pkgsCross.arm-embedded.stdenv.mkDerivation { name = "foo"; }
<{^_^}> "<derivation /nix/store/ri6f33daxvqm828dpqcakp80gz76i6bn-foo-arm-none-eabi.drv>"
<siraben> Ok fixed, seems to be progressing.
<{^_^}> [nixpkgs] @ehmry merged pull request #97302 → liquidsoap: 1.3.4 → 1.4.2 → https://git.io/JUGyi
<{^_^}> [nixpkgs] @ehmry pushed commit from @vbgl to master « liquidsoap: 1.3.4 → 1.4.2 »: https://git.io/JUZVI
<siraben> clever: how is this going to be sufficient for building the package? http://ix.io/2wpO
<siraben> Oops, need to src = ./.; of course
<{^_^}> [nixpkgs] @marsam merged pull request #97326 → ugrep: 2.5.3 -> 2.5.5 → https://git.io/JUZYS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUZVt
<clever> src = ./.; only matters if your using nix-build
<clever> its pointless with nix-shell
<siraben> now I have a make error, it's a rust project
<clever> what command did you run to get the error?
<siraben> nix-build .
<clever> you want nix-shell, not nix-build
<{^_^}> [nixpkgs] @ckauhaus opened pull request #97357 → [20.03] adns: 1.5.1 -> 1.5.2 → https://git.io/JUZVO
<clever> 2020-09-07 10:14:47 < siraben> Then I do, nix-shell shell.nix --run "cargo build --target=armv7-unknown-linux-gnueabihf"
<siraben> Oh ok
<clever> mkDerivation can be used with both shell and build
<clever> nix-shell just drops you into an env suitable for building the thing
<siraben> new error: http://ix.io/2wpP
<clever> but you can then run whatever you want, and ignore the makefile
<clever> you have to tell cargo to fetch the std crate for arm first
<clever> ive done similar in the past with `rustup target add x86_64-pc-windows-msvc`
<siraben> I now did
<siraben> rustup target add armv7-unknown-linux-gnueabihf
<siraben> cargo build --target=armv7-unknown-linux-gnueabihf
<siraben> and it fails
<siraben> error[E0463]: can't find crate for `std`
evils has quit [Read error: Connection reset by peer]
mariatsji has quit [Remote host closed the connection]
<clever> not sure, maybe give github.com/nmattia/naersk a try?
<GolDDranks> Could somebody tell me what I'm missing here?
<GolDDranks> nix-build -E 'with import <nixpkgs> { config = { packageOverrides = pkgs: { dropbear = import ./dropbear_from_scratch.nix; }; }; }; dropbear'
fendor has joined #nixos
evils has joined #nixos
<siraben> clever: ok i'll see
<GolDDranks> (./dropbear_from_scratch.nix is just a copy of the dropbear default.nix at the moment)
<GolDDranks> and it says: error: cannot auto-call a function that has an argument without a default value ('stdenv')
<clever> GolDDranks: you want pkgs.callPackage ./dropbear_from_scratch.nix {}
sangoma has quit [Quit: WeeChat 2.9]
<GolDDranks> clever thanks!
<GolDDranks> Now it says: nix-build -E 'with import <nixpkgs> { config = { packageOverrides = pkgs: { dropbear = pkgs.callPackage ./dropbear_from_scratch.nix; }; }; }; dropbear'error: expression does not evaluate to a derivation (or a set or list of those)
<clever> GolDDranks: you forgot the {} at the end
<clever> you also dont need an override, nix-build -E 'with import <nixpkgs> {}; callPackage ./dropbear_from_scratch.nix {}'
<GolDDranks> Just to check: what type of value does callPackage return? A derivation? Or a function that returns a derivation?
<clever> callPackage takes 2 arguments, the path to a package, and some overrides for the package args
<clever> and it then returns whatever was in the file you gave it
<GolDDranks> I see. But isn't the point of callPackage that it "fills in" the default values?
<clever> yeah, for anything you dont specify, it gets a default from pkgs
<GolDDranks> All right. Thanks again!
<clever> so when you run callPackage on { stdenv, hello }: it passes you pkgs.stdenv and pkgs.hello
turlando has joined #nixos
<clever> but you can callPackage ./foo.nix { hello = pkgs.goodbye; }
<GolDDranks> So, now I'm getting sensible results at last :D
<clever> to change what hello is
<GolDDranks> (sensible error results but at least things I expect)
fendse has joined #nixos
<siraben> clever: the same issue about the linker appears again
sangoma has joined #nixos
<siraben> error: linker `armv7-unknown-linux-gnueabihf-gcc` not found
<clever> siraben: if you `echo $LD and $CC` in that shell, what does it say?
<{^_^}> [nixpkgs] @kolaente opened pull request #97359 → Update/jetbrains → https://git.io/JUZVx
<siraben> clever: arm-none-eabi-ld and arm-none-eabi-gcc
waleee-cl has joined #nixos
<clever> siraben: then that is the compiler and linker you want
<siraben> clever: ok getting closer, now I have a linking error
<clever> siraben: are you trying to compile a program that runs under linux or is its own kernel?
<siraben> clever: runs under linux
<clever> siraben: ah, then you dont want the embeded one
<clever> armv7l-hf-multiplatform is armv7
<clever> raspberryPi is armv6
<clever> aarch64-multiplatform is 64bit arm
<clever> just swap out the name in the pkgsCross area, and get the new $CC and $LD
<{^_^}> [nixpkgs] @raboof closed pull request #96449 → jetbrains: update → https://git.io/JUkQZ
<siraben> clever: yay it runs!
<siraben> but why would it run under my system? isn't it for ARM?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3c0e3697520 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> run `file` on the binary, what does it report?
<siraben> file not found, haha
<siraben> which nix package provides that?
<clever> > pkgs.file
<{^_^}> "<derivation /nix/store/vnbp0awm8f245r42why0d6dfqm7lx2nb-file-5.39.drv>"
<siraben> ./result/bin/hello-remarkable: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /nix/store/mh78fk3x12q2a77srgkzv16h0irl8r61-glibc-2.31/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, not stripped
<siraben> weird
fendse6 has joined #nixos
zangi has quit [Ping timeout: 256 seconds]
<clever> sounds like you did a native build, not a cross-build
<clever> note that nix-build under nix-shell doesnt do the build any differently
<siraben> that's weird, maybe rustup is my system one?
<clever> if its in a result dir, it ignores rustup entirely
<clever> result is from nix-build
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<siraben> ah you're right
<siraben> i'm looking in target now
<siraben> ./target/armv7-unknown-linux-gnueabihf/debug/hello-remarkable: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /nix/store/0bv4ygzd45bwbhc0wni6z4asqz84apmr-glibc-2.31-armv7l-unknown-linux-gnueabihf/lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, with debug_info, not stripped
<{^_^}> [nixpkgs] @vcunat pushed 207 commits to master: https://git.io/JUZwa
<siraben> time to scp to my device to see if it worked
<clever> also, it relies on things being in /nix/store to function
<clever> so you need to nix-copy-closure the dependencies over too
<{^_^}> [nixpkgs] @vcunat merged pull request #97146 → Staging next → https://git.io/JUsUe
chenhq2005 has joined #nixos
fendse has quit [Ping timeout: 260 seconds]
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #97314 → nixos/lorri: add package option → https://git.io/JUGhg
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @evanjs to master « nixos/lorri: add package option »: https://git.io/JUZwi
<siraben> clever: how do I do that?
fendse6 has quit [Ping timeout: 240 seconds]
<clever> run ldd on the binary to figure out which deps it has, and then `nix-copy-closure --to user@host /nix/store/dep` each dep
<clever> getting it to properly build with naersk would make that simpler
<clever> static linking would be the simplest, but result in a larger binary
<siraben> clever: not a dynamic executable
nly has joined #nixos
ckauhaus has quit [Quit: WeeChat 2.7.1]
<siraben> that's what's returned
<clever> ah, ldd wont work on arm binaries
<siraben> could I use musl?
<clever> youll need readelf then, dump the DT_NEEDED and the RPATH
<clever> musl might work to make it static
<nly> can nix use fonts from host operating system?
cfricke has quit [Quit: WeeChat 2.9]
<siraben> clever: when i try to run it on the target, I get -sh: ./hello-remarkable: No such file or directory
<nly> firefox installed from nix doesn't show chinese fonts.
<clever> siraben: because /nix/store/0bv4ygzd45bwbhc0wni6z4asqz84apmr-glibc-2.31-armv7l-unknown-linux-gnueabihf/lib/ld-linux-armhf.so.3 is missing
<siraben> already chmod +x it
<siraben> ah i se
<clever> siraben: nix-copy-closure --to user@target /nix/store/0bv4ygzd45bwbhc0wni6z4asqz84apmr-glibc-2.31-armv7l-unknown-linux-gnueabihf
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<siraben> clever: how did you get that path?
<clever> siraben: it was in the output of `file` you pasted earlier
<clever> siraben: the interpreter on a dynamic ELF is basically like the #! on a shell script
<clever> siraben: the kernel will always run the interpreter instead
Rusty1 has joined #nixos
<siraben> clever: I don't have nix on the target, it says
<siraben> sh: nix-store: command not found
<siraben> I can't produce a static binary?
<siraben> Hm
<clever> siraben: then you need to install nix, or get ugly and just copy that .so file to the right path
<clever> siraben: or use static linking
ddellacosta has joined #nixos
fendor has quit [Read error: Connection reset by peer]
zupo has joined #nixos
fendor has joined #nixos
maier has quit [Ping timeout: 258 seconds]
<clever> > pkgsCross.armv7l-hf-multiplatform.pkgsStatic.hello
<{^_^}> "<derivation /nix/store/fl0x95divlza83c7bxpyfzlibzikq9by-hello-2.10-armv7l-unknown-linux-musleabihf.drv>"
<clever> siraben: if you mix pkgsCross and pkgsStatic, it may staticly link automatically
<siraben> Mix how?
<clever> exactly as i just showed
boxscape has joined #nixos
<clever> pkgsCross.armv7l-hf-multiplatform.pkgsStatic.stdenv.mkDerivation
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
<siraben> pkgsCross.armv7l-hf-multiplatform.pkgsStatic.stdenv.mkDerivation right
<siraben> ah ok
<siraben> great, it's coming together
mariatsji has joined #nixos
<siraben> clever: yay it works!
<siraben> thanks a lot for your help!
<siraben> clever++
<{^_^}> clever's karma got increased to 503, it's a crit!
<clever> weird, it was only 500 lastnight
<clever> when did i gain 2 more points without noticing? heh
<siraben> crits maybe?
<clever> probably, irc logs dont show any other gains
zupo has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @DeeUnderscore opened pull request #97361 → netdata: add config option for disabling analytics → https://git.io/JUZr2
chenhq2005 has quit [Ping timeout: 264 seconds]
<siraben> clever: having to run nix-shell default.nix --run "rustup target add armv7-unknown-linux-musleabihf; cargo build --release --target=armv7-unknown-linux-musleabihf" every time is kinda weird, I could make it a shell file but isn't there a more declarative way?
<siraben> perhaps that naersk approach, hm.
<clever> yeah, naersk is the fully declarative way
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mariatsji has quit [Ping timeout: 244 seconds]
sentinal8473 has joined #nixos
jluttine[m] has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
<jluttine[m]> When running `nix-shell` for `buildPythonPackage` and `src` is a relative path, is it relative to `shell.nix` file or current working directory? That is, if I run `nix-shell path/to/some/shell.nix`, will relative `src` be with respect to which one?
ravndal has joined #nixos
<azazel> jluttine: it's relative to where te src attr is
nly has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<clever> jluttine[m]: relative paths in a nix file are always relative to where the file itself lives
hadrien has joined #nixos
<jluttine[m]> clever azazel75 Ok, good.
cr4y1 has joined #nixos
sentinal8473 has quit [Ping timeout: 240 seconds]
philr has quit [Ping timeout: 260 seconds]
lordcirth has quit [Remote host closed the connection]
<GolDDranks> So, I don't have a lot of experience with the patch command
<GolDDranks> How is this supposed to work? https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/dropbear/pass-path.patch The patch is last updated five years ago
<jluttine[m]> clever azazel75 It's then really weird that it doesn't work like that for me.. I'm running `nix-shell path/to/some/shell.nix`, the file has `buildPythonPackage` with `src=./.`, but the python package gets installed properly only if the python package lives in the current working directory, not under `path/to/some/`. I wonder what I'm doing wrong then..
<GolDDranks> While the code it applies to is new
zupo has joined #nixos
<clever> GolDDranks: i tend to use either `git diff` or `diff -r -u` to generate a patch
<GolDDranks> So obviously the line numbers are different
<clever> GolDDranks: and then i just shove the path to the patch in the patches list in nix
<GolDDranks> clever the thing is that when I manually try to patch this patch
<{^_^}> [nixpkgs] @martinetd opened pull request #97362 → wakeonlan service: use powerUpCommands → https://git.io/JUZoG
<GolDDranks> It fails
<clever> jluttine[m]: `src = ./.;` will set $src, but nix-shell then leaves the working directory as-is
<GolDDranks> But somehow this package still builds when nix does it
Rusty1 has joined #nixos
<clever> jluttine[m]: if your not using $src, then src = ./.; means nothing
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97363 → consul: 1.8.0 -> 1.8.3 → https://git.io/JUZon
<clever> GolDDranks: what does the error say?
<GolDDranks> ```
<GolDDranks> patching file svr-chansession.cHunk #1 FAILED at 893.Hunk #2 FAILED at 905.Hunk #3 FAILED at 948.3 out of 3 hunks FAILED -- saving rejects to file svr-chansession.c.rej
<clever> GolDDranks: can you pastebin the nix file?
<jluttine[m]> clever: How should I use `$src`? I just want the Python package to get installed properly in development mode in the environment..
<GolDDranks> clever There you go https://pastebin.com/n7DUSx2a
<clever> jluttine[m]: that will depend a lot on what is within the shell.nix
fendse has joined #nixos
<jluttine[m]> clever: ok. it's basically just `buildPythonPackage { src = ./.; name="foo"; propagatedBuildInputs = [ ...]; }`
hadrien is now known as koh
<{^_^}> [nixpkgs] @ehmry merged pull request #95692 → nim: fix dynamic library loading, wrap for cross-compilation → https://git.io/JJFdO
<{^_^}> [nixpkgs] @ehmry pushed 2 commits to master: https://git.io/JUZoz
<clever> jluttine[m]: if you run nix-shell on that drv, it will give you an env suitable for building the package, not using it, so the src will be sitting in $src un-compiled/optimized
<clever> GolDDranks: and the full output of the build?
<siraben> clever: just got naersk, should I try to replicate what I did in shell.nix?
<jluttine[m]> clever: ok. i wonder what is the correct way to activate environments with some python packages installed in "development mode"...
<clever> siraben: yeah, it should also have examples in the repo
<siraben> OK
<jluttine[m]> i had thought this was the correct way..
<clever> jluttine[m]: not sure, i dont use python much
amir has joined #nixos
<clever> GolDDranks: 2020-09-07 11:14:05 < GolDDranks> But somehow this package still builds when nix does it
<clever> GolDDranks: nix didnt build it, it failed
<siraben> clever: looks like it's an open issue https://github.com/nmattia/naersk/issues/79
<{^_^}> nmattia/naersk#79 (by expipiplus1, 27 weeks ago, open): Support cross compiling
<clever> GolDDranks: the source thats being patched may differ enough to make it work
Pratzkas has joined #nixos
alp has quit [Ping timeout: 260 seconds]
<GolDDranks> clever It's the exact same version, with the same sha256
<clever> brb
<GolDDranks> Further: copy-pasting the exact same nix expression from the dropbear/default.nix fails when I build it myself
<{^_^}> [nixpkgs] @kevincox pushed to kevincox-sparkleshare-lfs « sparkleshare: Add git-lfs dependency. »: https://git.io/JUZo7
<GolDDranks> But doesn't if I call it `nix-build -E 'with import <nixpkgs> {}; dropbear'`
<GolDDranks> Ohhhhh nixpkgs might be old, that might explain it!
<GolDDranks> Testing
<{^_^}> [nixos-search] @garbas pushed to fix-181 « maintainer.name field can also be null »: https://git.io/JUZoh
<{^_^}> [nixos-search] @garbas opened pull request #182 → maintainer.name field can also be null → https://git.io/JUZoj
maier has joined #nixos
<GolDDranks> Nope, the build works with freshly updated nixpkgs-unstable: `nix-build -E 'with import <nixpkgs-unstable> {}; dropbear'`
mumu62 has joined #nixos
Sanchayan has quit [Quit: leaving]
<GolDDranks> But fails with `nix-build -E 'with import <nixpkgs-unstable> {}; callPackage ./dropbear_from_scratch.nix {}'` where the `dropbear_from_scratch.nix` has the exact same expression than the packages dropbear default.nix :(
lotharn has quit [Read error: Connection reset by peer]
Mrmaxmeier has left #nixos ["The Lounge - https://thelounge.chat"]
<{^_^}> [nixpkgs] @FRidh pushed 109 commits to staging-next: https://git.io/JUZKW
chenhq2005 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 112 commits to staging: https://git.io/JUZKR
mariatsji has joined #nixos
fendor has quit [Read error: Connection reset by peer]
fendor has joined #nixos
fendse has quit [Ping timeout: 265 seconds]
fendse has joined #nixos
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #97364 → xwallpaper: remove libseccomp dependency → https://git.io/JUZKb
orivej has joined #nixos
mariatsji has quit [Ping timeout: 246 seconds]
<GolDDranks> All right, from the hydra logs: patching file svr-chansession.cHunk #1 succeeded at 923 with fuzz 2 (offset 30 lines).Hunk #2 succeeded at 937 (offset 30 lines).Hunk #3 succeeded at 986 (offset 32 lines).
<GolDDranks> So, it's able to fix the offsets. I wonder why it doesn't do it when I build it locally
omnipotententity has joined #nixos
omnipotententity has joined #nixos
omnipotententity has quit [Changing host]
lordcirth has joined #nixos
chenhq2005 has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
rembo10 has quit [Quit: ZNC 1.8.1 - https://znc.in]
rembo10 has joined #nixos
lotharn has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #96982 → suitesparse: rename fixDarwinDylibNames override → https://git.io/JUOtC
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JUZ6V
mmohammadi98125 has joined #nixos
Pratzkas has left #nixos [#nixos]
orivej has joined #nixos
mmohammadi9812 has quit [Ping timeout: 260 seconds]
mmohammadi98125 is now known as mmohammadi9812
mmohammadi98120 has joined #nixos
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
orivej has quit [Client Quit]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mmohammadi9812 has quit [Ping timeout: 256 seconds]
mmohammadi98120 is now known as mmohammadi9812
orivej has joined #nixos
<fendor> somewhat recently, the `nix search` command requires flakes feature. Can I read up about that somewhere?
<jlv> Has anyone used NFS with Kerberos on NixOS? I can't get it working, and it looks like the NFS server isn't even trying to authenticate with Kerberos.
aw has joined #nixos
spacefrogg has joined #nixos
maxdevjs has joined #nixos
Spiney has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
pickfire has quit [Ping timeout: 246 seconds]
Spiney has joined #nixos
fendse has quit [Ping timeout: 256 seconds]
<GolDDranks> Uggghhh I think I'm getting crazy with this thing. Why doesn't patch tell WHY applying the patch fails
orivej has quit [Quit: No Ping reply in 180 seconds.]
<GolDDranks> Tried to hand edit the patch file to get the line numbers to match but no luck at all
knupfer has quit [Ping timeout: 244 seconds]
<immae> spaces instead of tabs?
<immae> (got bitten by that just yesterday :p )
<{^_^}> [nixpkgs] @mucaho opened pull request #97365 → protege: init at 5.5.0 → https://git.io/JUZiW
<clever> GolDDranks: i just use `diff -ru` to generate patch files, its much simpler
fendse has joined #nixos
<clever> GolDDranks: make 2 copies of the src, edit one, and then `diff -ru old new` to get a patch
<GolDDranks> Okay, so I apply the patch manually and then generate a new one?
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
davidv7 has joined #nixos
<clever> GolDDranks: yep
mariatsji has joined #nixos
aw has joined #nixos
Raito_Bezarius has quit [Read error: Connection reset by peer]
maier has quit [Ping timeout: 260 seconds]
Raito_Bezarius has joined #nixos
spacefrogg has joined #nixos
mariatsji has quit [Ping timeout: 260 seconds]
turlando has quit [Ping timeout: 246 seconds]
aw has quit [Remote host closed the connection]
spacefrogg has quit [Remote host closed the connection]
cr4y1 has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97366 → bmake: 20200710 -> 20200902 → https://git.io/JUZix
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/85afe9cbe9c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
aw has joined #nixos
spacefrogg has joined #nixos
cr4y1 has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
<GolDDranks> So, finally it worked. But I'm stumped at how bad patch is at telling why does it fail to apply stuff :((( Makes me lose faith in stuff
cr4y1 has joined #nixos
<clever> GolDDranks: if you run diff on the diffs, what is the diff between the diffs?
<simpson> Having faith in `patch` or other ancient tools is probably wrong anyway. They're old, not good. Anyway, you can make life easier by taking the unclean diffs, which did apply on some working tree in a fuzzy/unclean way, and using that working tree to produce new clean diffs.
justanotheruser has joined #nixos
<simpson> That said, you can override patchFlags in your derivation if you need to tell it to be fuzzy.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97367 → cimg: 2.9.1 -> 2.9.2 → https://git.io/JUZPc
<abathur> my own experience with patch is that it's a great way to lose a few hours trying to figure out wtf
ddellacosta has quit [Ping timeout: 264 seconds]
<GolDDranks> So, the diff between the patches was a lot bigger than I expected which made it finally click; wgetting the path instead of copy-pasting it from the github "raw" view did the trick and the old patch worked. So maybe it was about tabs/spaces
<clever> GolDDranks: copy/paste will destroy the tabs
<clever> GolDDranks: you want to clone nixpkgs, and then copy the file
<simpson> Yeah, treat diffs as binary artifacts. They aren't text-editable; hand-writing diffs is extremely arduous.
<GolDDranks> TIL
fendse has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
ris has quit [Remote host closed the connection]
ris has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #97292 → androidStudioPackages.{dev,canary}: 4.2.0.8 -> 4.2.0.9 → https://git.io/JUGXO
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JUZPA
tilcreator has quit [Quit: ZNC 1.7.5 - https://znc.in]
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97368 → clipgrab: 3.8.13 -> 3.8.14 → https://git.io/JUZXL
stiell has quit [Ping timeout: 260 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
alp has joined #nixos
stiell has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #97370 → audacity: gtk2 -> gtk3 → https://git.io/JUZXM
realisation has joined #nixos
<realisation> How do I uninstall a package installed with nix
<realisation> Everything I see when I google is about uninstalling nix itself
<GolDDranks> If it's just in your environment, nix-env -e packagename
<GolDDranks> If you mean that by uninstalling. If it's installed by configuration.nix or home-manager, then just remove it from the config file and update your system (nixos-rebuild switch, in case of configuration.nix)
<{^_^}> [nixpkgs] @WilliButz opened pull request #97371 → nixos/bitwarden_rs: add environmentFile option → https://git.io/JUZXj
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3c0e3697520 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
orivej has quit [Quit: No Ping reply in 180 seconds.]
noudle has joined #nixos
<{^_^}> [nixpkgs] @0x4A6F opened pull request #97372 → nixos/timescale-prometheus: init → https://git.io/JUZ1k
ixxie has joined #nixos
orivej has joined #nixos
seanparsons has quit [Ping timeout: 256 seconds]
bobvanderlinden has joined #nixos
seanparsons has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<bobvanderlinden> hi! after a long time not using Nix I came back and tried some of the nix flake examples. However, I seem to be running into too old or too new documentation. I'm on `nix-2.3.7` and `nix develop` is not available
turlando has joined #nixos
<bobvanderlinden> It is the stable version of Nix. Should I upgrade to an unstable version? Should the documentation of https://nixos.wiki/wiki/Nix_command/develop and https://nixos.wiki/wiki/Flakes#Super_fast_nix-shell be updated?
saschagrunert has quit [Remote host closed the connection]
mananamenos has joined #nixos
<worldofpeace> bobvanderlinden: nix flake is an experimental feature, and is only available in nixUnstable
<worldofpeace> you're still free to try it, but it's all still subject to change
<bobvanderlinden> ah ok, i'll try upgrading then
<bobvanderlinden> thanks!
orivej has quit [Quit: No Ping reply in 180 seconds.]
<worldofpeace> bobvanderlinden: I think everything there is up-to-date
<worldofpeace> to upgrade u should use https://nixos.wiki/wiki/Flakes#NixOS
justanotheruser has quit [Ping timeout: 265 seconds]
<bobvanderlinden> yes, i just used `nix-env -iA nixpkgs.nixUnstable` and now `nix develop` is doing something :D
<jD91mZM2> How do you access a git submodule from a flake? I've tried using `type = "path"; path = toString ./my-submodule;` as input, but it complains that /nix/store/...-source/my-submodule is missing. I guess Nix git-clones the flake source into the nix store...
disasm has quit [Ping timeout: 240 seconds]
joebobjoe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97373 → collectd: 5.11.0 -> 5.12.0 → https://git.io/JUZ1i
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @yanganto opened pull request #97374 → gitAndTools.gitui: 0.9.1 -> 0.10.1 → https://git.io/JUZ1S
joebobjoe has quit [Ping timeout: 240 seconds]
<{^_^}> [nix-pills] @wathiede opened pull request #153 → Update example command to install `man` → https://git.io/JUZ15
noudle has quit []
knerten2 has quit [Read error: Connection reset by peer]
knerten has joined #nixos
realisation has quit [Read error: Connection reset by peer]
disasm has joined #nixos
realisation has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
ixxie has quit [Remote host closed the connection]
knerten has quit [Read error: Connection reset by peer]
knerten1 has joined #nixos
fendor has quit [Quit: Leaving]
bobvanderlinden has quit [Remote host closed the connection]
ixxie has joined #nixos
teto has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-search] @garbas merged pull request #182 → maintainer.name field can also be null → https://git.io/JUZoj
<{^_^}> [nixos-search] @garbas pushed to master « maintainer.name field can also be null (#182) »: https://git.io/JUZM1
<{^_^}> [nixos-search] @garbas pushed 0 commits to fix-181: https://git.io/JUZMD
orivej has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « gitRepo: 2.8 -> 2.9 »: https://git.io/JUZMx
orivej has quit [Client Quit]
<worldofpeace> jD91mZM2: git+file:// ?
koh has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to master « libbpf: fixup build after the last staging iteration »: https://git.io/JUZDT
boxscape has quit [Ping timeout: 256 seconds]
ddellacosta has joined #nixos
<V> I have a proprietary application built for Qt 5.12.6 that I'm trying to dynamically link against the latest version I have (Qt 5.14.2), and https://wiki.qt.io/Qt-Version-Compatibility suggests this should be fine, but I'm getting "Fatal: Cannot mix incompatible Qt library (version 0x50c06) with this library (version 0x50c07)" when
<V> I try to run it
<V> (that error message is specifically trying to run 5.12.7 against it, but I get a similar one for the latest version)
<V> Is there anything special in nixpkgs that would cause this (e.g. custom patches to conflict against other minor versions), or is this unexpected?
<{^_^}> [nixpkgs] @ryantm merged pull request #97353 → armadillo: 9.900.2 -> 9.900.3 → https://git.io/JUZzd
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JUZD4
<{^_^}> [nixpkgs] @ryantm merged pull request #97356 → anydesk: 6.0.0 -> 6.0.1 → https://git.io/JUZaD
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JUZDu
FRidh has joined #nixos
<FRidh> Do we have any collaborative note taking app in nixpkgs?
<FRidh> That is, a nixos module.
<FRidh> Something like hackmd
orivej has joined #nixos
arjen-jonathan has quit [Ping timeout: 244 seconds]
orivej has quit [Client Quit]
turlando has quit [Remote host closed the connection]
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
ScottHDev has joined #nixos
turlando has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
turlando has quit [Client Quit]
<ixxie> so... I'm in some mess I don't even know how to begin debugging
<ScottHDev> Hello, I've installed a new os along with nixos on an lvm partition, I've mounted it on /mnt/myos ran nixos-rebuild switch --upgrade but doesn't seem to be added to /boot/grub/grub.cfg
cr4y1 has joined #nixos
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #97375 → dico: 2.9 -> 2.10 → https://git.io/JUZDp
<{^_^}> [nixpkgs] @ryantm merged pull request #97131 → gauge: 1.1.1 -> 1.1.3 → https://git.io/JU3jL
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JUZyf
maier has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #97130 → ft2-clone: 1.28 -> 1.31 → https://git.io/JU3pN
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JUZyk
orivej has joined #nixos
aborsu has joined #nixos
maier has quit [Ping timeout: 260 seconds]
orivej has quit [Client Quit]
<{^_^}> [nixpkgs] @jonringer merged pull request #97211 → pythonPackages.fontparts: 0.9.2 → 0.9.6 → https://git.io/JUsPC
<{^_^}> [nixpkgs] @jonringer pushed commit from @sternenseemann to master « pythonPackages.fontparts: 0.9.2 → 0.9.6 »: https://git.io/JUZyl
<{^_^}> [nixpkgs] @golddranks opened pull request #97376 → dropbear: enable static build on musl → https://git.io/JUZy8
<GolDDranks> \o/
<{^_^}> [nixpkgs] @jonringer merged pull request #97273 → imgsize: init at 2.1 → https://git.io/JUG3l
<{^_^}> [nixpkgs] @jonringer pushed commit from @Twey to master « imgsize: init at 2.1 »: https://git.io/JUZyB
boxscape has joined #nixos
growpotkin has joined #nixos
mariatsji has quit [Remote host closed the connection]
alp has quit [Remote host closed the connection]
alp has joined #nixos
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
kmein has quit [Ping timeout: 256 seconds]
mariatsji has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Infinisil opened pull request #97378 → Submodule name → https://git.io/JUZyx
<{^_^}> [nixpkgs] @bhipple merged pull request #97019 → mkl: 2020.2.254 -> 2020.3.279 → https://git.io/JUOSW
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JUZyj
<{^_^}> [nixpkgs] @Infinisil merged pull request #97042 → Show sub options of freeform types → https://git.io/JU3Im
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/JUZSm
<{^_^}> [nixpkgs] @Infinisil merged pull request #97114 → Better type deprecation messages → https://git.io/JU39a
<{^_^}> [nixpkgs] @Infinisil pushed 6 commits to master: https://git.io/JUZSG
<GolDDranks> Is there any way to access the package parametrers from overrideAttrs?
<GolDDranks> Like, the package is passed zlib
<GolDDranks> And I want to override buildInputs and refer that zlib
<GolDDranks> The parameter that's passed to the lambda passed to overrideAttrs seems just to be a set of the old parameters
<simpson> You can use `override` to change the zlib passed to the entire file.
<GolDDranks> I know, but I don't want to change it, I just want to change the way it's piped in buildInputs.
cole-h has joined #nixos
teto has joined #nixos
<GolDDranks> Well, maybe I don't have to keep it maximally general, since it's just an override, and I know which zlib will be used in the end
<GolDDranks> So nevermind
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
cosimone has quit [Quit: Quit.]
knupfer has joined #nixos
aborsu has quit [Quit: aborsu]
sascha has joined #nixos
cosimone has joined #nixos
sascha is now known as Guest11582
<{^_^}> [nixpkgs] @xaverdh opened pull request #97380 → <!-- To help with the large amounts of pull requests, we would appreciate your reviews of other pull requests, especiall… → https://git.io/JUZSX
GolDDranks has quit [Remote host closed the connection]
Thra11 has joined #nixos
aborsu has joined #nixos
sam_d has joined #nixos
mariatsji has quit [Remote host closed the connection]
teto has quit [Ping timeout: 260 seconds]
<Thra11> How do I run one of the tests in nixos/test ?
<{^_^}> [nixpkgs] @jonringer merged pull request #93543 → Update friture to master branch, add necessary python packages → https://git.io/JJCG7
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to master: https://git.io/JUZ9J
<hexa-> Thra11: nix-build nixos/test/yourtest.nix
<Thra11> hexa-++: Thanks
<{^_^}> hexa-'s karma got increased to 6
<hexa-> yw
<{^_^}> [nixpkgs] @xaverdh opened pull request #97381 → WIP: nixos/xmonad: allow passing command line arguments → https://git.io/JUZ9s
arjen-jonathan has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @kevincox merged pull request #97239 → sparkleshare: Add git-lfs dependency. → https://git.io/JUsbZ
<{^_^}> [nixpkgs] @kevincox pushed 2 commits to master: https://git.io/JUZ9E
<{^_^}> [nixpkgs] @kevincox pushed 0 commits to kevincox-sparkleshare-lfs: https://git.io/JUZ9u
cr4y1 has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
<ixxie> Okay so I'm having some graphics issues and this is kinda a long story but I did my best to summarize it and provide all the links and info I can think of... https://gist.github.com/ixxie/c665bfc3519faba032b4742a7aa5957b
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @risicle closed pull request #90703 → python3Packages.pylibftdi: 0.18.1 -> 0.19.0 → https://git.io/JfdyC
<{^_^}> [nixpkgs] @risicle reopened pull request #90703 → python3Packages.pylibftdi: 0.18.1 -> 0.19.0 → https://git.io/JfdyC
<{^_^}> [nixpkgs] @etu merged pull request #96079 → rar2fs: 1.29.0 -> 1.29.1 → https://git.io/JUvpj
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/JUZHT
jonringer has joined #nixos
orivej has joined #nixos
<joko> ixxie: I would recommend you to post this in the Discourse site first :) Having said that, you need to mention also your NixOS version. I think you need first to identify your machine's kernel and then try to remove extra configuration. Since 2016 lots of things have been improved in Linux, e.g., using GLAMOR is no longer advised (or so I think)
<joko> Have also a look at https://github.com/NixOS/nixos-hardware for similar models
<ixxie> joko: good idea with Discourse...
<joko> But my gut feeling is that you have over-configured graphics
<ixxie> joko: and I also thought similarly, about overconfiguration.... indeed I also noticed other XPS configs on that repo have a lot less
<cole-h> bqv: You can resolve https://github.com/NixOS/nix/pull/3961#discussion_r479003879 now that we did actually remove it from MixCommonArgs ;)
<joko> I see glamor, tear free and dri configurations, I think they are now obsolete, default settings are working OK
<ixxie> joko: I'll try and just drop the gpu module altogether and see what happens
alp has quit [Ping timeout: 244 seconds]
Darkmatter66_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #97384 → pythonPackages.python-pam: remove duplicate package, fixes #97355 → https://git.io/JUZH8
amir is now known as amir_tg
amir_tg is now known as amir
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<joko> ixxie: not a bad idea, I think you'll miss only video acceleration from there
<{^_^}> [nixpkgs] @risicle closed pull request #90228 → python3Packages.python-engineio: 3.10.0 -> 3.11.2 → https://git.io/JfHNc
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 14 commits to staging-next: https://git.io/JUZHz
<{^_^}> [nixpkgs] @FRidh opened pull request #97385 → Staging next → https://git.io/JUZHg
<ixxie> joko: once I identify a stable starting point I can try and add stuff again
sangoma has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @risicle closed pull request #90118 → python37Packages.cmd2: 1.0.2 -> 1.1.0 → https://git.io/Jf9eP
<joko> ixxie: :+1:
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<ixxie> thanks for the input joko++
<{^_^}> joko's karma got increased to 5
<joko> ixxie: another more thing you could try is to stick on an LTS kernel, i.e., "boot.kernelPackages = lib.mkForce pkgs.linuxPackages_5_4;"
Darkmatter66 has joined #nixos
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
tangotrotfox[m] has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<ixxie> joko: oh? you recon some turbulance in recent release may have been an issue?
<joko> another thing * sigh, I'm tired..
<ixxie> I guess I will first now reboot into plasma now that I removed my GPU stuff
<ixxie> but Ill keep it up my sleeve in case it doesn't work
<joko> ixxie: well, it's not unlikely that some things break in order to support newer hardware
<ixxie> yeah makes sense
Darkmatter66 has quit [Ping timeout: 260 seconds]
<ixxie> okay, gonna give it a go now
<ixxie> thanks once more, see you on the flip side
<{^_^}> [nixos-homepage] @garbas pushed to integrate-nix-dev « pup -> xidel »: https://git.io/JUZQf
mariatsji has quit [Remote host closed the connection]
ixxie has quit [Quit: Lost terminal]
knupfer has quit [Client Quit]
knupfer has joined #nixos
valwal_ has quit []
nij has joined #nixos
davidv7 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #97105 → firefox-bin: 80.0 -> 80.0.1 → https://git.io/JU3Ml
davidv7 has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUZQI
t420babe has quit [K-Lined]
dongcarl has quit [K-Lined]
orivej_ has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
jmeredith has quit [Quit: Connection closed for inactivity]
nij has left #nixos ["ERC (IRC client for Emacs 27.1)"]
nij has joined #nixos
Darkmatter66 has joined #nixos
<nij> Curious.. does anyone here specify versions of packages claimed in configuration.nix? Most repos online don't do this.. and I wonder why. Doesn't this destroy the purpose of having a reproducible system?
zupo has joined #nixos
<cole-h> The versions of packages are claimed by your nixpkgs. With flakes, this means a completely reproducible system (because the revision is stored in the lockfile)
<nij> I see. I haven't looked into flakes.. now I know it's a missing piece :)
<bbigras> Some of us uses niv to pin nixpkgs and other sources.
<cole-h> ^
<cole-h> I used to do the same (before I switched to flakes, that is)
<nij> (Y)
<bbigras> cole-h: Anything you can't do yet with flakes yet?
<bbigras> I said "yet" twice. need more coffee
<cole-h> bbigras: Nope, I'm really happy with flakes.
<cole-h> https://github.com/cole-h/nixos-config if you want to take a look
<Thra11> How do flakes and overlays go together? Do flakes replace overlays or work with them?
<bbigras> nice thanks. I guess it's just that some speciality tools doesn't support flakes yet.
<cole-h> Flakes is a replacement for channels, not overlays.
<cole-h> However, flakes requires a different way of specifying overlays (e.g. ~/.config/nixpkgs/overlays{/,.nix} will no longer work, because flakes tries to be as pure as possible
<cole-h> )
<nij> May I ask another question? How would you handle config files for programs whose configs needed to be updated frequently (e.g. emacs, or more crutially, ranger.) ?
<nij> Nixos isn't the only OS I have, so I'd like to have the config files as independent from nix, and ask home manager to inject the content.
<cole-h> Depends. A new deployment is trivial, so I would just update the contents in whatever nix file and redeploy.
<nij> But this doesn't work well, for example, in ranger, which requires the config folder to be *writtable*!
<cole-h> But I also have some files that I symlink into place, so I can mutate them/the program can mutate them without needing to redeploy.
<nij> cole-h: do you mean you simply don't mix them with your nix configs?
<cole-h> I do.
aborsu has quit [Quit: aborsu]
<cole-h> I have h-m manage the symlinks using its `config.lib.file.mkOutOfStoreSymlink`
<bbigras> <nij "May I ask another question? How "> the best thing for emacs is the emacs-init module. check https://github.com/bbigras/nix-config/blob/master/users/bbigras/dev/emacs.nix
<bbigras> I use it in combination of the emacs overlay
<cole-h> `todo.sh` needs `~/.todo` to be writable, so I symlink it into place.
<cole-h> `my.secrets.todo` is shorthand for `~/.config/nixpkgs/secrets/todo` -- h-m will create a symlink at `~/.todo` pointing to `~/.config/nixpkgs/secrets/todo` (thus keeping the contents writable)
<nij> bbigras: does that allow you to use emacs conveniently on other OS?
<bbigras> nij: I guess only on mac. Unless maybe people use nix on windows with the wsl2 thing
detran has quit [Quit: ZNC 1.7.5 - https://znc.in]
<nij> cole-h: Hmm.. so `config...mlink` symlinks your config file to nixstore, while keeping the config file writable?
<nij> cole-h: And it even works for config folder (not just config file)?
<cole-h> nij: What it does is create a symlink that resides in the nix store, that points to the given path. For example:
mmohammadi98121 has joined #nixos
<cole-h> `stat ~/.todo` => /home/vin/.todo -> /nix/store/95va2a4l8kfdbyzchwf3wbx05c9kpdw7-home-manager-files/.todo
<{^_^}> [nixpkgs] @risicle merged pull request #90528 → dex-oidc: 2.17.0 -> 2.23.0 → https://git.io/Jf753
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JUZQ5
nij has quit [Quit: ERC (IRC client for Emacs 27.1)]
<cole-h> `stat /nix/store/...../.todo` => /nix/store/95va2a4l8kfdbyzchwf3wbx05c9kpdw7-home-manager-files/.todo -> /nix/store/6r94rlz00ydi1g7bpwx7rwd266nkgj7m-hm_todo
sangoma has joined #nixos
<cole-h> And finally, `stat /nix/store/......-hm_todo` => /nix/store/6r94rlz00ydi1g7bpwx7rwd266nkgj7m-hm_todo -> /home/vin/.config/nixpkgs/secrets/todo
alp has joined #nixos
mmohammadi98121 has quit [Client Quit]
nij has joined #nixos
mmohammadi98126 has joined #nixos
<nij> cole-h: I feel that function is exactly the thing I've been looking for.
<nij> But the result isn't "reproducible" by itself right? Since the pointed config file can have its content changed without being noticed by Nix.
<{^_^}> [nixpkgs] @risicle closed pull request #88973 → gleam: 0.8.0 -> 0.8.1 → https://git.io/Jfw51
<cole-h> Yes. It's a tradeoff.
<nij> I see.
<cole-h> If you want mutable state managed by Nix, you can't have its content managed by Nix.
mmohammadi9812 has quit [Ping timeout: 256 seconds]
mmohammadi98126 is now known as mmohammadi9812
<cole-h> If you want its content managed by Nix, you can't have it be mutable.
<nij> I wonder why =ranger= requires the config file to be writable :()
<nij> :( ..
<nij>
<cole-h> A better question for upstream.
<{^_^}> [nixpkgs] @KAction opened pull request #97386 → tinycdb: add support for static build → https://git.io/JUZ7f
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #97387 → cc-wrapper: Fix for prebuilt android → https://git.io/JUZ7T
<nij> But on the other hand, things like emacs almost cannot be reproducible anyways, because the config file usually calls other remote repos right, like melpa.
maier has joined #nixos
<cole-h> Not necessarily. There is infrastructure in nixpkgs for melpaPackages and the like.
<{^_^}> [nixpkgs] @FRidh opened pull request #97388 → blender: wrap in separate derivation, fixes #97250 → https://git.io/JUZ7m
<nij> Ah I see where I am wrong.. even like things held in remote repos like =github=, there's still a way to fetch it and check its identity by a hash. So theoretically it's possible to reproduce stuff fetched from remote repos. Whether it's simple to implement is another issue.
<jD91mZM2> worldofpeace: Oh, is git+file:// relative? To the current directory, or to the directory of the flake.nix? Because using path with "./my-submodule" also works, but is relative to the current directory which is stupid and probably a bug
<jD91mZM2> (sorry for the slow reply)
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
nij has quit [Quit: ERC (IRC client for Emacs 27.1)]
nij has joined #nixos
orivej has joined #nixos
maier has quit [Ping timeout: 265 seconds]
joebobjoe has joined #nixos
wnklmnn has joined #nixos
<__monty__> Anyone know why running undmg on a dmg might cause a segmentation fault? http://ix.io/2w1E
nij has left #nixos [#nixos]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
zeta_0 has joined #nixos
<worldofpeace> jD91mZM2: I've never tried relative, but absolute
cr4y1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-homepage] @garbas pushed to integrate-nix-dev « generate a list of guides on the fly »: https://git.io/JUZ7M
<jD91mZM2> ah
cr4y1 has joined #nixos
<zeta_0> ok so, someone on reddit responded and said that someone got packet-tracer working and sent me this link here: https://github.com/NixOS/nixpkgs/pull/38305 , but i'm not sure what to do from here, is packet-tracer in the nixpkgs channel, or do i need to manually copy the commit and use that nix code in a custom script?
<{^_^}> #38305 (by tmplt, 2 years ago, closed): WIP: packettracer: init at 7.1.1
<zeta_0> i looked through the search nixos webpage and could not find the packet tracer package.
FRidh has quit [Quit: Konversation terminated!]
<colemickens> zeta_0: that PR appears to have been closed without a merge
<{^_^}> [nixpkgs] @worldofpeace merged pull request #95546 → gpac: 0.8.0 -> 1.0.0 addressing numerous CVEs → https://git.io/JJdZ4
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JUZ5U
detran has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #95592 → flink: 1.9.0 -> 1.11.1, addressing CVE-2020-1960 → https://git.io/JJd1j
<colemickens> so you would need to basically bring that commit back alive and possibly rebase it on nixpkgs (lots has changed in 2yrs possibly)
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JUZ5T
<colemickens> zeta_0: I'd probably start by doing something like this: `curl -L 'https://github.com/NixOS/nixpkgs/pull/38305.patch' | git am -3`
<{^_^}> #38305 (by tmplt, 2 years ago, closed): WIP: packettracer: init at 7.1.1
cr4y1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-homepage] @garbas pushed to integrate-nix-dev « run updates also for nix-dev input »: https://git.io/JUZ5I
cr4y1 has joined #nixos
<zeta_0> people have posted different methods, here in this post, the 2 methods that seem feasible are: the nix-way that i just pasted the link to, or using this flatpak tool to do it: https://www.reddit.com/r/NixOS/comments/inyo1i/what_is_a_simple_and_easy_way_to_installbuild_a/
<zeta_0> colemickens: ^
<zeta_0> they should have merged packet-tracer into nixpkgs, it would have saved me the hassle.
<Thra11> colemickens: zeta_0 Assuming you have a nixpkgs checkout with all the history, isn't fetching it with something like `git fetch origin pull/38305/head:packet-tracer` *slightly* better, in that the context might help git to rebase/cherry-pick it more cleanly.
<colemickens> how do I invalidate all http caches for flakes?
<colemickens> Thra11: very possibly! I don't actually know enough about git to really know if that's better but it makes some sense thinking about it.
zgrep has quit [Quit: It's a quitter's world.]
<colemickens> Thra11: I'll write that down and give it a shot next time, thank you!
<{^_^}> [nixpkgs] @axelf4 opened pull request #97390 → nixos/picom: add experimentalBackends option → https://git.io/JUZ50
<{^_^}> [nixos-homepage] @garbas merged pull request #486 → Integrate nix.dev tutorials as a flake → https://git.io/JfAWG
<{^_^}> [nixos-homepage] @garbas pushed 11 commits to master: https://git.io/JUZ5E
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to integrate-nix-dev: https://git.io/JUZ5u
<Thra11> colemickens: I don't know enough to say that it's definitely better either. It's probably nicer if there are multiple commits involved, as it creates a branch (with the name you give it; in this case, "packet-tracer").
<V> yes, git am will just refuse to apply patches it doesn't like
knupfer has quit [Quit: knupfer]
<V> git rebase/cherry-pick is the way to go
<colemickens> V: I think the '-3' helps with that sometimes
knupfer has joined #nixos
cjpbirkbeck has joined #nixos
<V> interesting
<V> okay, I was not aware of that flag
<Thra11> Is -3 three-way merge?
<V> yes
<colemickens> tbh though I'm really at the edge of my understanding. I've always known that "go to GH, copy a link to the PR, add '.patch
<colemickens> , add -L to curl, pipe to git, always felt like the wrong flow :P
<{^_^}> Invalid command syntax
<colemickens> and I've even disappointed the bot.
<zeta_0> Thra11, colemickens: ok, i cloned nixpkgs yesterday, so here's what the command Thra11 recommended returned: https://dpaste.org/RXQD
<V> zeta_0: please go learn how to do basic git, this is way out of your league
<V> otherwise this will just involve you asking people which commands to run and doing so and reporting back their output
<V> aka a very painful VNC
<cole-h> colemickens: Maybe you're looking for `--option narinfo-cache-negative-ttl` or `-positive-ttl`?
<cole-h> Maybe even tarball-ttl
<{^_^}> [nixpkgs] @Thra11 opened pull request #97391 → plasma5: 5.18.5 -> 5.19.5 → https://git.io/JUZ5r
<colemickens> probably. I kind of wish I had a big "just reset all ttls" hammer.
<V> colemickens: hey, that's what I do a lot of the time :p
<V> it's often faster than getting the right git command for yoinking the associated branch
<zeta_0> Thra11, colemickens: the commit it 2 years old, so i don't know if it will work though.
<{^_^}> [nixpkgs] @Infinisil opened pull request #97392 → Introduce `types.dagOf` → https://git.io/JUZ5M
<colemickens> zeta_0: I think Thra11's point is that ramping up on Nix + Git at the same time might be a bit difficult.
ixxie has joined #nixos
<colemickens> zeta_0: another question would be, are you prepared to use nixpkgs from a git checkout, instead of from a channel? (if you're not yet aware, it's another difference you'll run into).
<Thra11> colemickens: I think that was V's point, but yes
<colemickens> Thra11: sorry about that, hate misattribution.
<colemickens> zeta_0: It's a lazy holiday Monday though, I'm down to walk you through it and try to flesh out a blog post documenting the process at the same time.
sigmundv has quit [Remote host closed the connection]
Guest11582 has quit [Remote host closed the connection]
<zeta_0> colemickens: if you have a some extra time to spare, that would be very helpful !
<cole-h> infinisil++
<{^_^}> infinisil's karma got increased to 354
<colemickens> zeta_0: sure. so right now I assume you are using a nix channel for NixOS?
<colemickens> zeta_0: if you don't know the answer to the question and you did a regular nixos install, then the answer would be yes.
sigmundv has joined #nixos
<zeta_0> colemickens: yes, 20.03 and unstable nix channels on nixos, i have home-manager setup as well.
<cole-h> lmao
<zeta_0> colemickens: i also have lorri+direnv+emacs-direnv setup, if i need to go into an isolated environment.
<colemickens> zeta_0: so if you make this new Git checkout we're going to have to make your system use it instead of the nixpkgs in NIX_PATH (that comes from the channel right now)
sigmundv has quit [Remote host closed the connection]
<colemickens> zeta_0: for now, we will set NIX_PATH manually
<colemickens> zeta_0: and if you want to keep this going forward, you will likely update nix.nixPath in your nixos config so that the change will be permanent
<colemickens> zeta_0: or you can get this all working, and then send a PR, and then go back to using a regular channel. You will get to decide how you want to handle things.
<{^_^}> [nix] @vcunat merged pull request #3982 → Minor docs updates → https://git.io/JUYU6
<{^_^}> [nix] @vcunat pushed 3 commits to master: https://git.io/JUZdJ
<colemickens> zeta_0: if you expect to contribute to nixpkgs often, it's probably best to just stay in the mindset of having a nixpkgs that you manage.
<colemickens> zeta_0: so there's going to be at least two steps: (1) get your nixpkgs checkout to the state you want (2) switch to a generation built with that nixpkgs
<{^_^}> [nixpkgs] @Ma27 opened pull request #97393 → iwd: 1.8 -> 1.9 → https://git.io/JUZdT
<{^_^}> [nixpkgs] @ttuegel merged pull request #96979 → octave: Fix libtool framework link failure on Darwin → https://git.io/JUOL0
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/JUZdI
<colemickens> zeta_0: how does that all sound?
<{^_^}> [nixpkgs] @zowoq merged pull request #97347 → castor, gitAndTools.git-interactive-rebase-tool, the-way: disable checks → https://git.io/JUZRq
<{^_^}> [nixpkgs] @zowoq pushed 3 commits to master: https://git.io/JUZdL
quinn has joined #nixos
<zeta_0> colemickens: well, i'd like to get packet-tracer working with nix, then push the changes to nixpkgs, maybe the unstable nix channel, so it will be on the next stable channel release.
<colemickens> zeta_0: you don't choose what channel a change goes to, generally speaking.
<colemickens> zeta_0: the change would go to master, and then as hydra performs testing and "advances" the nixos channels, it will eventually land on nixpkgs-unstable and nixos-unstable.
<cole-h> infinisil: re: your types.dagOf PR -- do you think you'll add similar stuff to h-m's `lib.hm.dag.entryAfter` at a later date?
<colemickens> Also, I believe that the next release is being forked today, so if you submit your change it will not be in the 20.09 release.
nij has joined #nixos
<zeta_0> colemickens: sounds good, but how long will this take though?
<infinisil> cole-h: Oops, need to fix that commit name, forgot about that, thanks!
<colemickens> zeta_0: heh, which part?
<infinisil> cole-h: Maybe, maybe not. I feel like these convenience functions don't add a whole lot, and it's another thing to learn
<nij> Can my arch machine utilize `configuration.nix`..?
<cole-h> Fair
<colemickens> zeta_0: I've done this hundreds of times, so the actual steps on my end can be dne quickly. If you don't know git, this will take some time to walk you through.
<infinisil> cole-h: And `value.foo = { data = "bla"; after = [ ".." ]; }` isn't much longer
<cole-h> nij: Not in the way you'd expect. configuration.nix is for NixOS configuration.
boxscape has quit [Quit: Connection closed]
<cole-h> infinisil: I always forget about merging semantics lol. That would work, too.
<nij> cole-h: that means I would have to prepare two configs anyways :( If I decide to use arch daily and play with nixos occasionally..
<colemickens> nij: not really. You might be interested in Home-Manager though, which should run on Arch.
<nij> :O
<cole-h> s/should/does/
* cole-h is an Arch expatriate
<colemickens> but once you taste home-manager you'll wind up wanting to do the rest of the system in Nix ;)
<nij> colemickens: But does that mean I'll have to create a nix store on archlinux too?
<colemickens> nij: you'll want the cooler Cole for that question :)
alp has quit [Ping timeout: 246 seconds]
<cole-h> colemickens: Wait, but that's you
<nij> colemickens: I have tasted home-manager.. though not fully. But am still not confident enough to live in nix.
<cole-h> ;)
<nij> cole-h what does that mean?
<cole-h> Which part?
<nij> (excuse my bad english :) I've tried the dict..)
<nij> being an Arch expatriate
<cole-h> If you mean "Arch expatriate", it means I used to run Arch (and did indeed run Nix on it for the last few months), though I am now on NixOS
<zeta_0> colemickens: how long will it take to get packet-tracer working with nix? and i have my own github/gitlab repos that i use for my personal projects, but outside of the basics of git i don't anything advanced.
civodul has joined #nixos
<nij> cole-h: Holy molly :) nice
<nij> How will home-manager run on arch?
<nij> It doesn't integrate well with pacman right?
<cole-h> Same way it does on NixOS, really. Once you have Nix itself installed, you install home-manager using its instructions, and go from there.
<colemickens> zeta_0: I can't really answer that question. Doing the operations in git will take however long it takes to explain and you to carry out...
<nij> cole-h: and that also means I'll have to compile stuff in the Nix way too ;)
<nij> thrilling
<colemickens> nij: well the nice thing is you never really have to think about it, that's the whole point :)
<colemickens> unless you're packaging something you'll never actually touch a compiler/make tools/etc.
<nij> I see.. I will try making Nix work on my arch first..
<colemickens> zeta_0: this is the rough outline of the steps: https://gist.github.com/colemickens/42d32a7f52d98e5d10f595ef0d34f5fa
<colemickens> zeta_0: but like, that assumes the PR works
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #97394 → dnscontrol: 3.2.0 -> 3.3.0, add me as maintainer → https://git.io/JUZdi
<colemickens> zeta_0: and that seems to be some proprietary, requires-a-login-to-download goop and who knows if it will even work.
<buffet> ,locate tic
<{^_^}> Found in packages: ncurses5, ncurses6
<colemickens> nij: if you've not seen it: https://wiki.archlinux.org/index.php/Nix
<nij> reading and trying :) thanks folks
<{^_^}> [nixpkgs] @dywedir merged pull request #97082 → cargo-udeps: 0.1.13 -> 0.1.14 → https://git.io/JU3zV
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JUZdd
<zeta_0> colemickens: well ok, i'll take a look.
malook has joined #nixos
<cole-h> worldofpeace: I don't know if https://github.com/NixOS/nixpkgs/issues/97383 could be considered a blocker... It doesn't seem to have any harmful effect, but PTAL.
<{^_^}> #97383 (by cole-h, 1 hour ago, open): "/dev/fd/62: No such file or directory" in init script on nixos-unstable(-small)
malook has quit [Client Quit]
eoli3n_ has quit [Ping timeout: 264 seconds]
tilcreator_ has joined #nixos
<worldofpeace> cole-h: no part of nixos should be making some unneeded noise. i.e nixos activation script crying about things that aren't important frightening the enduser
<zeta_0> colemickens: ok i'll give this a try, and if it does not work, i'll use this flatpak-pt tool instead: https://github.com/rpallai/flatpak-pt
sigmundv has joined #nixos
sangoma has quit [Quit: WeeChat 2.9]
joebobjoe has quit [Ping timeout: 265 seconds]
ixxie has quit [Quit: Lost terminal]
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @symphorien opened pull request #97395 → paperwork: use tesseract 4 → https://git.io/JUZFn
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUZFC
<zeta_0> colemickens: i tried looking in the .deb file that i downloaded from the cisco website and it's gibberish, so i'm guessing it's proprietary.
<cole-h> worldofpeace: Agreed. I'll leave it to you / jonringer to label as a blocker, though ;)
<worldofpeace> cole-h: thx, one of us can probably look at it later once all this crazyness calms down
orivej has quit [Ping timeout: 240 seconds]
<cole-h> np, good luck you two :)
orivej has joined #nixos
alp has joined #nixos
CrunchyChewie has quit [Quit: ZNC 1.8.1 - https://znc.in]
aw has joined #nixos
spacefrogg has joined #nixos
knupfer has quit [Ping timeout: 244 seconds]
joebobjoe has joined #nixos
<zeta_0> colemickens: this git command: `git reset --hard fetched/branch`, throws the error: `fatal: ambiguous argument 'fetched/branch': unknown revision or path not in the working tree.`
<colemickens> zeta_0: yes, this is the part where you're going to need to show me `git status` and `git remote`, or get a lesson in git
<colemickens> zeta_0: we're trying to force your custom git branch to reset to a specific git revision.
<{^_^}> [nixpkgs] @risicle merged pull request #96958 → v2ray: 4.26.0 -> 4.27.5 and add tests → https://git.io/JUYHZ
<{^_^}> [nixpkgs] @risicle pushed 5 commits to master: https://git.io/JUZbk
<colemickens> zeta_0: that git revision has a reference to it that was created when you ran the `fetch` command earlier.
<colemickens> the reference that it produced is what you should 'reset' to.
<zeta_0> colemickens: i subsituted fetched/branch with mypkgs and it worked, note: i'm running your git commands literally.
<colemickens> zeta_0: that might have worked but it didn't do anything
<colemickens> you would've `git checkout -b mypkgs` making a new branch `mypkgs` pointing to some commit
<colemickens> and then you hard reset to... that same commit.
wnklmnn has quit [Quit: Leaving]
<colemickens> Can you maybe PM me since this is getting pretty-Git specific from here out?
joebobjoe has quit [Ping timeout: 240 seconds]
* zeta_0 colemickens hello !
<zeta_0> my mistake one second.
<nij> Hmm.. I followed archlinux wiki and got nix and archlinux-nix installed.
proofofkeags has joined #nixos
<nij> I configured also for non-root user too.
knupfer has joined #nixos
knupfer has quit [Client Quit]
<nij> But =nix-build -iA hello= gives error: nix-build -iA hello error: unrecognised flag
<nij> '-i'
<nij>
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
arjen-jonathan has quit [Ping timeout: 272 seconds]
<colemickens> drop the -i
<colemickens> I'll edit the wiki
<nij> Still an error: getting status of '/home/me/default.nix': No such file or directory
<nij>
<colemickens> nij: give me a second, I need to test something to see how channels work with nix-build.
<nij> colemickens: Sure thank you so much :)
<colemickens> wait, so can you even do nix-build with a channel?
<colemickens> or is it literally only nix-env?
mariatsji has joined #nixos
<colemickens> nij: let's just test this...
<colemickens> nij: `nix-env -iA hello`
__monty__ has quit [Quit: leaving]
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
<colemickens> nij: I guess it would need to be `nix-env -iA nixpkgs-unstable.hello` since that's the channel it says to use.
<nij> lemme see
<colemickens> holy crap
<nij> Nope..
<colemickens> okay, it seems like by default it registers the channel as "nixpkgs" if you give it no name
<colemickens> so...
pingiun has joined #nixos
<colemickens> `nix-env -iA nixpkgs.hello`
<nij> worked !
<nij> Thanks! How would I apply my home.nix here then @@?
aw has joined #nixos
mariatsji has quit [Ping timeout: 244 seconds]
spacefrogg has joined #nixos
Raito_Bezarius has quit [Read error: Connection reset by peer]
Raito_Bezarius has joined #nixos
<colemickens> nij: I can't say. I uh don't use home-manager directly. For me it's just another nixos module that gets built as part of my system.
<nij> NO worries, I will figure that out :)
<colemickens> cole-h: are there extra steps we can throw in the wiki for using h-m, or maybe it's just as easy as following the steps on the h-m wiki?
<{^_^}> [nixpkgs] @bachp opened pull request #97396 → unifiStable: 5.14.22 -> 5.14.23 → https://git.io/JUZbr
<colemickens> nij: also, welcome back, welcome again, whatever the case, enjoy the Nix :)
<nij> :)
<cole-h> colemickens: IIRC, it was as easy as `nix-shell /path/to/h-m/checkout -A install` (can also use a channel, and `<home-manager>` if preferred)
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
<cole-h> `nix-build '<nixpkgs>' -A hello` should work
joebobjoe has joined #nixos
<cole-h> nij: Once you run the h-m installation stuff, you should have a `home-manager` binary on your PATH
<cole-h> (Might need to restart terminal/shell)
<cole-h> And then, every time you edit your home.nix, you run `home-manager switch` I believe
<colemickens> honestly my brain rejects channels so much I didn't think of the nix-build ... command you gave.
<cole-h> It's not limited to channels ;)
anonymous_zero[m has joined #nixos
Raito_Bezarius has joined #nixos
Raito_Bezarius has quit [Changing host]
<{^_^}> [nixpkgs] @jonringer pushed to refs/tags/20.09-alpha « Release 20.09 alpha »: https://git.io/JUZbQ
<cole-h> 👀
joebobjoe has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer pushed to release-20.09 « Release 20.09 alpha »: https://git.io/JUZbQ
<worldofpeace> cole-h: okay so the docs are getting a slight proofreading in progress
* cole-h 's ears perk up
<worldofpeace> but we decided on new words (well one word) if u can tell
<cole-h> 20.09-gamma when
<nij> cole-h: Hmm... on nixOS I obtained home-manager directly from configuration.nix, so I was spoiled.
<cole-h> nij: Yep, on non-NixOS, it's decidedly less declarative.
<nij> Here I do have to `nix-env -iA nixpkgs.home-manager`, to pollute my system?
<nij> :()
<nij> :( :(
<nij>
<cole-h> I wouldn't use that
<cole-h> I would follow this, instead: https://github.com/nix-community/home-manager#installation
<nij> Thanks so much :D
<worldofpeace> cole-h: we're evolving typographically
nij has quit [Quit: ERC (IRC client for Emacs 27.1)]
wildtrees has joined #nixos
<pittma> I've got an old iPod classic I'm trying to mount on my NixOS machine with no luck. It automounted yesterday on my work Ubuntu laptop; I'm not sure what the deal is.
<pittma> Anyone had any luck with such a thing?
<pittma> mount: /ipod: wrong fs type, bad option, bad superblock on /dev/sdb
joebobjoe has joined #nixos
<pittma> is what `mount` is tell me. using `fsck.hfsplus` just prints the single line: `** /dev/sdb`.
<pittma> *telling
<cole-h> pittma: try `services.gvfs.enable = true;`
<cole-h> I believe GVFS is required for automounting of USBs
wildtrees_ has joined #nixos
wildtrees has quit [Ping timeout: 240 seconds]
joebobjoe has quit [Ping timeout: 260 seconds]
maier has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #91507 → python27Packages.graph-tool: 2.31 -> 2.32 → https://git.io/Jfje7
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.graph-tool: 2.31 -> 2.32 »: https://git.io/JUZNr
wildtrees__ has joined #nixos
<{^_^}> [nixpkgs] @ck3d opened pull request #97397 → vdr: 2.4.1 -> 2.4.4 → https://git.io/JUZNK
<samueldr> I think it's related to hfsprogs not being installed by default
<samueldr> pittma: add hfsprogs to systemPackages
wildtrees_ has quit [Ping timeout: 240 seconds]
maier has quit [Ping timeout: 240 seconds]
<samueldr> though if you can, re-format it to FAT32 for better interoperability
<{^_^}> [nixpkgs] @jonringer opened pull request #97398 → 21.03 is Okapi → https://git.io/JUZNS
Thra11 has quit [Quit: WeeChat 2.9]
knupfer has quit [Ping timeout: 260 seconds]
wildtrees_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #97398 → 21.03 is Okapi → https://git.io/JUZNS
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JUZNb
timclassic has left #nixos [#nixos]
<pittma> samueldr: oh, interesting. I just installed hfsprogs at the user-level and that didn't seem to make a difference.
<pittma> I'll try as a systempackage.
wildtrees__ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @samueldr opened pull request #97399 → sd-image-raspberrypi4: remove from stable channel → https://git.io/JUZAf
<samueldr> hm, it could or could have made no differences depending on what exactly tries to run it
timclassic has joined #nixos
<samueldr> I'm not even 100% positive it'll help at systemPackages, depending on what tried to use it and how it's built and configured
<pittma> Ah, no, no luck.
<samueldr> you should be able to mount it manually though
mananamenos has quit [Ping timeout: 240 seconds]
<pittma> oo I do get something in dmesg now, though. I think this is new…
<pittma> hfsplus: unable to find HFS+ superblock
timclassic has left #nixos [#nixos]
<samueldr> oh
<{^_^}> [nixpkgs] @ck3d opened pull request #97400 → vdr-epgsearch: 2.4.0 -> 20191202 → https://git.io/JUZAT
<samueldr> how "classic" of an iPod classic?
<samueldr> technically the classic is a specific model
<pittma> Yeah, this is from `sudo mount -t hfsplus …`
<samueldr> not sure it changes anything
<samueldr> I don't think the first iPod(s) used HFS (non plus)
timclassic has joined #nixos
<pittma> It's literally a capital C Classic, the ol' color screen 120 GB.
<pittma> with a spinning disk!
<pittma> can hear it!
<tobiasBora> Hello, I'd like to know, how could I give (if possible several) hostnames to a VM deployed with nixos-build-vms (or with any other deployement method)
teto has joined #nixos
<samueldr> pittma: aw, if it had been the generation before I would have suggested you install Rockbox to it, it's really neat
<samueldr> and doesn't require special casing for adding songs, just drop your standard music files
<{^_^}> [nix-mode] @matthewbauer merged pull request #106 → Fixed minor issues for `nix-mode.el`. → https://git.io/JUZ4O
<{^_^}> [nix-mode] @matthewbauer pushed 3 commits to master: https://git.io/JUZAq
<{^_^}> [nixpkgs] @jonringer pushed 0 commits to staging-20.09: https://git.io/JUZAm
<pittma> Yeah, so HFS+ tells me “unable to find HFS+ superblock” while HFS says “can't find an HFS filesystem on dev sdb”
<samueldr> (oh, rockbox might support the 6th generation [the classic])
john88 has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
alexherbo22 has joined #nixos
<{^_^}> [nixpkgs] @ck3d opened pull request #97403 → redo-c: 0.2 -> 20200906 → https://git.io/JUZAZ
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo22 is now known as alexherbo2
wildtrees__ has joined #nixos
wildtrees__ has quit [Remote host closed the connection]
wildtrees_ has quit [Ping timeout: 240 seconds]
zopa has joined #nixos
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @ck3d opened pull request #97404 → vdr-vaapidevice: 0.7.0 -> 20190526 → https://git.io/JUZAi
<tobiasBora> Btw, anybody here is a bit familiar with Disnix? Or maybe there is a better channel to ask?
mauli has quit [Quit: WeeChat 2.7.1]
pingiun has quit [Remote host closed the connection]
veleiro has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
gustavderdrache has quit [Quit: Leaving.]
cr4y1 has joined #nixos
zgrep has joined #nixos
mauli has joined #nixos
john88 has quit [Remote host closed the connection]
justanotheruser has joined #nixos
zgrep has quit [Ping timeout: 244 seconds]
<{^_^}> [nixos-org-configurations] @AmineChikhaoui merged pull request #120 → 20.09 channels → https://git.io/JUsGr
<{^_^}> [nixos-org-configurations] @AmineChikhaoui pushed 4 commits to master: https://git.io/JUZxG
mauli has quit [Ping timeout: 272 seconds]
<pittma> `sudo mount -v -t hfsplus -o rw,loop,offset=<OFFSET>,sizelimit=<SIZE>` mounted it!
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<pittma> However Rhythmbox still refuses to acknowledge that it's an iPod. I told RB to look at the newly mounted drive, though, and it's importing the files, which I think is all I care about.
Darkmatter66 has joined #nixos
jonringer has quit [Ping timeout: 240 seconds]
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
sputny1 has joined #nixos
sputny has quit [Ping timeout: 244 seconds]
sputny1 is now known as sputny
spudly has quit [Ping timeout: 240 seconds]
spudly- is now known as spudly
<{^_^}> [nixpkgs] @worldofpeace merged pull request #97399 → sd-image-raspberrypi4: remove from stable channel → https://git.io/JUZAf
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.09: https://git.io/JUZx9
zgrep has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
nikivi has joined #nixos
nikivi has quit [Client Quit]
kreyren_ has quit [Remote host closed the connection]
kreyren_ has joined #nixos
nikivi has joined #nixos
zopa has quit [Remote host closed the connection]
nikivi has quit [Client Quit]
joesventek has quit [Quit: Quit]
joesventek has joined #nixos
matthiaskrgr has joined #nixos
sputny has quit [Remote host closed the connection]
aniketd[m] has joined #nixos
mauli has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
<zeta_0> when i replaced master with this commit sha in the url, it threw a rebuild error? https://dpaste.org/DJmF
aasqz has joined #nixos
cr4y1 has joined #nixos
<zeta_0> here's the trace error: https://dpaste.org/GCrE
cr4y1 has quit [Read error: Connection reset by peer]
<cole-h> Look at the last line of the trace
cr4y1 has joined #nixos
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<zeta_0> cole-h: yes i saw that, unable to download link, http error 404, i don't think i made a typo.
<zeta_0> hmm
<cole-h> For flakes with a `git:` input, is that Git repository cloned (`.git` and all), or does it delete the `.git`
<cole-h> zeta_0: You did make a typo. Look at the "revision" you're passing to the URL
<zeta_0> cole-h: i copied the sha from nix-prefetch-git and add it to the url, like how it's explained here: https://www.reddit.com/r/NixOS/comments/ii1e3y/how_to_correctly_update_emacs_packages_in_nixos/
<cole-h> I'll tell you right now, "0fgj05a08zrsq06i0vnfsl3yfw2wjg5x15lbr92wb2l1xpl3m98f" is not a valid git revision.
<cole-h> The sha from `nix-prefetch-git` is the checksum
<cole-h> Not the actual revision
<zeta_0> cole-h: scroll down to L_1947's, he says commit sha, anyways, i must be looking in the wrong place.
<cole-h> Yes
<cole-h> Commit sha != checksum sha
<cole-h> (Without getting into semantics)
<cole-h> The sha you want is a git commit sha1 hash
<cole-h> The commit sha is 319d601f1195ef00627fdb7ed76888d5c74906d3
<zeta_0> cole-h: dammit, well thanks for clarifying this, there's always some `edg case` that i miss.
civodul has quit [Ping timeout: 272 seconds]
<cole-h> It happens to everybody :)
<zeta_0> cole-h: oh, the `git revision` of nix-prefetch-git, i see.
* fzakaria waves
cosimone has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a31736120c5 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
philr has joined #nixos
thc202 has quit [Ping timeout: 244 seconds]
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 265 seconds]
maier has joined #nixos
aasqz has quit [Remote host closed the connection]
<cole-h> ^ Woo!
maier has quit [Ping timeout: 258 seconds]
teto has quit [Ping timeout: 246 seconds]
<zeta_0> colemickens: i pm'd you, either way, here's the nix build error: https://dpaste.org/ytJk
<zeta_0> i think colemickens might be taking a break or something.
<cole-h> Why'd you PM colem*ckens?
<zeta_0> cole-h: colemickens asked me to, because there was a lot of git related stuff that he needed to help me with, people in this #nixos channel don't like it if you go off topic.
<cole-h> Oh, I thought you PM'd him thinking it was me (because we share first names) :)
<zeta_0> cole-h: oh i see, i sometimes get confused between you 2 and message the wrong name.
Spiney has quit [Read error: Connection reset by peer]
Spiney has joined #nixos
<zeta_0> well, here's what i placed in my home.nix home.packages code block:
<zeta_0> ((import "/home/zeta/nixpkgs" {}).emacs)
<zeta_0> i'm thinking it's the .emacs part that appended, that's causing the error?
<cole-h> The problem is that you have `emacsWithPackages` and `emacs` in your packages list, somewhere.
<cole-h> (Hence the collisions)
lotharn has quit [Remote host closed the connection]
veleiro has quit [Ping timeout: 264 seconds]
alexherbo2 has quit [Ping timeout: 258 seconds]
<zeta_0> cole-h: hmm, i commented out my old emacs config and setup emacs-overlay(to get emacs27.1), so i have no idea why that collision is happening, i don't think that i have `emacs` placed anywhere else.
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @worldofpeace merged pull request #97256 → nixos/cinnamon: init → https://git.io/JUGf9
<{^_^}> [nixpkgs] @worldofpeace pushed 26 commits to master: https://git.io/JUZjK
<worldofpeace> yall we have cinnamon now
cr4y1 has quit [Read error: Connection reset by peer]
<mkg20001> Try it out: services.xserver.desktopManager.cinnamon.enable = true;
duckonomy_ has joined #nixos
Serus has quit [Ping timeout: 256 seconds]
<zeta_0> cole-h: i'll try rebooting then check again, maybe the my new emacs build has not taken effect.
duckonomy has quit [Ping timeout: 265 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 27.1]
aleph- has quit [Ping timeout: 260 seconds]