<clever>
kandinski: and did you check the variant of that file in /root/ ?
abueide has joined #nixos
<kandinski>
of ~/.ssh/known_hosts?
<clever>
yeah
<kandinski>
you mean locally? there's no /root/.ssh even
<clever>
that could be the issue, try to ssh into the build slave, as root
<kandinski>
I'm not doing a build, this is a script for my job (I think we got crossed when johnw asked about the build)
<clever>
oh, *looks up*
<clever>
yeah, agent vs host
<clever>
2 ssh problems at once can be a bit confusing
Anton-Latukha has joined #nixos
lawlesseel has quit [Remote host closed the connection]
lawlesseel has joined #nixos
<clever>
kandinski: if `ssh-add -l` is able to list the same keys, then it is talking to the agent, and it should work on the remote box also, try `ssh -v` in the remote session
jtojnar has quit [Remote host closed the connection]
arahael1 has joined #nixos
arahael1 is now known as ArahaelPi
<kandinski>
clever: thanks, I'm going to investigate further.
thc202 has quit [Ping timeout: 252 seconds]
<techieAgnostic>
ok still on my haskell thing here, i dont think my overrides are working properly because its still saying semigroups is the wrong version, even though that version should satisfy. would someone mind seeing what im messing up? https://gist.github.com/techieAgnostic/ae945e6f4dfb2322d82f9d6528d4b616
<clever>
techieAgnostic: just replace cardanoPkgsBase with pkgs.haskellPackages, and then populate activeOverlays with an array of haskell overlays, and then conditionaly omit things (as i did here)
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
<disasm>
in pkgs/stdenv/generic/make-derivation.nix if I want to use the "time" command instead of the bash built-in in pkgs/stdenv/generic/setup.sh how would I pass that in and add that as a native build input? Can I just add it to the argument set at the top?
<Dezgeg>
you will probably face rather annoying problems with bootstrapping
<Dezgeg>
is there something you _really_ need from GNU time that the bash builtin doesn't provide?
<disasm>
yeah, format string
<Dezgeg>
it does appear to be configurable: TIMEFORMAT in 'man bash'
<disasm>
lol, lemme try that :)
nckx has joined #nixos
<clever>
Dezgeg: that wasnt in `help time`
<clever>
oh, it was, i was looking for cli args, not env vars!
gratin has joined #nixos
<Dezgeg>
I like how 'help time' tells you can use TIMEFORMAT but not what you can actually give to TIMEFORMAT
<clever>
yeah, lol
abueide has quit [Remote host closed the connection]
abueide has joined #nixos
<clever>
Dezgeg: there is also still the issue of capturing its output to a file
<clever>
what do i redirect to get time, but not the stdout or stderr of the program it ran?
<Dezgeg>
yeah that sounds harder
<clever>
the time program supports appending to a file given on the CLI
gratin has quit [Ping timeout: 260 seconds]
hamishmack has joined #nixos
<Dezgeg>
maybe you can do some fd tricks to redirect the builtin time's stderr to the desired file but then redirect the stderr of the actual command back to the original stderr
<clever>
you could possibly do time ( foo 2>&4) 2>metrics 2>&4, but now its just getting ugly
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<disasm>
I think time command is going to be more powerful and since there's an enable flag to enable the feature that defaults to false, I don't think we'll run into any issues.
<Dezgeg>
exec {fd}<&2; time ( ls asd 2>&$fd; ) 2>/tmp/metrics; exec {fd}<&-
<Dezgeg>
I wonder if one could get rid of the subshell though
cantsin has quit [Ping timeout: 276 seconds]
c15ade4 has joined #nixos
jperras has quit [Ping timeout: 244 seconds]
<clever>
Dezgeg: but now we have the issue of getting a reference to pkgs.time, inside make-derivation.nix
<colemickens>
Can anyone help me get vaapi working with Intel in NixOS?
<colemickens>
I can't find any info, I thought just using the 'intel' driver with X was enough, but...
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
nckx has joined #nixos
abueide has quit [Ping timeout: 260 seconds]
c_wraith has joined #nixos
andreabedini has joined #nixos
<adamantium>
Anybody able to theme a cursor sucessfully with Xorg, a window manager, and Non-gtk / qt toolkit, e.g. in applications like urxvt.
sigmundv__ has quit [Ping timeout: 240 seconds]
<adamantium>
I can theme a cursor just fine in gtk apps and qt apps, but setting the X cursor with .icons/default/index.theme and .Xresources does not work for programs like urxvt.
<adamantium>
So, i assume it must be something environment related. Does anyone know how to theme a cursor for a simple X application?
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ is now known as lassulus
abueide has joined #nixos
<{^_^}>
[nix-mode] @matthewbauer pushed 9 commits to master: https://git.io/fATEF
<infinisil>
Nooo, mkRemovedOptionModule doesn't work with submodules :/
mayhewluke has quit [Ping timeout: 272 seconds]
<{^_^}>
[nixpkgs] @jerith666 opened pull request #45451 → systemd: ensure fsck Requires/After links are created in mount units → https://git.io/fATuT
<techieAgnostic>
is there a way from the nix repl to see more info about a function other than «lambda @ (string):1:2»?
Drakonis has quit [Remote host closed the connection]
<infinisil>
clever: Didn't you have something like this once? ^^
aw has quit [Remote host closed the connection]
spacefrogg has quit [Remote host closed the connection]
aw has joined #nixos
spacefrogg has joined #nixos
Drakonis has joined #nixos
<techieAgnostic>
trying to figure out why i can do `x = n: f: n` but then `x == x` returns false
<colemickens>
What does NixOS do with "user-data" in environments like Packet?
<colemickens>
Packet charges for powered off machines, so I'd like to optimize for "boot, clone my nixpkgs/nixcfg, apply my config, reboot, notify me" loop.
ajs124 has quit [Quit: Gateway shutdown]
<samueldr>
colemickens: I'd re-ask on the discourse pinging grahamc (or ask gchristensen when he's more likely to be awake), I hear he knows pretty well how nixos operates on packet.net
jperras has quit [Ping timeout: 240 seconds]
<colemickens>
Yeah, he's the reason I'm looking into this really. Discourse, though? Is there a NixOS Discourse instance, or did you just mean here? I didn't want to bother with a mention...
<cmcdragonkai>
I'm packaging up something that has a Makefile that is intended to be used externally. I'm going to wrap it into a script. However the makefile calls programs that are scripts that is relative to the location of the Makefile. What's the best way to wrap the makefile and make sure its directory is set correctly?
simukis has quit [Quit: simukis]
Fare has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
Drakonis has quit [Remote host closed the connection]
<cmcdragonkai>
The makefile performs calls to the script via a relative path. Not just calls to some executable.
jrolfs has joined #nixos
c00w has quit [Ping timeout: 244 seconds]
jrolfs has quit [Ping timeout: 264 seconds]
oida has quit [Remote host closed the connection]
oida has joined #nixos
Guanin_ has joined #nixos
Guanin has quit [Ping timeout: 260 seconds]
<Orbstheorem>
What are `/nix/var/nix/profiles/system-profiles` and `/nix/var/nix/profiles` ?
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mikeplus64>
i want a shell.nix to make available in PATH a script ../bin/foobar -- i tried adding it to buildInputs as in nixpkgs.stdenv.mkDerivation {name = "hi", buildInputs = [../bin/foobar] }, but this has the effect of actually running the script -- how is this supposed to be done?
awygle has quit [Quit: No Ping reply in 180 seconds.]
glowpelt has quit [Remote host closed the connection]
glowpelt has joined #nixos
mutantmell has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
moritz31 has joined #nixos
<moritz31>
Hey guys, i'm new to nixos and maybe you can help me, i try to create a systemd service, which should execute a java applikation, but on start it says java not found, the openjdk is installed and it works when the user runs the applikation, i found some environment variables in the service one of them is path so maybe i do need to edit that, but didn't found out how any help ?
<sphalerite_>
moritz31: systemd services don't have the systemPackages in their PATH
<sphalerite_>
moritz31: setting `systemd.services.<name>.path = [pkgs.jre];` should make it work
shabius_ has joined #nixos
shabius has quit [Ping timeout: 276 seconds]
sphalerite_ is now known as sphalerite
<cmcdragonkai>
Does lib.cleanSourceWith automatically ignore hidden files?
abueide has quit [Ping timeout: 264 seconds]
<sphalerite>
cmcdragonkai: no
<cmcdragonkai>
It seems like it doesn't ignore Vim undo files as well.
<sphalerite>
yep
<sphalerite>
it doesn't ignore anything you don't tell it to
DigitalKiwi has joined #nixos
mayhewluke has joined #nixos
hyper_ch2 has joined #nixos
<johnw>
so, I tried adding my own host as a buildMachine, in order to load balance it using speedFactor, but it hangs at "Waiting for locks or build slots"
<{^_^}>
nix#2029 (by ledettwy, 20 weeks ago, open): Using "localhost" as a remote builder deadlocks the build
mmercier has joined #nixos
glowpelt has quit [Ping timeout: 252 seconds]
glowpelt has joined #nixos
Tucky has joined #nixos
trcc has quit [Read error: Connection reset by peer]
trcc has joined #nixos
amfl_ has joined #nixos
amfl has quit [Ping timeout: 260 seconds]
Fare has quit [Ping timeout: 252 seconds]
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
<cmcdragonkai>
In a python project, I have a mix of python scripts and shell scripts. When using the `buildPythonApplication` it figures how to wrap the python scripts, but the shell scripts are left unwrapped. Do they need to be manually wrapped so all of its internal calls to things like `jq` and `make` can be found on the PATH?
logzet has quit [Ping timeout: 276 seconds]
Ariakenom has joined #nixos
jonge has joined #nixos
<jonge>
hi there. i can't get my personal hydra service to build my unfree project. i have "allowUnfree" globally set, added NIXPKGS_ALLOW_UNFREE as an extraEnv var to hydra service, and also added `{ config.allowUnfree = true; }` to my <nixpkgs> parameters in the release.nix file. none of it works. more details in the existing ticket: https://github.com/NixOS/hydra/issues/223 does anyone have an idea?
<moritz31>
i've another quick question, i tried to install the jboss pkg from nixpkgs, but when i run it i get an error because the volume for server.log is readonly, anyway to fix that ?
DeaDSouL has joined #nixos
worldofpeace has quit [Remote host closed the connection]
commander has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lawlesseel has quit [Ping timeout: 250 seconds]
derchris has joined #nixos
mmercier has quit [Ping timeout: 255 seconds]
Ericson2314 has joined #nixos
DeaDSouL has quit [Quit: DeaDSouL, is outta here]
orivej has joined #nixos
trevthedev has joined #nixos
<trevthedev>
hmm
<trevthedev>
steam on nix is fine and all, though i can't seem to get anything to work when it comes to steamplay, I can work with something like the Creation Kit, though when it comes to rendered programs, no input works
<trevthedev>
I can't seem to get Mesa 18.x as NixPkgs only has 17.x
page has joined #nixos
jperras has joined #nixos
goibhniu has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
ajs124 has joined #nixos
<cmcdragonkai>
Is there something that can scan shell scripts for runtime dependencies?
<cmcdragonkai>
For Nix/Nixpkgs?
<srhb>
cmcdragonkai: grep! :P
<cmcdragonkai>
I mean something like a nix function
<cmcdragonkai>
Right now I'm intending to use `makeWrapper` and manually setting the PATH for everything.
moritz31 has quit [Quit: Page closed]
<srhb>
What are you actually trying to achieve?
<c15ade4>
cmcdragonkai: its true that a few programs i have tried from nixpkgs didn't have all deps declared
<c15ade4>
its kind of hard when people hardcode deps as strings in their programs i guess.
<cmcdragonkai>
I'm trying to write a derivation that builds a package that has shell scripts in it.
<cmcdragonkai>
No hardcoded deps, just invocations of things like `jq`... etc
<srhb>
Ah, I see.
<srhb>
Yeah, wrapping it with PATH is usually the way to go
<srhb>
We don't have a way to parse shell scripts in order to find every command invocation, as far as I know
<srhb>
Would be nifty though! Then you just intersect that with the buildInputs and hey presto.
<srhb>
The alternative is to hard patch manually (using eg. substitute)
<trevthedev>
so has anyone here gotten proton to work on NixOS?
thc202 has joined #nixos
Lisanna has joined #nixos
<manveru>
proton, the text editor?
<trevthedev>
no
<trevthedev>
proton is a fork of wine that steam native has if you're in the beta
<manveru>
ah
<manveru>
i'd imagine it'd work in the chroot as well?
<trevthedev>
i can't get games to take input, though things that use just GUI like the Creation Kit work just fine
<manveru>
you might need to update the chroot to the latest SteamOS though
<trevthedev>
im not on steamos
<trevthedev>
im on nixos
<trevthedev>
it works on nixos and ubuntu
<manveru>
well, the way steam works on nixos is that we actually build a SteamOS and run it in a chroot :)
<trevthedev>
oh
<trevthedev>
that's cool
<Yardanico>
Well, NixOS sadly doesn't contain latest nvidia drivers so I can't use Proton anyway (it requires recent nvidia drivers with vulkan fixes because it uses dxvk)
<trevthedev>
i hate to ask, but how does one update the chroot to the latest steamos?
<trevthedev>
yeah nixos also doesn't have mesa 18.x so im worried that's my issue
<FireFly>
Heh, I didn't realise that re. the steam package essentially being a SteamOS chroot, that's neat
<Yaniel>
Yardanico: what about radv
<Yardanico>
Yaniel, you also need a pretty recent version because proton basically uses DXVK for DX10/11
<{^_^}>
[nixos-weekly] @garbas pushed commit from NixOS Weekly Robot to gh-pages « Preview of '8e8194691b84a7fcffeca00370b076dadb37c9a7' commit built by Travis-CI \#419065034 »: https://git.io/fATMJ
<trevthedev>
alright, am running the python script now
<manveru>
trevthedev: might need some change if it's not the official SteamOS release yet
<{^_^}>
[nixos-weekly] @garbas pushed commit from NixOS Weekly Robot to gh-pages « Release of (commit 'edd69c99e310442cd379db7210eb0901f9b28f38') built by Travis-CI \#419068494 »: https://git.io/fATMi
<trevthedev>
i got it to go past the gtk2 engine stuff
<{^_^}>
[nixos-weekly] @garbas pushed commit from NixOS Weekly Robot to gh-pages « Release of (commit '690bd002b1e4157afcb71caaae9a70bf9621f5ed') built by Travis-CI \#419070078 »: https://git.io/fATDt
<{^_^}>
[nixos-weekly] @garbas pushed commit from NixOS Weekly Robot to gh-pages « Preview of 'b2a1f20b34f95bc12a281d97b2c289a3eea35e12' commit built by Travis-CI \#419070123 »: https://git.io/fATDC
<{^_^}>
[nixpkgs] @tiramiseb opened pull request #45456 → @vue/cli: init at 3.0.1 → https://git.io/fATSK
vidbina has quit [Ping timeout: 244 seconds]
aarvar has quit [Ping timeout: 260 seconds]
<trevthedev>
hmm
<trevthedev>
do i do nixos-unstable.services.videoDrivers = ["mesa"];
<trevthedev>
it also doesn't seem to like my let for whatever reason
aarvar has joined #nixos
ldlework has joined #nixos
simukis has joined #nixos
mmercier has joined #nixos
mayhewluke has joined #nixos
jperras has joined #nixos
<genesis>
bonjour alex`` :)
<alex``>
XD
jperras has quit [Ping timeout: 268 seconds]
hamishmack has joined #nixos
aarvar has quit [Ping timeout: 255 seconds]
ij has joined #nixos
<Lisanna>
trevthedev no, with nixos it's going to be a LOT trickier to mix stuff from stable/unstable. Installing a single package from unstable is one thing, but in general, NixOS needs a single nixpkgs from which to pull its module and package definitions. Your best bet is to use the "nixpkgs.overlays" option and define an overlay
hamishmack has quit [Client Quit]
<ij>
What adds a gcroot for each user in per-user?
<ocharles>
Actually, maybe not - as two different Git SHAs with the same directory contents will appear in the Nix store with identical paths
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ocharles>
The problem I'm trying to solve is to get Hydra to post a GitHub status for every commit, even if the commit hasn't changed anything (e.g., a merge commit where the branch was trivially up to date)
__monty__ has joined #nixos
carlosdagos has quit [Quit: Connection closed for inactivity]
hamishmack has joined #nixos
<ocharles>
ok, looks like magically supplying "1" at the end of the Git input URL results in a deep clone, which preserves the .git folder
<ldlework>
things like writePythonBin would be cool
trcc has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « lilv: 0.24.2 -> 0.24.4 (#44743) »: https://git.io/fATdL
<{^_^}>
[nixpkgs] @clefru opened pull request #45464 → Fix hostapd's place in systemd dependency tree. → https://git.io/fATx6
arjen-jonathan has quit [Quit: WeeChat 2.2]
arjen-jonathan has joined #nixos
<ashkitten>
hey, how can i get color emoji working on chrome? i have the noto-fonts-emoji package installed, which theoretically should be enough but they're still b/w
sir_guy_carleton has quit [Ping timeout: 252 seconds]
<thblt>
ashkitten: I tried recently, I *think* you need EmojiOne color
<ashkitten>
but doesn't noto have CBDT format fonts as well?
<mmercier>
Hi all! Is it possible to get the closure of the development environment of a package (the environment produce by nix-shell -A myPackage)?
sir_guy_carleton has joined #nixos
jperras has joined #nixos
<Enzime>
ashkitten: did you figure it out?
<hyper_ch2>
ha, finally figured out how I can route all my traffic from my droid through wireguard vpn through my home server and also use hotspot functionality so that all tethered devices also route through the vpn
<ashkitten>
it's definitely because it's choosing the regular emoji font instead of the color one but i can't figure out how to get it to do otherwise
<ashkitten>
i'm not installing an extension for this
<cmcdragonkai>
I was wondering why `ldd` is able to find the `ld-linux-x86-64.so.2` from a third party binary. I found that useful, since I could use the path that `ldd` showed to just run `patchelf --set-interpreter` on the binary. But how is that ld-linux-x86-64.so.2 path derived? Is it the dynamic linker/loader that ldd was itself compiled with?
<gchristensen>
cmcdragonkai: what ld-linux did it find?
<cmcdragonkai>
that came from a binary that didn't have its interpreter patched
<ashkitten>
like, i'm able to get it to use the color font if i set the font-family with css, it just doesn't use it by default
<thblt>
ashkitten: i've been browsing, all I find is a pile of hacks :-/
<ashkitten>
i should be able to set it in fonts.fontconfig.defaultFonts but that's not working for some reason
<Dezgeg>
ldd probably always finds ld-linux-x86-64.so.2 because it's in glibc's lib, which is in the default search path
civodul has joined #nixos
rardiol has quit [Ping timeout: 240 seconds]
<gchristensen>
Dezgeg: I have experience that says that isn't true ... all the times tools say "file not found" but the file is there.
<Dezgeg>
is that with nix ldd or ubuntu ldd?
BlessJah has quit [Ping timeout: 265 seconds]
<cmcdragonkai>
Dezgeg: that would mean that it shows the linker path for the glibc that ldd itself was compiled with
<cmcdragonkai>
Dezgeg: Here I'm using NixOS
<Dezgeg>
yes
rardiol has joined #nixos
fgaz has quit [Quit: irc_error]
fgaz has joined #nixos
<Yardanico>
hmm, maybe it's a bit offtopic, but can I import string value from a text file? so I don't have to copy all my stuff from .zshrc to my nix config
witchof0x20 has quit [Remote host closed the connection]
witchof0x20 has joined #nixos
<cmcdragonkai>
What's happening with Nixpkgs and Golang modules in 1.11?
<ashkitten>
thblt, Enzime: i fixed the issue by adding "Noto Color Emoji" to defaultFonts and also enabling ultimate
<thblt>
ashkitten: thanks!
<ashkitten>
yep
HarpoRoeder has joined #nixos
regulus_ has joined #nixos
joepie91 has joined #nixos
<joepie91>
so I have a shell.nix and a custom package definition for building an ancient Node.js version that's no longer shipped in nixpkgs (for embedded-device-compatibility reasons, don't ask), but said Node.js version needs gcc5 to compile yet gcc7 is used... and I'm unsure how to use gcc5 for it
<gchristensen>
sed s/stdenv/(pkgs.overrideCC stdenv pkgs.gcc5)/
<joepie91>
gchristensen: ah, so mkDerivation internally uses whatever setting that overrideCC is overriding to determine what gcc to use?
<gchristensen>
stdenv is an attributeset where one of its attributes is named mkDerivation and its value is a function
<gchristensen>
overrideCC takes a stdenv attributeset, overrides the compiler inside and returns a new stdenv
nuncanada has joined #nixos
<gchristensen>
the mkDerivation function refers to the stdenv it comes from to find its compiler and stuff. does this make sense
<gchristensen>
?
<joepie91>
gchristensen: yeah, it was just the connection between mkDerivation and overrideCC that was unclear :P
<joepie91>
this is probably worth documenting, alongside any other similar overrides
<joepie91>
there do not seem to be docs on how it works
jperras has joined #nixos
<gchristensen>
hmm! indeed!
<joepie91>
(currently building, let's see if this fix works)
<joepie91>
(it's not yelling at me... yet)
<gchristensen>
in a pinch, I'll sometimes just import ancient nixpkgs with the version of sw I need :$
<joepie91>
yeah, I kinda wanted to avoid that :P
<joepie91>
it's bad enough to need to use an EOL Node.js version, I don't really want to add the chance of missing other updates as well :D
sonne has left #nixos [#nixos]
<joepie91>
thankfully this is only a temporary measure...
worldofpeace has joined #nixos
periklis has joined #nixos
<joepie91>
gchristensen: it worked, thanks :)
jperras has quit [Ping timeout: 264 seconds]
<gchristensen>
great! :)
<d1rewolf>
all, password-store provides /nix/store/yc6xid3qkirhjkn47f8nnr4kl4d6jld3-password-store-1.7.2/share/zsh/site-functions/_pass for zsh autocomplete. however, I can't seem to get it working for me. is there some sort of extra zsh configuration which is required?
MoziM has quit [Quit: WeeChat 2.2]
jperras has joined #nixos
<d1rewolf>
other zsh autocompletions work, just not pass
<cmcdragonkai>
I'm wondering if nixpkgs would accept PRs to release candidate or beta versions of things like golang 1.11?
<d1rewolf>
I see environment.pathsToLink = optional cfg.enableCompletion "/share/zsh"; in nixpkgs/zsh.nix
<qyliss^work>
Is it possible to disable imperative package management? I just spend ages debugging a configuration that turned out to be fine, but I had a package in nix-env that was shadowing it.
<__monty__>
Hmm, getting a "secret key is corrupt" on a nix-shell -p. What part of setting up a key for signing did I do wrong?
<hyper_ch2>
d1rewolf: I had to do something to get autocomplete of pass to work in bash... let me check again
<infinisil>
qyliss^work: You could make PATH not include ~/.nix-profile/bin
<qyliss^work>
That's an idea
<__monty__>
I set the key up on an ssh substiture/remote build host, not the current machine.
mayhewluke has joined #nixos
johanot has quit [Quit: leaving]
jperras has quit [Ping timeout: 264 seconds]
<hyper_ch2>
d1rewolf: ah, I have in my .bashrc . /run/current-system/sw/share/bash-completion/bash_completion
jmeredith has joined #nixos
<d1rewolf>
hyper_ch2: hmm....ok. I'll look at an equivalent option for zsh
<d1rewolf>
what's the easiest way to look for nixos configuration options from the command line?
<d1rewolf>
seems like there's a man page which will list all options, but I can't recall it. looking for the command line equivalent of https://nixos.org/nixos/options.html#
Phillemann has quit [Quit: WeeChat 2.2]
<gchristensen>
man configuration.nix
<__monty__>
Hmm, can this be because once you specify trusted public keys *all* of the caches you use need to have valid signatures for one of those keys?
<d1rewolf>
gchristensen: that's it. thx
silver_ has joined #nixos
silver has quit [Read error: Connection reset by peer]
Denommus has joined #nixos
<Denommus>
hey
<Denommus>
I have some keys generated by putting services.nginx.virtualHosts."myurl.com".enableACME = true in my config
<Denommus>
the keys are being generated as expected, but I need to share them with the group
<d1rewolf>
in functions defined as {config, pkgs, ...}: I'm able to call things on "programs", like "programs.zsh = ". Is this possible because of the ellipsis? And if so, how can I see what this function would be called with (to determine everything which is in scope)?
alexteves has joined #nixos
<joepie91>
PSA: Redis is no longer open-source: https://twitter.com/hanno/status/1032226142470778883 -- some "the core will remain OSS, only extra modules will not be" nonsense to hide the fact that it's become an open-core thing
<qyliss^work>
Redis as packaged by Nix is still open source
<qyliss^work>
When you think of "Redis", you're thinking of just the core
<Yaniel>
on the positive side I guess that makes it less likely that I need to spend my free time learning about it
<gchristensen>
Redis core is no longer Free now though
<qyliss^work>
(I'm also annoyed at the Redis Labs license change, but it's not as bad as I thought - I've never even heard of any of their modules)
<qyliss^work>
Yes it is?
<__monty__>
qyliss^work: Sure but you don't start exploiting "extra modules" if you don't think a significant portion of users is gonna need them.
<__monty__>
Or want them.
<qyliss^work>
yeah
<gchristensen>
no, it has the Commons Clause which is incompatible with its other licenses
<qyliss^work>
No it doesn't
<qyliss^work>
> The Redis core is, and always will remain, an open source BSD license. Certain modules, however, are now licensed as “Apache 2.0 modified with Commons Clause.”
<{^_^}>
error: syntax error, unexpected ',', expecting ')', at (string):171:18
<gchristensen>
all I know is what my friendly local copyright and licensing expert tells me
<qyliss^work>
Unless they've done something that completely contradicts the blog post
<d1rewolf>
in functions defined as {config, pkgs, ...}: I'm able to call things on "programs", like "programs.zsh = ". Is this possible because of the ellipsis? And if so, how can I see what this function would be called with (to determine everything which is in scope)?
Fare has joined #nixos
<gchristensen>
which is that Commons Clause is incompatible
<__monty__>
But that's not a license on the core though?
<qyliss^work>
Sure, but the commons clause isn't applied to the core
<qyliss^work>
It's still pure BSD
<HarpoRoeder>
Only certain segments are common clause so it's fire for most of it
<HarpoRoeder>
*fine
<gchristensen>
ahh! ok
<gchristensen>
thanks qyliss^work!
<Denommus>
gchristensen: thanks, that worked
jperras has joined #nixos
iyzsong has quit [Ping timeout: 264 seconds]
shapr has joined #nixos
periklis has quit [Read error: Connection reset by peer]
johanot has joined #nixos
<octe>
My /nix is ~14GB after running "nix-collect-garbage -d" on a pretty small server installation (nginx, wireguard, nodejs). Is this normal?
<johanot>
think I have a corrupted sqlite db :( executing SQLite statement 'pragma synchronous = normal': disk I/O error (in '/nix/var/nix/db/db.sqlite)
<symphorien>
octe: you can use nix-du to find out :)
trcc has quit [Remote host closed the connection]
<symphorien>
otherwise, maybe you have "unexpected" roots: nix-store --gc --print-roots
<symphorien>
finally, nix-collect-garbage -d only really works as root
<gchristensen>
johanot: what OS are you on?
<johanot>
gchristensen: NixOS 18.03 .. the problem likely came after "no space left on device" during a build.
<gchristensen>
johanot: did you run garbage collection?
<octe>
symphorien, that looks like a pretty cool tool
<octe>
symphorien, but, doh, i didn't realize i didn't run collect-garbage as root :)
<gchristensen>
johanot: if yes, can you delete any one file, like 1mb, and try again?
<octe>
3367 store paths deleted, 8524.53 MiB freed
<octe>
that's better
<johanot>
gchristensen: run gc , after or before the error?
<ij>
What adds a gcroot for each user in per-user?
abueide has joined #nixos
mmercier has quit [Ping timeout: 265 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
abueide has quit [Ping timeout: 252 seconds]
<mpickering>
I'm trying to package a bazel project
<mpickering>
which calls `git clone` and fails with the error "fatal: unable to access 'https://github.com/golang/protobuf/': SSL certificate problem: unable to get local issuer certificate"
<mpickering>
any ideas?
johanot has quit [Remote host closed the connection]
johanot has joined #nixos
chrisaw has quit [Disconnected by services]
<gchristensen>
johanot: try running gc. if that fails, delete a small file and try again.
mekeor has joined #nixos
chreekat has joined #nixos
<johanot>
gchristensen: don't mind me. the error message was from a remote nix-daemon (not my laptop). didn't realize the error came from nix-copy, and the remote host did in fact have a full disk.
<fzer0>
why am i running out of space when doing nixos-install?
<mpickering>
is your disk full?
<gchristensen>
did you mount your target disk to /mnt?
Marthathefarmyar has joined #nixos
fzer0 has quit [Read error: Connection reset by peer]
Marthathefarmyar has quit [Remote host closed the connection]
HarpoRoeder has quit [Ping timeout: 264 seconds]
tnks has quit [Ping timeout: 272 seconds]
<LnL>
mpickering: you can't git clone in a nix build
<mpickering>
that would explain things
fzer0 has joined #nixos
<clever>
gchristensen: there is a bug in nixos-install, it builds the entire target system on the tmpfs unioned to /nix
<gchristensen>
I know that bug
<Dezgeg>
that got fixed didn't it
<fzer0>
clever, mpickering: sorry, i got kicked off. what should i do about the install?
<clever>
fzer0: check df -h and see what device is full
<gchristensen>
fzer0: did you mount your target disk to /mnt ?
<fzer0>
clever: my i partitioned wrong; these are the ones that are full: /dev/root, /dev/loop0, /dev/sda1 (/mnt)
<clever>
fzer0: and where are those 3 mounted?
<clever>
loop0 shouldnt matter
<fzer0>
clever: /dev/root is mounted on /iso
<clever>
yeah, that one also doesnt matter
Denommus has quit [Remote host closed the connection]
<clever>
how big is /dev/sda1 ?
<fzer0>
clever: /dev/sda1 is mounted on /mnt it is 488M
<fzer0>
clever: my main disk is /dev/sda3
<clever>
heh, yeah, that will do it
lopsided98 has quit [Ping timeout: 260 seconds]
<fzer0>
clever: it is 160G
hyper_ch2 has quit [Quit: Page closed]
<fzer0>
clever: /dev/sda3 is mounted as /mnt/boot
<fzer0>
clever: do i have the boot backwards?
<clever>
yeah
ThatDocsLady has quit [Ping timeout: 252 seconds]
<clever>
just umount everything, then re-mount them in the right positions, and rm the junk in the new boot
lopsided98 has joined #nixos
endformationage has joined #nixos
logzet has joined #nixos
<fzer0>
clever: what is the best way to rm, the actual command, or do you mean formatt the partition
<clever>
format would be simpler
<fzer0>
gotcha
jonreeve has joined #nixos
selfsymmetric-pa has quit [Ping timeout: 264 seconds]
<mpickering>
Perhaps I will come back to trying to package this bazel project in another year
<{^_^}>
[nixpkgs] @xeji opened pull request #45466 → texlive: fix fmtutil invocation, generate all formats → https://git.io/fAkW3
silver_ has quit [Ping timeout: 240 seconds]
<jonreeve>
Hey does anyone know how to get locales working with home-manager? I can't seem to run Rofi if I have home-manager manage it, since it installs rofi to my profile, but then rofi won't start, complaining that it can't set the locale.
hiroshi has quit [Ping timeout: 244 seconds]
<joepie91>
gchristensen: core indeed remains OSS; my concern is with how these kind of schemes almost inevitably lead to core going effectively unmaintained because "we can implement that new feature as an extension" and now you need to start using non-OSS components to make the supposedly-OSS thing useful
<gchristensen>
yes
<joepie91>
this also makes it an incredibly shaky base to build anything OSS on, because OSS things can't realistically rely on non-OSS things as dependencies (as it'd make them useless for OSS usage)... and since all extensions are proprietary, you can never be sure that your future usecases will be supported
<joepie91>
so for all intents and purposes, Redis is no longer OSS :)
<joepie91>
even if _technically_ the core license says that it is
hiroshi has joined #nixos
<joepie91>
cc qyliss^work
<qyliss^work>
Even if it was completely unmaintained, it would still be OSS
<{^_^}>
[nixpkgs] @ktf opened pull request #45467 → alibuild: init at 1.5.3 → https://git.io/fAkWh
<qyliss^work>
If the maintainers don't act responsibly, it can be forked
<qyliss^work>
And it can only be forked _because_ it's free software
orivej has quit [Ping timeout: 264 seconds]
<joepie91>
qyliss^work: see above difference between technically and pragmatically
<qyliss^work>
I read what you had to say
<qyliss^work>
But just because something isn't maintained properly, doesn't make it proprietary.
<joepie91>
then again, that isn't what I argued :)
<bennofs[m]>
http://antirez.com/news/120 makes it sound like this change actually lead to more code being visible
<qyliss^work>
Right, but the situation you describe is strictly better than the one where they just give up on maintaining it.
erasmas has joined #nixos
<joepie91>
qyliss^work: 'strictly better' how? and where are you getting the idea that "they just give up on maintaining it" is the sole other possibility?
Fare has quit [Ping timeout: 260 seconds]
<qyliss^work>
You say that the likely outcome here is that the core goes "effectively unmaintained".
johanot has quit [Ping timeout: 260 seconds]
<qyliss^work>
If we can agree that completely unmaintained software released under an open license is still OSS, then that's the same here.
<joepie91>
qyliss^work: the difference is that in the case of a parallel proprietary development model, there are clear incentives to prevent certain things from being added to core in favour of keeping it in proprietary modules.
<qyliss^work>
Sure, but they can only prevent themselves doing that
<joepie91>
this incentive does not exist in unmaintained software
<joepie91>
a compounding factor is that a parallel-developed project like this doesn't *look* unmaintained, and it is therefore much harder to get a forking effort going.
<qyliss^work>
They can't stop other people adding it to a forked core that then becomes the de factor implementation.
<joepie91>
they can't stop them, no; but it sure as hell disincentivizes it
Mateon1 has quit [Ping timeout: 260 seconds]
<qyliss^work>
IDK, this license change has caused a pretty massive storm compared to what would happen if maintenance just slowly eroded.
Henson has joined #nixos
Mateon1 has joined #nixos
<joepie91>
as it should, given the consequences.
<qyliss^work>
yeah of course
<fzer0>
clever: I don't know if the partition instruction in the manual are accurate. Would you have a second to verify with me?
<joepie91>
and to be clear, I think many of the "Redis is no longer open-source claims" are based in a misunderstanding rather than solid reasoning
orivej has joined #nixos
<joepie91>
but the claim *itself* has merit
<joepie91>
very few people seem to understand the more subtle incentives in commercial OSS
<clever>
fzer0: sure
<joepie91>
anyway, we should probably move to #nixos-chat :)
<qyliss^work>
Oh I didn't realise that was a thing
<fzer0>
clever: it says to make UEFI partition for /boot, and make it partition 3
<clever>
fzer0: it doesnt really matter what number the partition it, just that you remember which one is /boot/
<fzer0>
it says to make it type "1" for UEFI, but that type is FAT12. Is that okay
<clever>
fzer0: is the disk GPT or MBR?
<fzer0>
clever: it is a normal laptop
<clever>
fzer0: does fdisk list it as GPT or MBR?
<fzer0>
clever: Where does it say that?
<clever>
Disklabel type: gpt
<Henson>
Hi all, on Debian, inside a pure nix-shell when using "ldd" on an executable to list its libraries, I get the following error "Inconsistency detected by ld.so: dl-version.c: 205: _dl_check_map_versions: Assertion `needed != NULL' failed!". Has anybody seen this kind of problem before? It doesn't happen when I use "ldd" outside of the nix shell.
<fzer0>
clever: hmm..mine says dos..lol. However, manjaro was on it previously
<clever>
fzer0: UEFI does not work on dos tables, it must be GPT
<clever>
fzer0: changing it to GPT will delete all partitions
<fzer0>
clever: what exactly UEFI. I only assume i need it because i see that in my bios settings
<clever>
fzer0: uefi is optional, and if manjaro was booting without it, then you can also just do a non-uefi install
<clever>
fzer0: switch to the other set of directions in the manual
<bennofs[m]>
Henson: what are you using ldd on? is it a nix-compiled library/binary?
<fzer0>
clever: okay
<fzer0>
clever: should i change it to GPT?
<clever>
fzer0: dont really need to
<Henson>
bennofs[m]: it's a binary from a non-Nix package. I'm trying to use "patchelf" on it to adjust its libraries to point to Nix libraries.
devx has joined #nixos
johanot has joined #nixos
<fzer0>
clever: i received an error: the kernel still uses the old partitions
Henson is now known as Henson_Lunch
<clever>
fzer0: that happens if you change partitions while they are still mounted
<clever>
fzer0: umount them, then make another change in fdisk
<fzer0>
is it okay not having a seperate boot partition?
<clever>
fzer0: then you can continue by formating them, and mounting root to /mnt and boot to /mnt/boot/
<clever>
fzer0: you can just omit a boot partition if your using ext4 on root
Ariakenom has quit [Ping timeout: 265 seconds]
<fzer0>
clever: what do you suggest for a personal laptop?
<clever>
i use luks on all laptops, which complicates it slightly
chreekat has quit [Quit: quitting]
<fzer0>
clever: is that boot encryption?
<clever>
boot is unencrypted
hamishmack has joined #nixos
JonReed has joined #nixos
dbmikus__ has joined #nixos
hamishmack has quit [Ping timeout: 252 seconds]
chreekat has joined #nixos
Lisanna has joined #nixos
<Lisanna>
Can a package choose to accept arguments form the top-level nixpkgs args? I noticed that in top-level/impure.nix it doesn't restrict what arguments can be passed in (uses the ... feature)
<clever>
Lisanna: check the default.nix in the root of nixpkgs
<Lisanna>
argh, default.nix does though... but what about "config"?
arjen-jonathan has quit [Ping timeout: 252 seconds]
<fzer0>
clever: i am back to wpa_supplicant not working
<fzer0>
clever: I don't have the transcript from yesterday
<clever>
fzer0: run `wpa_passprase NAME PASSWORD > /etc/wpa_supplicant.conf`
<infinisil>
Lisanna: You can only get the arguments that get propagated to the top-level nix expression
<infinisil>
Lisanna: Which is only `config` I think
<infinisil>
Oh and the system ones
<Lisanna>
Ooh, it looks like I can shove something into config
<infinisil>
Or maybe not, it seems that args might be propagated
<infinisil>
Nah I don't think so after some closer look
<infinisil>
ing
mayhewluke has quit [Ping timeout: 264 seconds]
Henson_Lunch is now known as Henson
mayhewluke has joined #nixos
rfold has joined #nixos
Tucky has quit [Quit: WeeChat 2.2]
<fzer0>
clever: used the logs from yesterday...back in business (thanks!0
jperras has quit [Quit: WeeChat 2.2]
pie_ has quit [Ping timeout: 264 seconds]
<fzer0>
clever: yesterday you said to copy the /etc/wpa_supplicant.conf file to /mnt/etc/. I am assuming i just copy the config file to that directory, right?
<d1rewolf>
I understand that with(import <nixpkgs> {}) is importing nixpkgs and then calling the function that import returns. however, what is the <> syntax here?
<Myrl-saki>
d1rewolf: echo $NIX_PATH
<aminechikhaoui>
d1rewolf: it's getting nixpkgs from the search path
<Myrl-saki>
Or -I, really
<d1rewolf>
but what should I call these <> tokens, and where can I read more about them? i haven't found it in the language ref yet
wchresta has joined #nixos
<jonge>
after updating my nixos today i realized that i have no hyperthreading any longer. can i somehow activate it again or was it completely patched out of the kernel?
<betaboon>
hello #nixos. when doing `foo = builtins.fetchTarball { url = "..."; };` is it possible to retrieve the url later on? something like `foo.url` ?
periklis has joined #nixos
<infinisil>
ldlework: What's your github handle?
<{^_^}>
[nixpkgs] @Infinisil opened pull request #45470 → nixos/znc: More flexible module, cleanups → https://git.io/fAkVQ
<infinisil>
ldlework: ^^
Fare has joined #nixos
toppler has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
<phry>
I'm trying to run the andrdoid emulator from within a FHS chroot and it has problems with 3d acceleration. Has anyone else encountered this error and maybe a solution from the back of their head?
<phry>
libGL: dlopen /run/opengl-driver/lib/dri/i965_dri.so failed (/nix/store/kndrpbn8f1h34l02q65wv4qgzj1sfgg8-android-sdk-25.2.5/libexec/tools/lib64/libstdc++/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /run/opengl-driver/lib/dri/i965_dri.so))
fragamus has joined #nixos
<JonReed>
betaboon: Usually it's done either with `let url = "http.."; in std.makeDerivation { src = fetchurl { url = url; }; }` or through `rec` like so xpkgs/blob/master/pkgs/tools/misc/clex/default.nix#L9
<betaboon>
JonReed: thanks. but that is not an option in my situation, as i am using builtins.fetchTarball to fetch nixpkgs from channel.
Denommus has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
slyfox_ has quit [Ping timeout: 272 seconds]
<Henson>
I'm trying to figure out how to get the libraries from gcc49 into my derivation. Including gcc49 in my derivation causes /nix/store/*-gcc-4.9.4 and /nix/store/*-gcc-4.9.4-lib to be downloaded and installed into the nix store, but the actual shared object files in the /nix/store/*-gcc-4.9.4-lib package don't appear anywhere during the build (or in a nix-shell). Is there some way I can bring...
vmandela has joined #nixos
<Henson>
those libraries into scope? I can't find any nix package name that I could include in buildInputs that would make those visible. Also gcc49.lib doesn't exist, so I can't do it that way.
<Henson>
Since /nix/store/*-gcc-4.9.4-lib exists, shouldn't there be some way to get nix to include that derivation?
Fare has quit [Ping timeout: 265 seconds]
itscaleb has joined #nixos
Fare has joined #nixos
<jonge>
when i have something like " bla bla ${SOME_ENV_VAR} bla bla" in my bash scripts, nix of course tries to substitute that. how can i "mask" that so this lands in my shell script as-is?
<toppler>
Hey folks. I'm suddenly getting an error evaluating a line in modules.nix saying that 2^32-1 is an invalid integer. Is there something obvious going wrong?
jonreeve has quit [Quit: WeeChat 2.1]
Ariakenom has joined #nixos
<genesis>
i've ask soulseekqt authors if i could use unfreeRedistributable to save user time and bandwith ,that's ok with nixos ?
<gchristensen>
genesis: you would typically ask for a wavor to their license restricting distribution in an email, and then save a copy of that email in the repo next to the default.nix for the package
<JonReed>
jonge: You can escape the dollar with two single quotes like so: " bla bla ''${SOME_VAR} bla bla"
<jonge>
JonReed: great! and how does escaping work if the whole string is delimited by two single quote pairs instead of " "?
init_6 has quit [Ping timeout: 272 seconds]
<genesis>
gchristensen : oki, wait & see.
wchresta has quit [Ping timeout: 264 seconds]
<symphorien>
,escape'' jonge
<{^_^}>
jonge: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<jonge>
great. thanks JonReed {^_^}, i did not really know how to search for that in the documentation
<samueldr>
jonge: the term used is antiquotation in the manual
<samueldr>
or uh, sorry, that's for the expansion :/
<samueldr>
but right next to one of the hit there's the rules for escaping antiquoation
<samueldr>
antiquotation*
shapr has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
rfold has quit [*.net *.split]
fzer0 has quit [*.net *.split]
lassulus has quit [*.net *.split]
aramiscd_ has quit [*.net *.split]
Baughn has quit [*.net *.split]
Ankhers has quit [*.net *.split]
silver_hook has quit [*.net *.split]
lstanley has quit [*.net *.split]
pyrtsa has quit [*.net *.split]
brodul has quit [*.net *.split]
iMatejC has quit [*.net *.split]
alech has quit [*.net *.split]
betaboon has quit [*.net *.split]
dmc has quit [*.net *.split]
thblt has quit [*.net *.split]
foldingcookie has quit [*.net *.split]
petar has quit [*.net *.split]
Maxdamantus has quit [*.net *.split]
tinco has quit [*.net *.split]
Sigma has quit [*.net *.split]
jcrben has quit [*.net *.split]
cruxeternus has quit [*.net *.split]
puck has quit [*.net *.split]
FireFly has quit [*.net *.split]
eqyiel has quit [*.net *.split]
Orbstheorem has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
afics has quit [*.net *.split]
michalrus has quit [*.net *.split]
evhan has quit [*.net *.split]
pmade has quit [*.net *.split]
kline has quit [*.net *.split]
ryantm has quit [*.net *.split]
[0__0] has quit [*.net *.split]
lielazive has quit [*.net *.split]
mcrx has quit [*.net *.split]
LogicAside has quit [*.net *.split]
takeda has quit [*.net *.split]
hexa- has quit [*.net *.split]
rsa has quit [*.net *.split]
borodust has quit [*.net *.split]
noefk has quit [Ping timeout: 240 seconds]
vmandela has quit [Quit: Leaving]
<fgaz>
domenkozar: cachix seems down
<fgaz>
but I guess you already know that :-P
<qyliss>
Is it expected that fetchgit (with leaveDotGit) creates a git repository where every file is staged as having been deleted (while still existing in the working tree)?
<qyliss>
It seems very odd…
<toppler>
Not getting to the bottom of this. 4294967295 is indeed an invalid integer on my 32-bit nix, but I've no idea where that value is coming from.
johnw has quit [Ping timeout: 276 seconds]
<fgaz>
domenkozar: Sadly when a cache is down `nix-build` just hangs there waiting for the tcp timeout
<fgaz>
So it took me a while to figure out that the problem wasn't in my nix code
<clever>
fgaz: using --option substituters "urls" you can override it temporarily
jcrben has joined #nixos
alex`` has quit [Quit: WeeChat 2.2]
<infinisil>
toppler: Ohh, maybe from the not-too-long ago added types.ints
<Yardanico>
mdash, I don't really know :D, probably not in the nearest future, I still need to customize my nixos installation and move as much stuff as possible to .nix files from usual configuration (I migrated from Arch Linux)
<mdash>
Yardanico: sure
<{^_^}>
[nixpkgs] @CrystalGamma opened pull request #45475 → texlive-bin: disable mfluajit on ppc64(le) → https://git.io/fAkHp
<Henson>
I'm poking around in a nix-shell and have discovered a command called "isELF", and another command called "isScript". Are these special Nix utilities?
<boomshroom>
sphalerit: That's basically what I came up with. I did some modifications since I copied it from alacritty and it needed a couple things added.
<sphalerit>
Henson: you can use `type isELF` to find out
<Henson>
clever: cool, thanks!
<{^_^}>
[nixpkgs] @LnL7 merged pull request #39502 → harfbuzz: add CoreText support for darwin → https://git.io/vpcFR
<inquisitiv3>
I'm getting an error message when I try to run the command `nix-build --no-out-link '<nixpkgs/nixos>' --arg configuration ./configuration.nix -A system`. Error message: https://pastebin.com/tJ1JMArc
<clever>
inquisitiv3: your config lacks a fileSystems."/" entry
<inquisitiv3>
clever: Context: I've generated a default configuration with `nixos-generate-config --no-filesystems --dir .` in ~/.dotfiles/nixos/.config/nixos. I removed the `hardware-configuration.nix` file. What I want to do is to begin developing a new configuration file and version control it with Git.
<clever>
inquisitiv3: you need to manually add the root FS sincr you used --no-filesystems
Brains has joined #nixos
mayhewluke has quit [Ping timeout: 260 seconds]
lassulus has joined #nixos
<inquisitiv3>
I'm running the above command to check that I didn't do something stupid with the syntax. The way I'm planning for it to work is to have the configuration.nix file in /etc/nixos/ only import the hardware-configuratoin.nix file in the same directory, and a configuration.nix file in my home folder that contains the real system configuratoin. How does that sound?
<clever>
inquisitiv3: you will need a dummy hardware-configuration.nix, or just the real fileSystems."/" entries, to make it fully pass assertions
<fzer0>
clever: i got this section from someone's github. I tried to read about it but it still doesn't make much sense. I just want to get my touchpad working. is this needed?
<emily>
is there a way to see the output of the activation script from the current boot?
<boomshroom>
Does NixOS support libEGL or libgfx? I didn't see either when searching on the website.
<clever>
boomshroom: libEGL is part of mesa
pie_ has joined #nixos
pie_ has quit [Remote host closed the connection]
<boomshroom>
clever: How do I get it in my path when running an application that requires it?
lassulus has quit [Quit: WeeChat 2.0]
<clever>
boomshroom: patchelf, same as always i believe
Ankhers has joined #nixos
<infinisil>
,locate libEGL.so
<{^_^}>
Found in packages: libglvnd, androidndk, libGLU_combined
<boomshroom>
I'm doing active development and don't want to run patchelf every time I rebuild, and using nix-build prevents any incremental compilation.
<mdash>
boomshroom: set LD_LIBRARY_PATH
<clever>
boomshroom: use nix-shell, gcc automatically sets the rpath correctly
<boomshroom>
I'm in nix-shell. This is a Rust project.
aminechikhaoui has joined #nixos
<sir_guy_carleton>
i'm trying to customize my neovim install, but adding nixpkgs.config.packageOverrides and importing it to the main configuration file seems to do nothing. Any ideas why?
<fzer0>
clever: tried running nixos-rebuild switch.. error: unable to download ...../nix-cache-info : Couldn't resolve host name
<boomshroom>
Ok, so glutin specifically wants at least one of "libGL.so.1", "libGL.so", "libEGL.so.1", or "libEGL.so".
<grp>
how can I make nix store a generated path as if using explicit? I'd like to have nix store a path ("/etc/nixos/machine/" + config.network.hostName + "/dir-to-store")
<Dezgeg>
libGL should come from LD_LIBRARY_PATH... not sure about what's the best for libEGL, maybe glutin should be patched
<clever>
fzer0: is the wifi currently working?
<fzer0>
it is
<clever>
fzer0: what URL failed to download?
<boomshroom>
Dezgeg: /run/opengl-driver has libEGL_mesa.so and libGLX_mesa.so, but not just libEGL.so
<gchristensen>
colemickens: also, Packet's slack has a #nixos channel :)
disasm has quit [Ping timeout: 260 seconds]
<colemickens>
Hm. Where does iPXE come into this? Was this before Packet supported NixOS images directly?
<colemickens>
And/or is how you test changes to the NixOS image, I suppose, without having to have them upload/replicate/etc it?
<colemickens>
@gchristensen ^
<gchristensen>
colemickens: good question, the repo is going to be moved under the Packet org and renamed to nixos-images
<gchristensen>
or maybe even just nixos, not sure
<colemickens>
interesting, I had skimmed through <nixpkgs>/nixos to see if there was a Packet image like there are for AWS/Azure/etc, but now I know where they are.
<gchristensen>
this repo (will) contain the tooling Packet uses to install NixOS. right now it is out of date because of Certain Things Which Aren't Public Yet.
<colemickens>
ok
alex`` has joined #nixos
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #nixos
GlennS has quit [Quit: No Ping reply in 180 seconds.]
<boomshroom>
Manaually adding libGL to the LD_LIBRARY_PATH made it work.
cruxeternus has joined #nixos
<viric>
hello
<viric>
I have an issue about user groups... "id" only shows me one group
<viric>
while I'm in many groups in /etc/group
<nh2>
back from some holiday, here we go again!
<nh2>
In one place I use `<nixpkgs/pkgs/development/haskell-modules/configuration-hackage2nix.yaml>`. Can I get at this file without using `<nixpkgs>`? I'd like to get at it having a handle at a passed `pkgs` only, is that possible?
<viric>
"id viric" shows many groups. "id" shows only one group.
<viric>
in a linux console all works fine. id shows one group in x session.
<clever>
viric: when did you last modify the groups?
puckipedia is now known as puck
growpotkin has joined #nixos
<viric>
clever: I'm in groups since years ago
<viric>
I just added me to one, it didn't work, and I noticed that "id" doesn't report any but one
<viric>
(in x session only, fine in console)
<viric>
Let's see whether it's lightdm
<nh2>
clever: another question in the same direction: I want to replace `(import <nixpkgs> { some stuff here })` by something that overrides a pre-given `pkgs` instead. What would be a clean way to do that? Would you consider `(import (pkgs.path) { some stuff here })` reasonable?
<viric>
I'm not using nixed users. plain old users.
<clever>
viric: it works for me with sddm and slim
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<viric>
slim still works?
<clever>
nh2: yeah, thats one option
<viric>
I wonder what sddm is
<clever>
viric: yeah, i use slim on my desktop
<emily>
sddm is the new kde thing i think
<emily>
though not kde-specific
<viric>
ahh
<emily>
it supports wayland like gdm, i think?
<sevcsik>
hi, where can I find the error logs of Hydra on NixOS? the UI just gives me an "unknown server error" on login
<growpotkin>
Where should I start looking for the usual /usr/lib ?
<clever>
sevcsik: journalctl -f -u hydra-server
<sevcsik>
clever: thanks, but there's nothing here when the login fails... anywhere else?
<growpotkin>
ah found it
<clever>
sevcsik: did the login work before?
<{^_^}>
[nixpkgs] @ejpcmac opened pull request #45484 → erlang: Enable parallel building → https://git.io/fAIvT
<sevcsik>
no, it's a fresh install
<clever>
sevcsik: did you create a user from the terminal?
<sevcsik>
yes
<viric>
clever: works fine in slim. lightdm is seriously broken then
<clever>
viric: so the deprecated manager works better, lol
growpotkin has left #nixos [#nixos]
<clever>
sevcsik: try checking the network console in chrome, via f12, while you login
<{^_^}>
[nixpkgs] @xeji pushed commit from @tycho01 to master « webtorrent-desktop: fix .desktop Path entries (#45477) »: https://git.io/fAIvE
<{^_^}>
[nixpkgs] @xeji pushed commit from @dtzWill to staging « busybox: 1.29.1 -> 1.29.2 (#45473) »: https://git.io/fAIv1
<sevcsik>
clever: btw, I didn't install it manually as per the tutorial, just enabled the service in configuration.nix and deployed it with nixops. Is that supposed to work?
<sir_guy_carleton>
so i got my packageOverride for neovim install the vimplugin packages, neovim runs but without a single package.
growpotkin has joined #nixos
<gchristensen>
infinisil: your bot is workin great for -unregistered
<{^_^}>
[nixpkgs] @ejpcmac opened pull request #45489 → elixir: Fix minimum OTP version → https://git.io/fAIUz
<growpotkin>
Hey has anybody else had issues with "pidgin-with-plugins"? Mine does not seem to actually install any plugins. Changing anything in the override definition doesn't even result in any build changes.
<sir_guy_carleton>
so here the consolidated results when i used nixos-rebuild to work with my packageOverrides: http://pasted.co/aa7927aa
<sir_guy_carleton>
says there no configure or makefile and 'does nothing'
<clever>
sir_guy_carleton: you need to set the buildPhase and installPhase
<{^_^}>
[nix] @edolstra pushed to master « Revert "Fix parser/lexer generation with parallel make" »: https://git.io/fAIk4
kalbasit[m] has joined #nixos
<gchristensen>
niksnut: :D <3
jperras has quit [Ping timeout: 252 seconds]
<sir_guy_carleton>
clever: hmm, it doesn't list in the wiki or any example people listed here. do you know if there is an equivalent of vim_configurable for neovim?
<clever>
sir_guy_carleton: can you gist your current nix expressions?
Ariakenom has quit [Read error: Connection reset by peer]
<clever>
you can also use this expression to generate a naked vimrc file that uses vam, and then just run your-flavor-of-vim -c ${that} in a writeScriptBin
<LnL>
no need for that
<clever>
i cant remember why i dug that up last time
<LnL>
sir_guy_carleton: didn't I link you my config earlier today?
<sir_guy_carleton>
LnL: yeah, it helped, but i got the point where the plugins would be installed but not working with neovim
<LnL>
hmm, in what way?
<LnL>
the thing I linked uses the vim8 plugin stuff
<LnL>
but that also works fine in neovim for me
<symphorien>
for me as well
<sir_guy_carleton>
i nixos-rebuild the system and it downloads the plugins, but when i start it up it's not there.
<symphorien>
there is the :UpdateRemotePlugins stuff though
<clever>
sir_guy_carleton: is there any extra neovim's in your systemPackages on another nix file?
<symphorien>
:checkhealth might give some insight as well
<joepie91>
hmmmm. is there a way to run nix-shell without executing ~/.bashrc in the new shell? an excessively-pure shell environment combined with a lot of .bashrc junk are breaking my nix-shell :)
<sir_guy_carleton>
clever: check it, no
<LnL>
unless... what version are you using, maybe the one from 18.09 doesn't have support for that yet?
<LnL>
I mean 18.03, getting a bit ahead of myself there :p
<sir_guy_carleton>
it's 18.03
<LnL>
yes, but the version of neovim
<sir_guy_carleton>
0.2.2 RELEASE
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<symphorien>
ah I use 0.3 because an unrelated bug was fixed there
<sir_guy_carleton>
nb: vim_configurable seems to work perfectly fine
<sir_guy_carleton>
is 0.3 in the unstable channel?
<LnL>
0.3.1
<adamantium>
Can I make /etc/nixos/configuration.nix a symlink?
<adamantium>
Or is that a no no
<clever>
adamantium: you can if you want to
<joepie91>
,locate ocamlc.opt
<{^_^}>
Found in packages: ocaml_4_02, ber_metaocaml
fzer0 has quit [Read error: Connection reset by peer]
jperras has joined #nixos
trevthedev has joined #nixos
<trevthedev>
gave up last night, so, currently am trying to compile llvm in my nix config and allow for bleeding edge mesa
seanparsons has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
<trevthedev>
however theres an error im unaware of
<trevthedev>
1 out of 1 hunk FAILED -- saving rejects to file lib/Support/CommandLine.cpp.rej
<trevthedev>
builder for '/nix/store/9ln2qdbfrkhgf7lqn6caapmzykiz3mc5-llvm-git.drv' failed with exit code 1
<trevthedev>
cannot build derivation '/nix/store/k548d0lgbg8pkjy0j7h06l576zfk664v-mesa-git.drv': 1 dependencies couldn't be built
<trevthedev>
cannot build derivation '/nix/store/ji4xar34ik5apq16r5hnnhav1ih90abk-mesa-drivers+txc-17.3.6.drv': 1 dependencies couldn't be built
<trevthedev>
cannot build derivation '/nix/store/2sa6r8cmh7iii73z9v7s3cqp1j73ll7w-opengl-drivers-32bit.drv': 1 dependencies couldn't be built
<trevthedev>
cannot build derivation '/nix/store/inyv1xii6d3474wp6xbj8ghrdy6dc8mw-nixos-system-4th-18.03.133126.4df3426f5a5.drv': 1 dependencies couldn't be built
<trevthedev>
error: build of '/nix/store/inyv1xii6d3474wp6xbj8ghrdy6dc8mw-nixos-system-4th-18.03.133126.4df3426f5a5.drv' faile
vidbina has quit [Ping timeout: 240 seconds]
<trevthedev>
oh shoot, was gonna eddit that to not seem like spam, didn't realize it'd send all at once my apologies
seanparsons has joined #nixos
rprije has joined #nixos
<clever>
trevthedev: the error is the first line you pasted, one of the patches doesnt apply
<trevthedev>
yea i found that out, though im not sure how to solve this with my nixconfig
<clever>
did you put any overrides on llvm?
<trevthedev>
yea
<clever>
those overrides are likely to blame then
<trevthedev>
hmm
<clever>
you may want to override patches = [];
<trevthedev>
alright, will see if that works thanks
<trevthedev>
im using components from someone else's config, specifically llvm and mesa so i can get the latest version of mesa, he modified llvm so i just kep it
<trevthedev>
will try without it
<LnL>
do we have a function that prefixes/suffixes the binaries of a package?
<{^_^}>
[nixpkgs] @NegaNexus opened pull request #45493 → faustlive: init at 2017-12-05 → https://git.io/fAIYu