<adam_>
I am using llvmPackages_10.libcxxStdenv.mkDerivation but unforunately clangd is complaining about missing the standard headers
<adam_>
with gcc everything builds great
<adam_>
but clangd struggles
<adam_>
both clang the compiler, as well as clangd language server
<adam_>
'iostream' file not found
<leungbk>
How can I get Bluetooth working with NixOS? I've tried `hardware.bluetooth.enable = true` in my configuration.nix, but when I enter `bluetoothctl` at the command line I can't detect anything.
<leungbk>
`power on` fails in bluetoothctl, `agent on` tells me that an agent is already registered
ml| has joined #nixos
<leungbk>
`devices` and `paired-devices` tell me that no default controller is available
Fare has quit [Ping timeout: 260 seconds]
la-jesystani has joined #nixos
<la-jesystani>
what can i do to clear nixos stuff from my /boot?
abathur has quit [Quit: abathur]
<la-jesystani>
ive run nix-collect-garbage --delete-old both as user and sudo but my boot is still full
<notgne2>
I remember a conversation here a while ago about how kernels must be cleared by hand (with EXTREME care)
cantstanya has quit [Ping timeout: 240 seconds]
<la-jesystani>
urgh that sounds scary
<notgne2>
I don't really remember much from that conversation, though I'm relatively skeptical of that claim as I have very few kernels in my `/boot` and I see a lot of counter-claims saying that switching or running gc deleting old profiles should clear them
cantstanya has joined #nixos
<la-jesystani>
maybe it'll clear on next boot or something
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JUEiL
<la-jesystani>
also am i just having a bad day today, or should i be able to just slap import ./whatever.nix into my home.nix, and have it appear?
<la-jesystani>
i have an attribute set for what i want xsession.windowManager.bspwm to be equal to, but if i go `xsession.windowManager.bspwm = import ./bspwm.nix` it tells me that option doesnt exist, and if i put the whole = line into bspwm.nix and import it at the top of the file it says unexpected path
Rusty1 has joined #nixos
cjpbirkb1 has joined #nixos
<la-jesystani>
im copying from the man page so im pretty sure that option should exist
waleee-cl has quit [Quit: Connection closed for inactivity]
IlliusDope has joined #nixos
victorbjelkholm_ has quit [Ping timeout: 256 seconds]
jumper149 has quit [Client Quit]
CustosLimen has quit [Ping timeout: 240 seconds]
jumper149 has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
victorbjelkholm_ has joined #nixos
jumper149 has quit [Client Quit]
CustosLimen has joined #nixos
jumper149 has joined #nixos
jumper149 has quit [Client Quit]
sxiii has quit [Ping timeout: 260 seconds]
jumper149 has joined #nixos
jumper149 has quit [Client Quit]
jumper149 has joined #nixos
jumper149 has quit [Client Quit]
jumper149 has joined #nixos
jumper149 has quit [Client Quit]
justanotheruser has quit [Ping timeout: 244 seconds]
<lb5tr>
is there a way to pull current configuration.nix from nixos?
<lb5tr>
aside from doing /etc/nixos/
<lb5tr>
i did something very dumb with git and i lost some of my changes in symlinked configuration.nix
<lb5tr>
(reflog is not going to help me here)
<infinisil>
Nope, NixOS doesn't store your configuration.nix anywhere
<lb5tr>
damn
<lb5tr>
thanks
<infinisil>
Unless you enabled `system.copySystemConfiguration`, which works somewhat
<lb5tr>
if it's not enabled by default, then I don't have it
<infinisil>
Yeah it's not
<lb5tr>
welp
<jackdk>
Does anyone have access to openstack who can help me test #96593 ? Pretty sure the AWS side works, and I don't expect it to break openstack images, but I would like to check
<__red___>
Question: I have a compiler package (ponyc) which a: Needs a version bump, b: has changed its package manager from pony-stable to corral. That's an update and an init that needs to go in the same PR - is that a problem - will that cause issues?
<infinisil>
__red___: No problem, just use separate commits
<infinisil>
(in the same PR)
<__red___>
Can I just label it, say: "corral: init, ponyc: update to 0.37.0" ?
<infinisil>
Yeah that sounds reasonable
knerten1 has joined #nixos
<__red___>
Bingo - got it. Thanks
<infinisil>
As a PR title
<__red___>
and as a branch name
<__red___>
thx
knerten2 has quit [Ping timeout: 246 seconds]
<__red___>
btw - is there nix toolingt to list all packages maintained by a maintainer?
<evanjs>
Is it normal for e.g. haskellPackages at the top level of a configuration to not consider haskellPackages overridden from an overlay? Seems like they should be considered
<evanjs>
*tries repl again* okay what the heck. it evaluates to the right version in the repl...
<evanjs>
The package that is causing me problems is xmonad-contrib. I have patched it to include a change that is required for my config, but it seems to fail to compile during home-manager activation
Orbstheorem has quit [Ping timeout: 260 seconds]
<siraben>
Is there a way to perform binary search on the commit history of nixpkgs to find a point in time where my build succeeded?
<{^_^}>
[nixpkgs] @FRidh pushed commit from @risicle to master « sslyze: fix build »: https://git.io/JUESA
<cptMikky>
hey, the fact that bridges defined via `networking.briges.<the_bridge>` with appropriate interface settings in `networking.interfaces.<the_bridge>` doesn't come up automatically is intended behavior?
<cptMikky>
in fact it doesn't work correctly until reboot
zupo has joined #nixos
Heirlung has quit [Ping timeout: 260 seconds]
Heirlung has joined #nixos
nehsou^ has quit []
<cptMikky>
huh, I guess the actual issue would be something along the lines of "Empty (but defined) bridges.*.interfaces = [ ] doesn't trigger restart of `networking-setup` service on config switch"
<dumbeldoor>
I got a new LG 27UK850 monitor. It is a 4K HDR display, which works fine on Windows. However, on NixOS (xrandr/wayland) it only shows modes up till 1080p. I tried to manually add 2160 mode and select it, but shows no effect
<dumbeldoor>
I have nvidia offload mode, stock kernel and plasma desktop
<dumbeldoor>
Any idea what is wrong and what can be done?
<astro>
is there a standard flake output for architecture-independent packages?
<{^_^}>
[nixpkgs] @doronbehar pushed 2 commits to gnome-3.38: https://git.io/JUueS
<MichaelRaskin>
I don't think we have a notion of arch-independent packages
lb5tr has joined #nixos
<AmandaC>
Anybody know what could be causing gcr-prompter to be unable to open a display? The breakage seems to haave happen between `c9d124e39dbeefc53c7b3e09fbfc2c26bcbd4845..252bfe0107587d40092057f338e9ffcf7bbd90cb`
<astro>
then what is a suggested way to package something which just contains assets?
<AmandaC>
I tried looking through the git log --oneline, but nothing jumped out at me
<Mic92>
astro: you can make it a fixed input derivation, than it is the same on all architectures.
<MichaelRaskin>
Well, if it is just about unpacking a part of a tarball, you could write a fixed-output derivation for unpacking
<MichaelRaskin>
But evaluation will be still per-architecture
<astro>
Mic92: is there a way to enumerate all architectures?
<simpson>
zeorin: In general, the binary cache only contains common packages according to fixed configurations. If you've changed something which configures Chromium in some way, then that could be the cause. (And you've got an unfortunate situation, since Chromium takes hours to build.)
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUuf2
lordcirth has quit [Remote host closed the connection]
_ris has quit [Ping timeout: 260 seconds]
<symphorien[m]>
maybe the build failed on hydra.
nature has joined #nixos
<nature>
Hi everybody, can anybody help me with simple nixos mail server ?
<zeorin>
But still, is there a way to 1) easily figure out _why_ this is the case (e.g. diff the derivation inputs with those from hydra's build), and secondly also get a list before building of which packages _would_ be source-built instead of pulled from a binary cache (a sort of dry-run)?
mir100 has joined #nixos
<nature>
I simply want to consult the logs, but I don't find anything when I look in /var/log or if I do doveadm logs find
lordcirth has joined #nixos
<symphorien[m]>
all logs are in journalctl
<Orbstheorem>
If building a derivation is a linear process, why doesn't nix cache intemediate build steps ? (e.g. git@`buildPhase::c1kj2h31...`).
<symphorien[m]>
snm has a `debug` option if you need more, but be aware that rspamd is extremely verbose
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
<nature>
thanks symphorien[m]
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<{^_^}>
[nixpkgs] @Atemu opened pull request #98325 → buildFHSUserEnvBubblewrap: use arrays for constructing argument list → https://git.io/JUufy
johnny101 has quit [Ping timeout: 260 seconds]
pingiun has joined #nixos
HeAvengin7_ has joined #nixos
johnny101 has joined #nixos
knupfer1 is now known as knupfer
<simpson>
zeorin: (1) is because you requested it somewhere in your configuration. You can copy the path directly from Hydra's build logs, and you'll get exactly what Hydra built; I don't think that there's a way to do differential analysis.
<simpson>
(2) I don
<simpson>
*I don't think (2) is possible even in theory. Not sure though.
<zeorin>
I'm a web developer, so I kinda want these around. But I really cannot be building all of these browsers from source. My processor is 10+ years old.
<MichaelRaskin>
As you can see, it is not built since 2016
<MichaelRaskin>
You might want to install firefox-ser-bin
<MichaelRaskin>
* firefox-esr-bin
<MichaelRaskin>
It is a local build, but basically just unpack/patchelf
jflewkfjlwjefklf has joined #nixos
jflewkfjlwjefklf has quit [Remote host closed the connection]
philr has quit [Ping timeout: 264 seconds]
<zeorin>
That explains it for firefox-esr
<Reiser>
How can I specify `ip rule` sets in nixos? I found I can add my own tables via `iproute2.rttablesExtraConfig`, but I'm not sure how to specify any policies to use my table
<zeorin>
BTW there is no firefox-esr-bin. I suppose it'll be easy enough to make my own
<{^_^}>
[nixpkgs] @jonringer opened pull request #98329 → python38Packages.shouldbe: disable for python3.8 → https://git.io/JUuTH
mekeor has quit [Ping timeout: 246 seconds]
<zeorin>
But chromium was built just 2 days ago last.
<simpson>
zeorin: IIUC "ESR" is Firefox's long-term release window ("Extended Support Release" IIRC), so you'll want to pick a specific version like `firefox-esr-78`.
<pie_>
im running on an old setup and i dont want to upgrade my system right now, nix-shell -I nixpkgs=channel:nixos-19.09 -p nix --pure doesnt give me a shell with a newer nix in it, what gives?
<pie_>
problem is -unstable makes nix complain about being too old
<pie_>
running version is 2.1.3
<zeorin>
simpson: only for non-current esr version apparently.
mallox has quit [Quit: WeeChat 2.9]
<pie_>
(hm ok maybe thats still the version on 19.09 though)
<simpson>
We've got 68 and 78 packaged, looks like.
zebrag has joined #nixos
<pie_>
but its still the one from /run
inkbottle has quit [Ping timeout: 256 seconds]
<zeorin>
I'm not sure, just that for unstable there are two ESR packages: firefox-esr (which is 78), and firefox-esr-68. Both also have unwrapped variants. No bin variants.
<pie_>
well what i did was get a newer derivation like /nix/store/jbryisjscy1mrkfnk8zqgcqynxbvrhci-nix-2.3.6 and launch it manually
<simpson>
zeorin: They're both built from cache for me, though. Further, since they don't change much, you can just directly use them: /nix/store/6bx9f3262p96wrjxj38adfar21ll20yi-firefox-68.11.0esr /nix/store/l4kbym56ymcp6bm1q3n1dbid96nzpn60-firefox-78.1.0esr But I agree that it's curious that they're changed at all. What have you configured so far?
<pie_>
ok maybe the problem is that im using fish and not bash
<zeorin>
simpson: 20.03 has `firefox-esr-78` (and `firefox-esr`, which is version 68 there), unstable has `firefox-esr-68` (and `firefox-esr`, which is 78 there). Hydra says that `firefox-esr` hasn't been built since 2016. How did you install these?
lotharn has quit [Ping timeout: 272 seconds]
<simpson>
zeorin: Asked my local nixpkgs about `nix-build -A firefox-esr-68` and `nix-build -A firefox-esr-78` respectively.
<{^_^}>
[nixpkgs] @jonringer pushed 2 commits to release-20.09: https://git.io/JUuk8
IlliusDope has joined #nixos
<zeorin>
Hmm. Is it weird that https://search.nixos.org/packages is not listing `firefox-esr-68` for 20.03 and also not listing `firefox-esr-78` for unstable?
<{^_^}>
[nixpkgs] @jonringer opened pull request #98330 → contributing.md: mention rebased or squashed merges → https://git.io/JUukR
ajfelfjlsdkfjejf has joined #nixos
<zeorin>
Ah when I try to install `firefox-esr-68` from unstable it gives me a warning. But installing `firefox-esr-78` works (from cache). Still weird that it's not listed on the web package search.
noudle has quit []
fendor has joined #nixos
ManiacOfMadness` has quit [Ping timeout: 272 seconds]
dhess has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 244 seconds]
sangoma has joined #nixos
zakame has joined #nixos
lotharn has joined #nixos
ericsagnes has joined #nixos
knupfer has joined #nixos
igghibu has joined #nixos
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<igghibu>
hi all :) I'm trying to install mullvad from unstable by adding the let in from the FAQ to my configuration.nix but it fails because of the unespected LET. I'm a noob and would appreciate your help
zeorin has quit [Remote host closed the connection]
pf has quit [Ping timeout: 258 seconds]
<bqv>
i'd love if someone would have a stab at packaging this https://gitlab.gnome.org/GabMus/redditgtk - my attempt was `nix build --impure --expr 'with import <nixpkgs> {}; stdenv.mkDerivation rec { pname = "redditgtk"; version = lib.substring 0 7 src.rev; src = fetchGit { url = "https://gitlab.gnome.org/GabMus/redditgtk"; rev = "c7406bc5fc5927d5b7c461698af2e69635c13542"; }; nativeBuildInputs = [ meson
<bqv>
cmake pkg-config ninja python3Packages.wrapPython wrapGAppsHook ]; buildInputs = [ glib gobject-introspection gtk3 ]; pythonPath = [ python3Packages.pygobject3 ]; preFixup = "wrapPythonPrograms"; }'` but that seems to not be correct, and i'm not sure what python package is missing
<bqv>
oh yikes, irc snipped
<mvnetbiz_>
How can I make my flake output a package which is an overlayed nixpkgs package? Is there a way to call (inputs.nixpkgs { overlays = ... }).oldpackage?
<jtojnar>
bqv any error?
<{^_^}>
[nixpkgs] @avnik opened pull request #98331 → firefox: use gold linker to speedup build → https://git.io/JUuIV
<jtojnar>
mvnetbiz_: you can import inputs.nixpkgs.outPath IIRC
<jtojnar>
mvnetbiz_: you do not even need .outPath, just import the input and pass the overlays
<{^_^}>
[nixpkgs] @doronbehar pushed 3 commits to gnome-3.38: https://git.io/JUuIM
<das_j>
is there a way to check if a string has context?
pf has joined #nixos
<mvnetbiz_>
Most the examples i've looked at seem to be wrapping the outputs in function for providing multiple systems, that seems to be required as far as I can tell, based on what attributes nix build looks for
kenran has quit [Ping timeout: 260 seconds]
igghibu has quit [Quit: Konversation terminated!]
<jtojnar>
yeah, you cannot avoid it unless x86_64-linux is the only thing you want to support
edef has quit [Ping timeout: 246 seconds]
<jtojnar>
there is `nix flake check` command to validate it
<xensky>
is there a reason my $XDG_CONFIG_HOME isn't defined? i thought that would happen automatically. not seeing a config option related to it
sputny has joined #nixos
<iwq>
after nix-channel --update, is there a version stored somewhere for the updated channel? if so where is it stored?
<cole-h>
xensky: Maybe because XDG_CONFIG_HOME defaults to $HOME/.config if unset (so why set it?)
<xensky>
cole-h: well i thought it would do that, and that's what i want it to be, but git isn't seeing my config file even though the docs say it will look in .confg/git/config
lsix has quit [Ping timeout: 246 seconds]
<cole-h>
xensky: If you have anythig like $HOME/.gitconfig or whatever, pretty sure it will ignore .config/git/config
<xensky>
cole-h: i don't have a $HOME/.gitconfig currently
sputny1 has joined #nixos
sw_ has joined #nixos
sxiii has quit [Ping timeout: 272 seconds]
<cole-h>
Why do you say it isn't seeing your config file? Is some setting not getting applied? This could be because it's overridden in the local repository, or that it was improperly set
<xensky>
git's saying there's no username/email to commit with
<cole-h>
If the setting isn't getting set, try inspecting it with `git config --show-origin --get ...` and it'll show you how it was set.
<xensky>
oh, hm. i tried manually setting XDG_CONFIG_HOME and it still doesn't see it. so maybe it is something else
<{^_^}>
[nixpkgs] @doronbehar pushed 2 commits to gnome-3.38: https://git.io/JUuGJ
<jackdk>
Does anyone have access to openstack who can help me test #96593 ? Pretty sure the AWS side works, and I don't expect it to break openstack images, but I would like to check
<{^_^}>
[nixpkgs] @jonringer pushed commit from @thefloweringash to master « pythonPackages.netaddr: 0.7.19 -> 0.8.0 »: https://git.io/JUuZT
<MarkRBM>
Hi, is anyone here using nixos with Scala and SBT? I get a FileNotFoundException (read only filesystem) when SBT tries to find and use sbt/1.0/zinc/.sbt.cache.lock file during compilation
<unclechu>
hm... but it seems it’s missing `libva`
<unclechu>
oh, and i have wrong `pkgs` source for 32bit packages
hoxtonhopper has quit [Quit: Konversation terminated!]
<astylian>
infinisil, the output of the installation, looks fine. No errors reported. Now I am trying to install it follwing the instructions from https://wiki.archlinux.org/index.php/Nix , but thats not smooth as well
<unclechu>
it seems only the error has changed a bit: [0921/024654.314525:ERROR:sandbox_linux.cc(372)] InitializeSandbox() called with multiple threads in process gpu-process.
bahamas has quit [Ping timeout: 272 seconds]
<unclechu>
Ashy: actually this error seems to be unrelated. on the laptop i see the same error but steam starts successfully
<{^_^}>
[nixpkgs] @risicle opened pull request #98357 → [20.09] xmlbird: fix build with python 3.8 → https://git.io/JUuc9