<omnipotententity>
I'm having what is probably an easy to solve issue. I'm trying to run a python script that is importing opencv using the module 'cv2'. I attempted to add pythonPackages37.opencv to my nix.shell file (along with other dependencies) and the module cv2 is still not being found. Furthermore, $PYTHONPATH doesn't seem to contain a path to the package folder in /nix/store and /nix/store itself doesn't seem to have a folder for the pyth
<omnipotententity>
Any hints?
mkoenig has quit [Remote host closed the connection]
<omnipotententity>
ok, I've figured out why there isn't a python37 folder for it in the nix store. It's because python37Packages.opencv chain calls into the standard opencv install process with a python flag set. And I do have two opencv folders in nix store, one for the runtime one for the package.
<omnipotententity>
But I can't figure out where the built module lives in either of these folders.
<omnipotententity>
however, it seems like toPythonModule is supposed to name things properly?
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj6N6
Rusty1 has joined #nixos
<omnipotententity>
According to https://github.com/NixOS/nixpkgs/issues/45506 I should always use python.withPackages. This does not seem to help me at the moment though. I get the same behavior.
<{^_^}>
#45506 (by tolstikh, 45 weeks ago, closed): Cannot have OpenCV binding for python 2 and python 3 active at the same time
fusion809 has joined #nixos
adamantium has joined #nixos
andymandias has quit [Ping timeout: 258 seconds]
ggpeti has joined #nixos
<ggpeti>
hiya, just stumbled upon something
<omnipotententity>
hiya
<ggpeti>
how is it possible to use fetchTarball without a sha256 even though nix.useSandbox is true?
<omnipotententity>
I have no idea.
<ggpeti>
I have looked around in the manual, there seems to be no acknowledgement of the fact that fetchTarball is impure
<ggpeti>
but now with just a bit more poking around I see "restrict-eval"
Ralith_ has joined #nixos
<clever>
ggpeti: there is an allowed-uris in `nix show-config` that acts as a whitelist of impurities
<ggpeti>
which is empty in my case
<clever>
ggpeti: youll want to set it in nix.conf
<DigitalKiwi>
if anyone has been following my baloo saga...it's currently indexing and seems to be working so far
<ggpeti>
no, I want to have a pure build
<omnipotententity>
A build so pure you do it without source code?
<ggpeti>
snarky but wrong
<omnipotententity>
I'm good at that.
<omnipotententity>
snarky and wrong
<ggpeti>
source code with the sha256 in advance
<gchristensen>
ggpeti: that is true, and a bit surprising I agree
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
adamantium has quit [Remote host closed the connection]
psyanticy has quit [Quit: Connection closed for inactivity]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
drakonis_ has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
amakthel has quit [Ping timeout: 252 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @JohnAZoidberg opened pull request #64364 → Allow NetworkManager and wireless together → https://git.io/fj6AU
Drakonis has quit [Ping timeout: 264 seconds]
mexisme_ has joined #nixos
amakthel has joined #nixos
stepcut has joined #nixos
<{^_^}>
[nixpkgs] @aanderse opened pull request #64365 → nixos/tt-rss: remove deprecated usage of PermissionsStartOnly, specify a group to run service as, and fix local pgsql da… → https://git.io/fj6AT
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
Drakonis has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
ggpeti has quit [Remote host closed the connection]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
iqubic has joined #nixos
stepcut has quit [Remote host closed the connection]
<iqubic>
Is there any way I can check what sort of graphics card I have?
drakonis_ has quit [Ping timeout: 258 seconds]
nuncanada has quit [Remote host closed the connection]
<lokatu>
BTW, I was planning to ask, do you know how to disable AccountService, or LightDM, to write `/var/lib/AccountService/users/<username>` and set the `session` or `XSession` value?
<lokatu>
infinisil: Yes I'm notified
mexisme_ has quit [Ping timeout: 252 seconds]
spacefrogg has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
<samueldr>
infinisil++ good feature
<{^_^}>
infinisil's karma got increased to 107
jb55 has quit [Ping timeout: 260 seconds]
jb55 has joined #nixos
phreedom has joined #nixos
<iqubic>
msg nickserv password
<iqubic>
I didn't get a PM.
<lokatu>
Source says you msg should match `nickserv identify .*`
<lokatu>
And I get a PM again:b
<iqubic>
I didn't get any PM.
mexisme_ has joined #nixos
<DigitalKiwi>
you didn't do the spell right
<lokatu>
You didn't add `identify` after nickserv
<iqubic>
msg nickserv identify password
<iqubic>
Ah, there we go.
<iqubic>
Working as inteded.
<iqubic>
I just have my IRC client automatically log me in.
lokatu has quit [Remote host closed the connection]
nuncanada has quit [Ping timeout: 248 seconds]
freeman42x has quit [Quit: Leaving]
jackdk has quit [Quit: Connection closed for inactivity]
bsima has joined #nixos
ericsagnes has joined #nixos
<lordcirth__>
Freenode supports SASL, so your client should be able to log you in during handshake without any Nickserv messages
deech has joined #nixos
init_6 has quit []
mexisme_ has joined #nixos
ericsagnes has quit [Ping timeout: 245 seconds]
deech has quit [Ping timeout: 245 seconds]
ilikeheaps has quit [Ping timeout: 245 seconds]
ilikeheaps has joined #nixos
lisanna[m] has joined #nixos
alp has quit [Ping timeout: 252 seconds]
amakthel has quit [Ping timeout: 252 seconds]
iyzsong has joined #nixos
<{^_^}>
[nixpkgs] @solson opened pull request #64367 → cue: init at 0.0.3 → https://git.io/fj6Ay
ericsagnes has joined #nixos
mexisme_ has quit [Ping timeout: 252 seconds]
pie_ has quit [Ping timeout: 252 seconds]
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 252 seconds]
mexisme_ has joined #nixos
Supersonic has quit [Ping timeout: 276 seconds]
adamantium has joined #nixos
<adamantium>
Hey guys i'm in the middle of nixos-rebuild switch and it has been working fine, can't figure out why just a minute ago, it fails to build https://dpaste.de/mBMb
Supersonic has joined #nixos
mexisme_ has quit [Ping timeout: 252 seconds]
<adamantium>
builder for '/nix/store/q8s8764rxwn1lbq2w5r7xkkvm9hdz5sl-home-manager-path.drv' failed with exit code 255
mexisme_ has joined #nixos
lunik144 has quit [Quit: :x]
lunik144 has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
amakthel has joined #nixos
adamantium has quit [Remote host closed the connection]
lisanna[m] is now known as Lisanna[m]
mexisme_ has quit [Ping timeout: 264 seconds]
mexisme_ has joined #nixos
Lisanna has quit [Quit: Lisanna]
Lisanna has joined #nixos
Lisanna has quit [Client Quit]
<{^_^}>
[nixpkgs] @teto pushed commit from @rvolosatovs to master « vimPlugins: Update »: https://git.io/fj6xk
<{^_^}>
[nixpkgs] @teto pushed commit from @r-ryantm to master « iperf: 3.6 -> 3.7 »: https://git.io/fj6xY
mexisme has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
jluttine has quit [Ping timeout: 272 seconds]
adamantium has quit [Remote host closed the connection]
mexisme_ has joined #nixos
<clever>
collision between `/nix/store/qgalsdxj9d55s403vhlw0lkz8bcvy1qw-git-2.22.0/share/info/git.info' and `/nix/store/8p3nm8rjr0rhaa2mqfz0zmzayxk9cn39-git-2.22.0/share/info/git.info'
<clacke_movim>
I woild telk ambro718 to put a key to the non-root fs in the root fs, but they left
hio has joined #nixos
jluttine has joined #nixos
slack1256 has quit [Ping timeout: 258 seconds]
slack1256 has joined #nixos
mexisme_ has quit [Ping timeout: 252 seconds]
init_6 has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.4]
lord| has quit [Ping timeout: 272 seconds]
palo1 has joined #nixos
lord| has joined #nixos
jluttine has quit [Ping timeout: 268 seconds]
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
jluttine has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
mac10688 has quit [Ping timeout: 258 seconds]
dansho_ has quit [Ping timeout: 244 seconds]
dansho_ has joined #nixos
Sir_Cheer has joined #nixos
gagbo has joined #nixos
domogled has quit [Quit: domogled]
jackdk has joined #nixos
caum has quit [Quit: Lost terminal]
domogled has joined #nixos
lambda-11235 has quit [Quit: Bye]
v88m has quit [Remote host closed the connection]
v88m has joined #nixos
andymandias has quit [Ping timeout: 272 seconds]
cdepillabout has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
shandogs has joined #nixos
cjpbirkbeck has joined #nixos
domogled has quit [Quit: domogled]
domogled has joined #nixos
rprije has joined #nixos
shandogs has quit []
<jackdk>
omnipotententity: I think the common practice seems to be there's a "withPackages" sorta function for each runtime, and that gets you a custom environment with the interpreter and its deps. What if you try `python37.withPackages(p: [p.opencv])`?
<Sir_Cheer>
omnipotententity: I think the common practice seems to be there's a "withPackages" sorta function for each runtime, and that gets you a custom environment with the interpreter and its deps. What if you try `python37.withPackages(p: [p.opencv])`?
Sir_Cheer has left #nixos [#nixos]
init_6 has quit [Ping timeout: 272 seconds]
andymandias has joined #nixos
___laika has joined #nixos
<___laika>
anyone using iohk's haskell.nix build infrastructure? im having trouble getting a dev environment working... i feel like ive set everything up properly, and its trying to build some things, but none of the `nix run` commands i run have `ghc` exposed in them
v88m has quit [Ping timeout: 272 seconds]
<clever>
___laika: there is #nix-tools on irc
anon has joined #nixos
anon is now known as Guest67914
clacke_movim has left #nixos [#nixos]
clacke_movim has joined #nixos
<___laika>
clever++
<{^_^}>
clever's karma got increased to 144
mexisme_ has joined #nixos
Drakonis has quit [Remote host closed the connection]
<WilliamHamilton>
can `overrideCabal` make redundant my call to `callHackageDirect`? I don't think so, but still
<WilliamHamilton>
in the sense, can I do directly with `overrideCabal` part of what I did with `callHackageDirect`?
___laika has quit [Ping timeout: 245 seconds]
<{^_^}>
[nixpkgs] @abbradar pushed commit from @nyanloutre to release-19.03 « steamrt: fix update script »: https://git.io/fj6pD
<clever>
WilliamHamilton: depends on if the deps are changing or not
<WilliamHamilton>
clever: what do you mean?
<clever>
WilliamHamilton: overrideCabal on the sha256+version or src would upgrade the package, but not provide it with a new dep it needs
<clever>
callHackageDirect would parse the cabal file, and then get all of the deps it wants from haskellPackages
<alienpirate5>
can't rebuild because of a build error in qtbase-5.12.0
<alienpirate5>
therefore i can't edit my system config :/
<clever>
alienpirate5: what depends on qtbase?
<alienpirate5>
how do i find reverse dependencies?
<WilliamHamilton>
clever: hmm, so in here https://gist.github.com/b1f2d4f15cc88b0f72f842aa57503ee2 I shouldn't use it in place of `callHackageDirect` because it's an overlay and so the result could depend on the other fields?
<clever>
alienpirate5: the error at the end already tells you that, can you pastebin the output of nixos-rebuild?
<alienpirate5>
oh yeah
<alienpirate5>
it's wine
<clever>
alienpirate5: and now you can decide if you want to go without wine for a bit or not
<alienpirate5>
i see
<clever>
WilliamHamilton: dont quote the path on line 31, that breaks things
<clever>
WilliamHamilton: same for 45
<clever>
WilliamHamilton: the rest all looks good at a glance
<WilliamHamilton>
clever: yes, but I'd like to use overrideCabal to make up for the lack of composition, could that also substitute `callHackageDirect` in this case?
FRidh has joined #nixos
<clever>
WilliamHamilton: yeah, you should be able to run overrideCabal on the result of callHackageDirect
<WilliamHamilton>
and should I also be able to substitute the call to `callHackageDirect` adding more parameter to `overrideCabal`?
<angerman>
gchristensen: setting up a new mac, having `LABEL=NIX /nix hfs rw` in `/etc/fstab` and I was able to run the installer without any issues. I was going to lookup that define you showed me during ZuriHac, but didn't need to. Hooray!
<ejpcmac>
Hi! While trying to install NixOS, I’m getting: `error: gettings attributes of path '/nix/store/****-compress-man-pages.sh': no such file or directory`
<Miyu-chan>
Okay. This is a stupid question. How do I use `nix-shell --run` with an argument to the inner process? I need it to work just like a normal binary.
<Miyu-chan>
This is simple with `nix run` because you can just use `-c $@`
<FRidh>
so why use nix-shell --run ?
Yakulu[m] has joined #nixos
<Miyu-chan>
`nix-shell` puts you in the environment. `nix run` puts it into $PATH
<Miyu-chan>
I 100% would use `nix run` if I could.
<FRidh>
so you rely on whatever the build hooks set?
<Miyu-chan>
Pretty much.
<FRidh>
Any reason for not doing that in a wrapper, which is invoked with nix run?
<Miyu-chan>
What do you mean?
<FRidh>
well, nix-shell is for developing the package in question, and for that gives you an environment as close as possible to the build environment. Are you developing the package?
<Miyu-chan>
Yeah, but I want IDE integration, basically.
<manveru>
Miyu-chan: does your editor have direnv support?
<statesman>
/
statesman has quit [Client Quit]
<Miyu-chan>
Emacs
<manveru>
then yes :)
<Miyu-chan>
Oh. That's what direnv is.
<turbo_MaCk>
Hi, I have an issue on my Desktop running nixos. $ nixos-rebuild breaks internet connection in the middle (seems like DNS). Restarting network manager service helps but I can't finish the upgrade of the system as rebuild itself hangs forever on network issue
<manveru>
Miyu-chan: i use direnv+nix-shell+lorri+emacs
<manveru>
via direnv-mode
<Miyu-chan>
From what I understand, direnv is kinda like project-specific environments?
<manveru>
pretty much
<Miyu-chan>
Hm.
<manveru>
you can just put `use nix` in your .envrc for that project, and it'll grab the env vars from the nix-shell and put them in your current session
<manveru>
until you leave the dir
<Miyu-chan>
Oh.
<Miyu-chan>
OH
<Miyu-chan>
That sounds amazing wtf
<manveru>
direnv-mode does the same, but on per-buffer basis
<manveru>
and lorri is so you never have to wait for nix-shell to build, it puts the evaluation in the background so you can get work done meanwhile :)
<manveru>
sorry, i gotta go, hope that helps
<Miyu-chan>
Thanks, will check it out!
<Miyu-chan>
Holy crap. I think I was trying to make lorri in Nix lmao
<Miyu-chan>
Glad to know that this is already a thing.
<Miyu-chan>
Err lorri in Elisp*
<thefloweringash>
turbo_MaCk: I think I've seen this. If I had to guess, when networkmanager switched to building with meson the default for rc-manager changed from resolveconf to symlink. let me check this claim
Ariakenom has quit [Read error: Connection reset by peer]
GiGa has joined #nixos
<GiGa>
Hello
<GiGa>
Anyone got any tips on an application to display system temperatures?
<GiGa>
Interested in checking my CPU, GPU, HDD and anything else I can monitor
orivej has joined #nixos
<turbo_MaCk>
thefloweringash: Thanks for looking. I think I can probably check resolf.conf quite easily
<turbo_MaCk>
The interesting thing is that I've never ran into this with my laptop though I'm running almost the same configuration (but of course network setups is indeed slightly different)
GiGa has quit [Quit: Leaving]
<Miyu-chan>
GiGa: is always a safe bet?
<Miyu-chan>
Welps.
<Miyu-chan>
He's gone.
slack1256 has quit [Ping timeout: 246 seconds]
<Miyu-chan>
Was going to suggest that thing that writes to the background.
<Miyu-chan>
Conky
<thefloweringash>
so the thing that breaks my dns on nixos-rebuild would be fixed by #60904
<arianvp>
Is there a way to decrease verbosity of nixos tests?
<arianvp>
like? Im running this test, one test case failed, but there is 100k logs
<arianvp>
and I need to grep through them to see what failed
<arianvp>
and it only teslls me "1 test case failed" but didn't tell me _which one_ failed
<turbo_MaCk>
well I can run rebuild. it just breaks in the middle. Not sure in which phase it breaks to be honest so I'm not sure if changing the target configuration (configuration.nix) can fix that
<thefloweringash>
turbo_MaCk: if you can't rebuild, something like `sudo cp --remove-destination $(readlink -f /etc/NetworkManager/NetworkManager.conf) /etc/NetworkManager/NetworkManager.conf` will make the config file editable, and then you can add the `rc-manager = resolvconf` to the `[main]` section with a regular editor
<thefloweringash>
oh, this particular thing has been fixed in nixos-unstable in the module system instead of the package defaults by #61949
<turbo_MaCk>
on 2nd rebuild I see no error on nss-caret download yay!
<turbo_MaCk>
so in fact system config was rebuilded, it just failed on last step it seems
<turbo_MaCk>
thefloweringash: thanks a lot! Not sure if I would be able to resolve it without your help! Certainly it would take me much longer. I owe you a beer
<thefloweringash>
turbo_MaCk: no problem :-)
knupfer has quit [Remote host closed the connection]
<yunratobe>
chromium vaapi seems doesn't work for me, it use VpxVideoDecoder on chrome://media-internals. Even though I have followed https://nixos.wiki/wiki/Accelerated_Video_Playback, but mpv can use vaapi
<turbo_MaCk>
thefloweringash: no problem anymore :D If you'll be on nixconf I'm going to find you with that beer in my hand.
<thefloweringash>
there's a pretty good chance I'll be at nixconf
<turbo_MaCk>
thefloweringash: Great. I'l be there for sure as I live in Brno. I'll ping you there once its up so I can find you. See you there!
<m1cr0man>
Is it possible to import nix code from a git repo without first downloading it and then specifying a local path? I'm wondering if it's possible to specify a url or pass fetchFromGithub in an import statement
<turbo_MaCk>
m1cr0man: it is. But you need to know sha256 upfront
<{^_^}>
[nixpkgs] @vcunat pushed 283 commits to staging-next: https://git.io/fj6js
<m1cr0man>
turbo_MaCk, Perfect, thanks! Providing the sha256 is grand. It's just that I want it to auto download.
<turbo_MaCk>
thank I think it's exactly what you need.
Arahael has joined #nixos
<cxx_newb>
I want to setup latex will only the packages I need (which I am currently trying to figure out). I install latex with texlive.combine which only contains latexmk and scheme-small for now. I now want to iteratively add packages to resolve errors like my current error "'fullpage.sty' not found". Unfortunately I don't know which texlive package to add
<cxx_newb>
as there is no fullpage entry under pkgs.texlive. in nix repl. Is there a way to search for a files provided by packages so I can figure out which package to install.
noudle has quit []
<m1cr0man>
turbo_MaCk, Yeah it literally is :)
ok2 has joined #nixos
turbo_MaCk has quit [Ping timeout: 244 seconds]
<{^_^}>
[nixpkgs] @Moredread opened pull request #64379 → Backport to 19.03: oraclejdk/jdk8cpu: 8u201 -> 8u211 → https://git.io/fj6jn
<siraben>
If I can install a package like this: nix-env -if <url>, how do I specify this in my configuration.nix?
Ariakenom has joined #nixos
bakakuna has joined #nixos
gordondevoe has left #nixos [#nixos]
<siraben>
How do I install the virtualbox guest additions?
omnipotententity has quit [Read error: Connection reset by peer]
omnipotententity has joined #nixos
omnipotententity is now known as Guest34267
<cxx_newb>
I enabled virtualbox using virtualisation.virtualbox.host.enable and virtualisation.virtualbox.guest.enable and now it is compiling virtualbox. Why is there no binary provided. I don't want to wait that long to get virtualbox. Any tips?
<siraben>
cxx_newb: you just have to wait it out, it worked for me
<siraben>
don't add virtualbox to the systemPackages, seems to cause a kernel dirver not found error
<cxx_newb>
siraben: Considering I want to set up new machines with nixos from time to time this seems unacceptly long :/
<__monty__>
Enable host on the machine where you run vbox, enable guest on the VM.
<__monty__>
At least that's the only thing that'd make sense to me.
<siraben>
What do you mean by enabling guest on the VM?
<__monty__>
That's *if* you run nixos inside a VM.
shibboleth has joined #nixos
<siraben>
So in that case one sets virtualisation.virtualbox.guest.enable to true?
<cxx_newb>
I copied the wrong lines, got virtualisation.virtualbox.host.enable = true; and virtualisation.virtualbox.host.enableExtensionPack = true; in my config
<__monty__>
I assume that's how it works, yeah.
<cxx_newb>
those are both for the host right?
<__monty__>
Yes. I'm not sure what the extension pack is though.
<cxx_newb>
I still do not understand why this has to be built from source.
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<__monty__>
siraben: The virtualbox guest additions are in nixpkgs under linuxPackages.
<ar>
cxx_newb: because the extension pack is non-free
<ar>
well, non-Free
<cxx_newb>
ar: Oh okay, I will try without.
psyanticy has quit [Quit: Connection closed for inactivity]
<siraben>
__monty__: so do I add linuxPackages.virtualboxGuestAdditions to my systemPackages and set virtualisation.virtualbox.host.enableExtensionPack = true; ?
<siraben>
Or just the option will suffice?
<__monty__>
No clue, read the appropriate chapter in the manual or on the wiki.
cxx_newb has quit [Remote host closed the connection]
bakakuna has quit [Ping timeout: 264 seconds]
<infinisil>
roconnor: Remove it from the `broken:` section in pkgs/development/haskell-modules/configuration-hackage2nix.nix, PR that to the haskell-updates branch
lokatu has quit [Ping timeout: 252 seconds]
<infinisil>
roconnor: Or actually, I can push it to the branch directly quickly
lokatu has joined #nixos
cxx_newb has joined #nixos
<cxx_newb>
Does someone know how to get vim with clipboard support. I tried vimHugeX instead of vim but when I run vim --version I still have -clipboard.
mniip has joined #nixos
___laika has joined #nixos
jedai has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
<kraem>
(answering my own question from yesterday [21:40 2019-07-05] - regarding reinstalling the bootloader) : After booting from the live medium and mounted all partitions as the nixos install you're recovering (under /mnt) you just run `nixos-generate-config` which will generate a new hardware-config.nix with the partition set up as you have them in the live environment but will leave your
<kraem>
/mnt/etc/nixos/configuration.nix intact if it exists. After that it's just a matter of running nixos-install and the bootloader will be installed with your previous nixos set up just as before.
___laika has quit [Ping timeout: 268 seconds]
cxx_newb has quit [Remote host closed the connection]
<roconnor>
infinisil: Thanks. I'm guessing that all the Chart packages are fixed now, but I haven't looked carefully.
<infinisil>
roconnor: I'm just testing a few, will push with a couple unbreaks in a bit
<roconnor>
thanks!
<infinisil>
:)
deech has joined #nixos
WilliButz has quit [Quit: WeeChat 2.5]
WilliButz has joined #nixos
<{^_^}>
[nixpkgs] @gazally opened pull request #64384 → nixos/zerotierone: Sandbox the systemd service → https://git.io/fjivj
mexisme_ has quit [Ping timeout: 252 seconds]
camsbury has joined #nixos
<ar>
hm. i have a problem with setting mac address of one of the interfaces to a specific value. the configuration.nix looks like this: http://dpaste.com/02CR5A6.txt , interfaces eno1 and eth1 do exist (i'm not sure why's eth1 named "eth1" and not something else conforming to "predictable" interface names but w/e); network-addresses-eth1.service (which would launch a script that would set the mac address) fails
<{^_^}>
[nixpkgs] @Infinisil pushed to haskell-updates « haskell2nix: Unmark Chart-related packages as broken »: https://git.io/fjift
<ar>
interestingly, it does work if i try to set the mac address on eno1 instead of eth1
___laika has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
fusion809 has joined #nixos
<ar>
so the problem, i guess, is "why doesn't eth1 get renamed"
___laika has quit [Ping timeout: 272 seconds]
jackdk has quit [Quit: Connection closed for inactivity]
___laika has joined #nixos
o1lo01ol1o has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
lokatu has quit [Ping timeout: 244 seconds]
lokatu has joined #nixos
v88m has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
fendor has joined #nixos
deech has quit [Ping timeout: 245 seconds]
lokatu has quit [Quit: WeeChat 2.5]
phreedom_ has joined #nixos
___laika has quit [Ping timeout: 244 seconds]
phreedom has quit [Ping timeout: 260 seconds]
b42 has joined #nixos
___laika has joined #nixos
madhukar93 has joined #nixos
roconnor has quit [Quit: Konversation terminated!]
<madhukar93>
Hi, I changed my shell to zsh. I expected completions for bash to work because zsh has a compatibility layer. I suspect it's not working because of how nixos manages paths. Anyone know how I can make this work
iyzsong has quit [Ping timeout: 252 seconds]
___laika has quit [Ping timeout: 248 seconds]
<angerman>
is there some support for automatic-wake-on-lan for remote builders?
<{^_^}>
[nixpkgs] @dnaq opened pull request #64385 → WIP: build-rust-crate: fix for binary crate building. → https://git.io/fjiJ8
shibboleth has quit [Quit: shibboleth]
Neo-- has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
<{^_^}>
[nixpkgs] @mogorman opened pull request #64386 → greatfet: init at 2019.05.01.dev0 → https://git.io/fjiJV
shibboleth has joined #nixos
Drakonis has joined #nixos
Netsu has quit [Ping timeout: 260 seconds]
___laika has joined #nixos
emptyflask has joined #nixos
Neo-- has quit [Ping timeout: 272 seconds]
alp has quit [Ping timeout: 252 seconds]
layeddie has quit [Quit: Connection closed for inactivity]
ilikeheaps has quit [Ping timeout: 245 seconds]
___laika has quit [Ping timeout: 272 seconds]
amakthel has joined #nixos
___laika has joined #nixos
camsbury has quit [Remote host closed the connection]
___laika has quit [Ping timeout: 248 seconds]
___laika has joined #nixos
<m1cr0man>
Anyone seen this error from dep2nix before? "error checking out branch: Unexpected error while defensively cleaning up after possible derelict nested submodule directories"
turbo_MaCk has quit [Ping timeout: 272 seconds]
<m1cr0man>
Uhm..I think my irc client is broke I'm hearing pings but can't see any messages
<OmnipotentEntity>
m1cr0man, no one is saying anything currently
<OmnipotentEntity>
and you're coming through just fine.
<m1cr0man>
oh ok dunno what was happening then XD
<OmnipotentEntity>
Might be something from the server console rather than the channel.
<m1cr0man>
I've never had that happen before hexchat was flashing but I had no messages or highlights. Yeah it could be that.
<OmnipotentEntity>
But I do not know the answer to your question.
juliendehos has quit [Quit: Leaving]
<m1cr0man>
nb
___laika has quit [Ping timeout: 272 seconds]
<OmnipotentEntity>
I'm having some trouble understanding how to properly override a package.
<OmnipotentEntity>
Nevermind, I think I figured it out. It was complaining because I was attempting to insert it into python37Packages. Removing that makes it seemingly work fine.
sakalli_ has joined #nixos
sakalli_ has quit [Excess Flood]
sakalli_ has joined #nixos
sakalli_ has quit [Excess Flood]
sakalli_ has joined #nixos
sakalli_ has quit [Excess Flood]
sakalli_ has joined #nixos
sakalli_ has quit [Excess Flood]
sakalli_ has joined #nixos
sakalli_ has quit [Excess Flood]
sakalli_ has joined #nixos
sakalli_ has quit [Excess Flood]
zacts has joined #nixos
domogled has quit [Remote host closed the connection]
<OmnipotentEntity>
FRidh, should I continue looking for an official source that states that Python3 isn't supported in OpenCV 2? Or should I just get on with it and fix the package?
gyroninja___ has joined #nixos
___laika has quit [Ping timeout: 246 seconds]
<m1cr0man>
so OmnipotentEntity instead of reassigning pytorch-cudo assign it to a new variable and pass it to the next line
<m1cr0man>
I have an example I can share
<OmnipotentEntity>
m1cr0man, thanks, I actually did exactly that. I changed "pkgs.python37Packages.pytorch-cuda" to just "pytorch-cuda" and it seems to work
<m1cr0man>
awesome :)
<OmnipotentEntity>
still compiling though
<OmnipotentEntity>
actually it just got done, compiled fine, no errors, but it doesn't solve my problem haha fuck.
___laika has joined #nixos
<OmnipotentEntity>
lots of test errors in the log
<OmnipotentEntity>
test log*
<OmnipotentEntity>
Seems like it can't find a CUDA device on my computer, except I should have at least two.
<m1cr0man>
hm maybe you need to include some extra buildInputs for some headers?
<aveltras>
is anyone using stalonetray with a custom icon theme ? i'd like to change the rather ugly icons. I'm using xmobar/xmonad
<OmnipotentEntity>
well, that's the test log. The build was just fine. But what I was trying to fix was an assertion: "AssertionError: Torch not compiled with CUDA enabled" which should have been fixed by setting cudaSupport = true
___laika has quit [Ping timeout: 258 seconds]
<OmnipotentEntity>
like, if it's a configuration issue of my hardware I can attack it later. I'm just confused why Torch still thinks it doesn't have a python.
<OmnipotentEntity>
sorry pytorch thinks it still doesn't have a CUDA
<ar>
is there a way to set all of foo.bar.*.somethingCommon to a given value? i'd like to set all of services.prometheus.exporters.*.listenAddress to "127.0.0.1"
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
domogled has quit [Remote host closed the connection]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
domogled has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
<{^_^}>
[nixpkgs] @Ma27 opened pull request #64390 → nixos/graylog: use `types.lines` for extraConfig → https://git.io/fjiUp
<{^_^}>
[nixpkgs] @risicle opened pull request #64391 → pythonPackages.jpylyzer: init at 1.18.0, use to enable openjpeg tests → https://git.io/fjiUh
shibboleth has quit [Quit: shibboleth]
selfsymmetric-mu has quit [Remote host closed the connection]
Myhlamaeus1 has joined #nixos
ilikeheaps has joined #nixos
hax404 has joined #nixos
<hax404>
i booted the current nixos 19.03 64bit minimal iso and want to do "cryptsetup benchmark". after the hash functions, i get "Required kernel crypto interface not available.". do i need to load more kernel modules?
Thra11 has quit [Ping timeout: 258 seconds]
simon_weber has joined #nixos
<{^_^}>
[nixpkgs] @LnL7 opened pull request #64393 → pythonPackages.wily: init at 1.12.2 → https://git.io/fjiT3
xavierm02 has quit [Remote host closed the connection]
Ariakenom has quit [Read error: Connection reset by peer]
nikivi has joined #nixos
ilikeheaps has quit [Ping timeout: 245 seconds]
Ariakenom has joined #nixos
Freneticks has quit [Quit: WeeChat 1.6]
nikivi has quit [Client Quit]
xavierm02 has joined #nixos
xavierm02 has quit [Client Quit]
lambda-11235 has joined #nixos
mexisme_ has joined #nixos
<simon_weber>
does anyone have recommendations or examples for organizing nixos source on multitenant systems? currently I have one server per app, with each app repo containing all its own nix source, but presumably I'll want to move shared nix to one place
<simon_weber>
I'd also be curious to see how people organize shared bits like nginx config, where each app will need to add pieces
nikivi has joined #nixos
yunratobe has joined #nixos
bakakuna has joined #nixos
xavierm02 has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
lunik144 has quit [Quit: :x]
lunik144 has joined #nixos
o1lo01ol1o has joined #nixos
lunik144 is now known as lunik1
sindrip has joined #nixos
<aveltras>
simon_weber: might be the use case for nixos containers
<aveltras>
simon_weber: dunno exactly what you mean by multinenant system here but the minimal case for nginx might be to have a central nginx webserver responding to port 80 in your main configuration.nix which then routes request to nixos containers based on the host reached
<aveltras>
simon_weber: ye, those containers
turbo_MaCk has quit [Ping timeout: 246 seconds]
<simon_weber>
cool. in my case currently each server has app processes + an nginx, and i'm interested in putting multiple apps onto one server along with nginx. i'm not particularly concerned about the apps conflicting with each other; it's more how to structure the nix so that I'm not switching between repos constantly but also not duplicating a bunch of code
<aveltras>
i have not used nix for real apps yet but tried basic use cases and i think relying on nixops is nice for this case
<aveltras>
you can have on nixos server
<aveltras>
and you deploy each of your app using nixops into a container into your unique server
<aveltras>
the store is shared for the whole server but all your app dependencies don't have to match in version
<simon_weber>
I see
<simon_weber>
I suppose it's not all that often that I'll need to change the per-app nginx config along with app code
<simon_weber>
it's pretty set and forget
<simon_weber>
so I think maybe I'll put the nixops stuff in one repo and just have it import the app config somehow
<aveltras>
might be cleaner to have the whole app config in your app repo anyway
<vaibhavsagar>
simon_weber: IMO one of Nix's fatal flaws is that it doesn't have a good story around managing secrets
<vaibhavsagar>
so essentially anything you write to /nix/store can be read by anyone else on that system
<vaibhavsagar>
this means that most people run Nix only where they control access to /nix/store
<vaibhavsagar>
if you look at the `services/` folder, most of them expose only one port, but all those are merged together into a list which means all of them get exposed in the end
<vaibhavsagar>
> When multiple modules define an option, NixOS will try to merge the definitions. In the case of environment.systemPackages, that’s easy: the lists of packages can simply be concatenated.
<{^_^}>
error: syntax error, unexpected ',', expecting ')', at (string):255:39
<arcnmx>
a question about nixops: is there any way to customize deployments, like have custom resource plugins/scripts without needing to fork nixops or something?
<gchristensen>
arcnmx: PR coming next week!
<arcnmx>
I guess I'd even be fine with just a post activation script that runs on the nixops host, but I'm not sure if either is possible?
<arcnmx>
hmmm o:
bakakuna has quit [Ping timeout: 246 seconds]
cxx_newb has joined #nixos
<cxx_newb>
I somehow messed up my nixos :/ When I nixos-rebuild switch I get : "FileNotFoundError: [Errno 2] No such file or directory: '/nix/var/nix/profiles/system-2-link/kernel". I tried going back to an old configuration of mine but still get the same error. Can someone help?
cxx_newb has quit [Remote host closed the connection]
<arcnmx>
hm trying to imagine how to set this up without modifying nixops, if I just wrap the "nixops deploy" command in a script that runs additional steps after... I guess that could work if "nixops export" is able to give the script info about the network evaluation / state?
juliendehos has joined #nixos
<simon_weber>
arcnmx: in my case I just install another key that I use for that kind of stuff
<simon_weber>
though I have a somewhat peculiar setup where deploys are done totally outside nix (with ansible)
<simon_weber>
app deploys, I mean -- nix handles host config
bakakuna has quit [Ping timeout: 272 seconds]
<arcnmx>
Hm... I do want nix to handle everything, my main concerns right now are... 1. I'd like to set up DNS records after deployments for machines based on the evaluated public ip and such, 2. I'd like to do dysnomia style deployment of mutable data.
<arcnmx>
I guess they can be worked around if necessary... 1 can be either done on the machine itself via say ddclient or whatever... 2 instead of wanting to push data to the machine, could set it up to push to an interim location then pull from there instead on system/service activation
v88m has quit [Ping timeout: 244 seconds]
<arcnmx>
or alternatively just setting up a post-deploy wrapper as mentioned above, just not sure, it all seems messy?
<arcnmx>
or idk, look into terraform+nixos instead..?
___laika has joined #nixos
v88m has joined #nixos
alex`` has joined #nixos
zacts has joined #nixos
fendor has quit [Quit: Leaving]
<clever>
arcnmx: the ec2 backend in nixops will auto-configure route53 to point to each machine
<___laika>
that looks like its loaded up with all the binaries i want!
<clever>
___laika: definitely looks like thats meant for use with nix-shell, and work work via nix run
<clever>
wont work*
<___laika>
clever++
<{^_^}>
clever's karma got increased to 145
<___laika>
thanks :)
<___laika>
is there any way under the new nix ui to get a `nix-shell`-like experience?
<clever>
nix-shell is the only way to get such a development shell right now
<___laika>
ok neato
<___laika>
makes sens
<___laika>
e
<___laika>
thanks for the explanations :D
turbo_MaCk has quit [Ping timeout: 272 seconds]
<clever>
___laika: nix-shell will basically put buildInputs and nativeBuildInputs into $PATH, and everything else from the env section becomes an env var
<clever>
___laika: nix run will simply grab out (line 62) and put only that into $PATH
<___laika>
that makes a lot of sense
johnnyfive has joined #nixos
<___laika>
nix run's documentation does refer to its targets as "installables"
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjiLO
zammux has quit [Ping timeout: 252 seconds]
psyanticy has quit [Quit: Connection closed for inactivity]
winem_ has quit [Ping timeout: 268 seconds]
ym555 has joined #nixos
ym555 has quit [Client Quit]
__monty__ has quit [Quit: leaving]
b has joined #nixos
noonien has quit [Quit: Connection closed for inactivity]
mbrgm_ has joined #nixos
xcthulhu has quit [Quit: xcthulhu]
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
xcthulhu has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
day|flip has joined #nixos
<Ralith>
what exactly might the nix build error `cycle detected in the references of '/nix/store/31gydrc5fmhciqx5z7wmjbw5k6smq6nv-wireshark-git-2019-04-12' from '/nix/store/ky3kzw3ank206zsfplywh8qk8w4h7420-wireshark-git-2019-04-12-dev'` mean?