<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfRds
<{^_^}>
[nixpkgs] @seb314 opened pull request #87914 → Submit/jamulus. Enables musicians to perform real-time jam sessions over the internet → https://git.io/JfRd4
<{^_^}>
[nixpkgs] @matthew-piziak opened pull request #87915 → add `enableSound` parameter to `dwarf-fortress` derivation → https://git.io/JfRdr
drakonis_ has quit [Ping timeout: 258 seconds]
<palo>
hmm boot.initrd.secrets is complaining that I'm not using unqouted paths. But I'm using pkgs.writeText :/
<palo>
that should be realized as unquoted path right?
<selfsymmetric-mu>
How do you get notified when there's a new version of unstable out? Do you just check https://howoldis.herokuapp.com/ periodically? Is there a way I can get an email or an RSS update?
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
<clever>
palo: pkgs.writeText will write it to /nix/store, and then its not a secret anymore
<clever>
palo: your supposed to be doing just bare /path/to/secret
<palo>
but how to "move" that file in the initrd? it doesn't have access to the whole /nix/store (that is encrypted)
<clever>
palo: nix will automatically copy it for you
<clever>
palo: thats how all dependencies work in nix
<palo>
ok, I'll try it before I lock myself out of my main server :D
<palo>
clever: thanks for the ideas
drakonis2 has joined #nixos
drakonis has quit [Ping timeout: 244 seconds]
<clever>
palo: you can also put the writeText result into a let block, to make the code more readable
<Ashy>
is there a way to merge two attrsets and have the keys from one override the other by name?
<clever>
Ashy: //
<clever>
> { a=1; b=2; } // { b=3; c=4; }
<{^_^}>
{ a = 1; b = 3; c = 4; }
<lunik1>
in mkDerivation how can I set the PATH?
<Ashy>
thanks
<clever>
lunik1: anything you put into nativeBuildInputs gets added to PATH for you
<lunik1>
ah I was using propagatedBuildInputs
<clever>
lunik1: it will only be in PATH at build-time, not runtime
<clever>
,runtimeDeps lunik1
<{^_^}>
lunik1: In order of preference: Patch source OR ((if it uses PATH -> wrap with new $PATH) AND (if it uses dlopen, (patchelf --set-rpath in postFixup OR wrap with new LD_LIBRARY_PATH)))
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
codygman has joined #nixos
<lunik1>
wrap with makeWrapper?
<colemickens>
anyone seen this before: `error: derivation '/nix/store/3226n6b0mj1ch15z7cvdgg905rch33nb-nix-build-uncached-0.1.1-go-modules.drv' has '__noChroot' set, but that's not allowed when 'sandbox' is 'true'`
<clever>
cole-h: something in your build is asking to turn the sandbox off, but your nix.conf wont allow it
<cole-h>
Help>:)
<cole-h>
>:) *
<cole-h>
colemickens: I sniped your answer
<cole-h>
Err, sniped your ping
<colemickens>
hm, it looks like a normal go module derivation to me
<colemickens>
oh, I might know
<colemickens>
`s/null/lib.fakeSha256/g` fixed it
<cole-h>
Is there an `escapeShellArg` that also escapes spaces?
codygman has quit [Read error: Connection reset by peer]
<cole-h>
For use in bash env vars
<emily>
colemickens: null means unsandboxed for the go modules stuff I think
codygman has joined #nixos
<clever>
cole-h: why does it need to be escaped? you could quote it better maybe?
<colemickens>
Hmph! I didn't know a derivation could even ask to opt itself out. I'm glad to find it's blocked by my daemon.
<cole-h>
clever: Trying to cover my bases -- a user might (for whatever reason) have a folder like `asdf'ghj jkl` and I want the env var to be properly usable in that case
<clever>
cole-h: which env var, going to which cmd?
xxsds has joined #nixos
<xxsds>
hello i am trying to fix my nixos root from liveusb using `nixos-enter`
<cole-h>
clever: Custom env var, going to any command. `cat $VAR` -> ..../asdf'ghj: no such file or directory; jkl: no such file or directory
<xxsds>
but running `nixos-rebuild switch` is giving error: writing to file: permission denied
<clever>
cole-h: cat "$VAR"
<clever>
cole-h: if you dont quote it, spaces and other stuff can break things
<cole-h>
But do I want to rely on users knowing that?
<cole-h>
btw colemickens it looks like you force-pushed your nix-build-uncached, but nothing new actually appeared... forget to `git add`/`git commit`?
<xxsds>
clever: yeah it seems to be working now
<xxsds>
thanks
<cole-h>
Now I see it :P
<xxsds>
lets see if it boots :)
<colemickens>
cole-h: ;)
<cole-h>
colemickens: But you also forgot to lower-case "m*c92" -- M*c92 is not a maintainer :P
xxsds has quit [Remote host closed the connection]
proofofkeags has quit [Remote host closed the connection]
jaeckel has quit [Ping timeout: 258 seconds]
lopsided98 has joined #nixos
agsdheidjd has joined #nixos
<hyper_ch>
hmmm, is there any replacement for howoldis.herokuapp.com ?
<morgrimm_>
Anyone know where I can find any docs on service definition? I'm writing a service for ly, but I need to defined the install alias of the service definition
<{^_^}>
[nixpkgs] @vbgl pushed to master « ocaml-ng.ocamlPackages_4_11.ocaml: init at 4.11.0+α1 »: https://git.io/Jf0L1
ninjin has quit [Remote host closed the connection]
<LnL>
armv7l IIRC
ninjin has joined #nixos
<gordon>
LnL: it doesn’t seem to be what i’d like to. In my derivation, i create a script file that will call the output binary of the derivation. I’d like that "out" to be the path of the derivation itself, but for now it’s the path of the `writeShellScriptBin` item
<angerman>
I'm trying to build some armv7 image for linux. Passing armv7l-linux to config.system.build.sdImage, but it appears I get zero cache hits.
<angerman>
LnL: ahh.. well guess I'll just have to wait then.
jnbrains has quit [Quit: jnbrains]
<LnL>
angerman: 6a627c4 was a decent eval if you're ok with something a little outdated
smatting_ has joined #nixos
knupfer has joined #nixos
<yasuaki>
I raised this ticket 5 years ago https://github.com/NixOS/nixpkgs/issues/10237 - and although I'm not sure exactly what I did, WakeOnLan did work for the last 5 years. I almost copied the same configuration.nix including the WakeOnLan section but it just doesnt work in the new machine. If i manually specify wol g option using ethtool, it works fine.
<{^_^}>
#10237 (by yugawara, 4 years ago, closed): wake-on-lan is not automatically turned on upon boot
<{^_^}>
[nixpkgs] @doronbehar closed pull request #58104 → nix: replace build utils with host utils in config.nix → https://git.io/fjfjq
fendor_ has joined #nixos
<Yakulu[m]>
Hi there. I wonder if there is a way to know when the system needs to be rebooted (something like `needrestart` on other linux flavors)
__monty__ has joined #nixos
johnjay has quit [Ping timeout: 260 seconds]
discoelysium12 has joined #nixos
<Valodim>
the androidenv packaging is so confusing :| the manual talks about ant-based android apps? those haven't been around in manymany years, what gives?
virus_dave has joined #nixos
<Valodim>
I have been looking at this stuff for quite a while now over several attempts and I cannot figure out "how do I ./gradlew assembleDebug"
discoelysium12 has quit [Remote host closed the connection]
<gordon>
hm, i’m working with my derivation, and regularly installs/uninstalls it, but after i uninstall it, and i run `nix-collect-garbage`, the output still exists (and is obsolete, of course)
<gordon>
i can’t understand why. There has to be some symlink, but it’s neither in my cwd nor `/nix/var/nix/gcroots/auto/` :/
<srhb>
gordon: You can query for roots with nix-store --query --roots /nix/store/...
chloekek has joined #nixos
<gordon>
ok, it’s in an old user environment, thanks
<srhb>
gordon: I wonder why you uninstall/reinstall though. Disk space problems? :)
<gordon>
no, i’m working on the derivation
<gordon>
and checks if all is correctly installed and available in my profile
<srhb>
Sure, but any change will give it a new path. Shouldn't matter that the old one is still in the store, lying around.
<srhb>
Ah
<srhb>
I guess my question was "why gc" ^^
<srhb>
but sure :)
johnjay has joined #nixos
<gordon>
nope, the source is the same, but i’m changing the derivation contents, so the output hash stays the same
<srhb>
I think we're talking about different things. If you made any meaningful change, the source drv might stay the same, but the final one must not. Anyway, was just curious.
<gordon>
yeah that would be logical. But i’m changing the contents of a script created by `writeShellScriptBin`, which i copy in my derivation output dir in the `installPhase`
zupo_ has joined #nixos
johnjay has quit [Remote host closed the connection]
<cinimod>
I have builtins.trace "${builtins.head (builtins.filter (lib.hasInfix "graphics") (builtins.map builtins.toString reverseDepsList))}" reverseDepsList;
<cinimod>
but get trace: /nix/store/m98jfb22r8acgjmaf2gyahch7ggaap22-3d-graphics-examples-0.0.0.2
johnjay has joined #nixos
<cinimod>
sorry
<cinimod>
That is of course correct
fendor_ has quit [Ping timeout: 265 seconds]
<gordon>
okay, now i’m back to this circular dependencies
<gordon>
i’ve tried to create a var named `globalOutputPath` in the derivation, and uses its value in the `writeShellScriptBin`, but i think that lazy evaluation makes it useless
alexherbo2 has joined #nixos
MmeQuignon has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
fendor_ has joined #nixos
fendor_ has quit [Client Quit]
<srhb>
gordon: It's not clear to me what you're trying to achieve from that description. Perhaps you can share your expression somewhere?
<gordon>
on line 31 i’m trying to call the binary produced by the general derivation
<gordon>
but i think it may be better to split into 3 derivations: one for stremio-shell (described by src), one for stremio-server, and a third that would depend on both, and provide the helper command
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @zowoq to master « direnv: switch to buildGoModule (#87932) »: https://git.io/Jf0mq
<srhb>
gordon: I'm guessing the confusion is stemming from the fact that your placeholder is being replaced in the derivation in which it is being built, ie. in the writeShellScriptBin.
<gordon>
i believe it’s because of lazy evaluation
<srhb>
gordon: It looks like you want some kind of makeWrapper here, really.
alp has joined #nixos
<gordon>
could a makeWrapper execute a server script and the client in parallel, and stop the server when the client stops?
<srhb>
gordon: Ah, no, you do probably want a shell script for that. but either do the substitution yourself in installPhase using $out or split the derivation.
<gordon>
i think splitting the derivation is the right thing to do here
<srhb>
yes, that sounds cleaner to me too.
smatting_ has quit [Ping timeout: 256 seconds]
<gordon>
it suits more the upstream architecture
Izorkin has joined #nixos
<{^_^}>
[nixpkgs] @SCOTT-HAMILTON opened pull request #87935 → Add shamilton to maintainers → https://git.io/Jf0m8
<Nazral>
Hi, is there a way to install graalvm on nixos besides the graalvm package that tries to build it from source (I don't have enough ram for that...), because there are binary releases of the community edition
<srhb>
gordon: As for your question re. laziness: It doesn't really happen during nix evaluation but during the actual build. If you nix-instantiate the shell derivation, you will see that it contains an actual value globalOutputDir: "somevalue" -- very early in the actual build phase, that string with be replaced with the actual output path
<srhb>
gordon: So it's not really "laziness" but the fact that placeholder substitution happens during the build.
<srhb>
colemickens: Sounds like it may be skipping them.
leotaku has joined #nixos
slack1256 has quit [Remote host closed the connection]
alp has joined #nixos
opticnerve has quit [Quit: bye]
<keithy[m]>
@srhb quite possibly, but i need a cloud instance anyway
<srhb>
keithy[m]: The question really ends up being "how often do you want to update"
<srhb>
keithy[m]: And how much history do you want to store.
<srhb>
keithy[m]: eg. build a weekly clone of nixpkgs-channels/nixos-20.03 HEAD and storing just a few weeks' worth of history should be very very cheap
<kazzimazzi[m]>
hi, I have kinda newbie question, how do I use <pkg>.overrideDerivation to get the newest version of alacritty?
peelz has joined #nixos
<srhb>
colemickens: At a guess, the default keyserver stopped supplying the user id
<srhb>
colemickens: So maybe you can change it
zaeph1 is now known as zaeph
yasuaki has quit [Quit: Connection closed for inactivity]
<axx[m]>
hi everyone, just getting started with NixOS which i'm keen to explore, but running into a bit of a snag
<axx[m]>
i'm trying this out on a raspberry pi 2, using the image and the binary caches published by dezgeg
<axx[m]>
so: when i edit `configuration.nix` and run `nixos-rebuild --switch` a/ it takes ages and b/ either it fails with some "read-only" errors, or it finishes without throwing an error, but the overall nixos-version number doesn't increment (i'm on 19.03 right now) and the packages i've added to the configuration are not available…
alp has quit [Ping timeout: 272 seconds]
leotaku has quit [Read error: Connection reset by peer]
<axx[m]>
i understand that if i rebuild, then make one small change (say, add one package) and then rebuild again, the second rebuild should take seconds, maybe minutes on a slow device, as there is very little to change… can anyone confirm or correct this?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
jakobrs has quit [Quit: WeeChat 2.8]
reallymemorable has joined #nixos
johnjay has quit [Remote host closed the connection]
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
palo has joined #nixos
turion has joined #nixos
<{^_^}>
[nixpkgs] @doronbehar opened pull request #87949 → mpd: enable tests + install docs to split outputs → https://git.io/Jf0Zy
yasu has joined #nixos
<yasu>
Very basic question: Do NIX derivations depend on particular Linux Kernel version?
<simukis_>
the nix installation script does not allow me to install from root, but its effectively the only user on the machine in question. How can I circumvent that requirement (possibly without creating a user?)
<{^_^}>
[nixpkgs] @doronbehar closed pull request #87940 → mpd: Add support for meson options → https://git.io/Jf03y
opthomasprime has joined #nixos
ixxie has joined #nixos
<ixxie>
Anybody knows how to get node2nix to manage dev dependencies?
<pistache>
how could I make a specific service reload when networking.hosts is changed ?
<pistache>
Yasu: no, except for packages namespaced to a specific Kernel version
<pistache>
answering my own question : I can use systemd.paths for that
<yasu>
@pistache Thank you very much! I don't know much about Linux but is it quite safe that the derivations don't care about the kernel version???
quinn has joined #nixos
opthomasprime has quit [Remote host closed the connection]
<b42>
pistache: also take a look at systemd.services.<name>.restartTriggers
<yasu>
@pistache I wonder if it defeats the whole point of Nix derivations requiring very specific versions of all dependencies
petro has joined #nixos
chloekek has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<pistache>
Yasu: it doesn't, because the kernel is not considered as a run-time dependency of these packages
opthomasprime has joined #nixos
<pistache>
that's only the case for kernel modules
orivej has joined #nixos
<pistache>
even the packages namespaced to a specific kernel version don't have the kernel as a run-time dependency, only as a build-time dependency
<pistache>
b42: ah yes that seems to be even better, thanks
<yasu>
@pistache Thank you for explanation! 😀
<lunik1>
I want to add a package to nixpkgs that requires adding another package as a dependency, should there be a PR for each new added package? The dependency can be used seperately.
opthomasprime has quit [Remote host closed the connection]
<manveru>
lunik1: then it's better to have two PRs for easier review
<manveru>
oh, i didn't even notice we had teams in nixpkgs now...
rogue_koder has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
<pie_>
(clever:) what do i need to look into for making a network device transparently look like a different one? i.e. i have my ethernet interface and a container interface and i want the cable i plug into the socket to think its talking to the container directly
orivej has joined #nixos
Maxdamantus has quit [Ping timeout: 260 seconds]
<manveru>
lunik1: looks like most stuff in php-packages is standalone tools as well, so just put it there :)
<pie_>
(well i guess for starters i should just get the routerless ethernet connection between the two devices working)
<lunik1>
ok, thanks!
Maxdamantus has joined #nixos
nschoe has quit [Remote host closed the connection]
<pie_>
anyone know what linkdown means? google isnt being helpful; 192.168.10.0/24 dev enp0s25 proto kernel scope link src 192.168.10.2 linkdown
cinimod has joined #nixos
nschoe has joined #nixos
<ixxie>
thanks betaboon, don't know how I missed that :P
opthomasprime has left #nixos [#nixos]
ATuin has quit [Ping timeout: 260 seconds]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu>
What's the right way to use nix-direnv on NixOS? Seems wrong to clone the repo and link it to an RC file. Is there a configuration.nix option?
commande1 is now known as commander
<selfsymmetric-mu>
There's a package but then it seems like I'd still have to nix eval the path and then link it to an RC file…
cinimod has quit [Remote host closed the connection]
cinimod has joined #nixos
<Thra11>
If I want to use a single file (as opposed to an archive) from the local system as my `src`, how do I do that? I've tried putting `src = /path/to/file;`, but either it complains that it doesn't know how to unpack it, or I override phases to remove the unpack phase and it doesn't appear to do anything with it.
<ma27[m]>
selfsymmetric-mu: I added it to my home-manager config like this: `home.file.".direnvrc".text = builtins.readFile ./path/to/direnvrc;`
<Thra11>
Hmmm. Looks like it has put the file in the nix store and set an env variable, `src` to its path...
plutes has quit [Killed (Sigyn (Stay safe off irc))]
<Thra11>
Guess I just use $src whenever I want to refer to it
orivej_ has joined #nixos
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
orivej has quit [Ping timeout: 256 seconds]
turion has quit [Ping timeout: 260 seconds]
plutes has joined #nixos
plutes has quit [Max SendQ exceeded]
turion has joined #nixos
<pie_>
clever: turns out there were some physical layer issues
<meck>
Hi im trying to write simple overlay https://gist.github.com/meck/522fcfdfdec2fa328e4d5a503863cea2 however one thing i can't figure out, contribPlugins is a optional argument to the original derivation, but if reference it in the overlay the it just says it missing?
<gordon>
would anyone be interested in checking if it’s the correct way to do it?
domogled has quit [Ping timeout: 272 seconds]
petro has left #nixos [#nixos]
<{^_^}>
[nixpkgs] @lunik1 opened pull request #87952 → fdkaac: init at 1.0.0 → https://git.io/Jf0CF
<pie_>
clever: re your netboot_server: https://serverfault.com/a/963302 my device gives 07 for what should presumably be x86-64 efi
<pie_>
but who knows maybe it does support bc
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
lassulus has quit [Remote host closed the connection]
lassulus has joined #nixos
drakonis has joined #nixos
morgrimm has joined #nixos
<morgrimm>
energizer: Sorry, just came back to the systemd reply from last night. I have the unit file written, I'm just trying to figure out how to translate a few properties into the equivalent nixos service
<morgrimm>
[Install] -> Alias, for example
<morgrimm>
the rest fit well just under the service and the serviceConfig
drakonis_ has quit [Ping timeout: 265 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
morgrimm_ has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}>
[nixpkgs] @ccellado opened pull request #87953 → glpaper: init at unstable-2020-03-30 → https://git.io/Jf0WY
<ohhaimark>
Hello. New to nixos. I would like to add a package in my packageOverrides that just puts a script on my path. How does one go about doing that?
reallymemorable has quit [Quit: reallymemorable]
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
<{^_^}>
[nixpkgs] @etu opened pull request #87955 → codeowners: Move code ownership to maintainer team → https://git.io/Jf0Wa
vidbina has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
<azazel>
ohhaimark: creare a script with pkgs.writeScriptBin and install it
<ohhaimark>
Cool thanks
<azazel>
ops.. s/creare/create/
<betaboon>
anyone on nixos using sway noticing what looks like missing antialiasing in gtk-apps (like wofi or waybar) ?
<evils>
betaboon: if i got the config right, Noto Sans Mono
KendyChat has joined #nixos
<turlando>
lunik1 I tried to compile ffmpeg with libfdkaac last week and it failed spectacularly but I'm under finals pressure so I didn't dig. Good to know it works for you, maybe will try again next week
<lunik1>
huh never had a problem on nizos myself, have ffmpeg and handbrake compiled with it. I try to use opus instead where I can, though.
<lunik1>
if you don't have much RAM maybe /tmp is filling up?
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
<evils>
betaboon: sry, that's a simplified entry from my .config/waybar/style.css
codygman has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
<betaboon>
evils: and then just `fonts.fonts = [ pkgs.noto-fonts ];` in configuration.nix? and no extra fonts-config ?
<betaboon>
evils: sorry for asking so weird, this problem just buggs me out so much. couldnt find a solution for it in several weeks :/
<evils>
betaboon: np, better to ask than to be stuck with the problem, i've got `fonts.fontconfig.defaultFonts.monospace = [ "Noto Sans Mono" ];` in configuration.nix
<evils>
oh woeps, not the relevant part, `fonts.fonts = with pkgs; [ noto-fonts ];` indeed
<turlando>
lunik1 I have 12 gigs but I didn't check that. It just failed and I didn't have enough time to check so I ended up using the built-in AAC encoder. I also was messing with the config because I wanted to enable allowUnfree only for that package (and I failed doing that too) so maybe it was just me being a noob and doing something wrong
<betaboon>
evils: thanks for the pointers. will try
codygman has joined #nixos
<betaboon>
evils: this is just somewhat frustrating. this bug is the last thing keeping me from switching to sway permanently XD
<evils>
betaboon: looks like i've got noto-fonts-* there
<lunik1>
tbh ffmpegs built-in aac isn't too bad these days
<betaboon>
evils: as in `fonts.fonts = with pkgs; [ noto-fonts noto-fonts-extra noto-fonts-cjk noto-fonts-emoji ];` ?
<evils>
betaboon: jup
cinimod has quit [Ping timeout: 265 seconds]
<clever>
pie_: i never really got efi netboot to work right
<evils>
betaboon: for completeness, i've also got `font.enableFontDir = true;` not sure why though
ninjin has quit [Remote host closed the connection]
<betaboon>
evils: i think that is required for x11 onlyw
ninjin has joined #nixos
fendor has quit [Remote host closed the connection]
<pie_>
clever: oh.
<betaboon>
clever: I think i had success with using ipxe iirc
<pie_>
clever: im at a prompt, is that progress?
<clever>
pie_: depends on what the prompt says
<pie_>
clever: i mean nixos shel
<evils>
betaboon: btw, if you've got wayland enabled for firefox and running sway, does firefox crash when you reload (not restart) sway?
cinimod has joined #nixos
<clever>
pie_: then it probably worked the whole way, you can either justdoit or nixos-install as normal
chiastre has joined #nixos
lord| has quit [Ping timeout: 265 seconds]
<pie_>
clever: yeah i mean it definitely worked, i mean did you get that far?
<clever>
pie_: note that justdoit wont ask before wiping any disks
<betaboon>
evils: let me check
<pie_>
im assuming you did, what didnt work?
<pie_>
clever: yeah i removed justdoit for now
<clever>
pie_: i never got efi to even load ipxe
<pie_>
clever: hmh ok. but yeah looking at whats going on in wireshark definitely helped me a bit
<clever>
not clear if the bios was to blame or the setup
<pie_>
i had to switch the arch code
<pie_>
to :07
<pie_>
or whichever
<pie_>
because of the thing i linked
lord| has joined #nixos
<pie_>
and then it worked
reallymemorable has joined #nixos
<clever>
cant remember i had verified that with wireshark or not
<pie_>
actually im not sure if it was that or the tftp or both
<pie_>
ok
mallox has quit [Quit: WeeChat 2.8]
<betaboon>
evils: yes it closes. complaining about "Lost connection to wayland compositor" and then "Exiting due to channel error"
<pie_>
now im waiting for my thinkpad to build the kernel with the microsoft surface patches someone else set up
<evils>
betaboon: what package are you getting firefox from?
<betaboon>
evils: nixpkgs-unstable
marsh has quit [Ping timeout: 272 seconds]
<pie_>
clever: is there an easy way to make the installer image install similar things to the content of the image itself? do i just copy the configuration into the image and call that?
<betaboon>
evils: thats 76.0.1
<evils>
betaboon: pkgs.firefox and setting MOZ_ENABLE_WAYLAND?
<pie_>
guess i should look at justdoit
<finnwww[m]>
where do you write most of your config, in /etc/nixos/configuration.nix or home manager?
<clever>
pie_: in what way should it be similar?
<pie_>
clever: well i guess it doesnt need to be but i want to install the right kernel in the end
<pie_>
clever: and not rbeuild it on the surface
<clever>
pie_: the netboot module includes a nixos config in the module = { .. };
fendor has joined #nixos
<betaboon>
evils: yeah i just ran `nix-shell -p firefox --run "MOZ_ENABLE_WAYLAND=1 firefox"`
<clever>
pie_: if you put kernel config in there, it should change what its netbooting
<betaboon>
evils: just did it again. tried multiple times, closed several times but not always
<clever>
pie_: and if that config matches the configuration.nix your installing, it will just copy it over
<pie_>
right
morgrimm has joined #nixos
morgrimm_ has joined #nixos
kozowu has joined #nixos
mallox has joined #nixos
<bqv>
I like to keep my grub config in home-manager and my dotfiles in /etc/nixos/configuration.nix, personally
<pie_>
clever: i switched tftp servers as a wild guess given that the one you chose was extremely stripped down and didnt even have any debug functionality i could find
<{^_^}>
[nixpkgs] @SCOTT-HAMILTON opened pull request #87963 → all-packages.nix: added otpgen callPackage in lexical order → https://git.io/Jf04W
<pie_>
clever: luckily it was easy enough to swap
<clever>
pie_: the one i'm using does print some logs to the journal, but yeah, its pretty bare
<clever>
[root@router:~]# journalctl -f -t xinetd
<clever>
May 16 03:49:37 router xinetd[870]: START: tftp pid=14822 from=192.168.2.177
<pie_>
does it say anything more than "the server has started"?
<clever>
[root@router:~]# journalctl -f -t tftpd
<pie_>
i wasnt sure how to get its log output either - i think i forgot to check the xinetd service
<clever>
May 16 04:14:31 router tftpd[14970]: tftpd: serving file from /tftproot
<clever>
May 16 04:14:31 router tftpd[14970]: tftpd: trying to get file: bootcode.bin
<Ericson2314>
ekleog: I think my position is that we should have a more modular stdenv
<Ericson2314>
and then we would get the roles from the specific thing being packages (e.g. Cargo, Cabal, NPM packaget)
<Ericson2314>
there would be no universal scheme
<Ericson2314>
in particular I'd like if the propagated stuff went away, because it doesn't mean any one thing, it is used for different things I rather be explicit about
<Ericson2314>
this sort of thing is a long way off, I am in no rush
<clever>
Ericson2314: one thing ive had trouble with, how do i refer to a host build when i do something like preBuild = "${hello}/bin/hello"; ?
<Ericson2314>
a host build?
<clever>
i found an ugly way thru __spliced, but it breaks when you .override
<Ericson2314>
you need buildPackages.hello ?
<clever>
Ericson2314: when cross-compiling, i want hello from buildPackages, yeah
seku has joined #nixos
<clever>
but if i just { stdenv, buildPackages }: its not clear what i depend on, and how to override only hello
Maxdamantus has joined #nixos
cosimone has joined #nixos
<Ericson2314>
clever: To me that is an unfortunate downside not worth avoiding at this time
mallox has quit [Quit: WeeChat 2.8]
<clever>
i did find an ugly way, let me reproduce it
<Ericson2314>
callPackage has many known problems, and I hope adding this to the list can someday spur decisive action
mallox has joined #nixos
<clever>
hello.__spliced.buildBuild
<clever>
the biggest surprise, is that __spliced only exists after callPackage mangles the args
<clever>
nix-repl> x = pkgsCross.raspberryPi.callPackage ({ hello }: hello) {}
<clever>
so i need this to even know it exists, lol
mallox has quit [Client Quit]
shabius has quit [Quit: Leaving]
orivej has quit [Ping timeout: 272 seconds]
mallox has joined #nixos
orivej_ has joined #nixos
proofofkeags has joined #nixos
Darkmatter66_ has quit [Ping timeout: 260 seconds]
drakonis_ has quit [Ping timeout: 260 seconds]
<Thra11>
What's the name of the attribute which produces the /nix/store/*-nixos-system-hostname-whatever output? (So I can just build it instead of doing `nixos-rebuild dry-run` then `nix-store -r <path from dry run>`)
<Ericson2314>
clever: yeah to me anyhting to do with splciing is far more terrible than `buildPackages` being unclear how it's used
<Ericson2314>
splicing has crazy `tryEval` hacks that don't quite work
<Ericson2314>
and missing or broken things in certain package sets can nuke others
<Ericson2314>
it's really terrible
drakonis_ has joined #nixos
<MichaelRaskin>
Wait what, tryEval inside normal Nixpkgs (not release.nix or other global tooling)?
<ekleog>
it's more about the depsFooBar scheme, and using something like what's suggested there to disambiguate and hopefully make package maintainers be more easily correct :)
<ixxie>
Something isn't clicking for me with node2nix...
<ixxie>
I tried the following: npx degit sveltejs/template test && cd test && node2nix --development && nix-shell -A shell --run 'npm run dev'
<ixxie>
It somehow seems some dependencies are missed here, because this isn't rendering what it's supposed to; if you run `npm install` however, the necessary depedencies are resolved.
zaeph1 has joined #nixos
<lunik1>
is there a way to view a package's nix expression from the nixos packages search?
zaeph2 has joined #nixos
zaeph has quit [Disconnected by services]
zaeph2 is now known as zaeph
zaeph1 has quit [Ping timeout: 246 seconds]
growpotkin has joined #nixos
domogled has joined #nixos
shabius has joined #nixos
<pie_>
clever: ok, re earlier: turns out kernel configs are pretty version sensitive
proofofkeags has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}>
[nixpkgs] @flokli pushed commit from @elohmeier to staging-20.03 « ffmpeg: extend addOpenGLRunpath to handle libcuda referencing libraries »: https://git.io/Jf0uU
shabius has joined #nixos
shafox has quit [Remote host closed the connection]
hlolli has joined #nixos
morgrimm_ has quit [Ping timeout: 258 seconds]
morgrimm has quit [Ping timeout: 258 seconds]
proofofkeags has joined #nixos
adamtkh6 has quit [Remote host closed the connection]
adamtkh6 has joined #nixos
<{^_^}>
[nixpkgs] @pacien opened pull request #87972 → haskellPackages.tart: unmark as broken → https://git.io/Jf0u0
<cab404[m]>
hi everyone)
<cab404[m]>
any ideas why home-manager stopped working in system config, and spewing out `'toFile': the file 'options.xml' cannot refer to derivation outputs`?
sarcasticadmin has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<clever>
cab404[m]: the default= for something may have changed in a way that breaks it, or the path to home-manager is in the store in a way that breaks it
<hpfr[m]>
how can I get the linux kernel to build on a remote builder? I can't find preferLocalBuild anywhere in linux/kernel/generic.nix or manual-config.nix yet it seems to only build locally
<clever>
hpfr[m]: this machine has 3 features, including big-parallel
<clever>
hpfr[m]: and if a derivation lists big-parallel as required, it will only run on this builder
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<hpfr[m]>
what does big-parallel mean though, like is that just a way to say this builder has multiple threads available or what
<clever>
hpfr[m]: yeah
<clever>
hpfr[m]: things like linux benefit heavily from more cores, so you you would set big-parallel to somethng that gives more cores to make, and runs fewer derivations at once
<hpfr[m]>
sweet thanks
<clever>
but if you dont have many builders, it doesnt really matter
magnetophon has joined #nixos
<hpfr[m]>
I feel like if you're using remote builders, all of your builders probably have more cores than your client
<hpfr[m]>
oh compared to other builders
<hpfr[m]>
seems like that should be something you turn off rather than on then
zupo has joined #nixos
sarcasticadmin has quit [Ping timeout: 240 seconds]
<hpfr[m]>
how can you even configure a builder to give more cores to make and run fewer derivations at once? does the buildMachines maxJobs refer to nix jobs, not total jobs, then?
<hpfr[m]>
wouldn't you just use -j1 on the client for that?
fendor has quit [Read error: Connection reset by peer]
__monty__ has quit [Quit: leaving]
misuzu has quit [Quit: leaving]
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
<{^_^}>
\o/
<bdju>
nix is complaining I'm out of space despite having a lot, just noticed /boot is full. could this be the problem? maybe too many entries for different generations... how do I delete some?
<mac10688>
hello, i am trying to upgrade my nvim version to the latest but I am having trouble.
<mac10688>
I upgraded nixos to the latest channel
<mac10688>
did a rebuild and switch but when i do nvim --version i still see an older version 0.3.4
<qyliss>
mac10688: what does command -v nvim say?
<mac10688>
online the neovim version should be 0.4.3
<mac10688>
/run/current-system/sw/bind/nvim
<qyliss>
What channel are you using?
<qyliss>
(nix-channel --list)
<mac10688>
nixos-20.03
<qyliss>
You're using a stable release of NixOS, which means most applications will only get security updates
<qyliss>
If you want to use the latest Neovim, you can import it from unstable Nixpkgs
<mac10688>
on the packages site for nixos under stable, i see neovim-0.4.3
<mac10688>
i can't upgrade to that?
seku has quit [Quit: Ping timeout (120 seconds)]
morgrimm has joined #nixos
morgrimm_ has joined #nixos
<s1341>
hey. i'm trying to run gnuradio-companion, and I get Failed to initialize GTK. If you are running over ssh, did you enable X forwarding and start ssh with -X?
<s1341>
i'm not sshing.
<s1341>
anyone have any ideas?
mac10688 has quit [Quit: WeeChat 2.4]
jb55 has quit [Remote host closed the connection]
Thra11 has quit [Quit: WeeChat 2.8]
mac10688 has joined #nixos
<finnwww[m]>
can i see y'all's home manager configs
morgrimm_ has quit [Ping timeout: 264 seconds]
morgrimm has quit [Ping timeout: 256 seconds]
hmpffff_ has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
jb55 has joined #nixos
hmpffff has joined #nixos
dongcarl has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
drakonis_ has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
simukis_ has quit [Ping timeout: 246 seconds]
pareidolia has quit [Ping timeout: 258 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
drakonis_ has joined #nixos
pareidolia has joined #nixos
o1lo01ol1o has joined #nixos
<pie_>
what was the option for doing something like saving your configuration?
slabity has joined #nixos
<slabity>
Does anyone have SteamVR working on NixOS? Was there anything necessary to get it working?
o1lo01ol1o has quit [Remote host closed the connection]
<pie_>
If enabled, copies the NixOS configuration file (usually /etc/nixos/configuration.nix) and links it from the resulting system (getting to /run/current-system/configuration.nix). Note that only this single file is copied, even if it imports others.
<pie_>
thats almost pointless
ryantm has joined #nixos
<cole-h>
lol
simukis_ has joined #nixos
cosimone_ has quit [Ping timeout: 244 seconds]
<MichaelRaskin>
You are supposed to just store your configuration in a VCS
<luna>
I run NixOS on the NixPkgs-unstable repo... Is there some way I can let the community know packages are working well for me, to help move them into stable/nixos-unstable?
<ashkitten>
i wish there was a way to persist nixpkgs options from configuration.nix to the running system, i think when you use nix it parses your configuration.nix to look for its options? that's really not great for me
aditsachde14 has joined #nixos
<gchristensen>
packages don't get "moved"
<gchristensen>
the nixpkgs-unstable and nixos-unstable channels point to specific commits on the "master" branch of the nixpkgs repository. once one set of tests pass, nixpkgs-unstable points to the commit which passed. once another set of tests pass, nixos-unstable points to the commit which passed.
slack1256 has quit [Remote host closed the connection]
philr_ has joined #nixos
eoli3n__ has quit [Ping timeout: 240 seconds]
lord| has joined #nixos
<cole-h>
Yep
<aditsachde>
What is the right way to set the exact nixpkgs to be used by `nix build` as a cli flag? I have seen people use `-I` to append it to the nix path, but in that case, would i have to first clear the NIX_PATH var?
<mac10688>
hi all, I am trying to upgrade my version of neovim to what's in the latest channel but it won't upgrade. Can anyone suggest what I might be missing?
<cole-h>
aditsachde: -I override NIX_PATH IIRC
<mac10688>
I upgraded to the latest channel and updated my packages