<{^_^}>
https://github.com/NixOS/nixpkgs/pull/108378 (by SuperSandro2000, 4 days ago, merged): pythonPackages: cleanups, test disabled if there are not tests, dependency fixes, add aliases for pytest packages with _
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
<supersandro2000>
kini: I have time right now actually
<kini>
great :)
<supersandro2000>
well but not build resources
<supersandro2000>
expect in the next day or so
<kini>
fwiw, pypy seems to be broken on master so I couldn't test that just now, but the build runs on all cpython versions on my laptop
<kini>
build on pypy did work the last time I checked a week ago, though
<kini>
BTW, I have another PR open (#106989) where the package maintainer has already approved it, but neither of us have merge permissions. What should I do in that case?
<thorn_>
howdy, i just did a fresh install of nixos 20.09, i was able to get wireless working with wpa_supplicant on the liveusb, but now that ive rebooted into my system its unable to pick up that i have a wireless interface. the configuration has networking.interfaces.wlp3s0.useDHCP = true;, which was automatically generated so it was able to see it, im just unsure why its not showing up with ip a now, where would
<thorn_>
i begin to look to solve this?
nnst^ has quit []
aswanson has quit [Ping timeout: 264 seconds]
<AWizzArd>
When installing then in my configuration.nix I can add a user, via users.users.myusername { ... }; – what is the difference between such users that are mentioned in the config and those that were created via useradd?
<artturin>
thorn_: check lspci -nnk does it have a driver
<artturin>
AWizzArd: one is declarative one is not
<lush>
colemickens thanks for all the help! I'm gonna continue this tomorrow
andreas303 has quit [Remote host closed the connection]
aexoxea has quit [Quit: Goodbye!]
andreas303 has joined #nixos
<AWizzArd>
artturin: ok, makes sense!
<supersandro2000>
Can I wrap the current dir for a java program?
<supersandro2000>
it tries to write a state file in its own directory...
amfl_ has joined #nixos
<{^_^}>
[nixpkgs] @c00w opened pull request #108822 → ipfs-cluster:: upgrage to unstable-2020-10 → https://git.io/JLp7O
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLpbu
h0m1 has quit [Ping timeout: 260 seconds]
Jd007 has joined #nixos
h0m1 has joined #nixos
ericsagnes has quit [Quit: WeeChat 3.0]
vonfry has joined #nixos
Jd007 has quit [Quit: Jd007]
muke has joined #nixos
thorn_ has joined #nixos
camsbury has quit [Ping timeout: 240 seconds]
<thorn_>
so i enabled redistributaleFirmWare and that helped a bit, but i still cant get it to connect to anythig, and after a reboot it dissapeared again
<thorn_>
sorry its just that this sort of thing is hard to find information on, i feel like im scrambling in the dark a little
kalbasit_ has joined #nixos
luxemboye has quit [Remote host closed the connection]
luxemboye has joined #nixos
bqv has quit [Quit: WeeChat 3.0]
<waleee-cl>
thorn_: just to elimenate it, you don't have both networking.wireless.enable = true; and networking.networkmanager.enable = true ?
bqv has joined #nixos
<bqv>
something's gone very wrong with my fonts
<bqv>
unless i'm missing something
<bqv>
i seem to have what looks like that weird dyslexia-friendly font as my emacs menu font
<bqv>
and iirc that's controlled by GTK's config
<bqv>
it's dead in here at this time, i guess
alexherbo2 has quit [Ping timeout: 246 seconds]
haritz has quit [Ping timeout: 256 seconds]
Jd007 has joined #nixos
haritz has joined #nixos
haritz has joined #nixos
haritz has quit [Changing host]
<adisbladis>
bqv: Most of europe is sleeping
_bin has quit [Read error: Connection reset by peer]
_bin has joined #nixos
donofrio has quit [Ping timeout: 240 seconds]
mkaito has quit [Quit: WeeChat 3.0]
<bqv>
I know
<bqv>
Thats why I'm awake, lol
<bqv>
Some goddamn peace and quiet at this hour...
<adisbladis>
^_^
<adisbladis>
Sorry to disturb
* infinisil
is awake :)
<bqv>
i mean irl, not irc
<bqv>
i'm mostly nocturnal
<bqv>
and it's very intentional
<infinisil>
Same
<infinisil>
I'm currently thinking more about secret management in Nixus
<bqv>
infinisil: just switched everything from git-crypt to a local repo flake that should be accessible over ssh from all hosts. I just wanted to make my flake pure again
<fuzzypixelz>
it's apparently supposed to just throw an error saying that the pkg name changed, but my system wouldn't actually build because "Alias ant-dracula-theme is still in all-packages.nix"
<bqv>
but i'm also very interested in agenix
<infinisil>
bqv: You mean accessible from all deployment hosts for being able to build the configuration?
<fuzzypixelz>
Apparently the person who did this didn't realize?
<bqv>
infinisil: yeah. that's the issue that i had with having local repos otherwise
<fuzzypixelz>
or is this some sort of bug?
<bqv>
i only ever deploy from one host anyway, but y'know, futureproofing
<bqv>
(it also allows me to use hydra)
<infinisil>
bqv: I see, yeah in my case I also have a private git submodule on my server
<infinisil>
bqv: An alternate approach, and I might go for that in the future, is to flip it around: Have the top-level be secret, and the public part be a submodule (or flake dependency)
<bqv>
i considered that too, you know
<bqv>
somewhere in my git history i added a flake.nix to my secrets subdir
<infinisil>
Why did you not go for that in the end?
<bqv>
iirc because it didn't exactly solve the issue of having the files git-crypted in the same repo
<bqv>
and what i was after was being able to use hydra, mainly
<bqv>
i gain nothing from it being toplevel if it's out of the repo, really
donofrio has joined #nixos
<fuzzypixelz>
this doesn't happen with other aliases in aliases.nix, only ant-dracula
<infinisil>
fuzzypixelz: In git, if multiple branches change lines next to each other it can give a merge conflict which you need to resolve manually to be able to merge a PR
mzan has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<infinisil>
In this case the conflict comes from this PR introducing the bottom lines and in parallel to that the attribute being renamed
aw has joined #nixos
<infinisil>
And the person manually resolving the merge conflict made a mistake in the resolving
spacefrogg has joined #nixos
<fuzzypixelz>
huh, so one should be careful about modifying unecessary lines, or looking at merge conflicts very carefully
<bqv>
logs from ages ago indicate srhb saying most people patch that setting out
<energizer>
can i make a symlink in the store that points out of it?
cole-h has joined #nixos
<energizer>
i'm dealing with an application that like to write a particular file in its package directory during operation. this fails because it's in the store. i'm not sure how to patch it to change the path, and i'm wondering if there is a hacky way to manage this problem
<thorn_>
you might be able to do some really hacky patchelf shenanigans to change the path in the binary?
<thorn_>
thats gross though
<bqv>
hang on, this isn't even my fault, i'm pretty sure this is a nix bug
<viq|w>
sphalerite: vda and vdb device nodes are there. zpool import -f zroot worked, and after exiting the rescue shell system continued to boot normally (I rebooted before letting it fully finish). Reboot after that - same failure as before.
<sphalerite>
viq|w: hm, interesting. What does zpool import without -f say?
<viq|w>
right now "zpool import zroot" in debug shell worked without issue
<sphalerite>
and normal boot still doesn't work?
<{^_^}>
[nixpkgs] @urbas opened pull request #108841 → pkgs.common-updater-scripts: update-source-version name singular → https://git.io/JLhT0
<viq|w>
^D asks for password, then continues to boot normally. I'll let that finish, then reboot without touching, and see what happens
malook has quit [Quit: malook]
<viq|w>
hmmm, righ now I'm getting just a blinking cursor after "Finished Disable kernel module loading."
attila_lendvai has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
<viq|w>
sphalerite: I'll be AFK for a couple of hours, I'll leave it like that and see if it gets anywhere given time
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLhTi
hiro98 has quit [Read error: Connection reset by peer]
hiro99 has joined #nixos
hiro98 has joined #nixos
hiro100 has joined #nixos
hiro99 has quit [Ping timeout: 264 seconds]
hiro98 has quit [Ping timeout: 256 seconds]
hiro100 is now known as hiro98
alexherbo2 has joined #nixos
fendor has joined #nixos
<marble_visions_>
hi nixos! can I get some guidance about the following: I've got a binary-only piece of software (segger's ozone debugger) that's offered as a deb, rpm, and tgz.. which one should I choose as a starting point of a nix derivation?
<{^_^}>
[nixpkgs] @adkabo opened pull request #108843 → cmdstan: bump to 2.25.0 → https://git.io/JLhkL
<marble_visions_>
i guess that should be the tgz, as it's most package man independent
<marble_visions_>
but if there are nix helper functions already, can I just use those to work with the deb/rpms?
* edcragg
is a little bit confused as to why his unstable install is attempting to rebuild variously: gcc, glibc, bash, coreutils and probably more (guessing that means everything)
ericsagnes has joined #nixos
<edcragg>
with nixos-rebuild --upgrade switch
<edcragg>
have i somehow caught it at a time that the CI has incomplete builds or something?
<clever>
edcragg: the channel only updates after CI has completed things
<edcragg>
cool, makes sense :)
dsg has joined #nixos
dsg_ has joined #nixos
dsg has quit [Client Quit]
<edcragg>
still, i have no idea what's going on then
<{^_^}>
[nixpkgs] @andir opened pull request #108850 → pcsc-cyberjack: fix compilation with gcc10 → https://git.io/JLhty
<lush>
https://github.com/NixOS/nixpkgs/issues/91314 is this getting ported back to the current stable version of Nix OS? I can't seem to use rust to build a package on my system rn, but I'd rather not change to unstable just to make a small package work
<{^_^}>
#91314 (by witchof0x20, 28 weeks ago, closed): Rust Nightly is missing a library
attila_lendvai has quit [Ping timeout: 256 seconds]
<kraem>
anyone experiencing problems with mounting zfs after commit e44a4abdbeb (zfs 2.0.0 -> 2.0.1)? it successfully imports the pool but errors out with "filesystem '/data' cannot be mounted, unable to open the dataset". i've reverted e44a4abdbeb on latest master and it seems to be working again..
GabrielVolpe[m] has quit [Quit: Idle for 30+ days]
acarrico has joined #nixos
rb2k has joined #nixos
<cloud>
is there currently a procedure for testing GPU-related derivations? if not, is there a preferred place to put scripts that can't run in CI but should be run manually?
<fuzzypixelz>
this little flake.nix https://bpa.st/ITBQ file is driving me crazy, it keeps throwing a "infinite recursion encountered" when I try passing in my overlays
Rusty1 has left #nixos ["Konversation terminated!"]
aswanson has joined #nixos
<fuzzypixelz>
I'm trying to get more debugging info but "cached failure of attribute 'nixosConfigurations.omicron.config.system.build.toplevel'" doesn't allow me to
<fuzzypixelz>
I tried checking other people's flake.nix files and it doesn't seem like I'm doing anything differently
h0m1 has joined #nixos
muke has joined #nixos
langovet[m] has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
shibboleth has joined #nixos
linuxct[m] has joined #nixos
<cloud>
does anyone know why the nvidia docker runtime requires DRI 32-bit support installed?
<Cadey>
how do i make the nixos firewall only affect packets from the internet instead of over a VPN?
<Cadey>
ah
<Cadey>
networking.firewall.trustedInterfaces
aswanson has quit [Ping timeout: 256 seconds]
<noonien>
how can i test a nixos configuration in a flake?
jlamothe has joined #nixos
<noonien>
i'd like to run the configuration in a VM
vidbina_ has quit [Ping timeout: 272 seconds]
<{^_^}>
[nixpkgs] @bmilanov opened pull request #108868 → segger-ozone: init at 3.22a → https://git.io/JLhl9
<noonien>
i've discovered `nixos-rebuild build-vm --flake .#my-host`, which seems to be working, as in, it generates a vm. however, when running it, i get the systemd journal, however, after that finishes, i just get a blank screen in the VM. is this normal?
<tpw_rules>
that link says because it has a dev output
jakobrs has quit [Client Quit]
oxalica has quit [Quit: oxalica]
jakobrs has joined #nixos
<__monty__>
Used as an input -> dev output, installed in and of itself -> out output, something along those lines.
<jakobrs>
Sorry my graphics driver crashed so I had reconnect
<__monty__>
jakobrs: What I sent was in reply to you.
<jakobrs>
But if the dependency is actually used *as a dependency* (that is linked to) won't it need the out output as well?
<__monty__>
Aren't shared libs what the dev or lib outputs are for?
<jakobrs>
The dev output contains headers, but not the libraries themselves.
vidbina_ has joined #nixos
orivej has joined #nixos
<__monty__>
Hmm, the package's propagatedBuildOutputs should be added as well if I'm reading it correctly. And that would contain the lib output by default.
<armin>
well you can update systemd-boot with it, but i wonder when i should do that.
<azazel>
I think that if you have your boot config settings to use EFI, it does that automatically, if necessary
<armin>
ah ok
<azazel>
veleiro: system.activationScripts
<nh2[m]>
m1cr0man: I need to go for a while, can resume later or tomorrow. So far the response body seems to be read and nothing interesting in there; will print a bit more though
<nh2[m]>
m1cr0man: another thing we might try is to use a newer lego release, 20.09 has 3.8 and newer sis 4.*
<veleiro>
thank you
<veleiro>
azazel++
<{^_^}>
azazel's karma got increased to 2
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<nh2[m]>
m1cr0man: the response body is indeed simply this piece of JSON: `{"type": "urn:ietf:params:acme:error:malformed", "detail": "JWS verification error", "status": 400 }`
berberman has joined #nixos
<energizer>
what is the difference between what fetchFromGitHub does and what fetchurl {url="https://github.com... does?
<betawaffle>
are the `_file` and `key` attrs necessary when defining a nixos module inline?
EncodePanda has joined #nixos
<EncodePanda>
hey, is this the right place to ask Nix + MacOS questions? :) Channel is named #nixOS but I recon it's "all the nix things" right? :)
<betawaffle>
it is, yes
<gchristensen>
yep! sometimes we'll direct you to #nix-darwin, but this is a good place to start
<EncodePanda>
I have fresh Mac installed, I'm trying to configure my Mac using Nix (and home-manager) as far as i can get
rb2k has quit [Client Quit]
<EncodePanda>
among other programs I've installed I've added `git`
<EncodePanda>
but each time I enter new shell
veleiro has quit [Remote host closed the connection]
zebrag has quit [Quit: Konversation terminated!]
<EncodePanda>
MacOS pops out a system message saying sth like "hey, you are trying to use git, that cute and all but you need to install *command line tools* from Apple"
zebrag has joined #nixos
<EncodePanda>
git works fine bit and `which git` points to the binary installed by Nix
<EncodePanda>
is there a way to make my mac happy?
<tpw_rules>
EncodePanda: you really should install that anyway. it includes for example the compiler, so nix won't be able to build anything that isn't in the cache if you don't
<EncodePanda>
tell it sth like "chill, I will install all my dev tools via Nix, I don't need your help"
malook has joined #nixos
<tpw_rules>
or rather bootstrap itself
malook has quit [Client Quit]
<EncodePanda>
but it install C-libs as well right?
<tpw_rules>
what does?
<EncodePanda>
I thought I could just uses stuff from nix, why nix can not have the compiler in cache and I could download it at use it
<EncodePanda>
I mean as a last resort I'm gonna install it
<EncodePanda>
but I thought that I could have self sustained env that I could later pin
<EncodePanda>
so that my setting would be "reproducible"
<EncodePanda>
but If I install Apple's command line tools, I will have binaries that are outside of Nix, that Apple my change (versions can break etc)
<EncodePanda>
on my last Mac I had those installed along with Nix
<EncodePanda>
I was just hoping that this time I could avoid it :)
respawn_ has joined #nixos
<tpw_rules>
iirc on macos it has to use the installed sdk
EncodePanda has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @urbas opened pull request #108880 → nixos/sd-image-aarch64-base: extracted from sd-image-aarch64 → https://git.io/JLhzU
veleiro has joined #nixos
sangoma has joined #nixos
<tpw_rules>
it's totally possible i'm wrong though
aveltras has joined #nixos
dsg has joined #nixos
<tpw_rules>
does the message happen when you type git or when you start a shell?
creme[m] has joined #nixos
<{^_^}>
[nixpkgs] @ajs124 opened pull request #108881 → nixos/tmp: fix reboots after 56d7e7492cbf2d61bd570f5b0a8015040e80aae9 → https://git.io/JLhzn
orivej has joined #nixos
<m1cr0man>
nh2[m]: Yeah a newer version might help, but I wouldn't be too hopeful. Also nice one tracking down the response JSON. I'm done with acme for today though, ttyl :)
<{^_^}>
[nixpkgs] @NeQuissimus pushed 11 commits to master: https://git.io/JLh24
lsix has quit [Ping timeout: 264 seconds]
gustavderdrache has quit [Quit: Leaving.]
<{^_^}>
[nixpkgs] @NeQuissimus pushed 5 commits to release-20.09: https://git.io/JLh2P
<noonien>
is there any documentation for `lib`? and, is there a better way of doing `networking.timeServers = options.networking.timeServers.default ++ [ "time.cloudflare.com" ];`?
cloud has quit [Quit: WeeChat 3.0]
<lukegb>
probably using lib.mkAfter
<lukegb>
e.g. `networking.timeServers = lib.mkAfter [ "time.cloudflare.com" ];`, although it's possible I've forgotten something that would mean that doesn't work
<noonien>
great! is there a way to find documentation for functions like mkAfter?
turion has quit [Quit: Leaving.]
pbox has joined #nixos
bn_work has quit [Quit: Connection closed for inactivity]
<pbox>
hi, a friend helped me setup a python development environment using nix + direnv. can anyone help me add jupyter notebook and fasttext libraries? do I just need to edit default.nix?
<CptCaptain>
Is it still possible to install Airwave? I tried going to the provided link but I can't find that specific version of the vst sdk. If I try to change it to a newer version it doesn't build anymore.
<fuzzypixelz>
can anyone please explain to me why did I get infinite recursion when I was passing overlays = [ import ./file.nix ] instead of [ (import ./file.nix) ]?
<fuzzypixelz>
now I realize that [ f 42 ] is not not the same as [ (f 42) ] , but but the recursion?
<noonien>
well, i've had so many issues with this that i'm considering adding qt5.full to my systemPackages
<noonien>
the github issues for these problems are usually dead
<samueldr>
be careful, it *could* break your login session in the past, if somehow mixing Qt in Plasma
<noonien>
i see, glad i didn't do that then
<samueldr>
I *think* it's been validated to not break when the current "solution" was implemented though
<samueldr>
though it's definitely not been verified to still be safe
cole-h has joined #nixos
<lcvass>
calinng python after 'nix-shell -p qt5.full' does not fix it
camsbury has joined #nixos
<samueldr>
lcvass: the python program (pandas was it?) is coming from the same nixpkgs revision as what nix-shell would use, right?
<samueldr>
and, why it's important: pandas (was it?) is using the same Qt5 version as the default qt5?
* samueldr
checks
<lcvass>
no, I am using nixos stable but all python packages unstable
<lcvass>
the unstable version of python5 is marked as broken
<lcvass>
of qt5.full*
<lcvass>
And even having allowbroken=true on my system it does not install
<samueldr>
right, they could be of different versions, thus wouldn't be found
heyitsrama has joined #nixos
<samueldr>
lcvass: I want to check something, how can I reproduce the error succintly with pandas? I never used that
<Unode>
hi everyone. I have a shell script that has a nix-shell shebang. On the same system, I have also a monthly nix-store garbage collection. This causes the data installed by the script to be deleted every month. I'm familiar with using nix-build and outlinks to prevent GC but I can't seem to find info on how to do this with nix-shell when using from a shebang. Does anyone know if this is possible or
<Unode>
have any example that could share?
<lcvass>
pd.DataFrame([1,2]).plot()
<samueldr>
lcvass: sorry, really not using that at all, from my shell, how would I even start that :)
<lcvass>
run "python"
<lcvass>
import pandas
<samueldr>
I guess I need to import pandas somehow then?
<samueldr>
heh
<lcvass>
pandas.DataFrame([1,2]).plot()
<samueldr>
thanks
Jd007 has quit [Quit: Jd007]
<lcvass>
the same happens on: `import matplotlib.pyplot as plt; plt.plot([1,2])` as pyplot is the backend
<{^_^}>
[nixpkgs] @dbueno opened pull request #108887 → fetchzip: fix commands following extraPostFetch → https://git.io/JLhrq
<lcvass>
If you have any ideas no matter how hacky it is to fix please let me know
<armin>
i somewhat love the "no matter how hacky it is" part of this
<armin>
hm, did you consider a virtualenv, yet?
thibm has quit [Quit: WeeChat 2.9]
<noonien>
lcvass: i might have missed it, but how do you define that you use the pandas package in nix?
detran_ has quit [Ping timeout: 272 seconds]
<samueldr>
lvmond__: sorry, have you done anything else to make it use Qt? running the mathplotlib repro returns a matplotlib.lines.Line2D object
<samueldr>
oops, lcvass*
<samueldr>
(I've done it in the simplest way, `nix-shell -p python3Packages.matplotlib` for what it matters)
<lcvass>
did you call .plot?
<samueldr>
copied your example verbatim in the REPL `import matplotlib.pyplot as plt; plt.plot([1,2])`
<lcvass>
yep that definitely is enough to crash on my system
<samueldr>
both from unstable and from 20.09 (running on a 20.09 system) I'm getting `[<matplotlib.lines.Line2D object at 0x7f60a75e7400>]` as a result, nothing else
zupo has quit [Ping timeout: 246 seconds]
lsix has quit [Remote host closed the connection]
<lcvass>
noonien: with unstable.python38.withPackages(ps: with ps; [pandas ...]
lsix has joined #nixos
<samueldr>
just looked, matplotlib doesn't enable Qt by default
<{^_^}>
[nixpkgs] @ttuegel opened pull request #108888 → Qt: Do not require mkDerivation → https://git.io/JLhri
<{^_^}>
[nixpkgs] @jonringer pushed commit from @fabaff to master « python3Packages.ldappool: fix build »: https://git.io/JLhKU
pushqrdx has joined #nixos
<energizer>
is that allowed in nixpkgs?
<cole-h>
No
<cole-h>
,ifd
<{^_^}>
import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
andreas303 has quit [Remote host closed the connection]