<{^_^}>
[nixpkgs] @Flakebi opened pull request #108363 → kakounePlugins: use vim’s update.py script to generate plugins → https://git.io/JLFLy
CMCDragonkai1 has joined #nixos
o1lo01ol_ has joined #nixos
<energizer>
nix-shell -E '(import <nixpkgs> {}).python3.withPackages(ps: [ps.xlib])' --command 'python3 -c "import Xlib.display"' # No module named Xlib. What do I mean instead?
nDuff has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
zebrag has quit [Remote host closed the connection]
zebrag has joined #nixos
<energizer>
oh, -p not -E
zebrag has quit [Client Quit]
<KarlJoad>
So, somehow, I managed to get python available during program runtime, but I can't import any of the python packages I specified. Does anyone have any guidance?
<tpw_rules>
you have to configure PYTHONPATH too
<KarlJoad>
tpw_rules: That isn't handled by me having `python.withPackages (ps: [ ps.sympy ])` ?
<tpw_rules>
it doesn't look like that's using the python in your withPackages environment
<tpw_rules>
otherwise the derivation would have -env in it
<tpw_rules>
are you executing blahblah-python3-3.8.5/bin/python or blahblah-python3-3.8.5-env/bin/python
<KarlJoad>
I am using :u in `nix repl` to build the package and drop me into a shell with stuff available. That's probably why.
teto has quit [Quit: WeeChat 3.0]
<tpw_rules>
i think you would want to have the python withPackages as a build input then
<KarlJoad>
I am doing that right now, as a propagatedBuildInput, but I am doing python.withPackages ...
griff_ has joined #nixos
rcy has left #nixos ["Killed buffer"]
<Ankhers>
I am using NixOS and I have installed Android Studio using home-manager. I am attempting to run a command line utility during the build process of my android application. However, it does not appear to use my PATH, but maybe the one from it's derivation? Would anyone know how to tell Android Studio to actually use my PATH?
oxapentane has quit [Remote host closed the connection]
luxemboye has quit [Ping timeout: 240 seconds]
domogled has quit [Ping timeout: 246 seconds]
luxemboye has joined #nixos
wegna125 has quit [Remote host closed the connection]
kalbasit has joined #nixos
<DigitalKiwi>
what command and how did you install android studio
<Ankhers>
I installed Android Studio using home manager. I am trying to run a command I installed using cargo. Specifically, uniffi-bindgen.
<DigitalKiwi>
probably add it to the inputs in an override
<{^_^}>
[nixpkgs] @samueldr pushed commit from @urbas to release-20.09 « nixos/sd-image: explicit reference to the gawk package »: https://git.io/JLFml
<Ankhers>
It being uniffi-bindgen? I'm not that great with overrides, would you be able to give me an example?
<DigitalKiwi>
i'm about as unsure how to do it as you but there are other people that know but it's kind of quiet today
<DigitalKiwi>
infinisil: the bot should have a command that just starts pinging all of the people i'd ask like this but spread out; samueldr worldofpeace fl*kli fridh jonringer .... ( not here :( )
<DigitalKiwi>
!heros
davide has joined #nixos
psiquo has joined #nixos
quinn has joined #nixos
davide has left #nixos [#nixos]
davide has joined #nixos
psy3497 has joined #nixos
<{^_^}>
[mobile-nixos] @samueldr opened pull request #273 → stage-0: Teardown gadget before kexec → https://git.io/JLFY4
davide has quit [Quit: davide]
psiquo_ has joined #nixos
psiquo has quit [Remote host closed the connection]
<donofrio>
anyone know how to remove my nix install and start a new install on my osx imac that will compile everything without AVX extentions (my core duo doesn't have it.)
pushqrdx has quit [Remote host closed the connection]
<lukegb>
.override allows you to swap out the arguments for different arguments (java and jdk in this case)
<lukegb>
you can also probably do the packageOverrides thing to do something similar, but I tend to prefer (at least so far) just doing it locally to the thing I'm working on
<remexre>
yeah, I hadn't seen .override before
<remexre>
in this case, newbie is measured in hours, heh
stigo has quit [Remote host closed the connection]
stigo has joined #nixos
stephank has quit [Quit: stephank]
Qubasa has quit [Quit: WeeChat 2.9]
Qubasa has joined #nixos
stephank has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<donofrio>
anyone know how to remove my nix install and start a new install on my osx imac that will compile everything without AVX extentions (my core duo doesn't have it.)
stigo has quit [Remote host closed the connection]
gm53 has joined #nixos
blueberrypie has joined #nixos
<gm53>
Does anyone have a working example of port forwarding with libvirt?
dycan has quit [Read error: Connection reset by peer]
jonringer has joined #nixos
<donofrio>
does anyone know how I can remove nix that I installed on my osx imac and then get nix to install but to require compile for everything (excluding AVX instruction set because core duo doesn't support it)
<{^_^}>
[mobile-nixos] @samueldr pushed 4 commits to master: https://git.io/JLFsy
stigo has joined #nixos
<clever>
donofrio: there is no need to reinstall or remove anything, just define the changes you want in config.txt, and nix will rebuild anything that it affects
<cole-h>
If it were me, I'd just use `pkgs.runCommand` or `substituteAll` (the Nix function)
<cole-h>
Pseudocode-ish, but something like: `script = writeScript "focused-window" (substituteAll { src = ./focusedwindow.py; inherit python xset xprintidle-ng; });` and call it a day
<donofrio>
does anyone here know what I put in my configg.nix that restricts all packages to compile only and blacklist AVX instruction sets?
<donofrio>
becuase nix is gc and rust is not (seems better / more secure without gc)
veleiro has joined #nixos
<energizer>
what's the connection between garbage collection and security?
maljub01 has joined #nixos
<donofrio>
gc allows for less secure coding where rust requires memory tracking manually....at least that is what I've gleened from what I seen from a presentation on rust
<energizer>
usually rust's memory model is framed as a more secure alternative to C-style manual memory management, not more secure than automatic memory management. at least that i've heard
<energizer>
nix is implemented in C++ though, so maybe that's what you mean
<donofrio>
I just would like to be able to use perhaps fuchsia with nix
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
<elvishjerricco>
What's the option name for blacklisting nixos modules?
<la-jesystani>
howdy, im at a loss with getting accelerated graphics working on my t420, im using the nixos-hardware profile, ive followed the wiki advice, but i still get libGL errors when trying to run thigs, is there a more correct way to make sure im doing the right thing?
griff_ has quit [Quit: griff_]
<veleiro>
i keep getting 'Package ‘steam’ in /home/tgunnoe/src/nixpkgs/pkgs/games/steam/steam.nix:34 is marked as broken, refusing to evaluate.'
<veleiro>
but going to steam.nix:34, there is no meta.broken there
<samueldr>
I guess the "every pkgs attr" is the harder bit
andreas303 has joined #nixos
<bqv>
samueldr: yeah i know i could do it with set tricks, but it'd be nice to be able to do it for every package native, so i could traverse package dependency trees without being behest to infinisil's signature issue with list usages everywhere
<bqv>
i'm wondering if i could do it myself but still be able to use caches at least a bit
<bqv>
even thought i'm pretty sure my config doesn't use caches basically at all, at this point... need to work out why
ghasshee has joined #nixos
<Vanilla[m]>
Hello! I recently learned about flakes, and I'm now playing around. However, I can't seem to find a way to include a git input that has submodules - is there a way to do this right now?
<bqv>
Vanilla[m]: if you need submodules, add them manually or just use fetchgit. flakes doesn't support them natively and good bloody luck getting a PR for them in
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLFCH
sss2 has quit [Quit: Leaving]
<supersandro2000>
bqv: or use the system software instead the vendored one
philr has quit [Ping timeout: 240 seconds]
<Vanilla[m]>
bqv: Shame. It looks like flakes are the way to go for reproducible builds, and they have the whole promise of "you don't have to manually update git revs every time you want to update the source!". What do you mean about adding them manually?
<Vanilla[m]>
bqv: thank you, I'll take a look. My best idea for actually using flakes seems to turn the submodule dependencies into flakes, too, which would make it all work, but then I would need a Nix environment to hack on the top-level git repo. I currently run NixOS on my server and a non-Nix distro locally
<bqv>
i wonder if you could use IFD to make submod repos work pleasantly with flakes
<bqv>
that'd be interesting. i hope someone tries that
<Vanilla[m]>
IFD seems to be over my head
<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."
<Vanilla[m]>
Thank you
<bqv>
i feel like my opinion on IFD mirrors my opinion on programming languages, i.e. my favourite is C++ and people have the exact same saying of that :D
<bqv>
Vanilla[m]: note, the distinction doesn't exist in guix! (i mention it cause i've seen a few others ask about that)
<Vanilla[m]>
bqv: Thank you! I've only ever used Nix/NixOS, and fairly lightly at that. But I've been really enjoying using it for my server
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLFW4
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLFWu
domogled has joined #nixos
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CMCDragonkai1 has joined #nixos
<{^_^}>
[nixpkgs] @cdepillabout merged pull request #108362 → haskellPackages.servant-client[-core]: jailbreak to support QuickCheck 2.14 → https://git.io/JLFkM
<{^_^}>
[nixpkgs] @cdepillabout pushed 2 commits to master: https://git.io/JLFW7
<energizer>
i have this service running https://bpa.st/AQBA but one of the programs it uses keeps getting garbage collected. namely /nix/store/sd8k2k633pxj19w1p9vi87i4pkkqs46g-xprintidle-ng-git-2015-09-01
<energizer>
i dont think that's supposed to happen
eoli3n has joined #nixos
<{^_^}>
[nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JLFlU
<srhb>
energizer: Can you confirm that the rendered activewindow ExecStart script contains the path to xprintidle-ng?
<energizer>
srhb: yes
<srhb>
energizer: Yes "confirmed" or yes you can confirm it? :3
<energizer>
srhb: it is there
<srhb>
energizer: And that is the path that has been gc'ed?
<energizer>
srhb: yes
<energizer>
er
<energizer>
yes
<srhb>
Please pastebin the output of nix-store -qR (path to the rendered activewindow)
<srhb>
If the reference is in order, then it sounds like store corruption, and you should validate everything; it should not happen :)
<Vanilla[m]>
I'm thinking: even if it were possible to generate a list of submodule inputs from a git URL, it wouldn't be possible to make it into a library function purely with Flakes, since you'd need to fetch the library function as a flake input (or from a flake input like nixpkgs), and then use that library function to get more flake inputs. Doesn't seem possible
<energizer>
impermanence also can manage home directory
<Ke>
for most systems
<Vanilla[m]>
tejing: I can, but wouldn't that be beside the point of using nix flakes? Right now I have a `fetchgit` command in my derivation, and it's fine (and in fact, preferred since I have to consciously update the source). If I had my package source as a flake input, I wouldn't explicitly write my rev/hash, but it would get stored in the lock file and remain until I consciously update it. But if I generate a list of submodules at
<Vanilla[m]>
runtime, that wouldn't be hermetic at all
<Vanilla[m]>
though I admit I don't really have an idea of what I'm talking about
<tejing>
it sounds like you want to download the source yourself, but also want nix to manage downloading it... which is it?
<srhb>
energizer: Hang on, I just noticed your use of builtins.readFile.. That's suspect.
<energizer>
srhb: what do i mean instead? otherwise i just get a script with a path in it
<Vanilla[m]>
tejing: I want to have a lock on the version of the source I'm downloading. I also want this lock to be handled by nix. This isn't absurd, since this is precisely what Nix flakes does. except... it doesn't work for submodules
<energizer>
srhb: --verify didn't notice any problems
<srhb>
energizer: You probably want runCommand
<srhb>
energizer: No, I'm quite sure it's the readFile usage, sorry I didn't notice before.
<tejing>
Vanilla[m]: define submodules?
<Vanilla[m]>
tejing: git submodules. Flakes can fetch a non-flake git repo just fine to use as source input, but it doesn't do it recursively. So, any project of mine that has git submodules is off-limits
<Vanilla[m]>
tejing: Me neither.. not without changing how `nix` currently handles flake inputs. But then again, I think fetching submodules is a harmless feature to add to flakes. I'm reading the Nix C++ source code now to see if there are any reasons it wouldn't work.
edwtjo has quit [Ping timeout: 240 seconds]
edwtjo has joined #nixos
<dycan>
hi. how to node2nix to get the latest expo-cli? Two problems right now: 1. the one in nixos-unstable is not the latest one. 2.the fastlane-darwin in expo-cli fails because my nixos is not darwin. It should be optional.
<Vanilla[m]>
dycan: If you're not packaging `expo-cli`, I think you can make a `modules.json` file, which contains an array of just `"expo-cli"`, and then point `node2nix` to it as input. You may also want to specify an `--output` nix file so that you can import it in your main nix expression
<{^_^}>
[nixpkgs] @FRidh pushed commit from @knedlsepp to master « hdf4: Fix aarch64 build »: https://git.io/JLF8b
<energizer>
srhb: ok it doesn't gc now
<energizer>
srhb++ thanks
<{^_^}>
srhb's karma got increased to 141
<srhb>
energizer: Great! :)
MichaelRaskin has joined #nixos
<matthewcroughan>
colemickens: what does your update script for colebot look like?
Nicksalot has joined #nixos
cfricke has joined #nixos
<matthewcroughan>
flake-firefox-nightly, I wanna do the same sort of thing for dolphin-emu.
<Nicksalot>
I have a really dumb question: why are some programs installed/enabled via `program.X.enable` and others I seem to need to just add to environment.systemPackages ?
<andi->
Nicksalot: usually programs.X is used where simply adding a program to PATH isn't sufficient.
thc202 has joined #nixos
<andi->
Nicksalot: e.g. deploying a global config file to /etc/, setting setuid, ensuring a user/directory exists
<Nicksalot>
That makes sense
<andi->
it isn't great for intuition as neither all programs have programs.X options and also some of them might work good enough without that option by just being on path
<Nicksalot>
Yeah, your explanation is obvious in retrospect, but I hadn't had to use anything from programs. until just now and it left me wondering why there isn't _only_ programs, rather than systemPackages as well
<andi->
:)
<Nicksalot>
Thanks andi-
vidbina_ has joined #nixos
<patagonicus>
https://github.com/NixOS/nixpkgs/blob/nixos-20.09/nixos/modules/programs/mosh.nix is a simple example of a programs.X thing. Setting programs.mosh.enable to true will both add mosh to systemPackages (line 31) and also open the firewall ports for it (line 32). And if you set the withUtempter option it'll add a security wrapper.
<andi->
I think it would be great if there was an option for *every* program as that would allow adding settings when a specific program is enabled for all those users that traditionally might only have added it to systemPackages
<Nicksalot>
patagonicus, This is a great example because I've been using mosh in systemPackages and it has worked just fine, I'd never have realised I should be enabling it in programs instead
<Nicksalot>
Also explains why `who` doesn't show me everything, damn, I'm getting all the answers today :)
<patagonicus>
Nicksalot: :D Only really needed on the host side of mosh, for the client it doesn't really change anything (you might not even want to use programs.mosh.enable if you never want to mosh *to* that system just to keep the firewall closed).
<Nicksalot>
Oh It's the host side that I meant though
<Nicksalot>
I'm using nix on machines I want to mosh into
<Nicksalot>
mosh seems happy as long as the binary is available, will switch to programs for that nice who support
<veleiro>
why do you have to stage a file for flakes to see it?
madalu has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 240 seconds]
michiel__ has quit [Remote host closed the connection]
michiel__ has joined #nixos
madalu has joined #nixos
oida has joined #nixos
Darkmatter66 has joined #nixos
vidbina_ has quit [Ping timeout: 240 seconds]
a4wc6n[m] has quit [Quit: Idle for 30+ days]
fatjedi[m] has quit [Quit: Idle for 30+ days]
slabity has quit [Quit: Idle for 30+ days]
tejing[m] has quit [Quit: Idle for 30+ days]
griff_ has joined #nixos
vidbina_ has joined #nixos
stoile has joined #nixos
<Vanilla[m]>
wait a moment. Unless I'm just really tired, a flake input attribute set can have `type = "git"` and all the other relevant git params?
civodul has joined #nixos
<Vanilla[m]>
except flakes (arbitrarily!) enforces that all attributes should be strings....
<{^_^}>
[nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.ppx_blob: 0.7.1 -> 0.7.2 »: https://git.io/JLFBp
ilios has quit [Ping timeout: 260 seconds]
<chrisaw>
What do I need to enable in order to get GNOME to auto-update when I install a new app? I'm sure I've had this fixed before but lost the fix. :(
dycan has quit [Ping timeout: 264 seconds]
dycan has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<DigitalKiwi>
veleiro: it ignores anything that's not in the git index
seku has joined #nixos
<DigitalKiwi>
Note that any file that is not tracked by Git is invisible during Nix evaluation, in order to ensure hermetic evaluation. Thus, you need to make flake.nix visible to Git:
<dycan>
hi Vanilla[m]: When entering "nix-shell -A shell", Error "Not running on darwin" in travelling-fastlane-darwin. I am in linux nixos. Anyway to disable this optional thing?
sangoma has quit [Ping timeout: 256 seconds]
<Vanilla[m]>
dycan: Unfortunately, I don't know :(
Jackneilll has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
<dycan>
Vanilla[m]: I see. I am moving in the right direction. Thanks!
o1lo01ol_ has quit [Remote host closed the connection]
infty has quit [Quit: Lost terminal]
<{^_^}>
[nixpkgs] @SuperSandro2000 opened pull request #108378 → pythonPackages: cleanups, test disabled if there are not tests, dependency fixes → https://git.io/JLFET
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
ottidmes has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<{^_^}>
[mobile-nixos] @samueldr opened pull request #274 → uefi-x86_64: Drop "quiet" kernel command line option → https://git.io/JLFE4
Nicksalot has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @Patryk27 opened pull request #108380 → nixos/lxd: Disable cgroup v2 when LXD is active → https://git.io/JLFEh
orivej has quit [Ping timeout: 264 seconds]
hiro98 has quit [Ping timeout: 272 seconds]
amir has quit [Read error: Connection reset by peer]
amir has joined #nixos
<{^_^}>
[nixpkgs] @fabaff opened pull request #108381 → python3Packages.whois: init at 0.9.7 → https://git.io/JLFu8
pitch has joined #nixos
<pitch>
hey there! are there any expiriences with nixos on an raspberry Pi4?
<madonius[m]>
🖖
<patagonicus>
https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi_4 it's sort-of supported. No official support, but should run. Mostly blocked on some RPi4 specific patches needing to be added to the mainline Linux kernel.
<madonius[m]>
<pitch "hey there! are there any expirie"> it runs, though I was told that you would want to build stuff on another machine
<madonius[m]>
there is relevant documentation in the wiki
<energizer>
pitch: i tried and failed
<patagonicus>
madonius[m]: RPi4 is aarch64 and gets official binary caches, doesn't it? So you shouldn't need to build much.
<energizer>
other people have succeeded
<madonius[m]>
that wat people told me 🤷♂️
<madonius[m]>
* thats what people told me 🤷♂️
turlando has joined #nixos
<madonius[m]>
people gave me the advice to not do it
<madonius[m]>
I do have a question regarding nginx as a reverse proxy and letsencrypt
<patagonicus>
Maybe they were thinking of RPi1/2/Zero because they are 32-bit arm, which means you'll have to compile everything yourself (or find some random community user who's hosting a cache for it)
<madonius[m]>
are the subdomains not added to the certificate?
MichaelRaskin has quit [Ping timeout: 256 seconds]
<patagonicus>
Ah, RPi3 can run both 64-bit or 32-bit kernels/userland, but I think the default is 64 bit. I did try 32 bit NixOS on it, but, yeah, compiling everything will take forever.
<patagonicus>
Maybe the RPi4 can do that as well, not sure.
psy3497 has quit [Ping timeout: 256 seconds]
spudly1 has quit [Read error: Connection reset by peer]
vuko has quit [Quit: leaving]
<madonius[m]>
I have foo.bar.com pointing to the server and have added the locations under this
vuko has joined #nixos
<madonius[m]>
those seem to not be included in the certificate
<madonius[m]>
I did not add the aliases explicitly
<madonius[m]>
since the configuration knows those locations I would expect them to be added automatically
<patagonicus>
By "pointing" you just mean DNS? Then, no, because NixOS doesn't know about the subdomain.
<patagonicus>
Can you maybe paste the relevant bits of your config?
<ghasshee>
Nix pills describes design patterns, however, I think, in the sense of functional programming, they are types. I would like to know whether they are design patterns rather than types. Any thoughts ?
<ghasshee>
I would like to know why.
<madonius[m]>
patagonicus: you see, the information would be there, in theory
<patagonicus>
madonius[m]: Ah! Those aren't subdomains, those are locations on the one virtual host. I'm actually not quite sure what a location block does that's not anchored by a /, but I'd suspect that this config reditects to …1 on home.example.com/moon and to …2 on home.example.com/hass. What you want is probably virtualHosts."moon.home.example.com" = {
<patagonicus>
addSSL = true; enableACME = true; locations."/".proxyPass = "http://10.1.1.1"; } and then a separate virtualHosts block for hass.home.example.com.
KarlJoad has quit [Remote host closed the connection]
<ghasshee>
naon: Thanks for the answer. Do you mean that it is because Nix is dynamically typed ?
<ghasshee>
\
<madonius[m]>
Ah, that makes sense
<madonius[m]>
thanks
<{^_^}>
[nixpkgs] @fabaff opened pull request #108384 → python3Packages.python-whois: init at 0.7.3 → https://git.io/JLFgV
<ghasshee>
Does anyone know the answer of the question why nix is dynamically typed?
<madonius[m]>
would be great if there was a way to configure it in one structure, I will think about how that could be done and maybe issue a PR
chiefgoat has quit [Read error: Connection reset by peer]
domogled has quit [Quit: domogled]
dycan has quit [Remote host closed the connection]
<ghasshee>
answer.
<ghasshee>
I would like concrete examples that enlights the
<patagonicus>
madonius[m]: If it's just about not wanting to repeat the common options, you could use for example lib.mapAttrs': https://0bin.net/paste/ca14C2Js#-0JFwrviix//+Rzf6x4HPCQtpEB/AEQE2WNIu4FBqZL
<patagonicus>
It takes a bit to learn and I'm still learning, but once you get the hang of it, abstracting things in nix or nixos configs becomes really nice. I haven't gotten into writing my own modules, but that's the next step (they're really not that difficult).
Chiliparrot has quit [Ping timeout: 264 seconds]
<madonius[m]>
abstractions is the nixos shtick, right?
<patagonicus>
Might just be a result of the functional programming. I think functional language always tempt you to make things as abstract and reusable as possible.
cfricke has quit [Quit: WeeChat 3.0]
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLF2B
<{^_^}>
[nixpkgs] @fabaff opened pull request #108387 → python3Packages.asyncwhois: init at 0.2.0 → https://git.io/JLFwn
psiquo has joined #nixos
nly has joined #nixos
<nly>
what's it take to enable uefi? just enable uefi in config.nix?
meh` has quit [Ping timeout: 240 seconds]
Darkmatter66 has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 21 commits to staging-next: https://git.io/JLFwQ
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 22 commits to staging: https://git.io/JLFw7
orivej has joined #nixos
meh` has joined #nixos
respawn_ has joined #nixos
Chiliparrot has joined #nixos
lsix has quit [Ping timeout: 260 seconds]
meh` has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @otavio opened pull request #108388 → cargo-valgrind: init at 1.3.0 → https://git.io/JLFrw
psiquo has quit [Quit: psiquo]
<cptMikky>
hey, I have trouble fully understanding package overlays. I'm using them successfuly as a user (via ~/.config/nixpkgs/overlays) both as overrides (versions, patches, etc.) and new packages built via `callPackage` in one of the <.nix> overlay file. Now I need to install one of the packages as a system package but I can't seem to convince `nixos-rebuild` to use the overlays to install the new package. I've read
<cptMikky>
the NixOS manual but I'm not sure I fully understand it.
<cptMikky>
I've tried setting the $NIX_PATH to use my user overlays but with no success.
<pitch>
madonius[m] patagonicus thanks for the infos. i will give it a try. how bad of a practice are these infestation installers?
<aforemny>
Hi, I recently installed NixOS on a Thinkpad X1 Extreme Gen3 and my battery does not charge (it is now fully depleted). Before I install Windows again to see if I can solve that problem there, I wanted to ask if anybody had any idea what I could investigate? I am using nixos-unstable with the latest kernel, included thinkpad-x1e/gen2 from nixos-hardware which loads the the "battery" kernel module, and
<aforemny>
enables the throttled and tlp services. I have tried various hardware reset options that I have found on the internet to no avail. Any help would be appreciated! :)
<DigitalKiwi>
madonius[m]: it has a default set probably
<DigitalKiwi>
...that doesn't show up on the web interface
<dminuoso>
aforemny: Will the battery charge while loaded into bios?
<DigitalKiwi>
i think most things like that have a default
thibm has quit [Ping timeout: 246 seconds]
nocent has joined #nixos
<aforemny>
dminuoso: No, it does not charge there either
<dminuoso>
aforemny: Then you have bricked hardware. It's unlikely NixOS caused this.
<dminuoso>
Also try another charger, if possible.
carthia has joined #nixos
<dminuoso>
If the charger cant deliver enough power, it's quite possible that the firmware will refuse to put any charge into the battery.
<aforemny>
dminuoso: Thanks for the second opinion. I am too thinking the battery or charger might be defunct. Unfortunately, I don't have a second power supply to test.
ghasshee has joined #nixos
<dminuoso>
aforemny: Also, the cable could be defunct.
<dminuoso>
I dont quite understand the details, but USB-C is a very complicated standard. You can brick both chargers and devices if the cable has wrong electrical properties.
<dminuoso>
Which is even more funny, since USB-C is just a connector specification
<dminuoso>
So getting "the right cable" can be quite tricky, since vendors dont usually tell you what kind of cable you're getting
teto has quit [Quit: WeeChat 3.0]
<dminuoso>
(USB-C is the single largest mess the hardware industry has achieved in the past 20 years)
thibm has joined #nixos
<adisbladis>
dminuoso: Don't get me started.....
<adisbladis>
USB-C, the plug you look at and still have _no idea_ what it's for
<adisbladis>
Is it an analouge headphone port, or a digital one, or a displayport, or power, or ...
<adisbladis>
The answer to all of these things can be yes :/
<dminuoso>
adisbladis: Well, if its alt-mode, then all bets are off and it depends on whatever crazy stuff you're running over it.
<dminuoso>
Some of those are standardized, others not..
<dminuoso>
And even if you think you know what cable you have, suddenly there's differences like
<dminuoso>
For charging, it makes a difference whether you have a 56k ohms pull up resistor or not
DanC has quit [Ping timeout: 260 seconds]
cYmen has quit [Quit: bye]
<dminuoso>
Oh wait, I mixed it up even. Well, this is sort of proof how bad this standard is.
cYmen has joined #nixos
<dminuoso>
It looks nice if you live in this magical world of "one cable for everything" until you realize what a complete and blatant lie it is. :(
<aforemny>
Inside /sys/class/power_supply/BAT0, voltage_now says 12.178.000 and voltage_min_design 15.360.000. Would that be normal for a fully discharged battery?
<dminuoso>
T480s here, 12851000 / 11520000 for those values respectively
thibm has joined #nixos
<cz3>
hi there, I have a nixos host with fairly simple configuration.nix, I tried changing some networking settings and doing an upgrade but I keep receiving "all build users are currently in use"
<cz3>
I have already added nrBuildUsers = 48 and maxJobs = 48 to configuration.nix but it does not change anything :/
<cz3>
any idea what can I change to make it work?
<cz3>
I have removed nearly all networking settings but it is still crashing with above error
<aforemny>
dminuoso: Thanks! I am assuming voltage_now should always be >= voltage_min_design. But maybe not for a fully discharged battery.. *shrug*
ghasshee has quit [Ping timeout: 246 seconds]
elvishjerricco has quit [Ping timeout: 260 seconds]
<donofrio>
does anyone here know what I put in my config.nix that restricts all packages to compile only and blacklist AVX instruction sets?
<dminuoso>
aforemny: If the voltage is this far off the minimal design, you probably have a defunct battery.
<dminuoso>
Did you flash any firmware by any chance?
<lukegb>
donofrio: compile only would be putting "substituters = " in your nix.conf
ckauhaus has joined #nixos
pitch has quit [Ping timeout: 260 seconds]
aranea has quit [Ping timeout: 260 seconds]
jasom has quit [Ping timeout: 260 seconds]
lvrp16 has quit [Ping timeout: 260 seconds]
mupf[m] has quit [Ping timeout: 260 seconds]
HeN has quit [Ping timeout: 260 seconds]
globin has quit [Changing host]
globin has joined #nixos
<dminuoso>
aforemny: Also note, I dont know how much trust you can place in those values.
Emantor_ has joined #nixos
elvishjerricco has joined #nixos
<dminuoso>
I think the BIOS exposes battery health stats
<dminuoso>
Those should be more reliable
cheriimoya has quit [Ping timeout: 260 seconds]
orcus has quit [Ping timeout: 260 seconds]
scoates has quit [Ping timeout: 260 seconds]
Emantor has quit [Ping timeout: 260 seconds]
scoates has joined #nixos
mupf[m] has joined #nixos
jasom has joined #nixos
pitch has joined #nixos
HeN has joined #nixos
aranea has joined #nixos
cheriimoya has joined #nixos
lvrp16 has joined #nixos
stree has joined #nixos
gxt has quit [Quit: WeeChat 3.0]
cosimone has quit [Quit: cosimone]
<aforemny>
dminuoso: I updated the BIOS the first time I booted into Windows if I recall correctly. Unfortunately, the BIOS does not show any information on battery health.
<{^_^}>
[nixpkgs] @talyz opened pull request #108398 → profiles/hardened: Add note about potential instability → https://git.io/JLFSq
evanjs has quit [Ping timeout: 256 seconds]
eacameron has joined #nixos
lsix has quit [Client Quit]
lsix has joined #nixos
<eacameron>
I'm using Gnome and I can't figure out how to show background programs icons anywhere. E.g. I have keybase running (I think) but there's no way to open it. Anyone know what to do?
<dminuoso>
ij: Oh hold on, you can use networking.firewall.interfaces apparently
<dminuoso>
It's just not documented
<petrichor>
Anyone running foldingathome on a nixos box with a gpu?
<petrichor>
Any ideas why it would appear to be working fine but not actually report any progress?
<dminuoso>
ij: You can set `networking.firewall.interfaces.foo.allowedTCPPorts = [ 22 ]` for example, apparently
shibboleth has joined #nixos
<ij>
dminuoso, nice, so it seems from the module source!
<petrichor>
There was a while when I didn't have opencl working at all, and at that point it errored out, but now i have opencl working correctly for other apps (e.g. darktable, as verified by `darktable-cltest`) it seems to be working but definitely isn't
<ij>
I'll try it
meh` has joined #nixos
fendor_ has joined #nixos
ishan66 has joined #nixos
<dminuoso>
ij: Hah, I actually use this in one of our larger setups! :D
<ishan66>
I have written a shell.nix file to work on personal opengl project. I am trying to use the glm library but my lsp is showing me an error "In included file: no member named 'signbit' in the global namespace; did you mean '__signbit'?"
<ij>
dminuoso, I should have firewall.service running, right?
<dminuoso>
What is `firewall.service`?
<dminuoso>
All you need is `networking.firewall.enable` set to true, which is the default
<ij>
dminuoso, what firewall.nix module should be creating as a systemd service
<ij>
right, but I'm trying to troubleshoot why everything is open
<dminuoso>
ij: Which package are you using? plain iptables? of the nftables compat shim?
<ij>
ah, it's fals :/
quinn has quit [Ping timeout: 264 seconds]
<emilsp>
Is there a reason why, when enablindg systemd-resolved, /etc/resolv.conf is not a symlink to /var/run/systemd/resolved/{resolf.conf,stub-resolv.conf} ?
<ij>
it's firewall.enabled = false; which I glanced over, because my brain does interpretive reading (i.e. read what you think it is, not what it actually says)
<lukegb>
dminuoso: if you empty it, it'll compile everything
<lukegb>
it shouldn't use AVX if your system doesn't support it
hnOsmium0001 has joined #nixos
Chiliparrot has quit [Ping timeout: 246 seconds]
teto has joined #nixos
Chiliparrot has joined #nixos
lordcirth__ is now known as lordcirth
Qwerky has joined #nixos
JadoJodo has joined #nixos
<{^_^}>
[nixpkgs] @flokli opened pull request #108401 → stdenv: use gcc9 for x86_32 → https://git.io/JLFQ9
donofrio has quit [Quit: Leaving]
Profpatsch has joined #nixos
<Profpatsch>
Qwerky: hi
zebrag has quit [Quit: Konversation terminated!]
<emilsp>
petrichor: well, you source the contents of the correct file, but it ends up not being a symlink. This is not a nixos issue per-se, but that is how some software (specifically the one I'm paid to work on) detects if systemd-resolved is being used. The actual /etc/resolv.conf ends up being a symlink to /etc/static/resolv.conf. I guess we'll have to fall back to comparing the contents.
chiefgoat has quit [Ping timeout: 265 seconds]
<Qwerky>
Profpatsch: meep
growpotkin has joined #nixos
erasmas has joined #nixos
<{^_^}>
[nixpkgs] @ymatsiuk opened pull request #108402 → appgate-sdp: init at 5.1.2 → https://git.io/JLF7E
zebrag has joined #nixos
<siraben>
Anyone do app development with flutter and dart? Wish Nixpkgs had dartPackages
donofrio has joined #nixos
ishan46 has joined #nixos
zebrag has quit [Remote host closed the connection]
ilios has joined #nixos
chiefgoat has joined #nixos
zebrag has joined #nixos
fendor_ is now known as fendor
lsix has quit [Ping timeout: 258 seconds]
Qwerky has quit []
domogled has quit [Quit: domogled]
domogled has joined #nixos
<{^_^}>
[nixpkgs] @talyz opened pull request #108403 → [20.09] profiles/hardened: Add note about potential instability → https://git.io/JLF5F
ishan46 has quit [Remote host closed the connection]
<morgansmith>
so my fonts don't work so I put fonts.fonts = with pkgs; [dejavu_fonts]; into my /etc/nix/nix.conf and it didn't fix anything and now nix gives me the warning "warning: unknown setting 'fonts.fonts'". How do fonts?
Neo-- has joined #nixos
<dutchie>
that should be in configuration.nix not in nix.conf
<dutchie>
so should most settings
neiluj has quit [Ping timeout: 240 seconds]
ransom has joined #nixos
<morgansmith>
how come configuration.nix isn't mentioned anywhere in the manual?
<{^_^}>
[nixpkgs] @FRidh pushed commit from @TredwellGit to staging « xorg.xkbcomp: 1.4.2 -> 1.4.4 »: https://git.io/JLFb0
peskygee has joined #nixos
<adisbladis>
hyper_ch: You'll still want bleeding edge mesa with recent amd gpus/apus
<adisbladis>
Very happy to see that AMD is starting to contribute code before product releases :)
<Ericson2314>
does nix have unsafe pointer equality?
acairncross has joined #nixos
<hyper_ch>
adisbladis: for notebooks I used to buy only intel platforms because of wifi worries with linux... but my current notebook is an amd thinkpad
<Ericson2314>
adisbladis: yeah buying a dell with nvidia for my gf lately made me sad....really don't want to give nvidia any money, ever
<sphalerite>
hyper_ch: same, but it still has intel wifi :p
<peskygee>
Hi all, I have been using nixos for about 3 days now and its great, but I have one item that I just can't seem to get working. I have two laptops (hp), (sony) and the touchpad is not working on either of these systems. The mouse buttons work but not the touchpad. I tried to enable libinput and synaptics (depreciated) and still no touchpad support.
<peskygee>
What am I doing wrong? I can and am using an external mouse just fine, but I would like to resolve this because I have another laptop that I do use the touchpad. Any suggestions would be greatly appreciated.
<{^_^}>
[nixpkgs] @FRidh pushed commit from @lukebfox to staging « gnupg: 2.2.25 -> 2.2.26 »: https://git.io/JLFNL
<sphalerite>
hyper_ch: yep!
<sphalerite>
T14 AMD
<peskygee>
I thought at first it was a WM issue as I am using i3, but that is not the case because even at lightdm I can't use it either. Very strange !
<hyper_ch>
sphalerite: mine has 04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
<{^_^}>
[nixpkgs] @FRidh pushed commit from @kampka to staging « gdbm: 1.18.1 -> 1.19 »: https://git.io/JLFNh
<pushqrdx>
but i upgraded from a fully working Jack Audio/Linux Kernel RT 5.6 generation to kernel 5.10, now cadence is throwing an error and jack is no longer working
<pushqrdx>
so i though, well good thing i have my older generation
davidv7 has joined #nixos
davidv7 has quit [Remote host closed the connection]
<pushqrdx>
booted up in there and jack is also broken in my old one
davidv7 has joined #nixos
<pushqrdx>
wtf is this? shouldn't generations not leak into each other like that?
<pushqrdx>
i made sure that jack didn't put anything in my home dir that might have caused this to bleed
malook has quit [Quit: malook]
orivej has joined #nixos
zfnmxt has joined #nixos
<lordcirth>
pushqrdx, did jack put something in /var/ ?
<KarlJoad>
I am having an issue where a `python.withPackages (ps: [ps.sympy ps.mpmath])` isn't being propagated to run-time. Python is available (I can enter its REPL), but can't import those packages.
<pushqrdx>
lordcirth this is all that is returned searching lib, http://ix.io/2KR6
rajivr has quit [Quit: Connection closed for inactivity]
<pushqrdx>
non of these contain anyfiles i think
<KarlJoad>
Can anyone offer some guidance on this particular issue?
<{^_^}>
[nixpkgs] @malte-v opened pull request #108409 → kakounePlugins.kak-idris: init at 2020-12-29 → https://git.io/JLFAM
zebrag has quit [Quit: Konversation terminated!]
<{^_^}>
[nixpkgs] @Stupremee opened pull request #108410 → cargo-binutils: init at 0.3.3 → https://git.io/JLFAD
<pushqrdx>
lordcirth alright, now there's nothing called jack anywhere in /var or /home
<pushqrdx>
gonna reboot, hope it works
pushqrdx has quit [Remote host closed the connection]
<rednaZ[m]>
They are both single command installations.
<rednaZ[m]>
But the command is different.
<lordcirth>
rednaZ[m], Yes. --daemon does a multi-user install.
<KarlJoad>
How do I pass python packages through a derivation to be available at the program's run-time? I am already using a python.withPackages in propagatedBuildInputs.
<rednaZ[m]>
lordcirth: The point is that there should not be two different commands to do the same thing. It annoys users.
<lordcirth>
rednaZ[m], but it doesn't do the same thing?
mizlan has joined #nixos
<rednaZ[m]>
lordcirth: That makes it a whole lot worse!
<lordcirth>
rednaZ[m], it could probably be clarified - but the point of the quick install is to be simple.
<aolasz>
error: all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group
<aolasz>
Anyone got any ideea about this error during "regular" installation from USB stick: error: all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group
<lordcirth>
aolasz, what ISO are you using? does "grep nixbld /etc/passwd" show a bunch of users?
<aolasz>
I am using the latest iso
<aolasz>
[nixos@nixos:~]$ sudo inxi -M -S -z
<aolasz>
02/21/2020
<lordcirth>
aolasz, latest stable (20.09), or unstable?
<{^_^}>
[nixpkgs] @vcunat pushed to master « powerdns: patch build with gcc 10 »: https://git.io/JLFxM
<aolasz>
I have 32 users
<rednaZ[m]>
lordcirth: Users not being able to make out the happy path is bad user experience.
<lordcirth>
aolasz, hmm. The docs have you in a root shell. Can you try it with "sudo -i" just in case?
<lordcirth>
Shouldn't matter, but...
<pushqrdx>
i want to apply a patch to the this nixpkgs/pkgs/os-specific/linux/nvidia-x11/builder.sh and i added an overlay for nvidia-x11 but it isn't picked up idk why
<pushqrdx>
lordcirth on the jack issue, i rebooted and nothing changed still broken
<lordcirth>
pushqrdx, wierd. No idea where jack is storing state
<pushqrdx>
lordcirth it shouldn't have much places to do that anyway on nixos right? cause only /var and /home are mutable
<aolasz>
lordcirth Same error at the same place
<pushqrdx>
so idk how this happened
<lordcirth>
pushqrdx, well, if it's running as root it *can* write anywhere. But it really shouldn't write outside of /var and /home.
<lordcirth>
pushqrdx, maybe it wrote to /etc?
<pushqrdx>
but that shouldn't bleed into older derivations shouldn't it?
<pushqrdx>
i mean generations*
<pushqrdx>
like how can that affect my older fully working generation
<lordcirth>
pushqrdx, generations will set symlinks in /etc, pointing to /nix/store paths. Directly writing to /etc/ will be preserved, though, if /etc isn't on tmpfs and it doesn't get overwritten
<lordcirth>
You should not do that on NixOS, but root *can*
respawn_ has joined #nixos
<pushqrdx>
so you mean jack wrote something to /etc that affected it's store which in turn broken all my generations
<lordcirth>
pushqrdx, possibly? I dunno. It has to have written something somewhere
<goibhniu>
pushqrdx: do you get an error message when you try to start jack e.g. with qjackctl?
<pushqrdx>
yeah Allocate: can't check in named futex name = jack_sem.default_system err = Permission denied
<lordcirth>
Assuming you are sure that the generation you rolled back to did work, after a reboot
<aolasz>
lordcirth Thank you for the ideas, I go sleep on it, try again tomorrow.
<pushqrdx>
yeah it is fully working, and i didn't rollback i have both gens, the newer one that broke jack and the older one before upgrade
hiro98 has joined #nixos
<lordcirth>
aolasz, good night and good luck
<pushqrdx>
old one was working, new one broke, but also broke old one
<aolasz>
lordcirth 10X
domogled has quit [Quit: domogled]
turlando has joined #nixos
cfricke has quit [Quit: WeeChat 3.0]
<KarlJoad>
Ok, narrowed my problem down. I am using python.withPackages as a propagatedBuildInput, but I do not have it available during run-time. How can I get python available after the build?
hiro98 has quit [Client Quit]
<lordcirth>
KarlJoad, are you talking about a nix-shell config?
hiro99 has joined #nixos
<goibhniu>
pushqrdx: have you tried starting jack as root?
aolasz has quit [Remote host closed the connection]
thibm has joined #nixos
<pushqrdx>
goibhniu welp, running cadence as root sure made it work lmao
bitmapper has quit [Quit: Connection closed for inactivity]
<KarlJoad>
lordcirth: No? I am building symbolic for octave, which requires Python to be available during runtime (as it relies on sympy). I am using a `nix-shell --pure -p ...` to check if Python is available, and it isn't.
ragge42[m] has joined #nixos
<goibhniu>
oh, hrm, that's progress anyway
<pushqrdx>
goibhniu so it's some permission that was fucked somehow
<lordcirth>
pushqrdx, maybe cadence wrote something to your homedir as root earlier?
hiro99 is now known as hiro98
<{^_^}>
[nixpkgs] @sternenseemann opened pull request #108413 → zathura: fix fish completions → https://git.io/JLFpb
<pushqrdx>
lordcirth can't find anything cadence related in my home dir
zfnmxt has quit [Quit: Bye!]
<pushqrdx>
alright before i start investigating wth happened can someone please make my day and help with this little issue?
<pushqrdx>
i want to add a simple patch to the nvidia-x11 driver
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 64 commits to staging-next: https://git.io/JLFpj
<pushqrdx>
i tried to add it to my nixpkgs.overlays but for some reason it isn't picked up
<KarlJoad>
lordcirth: Right now I am passing `pythonEnv = python3.withPackages(ps: [ps.sympy ps.mpmath])` and `propagatedBuildInputs = [ pythonEnv ]`. But, I don't get that python environment after the build.
<lordcirth>
pushqrdx, what if, while on the older gen, you make a new user and run cadence/jack? Then copy the homedir or git commit or whatever, then reboot to the new gen and diff?
astylian has quit [Remote host closed the connection]
<pushqrdx>
lordcirth all generations are broken
<{^_^}>
[nixpkgs] @piegamesde opened pull request #108414 → gnome3: Package all the Gnome extensions → https://git.io/JLFhJ
<lordcirth>
pushqrdx, yes, but if the breaking state is in your homedir somehow, a new user won't have it
<pushqrdx>
oh, alright i got what you mean now, i will try that after i rebuild with the nvidia patch should i ever figure out how it can be picked
<pushqrdx>
idk why it isn't though
<pushqrdx>
it's a very simple overlay
<lordcirth>
I still don't really understand overlays
zfnmxt has joined #nixos
<{^_^}>
[nixpkgs] @rmcgibbo opened pull request #108415 → flatbuffers: unbreak with gcc10 → https://git.io/JLFhq
<asymmetric>
it seems to me that nativeBuildInputs "means" that the deps are meant to be run on the host, so is there really a need to use buildPackages?
morgrimm has joined #nixos
<morgrimm>
Hey all - is anyone running Nix on Big Sur and is actually able to build anything?
<morgrimm>
I'm running into linker errors building building pretty much any package from source, and nix-darwin isn't pulling from binary caches it seems
<supersandro2000>
still broken right now
veleiro has joined #nixos
<morgrimm>
Damn - we still waiting on Apple's dynamic linker info to bake support in?
<veleiro>
i'm getting this error trying to use flakes:
<lordcirth>
asymmetric, AFAIK, nativeBuildInputs means that these packages should be of the target arch, not the builder arch
<veleiro>
sudo nixos-rebuild switch --flake '.#'
<veleiro>
error: unrecognised flag '--experimental-features'
<veleiro>
is it possible nixos-rebuild and nix dont match ?
<lordcirth>
veleiro, You need to switch to nixUnstable to have flakes
<veleiro>
$ nix --version
<veleiro>
nix (Nix) 2.4pre20201201_5a6ddb3
<lordcirth>
veleiro, what is your NixOS version?
<veleiro>
i'm running in nix-shell for nixflk at the moment
<veleiro>
but my host is nixos 20.09 updated yesterday
<lordcirth>
veleiro, what is the version of your nix daemon though? nix --version outside the nix-shell
<veleiro>
not nix 2.4
<veleiro>
2.3.7
<lordcirth>
Right, you need the daemon to be 2.4, I'm pretty sure
<veleiro>
that's a good point and makes sense. i sometimes forget there's a daemon
<veleiro>
another thing about flakes, why cant I find the .drvs that errors list
<veleiro>
or is it because i'm in nix-shell?
<veleiro>
i'm pretty sure derivations arend destroyed until exit
lsix has quit [Ping timeout: 260 seconds]
endformationage has joined #nixos
Darkmatter66 has joined #nixos
<pushqrdx>
you know what i really wish was there? a way to overlay pkgs based on directory structure, so that i can just place the edited files where they belong and my configuration.nix would pickup and use the edited versions if there's any
<pushqrdx>
i have been trying for 6 hours to overlay a simple file
<veleiro>
pushqrdx: i'm not an overlay expert but..
<KarlJoad>
I have a singular octave package that is weird. It needs python at run-time. However, I cannot substituteInPlace because I don't unpack the source. How can I get Python all the way to run-time?
<veleiro>
you basically would be replacing the buildPhase
<veleiro>
you can always use a fork of nixpkgs and apply that patch manually
<veleiro>
instead of an overlay
<veleiro>
scratch that about the buildPhase, I dont know how an overlay relates
<veleiro>
to builder.sh
<noonien>
has anyone managet to the the camera working on a raspberry pi 3, on nixos, by any chance?
<pushqrdx>
alright screw doing it the nix way because it's broken :D, i cloned nixpkgs how can i use it instead of the nix channel
<pushqrdx>
i removed the channel using nix-channel --remove
<lukegb>
pushqrdx: if you want to use it in a similar way, put it in your NIX_PATH
<lukegb>
e.g. NIX_PATH=nixpkgs=/path/to/my/checkout/of/nixpkgs; then it's accessible through <nixpkgs> as usual
<pushqrdx>
lukegb trying to rebuild i keep getting file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
<pushqrdx>
building Nix...
<pushqrdx>
even though i have my local checkout in path
lewo` has quit [Remote host closed the connection]
pushqrdx has joined #nixos
<pushqrdx>
i think either i am too dumb or something is broken
<pushqrdx>
here's what my NIX_PATH echoes /home/pushqrdx/.dev/nixpkgs-nixos-unstable:/root/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<pushqrdx>
where the first path is to my local checkout of nixpkgs
<pushqrdx>
and i removed the unstable channel from my list, now nix-channel --list yields nothing on both root and user
<pushqrdx>
trying to rebuild i keep getting file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
<pushqrdx>
building Nix...
<{^_^}>
[nixpkgs] @ppenguin opened pull request #108424 → Add scipy and pyyaml to FreeCAD, fix vtk8 build on gcc10 → https://git.io/JLbIo
attila_lendvai has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.ppx_import: use dependencies as listed in opam file »: https://git.io/JLbIh
pushqrdx has quit [Remote host closed the connection]
<peskygee>
I was hoping to get some assistance with libinput? I have two laptops and I cannot get the touchpads on either of them to work.
<matthewcroughan_>
How could I get this to trigger a rebuild if the latest hash has changed?
<matthewcroughan_>
It'd be great if it could, for example, compare the cached git hash vs the latest git hash and if there's a new one, fetch and build it.
domogled has joined #nixos
<peskygee>
The buttons work but the trackpad are not for some strange reaosn
<{^_^}>
[nixpkgs] @wmertens pushed 3 commits to release-20.09: https://git.io/JLbtl
<l-as>
Ericson2314: what should I do about transupp
<Ericson2314>
Las: can we make another dev_internal output?
<Ericson2314>
with all that stuff
<l-as>
I am not sure, because the problem, as he described it, is that it could break other users of the API
<Ericson2314>
I think that's bullshit
<Ericson2314>
adding more stuff is not a breaking change
peskygee has quit [Quit: leaving]
<l-as>
a library that depends on libjpeg-turbo that already vendors transupp.c would have conflicting symbols if it were also added to the shared library
<Ericson2314>
expecially with C whree the symbols leak either way
<l-as>
you could make the symbols weak with some GCC extensions though
<Ericson2314>
oh so dev_internal + lib_intenral
<Ericson2314>
ugh
<Ericson2314>
at least there is one SO and nobody should be vendoring things instead of using it
<l-as>
actually, weak symbols may be the best solution
<l-as>
let me check the reference
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<Ericson2314>
if you like, but i think that's even mroe work than extra SO
<peskygee>
Guys, just hopped on the say thanks for the input on the touchpad settings. I'm good now! Now to switch and setup the other sys. Thanks again