<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JITZk
Fare has quit [Ping timeout: 244 seconds]
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
mtr has quit [Quit: WeeChat 2.9]
<hyperfekt>
rogerr: you cannot put an assignment into a list. you'll want to take wasm-bindgen-cli from a nixpkgs with the overlay applied. the way you tried to do it seems like you were looking at a nixos configuration instead and mixed that with a derivation.
<hyperfekt>
just add that overlay to the ones in your let clause instead of trying to put an assignment to a nixos config option into a list of packages
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
alp_ has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @jonringer pushed 2 commits to staging-next: https://git.io/JITZ7
<{^_^}>
[nixpkgs] @alyssais opened pull request #105633 → weechatScripts.colorize_nicks: init at 27 → https://git.io/JITZN
<iqubic>
I'd like to get the haskell lsp set up on nixos for my projects. I already know I'm going to be using the Emacs LSP mode as my interface to the lsp. I just need help with the other stuff.
<jlv[m]>
iqubic: Oh? What are you having trouble with? I have it working with CoC in Vim.
ericsagn1 has joined #nixos
rprije has joined #nixos
hlolli__ has joined #nixos
hlolli_ has quit [Ping timeout: 272 seconds]
sciamp has joined #nixos
<siraben>
ryantm: trying get nixpkgs-update by putting it in my home-manager config`error: attribute 'default' missing, at /nix/store/fcvdxfr8h8pv4faa4a455m5q6gvi69k3-nixpkgs-update-src/default.nix:16:6`
<siraben>
Do I need to enable flakes?
sigmundv has quit [Ping timeout: 240 seconds]
hlolli has joined #nixos
<{^_^}>
[nixpkgs] @SuperSandro2000 opened pull request #105640 → daemon: Fix compilation on darwin → https://git.io/JITz6
hlolli__ has quit [Ping timeout: 272 seconds]
raghavsood has quit [Ping timeout: 245 seconds]
srk has quit [Ping timeout: 240 seconds]
hlolli has quit [Remote host closed the connection]
<mizukota[m]>
how do you disable touchpad in nixos configuration?
hlolli has quit [Ping timeout: 272 seconds]
inkbottle has quit [Ping timeout: 260 seconds]
pmy has quit [Ping timeout: 256 seconds]
pmy has joined #nixos
<{^_^}>
[nixpkgs] @IvarWithoutBones opened pull request #105643 → pbgopy: init at 0.1.1 → https://git.io/JITwK
red[evilred] has joined #nixos
<red[evilred]>
mounty (IRC): ah - the -d nuked all your fallback configs too?
iqubic has quit [Remote host closed the connection]
Fare has quit [Quit: Leaving]
<codygman__>
Has anyone recently built https://github.com/nrdxp/nixflk? I'd like to grab a working nix configuration based on flakes and customize it but they all seem broken or I'm doing something wrong.
<codygman__>
You get a segfault with instructions from master, you can update nixpkgs to something recenet and it builds. But then for some reason X11 doesn't come up for me.
<mounty>
red[evilred]: no; they were still there when I rebooted. I'll try booting from an old env. when I get the chance.
<red[evilred]>
Good luck!
Fare has joined #nixos
<Fare>
OMG, once again, it looks like Nix has the best semantics with the worst syntax.
* dminuoso
wishes lists had commas
<Fare>
I'm trying to allow gerbilPackages-unstable to be overridable, and it's a bit hellish if I am to take python-packages as an example.
GrimSleepless has quit [Read error: No route to host]
jonatanb has joined #nixos
<Henson>
I'm trying to include a package in the environment.systemPackages by referring to it by its store path. If I refer to it by its store path, it works, but if I refer to it by a symbolic link that points to the store path, it doesn't work. Is there some Nix function like the shell "readlink -f" that will let me do this?
<Fare>
Henson: are you using path objects or strings? With strings, I *should* be different. With path objects... uh... shouldn't it be the same?
<Henson>
colemickens: I ran into a problem with gnupg and pinentry an discovered that I need to have programs.gnupg.agent.enable=true in my NixOS configuration in order for it to work properly
<Henson>
Fare: I'm using paths, and I would expect that it should work. Nix is pretty comfortable with symbolic links, so I don't understand why it dosn't work.
<colemickens>
I don't have control of the system in this case, but specifying the pinentry program manually in the gpg-agent.conf wound up working
<Henson>
Fare: I may have figured out an alternative way to achieve my goals, though
<elvishjerricco>
colemickens: I fixed that by setting programs.gnupg.agent.pinentryFlavor to gtk2
<elvishjerricco>
It defaults to gnome unless you configured a non-gnome desktop environment, and the gnome flavor doesn't work in the terminal
wnklmnn has quit [Quit: Leaving]
<elvishjerricco>
NixOS should probably be patched to default to curses or tty when you don't have a desktop environment configured
<argent0>
Hi, so I've followed these instructions and end up with ghc 8.8.3 but then in a project when I issue nix-shell It install ghc 8.10.2. I've this line in default.nix "{ compiler ? "ghc883", pkgs ? import <nixpkgs> {} }:
<argent0>
Any idea about what could be wrong here?
<argent0>
ok, I think the problem was the I wasn't issuing: nix-env -f "<nixpkgs>" -iA myHaskellEnv when updating and nix-channel --update; nix-env -iA nixpkgs.nix doesn't cover that.
<ryantm>
siraben: Can you share your code where you install nixpkgs-update?
<ryantm>
Maybe we can add the right system to fix it.
sigtrm has joined #nixos
<{^_^}>
[nixpkgs] @CajuM opened pull request #105651 → lxd: Add VMs support → https://git.io/JIT5n
<ryantm>
siraben: just fyi, nixpkgs-update is not particularly user friendly. You should consider using https://github.com/Mic92/nix-update/ instead unless you want to mess around a bunch
<siraben>
ryantm: how well does nixpkgs-update deal with expressions written in an non-canonical way? e.g. `let`-binding the pname and version and inheriting into the attrset
<ryantm>
siraben: fine as long as they are in the same file. It just does a find-replace in the file for the version.
<erhandsome>
anyone knows how to change dns in nixos live CD?
<rogerr>
i need to replace a pkg with a github repo. https://termbin.com/25dw error that nixpkgs.overlay already defined. that mean i move the block startin in line 4 into the modules array on line 3 pls?
argent0 has quit [Remote host closed the connection]
<siraben>
rogerr: yeah because when you do `nixpkgs.overlays =` you already have `nixpkgs` defined on line 3
<Aleksejs>
also, one annoying bug appeared after recent upgrade: whenever the refresh event is launched for i3, all applications that are in i3status (except telegram-desktop) get killed. Do I need to report it in i3 or nixpkgs repo?
<rogerr>
is version = "x" arbitrary just whatever i want it to be?
<siraben>
rogerr: in this case seems like whatever you want it to be
<rogerr>
now i get an error missing cargo.lock from src. what's the current best way to build a rust app that overrides something in pkgs? like http://ix.io/2Ge1 does
<ivan>
things in nixpkgs patch in a Cargo.lock for things that are missing one
<ivan>
and see the cargoPatches = in their corresponding default.nix
<rogerr>
is there a doc for this?
<rogerr>
because i dont totally follow
<ivan>
"Per the instructions in the Cargo Book best practices guide, Rust applications should always commit the Cargo.lock file in git to ensure a reproducible build. However, a few packages do not, and Nix depends on this file, so if it missing you can use cargoPatches to apply it in the patchPhase" https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/rust.section.md
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « ocamlPackages.ctypes: 0.16.0 -> 0.17.1 »: https://git.io/JIkYx
<{^_^}>
[nixpkgs] @mannahusum opened pull request #105663 → Package pianobooster: Fix 'Could not find the Qt platform plugin "xcb" in ""' for → https://git.io/JIkOf
<pjt_tmp>
I have a guess at what it is, I think one's the installer in the traditional kind the x86_64 kind is and the other is meant to be installed i\with nixos-rebuild
<pjt_tmp>
but I don't want to waste sd card writes to find out, and there's only so much I can determine by peering into the iso itself
FRidh has quit [Ping timeout: 260 seconds]
<Mic92>
ryantm: are you using the graphql api to scrape github? I currently consider switching to it for the NUR updater because it allows to scrape multiple repos in one request.
FRidh has joined #nixos
cr4y1_ has joined #nixos
<{^_^}>
[nixpkgs] @xaverdh opened pull request #105666 → iwd: don't include testing tools by default → https://git.io/JIknC
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIkBG
<Reventlov>
yes
<Reventlov>
I did update this morning
<thibm>
OK. Can you tell from what to what?
<thibm>
you can inspect generations with `nix-env -p $channelpath --list-generations`, like: `nix-env -p /nix/var/nix/profiles/per-user/root/channels --list-generations`
aml has joined #nixos
<thibm>
and `ls -l /nix/var/nix/profiles/per-user/root/channels-9-link/nixos` should give you the commit
<Reventlov>
hmm, it's probably home-manager
<Reventlov>
I was using the wrong one (master vs 20.0/)
<Reventlov>
09*
<thibm>
OK
alp has quit [Ping timeout: 272 seconds]
ylsdfh27[m] has quit [Quit: Idle for 30+ days]
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JIkRd
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIkon
graf_blutwurst has joined #nixos
<graf_blutwurst>
Good Morning. Is anyone else running into the issue that xfce4-notifyd stopped working? namely the service unit vanished. I am running with noDesktop but have the notifyd package specifically added in systemPackages and that did the trick previously.
<graf_blutwurst>
that did seem to do the trick. out of curiosity so the systemd.packages i specify in configuration.nix are in addtion to what other packages define
<o1lo01ol1o>
I'm trying to import a haskell lib from github using callCabal2nix but the project has both a package.yaml and a foo.cabal. i'm told that the latter has been modified manually, and I should "--force" but providing "--flag=force" to callCabal2nixWithOptions doesnt' seem to work. How can I workaround
vidbina has joined #nixos
ilmu1 has quit [Ping timeout: 246 seconds]
<srk>
o1lo01ol1o: you could possibly remove the cabal file and callCabal2nix will call hpack automatically
<clever>
o1lo01ol1o: you can use runCommand to mutate the src, and then provide that mutated src to callCabal2nix
<srk>
I guess --force would need to be passed to hpack in this case
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<timokau[m]>
If you have a PR that could use a reviewer, consider giving marvin a try. It's queue is currently empty, so there is a good chance you'll get a reviewer assigned right away.
supersandro2000 has quit [Ping timeout: 265 seconds]
supersandro2000 has joined #nixos
<esotericn>
is there a way to override and modify the `installPhase` shell script in a derivation only?
sss2 has joined #nixos
<esotericn>
the `apache-kafka` nixpkg doesn't include the zookeeper shell scripts and I need them, I can fix it by bashing in a line `cp bin/zookeeper* $out/bin` (along with the existing bin/kafka stuff)
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JIII4
wnklmnn has joined #nixos
<mcaju>
hi, I'd like to merge a series of packages, in order to get symbiflow working. I would like to ask what is the procedure for becoming a maintainer?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adisbladis>
mcaju: You start by adding yourself to the maintainer list in maintainers/maintainer-list.nix
<{^_^}>
[nixpkgs] @laikq opened pull request #105694 → nixos/cupsd: add udev rules of driver packages → https://git.io/JIILk
tuelz has joined #nixos
<adisbladis>
mcaju: Then you'll simply make a PR adding any required packages
<adisbladis>
Make one commit per package
<adisbladis>
With a commit message like `package: init at <version>`
<adisbladis>
mcaju: And it's perfectly fine to have multiple new packages in a single PR
<adisbladis>
As long as they are related to the leaf package you want to add
<tuelz>
new to nix here, I have an error when building out an env with nix-shell where there's a collision between two README.md files - I can easily change one of those readme files to presumably get a new hash, but the built derivation still exists and is being used - how can I force a rebuild of one of those .drvs?
<adisbladis>
tuelz: Changing the README will not solve your problem
<adisbladis>
The problem is not having multiple files with the same hash
<adisbladis>
The problem is that they are occupying the same relative path
<tuelz>
ignoring collisions sounds like a good option for now, I'm new to nix and trying to demo this for a hackathon so I'm limited on time xD - I'll look into both options though - thanks!
<adisbladis>
tuelz: This is arguably a bug when building these packages without Nix too, it's just that Nix brings this problem to the surface
<tuelz>
interesting, definitely lots to learn
<{^_^}>
[nixpkgs] @thoughtpolice pushed 4 commits to master: https://git.io/JIIt0
<adisbladis>
tuelz: To hack around the problem for now pass `ignoreColisions = true` to your buildEnv call
<adisbladis>
But beware of possible problems with this
<tuelz>
awesome, thanks
mcaju has quit [Quit: WeeChat 3.0]
<tuelz>
yeah, I get the feeling I'll need to dig in and understand this problem if we start using nix for things outside of a hackathon - I've made a note
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 8 commits to staging-next: https://git.io/JIIqt
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 9 commits to staging: https://git.io/JIIqq
<Mic92>
overall it reduces network requests and response size
civodul has joined #nixos
<ryantm>
@Mic92 Yeah that makes sense. Last year, I was trying really hard to use it to get a list of branches that had merged or closed PRs by r-ryantm and it didn't seem possible (at least not in one query).
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JIIPu
<mindtree[m]>
Hey folks, I'd like to enable the `btqca` driver (https://github.com/torvalds/linux/blob/master/drivers/bluetooth/btqca.c) in my nix config as I believe it's required for bluetooth to work on my system and it appears to not be included currently when I grep for it in `lsmod`. How might I go about this?
zupo has joined #nixos
<mindtree[m]>
I ran a `nix search btqca` and nothing shows up. I'm happy to make a package for it myself, but just thought I'd check here to see if anyone can point me in the right direction or towards an example that might help. I'm also not sure if I should be making a whole separate package seeing as this is already in the main kernel repo - perhaps I should just be enabling this via some other kernel config or something rather than
<gchristensen>
zimbatm: I tried setting up terraform like that but it didn't work .... hmm... I'll have to try again from scratch and see if I can figure it out
thibm has quit [Ping timeout: 240 seconds]
thibm has joined #nixos
b`exarkun` is now known as exarkun
_3699n has joined #nixos
davidv7_ has quit [Ping timeout: 256 seconds]
<_3699n>
Has anyone had issues with qemu and nscd? Trying to nix-build my test on nixos-unstable, but my VMs won't start: missing /etc/netgroup
<{^_^}>
[nixpkgs] @Ericson2314 pushed to more-rustc-musl « rustc: Improve musl support »: https://git.io/JIIMA
davidv7 has joined #nixos
mattwoodyard has quit [Ping timeout: 245 seconds]
davidv7 has quit [Remote host closed the connection]
<georgyo[m]>
I don't think there is a good answer to this, but it cannot hurt to ask
<georgyo[m]>
Is there a good "pure" way to store secrets inside a flake?
<georgyo[m]>
IE, I have a nixos config, and there is a VPN password. How can I have this in the flake in a way that I can make the configuration (git repo) public, but not expose the password.
<Reventlov>
georgyo[m]: what I do is I use a private submodule
<georgyo[m]>
Interesting, I will give this a look! Thanks for the pointer.
<boogiewoogie[m]>
hmm, I'm in a `nix-shell -p gmp` getting `error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory`. there doesn't seem to be a libgmp or gmp-dev package either. anyone got an idea?
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JII5u
<Yaniel>
boogiewoogie[m]: you should probably also add pkg-config to the shell and then use that to find the library
<thibm>
yeah sorry
<adisbladis>
I take it boogiewoogie[m] is probably trying to run an unmodified binary ?
<Yaniel>
cmake etc tend to do exactly that
<thibm>
nix-shell -p gmp seems like an antipattern anyway
tlaxkit has joined #nixos
<Yaniel>
ahh yea for a prebuilt binary... patchelf
<boogiewoogie[m]>
okay. it's an appimage, so I'm `appimage-run`ning it in the shell. thing is, this same appimage has worked before in some shell, but I can't remember the exact env and apparently didn't save it anywhere
<boogiewoogie[m]>
now, adding pkc-config to the environment doesn't help either :/
<boogiewoogie[m]>
pkg-config*
orivej has joined #nixos
<Yaniel>
ahh, appimage
<{^_^}>
[nix] @garbas opened pull request #4302 → Adds Nix CLI Guideline to docs → https://git.io/JIIdn
<fgaz>
ryantm: does nixpkgs-update check that the new package is actually different from the old one?
growpotkin has joined #nixos
<gchristensen>
zimbatm: can you help me debug what is going on with my terraform use? I'm seeing: Failed to instantiate provider "registry.terraform.io/-/aws" to obtain schema: unknown provider "registry.terraform.io/-/aws" ... here is my main.tf and some console output: https://gist.github.com/grahamc/1217f6e25d2aadd000ed662678e022a8
alp has quit [Remote host closed the connection]
alp has joined #nixos
<andi->
gchristensen: doesn't that stuff need patchelf'ing?
<andi->
Since it just downloads the go binaries from the internet
<gchristensen>
I don't think it is, I think it is using plugins built by nix
<andi->
I'm going to back to debugging java + libchipchard + pcsc to get a write transfer of 13€ done.. Took me all day already.
<gchristensen>
lol....ow......
thibm has joined #nixos
<gchristensen>
zimbatm: 2020/12/02 16:25:11 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
<gchristensen>
I wonder if you have this lock file?
<{^_^}>
[nixpkgs] @fgaz opened pull request #105713 → Use unstableGitUpdater on my unstable packages → https://git.io/JIIbM
hyper_ch4 has quit [Read error: Connection reset by peer]
hyper_ch5 has joined #nixos
addcninblue has quit [Ping timeout: 256 seconds]
<ryantm>
<fgaz "ryantm: does nixpkgs-update chec"> It does not currently do checks when calling passthru.updateScript because it currently assumes the script does a good job at that itself. Otherwise, it does a bunch of checks.
bitmapper has joined #nixos
mkaito has joined #nixos
mkaito has joined #nixos
erasmas has joined #nixos
respawn_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_3699n has joined #nixos
heyitsrama has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
jonatanb has joined #nixos
werner292 has joined #nixos
greaka has joined #nixos
hnOsmium0001 has joined #nixos
jonatanb has quit [Ping timeout: 240 seconds]
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<fgaz>
ryantm: okay, thank you. I was asking because one of the packages in #105713 (cht.sh) will probably trigger a bunch of such updates, since it's an active repo that only rarely updates the portion that's packaged in nixpkgs
<fgaz>
I guess we'll see, it's just one package after all
<boogiewoogie[m]>
can anyone think of a way I can make my appimage see `libgmp.so.10`? a nix-shell with `gmp` and `pkg-config` doesn't cut it. I know it's possible, because it worked at one point with some shell.nix :/
<greaka>
hey there, just stumbled upon the website. nice redesign! however, since a good amount of time now, i cant find anything about nixops anymore. is it dead? i really liked the concept and wanted to switch to it around 3/4 of a year ago, back then the website was redirecting to nixos though and still seems to be
<boogiewoogie[m]>
i'm running it with `appimage-run`, which is how it was working before
<simpson>
greaka: nixops is being actively developed.
virus_dave has quit [Quit: virus_dave]
<Lordcirth>
greaka, nixops 2.0 is just coming out; 1.x dev did slow down for a while
<greaka>
oh? that sounds awesome. where can i track its progress? only on github?
_3699n has quit [Remote host closed the connection]
Henson has joined #nixos
kalbasit has joined #nixos
<Henson>
when doing a nixos-install is it possible to get a listing of all the files it's downloading and from where instead of the ANSI progress meter that doesn't leave a listing of the things it's doing?
<Lordcirth>
Henson, --verbose should do something like that?
alp has quit [Ping timeout: 272 seconds]
<Henson>
lordcirth: --verbose isn't a recognized option
<Lordcirth>
Really? It shows up in the manpage
<Lordcirth>
Henson, what version of NixOS do you have as your installer? Is --verbose in the manpage for your copy?
<Henson>
lordcirth: ok, I think I'm using an old 19.03 nixos-install, so I should use a newer one
<sshow>
,locate pcscd
<{^_^}>
Found in packages: pcsclite.bin
rpgwaiter has joined #nixos
<{^_^}>
[nixpkgs] @FRidh opened pull request #105714 → python3Packages.bootstrapped-build: to replace pip → https://git.io/JILvx
<{^_^}>
[nixpkgs] @AluisioASG opened pull request #105715 → dyndnsc: init at 0.5.1 → https://git.io/JILfr
mallox has joined #nixos
<siraben>
How can I debug why pavucontrol is not showing headphone input?
<teko>
Apologies if this is out of place.I'm using the zoneminder package and want to include a custom script within it, using (zoneminder.overrideAttrs (foo: rec { installPhase ''bar'';}))
<teko>
I'm having some success but how do I actually run a services from that derivation?
eoli3n has quit [Remote host closed the connection]
<teko>
The old services.zoneminder = { xxx }; will run the original derivation without the changes
<srk>
some modules have package option for this case. if not you can use overlay
eoli3n has joined #nixos
lunik1 has joined #nixos
<teko>
ah ok
<teko>
if using the package option I need to specify a name for it, right?
<teko>
every attempt I've had with that results in a syntax error
<srk>
no, derivation (package..) :) there's no svc.zoneminder.package tho
<srk>
you can't do installPhase ''bar''
<srk>
installPhase = ''bar'' but it's better to also include old.installPhase
<srk>
(in your case foo.installPhase)
<teko>
I tried that but it seems that foo.installPhase didn't exist (if that is possible?)
vidbina_ has quit [Ping timeout: 260 seconds]
<teko>
(yes the = in installPhase got lost)
<siraben>
srk: hm, didn't seem to fix the issue
<siraben>
I added to audio to extraGroups
<srk>
teko: installPhase is probably automatic in that case. it does have postInstall tho
<teko>
ok, that will likely work just as well - I'm trying to read up on overlays :)
<srk>
siraben: not sure :( you can try running pulseaudio -vvvvv in foreground to get debug output
<siraben>
srk: any way to see the logs without relauching pulseaudio?
<srk>
(after stopping the daemon with pulseaudio -k)
<V>
src/nixpkgs/lib/strings.nix:166: /* Construct a library search path (such as RPATH) containing the
<V>
src/nixpkgs/lib/strings.nix:178: /* Construct a binary search path (such as $PATH) containing the
<buffet>
hey im trying to work on a rust project, so i set up a default.nix with rustPlatform.buildRustPackage. because i need rust-analyzer i just added that to buildInputs, but that doesnt seem to work (in a nix-shell). using mkShell it works
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JILOV
<V>
if you're using a package on the host it needs to go in native
<{^_^}>
[nixpkgs] @SuperSandro2000 merged pull request #105673 → pdftk: mark broken on darwin → https://git.io/JIkED
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JILOr
<buffet>
V, thats it, i tried nativeBulidInputs apparently
<buffet>
thank you
<Im_a_newbie>
Heyy'all, I'm trying out nixos. I think I am getting my head around the descriptive part for packages. But how do you manage your "personal" configurations? On a "regular" distro I am using git for my dot-files. Is there a better way in nixos?
<teko>
srk: thank you for pointing me in the right direction with overlays, seems to be working :)
<srk>
teko: yw!
<srk>
Im_a_newbie: quite similar, you can add your nixos configs to dotfiles repo and lots of people migrate from just copying dotfiles to using nix/nixos/home-manager to do that instead
<fuzzypixelz15>
but then I will also have no ip address when I want to plug in my phone again
<fuzzypixelz15>
seems like this was made with "always on" interfaces in mind
<fuzzypixelz15>
anyone?
<fuzzypixelz15>
```# The global useDHCP flag is deprecated, therefore explicitly set to false here. # Per-interface useDHCP will be mandatory in the future, so this generated config # replicates the default behaviour.```
jonatanb has joined #nixos
acarrico has joined #nixos
<Lordcirth>
fuzzypixelz15, maybe you could add a change to the systemd service that sets it to not block?
<tpw_rules>
i'm not sure how to get systemd units from a package recognized on my nixos system. they're in configuration.nix in environment.systemPackages. the unit files are linked into /run/current-system/sw/lib/systemd/system but systemd doesn't look there?
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JILWr
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<woffs>
fuzzypixelz15: maybe networking.dhcpcd.wait is for you?
<Lordcirth>
Then that seems to be what "if-carrier-up" says it does
<woffs>
default is any. try if-carrier-up
<Lordcirth>
But you want that set per-interface, not global, I think?
davidv7 has joined #nixos
<fuzzypixelz15>
not sure there is a way to do that
<fuzzypixelz15>
+ I think that's what I'm used to
<Lordcirth>
Do you have an interface other than this one? If not, there's no difference
<fuzzypixelz15>
no interface => no dhcpcd
<fuzzypixelz15>
I have wifi and ethernet
<fuzzypixelz15>
this "interface" is just my smartphone's usb tethering
cosimone has joined #nixos
<nz23>
hi, after a system update i'm getting an error about a hash-missmatch of a dependency, however "nix why-depends" tells me that it doesn't depend on anything. By chance someone has an idea on why that might be the case?
<jasom>
Does the --run option to nix-shell not have an effect with FHSUserEnvs? e.g. using the following shell.nix "nix-shell --run 'echo hi'" just drops into an interactive shell when I try it: https://gist.github.com/jasom/75d1f83212899c1bc07499b31270a6f5
<{^_^}>
[nixpkgs] @Mic92 opened pull request #105732 → sd-image: fix resizing if root is not the second partition. → https://git.io/JILBh
<siraben>
ryantm: do I need to make any changes to #105364 or looks good to merge?
<fuzzypixelz>
right now where is it at exactly? unstable? planned for next release? Sorry I don't understand NixOS developement, I just installed it two days ago haha, Mic92
<mattwoodyard>
sphalerite - ugggh, thanks
<exarkun>
is there a trick to provide native dependencies for cabal builds?
<exarkun>
(I am not really a cabal user, just trying to build this random cabal-based project I want to fix a bug in)
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JILPF
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gustavderdrache has joined #nixos
werner291 has joined #nixos
<{^_^}>
[nix] @matthewbauer opened pull request #4305 → Check for rosetta 2 support before installing → https://git.io/JILXv
mattwoodyard has quit [Ping timeout: 245 seconds]
<AWizzArd>
I run `nix search -u` and get a long list through which I can scoll. But in my next `nix search smth` it tells me that I should update the cache. How can I updated in such a way that there is a side effect (i.e. the cache being updated)?
xcmw has joined #nixos
fuzzypixelz has quit [Remote host closed the connection]
veleiro` has joined #nixos
<judson>
What's the sitch with go packages right now?
<samueldr>
judson: what do you mean?
<samueldr>
ah, sorry, I missed the "go"
<judson>
I've been setting up a bunch of tools for a project, and it's been really painful. buildGoModules has not been the utopian dream I'd hoped for.
nisstyre has quit [Quit: WeeChat 2.8]
<samueldr>
and I thought something was supposed to be up "for [all] packages" :)
<infinisil>
I'd go for buildGoPackages
<samueldr>
(I don't know about go stuff)
<infinisil>
Along with vgo2nix
nisstyre has joined #nixos
<judson>
buildFlagsArray is a fib; I'm trying to get linkerd to work - it seems to be broken in tree.
<judson>
Looking upstream, their build involves a go generate step, which /me cries
<judson>
infinisil, I was under the impression that buildGoPackages was superseded?
veleiro has quit [Ping timeout: 260 seconds]
<infinisil>
The manual says so, but I don't think it was the right call
<judson>
There's also this irritation (which I think is shared across build$LangThing builders) - they don't seem to work with overrides