sigmundv has quit [Read error: Connection reset by peer]
<zeta_0>
i'm setting up an emacs gitter client, but neither of those paths exist, so that's why i'm trying to find the correct home-manager option to do this.
<Miyu-saki>
Also, I'm really glad how much better Nixpkgs is now.
<evanjs>
I remember getting into trouble doing similar stuff for musl. had to make sure I was either using stuff from the stdenv, passing in the right stdenv, or idk, something
<sneakweb>
hiya all! i've been reading a little about how you can set up a metapackage in nix to install all your stuff. i'm using nix on macOS; where would that file go and how would i tell nix to install it?
<sneakweb>
and is there an easy way to collect all of the stuff i've manually installed using `nix-env -i` as a list for making that file?
<Miyu-saki>
Okay, what's a determinstic way to get that triple?
<Miyu-saki>
IIRC, it's accessible in `lib.`
mauli has quit [Read error: Connection reset by peer]
azazel has quit [Quit: bye]
azazel has joined #nixos
azure1 has quit [Read error: Connection reset by peer]
mauli has joined #nixos
<sneakweb>
also, what's the difference between `nix-env -i <name>` and `nix-env -i nixpkgs.<name>`?
<sneakweb>
i was surprised to see things using the latter, i thought they were the same thing.
<Miyu-saki>
The latter is Nix 2 interface syntax.
<Miyu-saki>
I didn't know that that works for `nix-env` though?
<sneakweb>
-iA rather
<sneakweb>
`nix-env -iA nixpkgs.coreutils-prefixed` just worked for me
<sneakweb>
not sure why one worked and the other didn't.
<Miyu-saki>
Yeah, I know why it works.
azure1 has joined #nixos
<Miyu-saki>
sneakweb: Run `nix-channel` and you should have a `nixpkgs` under that.
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
sbetrium has quit [Quit: sbetrium]
<Miyu-saki>
Ah.
<Miyu-saki>
It uses ~/.nix-defexpr.
azure1 has quit [Read error: Connection reset by peer]
<unclechu>
hey, i defined a channel with `nixos-unstable` alias, why when i try to `import <nixos-unstable>` i get `file 'nixos-unstable' was not found` error?
<Miyu-saki>
unclechu: `nix-channel --update` ?
<unclechu>
miyu-saki: that’s right, thanks, didn’t notice i have to do this
<Miyu-saki>
Glad it works. ^^
<evanjs>
miyu-saki: I see it now. mariadb-connector-c?
<Miyu-saki>
evanjs: Yep. :P
sbetrium has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to gnome-3.38: https://git.io/JUajU
<zeta_0>
simpson: yes, i see: `nix-env -f https://ihp.digitallyinduced.com/ihp-new.tar.gz -i ihp-new` in the installation section of the ihp guide, but when i tried to import the tarball in my shell.nix, it did not work.
<zeta_0>
is this shell.nix file at least close to being correct ?
<zeta_0>
simpson: are you still here ?
knerten2 has joined #nixos
<zeta_0>
that syntax works in home.nix, but it's not working in a shell.nix file.
<simpson>
zeta_0: I was finishing preparing dinner.
<simpson>
Oh, well, there's a hint, at least!
<simpson>
FWIW you can just pull apart the tarball to get your bin/ihp-new, if you're really having trouble with Nix.
sbetrium has quit [Quit: sbetrium]
domogled has quit [Ping timeout: 272 seconds]
knerten1 has quit [Ping timeout: 260 seconds]
<zeta_0>
simpson: oh it's fine, and i thought that this would be simple, what method do you recommend, i thought my syntax in the shell.nix file was just a little off ?
o1lo01ol1o has joined #nixos
sbetrium has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<zeta_0>
it works without any errors but nothing happens, i checked ghc --version, and ghc's binary was not found ? https://dpaste.org/GhsO
<zeta_0>
simpson: i'm just going to try this in a regular shell.nix file without any of the lorri and diren stuff, i'll let you guys know if it works or not.
<simpson>
Does ihp-new work? There's not anything inside the tarball besides a bin/ihp-new and a default.nix which installs it.
<zeta_0>
simpson: running `ihp-new` returns: `Usage: ihp-new PROJECT_NAME`, does that means that it's working? i thought that it would automatically install a bunch of dependencies?
<__red__>
So, marked one of my PRs as WIP as upstream just informed us that they have an emergency release in the next day or so to fix a double-free race condition.
<lordcirth>
Every time I push a one-line commit to my nixpkgs branch, and run nixos-container with the new flake, it downloads a new 20MB tarball. Is there a way to get it to use git instead>
cole-h has joined #nixos
<__red__>
I doubt that it has security implications, but when I learn more I'll share.
<__red__>
details I guess will be in the CHANGELOG once the emergency release is released.
<lordcirth>
_rvl, this is in nix?
<lordcirth>
__red__, * sorry
<__red__>
lordcirth: No - a package that I'm wrapping into nixpkgs.
<__red__>
lordcirth: I had a PR open to bump a package a few revs, and the day after I raise the PR they announce that there's going to be an emergency release
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<__red__>
so I'm just WIPing it and will bump it to the latest version when it's release.
<__red__>
d
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<Miyu-saki>
I feel like I have to ask something. Why do we prepend the compiler outputs with system triples when we cross compiling?
<Miyu-saki>
Like, I understand the historical context, but we don't really need that on Nix that much, right?
<samueldr>
AFAIK it's because build systems sometimes are bad and want them
<Miyu-saki>
Oh
<samueldr>
otherwise we'd have to patch the whole world :)
<samueldr>
(not the whole world, but part of it)
<Miyu-saki>
Yeah, makes sense. Kinda funny tho because I'm actually dealing with the reverse problem. >~<"
<samueldr>
and another reason might be when you have *multiple* cross-compilers around
<Miyu-saki>
Though, I should have just used patch-phase the whole time lmao
<Miyu-saki>
samueldr: Wouldn't it be better to use multiple Nix packages in that case?
<Miyu-saki>
Though, I can see why on that too
<samueldr>
if the upstream package needs to build different artifacts
<lordcirth>
What's the NixOS option to just write a literal string to a file at a path?
<samueldr>
I have a vague thought about e.g. needing some kind of ARM compiler for an m0 cpu *in addition* to aarch64 for the main cpu
<lordcirth>
Or whatever the right way is to do that
<samueldr>
in e.g. u-boot or similar at-boot program
<Miyu-saki>
lordcirth: pkgs.writeTextFile
<lordcirth>
Thanks!
<samueldr>
anyways, much easier to interface with the rest of the world, we're already starting with a handicap with our hermetics :)
<Miyu-saki>
Oh. :o
justanotheruser has quit [Ping timeout: 260 seconds]
<Miyu-saki>
Thanks. I see now. There's probably some build system out there which not only requires but also depends on the system triples, huh?
camsbury has quit [Remote host closed the connection]
<lordcirth>
Oh, not sure if writeTextFile is what I want. I need my service module to take an argument, preferably a list of str, and write those strings, newline-separated, to a file during the init service
<lordcirth>
I was hoping to generate the file as part of the NixOS config, then have the init service cp it into place if appropriate
<Miyu-saki>
Hmmm
<Miyu-saki>
But it is generated at Nix evaluation-time, right?
<lordcirth>
Yeah, from the service config
<lordcirth>
Does writeTextFile return the store path?
<Miyu-saki>
Okay. Also, "the init service"?
<Miyu-saki>
And yeah. it does.
<lordcirth>
There's the main service, and there's a prerequisite -init service that inits the data directory
<lordcirth>
Seems to be a common pattern
<Miyu-saki>
Oh.
<Miyu-saki>
Hmm
stoile has joined #nixos
<lordcirth>
I want to place this file on first run
<lordcirth>
I tried tmpfiles.d, but it doesn't accept multiple lines
<lordcirth>
I considered cat <<< EOF in the init, but ew
<Miyu-saki>
I was actually gonna recommend that lmao
<Miyu-saki>
Anyways, what you want doesn't exist, and `writeTextFile` is the "cleanest."
<samueldr>
this is what I use to get a "hold" into systems in a trustable manner
<samueldr>
without having to resort to native compilation
<Miyu-saki>
Ah, thanks.
<Miyu-saki>
So basically, disable non-cross-compiling dependencies
<samueldr>
basically :)
<samueldr>
and more importantly, this allows me to track regressions
<Miyu-saki>
And I guess the idea is that this is just a bootstrap process, right? So you load your phone with a cross-compiled NixOS, and then recompile it with a native NixOS?
<samueldr>
I prefer fixing regressions, but it's not always possible
<samueldr>
this is not used at all for phones
<samueldr>
one topic at a time!
<Miyu-saki>
Ah. My bad. :P
<samueldr>
>> Can we cross-compile NixOS now?
<samueldr>
the answer is "kinda, yes"
<samueldr>
for some values of NixOS :)
<samueldr>
this is entirely for "good citizens", where the generic-like image is useful
<samueldr>
so generally, an SBC where I'd need a non-mainline kernel
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @TredwellGit to master « generate-expr-from-tarballs.pl: quote URLs per RFC 0045 (#98751) »: https://git.io/JUV35
<jan732>
Hey, very new to nix. I want to build a vhd image like shown on https://nixos.org/#asciinema-demo-example_5 . So basically I need "nix-build". I'm on MacOSX. What is the easiest way to get started? I tried "curl -L https://nixos.org/nix/install | sh" but it complained about needing an apfs volume. So i wonder if I'm on the wrong path here (since I
<jan732>
don't want to use nix locally). What should I do?
<__monty__>
jan732: You need the volume with a firmlink because you can't simply create directories under / anymore, and the nix store needs to be mounted on /nix.
<__monty__>
jan732: Yep, good luck. And if you don't get much response here you can always try #nix-darwin, that channel's more tuned in to the particularities of nix on macOS.
<jan732>
good to know, thanks
sbetrium has quit [Quit: sbetrium]
<tnks>
I'm kind of guessing here, but does nixpkgs/release-20.03 feed into nixpkgs-channels/nixos-20.03? It seems like if I want commits that at least pass Hydra I should always go off nixpkgs-channels branches, right?
<tnks>
I just realized that I was completely ignoring the nixpkgs/release-##.##
<andi->
yes and you can also use the nixos-20.03 branch in nixpkgs
<andi->
the release-XX branches are to be built by hydra, the nixos-XX branches are built by hydra
<tnks>
andi-: okay, that's good. That's what I inferred by the names.
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 264 seconds]
<tnks>
also, good to know that I don't really need to reference nixpkgs-channels if the branches are mirrored on the main repository. Why have a separate repository at all? Permissions?
justan0theruser has quit [Ping timeout: 246 seconds]
<jan763>
thanks gchristensen, V! That helped already. Downloading the world now, it seems... (cdparanoia, alsa, wayland, ...) hope that doesn't end up on my image lateron :-/
<immae>
Hello there! I have this settings in fileSystem: `"/var/lib" = { device = "/home/var_lib"; fsType = "none"; options = [ "defaults,bind" ]; }; ` and it seems to no please stage1 of nixos at boot, it ends up telling me he cannot boot. If I ask him to continue it goes fine afterwards, how can I fix that?
<{^_^}>
[nixpkgs] @erictapen opened pull request #98854 → [20.09] fix passing qt5 version to pythonInterpreters → https://git.io/JUVGs
alexherbo20 has joined #nixos
<{^_^}>
[nixpkgs] @malte-v opened pull request #98855 → libobjc2: unmark aarch64 as bad platform → https://git.io/JUVGG
<V>
Presumably it thinks that /var/lib isn't available since that's needed for boot
<V>
possibly making it think that /home is needed for boot would fix that?
jan763 has quit [Remote host closed the connection]
<immae>
ok
sbetrium has joined #nixos
jan763 has joined #nixos
<jan763>
okay - any way to "cross compile" aka create a x86-64 system from MacOSX? (error: a 'x86_64-linux' with features {} is required to build '/nix/store/n15c2kqdqjgskqgyx2nqj0zr6nhfrrc3-configuration.nix.drv', but I am a 'x86_64-darwin' with features {benchmark, big-parallel, nixos-test})
<jan763>
I want to figure out if nix can help me to build "immutable minimal AMIs"
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUVGP
SunWuKung has quit [Ping timeout: 260 seconds]
waleee-cl has joined #nixos
<immae>
jan763: I have a script that I use to play with VMs, you may have a try if you want : https://git.immae.eu/?p=perso/Immae/Config/Nixies.git;a=tree;f=vms;h=2e466565026d3687b175f651978a3f62b251c5e9;hb=refs/heads/master in this folder, if you’re able to run a "make build_standalone" successfully then it’s the first step to create an AMI for AWS
<immae>
(the next steps being just sending the result and asking for it to be converted into a snapshot and and AMI ,which should work in macos as well as in linux)
<gchristensen>
I'm trying to build https://github.com/rebuy-de/aws-nuke. here is my expression and full build output: https://gist.github.com/grahamc/415b546e856da1e5d9fe2a6c730cca1c when I build, I get an error: github.com/rebuy-de/aws-nuke/resources tested by github.com/rebuy-de/aws-nuke/resources.test imports github.com/rebuy-de/aws-nuke/mocks/mock_cloudformation iface: no matching versions for query "latest"
<gchristensen>
-- any suggestions on how to move past this?
sbetrium has quit [Quit: sbetrium]
<{^_^}>
[nixpkgs] @ikervagyok opened pull request #98865 → [WIP] linux-next: new function to ease testing the newest kernels → https://git.io/JUVR7
alexherbo28 has joined #nixos
sbetrium has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
<__monty__>
Is there a print function? I'm working with the repl and I have a long list of lists which is hard to check. It'd be a whole lot easier if I could print each list on a separate line but :p isn't a function I can map.
<immae>
Hey! I have this configuration to login with ldap: https://tools.immae.eu/paste/qm3z/ when I deploy that and try to login, it fails (I get "Invalid user immae from 1.1.1.1 port 47386"). But if I restart nscd.service I can finally log-in. However this works only until I rerun a nixos-rebuild switch, then I have to restart nscd manually again. Did I miss something in the configuration?
<__monty__>
__red__: I suppose it's fine if upstream doesn't support releases. Note that no one's suggesting an impure package that always installs whatever the head of master is.
<simpson>
`gcc7Stdenv` will work that way; I just tested `nix-shell -p gcc7Stdenv`. However, you almost certainly don't actually want GCC in your local shell this way; what are you trying to do? You probably will have better times writing a Nix expression to build your package.
<nixos-noob>
When booting it complains that it cannot find the swap device. I'd imagine this is because it is in LUKs but don't know how to tell nixos to open that first.
<nixos-noob-table>
Not in the new one, I do not have a copy of the old one but I didn't recall having to add anything from what nixos-generate-config does.
<__red__>
because I don't see it in your hjardware nix configuration
CptCaptain has quit [Quit: WeeChat 2.9]
<__red__>
I would suspect that's why your boot is failing to offer you a luks prompty
<__red__>
I would suspect that's why your boot is failing to offer you a luks prompt
<{^_^}>
[nixpkgs] @suhr opened pull request #98876 → libaudec: init at 0.2.4 → https://git.io/JUwB9
<nixos-noob-table>
That sounds reasonable, let me check if the script generates it correctly for my old configuration like I remembered
fusion809 has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @worldofpeace pushed 4 commits to gnome-3.38: https://git.io/JUwuv
vidbina has quit [Ping timeout: 260 seconds]
zeta_0 has joined #nixos
mmohammadi9812 has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-20.09: https://git.io/JUw2t
<zeta_0>
hello there, i finally got `miso` working in my (lorri+direnv+emacs-direnv) setup: https://dpaste.org/fDzR , but when i try to add: `pkgs.haskell.packages.ghcjs.callCabal2nix "app" ./. {}` , i get errors thrown ?
<zeta_0>
is there a more generic way to do that ?
mallox has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @peti merged pull request #98870 → ghc8102Binary: add numactl to libPath on aarch64 → https://git.io/JUwqD
<MichaelRaskin>
installer test should do _some_ work using it
meh` has quit [Ping timeout: 265 seconds]
ToxicFrog has joined #nixos
<worldofpeace>
MichaelRaskin: will run them, thanks.
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
maxfield has quit [Quit: Leaving]
ToxicFrog has quit [Quit: WeeChat 2.9]
jb55 has quit [Remote host closed the connection]
ToxicFrog has joined #nixos
ToxicFrog has quit [Quit: WeeChat 2.9]
nixos-noob-table has quit [Remote host closed the connection]
grobi has quit [Read error: Connection reset by peer]
ToxicFrog has joined #nixos
peelz has quit [Remote host closed the connection]
cjpbirkbeck has joined #nixos
ToxicFrog has quit [Client Quit]
sbetrium has quit [Quit: sbetrium]
mmohammadi9812 has joined #nixos
malook has quit [Quit: malook]
sbetrium has joined #nixos
<m1cr0man>
Hey folks. I need to load the firmware for my usb3 controller in the initrd (to mount root on a usb3 hdd). Would I be best using preDeviceCommands or postDeviceCommands? I don't really know if I need to wait for udev or not..
ToxicFrog has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
<evanjs>
have no clue of any good contact points for the nixpkgs-mozilla overlay s
ardumont has joined #nixos
<evanjs>
* so 🤷
<callahad[m]>
<evanjs "have no clue of any good contact"> evanjs: I think most of us got laid off... I can dig in the commit log and see if anyone's still around
<evanjs>
callahad[m]: that was one of my biggest worries when I heard the news :(
<evanjs>
I wish we had a nixpkgs-mozilla channel or something
<callahad[m]>
Rail and glasserc are definitely gone; not sure about nbp
noudle has joined #nixos
<{^_^}>
[nixpkgs] @mrVanDalo opened pull request #98880 → terranix: init at 2.3.0 → https://git.io/JUwAh
<evanjs>
gahhhh. I've been reading a bit about the Rust folks in general, and it seems like some of them have expressed intent to continue working on stuff, it just won't be sponsored by Mozilla, so to speak
<evanjs>
No idea if/how that might apply to any contributors of the nixpkgs-mozilla repo
sbetrium has quit [Quit: sbetrium]
ardumont has quit [Ping timeout: 240 seconds]
<reptarmigan>
does anyone know of a package that adds the print to pdf option?
<reptarmigan>
I've been searching around, but there's only a million pdf utilities, and cups-pdf doesn't show up
sbetrium has joined #nixos
<infinisil>
reptarmigan: One or both of ` services.printing.enable = true; programs.system-config-printer.enable = true;` in NixOS
<{^_^}>
[nixpkgs] @austinbutler opened pull request #98881 → pythonPackages.requests-hawk: init at 1.0.1 → https://git.io/JUwhL
<callahad[m]>
evanjs Mozilla is fine with external contributors with commit access, as long as there's an employee admin for the repo. I'll see if nbp is still around. Otherwise, we can probably get it transferred out of Mozilla's org if there's a suitable community org for it to go into...
<cole-h>
FWIW, I only enabled printing and added the gutenprint driver(s)
<cole-h>
callahad[m]: nix-community would probably be best
<evanjs>
callahad[m]: I would imagine https://github.com/nix-community/ or similar might be a good place if the need arises. Unsure if there are any better options, though
<{^_^}>
[nixos-hardware] @ehmry pushed 2 commits to reform: https://git.io/JUwh8
justanotheruser has quit [Ping timeout: 240 seconds]
endformationage has joined #nixos
gustavderdrache has joined #nixos
zakame has quit [Ping timeout: 260 seconds]
hl_ has joined #nixos
magnetophon has joined #nixos
<reptarmigan>
dang that's slick - I had my kde printer settings open, I nixos-rebuild switch and added avahi to my configuration.nix - when the rebuild was done one of the printers on the network just popped into the config screen
Mateon1 has quit [Quit: Mateon1]
Mateon1 has joined #nixos
davidv7_ has joined #nixos
magnetophon has quit [Remote host closed the connection]
magnetophon has joined #nixos
ManiacOfMadness has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @danieldk opened pull request #98883 → <!-- To help with the large amounts of pull requests, we would appreciate your reviews of other pull requests, especiall… → https://git.io/JUrUR
sbetrium has quit [Quit: sbetrium]
davidv7 has quit [Ping timeout: 260 seconds]
<m1cr0man>
Heyo. If I use pkgs.requireFile how can I add the file to the nix store for it?
<m1cr0man>
I've tried nix-store --add $myfile but it's not finding it. Would a hash mismatch cause it to fail? It simply prints the message I set in requireFile
sbetrium has joined #nixos
<__red__>
can someone please help me with a squash
<__red__>
I keep tying myself in knots every single time
<__red__>
and now I'm just completely confused
<__red__>
here's what I have:
zakame has joined #nixos
<__red__>
pick c65790f4dc9 ocamlPackages.irmin_1: remove at 1.4.0
<__red__>
Not only do I have duplicates of someone else's commits
<__red__>
my my own commits are now apparently out of order
<infinisil>
__red__: Well you can just reorder/delete them however you ish
<__red__>
my local head is at: f5b7e35a4ff49afbbf75310877ead420d697274a (HEAD -> ponyc_update_0_37_0)
<infinisil>
wish
kenran has joined #nixos
<__red__>
so if I delete entries - will their changes disappear?
<__red__>
I guess I don't understand how I can have two copies of someone else's commit
<__red__>
I just really don't want to blow it all away and open a third PR because I keep breaking my fork
shabius has joined #nixos
vidbina has joined #nixos
<infinisil>
__red__: Do the modifications in the git rebase -i, then loog through git log to see if they're good
<infinisil>
And if you messed something up, you can always get older versions with `git reflog`
shabius_ has quit [Ping timeout: 272 seconds]
<magnetophon>
I'm trying to run carla, but I get: ``qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.`` Any ideas on how to troubleshoot?
<__red__>
yeah - I've apparently just nuked 4 of the commits from nixos' master
<__red__>
Really I just need to move back to europe and go to the next Nixconf
<hl_>
damn where are you getting those nix t shirts
<hl_>
__red__: are you actively contributing to nix/nixpkgs/nixos?
joesventek has joined #nixos
<simpson>
I got my shirt by volunteering for a NixOS booth at a convention, in the before-times.
joesventek has quit [Client Quit]
<simpson>
A recurring joke is that karma gained in this channel can be exchanged for shirts, but I don't know whether anybody's successfully redeemed karma for clothing.
dstzd has joined #nixos
dstzd has joined #nixos
dstzd has quit [Changing host]
joesventek has joined #nixos
<worldofpeace>
__red__: well you're in luck because nixcon requires no international travel because it's virtual
<MichaelRaskin>
But does this also make T's virtual?
<worldofpeace>
and yours truly is the mc. I hope it will be a good time for people
nikivi has joined #nixos
<hl_>
damn I want so much Nix merch
<worldofpeace>
MichaelRaskin: not sure if that's being done.
<worldofpeace>
though that gives me instagram filter vibes
<__red__>
hl_: me too
<__red__>
my Loris Nix t-shirt is my favorite
<__red__>
and one of my two non-black t-shirts
o1lo01ol1o has quit [Remote host closed the connection]
<__red__>
I always wear it to defcon in the hope that someone there recognizes it
ericsagnes has joined #nixos
<__red__>
oh, that reminds me - I need to ask zimbatm what his twitch is
<__red__>
since I remember him doing a series of streamed nixexpr taks
<__red__>
since I remember him doing a series of streamed nixexpr talks
<__red__>
(it's going to be twitch.tv/zimbatm isn't it
<__red__>
)
grobi has joined #nixos
<worldofpeace>
come thruuu switchhh. Though I'm not super fond of twitch because of the social dynamic. Like I feel like it's nice to be here live and direct and not just a streaming chat. But that's just the vibe I like to give.
grobi has quit [Client Quit]
<worldofpeace>
__red__: does you kid not like the loris t-shirt because of it's slightly... let's just it's the eyes 😸
<worldofpeace>
just maybe... maybe the eyes
grobi has joined #nixos
hl_ has quit [Ping timeout: 260 seconds]
<__red__>
worldofpeace: yup - she loves it - it's the eyes
<__red__>
humans are card-coded to love creatures with big eyes apparently
<__red__>
which is why for example closeups of jumping spiders look so cute
sbetrium has quit [Quit: sbetrium]
<__red__>
even though most people don't like spides
<__red__>
even though most people don't like spiders
<{^_^}>
[nixpkgs] @jonringer merged pull request #98875 → python3Packages.curio: fix tests on darwin → https://git.io/JUwl4
<{^_^}>
[nixpkgs] @jonringer pushed commit from Thibault Gagnaux to master « python3Packages.curio: fix tests on darwin »: https://git.io/JUrGV
<__red__>
blast - I just saw hl's question "are you actively contributing to nixos..."
<__red__>
(because I was in another window actively contributing) :-)
<__red__>
worldofpeace: what do you mean by "come through switch"
<__red__>
I'm not familiar with a service of that name (other than nintendo I guess?)
<MichaelRaskin>
Maybe nixos-rebuild switch
sbetrium has joined #nixos
<worldofpeace>
lol, I can't type lately. TWITCH
<__red__>
So you're saying you'd rather use twitch? I'm down with that
<__red__>
funny actually - I just bought a stream-deck for ym daughter to stream minecraft
hl_ has joined #nixos
<__red__>
re hl_ !
hl_ has quit [Remote host closed the connection]
<infinisil>
Oh that reminds me, I have this little script that allows you to optionally enter a game and language, and it plays random twitch streams that match
<infinisil>
Created that because it allows me to find new streamers without being biased with view count
<{^_^}>
[nixpkgs] @primeos pushed commit from @meutraa to master « androidStudioPackages.{dev,canary}: 4.2.0.11 -> 4.2.0.12 »: https://git.io/JUrZh
<worldofpeace>
__red__: see the second part https://logs.nix.samueldr.com/nixos/2020-09-26#4027678; It "comes thru" but not in a way that I enjoy greatly. Though part of it is unavoidable when watching a person and having limited interaction
<worldofpeace>
__red__: Well I think for when something's live and it's really just supposed to be someone "watching" I'm not crazy about even having a chat at all. I think there's only so much "active" you can be over the online medium, so I think a passive audience you cannot see is fine. And on the flip side if it's just not passive interaction then small groups and a "random participant" space can be nice. Outside of tech spaces, in
<worldofpeace>
a performance it can be interesting to cross the boundary of audience and performer, but if it's online I do see people getting a greater false sense of connection.
<__red__>
It is a vastly different experience watching someone live and watching a replay of a live stream
<worldofpeace>
(Like online spaces are incredibly more intimate so I think that should be taken advantage of)
<__red__>
yup
<worldofpeace>
Me in the room alone talking to a computer hoping that you could hear me on the other side of the connection is really the first bit of that. In person you're not even vulnerable like that. I also think people who have a barrier of social anxiety get to have different experiences online, which is nice
<__red__>
honestly, I can adapt to almost anything
<__red__>
I think I'll book an airbnb for those three days
<__red__>
I'm curious to see what the "Hackday" will look like virtually
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<worldofpeace>
__red__: lol, I think the hackday could be pretty easy to have
knupfer has quit [Ping timeout: 240 seconds]
<worldofpeace>
it's just facilitate an online space and time for hacking... I think that's a pretty common place for that kind of thing :D
<__red__>
yeah - I guess I'm having a hard time understanding the difference between a hackday and a normal day
<__red__>
but that's probably because I'm the only nix person I know IRL
<__red__>
in other news... YES! ofBorg finally compiled by PR :-D
* __red__
does a little dance
sbetrium has quit [Quit: sbetrium]
noudle has quit []
<worldofpeace>
__red__: I wonder what can be done to make it more prominent
<__red__>
I've given a couple of talks on nix to a couple of groups
<__red__>
lots of people got excited by it and said they'd try it
<__red__>
I think two stuck with it?
sbetrium has joined #nixos
<__red__>
I don't know how to make the learning curve more shallow because honestly, I'm several years into it and I still don't think I'm even a quarter of the way up the mountain
<__red__>
For example - one of my friends who I invited over to the NixOS side asked me how to refer to an older version of a package
<pie_>
its kind of....
<pie_>
here learn how all of linux works
<pie_>
BUT ALSO have this orthogonal configuration language and library
<__red__>
I hear my daughter crying - she's scared to tell me something
<__red__>
I think she dropped a laptop or something
<{^_^}>
Found in packages: libxml2.bin, libxml2Python, bashCompletion, vimPlugins.neomake, python27Packages.libxml2.bin, python38Packages.libxml2.bin
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
__monty__ has quit [Quit: leaving]
cjpbirkb1 has joined #nixos
<reptarmigan>
Is there a way to modify the firewall configureation aside from doing a rebuild?
cjpbirkbeck has quit [Ping timeout: 246 seconds]
<reptarmigan>
or manually iptabls-ing it up :D
<energizer>
if you dont want to do it declaratively or imperatively how do you want to do it?
<reptarmigan>
I'd be happy to follow along as in configuration.nix, just wondering if I can apply the settings one shot instead of a rebuild I guess :D
aforemny has joined #nixos
<energizer>
what downside of rebuilding are you trying to avoid?
<reptarmigan>
time
<energizer>
how long does it take?
<energizer>
it should be <30s with channels or <1s with flakes
<energizer>
maybe someone on flakes can try it and tell us
aleph- has quit [Ping timeout: 256 seconds]
mananamenos has quit [Ping timeout: 256 seconds]
<reptarmigan>
My install is pretty new, I find myself tracking down kde packages manually, maybe I missed some easy "include this lovely pre-configured .nix file and your desktop will wash your dishes for you" option, although I'm happy to keep my system minimal, and I bet I'll prune some things soon.
<NieDzejkob>
I added rustup to my systemPackages and I'm getting an error: "error: linker `cc` not found"
<NieDzejkob>
(when trying to build something with cargo build)
<reptarmigan>
I'm just running into friction on things like "in kubuntu blablabla is already setup - MAGIC" vs digging into "why isn't there a print to pdf printer automatically in my printers list"
<NieDzejkob>
this goes away when I use nix-shell -p rustup, but I don't think the nix-shell workflow fits rustup, since it needs global state in ~/.rustup anyway
justanotheruser has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
<sterni>
NieDzejkob: then you need to install a C compiler globally as cc, I guess the rustup package isn't adjusted to use a specific compiler by default so you can choose wether you want clang or gcc
<sterni>
NieDzejkob: it works in nix-shell because stdenv is implicitly addet to the environment which contains a c compiler among other things (gcc usually)
aleph- has joined #nixos
<sterni>
NieDzejkob: try adding gcc-wrapper to system packages
<sterni>
NieDzejkob: err it's just gcc of course
<NieDzejkob>
I was about to ask about that :P
<sterni>
reptarmigan: I only have services.printing.enable = true; and print to pdf show up
<reptarmigan>
I have that enabled and no love in kde apps
vidbina has quit [Ping timeout: 272 seconds]
<reptarmigan>
is there a kde.nix I should include somewhere?
<sterni>
maybe it's an issue then with the qt printing dialog idk, I can only test it with gtk one rn
<reptarmigan>
I enabled plasma-5 and that pulled a lot of basic stuff, but things I consider standard on a plasma desktop (like kate) I've grabbed manually with nix-env and I've been slowly adding packages I like to use to a software-list.nix
<reptarmigan>
like I manually added the kde print-manager
<reptarmigan>
that didn't come along with the plasma desktop
grobi has quit [Quit: WeeChat 2.8]
<sterni>
yeah seems like kde for nixos is not as frictionless as gnome, haven't used it myself
<sterni>
maybe try googling for people's nixos cnofigurations who use KDE?
<reptarmigan>
I've spent a fair bit of search time
<{^_^}>
[hydra] @Ma27 opened pull request #818 → Fix build against latest Nix master → https://git.io/JUrat
<reptarmigan>
there's something called cups-pdf but there's no package for it so far, I've tweaked a few derivations so I could give it a try (I've built textadept to 10.8 and 11 alpha 3 for giggles, it was mostly straight forward ;-)
<reptarmigan>
I should figure out how to contribute the updates back, but I'm just trying to get over the hump of "print this to pdf"
<reptarmigan>
or on the recreation side of things figure out why warzone2100 doesn't have sound hehe
<testonaut>
Hey, I'm trying to install nixos for the first time. Got my new system started in a VM, but I can't get the xserver to start. Could someone help me?
<reptarmigan>
Yeah, I look forward to adding my updates - in general I'm quite jazzed about nix/os I'm wanting to move some stuff I've got in docker-compose to nix containers
<testonaut>
Dont really understand what the error is
<reptarmigan>
if nix can write yaml for me, I will forever be greatful :D
<clever>
reptarmigan: yaml is a superset of json, so anything that accepts yaml, can also accept json
<clever>
reptarmigan: builtins.toJSON and your done!
<reptarmigan>
I don't understand the obsession with yaml, or what it can do for me that toml can't, without annoying whitespace needs :D
<testonaut>
Are my messages being send?
<leungbk>
Is there a way to programmatically extract the path of a VS Code plugin installed as part of vscode-with-extensions? Right now I'm simply manually running "find", which isn't great since I have to do this every time I reinstall and the hash changes.
<cole-h>
<3 worldofpeace Thanks! Hope I didn't break anything ;D
<reptarmigan>
huh, I'm happier with the brackets myself
<notgne2>
I'm kinda wishing there was something like yaml that wasn't yaml, toml can get a bit annoying for deeply nested stuff, JSON is erroneous in so many ways, and yaml is, well, yaml
<reptarmigan>
I actually quite like the nix syntax so far
<testonaut>
Can someone help?
<notgne2>
oh I think Nix is great for config, but the few times where I don't get to use Nix I wish I didn't have to use toml, json, or yaml
<notgne2>
so for that reason I generally prefer when things use JSON, simply because it's easiest to generate from Nix
<reptarmigan>
testonaut: I'll have a looksee
<testonaut>
reptarmigan thanks
<simpson>
reptarmigan: Perversely, the Docker/k8s ecosystem prefers YAML for human-readability! Under the hood, most tools in those toolchains actually speak JSON, and desugar from user-provided YAML when needed.
<testonaut>
Tell me if you need more errors or so
<reptarmigan>
testonaut: oh god, I have enough errors in my life thanks!
dstzd has joined #nixos
dstzd has joined #nixos
dstzd has quit [Changing host]
<testonaut>
reptarmigan *logs
<testonaut>
lol :D
joesventek has joined #nixos
<testonaut>
Freudian slip
o1lo01ol1o has quit [Remote host closed the connection]
<reptarmigan>
simpson: huh, there we have it! I probably just need to settle on an editor that's the right kind of magical, I'm somewhere between kate, neovim, spaceemacs, remacs, and textadept *twitch*
o1lo01ol1o has joined #nixos
<reptarmigan>
testonaut: I'm from B.C. Canada, our main export is logs, I bet there's a weird tax for importing logs
nikivi has joined #nixos
<Raito_Bezarius>
is there a way to useDHCP only for IPv6 ?
<sterni>
testonaut: if you believe the PR could fix it you can try using it by using the corresponding tarball als nixpkgs for the rebuild like this: nixos-rebuild switch -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/f29063ff0bc0348ab7b64ad8f1038e9ecb065727.tar.gz
meh` has joined #nixos
Orbstheorem has quit [Ping timeout: 272 seconds]
<testonaut>
sterni can you explain what that does? Am I using a different package for xserver that way?
<reptarmigan>
I'm mildly creeped out by how konversation takes web links to text files and throws them at kate, it's handy I was just expecting to review in firefox :D
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<reptarmigan>
I'm starting to live in kate with a terminal attached at the bottom, but my old freebsd unix hack self says editing root files in a gui is all sorts of wrong
<testonaut>
sterni reptarmigan is the -I nixpkgs=... solution something "permanent"? It feels like a temporary workround
fendor has quit [Remote host closed the connection]
<reptarmigan>
testonaut: are you running a modern amd/ati gpu? have you tried adding services.xserver.videoDrivers = [ "ati_unfree" ];
him is now known as elhttp
<testonaut>
reptarmigan no I'm inside virtualbox, the hostos has a 1050TI but I guess for the guest that's irrelevant?
<testonaut>
*nvidia 1050Ti on the host
<reptarmigan>
Oh, why's it trying to load ati drivers...
<reptarmigan>
are you trying to pass it 3d?
<testonaut>
reptarmigan I thin I enabled that in virtualbox, yes
<testonaut>
but I can disable it, just want to try nixos out
<reptarmigan>
oh, do you have the virtualbox extensions enabled in the nix config?
<{^_^}>
[nixpkgs] @risicle merged pull request #98877 → samba: 4.12.5 -> 4.12.6, fix build on darwin → https://git.io/JUwVy
<sterni>
testonaut: yeah -I manipulates $NIX_PATH only temporarily, you could make it permanent, but since nixos-rebuild switch is executed the changed configuration with the packages of that nixpkgs version are applied to your system until you do a switch again that is