<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.
<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 !
<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
<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 !
<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]
<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
<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
<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)
<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)
<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
<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.
<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.
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]
<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>
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
<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.
<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?
<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
<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
<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]
<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
<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?
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
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
<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?
<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
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
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
<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
<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..
<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?
<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]
<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.]
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.
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.
<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]
<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)
<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
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...
<{^_^}>
[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?
<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
<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 ?
<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)
<{^_^}>
[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.
<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>
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
<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
<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!
<{^_^}>
[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`?
<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.
<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.
<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
<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..
<{^_^}>
#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.
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`.
<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]
<{^_^}>
[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.
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.