gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<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
chreekat has joined #nixos
<clever> techieAgnostic: your overriding the overrides, which erases all previous overrides
<techieAgnostic> can i add my overrides into that block instead?
<clever> techieAgnostic: you also dont need to use packageOverrides
<clever> yeah, it would be far simpler to just move semigroups = self.callPackage ./semigroups.nix { };
<clever> and delete the entire config= from overrides.nix
<clever> you will also want another overrides block for the without hoogle case
<clever> or look into overlays, one min
<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)
c15ade4 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @globin merged pull request #44226 → astroid: 0.11.1 -> 0.13 → https://git.io/fN2Q3
<{^_^}> [nixpkgs] @globin pushed commit from @yrashk to master « astroid: 0.11.1 -> 0.13 »: https://git.io/fAT89
chreekat has quit [Ping timeout: 276 seconds]
jperras has joined #nixos
mainetim has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fAT43
jperras has quit [Ping timeout: 252 seconds]
<techieAgnostic> clever: this is a lot to take in haha, thanks heaps :)
silver_ has quit [Quit: rakede]
abueide has quit [Remote host closed the connection]
abueide has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jperras has joined #nixos
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
nckx has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to staging « mercurialFull: 4.6.2 -> 4.7 (#45186) »: https://git.io/fATBI
<{^_^}> [nixpkgs] @xeji merged pull request #45186 → mercurialFull: 4.6.2 -> 4.7 → https://git.io/fNhQ0
andreabedini has joined #nixos
carlosdagos has joined #nixos
Anton-Latukha has quit [Quit: Leaving.]
jrolfs has quit [Ping timeout: 264 seconds]
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...
<colemickens> `vainfo` just reports errors.
jperras has joined #nixos
Drakonis has joined #nixos
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
jtojnar has joined #nixos
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
abueide has quit [Ping timeout: 272 seconds]
fragamus has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
simukis has joined #nixos
mainetim has quit [Ping timeout: 252 seconds]
abueide has joined #nixos
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @Infinisil closed pull request #41467 → [WIP] znc: more flexible module → https://git.io/vh4O5
<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...
sir_guy_carleton has joined #nixos
<samueldr> ah, colemickens, https://discourse.nixos.org/
<samueldr> so either there or here, and he's pretty likely to reply during business hours in the USA (and a bit after)
<samueldr> (unless busy, obviously ;))
Azaiel has joined #nixos
Azaiel has left #nixos [#nixos]
Fare has quit [Ping timeout: 264 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
Azaiel has joined #nixos
rardiol has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/61c0adfbc11 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
rprije has quit [Ping timeout: 240 seconds]
rprije has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #45452 → 1password: 0.5.1 -> 0.5.3 → https://git.io/fAT2V
Fare has joined #nixos
Fare has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 240 seconds]
brodul has joined #nixos
<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]
vidbina has joined #nixos
jperras has joined #nixos
logzet has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
<carlosdagos> @cmcdragonkai I think you can modify the `PATH`, for example: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/science/logic/satallax/default.nix#L16
Intensity has quit [Ping timeout: 244 seconds]
<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?
<mikeplus64> with a derivation for ../bin/foobar?
<ldlework> mikeplus64: maybe you want makeBinPath
ahawkins_ has joined #nixos
ahawkins_ has quit [Client Quit]
<ldlework> or just like, writeScriptBin
<mikeplus64> ah, yeah, writeScriptBin seems perfect, thanks
ahawkins has joined #nixos
DigitalKiwi has quit [Ping timeout: 264 seconds]
kyren has quit [Ping timeout: 272 seconds]
trcc has joined #nixos
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
ThatDocsLady has joined #nixos
jperras has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
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"
<{^_^}> [nixpkgs] @uri-canva opened pull request #45453 → nodePackages_10_x: add node-gyp → https://git.io/fATo4
<{^_^}> 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?
<{^_^}> hydra#223 (by mschristiansen, 3 years ago, closed): Allow 'unfree' projects
woffs has joined #nixos
johanot has joined #nixos
<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
<trevthedev> yes
<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
typetetris has joined #nixos
<Yaniel> I mean is it available / how recent on nixos (unstable)
<trevthedev> what do i do with that?
<trevthedev> nix-shell update-rutime-shell.nix?
lawlesseel has joined #nixos
<manveru> trevthedev: yeah
<manveru> also unstable should have mesa 18
<manveru> 18.03 likely won't get that anymore
<trevthedev> i swear everytime i say "nixos doesn't have something", unstable always has it, that's a life saver
<trevthedev> nixpkgs*
<manveru> once i'm done with Oxygen Not Included i might try the new steam :)
<manveru> not quite sure what "done" means yet though...
<trevthedev> so i ran the nix-shell command
<FireFly> trevthedev: and if a package is missing, it's easy enough to write a derivation in many cases :)
<trevthedev> do i have to curl the .py?
<trevthedev> also yeah, that's true
<manveru> trevthedev: the update-runtime.py? you should be able to just run it
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2018/07 »: https://git.io/fATMe
trevthedev has quit [Ping timeout: 276 seconds]
trevthedev has joined #nixos
<trevthedev> well, back once again
<trevthedev> aye
<trevthedev> internet kept dying
<{^_^}> [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
<trevthedev> what might need some change?
<{^_^}> [nixpkgs] @dywedir opened pull request #45454 → rust-cbindgen: 0.6.1 -> 0.6.2 → https://git.io/fATM4
<trevthedev> also steamos has proton as long as you enable beta
<trevthedev> all linux steam clients do
<manveru> ok
Myrl-saki has quit [Ping timeout: 244 seconds]
<manveru> there's those REPO/DIST/COMPONENT variables in the python script
<trevthedev> i appreciate the help btw
<trevthedev> i didn't look through the script
<trevthedev> was i supposed to xd
<manveru> it also has --beta flag :)
<manveru> that changes DIST to steam_beta
<trevthedev> python2 update-runtime.py
<trevthedev> that's all i did xd
<manveru> ok
<manveru> did it change anything?
<trevthedev> it's stuck at downloading binary: gtk2 engine
<trevthedev> adding the beta flag threw too many errors to count xd
<{^_^}> [nixos-weekly] @domenkozar merged pull request #62 → Call for Content: 2018/07 → https://git.io/fNAab
<{^_^}> [nixos-weekly] @domenkozar pushed 3 commits to production: https://git.io/fATMa
<trevthedev> basically all dependancies not found in a dir
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2018/08 draft »: https://git.io/fATMV
<trevthedev> web url
<{^_^}> [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] @domenkozar opened pull request #63 → Call for Content: 2018/08 → https://git.io/fATMH
<trevthedev> alright, py script completed
<trevthedev> is that it/
<trevthedev> ?*
<{^_^}> [nixos-weekly] @domenkozar pushed to production « 07: remove dot »: https://git.io/fATMh
<manveru> well, check the diff
<{^_^}> [nixos-weekly] @domenkozar pushed 8 commits to master: https://git.io/fATDe
<trevthedev> diff?
<manveru> `git diff`
<manveru> did it change anything?
<trevthedev> not a git repo
<manveru> you didn't clone nixpkgs?
<trevthedev> no... i just curled those two files
<trevthedev> my bad
<manveru> :D
<trevthedev> is 03:00 here XD
<{^_^}> [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
<trevthedev> holy cow nixpkgs is huge ;-;
<ldlework> lol
<trevthedev> it's 25% done xd
<trevthedev> with almost half a GiB
<FireFly> I did a shallow clone of it myself
<trevthedev> hmm
<FireFly> it's the history that's huge :p
<trevthedev> fair enough
Anton-Latukha has joined #nixos
arjen-jonathan has joined #nixos
<trevthedev> resolving deltas finally
ldlework has quit [Quit: co'o ro do]
NinjaTrappeur has joined #nixos
<trevthedev> ran git diff and nothing happened xd
<trevthedev> it just returns empty
<{^_^}> [nixpkgs] @vbgl opened pull request #45455 → framac: 20171101 (Sulfur) -> 20180502 (Chlorine) → https://git.io/fATyL
Anton-Latukha has quit [Remote host closed the connection]
<trevthedev> it was already updated it seems
<trevthedev> then onto mesa ig... is there a way to download drivers from unstable but keep everything else on stable?
lawlesseel has quit [Quit: Leaving]
lawlesseel has joined #nixos
sigmundv__ has joined #nixos
worldofpeace has joined #nixos
worldofpeace has quit [Remote host closed the connection]
ahawkins has quit [Quit: Connection closed for inactivity]
<trevthedev> hmm
alex`` has joined #nixos
<trevthedev> do i need to make nixos unstable, or?
mayhewluke has quit [Ping timeout: 264 seconds]
kenshinCH has joined #nixos
<infinisil> ,unstable trevthedev
<trevthedev> thanks
<{^_^}> [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?
silver has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #45457 → imagemagick: disable ghostscript vector formats → https://git.io/fAT7y
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45438 → msmtp: support passwordeval without final '\n' → https://git.io/fAUha
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fAT7Q
<ocharles> Is there anyway to get access to a folders Git commit sha in Hydra?
jmeredith has quit [Quit: Connection closed for inactivity]
<ocharles> Actually, just using ./. (in the root directory) should do what I want
<{^_^}> [nixpkgs] @xeji merged pull request #43785 → appstream-glib: 0.7.9 -> 0.7.10 → https://git.io/fNZjl
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAT5I
<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] @xeji merged pull request #44743 → lilv: 0.24.2 -> 0.24.4 → https://git.io/fN9fg
<ocharles> oh neat, it looks like the git input is actually an attrset given to a jobset as an argument, and it has a .revision field
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nixos
trcc has joined #nixos
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45239 → fwup: 1.2.3 -> 1.2.5 → https://git.io/fNjYx
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fwup: 1.2.3 -> 1.2.5 (#45239) »: https://git.io/fATdQ
<alex``> genesis: Qui c’est ?
<{^_^}> [nixpkgs] @xeji merged pull request #45452 → 1password: 0.5.1 -> 0.5.3 → https://git.io/fAT2V
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « 1password: 0.5.1 -> 0.5.3 (#45452) »: https://git.io/fATFf
<{^_^}> [nixpkgs] @xeji merged pull request #44793 → chromedriver: 2.40 -> 2.41 → https://git.io/fN9wW
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fATFV
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ridout has joined #nixos
hamishmack has joined #nixos
<Taneb> Is there a way to disable sandboxing for a single call to nix?
<Taneb> Something like NIX_USE_SANDBOX=0 nix-build thingy
<ocharles> Taneb: does --option sandbox false work?
<ocharles> nix-build foo.nix --option sandbox false
hamishmack has quit [Client Quit]
jrolfs has joined #nixos
<{^_^}> [systemd] @globin merged pull request #22 → umount: Don't use options from fstab on remount → https://git.io/fATZO
<{^_^}> [systemd] @globin pushed commit from @aszlig to nixos-v239 « umount: Don't use options from fstab on remount »: https://git.io/fATNm
witchof0x20 has quit [Remote host closed the connection]
witchof0x20 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #45459 → openmpi: fix hwloc NUMA cpu allocation capability → https://git.io/fATNG
<{^_^}> [nixpkgs] @xeji merged pull request #45193 → libblockdev: 2.18 -> 2.19 → https://git.io/fNhd2
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libblockdev: 2.18 -> 2.19 (#45193) »: https://git.io/fATNC
revtintin has joined #nixos
jrolfs has quit [Ping timeout: 276 seconds]
ersran9 has joined #nixos
<Taneb> ocharles: ah, yeah, that does work, thanks
iyzsong has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/038a45f598e (from 54 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
init_6 has joined #nixos
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #45461 → numactl: 2.0.11 -> 2.0.12 → https://git.io/fATAc
rardiol has joined #nixos
__Sander__ has joined #nixos
<ldlework> I have opened port 80 in the firewall but i don't think it is working
philippD has joined #nixos
sir_guy_carleton has joined #nixos
<sir_guy_carleton> is there an vim_configurable for neovim?
<LnL> yes
lawlesseel has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fATx2
<{^_^}> [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?
<ashkitten> oh i think i know, hangon
<{^_^}> [nixpkgs] @jtojnar merged pull request #45454 → rust-cbindgen: 0.6.1 -> 0.6.2 → https://git.io/fATM4
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fATpC
michas has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
arjen-jonathan has quit [Quit: WeeChat 2.2]
arjen-jonathan has joined #nixos
rprije has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @bignaux opened pull request #45465 → navit: svn-5576 -> 0.5.1 → https://git.io/fATp5
<genesis> plz put a bot on this ^
arjen-jonathan has quit [Client Quit]
arjen-jonathan has joined #nixos
<srhb> genesis: :)
<genesis> need to check 32bits
<genesis> thx
nikivi has joined #nixos
<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
<{^_^}> googlei18n/noto-emoji#36 (by engen0, 2 years ago, closed): How to render NotoColorEmoji on Linux
<Enzime> the answer is somewhere in that thread :p
<ashkitten> i know, but i've tried that stuff
jperras has quit [Ping timeout: 264 seconds]
Ridout has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fATjI
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.4.150 -> 4.4.151 »: https://git.io/fATjt
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.9.122 -> 4.9.123 »: https://git.io/fATjm
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.65 -> 4.14.66 »: https://git.io/fATj3
<Enzime> ashkitten: what browser are you using?
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.17.17 -> 4.17.18 »: https://git.io/fATjZ
<ashkitten> chrome
<gchristensen> hi colemickens
<thblt> ashkitten: apparently this is a common issue, solved by plugins, eg https://chrome.google.com/webstore/detail/chromoji-emojis-for-googl/negakbijaemdgbhklopmghphgaeadmpo
<thblt> (which is... weird)
<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?
<thblt> ashkitten: agreed :)
<cmcdragonkai> /lib64/ld-linux-x86-64.so.2 => /nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123/lib64/ld-linux-x86-64.so.2 (0x00007f04fcc29000)
<gchristensen> huh, not sure :)
<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
<gchristensen> builtins.readFile
<Yardanico> gchristensen, thanks!
nek0 has quit [Ping timeout: 272 seconds]
hydraz has quit [Quit: ZNC 1.7.1 - https://znc.in]
hydraz has joined #nixos
regulus_ has quit [Ping timeout: 260 seconds]
nek0 has joined #nixos
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
<joepie91> how do I approach this?
jD91mZM2 has joined #nixos
<gchristensen> `overrideCC stdenv gcc5`
mayhewluke has quit [Ping timeout: 264 seconds]
<joepie91> gchristensen: I have no idea where to put that or how :P
d1rewolf has quit []
<gchristensen> https://search.nix.gsc.io/?q=overrideCC%20stdenv%20gcc5&i=nope&files=&repos= if this is not helpful enough, I can help more :)
kyren has joined #nixos
d1rewolf has joined #nixos
<joepie91> gchristensen: I don't use callPackage though...
<joepie91> and I don't really see how inserting an overridden `stdenv` into the package set would magically change stuff elsewhere?
<joepie91> like, I presume that is callPackage-specific behaviour?
<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
<Denommus> and I can't figure out how to do that
<gchristensen> security.acme.certs."myurl.com".allowKeysForGroup see also https://nixos.org/nixos/options.html#acme
<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
<__monty__> Well that's sad.
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/38ed5064ee4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<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?
<{^_^}> [nixpkgs] @samueldr merged pull request #44919 → undervolt: init at 0.2.8 → https://git.io/fN5S7
<{^_^}> [nixpkgs] @samueldr pushed 3 commits to master: https://git.io/fAkOM
<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.
trevthedev has quit [Ping timeout: 252 seconds]
Seraxis has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #44650 → [WIP] radare2: 2.7.0 -> 2.8.0, radare2-cutter: 1.6 -> 1.7, refactor → https://git.io/fNya1
<{^_^}> [nixpkgs] @dtzWill pushed 6 commits to master: https://git.io/fAkZ0
zopsi has quit [Ping timeout: 265 seconds]
fzer0 has joined #nixos
<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
<{^_^}> [nixpkgs] @dtzWill opened pull request #45468 → boost168: init → https://git.io/fAkB5
<fzer0> clever: i deleted the partitions before i tried to repartition. I don't see an option for unmounting, only delete
<clever> fzer0: when you run `mount`, are they listed?
Notkea has quit [Remote host closed the connection]
<fzer0> clever: yes
<clever> you need to umount them
Notkea has joined #nixos
<fzer0> clever: unmount: command not found (i thought i knew how)
cantsin has joined #nixos
<clever> umount, only 1 n
Lisanna has quit [Quit: Lisanna]
<fzer0> clever: thanks. /dev/sda1 : target is busy
<clever> what does `pwd` say?
<clever> and did you try to umount them in the right order?
<fzer0> clever: "/root"
<clever> just run umount on everything in sda, then check mount and repeat
Lisanna_ has joined #nixos
<fzer0> clever: I feel like an idiot. it says /dev/sda: not mounted
<clever> that isnt mounted
<clever> and its not listed by `mount`
johanot has quit [Remote host closed the connection]
<fzer0> clever: at the bottom of the mount output is see the following two line: /dev/sda1 on /mnt..../dev/sda3 on /mnt/boot
<clever> `umount /mnt/boot /mnt`
<{^_^}> [nixpkgs] @dotlambda opened pull request #45469 → nixos/firejail: add wrappedPackages option → https://git.io/fAk08
<fzer0> that worked
<clever> now edit something in fdisk and save, so it updates
<fzer0> clever: my current (unwritten) partition looks like: /dev/sda1 * (bootable) 8G ; /dev/sda2 159G
<clever> and if you save&exit in fdisk?
<fzer0> it saved it
<clever> and then check lsblk to confirm things
<fzer0> there is still a sda1 part with 512M
<clever> fzer0: partprobe /dev/sda ; lsblk
<fzer0> Error: Error informing the kernel about modifications to partition /dev/sda1
<fzer0> --Device or resource busy
<clever> fzer0: mount | grep sda --color
<fzer0> command was accepted
<fzer0> didn't output anything
<clever> just reboot, and then continue with formatting the devices
__Sander__ has quit [Quit: Konversation terminated!]
<fzer0> I edited a configuration.nix file. will i have to redo that file if i reboot?
Myrl-saki has joined #nixos
<clever> fzer0: the one in /etc or /mnt?
<fzer0> nevermind. its gone already isn't it?
<clever> probably
<fzer0> yep
<fzer0> i should be better at it the second time!
<fzer0> okay. i rebooted and am at the prompt again
<clever> check lsblk again
<fzer0> oh sorry, I believe i am formatting one of the part to ext4
<fzer0> clever: lsblk is correctly showing only two partitions
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/05310e3172f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<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?
<d1rewolf> JonReed: thank you
<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
<clever> fzer0: yeah
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/38ed5064ee4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
slyfox has joined #nixos
<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
<infinisil> > lib.types.ints
<{^_^}> { between = <CODE>; positive = <CODE>; s16 = <CODE>; s8 = <CODE>; u16 = <CODE>; u8 = <CODE>; unsigned = <CODE>; }
<infinisil> Although, those go only to 16 bit
<fgaz> clever: thanks! I was just looking for an option like that
nuncanada has quit [Quit: Leaving]
<toppler> infinisil: The plot thinkens. Thanks.
Fare has quit [Ping timeout: 252 seconds]
<toppler> infinisil: But with it commented out, it should be fine, right?
dmj` has joined #nixos
<infinisil> You probably have a version of nixpkgs where it's not yet commented out
<toppler> I'm wondering if the problem is with networkd.nix.
<infinisil> Updating should fix it
<dmj`> Hey, so I'm running a nix-build that executes some haskell tests, currently its trying to run code that creates a temporary directory
<toppler> Nah, I'm up-to-date.
<dmj`> and is failing
<dmj`> Is this because nix runs all builds in a tmp dir, and that could potentially access another /tmp directory where a build is running?
<toppler> infinisil: Besides, the error is with a number 1 less than 2^32. Those appear in networkd.nix
<infinisil> toppler: Did you check the error trace?
<infinisil> Ah
<infinisil> > pow 2 32
Orbstheorem has joined #nixos
<{^_^}> 4294967296
<infinisil> > pow 2 17
<{^_^}> 131072
<infinisil> toppler: Oh, probably it's 32 bit signed
<infinisil> So its 2^31 numbers <= 0 and 2^31-1 > zero
ersran9 has quit [Ping timeout: 264 seconds]
<dmj`> infinisil: o/
<infinisil> > pow 2 31 - 1 # toppler <- this should be the last number not failing
<{^_^}> 2147483647
<toppler> Yeah, that's right.
<infinisil> So yeah, networkd is a problem
<toppler> Gah.
<infinisil> Nix needs a spec already!
<infinisil> Oh although that might not solve it, the spec could still be different for 32bit/64bit
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> colemickens: ping
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
thblt has joined #nixos
[0__0] has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45465 → navit: svn-5576 -> 0.5.1 → https://git.io/fATp5
<{^_^}> [nixpkgs] @xeji pushed commit from @bignaux to master « navit: svn-5576 -> 0.5.1 (#45465) »: https://git.io/fAkXW
<genesis> :D
revtintin has quit [Quit: WeeChat 1.9.1]
chreekat has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « firefox: remove --disable-xcode-checks »: https://git.io/fAk1N
<{^_^}> [nixpkgs] @udono opened pull request #45471 → Update tryton 4 8 → https://git.io/fAkDv
Effilry has joined #nixos
gspia has quit [Quit: Leaving]
Effilry is now known as FireFly
Sigma has joined #nixos
<{^_^}> [nixpkgs] @CrystalGamma opened pull request #45472 → strace: check machine personalities for all non-x86 architectures → https://git.io/fAkyR
simukis has quit [Quit: simukis]
<{^_^}> [nixpkgs] @vcunat pushed 56 commits to staging: https://git.io/fAkSo
<{^_^}> [nixpkgs] @vcunat merged pull request #45466 → texlive: fix fmtutil invocation, generate all formats → https://git.io/fAkW3
Lisanna has quit [Ping timeout: 240 seconds]
<Yardanico> hi, as I can understand Deepin DE is not packaged for NixOS (yet) ?
orivej has joined #nixos
selfsymmetric-pa has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #45473 → busybox: 1.29.1 -> 1.29.2 → https://git.io/fAk95
mekeor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @CrystalGamma opened pull request #45474 → mesa: restructure driver selection to be more architecture-neutral → https://git.io/fAkHJ
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<mdash> Yardanico: would you like to package it?
<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
<{^_^}> [nixpkgs] @dtzWill opened pull request #45476 → sudo: 1.8.23 -> 1.8.24 → https://git.io/fAkQ6
rardiol has quit [Remote host closed the connection]
eeva has quit [Remote host closed the connection]
<{^_^}> [nix] @dezgeg opened pull request #2368 → Drop dead code → https://git.io/fAkQA
Thra11 has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
boomshroom has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2368 → Drop dead code → https://git.io/fAkQA
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fAk76
<boomshroom> Hello!
<boomshroom> Does anyone here have experience with developing with Rust's winit library?
<boomshroom> It wants to find the X11 library dynamically at runtime.
jD91mZM2 has quit [Quit: WeeChat 2.0]
orbekk has joined #nixos
<boomshroom> How do I use the callPackage type of derivation file as a development shell file?
Izorkin has joined #nixos
fzer0 has joined #nixos
<fzer0> Just installed NixOS, but it looks like xserver is working. Any advice?
<boomshroom> Celebrate that you got xserver working? :P
<boomshroom> I get the impression that you meant to say it's *not* working.
<mdash> fzer0: i had xserver problems recently. try 'journalctl -eu display-manager.service' to get x server logs
<slabity> Yea, I hate it when my xserver is working too.
<clever> fzer0: can you pastebin the section of configurationn.nix involved in xserver setup?
<slabity> But in case it isn't working, can you share your config in a gist?
Maxdamantus has joined #nixos
sphalerit has joined #nixos
<sphalerit> boomshroom: nix-shell -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'
<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
<{^_^}> [nixpkgs] @LnL7 pushed 4 commits to master: https://git.io/fAkdL
lstanley has joined #nixos
inquisitiv3 has joined #nixos
<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
<{^_^}> [nixpkgs] @tycho01 opened pull request #45477 → webtorrent-desktop: fix .desktop Path entries → https://git.io/fAkFv
<inquisitiv3> clever: So the command is OK, but I should let the local hardware config file be to be able to check it?
<clever> yeah
<inquisitiv3> Should I generate the files with or without the switch `--no-filesystems`?
pie_ has joined #nixos
<fzer0> clever: sorry it took me so long. here is my services section: https://pastebin.com/2NKZzEnE
pie_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #45453 → nodePackages_10_x: add node-gyp → https://git.io/fATo4
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fAkFO
<{^_^}> [nixpkgs] @tycho01 opened pull request #45478 → update NixOS fdisk instructions based on my flow (18.03) → https://git.io/fAkFs
<clever> fzer0: and if you check `journalctl -u display-manager.service` ?
<fzer0> clever: it shows that x11 tries to start and then fails. is there something in particular i should look at?
<clever> fzer0: does it show any syntax errors about xorg.conf ?
<fzer0> it shows that X11 server started, then... display-manager.service: Main process exited, code=exited, status 1/FAILURE
<clever> fzer0: i found the problem
<clever> fzer0: line 17 of your pastebin, you have an EndSection
<clever> where is the Section starting it?
pie_ has joined #nixos
pie_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bachp opened pull request #45479 → gitlab-runner: 11.1.0 -> 11.2.0 → https://git.io/fAkFH
<clever> fzer0: you may also want to use the inputClassSections option: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/xserver.nix#L710-L715
<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?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « docker: 18.06.0 -> 18.06.1 »: https://git.io/fAkbf
<clever> fzer0: try without that first, and see what works
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « docker: 18.06.0 -> 18.06.1 »: https://git.io/fAkbL
<fzer0> okay
pie_ has joined #nixos
pie_ has quit [Remote host closed the connection]
<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?
<sir_guy_carleton> the file http://termbin.com/e5md
<boomshroom> It seems that it wants libGL.so
<{^_^}> [nixpkgs] @LnL7 opened pull request #45480 → fetchunpack: add fetchzip alias → https://git.io/fAkNw
lassulus has joined #nixos
<inquisitiv3> clever: Thanks for the help! I got it working by generating the hardware configuration with autodetection of filesystem.s
puckipedia has joined #nixos
silver_hook has joined #nixos
johnw has joined #nixos
<manveru> sir_guy_carleton: see https://github.com/manveru/vimrc
<manveru> in particular the default.nix :)
periklis has quit [Remote host closed the connection]
petar has joined #nixos
ryantm has joined #nixos
periklis has joined #nixos
michalrus has joined #nixos
dmc has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45468 → boost168: init → https://git.io/fAkB5
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fAkAg
<fzer0> clever: having wifi trouble again. How do you get the logs of the past chats again?
<clever> fzer0: /topic #nixos
periklis has quit [Ping timeout: 260 seconds]
grp has joined #nixos
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<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
<clever> fzer0: and can you `ping 8.8.8.8` ?
<Dezgeg> yes
<fzer0> Network is unreachable
<clever> fzer0: does `iwconfig` show the wifi as being connected?
<grp> nevermind, got it working
<fzer0> iwconfig: command not found
<fzer0> lol
<clever> fzer0: is wpa_supplicant running?
<{^_^}> [nixpkgs] @vbgl opened pull request #45481 → ocamlPackages.piqi{,-ocaml}: fix build with OCaml 4.06 → https://git.io/fAkxH
<{^_^}> [nixpkgs] @xeji merged pull request #45479 → gitlab-runner: 11.1.0 -> 11.2.0 → https://git.io/fAkFH
<{^_^}> [nixpkgs] @xeji pushed commit from @bachp to master « gitlab-runner: 11.1.0 -> 11.2.0 (#45479) »: https://git.io/fAkxF
<fzer0> yes, but i think i messed things up by trying to use networkmanager in my configuration file
<clever> fzer0: id you enabled networkmanager, then you have to use networkmanager to configure the wifi
<clever> fzer0: you could try this: nixos-rebuild switch --fast --option substituters ""
<fzer0> thats what I figured. do i need to stop wpa_supplicant?
<{^_^}> [nixpkgs] @xeji merged pull request #45471 → Update tryton 4.8 → https://git.io/fAkDv
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAkpU
<clever> fzer0: nixos should handle that for you
<boomshroom> Any ideas? Is there a package that specifically provides libEGL.so rather than libEGL_mesa.so?
koschei[m] has joined #nixos
<clever> and i believe networkmanager configures wpa_supplicant automatically
<boomshroom> Or libGL.so rather than libGLX_mesa.so?
<{^_^}> [nixos-homepage] @edolstra pushed to master « Move old install scripts to /releases/nix/<version> »: https://git.io/fAkp2
<{^_^}> [nixpkgs] @va1entin opened pull request #45482 → keepassxc: 2.3.3 -> 2.3.4 → https://git.io/fAkpr
<infinisil> boomshroom: Um, libGL?
<fzer0> clever: got networkmanager to connect, then did rebuilt switch.....and it WORKED!!!!!!!!!!!!!!!!
<fzer0> I have a graphical environment with i3
<clever> fzer0: so your wifi was not working, when you claimed it was
<fzer0> it wasn't that. I just had to use nmcli to connect to my network
<__monty__> Does nixos support connman?
<infinisil> boomshroom: ls $(nix-build --no-out-link '<nixpkgs>' -A libGL)/lib
<infinisil> boomshroom: Lists both libGL.so and libEGL.so
<emily> __monty__: there is a module for it
<fzer0> clever: you are the man, you have no idea how grateful i am. I would have given up if it weren't for you
<emily> depends how in-depth support you're hoping for
<{^_^}> [nixpkgs] @xeji merged pull request #44698 → keybase: 2.1.0 -> 2.5.0 → https://git.io/fNyAI
<{^_^}> [nixpkgs] @xeji pushed commit from @colemickens to master « keybase: 2.1.0 -> 2.5.0 (#44698) »: https://git.io/fAkp5
<boomshroom> Seems that it's already in the buildInputs.
grp has quit [Quit: box shutting down...]
<colemickens> @gchristensen pong
<gchristensen> colemickens: userdata handling is per-host. packet accepts userdata!
<__monty__> emily: Just prefer it over networkmanager. Run old hardward and NM took a significant portion of memory, connman's way lighter.
aarvar has joined #nixos
<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.
<viric> (lightdm)
<{^_^}> [nixpkgs] @xeji merged pull request #45455 → framac: 20171101 (Sulfur) -> 20180502 (Chlorine) → https://git.io/fATyL
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « framac: 20171101 (Sulfur) -> 20180502 (Chlorine) (#45455) »: https://git.io/fAkjc
<viric> anyone using lightdm?
<{^_^}> [nixpkgs] @xeji merged pull request #45459 → openmpi: fix hwloc NUMA cpu allocation capability → https://git.io/fATNG
<{^_^}> [nixpkgs] @xeji pushed commit from @markuskowa to master « openmpi: fix hwloc NUMA cpu allocation capability (#45459) »: https://git.io/fAkjV
bpye has quit [Quit: Ping timeout (120 seconds)]
<clever> nh2: pkgs.path + "/pkgs/development/haskell-modules/configuration-hackage2nix.yaml"
bpye has joined #nixos
<nh2> clever: +1
<clever> nh2: try the c++ syntax, clever++
emily has quit [Quit: Reconnecting]
emily__ has joined #nixos
surrounder has quit [Quit: WeeChat 2.0.1]
emily__ is now known as emily
<nh2> clever++
<{^_^}> clever's karma got increased to 21
<nh2> lol clearly this counter has overflowed many times!
<clever> yeah, it has lost the count a few times, and not many people know it even exists
<viric> no lightdm.. hm what dm do you use?
<nh2> viric: I use nix on Ubuntu but that probably doesn't help your case much
<nh2> viric: `strace -f -e open id` check if it opens `/etc/group` as expected (for me it does so over 10 times interestingly)
<viric> I talk about nixos
inquisitiv3 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #45461 → numactl: 2.0.11 -> 2.0.12 → https://git.io/fATAc
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAIe4
<viric> I'll try gdm, whatever that is
<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 merged pull request #45477 → webtorrent-desktop: fix .desktop Path entries → https://git.io/fAkFv
<viric> clever: amazing
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45476 → sudo: 1.8.23 -> 1.8.24 → https://git.io/fAkQ6
growpotkin has left #nixos [#nixos]
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to staging « sudo: 1.8.23 -> 1.8.24 (#45476) »: https://git.io/fAIvr
logzet has quit [Remote host closed the connection]
sir_guy_carleton has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45473 → busybox: 1.29.1 -> 1.29.2 → https://git.io/fAk95
<{^_^}> [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?
<clever> sevcsik: yes
<clever> sevcsik: is the URL publicly visible?
Dedalo has joined #nixos
<sevcsik> yes. it's https://hydra.sevdev.hu/
<clever> sevcsik: all of the css and js is failing to load
<clever> sevcsik: you are sending localhost based URL's for those, one min
<sevcsik> hmm, it looks good here...
<clever> sevcsik: you need this config on your nginx: https://github.com/cleverca22/nixos-configs/blob/master/nas-hydra.nix#L56-L62
<clever> you may have a 2nd hydra on the local machine, which is serving those URL's
<clever> it may even be posting the login to that 2nd local hydra
<sevcsik> clever: wow, indeed
<sevcsik> thanks, I'll check
<clever> sevcsik: the Host: line in the cfg i linked gets the URL's to come up correctly, and the forwarded-proto keeps the protocol right as well
sir_guy_carleton has quit [Quit: WeeChat 2.0]
Thra11 has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
<sevcsik> clever: thank you! adding the headers to nginx made it work
<clever> and login is fully working as well?
<sevcsik> +
<sevcsik> cheers
<clever> nice
<clever> sevcsik: have you seen how declarative projects work? they help greatly
sc_ has quit [Quit: reboot]
<sevcsik> clever: I have a few web projects built with Nix already, now I'm trying to build them on Hydra. We'll see how it goes
<clever> sevcsik: declarative projects let you put nearly all of the hydra config on github
<clever> so if you ever have to setup another hydra with the same project, it goes much faster
<clever> sevcsik: for this project, i setup the declarative spec with "toxvpn/spec.json" and a git input of "https://github.com/cleverca22/hydra-configs"
<clever> and then hydra configures everything else itself
sc_ has joined #nixos
BlessJah has joined #nixos
<sevcsik> sounds great, I'll check
<sevcsik> is this already documented in the Manual? I cannot find it
<clever> i dont think it is
<clever> but all of the fields in spec.json match up 1:1 to the config in a jobset on the UI
boomshroom has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @WilliButz opened pull request #45486 → grafana: 5.2.2 -> 5.2.3 → https://git.io/fAIfj
sir_guy_carleton has joined #nixos
<sevcsik> ok, I'll give it a try, cheers
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #nixos
<{^_^}> [nixpkgs] @Moredread opened pull request #45487 → WIP: flightgear: 2017.3.1 -> 2018.2.2 → https://git.io/fAIJY
<{^_^}> [nixpkgs] @xeji merged pull request #45482 → keepassxc: 2.3.3 -> 2.3.4 → https://git.io/fAkpr
<{^_^}> [nixpkgs] @xeji pushed commit from @va1entin to master « keepassxc 2.3.3 -> 2.3.4 (#45482) »: https://git.io/fAIJ3
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @ejpcmac opened pull request #45488 → elixir_1_6: 1.6.5 -> 1.6.6 → https://git.io/fAIJ4
shabius_ has quit [Quit: Leaving]
<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.
<infinisil> gchristensen: :D
<{^_^}> [nixpkgs] @markuskowa opened pull request #45490 → Add licenses → https://git.io/fAIUD
vidbina has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #45486 → grafana: 5.2.2 -> 5.2.3 → https://git.io/fAIfj
<{^_^}> [nixpkgs] @globin pushed commit from @WilliButz to master « grafana: 5.2.2 -> 5.2.3 »: https://git.io/fAITs
fragamus has joined #nixos
Ridout has joined #nixos
erasmas has quit [Quit: leaving]
fragamus has quit [Client Quit]
shabius has joined #nixos
<{^_^}> [nixpkgs] @LnL7 merged pull request #45489 → elixir: Fix minimum OTP version → https://git.io/fAIUz
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to master: https://git.io/fAITS
alex`` has quit [Ping timeout: 240 seconds]
<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?
<{^_^}> [nixpkgs] @WilliButz opened pull request #45491 → wt: 3.3.10 -> 3.3.11, 4.0.3 -> 4.0.4 → https://git.io/fAIk7
<sir_guy_carleton> clever: yeah, sure http://termbin.com/9wzn
<clever> sir_guy_carleton: i'm guessing its something in the area of packages.nvim
<clever> ive not used that flag before
<{^_^}> [nix-pills] @Mic92 pushed 3 commits to master: https://git.io/fAIIJ
<{^_^}> [nix-pills] @Mic92 merged pull request #77 → fix binutils input in hello-builder → https://git.io/fAvhy
<clever> sir_guy_carleton: https://github.com/cleverca22/nixos-configs/blob/master/vim.nix#L33-L39 is how i did my plugins
<growpotkin> thank you
growpotkin has left #nixos [#nixos]
<sir_guy_carleton> clever: does vam work with neovim as well?
<clever> sir_guy_carleton: unknown
<LnL> yes, vam works fine with both
<clever> 2018-07-10 20:55:35< clever> nix-repl> :b vimUtils.vimrcFile { customRC = "foo"; vam.pluginDictionaries = [ { names = [ "vim-nix" ]; } ]; }
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
<{^_^}> [nixpkgs] @LnL7 merged pull request #45484 → erlang: Enable parallel building → https://git.io/fAIvT
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fAIt0
<{^_^}> [nixpkgs] @LnL7 merged pull request #45488 → elixir_1_6: 1.6.5 -> 1.6.6 → https://git.io/fAIJ4
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fAIta
init_6 has joined #nixos
<adamantium> ty clever
Baughn has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f0957b94778 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
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
init_6 has quit []
<trevthedev> exact same error happened
<clever> why are you trying to override llvm?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bce371f7080 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<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
<trevthedev> same errors still happening
<clever> trevthedev: can you gist your config?
<trevthedev> sec
jperras has quit [Ping timeout: 240 seconds]
ericsagnes has quit [Ping timeout: 268 seconds]
philippD has joined #nixos
<trevthedev> apologies for not using gist though it was being a pest xd