<{^_^}>
[nixpkgs] @marsam opened pull request #98696 → postgresql_13: init at 13.0 → https://git.io/JUaeh
<roconnor>
Ericson2314: and unrelated, nix doesn't build with gcc 8.4. This is sad, but maybe not unexpected. I don't quite get why -std=c++17 lets you get away with c++20 features.
<Ericson2314>
roconnor: at least with LLVM you have to only use with very simple structs that could be C
* jasom
hates configuration modules that A) don't support all the features of the service and B) don't provide a way for you to specify a text configuration file.
justan0theruser has joined #nixos
<clever>
jasom: on that subject, i found tgtd to be rather weird, it has both tgtadm and tgt-admin
<simpson>
jasom: Sometimes it's for your own good; there's some features where upstream has hinted that end users should *not* configure it, usually because it's a legacy setting.
<clever>
jasom: tgtd is the daemon itself, and tgtadm is a binary to control the daemon over an rpc
<simpson>
This sounds weird, but we have a culture of gently forcing people to upgrade their configuration.nix.
<clever>
jasom: but neither of those even support its own config file, instead, tgt-admin (a perl script) parses the config, and runs tgtadm to configure the daemon!!
justanotheruser has quit [Ping timeout: 260 seconds]
<clever>
jasom: when i wrote a nixos module for that, i skipped the perl layer entirely, so there is no way to specify textual config, the binary that parses it is never ran!
<jasom>
because it lest you specify a template for a dataset, but any value explicitly set in that section overrides the templates, meaning you can't template anything in commonConfig. Is there a way to eliminate an item completely from a set that already has a mkDefault?
lordcirth__ has quit [Ping timeout: 260 seconds]
<jasom>
IMO it either shouldn't offer templates, or should disable the default values when a template is being used, since right now they just don't work
<simpson>
jasom: I don't grok this module, but I think that the restriction comes from systemd?
<jasom>
simpson: no; it's an ini format configuration file, you can have sections like [foo_template] and then other sections can have values like "use_template = foo". However any value explicitly specified in a section overrides the template, and due to the commonConfig, it will always explicitly set all values in each section.
<simpson>
jasom: And the daemon would rather that those values be unset, in order to achieve your configuration goals?
<jasom>
My solution is to just use a nix let expression instead of a template, but I don't think the author intended templates to not work at all.
<jasom>
simpson: my non-nix configuration used templates that are part of the daemon's configuration syntax to avoid repetition. The nix configuration module offers templates, but they cannot ever have any effect since it also explicitly specifies each value in each section.
<simpson>
Oh, okay.
<jasom>
in addition, there is an option for "frequent" snapshots and the configuration module does not allow setting that
<jasom>
just hourly/daily/weekly/monthly
<jasom>
though I findally found a .settings that will map a nix set into a .ini file for me, so I can step around most of this weirdness
<hpfr>
does nixpkgs not have a clang-format package?
brnhy has joined #nixos
<hpfr>
when I run `nix-shell -p clang` I can use `clang-format`, but when I put `clang` in my `environment.systemPackages` there's only `clang`, no `clang-format`?
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saschagrunert has joined #nixos
mounty has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
karantan has joined #nixos
lordcirth__ has joined #nixos
lordcirth_ has quit [Ping timeout: 260 seconds]
joesventek has quit [Quit: Quit]
joesventek has joined #nixos
lordcirth_ has joined #nixos
lordcirth__ has quit [Ping timeout: 260 seconds]
zecnate has joined #nixos
<zecnate>
I want to create a src derivation which takes a local directory and selects a subset of it with the same internal relative paths. Is there a convenient way to do this?
<zecnate>
Motivation: I'm writing nix derivations inside a repo to build different pieces of it. It _works_ to name the repo root as "src" for all of the pieces, but then any change anywhere in the project causes a cache miss for all of these pieces. I want to specify the subsets of the project src for each dependency so only the correct dependencies are
<zecnate>
rebuilt when hacking on the app.
<{^_^}>
[nixpkgs] @doronbehar merged pull request #96985 → octave: use qt-5 mkDerivation for wrapQtAppsHook → https://git.io/JUOqC
<Taneb>
I'm trying to clean up the configuration of my work's Hydra server and I'm now getting a bunch of errors in the hydra-queue-runner logs like "Sep 25 10:35:54 jeeves hydra-queue-runner[18775]: linking '/nix/store/14yczdq310qcakhwycb0594qs3y306fx-ghc-8.6.5-with-packages/lib/ghc-8.6.5/x86_64-linux-ghc-8.6.5/primitive-0.6.4.0-ILgywxtLpvnAOlEISPpP5b/Data/Primitive/Internal/Compat.p_hi' to '/nix/store/.links/0cxsrml0752k1vq41v71hinn6zp1dgmw7wfpmdzjc7d
<Taneb>
jbaa6q0c7'"
ialhamad[m] has joined #nixos
juan[m] has joined #nixos
<Taneb>
Oh huh, those are just red, they're not actually errors...?
<graf_blutwurst>
Hi. I'm trying to set up a yubikey with gpg-agent and ssh-support. but for some reason ssh-agent keep starting even though it shouldn't. does anyone have an idea how to find out why that is?
<immae>
graf_blutwurst: did you by chance set `programs.ssh.startAgent = true`
grobi has joined #nixos
ericsagnes has joined #nixos
<immae>
(you may look at "systemctl --user status ssh-agent" to see if the service is enabled)
<graf_blutwurst>
no i have that one disabled. initially i tried to get it working with home-manager but gave up on that
<graf_blutwurst>
the service unit can't be found
<graf_blutwurst>
the funny bit is that if i look at e.g $SSH_AUTH_SOCKET it still picks the regular ssh-agent one over gpg-agent
hyper_ch2 has quit [Read error: Connection reset by peer]
<immae>
Ok let’s start from the top. How do you determine that "ssh-agent keeps starting"? Did you try to kill it and see if it restarts by itself?
hyper_ch2 has joined #nixos
<graf_blutwurst>
well on a fresh boot `ps -ef | grep ssh` does turn up the ssh-agent. however after killing it either through `kill` or `ssh-agent -k` it does not get auto restarted
veleiro has quit [Ping timeout: 240 seconds]
<graf_blutwurst>
ah actually it *does* get restarted sorry
<immae>
ok
<graf_blutwurst>
at least if i run `ssh-agent -k`
<graf_blutwurst>
if i actually kill it it stays down
<immae>
can you try to see where in the process tree it is? (like with "pstree -aUp your_user")
<immae>
In my case for instance it lies under "systemd --user", so it is started via a service
<immae>
(there might be better ways to figure out who starts it, if you know them try them)
bahamas has joined #nixos
<graf_blutwurst>
i don't know them. that's part of the problem i think. lemme relog quickly so the agent restarts
graf_blutwurst has quit [Remote host closed the connection]
graf_blutwurst has joined #nixos
<immae>
(next suspect is your x session manager being zealous, but the command above should tell you that)
grobi has quit [Quit: WeeChat 2.8]
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUant
<CRTified[m]>
Hi, can someone point me to what I'd need to do to create a non-install sd image for the RPi3? So I basically want to (cross-)build the wanted config on my desktop with a finalized and working SD-Image in the end. (I basically have the same question for the RPi Zero, but it looks like I "just" need to undo some changes from the installation-device profile?)
<immae>
graf_blutwurst: both are there? so it’s your session. Do you have an X session manager or something alike?
<immae>
where does "pstree -aUp grafblut" shows it?
<immae>
Ah better: pstree -aUsp <pid>
<immae>
more succint :)
CyberManifest has quit [Quit: Leaving...]
<graf_blutwurst>
-a doesn't seem to be a valid option for me. but without it `--= 02805 grafblut ssh-agent`
<immae>
Hmm
<graf_blutwurst>
so still directly under `-+= 00001 root systemd`
<immae>
ok
Sanchayan has quit [Quit: leaving]
<immae>
(that’s not very helpful :D )
<immae>
Do you have things in /etc/X11 or ~/.config/autostart ?
<immae>
maybe /etc/xdg/autostart too
<graf_blutwurst>
lemme check
bahamas has quit [Ping timeout: 256 seconds]
<graf_blutwurst>
only /etc/X11 but nothing in there seems to be booting any applicaitons
<immae>
ok
<graf_blutwurst>
only the usual xorg.conf and xkb stuff
<immae>
ok
<immae>
(that would be in /etc/X11/xinit or /etc/X11/Xsession.d)
shabius_ has joined #nixos
<graf_blutwurst>
neither of those exist
<immae>
how does your xfce session starts? do you have a "graphical screen" that shows a nice login screen, or a xinit file somewhere started via a hook in your .bashrc / .fishrc ?
<graf_blutwurst>
graphical login through xfce. then xmonad gets started
shabius has quit [Ping timeout: 260 seconds]
<immae>
Ok that makes the list of configs to look at a bit longer :p
sangoma has joined #nixos
<immae>
do you have a way to eliminate xmonad from the equation? Like starting only a xterm after login?
<immae>
(you can try login in a console too to check if there is some pam things happening)
<immae>
(if the second ssh-agent starts even when you’re in console then you can eliminate graphical things, which is a good thing)
cr4y1_ has quit [Read error: Connection reset by peer]
cr4y1_ has joined #nixos
<{^_^}>
[nixpkgs] @ju1m opened pull request #98734 → zerobin: update to v1.0.5 → https://git.io/JUacd
<graf_blutwurst>
yeah i have to figure out how i can verify this with minimal amount of reconfigure. I wonder if it's enough to reboot and then before login switch to tty6
<graf_blutwurst>
well then. brb, rebooting once more
graf_blutwurst has quit [Remote host closed the connection]
graf_blutwurst has joined #nixos
rprije has quit [Ping timeout: 264 seconds]
<graf_blutwurst>
ok so after the reboot i switched to another tty and logged in as root. no ssh-agent. logged in on the same tty again as me and there it is
cr4y1_ has quit [Remote host closed the connection]
<immae>
ok
<immae>
so, non-graphical session right?
<immae>
Then the issue is some configuration in PAM probably
cr4y1 has joined #nixos
teto has joined #nixos
<immae>
or one of your user systemd services that starts ssh-agent, it’s also possible. In that case you can compare the PID of ssh-agent and see if there are other pids close to it
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUaCF
<immae>
The only way to get forward would be to find out which process started that, but it seems that the parent terminated at some point so I’m clueless to find out
noonien has joined #nixos
<graf_blutwurst>
thank you so much already for the help. At least I know in which direction to dig now
mallox has joined #nixos
<immae>
you’re welcome, good luck!
<immae>
(I’m interested in the answer if you find out at some point)
ky0ko has quit [Quit: killed]
ky0ko has joined #nixos
cr4y1 has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
ptival[m] has left #nixos ["User left"]
aforemny has joined #nixos
ptival[m] has joined #nixos
cr4y1_ has joined #nixos
davidv7 has quit [Ping timeout: 240 seconds]
<ptival[m]>
I tried gcc.cc.overrideAttrs ({...}: { preInstall = ''exit 1''; }) but it does not seem to be running that hook (build succeeds), any idea why?
<aforemny>
Hi! I think I have remote builds set up in configuration.nix. I am on a x86_64 machine. How do I start a remote build of say pkgs.xorg.xorgserver on a remote aarch64 builder? I tried passing `--argstr localSystem aarch64-linux` and `-j0` to `nix-build`. But it tells me to either increase max-jobs or enable remote builds. What should I investigage? I think I am not specifying the native aarch64 build
<aforemny>
correctly and it tries to build x86_64.
<clever>
ptival[m]: if you run `nix show-derivation` on the drv, does it have an installPhase?
grobi has quit [Quit: WeeChat 2.8]
cr4y1__ has joined #nixos
<clever>
aforemny: when you import <nixpkgs> you must set system = "aarch64-linux";
<fps>
what was the search term again to help me find the way to create LSH environment for a non cooperative app?
<fps>
:)
<CRTified[m]>
fps: do you mean buildFHSUserEnv?
<fps>
CRTified[m]: thanks :)
cr4y1_ has quit [Ping timeout: 258 seconds]
graf_blutwurst has quit [Remote host closed the connection]
<aforemny>
clever: Thanks! That did the trick. But why is that not the same as specifying `--argstr system aarch64-linux`?
<fps>
cool, it looks as if i got the bad bad mutating teensyduo stuff installed to an arduino ide location :) CRTified[m] thanks again
deltasquared has joined #nixos
<CRTified[m]>
No problem, fps 🙂
ramen_master has quit [Ping timeout: 240 seconds]
<deltasquared>
hey all, so while I am not a regular nix(os) user I still like to keep them in mind when I write projects. I was thinking, if I had some sort of shell or lua script say that had some other files it needed to load (probably would "normally" go under /usr/lib/$pkgname). in theory if I made it so that the main entry point script was provided the path to it's data directory as an argument by some wrapper
<deltasquared>
script, it'd make it easier to package for nix in theory right?
<deltasquared>
because then the wrapper script could just be generated by a nix expression, and it'd point to the directory in the store instead.
EsperLily has quit [Remote host closed the connection]
<Mic92>
lua uses LUA_CPATH/LUA_PATH and in nix we have ways to generate wrappers for applications so that those are added as environment variables
sangoma has quit [Ping timeout: 256 seconds]
<Mic92>
There is a lua section in the nixpkgs manual covering that
<deltasquared>
Mic92: I see. still, the idea popped into my head because it'd be trivially transportable to FHS-based distros as well. I guess I just didn't like the idea of cluttering up the environment. using arg-provided paths does also have the nicety that one doesn't have to worry so hard about naming things in order to make them unique in a given path lookup I guess.
<deltasquared>
"naming things is hard" aside I guess otherwise the two methods are more or less equivalently flexible.
<Mic92>
deltasquared: I not really sure I understand what you want to achieve.
<deltasquared>
Mic92: it may not really achieve anything yet so I'm not sure myself. mostly just thinking aloud but I also figured if I followed a convention that nix uses naturally anyway it could potentially help in porting scripts to nix. this somewhat assumes anyone will ever find anything I write worth using, but sometimes I just like to think about such things.
kahiru has quit [Ping timeout: 240 seconds]
kahiru has joined #nixos
<{^_^}>
[nix-idea] @Mic92 merged pull request #15 → Refresh for compat with IJ 2020+ → https://git.io/JJQ6l
<duairc>
`{ foo.bar = 1; } // { foo.baz = 2; }` gives `{ foo.baz = 2; }` - is there a library function that would (instead of //) give `{ foo = { bar = 1; baz = 2 }; }` ?
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}>
[nixpkgs] @DavHau opened pull request #98743 → nixos/k3s: add ip_conntrack to kernel modules → https://git.io/JUaBl
<{^_^}>
[nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JUaBF
AWizzArd has joined #nixos
<AWizzArd>
I would like to let Nix create a Docker image for me. In that image I need the default ca-certificates that ship with all distros nowadays. How can I add them as a dependency?
<AWizzArd>
Right now I am using the nix-shell as a thin layer over my development environment. Nix fetches all the deps that I need, but I still expect that (for example) emacs can be called in my non --pure shell. While being in that shell I see the cacerts that my Ubuntu provides.
<AWizzArd>
But I see that I am missing a component here that describes what my software would depend on, if I were to place it in a Docker image.
<ptival[m]>
@clever not sure how to check it, I did "nix show-derivation `nix-instantiate ./my-derivation.nix`" but don't see phase mentioned, but I also tried "nix show-derivation `nix-instantiate "<nixpkgs>" -A hello`" and can't find phases mentioned here either... what should I expect to see?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evils>
i'm trying to build a nixos VM, with a simplified config `users.users.evils.password` works, but somehow in my full config (with the same user config) the password is incorrect (got the keyboard layout right), any idea what could cause that?
gustavderdrache has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
tmaekawa has joined #nixos
<raboof>
AWizzArd: nix-locate shows me `nixpkgs.cacert` contains `${cacert}/etc/ssl/certs/ca-bundle.crt`... not sure about ca-certificates.crt though
_0mp has joined #nixos
davidv7 has joined #nixos
<aforemny>
clever: I see. That explains it. Thanks! :) Next I had gotten an error that host key verification failed. It took me a while to realize that I have to add the host key as root rather than as my regular user account. But now it builds! Amazing :)
<clever>
aforemny: i prefer using programs.ssh.knownHosts
<clever>
aforemny: that makes the known hosts system wide, and lets me pre-load hosts i know of into every system
codezero has quit [Ping timeout: 246 seconds]
AWizzArd has quit [Ping timeout: 246 seconds]
sangoma has joined #nixos
azure1 has quit [Read error: Connection reset by peer]
<Taneb>
How worried should I be by warnings from hydra-queue-runner like "warning: n concurrent database updates; PostgreSQL may be stalled"?
cr4y1_ has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
grobi has joined #nixos
__monty__ has joined #nixos
cr4y1__ has quit [Ping timeout: 265 seconds]
cosimone_ has quit [Quit: Quit.]
o1lo01ol1o has joined #nixos
hyper_ch2 has quit [Read error: Connection reset by peer]
justanotheruser has joined #nixos
<{^_^}>
[nixpkgs] @TredwellGit opened pull request #98751 → generate-expr-from-tarballs.pl: quote URLs per RFC 0045 → https://git.io/JUazG
cr4y1_ has quit [Ping timeout: 264 seconds]
waleee-cl has joined #nixos
<lordcirth__>
I'm writing a service module, and there's a mandatory argument with default null. Currently, if it's not set, I get a null error. Presumably I should test for null and return a more helpful error. What kind of exception should I be returning?
<earldouglas>
How do I "apply" a change to time.timeZone? After nixos-rebuild switch, my system seems to still use the old time zone.
cizra has quit [Read error: Connection reset by peer]
cizra has joined #nixos
tmaekawa has joined #nixos
<vidbina>
Hey fam, I just find a few nix-shell environments failing to build because of some 404's how can I move forward. Can I run `nix-shell` against an older channel to see if the packages for that are still available online?!?
<vidbina>
I already tried `nix-shell --pure -I nixpkgs=/path/to/older-channel` but it doesn't seem to do what I hoped it would. Just being a noob again.
<ptival[m]>
vidbina: you can open the shell.nix file to see whether it accepts a nixpkgs as arguments, or pins one, and you can change that to some other version of nixpkgs to test
CyberManifest has joined #nixos
bahamas has quit [Ping timeout: 256 seconds]
tmaekawa has quit [Quit: tmaekawa]
grobi has quit [Quit: WeeChat 2.8]
<earldouglas>
I see that /etc/localtime is up to date, but $TZ is still old, and bouncing systemd-timedated.service has no apparent effect.
<{^_^}>
[nixpkgs] @woffs opened pull request #98753 → [20.09] dvdbackup: fix build with libdvdread >= 6.1.0 → https://git.io/JUagc
<lordcirth>
Anyone know an example of a service with a mandatory argument? I know I've seen some but I can't remember any
earldouglas has joined #nixos
<earldouglas>
Ah ha, I had `export TZ=oldtz` in my shell profile. Oops.
codezero has joined #nixos
karantan has quit [Ping timeout: 240 seconds]
<ptival[m]>
oh no
<vidbina>
ptival: Thanks for that tip. Locked the version to 19.03 but builds still fail. What do you do when remote packages are no longer available? Does Nix have a way of retrieving them from some Nix-cache? Or am I out of luck now?
sbetrium has joined #nixos
<vidbina>
As long as I'm 404-ing
<ptival[m]>
as in, the source of the package?
AWizzArd has joined #nixos
<vidbina>
Exactly. Seems like some of them are on ipfs.io and when i cURL em I come up empty, so I'm guessing this route is a dead-end
<lordcirth>
vidbina, what urls? ipfs source?
<ptival[m]>
I don't think sources are ever cached, only builds AFAIK. Cannot find any mirror for whatever software this is?
niksnut has quit [Remote host closed the connection]
<vidbina>
ptival: Sorry "tlnet" without the dash. Not even sure what it does, but I'm pretty close to aborting and just writing a Dockerfile that I can build my LaTeX docs from.
domogled has joined #nixos
<vidbina>
ptival: I'm accepting that I'll be spending time on this today either ways. I considered going back a generation or two, but then realized that nix-shell environments have been cleaned up last time I did some nix-store housekeeping.
<{^_^}>
[nixpkgs] @grahamc opened pull request #98760 → terraform-providers: update all → https://git.io/JUaan
james has joined #nixos
james has quit [Client Quit]
earldouglas has joined #nixos
KarlJoad has joined #nixos
<{^_^}>
[nixpkgs] @Infinisil opened pull request #98761 → Streaming to pretty clean → https://git.io/JUaau
<KarlJoad>
I am trying to use the nixos-hardware repository for my laptop. However, after a rebuild, I cannot switch, as the cpufreq.service systemd unit cannot be found.
<KarlJoad>
The error itself is "Failed to start cpurfreq.service: Unit cpufreq.service not found". Any ideas?
<evanjs>
Is there any documentation on using rust-bindgen with nix? Struggling to get everything working, depend on a package that utilizes rust-bindgen, etc
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<symphorien[m]>
rust-bindgen the cli command or rust-bindgen the crate ?
<symphorien[m]>
the command is wrapped appropriately iirc
<{^_^}>
[nixos-hardware] @ehmry pushed 2 commits to reform: https://git.io/JUaVn
o1lo01ol1o has joined #nixos
meh` has quit [Quit: Lost terminal]
civodul has quit [Remote host closed the connection]
meh` has joined #nixos
nerdypepper has quit [Ping timeout: 260 seconds]
<evanjs>
mmm well I have (c++ library) -> (rust-bindgen-wrapped-library) -> (rust binary)
<evanjs>
once I depend on the bindgen-wrapped-library, though, nix always seems to want to rebuild it lol
<evanjs>
like various things aren't propagated
<{^_^}>
[nixos-hardware] @ehmry pushed 2 commits to reform: https://git.io/JUaV6
<jordandoyle>
alright gang, anyone running nixos on dell hardware? just got a T240 and trying to install but the drives from my BOSS card aren't showing up
<jordandoyle>
it shows in lspci and is using the acpi driver, not sure if it's another driver it should be using
<evanjs>
symphorien[m]: so I'm also trying to consume a crate that uses rust-bindgen
<evanjs>
idk, maybe it's best if I just do all I can for the crate I need to consume in crate2nix or similar
<symphorien[m]>
but does it consume the crate rust-bindgen or the executable ?
sangoma has quit [Ping timeout: 272 seconds]
<evanjs>
symphorien[m]: right now, rust-bindgen is not present in the expression, only in build-dependencies in the Cargo.toml
<evanjs>
symphorien[m]: okay, seems like it's more or less what I'm seeing/using
<evanjs>
I wonder if I should not be using/relying on env variables for my build.rs, and if that's what's messing things up
<evanjs>
e.g. for the bindgen library, I will have the include path defined in an env variable in the expression. that is then consumed by build.rs
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<evanjs>
However, once I depend on that library, it acts as if the env variable is not defined
<{^_^}>
[nixpkgs] @zimbatm merged pull request #97963 → [20.09] lefthook: use go 1.14 to build → https://git.io/JU8MH
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @NobbZ to release-20.09 « lefthook: use go 1.14 to build (#97963) »: https://git.io/JUawH
<nilsirl[m]>
I'm trying to decode a file on a different disk but I get the error "gpg: public key decryption failed: No pinentry". I think the issue is that I am setting the `--homedir` option (but I can't remove it because the private keys I need to decode are stored in a non default location).
knupfer1 is now known as knupfer
kenran has quit [Ping timeout: 272 seconds]
<gustavderdrache>
any chance you're missing the pinentry binary from your $PATH?
<gustavderdrache>
,locate bin pinentry
<{^_^}>
Found in packages: pinentry, pinentry.qt, pinentry.tty, pinentry.gtk2, pinentry.emacs, pinentry.curses, pinentry.gnome3
gentauro has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @zimbatm merged pull request #83327 → nixos-rebuild: support --upgrade-all and document --upgrade → https://git.io/JvS3q
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @grahamc to master « nixos-rebuild: support --upgrade-all and document --upgrade (#83327) »: https://git.io/JUawA
gentauro has joined #nixos
<nbathum>
nilsirl[m]: do you use the nixos-option for this?
<nilsirl[m]>
gustavderdrache: I didn't have pinentry in my PATH, I just installed it (using `nix-env -iA nixos.pinentry`), but that didn't fix the problem, also note that I don't have this problem when I don't set the `--homedir` option.
<nilsirl[m]>
<nbathum "nilsirl: do you use the nixos-op"> I don't think so..... I don't even know what `nixos-option`
<nilsirl[m]>
is
<evanjs>
nixos-option lets you query stuff set in your nixos config
<symphorien[m]>
evanjs if you are the developper, I would suggest using rust-bindgen the executable from nixpkgs
<symphorien[m]>
it is well maintained because it is a dependency of firefox :)
<evanjs>
symphorien[m]: *checks nix-du master*
<evanjs>
oh look, crate2nix :P
<symphorien[m]>
nix-du master commits the pre-compiled header...
<symphorien[m]>
I have a script to call rust-bindgen the executable, on demand
<symphorien[m]>
and no fancy llvm environment variables
<nilsirl[m]>
<nbathum "nilsirl: if you manage gpg-agent"> I just use programs.gnupg.agent.enable=true
<KarlJoad>
I am trying to use the nixos-hardware repository for my laptop. However, after a rebuild, I cannot switch, as the cpufreq.service systemd unit cannot be found. The error itself is "Failed to start cpurfreq.service: Unit cpufreq.service not found". Any ideas?
<nbathum>
I was having this problem like 2 years ago, and I don't recall what the actual problem was. I'm on a nonstandard desktop, and now I just have `enable = true`, and `pinentryFlavor = "curses"` (and that pinentry in my system)
<{^_^}>
[nixpkgs] @doronbehar pushed to master « all-packages.nix: Fix a mis-indented `};` »: https://git.io/JUarl
<{^_^}>
[nixpkgs] @andir pushed 2 commits to release-20.03: https://git.io/JUao3
aforemny has quit [Ping timeout: 258 seconds]
_0mp has left #nixos [#nixos]
syd has joined #nixos
<syd>
I'm trying to package a python application for the first time, and I'm running into an issue where it says "No matching distribution found for sox"
AWizzArd has joined #nixos
AWizzArd has quit [Changing host]
<syd>
I've tried adding sox to the `buildInputs`, the `propagatedBuidlInputs`, the `checkInputs` and the `pythonPath` but I have no idea what I'm doing (clearly)
<KarlJoad>
Is there a way to make the online documentation not use ligatures? For example, the != in a bash snippet is converted to the "not equals" sign.
<immae>
KarlJoad: it’s your own font, not the documentation :-)
<immae>
curl it into a terminal (or anywhere where the font wouldn’t be able to add its ligature) and you’ll see a normal !=
<KarlJoad>
Ok. I guess I changed something somewhere, although I don't know what I changed.
<immae>
There is a popular recent font that does that, I cannot remember his name
<immae>
jelly-something (or some name in j)
<immae>
jetbrains
<immae>
if you installed it and used it then you’ll end up with what you describe above
<KarlJoad>
I don't believe I've installed any new fonts recently, so I don't know where it comes from. It's fine though. I hate ligatures, but I can deal with them.
<immae>
ok good
<immae>
(note that it won’t break copy-paste of bash snippet)
<KarlJoad>
Oh, cool. Didn't know that. Good to know.
vidbina has quit [Ping timeout: 272 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jtojnar>
the ligatures were added by the website redesign
<jtojnar>
and yeah, they are purely visual
otulp has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @stigtsp pushed 2 commits to release-20.03: https://git.io/JUa1B
<jtojnar>
but maybe not only that
<jtojnar>
> "Fira Code is not only about ligatures. Some fine-tuning is done for punctuation and frequent letter pairs."
<{^_^}>
"Fira Code is not only about ligatures. Some fine-tuning is done for punctuation and frequent letter pairs."
<samueldr>
though here it's not about body text, but about showing code
<samueldr>
so obviously we don't want the "code" variant
<{^_^}>
[nixpkgs] @ajs124 opened pull request #98773 → git-privacy: init at 2.0.0 → https://git.io/JUa1u
<__red__>
The ofBorg for compilation of my package timed out mid-compile on my PR. Is there anything I need to do to request a longer timeout? ... Will a committer still consider it for merging?
<samueldr>
ofborg is not an absolute value, timing out happens and is understood well by committers
<cole-h>
^
<cole-h>
And the timeout is a set variable, IIRC.
<samueldr>
well, it is an absolute value when it _fails_, which is why a timeout is not a failure
<cole-h>
s/variable/value/
<__red__>
so is there anything I need to do apart from wait?
<samueldr>
timing out here is "well uh, dunno, couldn't figure out in a reasonable time with the given resources at my disposition."
<samueldr>
,pr
<{^_^}>
Feel free to bring attention to your PR by linking to it in #nixos or #nixos-dev. Also encouraged is pinging or requesting reviews by people that have done related work in your PR
<samueldr>
uh, the apologies got removed!
<samueldr>
though yeah, sometimes PRs can take a few days before they end up being noticed, some other times less, or more
<__red__>
I'll confess being unclear as to the difference in the intent of #nixos vs #nixos-dev
<cole-h>
This is the main support channel. -dev is more for Nix (the tool) and Nixpkgs development.
<samueldr>
#nixos-dev is more about coordinating efforts
<cole-h>
Though the lines are quite blurred
<cole-h>
(I mostly use this channel for Nixpkgs development 😬 )
<{^_^}>
[nixos-homepage] @samueldr pushed 2 commits to master: https://git.io/JUaSy
meh` has joined #nixos
<{^_^}>
[nixos-homepage] @samueldr pushed commit from @garbas to h1-space-on-mobile « on mobile page have less margin-bottom between page-title and content »: https://git.io/JUaSd
<{^_^}>
[nixpkgs] @peti pushed 8 commits to haskell-updates: https://git.io/JUaSA
<{^_^}>
[nixpkgs] @r-burns opened pull request #98780 → [20.09] pciutils: fix build on darwin → https://git.io/JUaSx
kenran has joined #nixos
<{^_^}>
[nixpkgs] @drewrisinger opened pull request #98781 → [20.09]: verilog: cleanup & test → https://git.io/JUa9v
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2020-09-25T08:31:15Z »: https://git.io/JUa9J
<{^_^}>
[nixos-homepage] @samueldr merged pull request #549 → on mobile page have less margin-bottom between page-title and content → https://git.io/JUuKU
<{^_^}>
[nixos-homepage] @samueldr pushed 2 commits to master: https://git.io/JUa9L
<{^_^}>
[nixos-homepage] @samueldr pushed 0 commits to h1-space-on-mobile: https://git.io/JUa9t
<{^_^}>
[nixpkgs] @risicle merged pull request #98782 → [20.09] libkml: fix tests on darwin → https://git.io/JUa93
<{^_^}>
[nixpkgs] @risicle pushed 2 commits to release-20.09: https://git.io/JUaQa
<Ke>
commuting the order helps
<Ke>
excellent
lsix has joined #nixos
<{^_^}>
[nixpkgs] @risicle merged pull request #98783 → [20.09] aragorn: fix build on darwin → https://git.io/JUa9g
<{^_^}>
[nixpkgs] @risicle pushed 2 commits to release-20.09: https://git.io/JUaQ7
<justanotheruser>
why doesn't the sysstat package come with the sysstat command? nix-shell -p sysstat --run sysstat; /tmp/nix-shell-14934-0/rc: line 1: sysstat: command not found
<{^_^}>
[nixpkgs] @flokli opened pull request #98793 → nixos/datadog: Don't recommend dd_url for sites, add proper option → https://git.io/JUa7M
<heywoodlh>
Sorry for the nooby question, does anyone have a good reference for enabling custom systemd services for the user in configuration.nix? I.E. if I wanted to define the equivalent of `systemctl enable --user custom.service`
<heywoodlh>
I looked on the wiki but was drowned by all the article links that use systemd
<heywoodlh>
Or better yet, could I define custom.service in configuration.nix?
johnw_ is now known as johnw
<{^_^}>
[nixpkgs] @Beskhue opened pull request #98794 → renoise: patch audio plugin server → https://git.io/JUa5f
<heywoodlh>
Is there a way to reload the Nix build without having to reboot? For example, if I add a graphical application to configuration.nix and then rebuild I won't see the .desktop file until I reboot.
<heywoodlh>
CLI apps show up in $PATH so I don't have a problem there.
grobi has quit [Read error: Connection reset by peer]
NightTrain has quit [Ping timeout: 272 seconds]
NightTrain has joined #nixos
<heywoodlh>
So I'm trying to make a simple systemd service for sxhkd. For some reason the `wantedBy = [ "graphical.target" ]` doesn't seem to be respected. This is how I defined the service: https://pastebin.com/V6FgG8Xz
<heywoodlh>
I can't enable with `systemctl enable --now --user sxhkd.service` because there is no Install target defined. Any suggestions as to why my `wantedBy` portion seems to be getting ignored?
sbetrium has quit [Quit: sbetrium]
mortimor has joined #nixos
spudly- has joined #nixos
spudly has quit [Ping timeout: 258 seconds]
spudly- is now known as spudly
mortimor has quit [Quit: Leaving]
m3thos has quit [Ping timeout: 260 seconds]
mortimor has joined #nixos
Darkmatter66 has quit [Ping timeout: 258 seconds]
m3thos has joined #nixos
meh` has quit [Ping timeout: 260 seconds]
Darkmatter66 has joined #nixos
<{^_^}>
[nixpkgs] @jonringer opened pull request #98808 → haskell.ghc8102Binary: fix extra inputs, fix ofborg eval → https://git.io/JUabo
<{^_^}>
[nixpkgs] @jonringer pushed commit from @ento to master « aws-vault: 6.0.0 -> 6.2.0 »: https://git.io/JUaNY
__monty__ has quit [Quit: leaving]
grobi has joined #nixos
<{^_^}>
[nixpkgs] @ccellado opened pull request #98810 → pyvips: init at 2.1.12 → https://git.io/JUaNg
grobi has quit [Client Quit]
grobi has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
grobi has quit [Client Quit]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<damjan>
heywoodlh: I don't see [Install]
sbetrium has quit [Quit: sbetrium]
<lopsided98>
heywoodlh: wantedBy creates the symlinks that would be created by 'systemctl enable', rather than adding an [Install] section. You aren't supposed to use systemctl enable/disable in NixOS.
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<heywoodlh>
lopsided98: thanks for the response. I realized that about ten minutes later when I saw that the service was running
<heywoodlh>
I'm running into one final issue with the sxhkd service
<heywoodlh>
I can't figure out how to allow it to see more in my filesystem. I'm using fish as my shell and I can't figure out how to configure the systemd service in configuration.nix to see `~/.config/fish/`