fresheyeball has quit [Read error: No route to host]
fenedor has quit [Quit: Leaving]
buckley310 has quit [Ping timeout: 265 seconds]
buckley310 has joined #nixos
sondr3 has quit [Quit: WeeChat 2.7]
<dashkal>
Ok, I think it's time to learn to override packages. xrdp has a habit of crapping all over my home directory with features I don't want or need.
sondr3 has joined #nixos
<sondr3>
turns out I logged into my xterm session and not the home-manager one
<sondr3>
now it booted into xmonad just fine
<kraem>
multun: thanks! i'll try to figure out how to do that :)
o1lo01ol1o has joined #nixos
nikola_i has quit [Ping timeout: 256 seconds]
<dashkal>
Heh, yeah, I definitely need to figure out what's going pear shaped with mine. If I turn off xfce now, LightDM just sees no possible sessions whatsoever and refuses to let me in.
<dashkal>
Yeah, I'm realizing now that I was hijacking my xfce with the presence of an .xsession. Surprised it boiled down the way it did. I'm used to ~/.xsession existing just implying an alternative to the normal desktop managers.
<Cadey>
oh
<dashkal>
I'll have to test this later though. Neck deep in a few operations I don't want to blow up.
<Cadey>
it seems that my rust program is having all of its source dependencies as runtime dependencies
<sondr3>
dashkal: at least we both learned something :)
<Cadey>
because the rust panicinfo has that information
<kraem>
clever: thanks! it built. how would i call the package? i added unboundWrapped to systemPackages, the flag wasn't added to `unbound-control` and there is no `unbound-wrapped` in the path
jluttine has joined #nixos
sbetrium has joined #nixos
<drakonis>
so, i'm
<clever>
kraem: line 10 of your pastebin is calling the wrapper unbound-control
<drakonis>
so, i'm trying to figure out why build inputs in naersk are propagating into runtime input
<clever>
kraem: so it might be conflicting with the original, which you would need to remove from systemPackages
kleisli has quit [Ping timeout: 272 seconds]
<kraem>
clever: ah, i was hoping it was being dealt with automagically. is it possible to remove ${pkg}/bin/x without removing the whole pkg by altering systemPackages? or should i do it somehow in the new derivation?
<clever>
kraem: mkHiPrio might do it, but it would be better to just install one version and not have the conflict
<colemickens>
Howdy. I have a "new" (newly working) package set (rather than an overlay, to prevent accident full rebuilds for users) with Chromium built for Wayland, with GTK enabled. Seems... quite usable: https://github.com/colemickens/nixpkgs-chromium.
<colemickens>
I can provide a video potentially, since I'm recording one to report a firefox bug anyway.
<colemickens>
Somehow Chromium already feels and seems better than Firefox on wayland :/
<cole-h>
What is the best way to go about linking a directory into either `/etc/<package>` or `~/.config/<package>/`? It isn't a part of the package, but provides functionality to the package by dropping files in either location
inferencerules has quit [Read error: Connection timed out]
<jakobrs>
How do I set the meta attributes for a wrapper written with writeScriptBin?
inferencerules has joined #nixos
Flambe has quit [Ping timeout: 256 seconds]
flameslicer has quit [Ping timeout: 256 seconds]
jmeredith has quit [Quit: Connection closed for inactivity]
inferencerules has quit [Quit: leaving]
chagra_ has quit [Quit: WeeChat 2.6]
chagra has joined #nixos
aveltras has joined #nixos
benmachine has joined #nixos
<benmachine>
hi folks, I'd like to switch from using nixos-19.09 to nixos-unstable because keepassxc was bothering me about not being new enough; I used to read release notes of new versions, is there a good substitute for that with unstable?
<phirsch>
Hi all, Does anyone know how to override a package inside nixpkgs.rPackages? (rPackages.proj4 seems to be missing nixpkgs.proj.dev as nativeBuildInput, both in 19.09 and in unstable: 'nix-shell -p rPackages.proj4' fails with 'configure: error: libproj and/or proj_api.h not found in standard search locations.')
<phirsch>
On another note, I also tried to substitute nixpkgs.rPackages as a whole by unstable.rPackages using an overlay, but that apparently triggers an infinite recursion...
<tlater[m]>
Hi, I'm trying to clean up my `configuration.nix` a little by moving docker containers that make up services into separate files. I want something like this: https://hastebin.com/razivawawi.nix
<tlater[m]>
But that doesn't work because apparently that's not the correct type...
<tlater[m]>
Any ideas how I could achieve that?
phirsch has quit [Remote host closed the connection]
phirsch has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
phirsch has quit [Read error: Connection reset by peer]
nikola_i has joined #nixos
ng0_ has joined #nixos
m15k has joined #nixos
<{^_^}>
[nixpkgs] @fpletz pushed 2 commits to fix-predictable-ifnames-in-initrd: https://git.io/Jvnil
<m15k>
Hi. Maybe a noob question. But I'm out of ideas: `curlOpts = "--header 'PRIVATE-TOKEN: ABCDEFG'";` results into a `Could not resolve host: ABCDEFG`.
<{^_^}>
[nixpkgs] @fpletz opened pull request #79532 → nixos/stage-1: fix predictable interface names in initrd → https://git.io/Jvni4
<{^_^}>
[nixpkgs] @fpletz pushed 2 commits to fix-predictable-ifnames-in-initrd: https://git.io/JvniQ
Guest26629 is now known as alex``
ng0_ is now known as ng0
FRidh2 has joined #nixos
ixxie has quit [Ping timeout: 265 seconds]
<simukis_>
how do I approach investigating why derivation instantiates dependent derivatinons thousands of times? I ran `nix build -vvv | grep instantiated | sort | uniq -c | sort -h` and found that my derivations instantiate 1000s of times, which makes nix feel super slow.
Rusty1 has joined #nixos
<{^_^}>
[nixpkgs] @FRidh pushed 6 commits to python-unstable: https://git.io/JvnPk
<sondr3>
evanjs: you around? I can't get taffybar to build, it always gives me a "package taffybar is broken" even though I try to build it from stable
dingenskirchen1 has quit [Client Quit]
dingenskirchen has joined #nixos
ng0_ has quit [Ping timeout: 265 seconds]
kvda has joined #nixos
kvda has quit [Client Quit]
<ornxka>
how do i run installPhase in nix-shell?
<ornxka>
i tried setting $out to a local dir but it doesnt work
zupo has joined #nixos
<pingiun>
it seems my setupPyGlobalFlags is ignored by the buildPythonPackage?
<pingiun>
I'm trying to supply --with-upstream-urllib3 to the python-telegram-bot package to not include the vendored urllib3
<runforestrun>
Is there a better way to run a shell command and get its output as a string other than doing `runCommand`, redirect to $out and then using `readFile` on the result?
shafox has joined #nixos
runforestrun has quit [Remote host closed the connection]
acarrico has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #70887 → doc: Add documentation for the new option to the Automatic Upgrades section → https://git.io/JeW5b
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvn1Z
<Orbstheorem>
srk: `nix-store --query --size` is not recursive :(
<gchristensen>
Orbstheorem: look at nix path-info --help ?
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @tokudan to release-19.09 « doc: Add documentation for the new option to the Automatic Upgrades section »: https://git.io/Jvn1V
<gchristensen>
sebass[m]: no, but you could run `patchShebangs ./your-project` and it will replace /bin/bash with an absolute (and working) path to bash
<sebass[m]>
Thanks! I will try that.
drakonis has joined #nixos
gustavderdrache has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « esniper: update to latest git version »: https://git.io/Jvn11
FRidh2 has quit [Remote host closed the connection]
<jco>
but while a windows server appears, when clicked it responds no such file or directory
knupfer has quit [Ping timeout: 256 seconds]
kloenk has joined #nixos
<nikola_i>
hi, i tried to remove ranger using nix-shell both as user and sudo. it still shows up here /nix/store/mmzbczica2mjixkh0rnhz52px335lizn-system-path/bin/ranger. i mean how is this happening
<infinisil>
nikola_i: For one, the only thing that removes things from /nix/store is a garbage collection
<infinisil>
Which can be done with e.g. "nix-collect-garbage --delete-older-than 3d"
<infinisil>
The 3d means that before it actually collects garbage, it deletes all profile generations that are older than 3 days
<infinisil>
Essentially cleaning up anything that hasn't been installed for at least 3 days
<infinisil>
(Well, not exactly)
<nikola_i>
inifinisil: i am fine with the derivation or package downloaded during install. but i still get `/run/current-system/sw/bin/ranger' on invoking which ranger
chagra has quit [Ping timeout: 260 seconds]
terlar has quit [Read error: Connection reset by peer]
<infinisil>
Then it's still installed by nixos
<nikola_i>
this means ranger has not been removed properly as i can still invoke ranger binary and use it as if it is till installed
<nikola_i>
but sudo nix-env -qAP ".*ranger.*" shows that ranger doesnt match any derivation
<cole-h>
Follow-up question: can I directly link to a folder that I fetch from a GH repo (eg xdg.configFile."folder".source = fetchFromGitHub {stuff})?
<cole-h>
Or will I have to let-bind it first
<immae>
you can do it directly (and you can also simply try it :p )
<cole-h>
Yeah I could :P I figured I'd ask since I'm already here. Thanks for the help! Off to experiment.
<{^_^}>
[nixpkgs] @Mic92 opened pull request #79551 → nixos/home-assistant: make config deep mergeable → https://git.io/JvnHv
brrrt has joined #nixos
<brrrt>
how can I install `libstdc++.so.6`? I expected it to be under `stdenv.cc.cc.lib`, but it is not
<cole-h>
Another follow-up: is there an easy way to only use a specific folder from the fetched GH source? Is this when I should reach for `builtins.filterSource`?
dm9 has joined #nixos
chagra has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<jtojnar>
what does virtualisation.diskSize affect in NixOS tests? I set it to 8192
<silver_hook>
When trying to compile something on Arduino IDE on 19.09 I get the following error:
<silver_hook>
fork/exec /home/hook/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++: no such file or directory
<silver_hook>
And the weirdest part is that the file is there.
<{^_^}>
[nixpkgs] @clkamp opened pull request #79555 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/Jvn73
<clever>
silver_hook: run `file` on it, what is the interperter?
<{^_^}>
[nixpkgs] @clkamp closed pull request #79555 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/Jvn73
aveltras has quit [Quit: Connection closed for inactivity]
<silver_hook>
clever: .arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.26, BuildID[sha1]=a96cf70b452ab1acb76a923f4aba04eeade2a926, stripped
<clever>
silver_hook: and does /lib64/ld-linux-x86-64.so.2 exist?
<{^_^}>
[nixpkgs] @clkamp opened pull request #79556 → haskellPackages.http-streams: mark not broken → https://git.io/Jvn7C
<silver_hook>
clever: There is no such folder even on NixOS.
<clever>
silver_hook: and thats why it said `no such file or directory`
<clever>
silver_hook: you need to use the avr-g++ that nix provides, not the one arduino downloaded
<silver_hook>
ah, ok. So a bug in the package?
<clever>
silver_hook: the problem is that arduino is downloading pre-compiled binary, that will never work on nixos
<silver_hook>
clever: Hmmm, how do I do that then? I just installed the package.
<neonfuz2>
just wondering, is there a way to add nixos itself, or nixos-build-vm to a different distro like ubuntu?
<sondr3>
you can easily add Nix, NixOS... not so much
f18d7dc7 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @Thra11 opened pull request #79558 → qttools: Add qtdeclarative to buildInputs → https://git.io/Jvn7i
cosimone has quit [Quit: Quit.]
<infinisil>
neonfuz2: sondr3: That should work, nixos-rebuild should be usable on other distros too, just needs a NixOS host to deploy to (but not in case it's for a vm)
<quiet_laika[m]>
discord doesn't want to open links in my browser under i3 for some reason. `xdg-settings get default-web-browser` reports `firefox.desktop` and `~/.config/mimeapps.list` looks correct as well. any guesses? most of the results google turned up were about manjaro and generally were fixed by consulting that setting and file :/
<Ralith_>
I've been having the same problem
<jtojnar>
are you on 19.09 running discord from unstable?
<quiet_laika[m]>
Jan Tojnar: using the override fixed it for me. thanks for the help!
ng0 has joined #nixos
ng0_ has quit [Ping timeout: 260 seconds]
chagra_ has joined #nixos
<bhipple>
For anyone who's interested in the mechanics of fetchcargo and the rust application vendoring, I have this performance optimization PR to take a look at: https://github.com/NixOS/nixpkgs/pull/78501
<{^_^}>
#78501 (by bhipple, 1 week ago, open): fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir
<mikky>
hi, I'm trying to figure out how to use overlays with NixOPS. Got a functional overlay on my control machine (which uses nixos-unstable repo) but when I try to use this overlay in nixops deployment which uses nixos-1909, I get this error: 'error: value is a function while a list was expected, at /nix/store/wi3cmk87lhwgp1dvhs1j2p2lmz6al03c-stable-19.09.2036.c49da6435f3/stable/pkgs/top-level/stage.nix:243:8'
kiwi_49 has quit [Remote host closed the connection]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
karetsu has quit [Quit: WeeChat 2.6]
karetsu has joined #nixos
xkapastel has joined #nixos
u0_a121 has joined #nixos
isHavvyGhosting has joined #nixos
lejonet has joined #nixos
justanotheruser has quit [Ping timeout: 256 seconds]
isHavvy has quit [Ping timeout: 260 seconds]
<sondr3>
I keep getting `rmdir cannot remove /lib` and `rmdir cannot remove /lib64` on my machine, any idea why? It just suddenly showed up in my logs
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<sondr3>
(when rebuilding with nixos-rebuild that is)
<{^_^}>
[nixpkgs] @bhipple opened pull request #79575 → fzf: fix patch for vim plugin; enable tests; avoid direct $src layout dependency → https://git.io/JvnNU
<colemickens>
sondr3_ I have been assuming that something may've accidentally been placed at /lib and /lib64 and now its there as a cleanup effort, but I have nothing to back that up
<{^_^}>
#79439 (by eoli3n, 1 day ago, open): "failed to remove /lib /lib64" when rebuild
<clever>
sondr3: ive also been getting that on my rpi!
u0_a121 has quit [Read error: Connection reset by peer]
<nh2>
I need a bit of help packaging zapcc, clang++ fork that can compile C++ up to 40x faster (using caching).
<nh2>
I have managed to build it by pointing the `llvm` derivation at zapcc's git repo, but the resulting binaries work only when no includes are used. As soon as I e.g. `include <stddef.h>`, I get `fatal error: 'stddef.h' file not found`.
<nh2>
The key problem is that it's a fork of the LLVM monorepo, while in nixpkgs `llvm` and `clang` are built separately from tarballs.
<nh2>
Maybe something is wrong with the wrappers? I am a bit lost.
ng0_ has joined #nixos
<ajs124>
Turns out, DHCPv6 works in mysterious ways and dhcp6.machines is broken. See #79576