justanotheruser has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
jsutter has joined #nixos
ransom has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
dpnvektor has joined #nixos
zebrag has joined #nixos
<dpnvektor>
Hi nixos peeps! I'm new to nixos and trying to install the vmware-horizon-client for work. I see it in the nixpkgs repo on github, but if I add it to my configuration.nix I get the error "attribute vmware-horizon-client" not found when I run nixos-rebuild
<dpnvektor>
I've tried adding nixpkgs as a channel, but still get the same error. I feel like I'm missing something obvious but am stumped. Anyone able to share some insight?
hlolli has quit [Ping timeout: 260 seconds]
<tejing>
it sounds like you misformatted your configuration.nix entry. can you paste exactly what you added, plus the syntactically relevant context?
<tejing>
ah, I just looked into it, and it looks like it was added to nixpkgs quite recently. you might need to go to some extra work to get it if you're not on unstable
<dpnvektor>
Ahh yeah I'm pretty sure the syntax is OK
<dpnvektor>
other packages I've tried install fine
<dpnvektor>
Here's the output of my nix-channels list:
<tejing>
channels don't quite compose the way you'd probably imagine from other package managers. all that's doing is making '<nixos>' point to the 20.09 and '<nixpkgs>' point to unstable
<dpnvektor>
Oh, ok.
<dpnvektor>
How can i siwtch to unstable?
<dpnvektor>
(thank you by the way!)
<tejing>
if you want to switch to unstable for your whole system, you can just change the 'nixos' entry in the channels, but you can also install a package for unstable on a 20.09 system, you just have to do a bit extra
mrvn42 has joined #nixos
<dpnvektor>
got it. I'll try removing the 20.09 channel for nixos and switch to nixos-unstable
<tejing>
it's not something I've done before, but I think if you change the name of that unstable channel to something less potentially conflicting, like 'unstable', then you should be able put something like '(import <unstable> {}).vmware-horizon-client' into your environment.systemPackages
zebrag has quit [Quit: Konversation terminated!]
<tejing>
then the rest of your system will still be 20.09
<tejing>
but if you're happy changing channels for the whole system, that's certainly simpler
<dpnvektor>
yeah, i'm fine being on unstable as I'm just playing still
raghavsood has joined #nixos
<dpnvektor>
bingo, that did it. huge thanks tejing!!
<tejing>
yw :-)
<dpnvektor>
as a side note, nixos is so freaking cool. So happy to have found this.
<dpnvektor>
lol
<tejing>
it really is :-)
zebrag has joined #nixos
sigmundv__ has quit [Ping timeout: 260 seconds]
<dpnvektor>
once we get to the point where we can just point the installer towards a git repo with our configuration and hit go, it will be perfect. No BS system deployment end to end. Its a dream. ;)
dpnvektor has quit [Remote host closed the connection]
h0m1 has quit [Ping timeout: 258 seconds]
h0m1 has joined #nixos
miscalculated has quit [Quit: miscalculated]
jsutter has quit [Ping timeout: 246 seconds]
szicari has joined #nixos
mrvn42 has quit [Quit: WeeChat 2.9]
miscalculated has joined #nixos
sss2 has joined #nixos
sss4 has quit [Ping timeout: 264 seconds]
amfl_ has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
amfl has quit [Ping timeout: 260 seconds]
amfl_ is now known as amfl
<{^_^}>
[nixpkgs] @jtojnar pushed 83 commits to staging-next: https://git.io/JI2MI
<raboof>
when I `nix-shell '<nixpkgs>' -A coreutils` I get a shell in which I can build coreutils, but when I `nix-shell '<nixpkgs>' -A gnupg` it tries to build gnupg before giving me my shell. any idea what could cause that and how I could avoid it?
sgrunert has quit [Read error: Connection reset by peer]
<sphalerite>
raboof: usually this is because the applications are wrapped somehow, but I'm not sure what's up there…
<sphalerite>
raboof: you could try `nix-instantiate '<nixpkgs>' -A gnupg` and then `nix-store -q --graph` on the resulting drv to see what's pulling in another gnupg
sgrunert has joined #nixos
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « python2Packages.prettytable: init at 1.0.1 »: https://git.io/JIaio
<sphalerite>
Can I disable a systemd unit from the kernel command line? I've got a system that's failing to boot to openssh/boot prompts, because the zfs-mount service is never completing (and doesn't seem to have a timeout).
<{^_^}>
[nixpkgs] @ngiger opened pull request #106532 → Convert Eclipse from Docbook to CommonMark → https://git.io/JIaih
<{^_^}>
[nixpkgs] @orivej opened pull request #106534 → zfs: fix build with linux-rt → https://git.io/JIaPZ
sascha__ has quit [Remote host closed the connection]
<immae[m]>
sphalerite: It’s a headless system, so no visual feedback right? I had a similar issue a few days ago, it was becaue I had encrypted datasets for which I (purposedly) didn’t have the decryption key, he was waiting for me to give him the password in the console. If you have the same issue, then you might need to mask zfs-import-zpool service too
<sphalerite>
immae[m]: oh yeah, I've had that one before too :D but not in this instance
<sphalerite>
Dec 10 10:36:34 klid systemd[1]: zfs-mount.service: Main process exited, code=killed, status=11/SEGV
<joko>
Hey, I have a question on flakes: I know how to set inputs of an input to follow another input, e.g., nixpkgs-wayland's nixpkgs to follow my current nixpkgs. Could I do the reverse one, i.e., make my flake's nixpkgs follow nixpkgs-wayland's nixpkgs?
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JIVoo
vidbina_ has joined #nixos
Fare has joined #nixos
kalbasit has joined #nixos
respawn_ has quit [Quit: Leaving]
zupo has quit [Ping timeout: 272 seconds]
__monty__ has quit [Quit: leaving]
zupo has joined #nixos
SanchayanMaity has quit [Quit: SanchayanMaity]
<wucke13>
I have a question for the community: Lately I build a hackish nix-expression to (impurely!) build a piece of software. WHere would be a good place to put it, so that others can find and use it?
<simpson>
If it's not suitable for nixpkgs, maybe it could live upstream with the original package. default.nix and shell.nix are common choices, but if your expression isn't suitable for that (e.g. it builds plugins or apps) then the nix-support/ directory is a common choice.
<tejing>
I don't think DEs ever write the same information in your homedir, besides some common XDG stuff
<tejing>
so I think if, for example, kde makes gtk apps look the way it wants, it does so with some kind of runtime override, rather than altering gnome's files
<sphalerite>
Is there a way to tell if a string has context?
<infinisil>
sphalerite: builtins.hasContext :)
<infinisil>
Or you can even get the context with builtins.getContext
<sphalerite>
oooh it's one of those functions that's not reexported via lib >_< thanks
hnOsmium0001 has joined #nixos
leo60228_ has joined #nixos
<leo60228_>
(hi i setup a bouncer on the other side of the country and completely forgot to give myself a way to log into that bouncer)
<leo60228_>
how should i package an application requiring C++20?
<leo60228_>
stdenv uses gcc 9, this application has a minimum of gcc 10
<leo60228_>
there's a gcc10Stdenv, is that the best option?
hanetzer- has joined #nixos
TekShifter[m] has quit [Quit: Idle for 30+ days]
o1lo01ol1o has quit [Remote host closed the connection]
orivej_ has quit [Ping timeout: 246 seconds]
hanetzer has quit [Ping timeout: 246 seconds]
saschagrunert has joined #nixos
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JIV99
<halfbit>
I have a pinned nixpkgs, should work with ? import <nixpkgs> instead
<bigvalen>
Trying to run a python module installed via pip3, and I get "ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory" - seems it's a common error, and if you are building packages, you can fix it with a shellhook. If I'm just a nix user.... where do I setup a shellhook ? Or find out what LD_LIBRARY_PATH should be ?
<{^_^}>
[nix] @regnat pushed 3 commits to ca/properly-store-outputs: https://git.io/JIVpx
<halfbit>
I want them split like that, though there's some extra bins libpq usually doesn't include... its usually pg_config alone I believe
<halfbit>
pg_config could cause problems actually... now that I'm thinking about it
<halfbit>
supposed to work similiar to pkg-config, where to find headers/libs/bins etc
<halfbit>
it actually has the right paths though, amazingly
<gchristensen>
if $out refers to $lib refers to $dev and $dev refers to $lib, you can't have one without the other and there is no order in which Nix can add them to a system where it is a valid state -- so it refuses
<gchristensen>
(dev and lib being examples not literally your problem here)
<gchristensen>
oops, if $lib refers to $dev and $dev refers to $lib, you can't have one without the other and there is no order in which Nix can add them to a system where it is a valid state -- so it refuses
<gchristensen>
so the thing to do is merge them, or figure out why the references are happening an dfix it
<halfbit>
right, so how does it find those references
<halfbit>
that might help me fix it
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 21 commits to staging-next: https://git.io/JIwIF
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 23 commits to staging: https://git.io/JIwIb
<halfbit>
I want them seperated, the headers for pg aren't small, the derivation is 5.9MB
<gchristensen>
`grep -a` with the store path's hash, like the xadrr3l5jvkkm3g3lb2g81j5wz51zqdv portion of /nix/store/xadrr3l5jvkkm3g3lb2g81j5wz51zqdv-bash-interactive-4.4-p23/bin/bash
<gchristensen>
that + --keep-failed should help
sadmin has joined #nixos
<halfbit>
I think its probably pg_config is the problem.. if I had to guess
<halfbit>
if I have a single bin I'd like to put in the -dev derivation, is there a way of doing that
<bbigras>
Anyone has an example in their public nix-config of using a bridge with libvirtd?
<Yaniel>
how do I get a clang that has both opencl-c-base.h and stdlib.h? seems that llvmPackages_11.clang-unwrapped and clang_11 each only have one of those headers
<bbigras>
,locate opencl-c-base.h
<{^_^}>
Found in packages: zig, ycmd
davidv7 has joined #nixos
davidv7 has quit [Remote host closed the connection]
michiel__ has quit [Remote host closed the connection]
michiel__ has joined #nixos
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
kenran has joined #nixos
davidv7 has joined #nixos
freezeboy has quit [Remote host closed the connection]
davidv7 has quit [Read error: Connection reset by peer]
noudle has quit []
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nhs>
Has anyone seen an error like this before? /nix/store/wqz6c87vnf15d8pmvjz5sndl7a8cc4wy-vulkan-validation-layers-1.2.141.0/nix-support/setup-hook: line 1: XDG_DATA_DIRS: unbound variable
<nhs>
I've found some related looking github issues, but it looked like the issue was more to do with a user's default shell in nixos, this occurred when I added vulkan-validation-layers as a dep to a local project
<hexa->
nhs: that's "set -u"
<hexa->
something is trying to access $XDG_DATA_DIRS and because -u was set it will complain about it
<bbigras>
infinisil: anything like `nixos-rebuild boot` with nixus? I'm trying to add a bridge with `systemd.network` but my ethernet interface loses its IP and it triggers the rollback.
<infinisil>
bbigras: Nah, not right now. It also wouldn't be trivial to implement, because the whole success confirmation can't do its thing when the system isn't tested right away
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @evanjs to master « vncdo: 0.11.2 -> 0.12.0 (#106380) »: https://git.io/JIwai
<{^_^}>
[nixpkgs] @zimbatm merged pull request #106572 → terragrunt: removing terraform dependency to fix the build on Darwin → https://git.io/JIVNH
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @kalbasit to release-20.09 « terragrunt: removing terraform dependency (#103670) (#106572) »: https://git.io/JIwaQ
<hyperfekt>
i'm trying to build an iso and getting this error:
<hyperfekt>
i don't even know where to start with this and i can't find anything about it
<hyperfekt>
linking [storepath 1, which ends in loopback.cfg.drv.chroot]/[storepath 2, which ends in multiple-outputs.sh] to [storepath 2]: No data available
veleiro has quit [Read error: Connection reset by peer]
tput has joined #nixos
Fare has joined #nixos
veleiro has joined #nixos
<tput>
I'm trying to get a nix-shell with the python package rawpy, which
<tput>
a nonsense flag "-llibraw" instead of "-lraw", resulting in:
<tput>
depends on cython and libraw, when cython goes to link it includes
<tput>
I can add the needed flag "-lraw" but I how can I remove the bad ld flag?
<steveeJ>
Mic92, colemickens: what's remarkable is the ratio of stars to forks, it's just 10% above 1. assuming the forks are a subset of the stars, almost everyone who likes the project contributes ;-)
OneLegend has left #nixos [#nixos]
astrofog has joined #nixos
<esotericn>
hm, I'm building a docker image for a python script, it's after /etc/protocols (otherwise it can't find the 'tcp' protocol from python)
<esotericn>
is there a nix package that includes these or should I make my own?
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
proofofkeags__ has joined #nixos
kenran has quit [Quit: leaving]
ddellacosta has joined #nixos
evanjs has quit [Ping timeout: 264 seconds]
mounty has joined #nixos
proofofkeags_ has quit [Ping timeout: 260 seconds]
astrofog has quit [Remote host closed the connection]
rprije has joined #nixos
evanjs has joined #nixos
<{^_^}>
[rfcs] @Lassulus opened pull request #81 → [RFC-0081] Show unmaintained packages → https://git.io/JIwoj
fuzzypixelz has quit [Read error: Connection reset by peer]
<adisbladis>
qyliss: I was just looking at it :)
fuzzypixelz has joined #nixos
fuzzypixelz has quit [Remote host closed the connection]
fuzzypixelz has joined #nixos
philr_ has joined #nixos
<chaoflow>
I messed up my firewall rules (local machine). How can I reset the rules to what is declared by configuration.nix? nixos-rebuild switch doesn't do it.
fendor has quit [Remote host closed the connection]
dotKuro has joined #nixos
endformationage has joined #nixos
<dotKuro>
Hello, I am fairly new to nix and I am trying to get zsh autocompletion for my password-store. I have zsh enabled as well as the password store. I checked the nix expression for the password store. I am not really fluent with nix yet, but for me it looks that the repo they install the program from contains the zsh-completion files. Maybe it is not
<dotKuro>
symlinked correctly or I am doing something wrong? Anyone here has some experience with that stuff?
heyitsrama has quit []
mallox has quit [Quit: WeeChat 3.0]
<colemickens>
dotKuro: are you willing to hack on the expression for password-store? The restic package, for example, seems to use "installShellCompletion" to do this the Nix way.
<infinisil>
colemickens: This isn't the problem. Both restic and pass contain the completion at the correct location in $out/share/zsh/site-functions
<infinisil>
dotKuro: Then I think you just need `programs.zsh.enable = true`
<infinisil>
With this, any packages installed with `environment.systemPackages` should have their completions available
ddellacosta has quit [Quit: WeeChat 2.8]
<dotKuro>
And yeah I would be willing to patch the expression and even contribute, but I think I am not able to at the moment. I'm just using nixOs since yesterday and Im still learning.
<dotKuro>
Hmm I have that. I installed pass through home-manager tho. That probably is the problem?
Qubasa has quit [Ping timeout: 258 seconds]
nadley has quit [Remote host closed the connection]
<Fare>
I recently rebased my branch off nixpkgs-unstable, and now nix eval fails with a weird error, after lots of weird warnings: anonymous function at /nix/store/7whqx4avdxn1aiv40j30k95lq4ra0hip-alpha/alpha/pkgs/build-support/fetchurl/boot.nix:5:1 called with unexpected argument 'hash', at /nix/store/7whqx4avdxn1aiv40j30k95lq4ra0hip-alpha/alpha/pkgs/development/interpreters/python/fetchpypi.nix:26:6
<Fare>
the warnings mention things like trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead!
<infinisil>
dotKuro: Oh yeah then you need to use home-manager's programs.zsh.enable
<Fare>
Looks like there's a conflict between two different versions of nixpkgs — but where do they come from?
<Fare>
infinisil, for instance, nix eval -f '<alpha>' 'gerbil-unstable'
ericsagn1 has quit [Ping timeout: 264 seconds]
esotericnonsense has quit [Ping timeout: 264 seconds]
Thra11 has quit [Quit: WeeChat 3.0]
<Fare>
BTW, I had to move pop.nix away from .../compilers/gerbil/ to lib/ otherwise I could not extend gerbil-utils using object infrastructure defined from within gerbil-utils without causing an infinite recursion
<infinisil>
Fare: Yeah it looks like nix eval by default does a deep strict evaluation, which typically causes these errors
<Fare>
:-(
<infinisil>
You could use --raw instead
<infinisil>
But I personally just use the stable command `nix-instantiate --eval file.nix -A attribute` to evaluate things
<Fare>
what does --raw or --json have to do with deep eval???
dominikh has quit [Ping timeout: 272 seconds]
<plfn>
taking that to mean it just doesn't have the drivers for my wifi card, so i tracked those down, but can't copy them into /sys/firmware on the liveusb. do i have to build a custom iso?
<dotKuro>
It does work now partially now.. I had oh-my-zsh enabled. It somehow kills the completion. It at least completes the subcommands now. It is still not able to autocomplete my secret names tho...
<{^_^}>
[nixpkgs] @adisbladis merged pull request #106607 → emacsPackages: mark some packages as broken → https://git.io/JIw6c
endformationage has quit [Ping timeout: 240 seconds]
<colemickens>
If I boot my system config in a VM, gnome-shell works. When I boot it on my actual real machine, I get a gkr-pam issue? Any idea what state I should clear out to make GNOME happy?
proofofkeags_ has quit [Remote host closed the connection]
<Fare>
the key is that instead having a list of super objects, you have a DAG of super-objects, and your linearize it into a precedenceList before your compose the prototypes together.
<Fare>
Instead of bottom, you can also extract from the precedenceList a default object to use as the base case of the fixed point.
<Fare>
so you get two features and one simplification: no special super-less function as the base of the extension, but a regular value.
<Yaniel>
hmm okay so clang standalone does find opencl-c-base.h it seems
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dotKuro>
Well, I think I actually found a bug in the zsh module of home-manager. In the generated .zshrc is comment that says that the file does not need to call compinit because oh-my-zsh does it in its initalization. But running compinit manually fixes the auto completion. So I guess it cannot be ommited.
oxalica1 has joined #nixos
<dotKuro>
Well thanks a lot for helping :3
oxalica has quit [Ping timeout: 258 seconds]
oxalica1 is now known as oxalica
erasmas has quit [Quit: leaving]
o1lo01ol1o has quit [Remote host closed the connection]
gustavderdrache has quit [Quit: Leaving.]
jybs has joined #nixos
<jybs>
Does anyone know how to create wireguard interfaces, but have them start down? (I use networkd)
raghavsood has quit [Remote host closed the connection]
kyren has left #nixos ["User left"]
<infinisil>
Fare: Well I read through most of it, but I don't really get it. These docs seem pretty bad for people who don't have your experience with CLOS, jsonnet, etc.
<infinisil>
There's many terms in there I have no idea what they even mean
<andi->
jybs: I am not sure that is possible at all with networkd