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
ericsagnes has quit [Ping timeout: 244 seconds]
rschm has quit [Ping timeout: 264 seconds]
<jackdk> no idea what you'd do if you expect multiple people to use the machine
<infinisil> qualiaqq: I'd recommend systemd, it's easily done by setting `systemd.services.foo = { wantedBy = [ "multi-user.target" ]; script = "echo foo"; };`
<infinisil> Oh
<infinisil> That won't have X though, right
rschm has joined #nixos
<infinisil> I think systemd.user.services.foo = { wantedBy = [ "graphical-session.target" ]; partOf = [ "graphical-session.target" ]; script = "echo foo"; };` should work then, there's a bunch of modules using this in nixpkgs
<infinisil> First example for when the program doesn't need X, second for when it does
<qualiaqq> I tried setting it up using systemd, but was getting an error message, which I found by greping for the name of the program on the output of "jouralctl".
<qualiaqq> [FATAL] This application failed to start because it could not find or load the Qt platform plugin "xcb"
<infinisil> qualiaqq: Use `journalctl -u <servicename> -e` to look at its logs/errors
<infinisil> qualiaqq: Oh, yeah that's a popular error about QT, I think the solution is to install something about qt via nix-env
<qualiaqq> Program I was trying to setup is called "albert" it works when I just launch it manually, but when I try to set it up as a systemd service it gets that error. I'm not sure what to do.
<infinisil> Ah
<clever> qualiaqq: it needs an env var related to QT to be set
<clever> qualiaqq: $QT_PLUGIN_PATH
<infinisil> clever: According to home-manager#269, setting PATH might work too
<{^_^}> https://github.com/rycee/home-manager/pull/269 (by phryneas, closed): add qtbase to PATH of flameshot
<infinisil> Although that might be a different issue
alexteves_ has quit [Remote host closed the connection]
<qualiaqq> awesome thanks clever and infinisil I'll give that a try.
andymandias has quit [Ping timeout: 264 seconds]
stepcut has quit [Remote host closed the connection]
jb55 has quit [Quit: WeeChat 2.1]
fractalcat has joined #nixos
stepcut has joined #nixos
andymandias has joined #nixos
igo95862 has quit [Quit: igo95862]
stepcut has quit [Ping timeout: 248 seconds]
lukec has quit [Ping timeout: 245 seconds]
michalrus has joined #nixos
stepcut has joined #nixos
igo95862 has joined #nixos
Biappi has quit [Ping timeout: 260 seconds]
testuser has quit [Ping timeout: 244 seconds]
Biappi has joined #nixos
rschm has quit [Read error: Connection reset by peer]
rschm has joined #nixos
lukec has joined #nixos
rschm has quit [Read error: Connection reset by peer]
rschm_ has joined #nixos
rschm_ has quit [Client Quit]
lnikkila has quit [Ping timeout: 240 seconds]
drakonis has quit [Remote host closed the connection]
rschm_ has joined #nixos
drakonis has joined #nixos
drakonis has quit [Remote host closed the connection]
pie__ has quit [Ping timeout: 264 seconds]
drakonis has joined #nixos
ericsagnes has joined #nixos
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
<samueldr> given a `/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh` path, what's the best way to figure ou which package it builds?
rschm_ has quit [Remote host closed the connection]
<samueldr> (reading it won't help for genericBuild :))
<infinisil> I think that's the same path for every package
<samueldr> oh
<samueldr> there goes my idea
<infinisil> > hello.builder
<{^_^}> "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/bash"
<infinisil> > hello.args
<{^_^}> [ "-e" <CODE> ]
<samueldr> I was wondering, given a ps/pstree output, the best way to figure out what's building currently
<samueldr> (and hopefully without digging in /proc)
<infinisil> samueldr: Ah, htop and e for env vars, then check out $out
drakonis has quit [Remote host closed the connection]
<infinisil> Is what I sometimes do
<samueldr> oh
<infinisil> > p hello.args
<{^_^}> "[ \"-e\" /var/lib/nixbot/state/nixpkgs/pkgs/stdenv/generic/default-builder.sh ]"
drakonis has joined #nixos
* samueldr needs to get a new long build to test ideas
<samueldr> I'd love a "nix-top"
<infinisil> I can recommend aws-sdk-cpp as a long running build :P
<infinisil> Nice idea
drakonis has quit [Remote host closed the connection]
mroutis has joined #nixos
drakonis has joined #nixos
<samueldr> it feels so much nicer since I added `adbd` to mobile-nixos
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @tgharib opened pull request #43238 → triggerhappy: init at 0.5.0 → https://git.io/fNfnH
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
Guest29 has joined #nixos
<Guest29> hi, just curious if people use overlays to essentially replace entire mkDeriviations or just tweak dependencies?
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
<samueldr> both, I think
<samueldr> I personally add full packages in overlays, but also simpler overrides
<samueldr> for example, here I simply add a patch to whatever pulseaudio is given to the overlay https://gitlab.com/samueldr/nixos-configuration/blob/master/overlays/samueldr/overlay.nix#L92-102
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
yonk23 has joined #nixos
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
yonk23_ has quit [Ping timeout: 244 seconds]
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
<Guest29> ah, ok so overrideDerivation is the key
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
<samueldr> depends what you want to do
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<pikajude> what does strictDeps do exactly
drakonis has quit [Client Quit]
drakonis has joined #nixos
rschm has joined #nixos
mroutis has quit [Ping timeout: 244 seconds]
jgt has quit [Ping timeout: 244 seconds]
jperras has joined #nixos
<Guest29> samueldr, i c - ok, so i have made a solr5 expression. i want it to be available to my other expressions to use as a dependency.
igo95862 has quit [Quit: igo95862]
rschm has quit [Ping timeout: 240 seconds]
igo95862 has joined #nixos
chreekat has quit [Quit: quitting]
igo95862 has quit [Client Quit]
<{^_^}> [nixpkgs] @copumpkin pushed to master « monosat: cbaf79cf -> 2deeadef »: https://git.io/fNfc1
igo95862 has joined #nixos
markus1189 has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
markus1199 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @copumpkin pushed to master « monosat: update build to use handy new environment variable »: https://git.io/fNfcQ
sir_guy_carleton has joined #nixos
rprije has joined #nixos
<samueldr> using `watch "sudo nix-top"` I can have a feeling of what's going on
* infinisil tries it out
* infinisil tries it $out
<samueldr> that's still literally a hack, but I can think of methods to show what's happening using this
<samueldr> I just don't know what would be useful
<infinisil> strings: command not found!
<infinisil> ,locate bin strings
<{^_^}> Found in packages: busybox, binutils-unwrapped
<samueldr> I didn't `/usr/bin/env nix-shell` since `watch` with a 2 seconds inteval would make this... not as useful
<infinisil> Yeah..
<infinisil> You could do the loop inside the binary
<infinisil> It's working well though, very nice
<samueldr> sure, though that's a POC
<samueldr> what kind of UX/UI this should have, not sure
<samueldr> it's more like a per-$out ps than a top right now
<infinisil> I want a dependency graph visualized
<infinisil> That would be faaancy
<samueldr> not sure what could be done
<samueldr> this is outside the nix build, it doesn't know *why* this is building
<infinisil> Yeah, would probably need some changes within nix to get the dep graph
<samueldr> so without more instropsection about builds in the daemon, not much can be done I think
<samueldr> still, much better, I can now have a feel for what's building
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #43239 → options.i18n.inputMethod.packages: fix type → https://git.io/fNfCG
stepcut has quit [Ping timeout: 256 seconds]
silver has quit [Quit: rakede]
wgas has joined #nixos
igo95862 has quit [Quit: igo95862]
qualiaqq has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
yonk23 has quit [Ping timeout: 248 seconds]
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/e930c685d51 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
freeman42x[nix] has quit [Ping timeout: 256 seconds]
stepcut has joined #nixos
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xal has quit [Ping timeout: 264 seconds]
Xal has joined #nixos
lassulus_ has joined #nixos
coot has quit [Quit: coot]
lassulus has quit [Ping timeout: 268 seconds]
Guest29 has joined #nixos
Guest29 has quit [Client Quit]
orivej has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #43096 → mosdepth: init 0.2.3 → https://git.io/fbjE4
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNfWL
andymandias has quit [Ping timeout: 244 seconds]
tenten8401 has quit [Remote host closed the connection]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Taneb has quit [Quit: I seem to have stopped.]
b has quit [Quit: Lost terminal]
andymandias has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<waynr> hmm i removed an argument from a nix expression i've written for a package i am trying to add to nixpkgs
<waynr> but re-running `nix-build $PWD -A dnscrypt-proxy2` doesn't seem to result in a rebuild of the package
Guest29 has joined #nixos
<waynr> i'm probably misunderstanding something fundamental
<waynr> oh well, time to sleep
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
jperras has quit [Ping timeout: 244 seconds]
stepcut has quit [Ping timeout: 276 seconds]
spinus has quit [Ping timeout: 264 seconds]
<kalbasit> I'm trying to `chmod 400 $out/path/to/file` in the `installPhase` but it does not seem to be working, the files has permissions `444`. What can I do to chmod it?
spinus has joined #nixos
sbdchd has quit [Remote host closed the connection]
<samueldr> the store has strict restrictions to modes
* samueldr is finding the right manual section
<samueldr> last point in this section
<kalbasit> samueldr: interesting, so I cannot install say SSH keys?
<samueldr> » After the build, Nix sets the last-modified timestamp on all files in the build result to 1 (00:00:01 1/1/1970 UTC), sets the group to the default group, and sets the mode of the file to 0444 or 0555 (i.e., read-only, with execute permission enabled if the file was originally executable). Note that possible setuid and setgid bits are cleared. Setuid and setgid programs are not currently supported by Nix. This is because the Nix archives used in
<samueldr> deployment have no concept of ownership information, and because it makes the build result dependent on the user performing the build.
<samueldr> nope, secrets should stay out of the store
<kalbasit> I see
<samueldr> usually, you would reference an out of store path *somehow* in your configuration file or software
<kalbasit> well I have private files that I'm trying to install (basically link to my home dir). I guess I'll have to manually manage these files
<rotaerk> Is there some way to identify how much of a given nixpkgs commit is in the binary cache
<rotaerk> I'm trying to bisect nixpkgs and running into lots of commits where it tries to build GHC or GCC
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rotaerk> Would be nice to know which commits to skip *before* attempting to build against them
spinus has quit [Ping timeout: 260 seconds]
<rotaerk> (basically building my own project against various versions of nixpkgs to pinpoint which nixpkgs commit broke my project)
<rotaerk> And really don't want to build against versions where I can't pull GHC and GCC and such from the cache
<rotaerk> At least, until I get to the point where I'm really close to the breaking commit
Guest29 has joined #nixos
<worldofpeace> Is there a distinct reason to, when building a go package, to turn the deps into an expression with say dep2nix when the deps are vendored in the source?
Guest12049 has quit [Ping timeout: 248 seconds]
qualiaqq has joined #nixos
<samueldr> rotaerk: maybe you could take commit IDs here https://channels.nix.gsc.io/nixos-unstable/history
<samueldr> they are channel releases
<samueldr> (with unix timestamp to the right)
<rotaerk> Ah, thanks. Will try that
<samueldr> there may be big gaps
<samueldr> but at least you'll have *one* gap
endformationage has quit [Quit: WeeChat 1.9.1]
<rotaerk> Yeah
<samueldr> maybe you could even infer the breaking commit simply by looking at the range, once you know where it broke
raynold has joined #nixos
<qualiaqq> clever, infinisil: adding the plugin path solved the error http://nixpaste.lbr.uno/KYVAvK9C?nix
jmeredith has joined #nixos
jperras has joined #nixos
rschm has joined #nixos
<qualiaqq> clever, infinisil: however, now I'm not able to launch anything. It needs to be able to index and launch applications. I'll have to mess with this more. I guess it needs the PATH.
jperras has quit [Ping timeout: 248 seconds]
worldofpeace has quit [Quit: worldofpeace]
rschm has quit [Ping timeout: 264 seconds]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
phreedom has quit [Ping timeout: 250 seconds]
phreedom has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<colemickens> When I enable a wireguard interface in configuration.nix, the right thing happens.
<colemickens> When I remove it, the kernel module isn't included...
<colemickens> But boot.kernelModules = ["wireguard"]; doesn't seem to help...
<colemickens> any ideas? the wiki doesn't give any hints.
vmandela has joined #nixos
blankhart has quit [Quit: WeeChat 1.9.1]
blankhart has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #43240 → nixos/digitalbitbox: fix evaluation → https://git.io/fNf8B
nD5Xjz has quit [Ping timeout: 244 seconds]
rschm has joined #nixos
worldofpeace has joined #nixos
<colemickens> Never mind, I got it by looking at the networking/wireguard module.
owickstrom has joined #nixos
<joepie91> colemickens: what was the issue?
owickstrom has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #nixos
<colemickens> which seemed to do the trick.
aarvar has joined #nixos
Guanin has quit [Ping timeout: 268 seconds]
Guanin has joined #nixos
owickstrom has joined #nixos
andymandias has quit [Ping timeout: 264 seconds]
worldofpeace has quit [Remote host closed the connection]
<joepie91> colemickens: hm, that might be a bug
<joepie91> that should work out of the box as far as I can tell
worldofpeace has joined #nixos
andymandias has joined #nixos
sbdchd has joined #nixos
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #43142 → super-productivity: init at 1.10.45 → https://git.io/fNvCD
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNf4z
worldofpeace has quit [Remote host closed the connection]
sbdchd has quit [Ping timeout: 256 seconds]
nD5Xjz has joined #nixos
worldofpeace has joined #nixos
tv has joined #nixos
tv has quit [Changing host]
tv has joined #nixos
Guest29 has quit [Quit: Textual IRC Client: www.textualapp.com]
tadni_ has joined #nixos
tadni_ has quit [Read error: Connection reset by peer]
tadni- has joined #nixos
wgas has quit [Quit: Leaving]
jperras has joined #nixos
slack1256 has quit [Ping timeout: 264 seconds]
jperras has quit [Ping timeout: 245 seconds]
winem_ has joined #nixos
hyper_ch2 has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
qualiaqq has quit [Remote host closed the connection]
<vaibhavsagar> hi, how do I specify a nix-shell interpreter of more than one word?
<vaibhavsagar> e.g. nix-shell -i "runhaskell -Wall"
knupfer has joined #nixos
<vaibhavsagar> hmm, that seems to work, but not the single quotes I was using earlier
knupfer has quit [Ping timeout: 276 seconds]
<teto1> vaibhavsagar: nix-shell can be capricious
<vaibhavsagar> I've noticed :)
<vaibhavsagar> I fixed the single quotes but my -p was using single quotes so then that failed
wgas has joined #nixos
rprije has quit [Ping timeout: 260 seconds]
testuser has joined #nixos
thc202 has joined #nixos
juhe has joined #nixos
andreabedini has joined #nixos
<adisbladis[m]> worldofpeace: [go package source]: No. There is no reason to run dep2nix if all dependencies are vendored.
crmlt has joined #nixos
<cocreature> I’m trying to get "nix-build" to work without an internet connection by passing --fallback but it just keeps trying to fetch a .narinfo for a while complaining that it can’t resolve the hostname and then stops
<cocreature> am I misunderstanding what --fallback is supposed to do?
<{^_^}> #1990 (by cleverca22, open): offline binary cache entirely breaks nixos-rebuild
owickstrom has quit [Quit: Leaving]
<cocreature> woffs: thanks!
<cocreature> it looks like "--option build-use-substituse false" works properly
<LnL> I thin --fallback has a bug at the moment
<LnL> weirdly enough --option fallback does work IIRC
Ariakenom has joined #nixos
owickstrom has joined #nixos
nlytend has joined #nixos
broccoli has quit [Quit: leaving]
ThatDocsLady has joined #nixos
jackdk has quit [Ping timeout: 260 seconds]
winem_ has quit [Ping timeout: 265 seconds]
jassob has joined #nixos
<jassob> Hi, anyone that uses NixOS on a Macbook Pro late 2014?
<jassob> The internal SD card reader does not work
Tucky has joined #nixos
andreabedini has quit [Ping timeout: 244 seconds]
jgt has joined #nixos
jperras has joined #nixos
andymandias has quit [Ping timeout: 264 seconds]
stanibanani has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
palo has quit [Ping timeout: 264 seconds]
<Myrl-saki> samueldr: This should support Linux 3.0, I may be wrong though.
<Myrl-saki> samueldr: I've tried building Nix, St and Dmenu on it.
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
andymandias has joined #nixos
gudea[m] has quit [Ping timeout: 240 seconds]
mathis[m] has quit [Ping timeout: 240 seconds]
MaJoe[m] has quit [Ping timeout: 240 seconds]
mtncoder[m] has quit [Ping timeout: 240 seconds]
Wysteriary[m] has quit [Ping timeout: 240 seconds]
Hook[m]1 has quit [Ping timeout: 245 seconds]
fgaz[m] has quit [Ping timeout: 245 seconds]
cryptobilly[m] has quit [Ping timeout: 245 seconds]
M-vh[m] has quit [Ping timeout: 245 seconds]
bobvanderlinden_ has quit [Ping timeout: 245 seconds]
Naughtmare[m] has quit [Ping timeout: 245 seconds]
paperdigits[m] has quit [Ping timeout: 245 seconds]
incospicuous[m] has quit [Ping timeout: 240 seconds]
stigmergik[m] has quit [Ping timeout: 240 seconds]
patrl[m] has quit [Ping timeout: 240 seconds]
peterhoeg has quit [Ping timeout: 240 seconds]
oknf[m] has quit [Ping timeout: 245 seconds]
jameshjacksonjr[ has quit [Ping timeout: 245 seconds]
globin has quit [Ping timeout: 245 seconds]
amiloradovsky[m] has quit [Ping timeout: 240 seconds]
umbe[m] has quit [Ping timeout: 240 seconds]
urien1[m] has quit [Ping timeout: 240 seconds]
YegorTimoshenko[ has quit [Ping timeout: 240 seconds]
happyente[m] has quit [Ping timeout: 240 seconds]
sorbet has quit [Ping timeout: 240 seconds]
ArdaXi1 has quit [Ping timeout: 240 seconds]
florianjacob has quit [Ping timeout: 240 seconds]
jassob has quit [Read error: Connection reset by peer]
M-liberdiko has quit [Ping timeout: 255 seconds]
nico202[m] has quit [Ping timeout: 255 seconds]
octalsrc[m] has quit [Ping timeout: 255 seconds]
M-dpetranek has quit [Ping timeout: 255 seconds]
phdoerfler has joined #nixos
globin has joined #nixos
coot has joined #nixos
abbafei[m] has quit [Ping timeout: 255 seconds]
AlanPearce[m] has quit [Ping timeout: 255 seconds]
davidak[m] has quit [Ping timeout: 255 seconds]
jesper has quit [Ping timeout: 255 seconds]
sgk[m] has quit [Ping timeout: 255 seconds]
YuFanLovezYou[m] has quit [Ping timeout: 255 seconds]
illegalprime[m] has quit [Ping timeout: 245 seconds]
stekke[m] has quit [Ping timeout: 245 seconds]
danbst[m] has quit [Ping timeout: 245 seconds]
nelag[m] has quit [Ping timeout: 245 seconds]
ivanfon[m] has quit [Ping timeout: 245 seconds]
bachp has quit [Ping timeout: 245 seconds]
malteof[m] has quit [Ping timeout: 245 seconds]
Khorne[m] has quit [Ping timeout: 240 seconds]
PeterRomfeld[m] has quit [Ping timeout: 240 seconds]
admin[m]4 has quit [Ping timeout: 240 seconds]
M-manveru has quit [Ping timeout: 240 seconds]
Minijackson[m] has quit [Ping timeout: 240 seconds]
NickHu has quit [Ping timeout: 255 seconds]
mith[m] has quit [Ping timeout: 240 seconds]
dadadus[m] has quit [Ping timeout: 245 seconds]
EB[m] has quit [Ping timeout: 245 seconds]
Phil[m]3 has quit [Ping timeout: 245 seconds]
ldesgoui[m] has quit [Ping timeout: 245 seconds]
bhipple[m] has quit [Ping timeout: 245 seconds]
pierrebeaucamp[m has quit [Ping timeout: 240 seconds]
attero has quit [Ping timeout: 240 seconds]
herzmeister[m] has quit [Ping timeout: 240 seconds]
nh2[m] has quit [Ping timeout: 240 seconds]
bluewolfy[m] has quit [Ping timeout: 255 seconds]
colmeka[m] has quit [Ping timeout: 255 seconds]
zurk[m] has quit [Ping timeout: 255 seconds]
semyon[m] has quit [Ping timeout: 255 seconds]
ipj[m] has quit [Ping timeout: 255 seconds]
PlasmaStrike[m] has quit [Ping timeout: 240 seconds]
magnap has quit [Ping timeout: 240 seconds]
trikl[m] has quit [Ping timeout: 240 seconds]
Adev[m] has quit [Ping timeout: 255 seconds]
knupfer has joined #nixos
crmlt has quit [Ping timeout: 255 seconds]
jassob has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon3 is now known as Mateon1
<nikivi> I can't globally install npm packages now that I use Nix
<nikivi> Get this error: checkPermissions Missing write access to /nix/store/lb3c2bs4hphvh0sg3zdn8pz5kqxyd3ll-nodejs-9.11.1/lib/node_modules
<nikivi> is there any way to get around it?
<nikivi> I tried to install: npm install -g nodemon
<nikivi> I can't globally install any node commands it seems
knupfer has quit [Ping timeout: 240 seconds]
<worldofpeace> adisbladis[m]: Thanks.
MaJoe[m] has joined #nixos
Hook[m]1 has joined #nixos
<joepie91> nikivi: I've done `npm set prefix ~/.npm-global` under my own user, created that folder, and added it to PATH in my .bashrc
<nikivi> joepie91 should I then add ~/.npm-global to my PATH?
<joepie91> nikivi: if you want to be able to run -g installed packages like they're system-global, then yes
<nikivi> I have export PATH=$PATH:~/.npm-global # npm globally installed in my zshrc
winem_ has joined #nixos
<nikivi> but can't access the installed tool
jensens has joined #nixos
knupfer has joined #nixos
jgt has quit [Quit: WeeChat 2.1]
<nikivi> oh its npm-global/bin I think
<nikivi> that worked, thanks joepie91
<{^_^}> [nixpkgs] @peterhoeg opened pull request #43243 → sddm: use tmpfiles.d to wipe QML cache → https://git.io/fNfzx
<nikivi> what happened to previous npm global default location?
<joepie91> oh whoops, yeah, bin subdirectory
<joepie91> nikivi: the previous global dir was just a default
<joepie91> it's now no longer used when you run npm under your user
sorbet has joined #nixos
AlanPearce[m] has joined #nixos
mtncoder[m] has joined #nixos
M-dpetranek has joined #nixos
M-liberdiko has joined #nixos
ivanfon[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
<joepie91> (the config option is stored in ~/.npmrc I believe)
<nikivi> joepie91 I just want to remove it as it's not used
<nikivi> so my OS is clean
<joepie91> nikivi: the original path is part of the Node.js build; it's not been modified (that's why you got the write access error)
<joepie91> you can't and shouldn't remove it
bachp has joined #nixos
M-vh[m] has joined #nixos
gudea[m] has joined #nixos
stekke[m] has joined #nixos
mathis[m] has joined #nixos
nico202[m] has joined #nixos
jesper has joined #nixos
peterhoeg has joined #nixos
MarcWeber has quit [Remote host closed the connection]
trikl[m] has joined #nixos
YuFanLovezYou[m] has joined #nixos
orivej has joined #nixos
nh2[m] has joined #nixos
illegalprime[m] has joined #nixos
zurk[m] has joined #nixos
abbafei[m] has joined #nixos
amiloradovsky[m] has joined #nixos
nelag[m] has joined #nixos
bobvanderlinden_ has joined #nixos
happyente[m] has joined #nixos
sgk[m] has joined #nixos
paperdigits[m] has joined #nixos
mith[m] has joined #nixos
attero has joined #nixos
EB[m] has joined #nixos
<nikivi> I get this error trying to install postgis https://hastebin.com/capayewura
Minijackson[m] has joined #nixos
florianjacob has joined #nixos
stigmergik[m] has joined #nixos
<nikivi> it just gives warning but installs nothing, I am using macOS
herzmeister[m] has joined #nixos
danbst[m] has joined #nixos
semyon[m] has joined #nixos
incospicuous[m] has joined #nixos
patrl[m] has joined #nixos
ipj[m] has joined #nixos
colmeka[m] has joined #nixos
octalsrc[m] has joined #nixos
fractalcat has quit [Quit: WeeChat 2.1]
admin[m]4 has joined #nixos
oknf[m] has joined #nixos
bluewolfy[m] has joined #nixos
Phil[m]3 has joined #nixos
PlasmaStrike[m] has joined #nixos
Khorne[m] has joined #nixos
cryptobilly[m] has joined #nixos
umbe[m] has joined #nixos
malteof[m] has joined #nixos
urien1[m] has joined #nixos
ldesgoui[m] has joined #nixos
PeterRomfeld[m] has joined #nixos
davidak[m] has joined #nixos
Naughtmare[m] has joined #nixos
jameshjacksonjr[ has joined #nixos
NickHu has joined #nixos
Wysteriary[m] has joined #nixos
fgaz[m] has joined #nixos
magnap has joined #nixos
dadadus[m] has joined #nixos
Adev[m] has joined #nixos
ArdaXi1 has joined #nixos
YegorTimoshenko[ has joined #nixos
M-manveru has joined #nixos
<{^_^}> [nixpkgs] @bricewge opened pull request #43244 → drone-cli: add package → https://git.io/fNfgb
bhipple[m] has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Taneb has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
coot has quit [Quit: coot]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @Enzime opened pull request #43245 → syncplay: 1.5.3 -> 1.5.5 → https://git.io/fNf2d
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
owickstrom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #43246 → lollypop: 0.9.516 -> 0.9.519 → https://git.io/fNfaS
sigmundv has joined #nixos
<LnL> nikivi: Package ‘postgis-2.4.4’ is not supported on ‘x86_64-apple-darwin’, refusing to evaluate.
<{^_^}> [nixpkgs] @worldofpeace opened pull request #43247 → solargraph: 0.22.0 -> 0.23.3 → https://git.io/fNfV0
kerrhau has quit [Ping timeout: 276 seconds]
andreabedini has joined #nixos
knupfer has joined #nixos
aszlig has quit [Quit: Kerneling down for reboot NOW.]
mariatsji has joined #nixos
aszlig has joined #nixos
mmercier_ has joined #nixos
<{^_^}> [nixpkgs] @leenaars opened pull request #43248 → spoofer: init at 1.3.2 → https://git.io/fNfwA
knupfer has quit [Ping timeout: 264 seconds]
rihards has joined #nixos
stanibanani has quit [Ping timeout: 268 seconds]
humanoyd has joined #nixos
civodul has joined #nixos
yonk23 has joined #nixos
knupfer has joined #nixos
pie__ has joined #nixos
worldofpeace has quit [Quit: worldofpeace]
worldofpeace has joined #nixos
spinus has joined #nixos
<{^_^}> [nixpkgs] @wmertens pushed to node-10.6.0 « NodeJS: 10.5.0 -> 10.6.0 »: https://git.io/fNfrQ
<{^_^}> [nixpkgs] @wmertens opened pull request #43250 → NodeJS: 10.5.0 -> 10.6.0 → https://git.io/fNfrd
jperras has joined #nixos
<{^_^}> [nixpkgs] @wmertens pushed to node-10.6.0 « nodejs: fix wrong hash »: https://git.io/fNfo8
jperras has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #43246 → lollypop: 0.9.516 -> 0.9.519 → https://git.io/fNfaS
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNfKB
fendor has joined #nixos
michalrus has left #nixos ["WeeChat 1.9.1"]
<{^_^}> [nixpkgs] @adisbladis merged pull request #43247 → solargraph: 0.22.0 -> 0.23.3 → https://git.io/fNfV0
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNfKR
phdoerfler has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @wmertens closed pull request #43250 → NodeJS: 10.5.0 -> 10.6.0 → https://git.io/fNfrd
<{^_^}> [nixpkgs] @wmertens pushed 0 commits to node-10.6.0: https://git.io/fNfKy
coot has joined #nixos
simukis has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 8 commits to release-18.03: https://git.io/fNf6O
<{^_^}> [nixpkgs] @vcunat merged pull request #43235 → linux: Backports linux kernel 4.17 to 18.03 → https://git.io/fNfOh
Jasper__ has joined #nixos
Jasper__ has left #nixos [#nixos]
ericsagnes has quit [Ping timeout: 260 seconds]
mariatsji has quit [Remote host closed the connection]
philippD has joined #nixos
mariatsji has joined #nixos
alexteves has joined #nixos
mariatsji has quit [Ping timeout: 240 seconds]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
<worldofpeace> adisbladis[m]: thx :)
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
betaboon has joined #nixos
knupfer has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #43240 → nixos/digitalbitbox: fix evaluation → https://git.io/fNf8B
<{^_^}> [nixpkgs] @xeji pushed 5 commits to master: https://git.io/fNfiP
mroutis has joined #nixos
<betaboon> samueldr: yesterday i saw in here that you backported kernel4.17, right? it didnt arrive yet in 18.03-channel ?
<adisbladis[m]> Np :)
chimay has joined #nixos
<adisbladis[m]> betaboon: It was merged ~20 minutes ago
<betaboon> ah, didnt look at the time :/
blankhart has quit [Ping timeout: 240 seconds]
<Taneb> I'd like to spend some effort in improving the nix story for Agda some time
Guanin has quit [Remote host closed the connection]
<betaboon> adisbladis[m]: do you have an idea how long it takes to propagate to the channel ? :P
knupfer has joined #nixos
<adisbladis[m]> !stuck
<adisbladis[m]> 18.03 is looking fine, so shouldn't be more than a few hours
<betaboon> thank you :)
<{^_^}> [nixpkgs] @edolstra pushed 4 commits to master: https://git.io/fNfP1
Guanin has joined #nixos
<{^_^}> [nixpkgs] @edolstra closed pull request #42348 → rustc: 1.26.2 -> 1.27.0 → https://git.io/flbGO
MercurialAlchemi has joined #nixos
jassob has quit [Ping timeout: 240 seconds]
mmercier_ has quit [Ping timeout: 264 seconds]
Akii has quit [Quit: ZNC 1.6.5 - http://znc.in]
<{^_^}> [nixpkgs] @xeji pushed commit from @leenaars to master « botan: 2.6.0 -> 2.7.0 (#43223) »: https://git.io/fNfXh
<{^_^}> [nixpkgs] @xeji merged pull request #43223 → botan: 2.6.0 -> 2.7.0 → https://git.io/fNvAD
NinjaTrappeur has joined #nixos
Akii has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d1eac656008 (from 52 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43245 → syncplay: 1.5.3 -> 1.5.5 → https://git.io/fNf2d
<{^_^}> [nixpkgs] @xeji pushed commit from @Enzime to master « syncplay: 1.5.3 -> 1.5.5 (#43245) »: https://git.io/fNf1P
<{^_^}> [nixpkgs] @xeji closed pull request #43155 → syncplay: 1.5.3 -> 1.5.4 → https://git.io/fNvrZ
<viric> sha256sum runs super slow; it should pick openssl's at least... I wonder why it does not.
ericsagnes has joined #nixos
<Taneb> Which version of nixpkgs does https://nixos.org/nixos/packages.html index?
<Taneb> Latest stable?
<LnL> yes
<Taneb> Thanks
wgas has quit [Quit: Leaving]
alex`` has joined #nixos
<joepie91> which indexes more stuff
<Taneb> joepie91: oh, that's neat
<{^_^}> [nixpkgs] @edolstra pushed to master « pciutils: 3.5.6 -> 3.6.0 »: https://git.io/fNfMr
yonk23 has quit [Ping timeout: 255 seconds]
freeman42x]NixOS has joined #nixos
aarvar has quit [Ping timeout: 244 seconds]
Neo-- has joined #nixos
silver has joined #nixos
__monty__ has joined #nixos
iyzsong has joined #nixos
<Guanin> Hi, I've written a long-running oneshot systemd service. Whenever I run nixos-rebuild, it seems to restart it. I've set restartIfChanged and stopIfChanged to false, but it still seems to run every time I rebuild the system?
init_6 has joined #nixos
rprije has joined #nixos
<LnL> I think restartIfChanged is for running services
kyren has quit [Remote host closed the connection]
kyren has joined #nixos
yonk23 has joined #nixos
silver has quit [Read error: Connection reset by peer]
reinzelmann has quit [Ping timeout: 240 seconds]
rihards has quit [Quit: rihards]
<{^_^}> [nixpkgs] @timokau closed pull request #42918 → [WIP] pythonPackages.cvxopt: fix transient test failure → https://git.io/fQPoL
reinzelmann has joined #nixos
w17t has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
alex`` has joined #nixos
jensens has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
<Guanin> Here is the service I'm talking about: https://clbin.com/HLUts
himmAllRight has quit [Remote host closed the connection]
himmAllRight has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
knupfer has quit [Ping timeout: 256 seconds]
<__monty__> Did you enable the service?
iyzsong-x has joined #nixos
seafood has joined #nixos
<Guanin> Oh, it seems so
iyzsong has quit [Ping timeout: 245 seconds]
<Guanin> It is enabled (systemctl is-enabled says it is), but I cant disable it, as it is on a r/o filesystem
<sphalerite> Guanin: you can disable it in the nixos config
lnikkila has joined #nixos
<Guanin> sphalerite, you mean setting enable = false;?
<sphalerite> yeah
<Guanin> Then the timer to run it daily is gone
<Guanin> And the unit is masked and can not be started
<sphalerite> oh right
<viric> libressl (and coreutils) sha256 is 4x slower than openssl's
<viric> mpf.
<sphalerite> Guanin: Then maybe what you want is to remove the wantedBy
andymandias has quit [Ping timeout: 264 seconds]
<Guanin> Seems to work :) Thanks
<Guanin> It only started the timer now
iyzsong-x has quit [Quit: ZNC 1.7.0 - https://znc.in]
juhe has quit [Remote host closed the connection]
iyzsong has joined #nixos
andymandias has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
stepcut has joined #nixos
humanoyd has quit [Quit: WeeChat 2.1]
ThatDocsLady has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cac85f68122 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
crmlt has joined #nixos
dejanr has quit [Ping timeout: 240 seconds]
kyren has quit [Ping timeout: 255 seconds]
johanot has joined #nixos
neof0x has quit [Ping timeout: 265 seconds]
kyren has joined #nixos
seanparsons has quit [Quit: ZNC 1.6.5 - http://znc.in]
seanparsons has joined #nixos
dejanr has joined #nixos
mmercier_ has joined #nixos
neof0x has joined #nixos
alex`` has quit [Ping timeout: 244 seconds]
logzet has joined #nixos
<infinisil> Btw, you can now directly link to nixpkgs files by doing e.g. <all-packages.nix> or <hello/default.nix>
<{^_^}> [nixpkgs] @roberth pushed to haskell-outputs-bin-etc-lib « haskell generic builder: avoid redundant lib output on darwin »: https://git.io/fNf5z
mariatsji has joined #nixos
<etu> infinisil: Oh, that's handy :)
nuncanada has joined #nixos
<etu> <stupidterm/default.nix>
mariatsji has quit [Remote host closed the connection]
<etu> :)
mariatsji has joined #nixos
<worldofpeace> ,<lollypop/default.nix>
<worldofpeace> infinisil: you did this?
<joepie91> <lollypop>
<joepie91> it does an endswith match?
crmlt has quit [Ping timeout: 244 seconds]
<worldofpeace> ,<lollypop>
<infinisil> worldofpeace: Ye
<infinisil> joepie91: Yup
<worldofpeace> awesome
<infinisil> <setup.sh> <make-derivation.nix>
<etu> <default.nix>
<infinisil> That one is blacklisted :)
<etu> :D
<etu> <efault.nix>
<infinisil> Heh
<worldofpeace> ?
<etu> Ok, it capped to one at least:)
<worldofpeace> <deps.nix>
<infinisil> Yeah, it chooses the most popular one by commit count
<worldofpeace> I'll find some way to abuse it :P
<rschm> hi, i am using nix for vim install on a macos. is there a way to pull down vim plugin which is a submodule of another project on github? thanks.
mariatsj_ has joined #nixos
MercurialAlchemi has quit [Ping timeout: 240 seconds]
Xiro` has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
jensens has joined #nixos
mariatsji has quit [Ping timeout: 260 seconds]
<infinisil> rschm: What are you using for managing vim plugins?
mariatsj_ has quit [Ping timeout: 240 seconds]
<rschm> i am using the buildVimPlugin to bring down the plugin code.
<rschm> but i am not sure how to do that with submodule.
<infinisil> rschm: Submodules are just git repos, on github you can just click on the submodule to get to the other repo
<rschm> you mean the parent repo?
<infinisil> rschm: Then it's a normal src = fetchFromGitHub { owner = ... to get it to use that repo as a source
<infinisil> Yeah, parent repo can have submodules as 'children'
<infinisil> Which are full repos in of themselves
<rschm> i am trying to get this plugin https://github.com/RedPRL/sml-redprl/tree/master/vim
<rschm> how do i define the buildVimPlungin? from what i see i need the .git file.
vmandela has quit [Quit: Leaving]
camsbury has joined #nixos
<talyz> adisbladis[m]: had any time to look at my PR again? :)
leo60228 has joined #nixos
<leo60228> What's the best practice for a service that depends on another service enabling security options on that service?
jensens has quit [Ping timeout: 244 seconds]
<leo60228> For example, I'm writing a custom module that provides a git-annex server service, which is effectively an ssh server with a user that has a public key and with the shell git-annex-shell.
<leo60228> Should I: do nothing about password authentication, disable password authentication, or set it to mkDefault false?
<rschm> infinisil: can you give an example how do i write the buildVimPlugin? thanks for your help.
<leo60228> Setting a user whitelist seems intuitively overreaching.
<makefu> gchristensen: i saw you implemented NIX_SSL_CERT_FILE, unfortunately it does not seem that it is enough to make a complete installation through an intercepting proxy. when running nix-channel --update nixpkgs (as part of the install script) it crashes with "peer certificate cannot be authenticated with given CA certificates"
<leo60228> Also, IMO either ChallengeResponseAuthentication or PasswordAuthentication should be disabled. ChallengeResponseAuthentication defaults to a more secure implementation of PasswordAuthentication, so I don't think they should both be enabled by default.
<jophish> I created a keypair using nix-store and have added the secret key to secret-key-files in /etc/nix/nix.conf and the public key to nix.binaryCachePublicKeys
<jophish> however when I use 'nix copy --to ssh://blah /nix/store/blah' I get a 'lacks a valid signature'
<gchristensen> makefu: hmmm.... works from here..?
<jophish> I'm sure I've solved this issue a couple of times in the past, but I keep forgetting how to do it every time on a new machine
<timokau[m]> I have a package that requires all its *reverse* dependencies to be build with `-std=c++11`. Is there a nice way to accomplish that? Also what is the default C stdlib and what is the best way to change it?
<makefu> gchristensen: i've just read about the /etc/bashrc, i will try that as well
<gchristensen> ok
jmiven has quit [Quit: pan]
<jophish> hmm, setting secret-key-files to a non-existent file doesn't throw an erroir
jmiven has joined #nixos
ajs124 has joined #nixos
fendor has quit [Ping timeout: 255 seconds]
<gchristensen> makefu: https://nixos.org/nix/manual/#sec-nix-ssl-cert-file you followed these in order?
<infinisil> rschm: Hold on
reinzelmann has quit [Quit: Leaving]
<rschm> thanks for your help.
fendor has joined #nixos
<makefu> gchristensen: yes, the first step (installing nix) worked but the nix-channel --update fails
<gchristensen> like inside the installer?
<makefu> yep
<jophish> is there a tool to view the signatures on a path?
w17t has quit [Read error: Connection reset by peer]
jperras has joined #nixos
<gchristensen> makefu: :/ just tested it again, it works from here ...
<gchristensen> makefu: can you send me `env | grep proxy` ?
rprije has quit [Ping timeout: 240 seconds]
<makefu> http_proxy=http://use:pass@proxy-addr:8000/
kerrhau has quit [Ping timeout: 245 seconds]
<gchristensen> no https_proxy or HTTPS_PROXY or HTTP_PROXY?
<makefu> https_proxy is the same, HTTPS_PROXY is not set
nuncanada has quit [Quit: Leaving]
nlytend has quit [Read error: Connection reset by peer]
<gchristensen> https_proxy is set to literally the exact same contents? you're 100% sure?
<gchristensen> (check carefully)
<makefu> yep, also http://
<joko> Hey, is anyone using pcmanfm? I have trouble using default applications, it appears MIME types are not working
<gchristensen> I seem to remember a bug here
<makefu> is there a way to get more logs from nix-channel?
<gchristensen> "(FWIW the problem is with https_proxy="https://foobar:1111" old curl will ignore https and substitute in http, new curl can handle HTTPS proxies, and will try to negotiate TLS with the proxy server.)" -- not applicable :(
<makefu> damn
<gchristensen> makefu: try using Nix's curl instead of your system curl to fetch it
<makefu> good idea
sk8forether has joined #nixos
<infinisil> rschm: Hmm, something like this, but it doesn't quiet work yet: https://gist.github.com/d1902783995ef65a42d13b54588d60c5
nlytend has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #43153 → home-assistant: 0.72.1 -> 0.73.0 → https://git.io/fNvwI
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fNfpy
<infinisil> rschm: I think the plugin builds correctly as I show in that gist, I probably got just the vim_configurable thing wrong
blankhart has joined #nixos
testuser has quit [Quit: Leaving]
igo95862 has joined #nixos
<makefu> gchristensen: the installer only comes with libcurl, so there is nothing to test directly
<makefu> but maybe the installed nix package is already enough and i can sideload nixpkgs into my NIX_PATH
<gchristensen> yea
toby1851 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #43225 → anydesk: fix application shortcut → https://git.io/fNvjS
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fNfhS
<{^_^}> [nixpkgs] @peterhoeg merged pull request #43220 → qtox: 1.15.0 -> 1.16.1 → https://git.io/fNvd2
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/fNfhF
<mpickering> Can someone set off OfBorg builds please of https://github.com/NixOS/nixpkgs/pull/43218
<{^_^}> #43218 (by mpickering, open): whitebox-tools: init at 0.9.0
<infinisil> ,MCVE = Create a Minimal Complete and Verifiable Example when you have a problem, it helps a lot with troubleshooting. How to: https://stackoverflow.com/help/mcve
<{^_^}> MCVE defined
<{^_^}> [nixpkgs] @xeji merged pull request #43003 → igv: 2.4.10 -> 2.4.11 → https://git.io/fbx0h
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « igv: 2.4.10 -> 2.4.11 (#43003) »: https://git.io/fNfjM
<{^_^}> [nixpkgs] @xeji merged pull request #43023 → fricas: 1.3.3 -> 1.3.4 → https://git.io/fbpLl
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fricas: 1.3.3 -> 1.3.4 (#43023) »: https://git.io/fNfj5
<{^_^}> [nixpkgs] @xeji merged pull request #43000 → kcgi: 0.10.6 -> 0.10.7 → https://git.io/fbx0f
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « kcgi: 0.10.6 -> 0.10.7 (#43000) »: https://git.io/fNJe3
<{^_^}> [nixpkgs] @xeji merged pull request #42976 → libsForQt5.mlt: 6.8.0 -> 6.10.0 → https://git.io/fbxC4
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libsForQt5.mlt: 6.8.0 -> 6.10.0 (#42976) »: https://git.io/fNJeR
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<makefu> gchristensen: damn, same issue. i tried to build nix from source but it seems it desperately needs gcc with c++14 . not available on the centos7 i run on
<rschm> infinisil: thanks let me check.
<{^_^}> [nixpkgs] @xeji merged pull request #43162 → scantailor-advanced: 1.0.14 -> 1.0.15 → https://git.io/fNvKQ
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « scantailor-advanced: 1.0.14 -> 1.0.15 (#43162) »: https://git.io/fNJe5
<{^_^}> [nixpkgs] @xeji merged pull request #43152 → vim-vint: 0.3.18 -> 0.3.19 → https://git.io/fNvVH
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « vim-vint: 0.3.18 -> 0.3.19 (#43152) »: https://git.io/fNJex
<hyper_ch2> hmmm, still no reply as to why the nix file for guessit 2.0 was updated to use guessit 3.0 and hence breaking stuff
jensens has joined #nixos
<rschm> infinisil: i am trying out the snippet now.
seafood has quit [Quit: seafood]
endformationage has joined #nixos
drewr has quit [Remote host closed the connection]
humanoyd has joined #nixos
<rschm> infinisil: seems to build building '/nix/store/nipamq2361ipzg2v6lkvi32cqpf39fxr-vimplugin-vim-redprl.drv'.
<rschm> let me grok it and see. thanks for your help.
pie__ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
drewr has joined #nixos
rschm has quit [Remote host closed the connection]
dbmikus has joined #nixos
joko has quit [Changing host]
joko has joined #nixos
fendor has quit [Ping timeout: 244 seconds]
<BlessJah> Was something changed in linuxPackages in recent days?
alex`` has joined #nixos
<BlessJah> My systems fail to upgrade as if linuxPackages_4_15, 4_16 were dropped.
init_6 has quit [Ping timeout: 240 seconds]
<Dezgeg> they are end of life according to kernel.org
justme_ has joined #nixos
andymandias has quit [Ping timeout: 255 seconds]
<BlessJah> Is that why they were dropped? Or is it just observation?
<Dezgeg> presumably that's the reason
Neo-- has quit [Ping timeout: 244 seconds]
<justme_> Hi! Could you advise which hardware is better to purchase for NixOS desktop or laptop? Perhaps arm devboard is also an option?
Tucky has quit [Remote host closed the connection]
<justme_> I mean, for home use. Is it ok to use SSD? And it seems nix consumes a lot of memory when running nixos-rebuild.
<gchristensen> I use it on a laptop, ssd is fine
<gchristensen> http://grahamc.com/blog/nixos-on-dell-9560 this one specifically
xy2_ has quit [Ping timeout: 245 seconds]
andymandias has joined #nixos
nlytend has quit [Read error: Connection reset by peer]
<hyper_ch2> I use a notebook with 2 ssd which are in zfs mirror mode with 16gb ram
<justme_> gchristensen, hyper_ch2: okay, thank you!
<gchristensen> in general
<gchristensen> NixOS works on a wide array of hardware, though x86 is best supported and should probably have 4+GB RAM and a nice sized disk (I'd hesitate before getting less than 128G)
zopsi has quit [Quit: Oops]
<gchristensen> erm, less than 256G
mmercier_ has quit [Quit: mmercier_]
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
zopsi has joined #nixos
Ariakenom has quit [Ping timeout: 244 seconds]
<justme_> gchristensen: Probably, there may be problems with Wi-Fi drivers?
<hyper_ch2> depends on the wifi
<gchristensen> and nothing unique to nixos
<hyper_ch2> using non-latest intel wifi usually works fine
andromeda-galaxy has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed to master « home-assistant: 0.73.0 -> 0.73.1 »: https://git.io/fNJTd
<justme_> Yes, I know, it's a Linux kernel problem.
<Lears> My NixOS partition on my desktop is only 35GB and it's fine. Still has 15GB free.
andromeda-galaxy has joined #nixos
<Lears> Though one time I did run out of space because some recurring error grew my .xsession-errors to 21 GB. Oops.
<gchristensen> Lears: wow!
<justme_> :)
xy2_ has joined #nixos
<gchristensen> oohh I remembered wrong, I had a nixos sytem with a 30gb disk and that was way too small. 128G might be just fine ...!
sir_guy_carleton has joined #nixos
<BlessJah> 128G should be fine, my /nix weight about 30GiB now
<clever> Filesystem Size Used Avail Use% Mounted on
rschm has joined #nixos
<clever> amd/nix 65G 60G 4.5G 94% /nix
<clever> naspool/root 56G 52G 4.2G 93% /
<clever> /dev/disk/by-uuid/3c21b4a1-bc19-449b-815f-60c66ba23bdf 74G 53G 18G 76% /
dan_ has joined #nixos
<clever> tank/nix 52G 45G 7.2G 87% /nix
rschm has quit [Read error: Connection reset by peer]
dan_ is now known as Guest38719
rschm has joined #nixos
Guest38719 has quit [Client Quit]
mroutis has quit [Ping timeout: 245 seconds]
hyper_ch2 has quit [Quit: Page closed]
<justme_> clever: thank you, this may be helpful
johanot has quit [Quit: Leaving.]
justme_ has quit [Quit: Page closed]
Basic_Dud3 has joined #nixos
Basic_Dud3 has left #nixos [#nixos]
numkem has joined #nixos
nlytend has joined #nixos
Sonarpulse has joined #nixos
<mpickering> Looks like rustc-1.27.0 is broken?
drakonis_ has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
knupfer has joined #nixos
<numkem> Hello, I'm starting to get used to use nix-shell and whatnot but I can't seem to make protobuf work for one of my project. When launching the app I get this message: -glibc-2.27/lib/librt.so.1: symbol __close_nocancel, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference. Yet it works fine within a container
<Myrl-saki> gchristensen: I've lived on a 32 GB /
<Myrl-saki> 0/10, would not recommend.
<Myrl-saki> But it's possible
jperras has quit [Ping timeout: 276 seconds]
<gchristensen> yeah it was possible but miserable
goibhniu has quit [Ping timeout: 244 seconds]
<andi-> I have a few servers running on 20G disk space.. garbage collection every day after update...
mroutis has joined #nixos
<andi-> works fine
numkem has quit [Quit: WeeChat 2.0]
Intensity has joined #nixos
numkem has joined #nixos
<gchristensen> canyou keep >1 generation?
<andi-> yes
<andi-> it runs on defaults
<andi-> it also runs on 1G of RAM (with 1G of swap)
<gchristensen> incredible
<andi-> right now just 8.1GB used.. and that thing stores graphite time series...
<gchristensen> ahh nice
<gchristensen> I don't have such small expectations of much of my hardware
<andi-> :)
<gchristensen> except for my router, which is quite minimal
<andi-> I am still procrastinating migrating my home router to NixOS..
rschm has quit [Remote host closed the connection]
<gchristensen> come on in, the waters fine
<andi-> hrhr
<infinisil> Procrastination is my philosophy
<srhb> andi-: Out of curiousity, did you forgo the nix 2 upgrade?
rschm has joined #nixos
<andi-> forgo?
<srhb> Skip
goibhniu has joined #nixos
<andi-> no
<srhb> Wow. They must be very minimal indeed to fit in 2G memory then.
<andi-> its even running nixUnstable..
<srhb> andi-: Ah, that explains.
<gchristensen> andi-: https://github.com/grahamc/network/blob/master/lord-nibbler/router.nix if you need some inspiration
<srhb> andi-: I believe some/all of the memory leaky fixes are in there, but not stable.
<andi-> gchristensen: thanks, I'll definitly have a look... part of the upgrade will be a switch of hardware.. I did not manage to settle on anything yet
<gchristensen>
<gchristensen> ah
<gchristensen> I'm using a apu2c4 and a juniper switch
<{^_^}> [nixpkgs] @matthewbauer opened pull request #43256 → xcbuild refactor → https://git.io/fNJmY
Intensity has quit [Changing host]
Intensity has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #43257 → Revert removal of `linux_testing_bcachefs` from "linux: remove versions unmaintained upstream" → https://git.io/fNJml
<andi-> I am doing a bit of bittorent on the router.. thus I need 20G+ of RAM..
rihards has joined #nixos
<andi-> so the choice isn't very easy there
<gchristensen> I mean ... you could do it not on the router ...
<andi-> yes
<andi-> but then yet another machine..
blankhart has quit [Read error: Connection reset by peer]
<andi-> I have 1 x86 router that does (historically) the network foo + some torrenting, a server that serves as NAS/VM-Host with two (now ancient) Xenos, a Desktop and a bunch of notebooks..
<andi-> It's just me being lazy
<gchristensen> how much torrenting can you do with just linux ISOs and other free/libre content
blankhart has joined #nixos
<andi-> alot!
<andi-> imagine every package being a torrent..
<gchristensen> imagine having to establish peers for every single drv you build
<infinisil> Ipfs!
<samueldr> ipfs sounds like a painful onomatopeia
rschm has quit [Remote host closed the connection]
rschm has joined #nixos
<gchristensen> oh look at the time, it is silly-convo-o'clock
* manveru shoves people into #nixos-chat :)
<andi-> I think IPFS would be a nice thing.. if it works
<gchristensen> manveru++
<{^_^}> manveru's karma got increased to 1
<samueldr> on a more serious note, other than the light guidelines for backporting, there are no backport team or anything more formal written down, right?
<gchristensen> samueldr: that should be part of the responsibilities of the PR author (determine if it is appropriate) and merger -- (to agree or not if a backport is appropriate)
<andi-> samueldr: not that I know... It would proably be nice if we had a guideline (non binding, informal)
<gchristensen> agreed
<samueldr> r-ryantm seems to not care (understandably) for backports
<srk> I'm now trying to run hydra slaves without disk, only 12G overlayfs in 24G ram
goibhniu1 has joined #nixos
<srk> works fine if I garbage collect often enough
<clever> srk: nix now has a min-free and max-free config flag, for auto-gc
<samueldr> and I'm sure many point updates from unstable aren't even being considered by their authors for unstable
<srk> clever: wow! that's handy for this use case
jperras has joined #nixos
<samueldr> (I would assume the authors themselves use unstable)
<samueldr> s/for unstable/for stable/
<clever> srk: both are in bytes, in nix.conf
<srk> will try for sure
goibhniu has quit [Ping timeout: 240 seconds]
goibhniu1 is now known as goibhniu
graphene has quit [Remote host closed the connection]
<andi-> samueldr: yes.. I see the same.. It makes me a bit angry from time to time
graphene has joined #nixos
<srk> in fedora, you would push updates everywhere if it was just minor version bump, breaking changes only went to rawhide
<samueldr> for 18.09, maybe it would be relevant to figure out a team or system to try and keep updates trickling in stable
<drakonis_> unstable say what now
<srk> you could run a bot, that would try to apply backports automatically where it makes sense
<gchristensen> it is a very human decision
<srk> like only backport if minor/micro part version changes
<srk> *of the
<andi-> samueldr: well I guess tooling is the only thing the holds us back.. Provide people with a list of things that were (minor) bumped or a newer (in only minor versions) and someone could have a go at it
<gchristensen> you have to read and understand the changelog to decide
<andi-> but yeah. changelogs become important (again)
<srk> indeed
<samueldr> there is software which don't do semver, which sometimes bump "major" but changes are minimal, and sometimes bump "minor" and changes are big :/
<samueldr> so automatisation is hard
__monty__ has quit [Quit: leaving]
<andi-> well you need the diff of packages / upgrades over time in some sort of list. That automation is reasonably easy. I wouldn't want to work myself through the git log every other day...
<gchristensen> that was the most miserable thing
<gchristensen> looking through commit logs to send out advisory emails just about killed me
<{^_^}> [nixpkgs] @vcunat pushed commit from Kim Ingmar Ferenc ALLAMANDOLA to master « nilfs-utils: force enable limbount support »: https://git.io/fNJO2
mmercier_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from Kim Ingmar Ferenc ALLAMANDOLA to release-18.03 « nilfs-utils: force enable limbount support »: https://git.io/fNJ3l
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #33589 → make-derivation: Don't add host-suffix to fixed-output derivations names → https://git.io/vNIOE
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fNJ3K
<{^_^}> [nixpkgs] @matthewbauer opened pull request #43259 → unixtools refactor → https://git.io/fNJ3i
<makefu> gchristensen: i think i have an idea what may be a problem .... the intercepting proxy downgrades all ssl stuff to dh1024, the nix curl is configured with cipher suites "!LOW" ... what a pain
<pie_> what do you guys burn dvds with
<pie_> more like intercepting proxy baad
<pie_> :P
<{^_^}> [nixpkgs] @Assassinkin opened pull request #43260 → pythonPackages.sumo: init at 1.0.9 ( And other packages that sumo depends on) → https://git.io/fNJ3D
spinus has quit [Ping timeout: 240 seconds]
iyzsong has quit [Read error: Connection reset by peer]
mmercier_ has quit [Ping timeout: 244 seconds]
pie__ has joined #nixos
pie_ has quit [Ping timeout: 244 seconds]
igo95862 has quit [Quit: igo95862]
ihar has joined #nixos
<jophish> kk
doyougnu has joined #nixos
humanoyd has quit [Quit: WeeChat 2.1]
jb55 has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
__monty__ has joined #nixos
acarrico has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed to master « haskell generic-builder: Make test and benchmark tool depends `nativeBuildInputs` »: https://git.io/fNJnC
winem_ has quit [Ping timeout: 245 seconds]
<pie__> unstable, or at least some applications seem to have issues with qt
<pie__> QT_PLUGIN_PATH doesnt end up getting set or something and so programs fail with a slightly misleading error message about not finding xcb
<pie__> wel at least i run into this when doing nix-shell -p k3b
<pie__> and ivehad similar issues before with other things
sigmundv has quit [Ping timeout: 276 seconds]
<pie__> hmm google never brought this page up for me oddly enough
blankhart has joined #nixos
nlytend has quit [Ping timeout: 264 seconds]
drakonis_ has quit [Remote host closed the connection]
hakujin has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
srl295 has joined #nixos
mightybyte has joined #nixos
rihards has quit [Quit: rihards]
<mightybyte> Does nix have GHC 8.4.3 as a compiler yet? I'm only seeing haskell.compiler.ghc841.
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8a35f2c3878 (from 61 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
<infinisil> > builtins.attrNames haskell.compiler
<{^_^}> [ "ghc7103" "ghc7103Binary" "ghc802" "ghc821Binary" "ghc822" "ghc843" "ghc861" "ghcHEAD" "ghcjs" "ghcjs710" "ghcjs80" "ghcjs82" "ghcjs84" "integer-simple" ]
<infinisil> mightybyte: Seems to be there
Judson has joined #nixos
Judson is now known as Guest53532
<woffs> not in 18.03 though
<mightybyte> woffs: Oh, that's my problem. Thanks.
<andi-> what is it with all those haskell minor updates and all the fuzz? :-) (I am not a haskell person)
<woffs> infinisil, what do those Binary variants mean?
<infinisil> No idea
rschm has quit [Remote host closed the connection]
rschm has joined #nixos
<johnw> shlevy: ping
andymandias has quit [Ping timeout: 244 seconds]
<srhb> And patchelf it into submission.
nlytend has joined #nixos
ajs124 has left #nixos ["Stream closed by us: Timed out waiting for stream resumption (connection-timeout)"]
doyougnu has quit [Ping timeout: 268 seconds]
Ariakenom has joined #nixos
xy2_ has quit [Ping timeout: 244 seconds]
rardiol1 has joined #nixos
<woffs> srhb, thanks. I see.
sir_guy_carleton has quit [Quit: WeeChat 2.0]
knupfer has quit [Ping timeout: 240 seconds]
boothead has joined #nixos
<boothead> Is there a command to pretty print the current config?
<johnw> boothead: a single file, or recursively everything?
Sonarpulse has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #43261 → ocamlPackages.iri: init at 0.4.0 → https://git.io/fNJ8Q
<boothead> johnw: context: I have a broken latop, I want to know what setting the installation usb has for certain things, so I guess recursive
fresheyeball has quit [Quit: WeeChat 2.0]
<johnw> you could evaluate that attribute and print its value
andymandias has joined #nixos
<johnw> I'm not a NixOS user, so the exact invocation isn't coming to mind
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<infinisil> boothead: The default minimal/graphical config can be found in <installation-cd-minimal.nix>/<installation-cd-graphical-kde.nix>
<infinisil> (by bot is supposed to link to them :/)
xy2_ has joined #nixos
stepcut has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @pSub pushed to master « calibre: 3.27.0 -> 3.27.1 »: https://git.io/fNJBI
<boothead> Thanks johnw - anyone else know what that incantation might be? Particularly in the videoDrivers setting
knupfer has joined #nixos
betaboon has quit [Quit: WeeChat 2.0]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<johnw> boothead: that would be what, nixos.configuration.videoDrivers?
Sonarpulse has joined #nixos
<johnw> do you know the full attribute?
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
erratic has joined #nixos
tzemanovic has joined #nixos
<infinisil> > nixos.options.services.xserver.videoDrivers.default
<{^_^}> [ "ati" "cirrus" "intel" "vesa" "vmware" "modesetting" ]
tzemanovic has quit [Remote host closed the connection]
xy2_ has quit [Ping timeout: 244 seconds]
<__monty__> andi-: To be fair, ghc minor updates are fairly major ; )
knupfer has quit [Ping timeout: 240 seconds]
rschm has quit [Remote host closed the connection]
tzemanovic has joined #nixos
rschm has joined #nixos
<andi-> __monty__: /o\
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<boothead> johnw: services.xserver.videoDrivers I think
tzemanovic has quit [Remote host closed the connection]
foldingcookie has quit [Ping timeout: 260 seconds]
<johnw> so, it's going to be something like:
xy2_ has joined #nixos
tzemanovic has joined #nixos
<johnw> nix-instantiate --strict --eval --expr "<something>.services.xserver.videoDrivers"
<johnw> where <something>, which pulls in your nixos definition, is what I don't know
tzemanovic has quit [Remote host closed the connection]
pie___ has joined #nixos
<johnw> for nixpkgs it would have been: (import <nixpkgs> {})
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
pie__ has quit [Ping timeout: 268 seconds]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<infinisil> boothead: just `nixos-option services.xserver.videoDrivers` will do it
tzemanovic has quit [Remote host closed the connection]
<infinisil> And you'll probably get the same result as i showed before
tzemanovic has joined #nixos
<johnw> awesome
tzemanovic has quit [Remote host closed the connection]
jtojnar has quit [Quit: jtojnar]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
jtojnar has joined #nixos
graphene has quit [Remote host closed the connection]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
graphene has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<boothead> infinisil: thanks!
tzemanovic has quit [Remote host closed the connection]
<boothead> Hmm. It seems to be the default. Is there any way to find out what is actually loaded?
<{^_^}> [nixpkgs] @nyanloutre opened pull request #43262 → pyrescene: init at 0.7 → https://git.io/fNJRp
xy2_ has quit [Ping timeout: 264 seconds]
xy2_ has joined #nixos
walter has joined #nixos
acarrico has quit [Quit: Leaving.]
<infinisil> boothead: it should be in `journalctl -u display-manager -e`
Coyin has joined #nixos
sigmundv has joined #nixos
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
i0-dfn has joined #nixos
mariatsji has joined #nixos
<boothead> Thanks, what's the -e there for?
dbmikus_ has joined #nixos
<boothead> looks like it's using intel if I read the log correctly...
<tnks> domenkozar: I just saw your hie-nix project... I wasn't expecting to see embedded stack2nix files like that.
dbmikus has quit [Ping timeout: 244 seconds]
<tnks> I guess HIE is a beast to build with the current dependencies in nixpkgs?
orivej has joined #nixos
mariatsji has quit [Ping timeout: 240 seconds]
<acowley> I keep failing to get hie to work with nix
<acowley> I install hie-nix, which is a long build but works, but then start hitting package-id errors
<tnks> acowley: that kind of sucks... I'm mostly interested in HIE at all because other tools are coupling to Stack too much.
<infinisil> boothead: -e for scrolling to the very bottom
<acowley> tnks: Yeah, I can't get intero to work at the moment either!
<infinisil> numkem: See #34447
<{^_^}> https://github.com/NixOS/nixpkgs/issues/34447 (by Infinisil, closed): haskell-ide-engine broken
<infinisil> But HIE is working well for me, with stack projects at least
<tnks> acowley: otherwise, I'm using Dante... but it's a bit tough to tell people that to develop like me they need exactly Nix+Emacs+Dante. It would be nice to have Nix+SomethingElse.
<acowley> I think it's likely that patching intero's elisp to find the intero executable again won't be hard, but it's not something I want to do
Ariakenom has joined #nixos
<acowley> I've always found dante to be just enough worse than intero to motivate using intero. Things like targets and completions from imported modules.
<elvishjerricco> acowley: I think there's a fix for that hie thing lying around somewhere...
<tnks> acowley: I see... I haven't worried as much about completions yet... maybe I don't even have that enabled correctly.
<acowley> I really like lsp-ui in emacs for C++, so I'd be interested in hie, but it's such a sprawling project compared to intero and dante and never works as reliably as either of those. (I've never actually gotten hie to work, but I trust that others have.)
<elvishjerricco> acowley: Hm. I thought these lines were only in the reflex-platform nixpkgs stuff. I thought this was how reflex-platform had fixed it. I guess not... https://github.com/NixOS/nixpkgs/blob/d3a63b2b788aa2c9f5436953e7678032949240f2/pkgs/development/haskell-modules/generic-builder.nix#L444
<acowley> tnks: Completions are great for something like "import qualified Data.Text as T", and now you type "T." and get completions and types popping up for just that module.
<tnks> acowley: that's a good point. I'm not opposed to it.
<acowley> elvishjerricco: That was to address a problem mentioning package-id's?
<elvishjerricco> acowley: Not sure anymore :P
<acowley> hie can't find my hoogle db either, though it's built as part of the nix-shell, so I got the impression that maybe it wasn't entirely aware of shell.nix
viric has quit [Ping timeout: 264 seconds]
page has quit [Ping timeout: 256 seconds]
<tnks> acowley: cool, I just tried out Dante with completion of some random file. I get C-M-/ (dabbrev-completion)
<tnks> I guess it works sometimes for you, but not all the time?
SuperKazuya has quit [Ping timeout: 252 seconds]
<acowley> tnks: when I can get intero working with nix, it works great (much better than dabbrev) :D. The problem is a recent change to intero to avoid having to rebuild the intero executable quite so often by having stack cache binaries, but we've got an intero on $PATH from nix, so I think a patch is needed to skip using the cache.
rschm has quit [Remote host closed the connection]
rschm has joined #nixos
Thra11 has joined #nixos
xy2_ has quit [Ping timeout: 256 seconds]
xy2_ has joined #nixos
mariatsji has joined #nixos
Coyin has quit [Ping timeout: 244 seconds]
Coyin has joined #nixos
tzemanovic has joined #nixos
hakujin has quit [Quit: WeeChat 2.1]
fragamus has joined #nixos
tzemanovic has quit [Ping timeout: 244 seconds]
muzzy_ has joined #nixos
<muzzy_> how can I enable proprietary amd drivers to play games?
Coyin has quit [Ping timeout: 248 seconds]
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
mariatsji has quit [Read error: Connection reset by peer]
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coot has quit [Quit: coot]
coot has joined #nixos
chimay has quit [Ping timeout: 244 seconds]
mariatsji has quit [Ping timeout: 268 seconds]
<acowley> Removing the binary caching got intero working for me in emacs, btw.
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8a35f2c3878 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
foozm has joined #nixos
foozm has quit [Client Quit]
pie___ has quit [Ping timeout: 240 seconds]
foozm has joined #nixos
foozm has quit [Client Quit]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #43263 → Remove binary blobs → https://git.io/fNJae
moet has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « linux_testing: reinstate the attribute »: https://git.io/fNJac
<moet> hi nixos.. how can i find the package containing `libvulkan.so.1`? https://nixos.org/nixos/packages.html#vulkan doesn't seem to have a `libVulkan` or similiar
<acowley> moet: vulkan-loader
<cocreature> ,locate libvulkan.so.1
<{^_^}> Found in packages: vulkan-loader
i0-dfn has quit [Ping timeout: 244 seconds]
i0-dfn has joined #nixos
<moet> ok, that checks out .. thank you .. /nix/store/f0y3dzaz15cxc6m9m8nh3cglrmir9456-vulkan-loader-1.0.61.1/lib/libvulkan.so.1
crmlt has joined #nixos
coot has quit [Quit: coot]
coot has joined #nixos
<gchristensen> man infinisil is really doing great cool work
<srk> any idea why I'm getting not of type `list of submodules' when I add '.addresses' to get rid of the warning? such as networking.interfaces.eno1.ip4.addresses = [ { address = "172.17.4.5"; prefixLength = 23; } ];
<gchristensen> 18.03?
<srk> master
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #43264 → haskell infra: Use splicing like normal `callPackage` → https://git.io/fNJwD
<gchristensen> eno1.ipv4.addresses ...
<srk> ah
<srk> thanks!
pie___ has joined #nixos
yonk23 has quit [Quit: leaving]
<azazel> I'm getting an evaluation error on unstable if I define "services.kubernetes.addons.dashboard.enable = true;":
<azazel> error: The option `services.kubernetes.addons.dashboard.rbac' is used but not defined.
moet has quit [Quit: leaving]
<azazel> that i can fix by adding:
<azazel> services.kubernetes.addons.dashboard.rbac = {
<azazel> enable = true;
<azazel> clusterAdmin = false;
<azazel> };
<gchristensen> that seems like expected behavior
<gchristensen> no?
<azazel> so my question: is this a bug or I'm supposed to specify the enable AND the rbac? (although what I specified is supposed to be the default)
<azazel> I was thinking that in such a case just by definining sevices..enable would be merged with the default config
<azazel> I've a wrong expectation?
moet has joined #nixos
twitchard has joined #nixos
tippenein has quit [Ping timeout: 260 seconds]
<moet> how does nixos indicate the location of shared libraries within nix-shell?
tippenein has joined #nixos
<tobiasBora> Hello,
<johnw> moet: everything is referenced by absolute path, so whichever dependencies your nix-shell brings into scope, they know exactly what path their shared lib dependencies live at
<johnw> there shouldn't be any need to depend on LD_LIBRARY_PATH or those sorts of mechanisms
rschm has quit [Remote host closed the connection]
rschm has joined #nixos
walter has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @aszlig pushed to staging-18.03 « stdenv-setup: Remove superfluous check for /bin/sh »: https://git.io/fNJKE
<{^_^}> [nixpkgs] @aszlig pushed to staging « stdenv-setup: Remove superfluous check for /bin/sh »: https://git.io/fNJKz
<tobiasBora> I'm trying to understand what is the goal of all these tools: kubernetes, docker swarm, as well as nixOps (is there any other nix-based tool for deploying multiple servers?). How is nixOps compared to the two others tools?
<moet> johnw: so if i look under /lib or /usr/lib i should find symlinks to the shared library located in /nix/store, right?
<johnw> I don't think Nix uses /lib
<moet> johnw: that was going to be my next question..
<moet> i'm trying to find the absolute path so then i can find out if the language runtime the application is using (rust) looks in that path
foldingcookie has joined #nixos
<moet> using `find` just churns up the path in /nix/store
<domenkozar> tnks: well it literally translates stack build plan into nix expression tree
<srk> tobiasBora: nixops is exactly for deploying multiple machines, either physical servers or cloud instances (multiple backends supported)
<srk> not sure how does it compare to docker swarm or kubernetes but so far it feels quite superior to ansible/docker/salt (mainly due to nix/nixos)
muzzy_ has quit [Ping timeout: 240 seconds]
nlytend has quit [Quit: disconnected.]
<srk> I wonder if enabling nix-serve on hydra is the right way to be able to use it as a cache
<tobiasBora> srk: can nixops deal with private data, like salt does?
<srk> tobiasBora: yes, with deployment.keys
<tobiasBora> srk: great thanks! And any idea if it can deal with "load balancing"? (I'm quite new to this field, so let me know if my question is not specific enough)
<srk> a bit, I guess you want http balancing
<srk> if so try haproxy
<tnks> domenkozar: right. I've just been able to coast on the curated set in nixpkgs. Your build of HIE was the first time I saw a project so strongly delegating to a Stackage build plan.
<srk> tobiasBora: you can use nix to create bunch of machines (workers) easily with map and lib.range 0 10
<tnks> speaking of which, is it well documented how nixpkgs/master flows into nixpkgs/nixpkgs-unstable and nixpkgs/nixos-unstable?
aarvar has joined #nixos
<tnks> I asked this question before a while ago, but don't remember getting a firm answer.
<gchristensen> tnks: http://howoldis.herokuapp.com/ expand 1, 2, 3
<domenkozar> good thing I wrote it down for howoldis :)
<gchristensen> :) maybe one day it'll be added to The Docs
<domenkozar> maybe
<tobiasBora> srk: ok thanks. But you need to manually say on which server you want it to run right, there is no "live balancing" right?
<srk> tobiasBora: you can use the same expression to generate config for haproxy and it will deal with machines going offline
<tnks> gchristensen: that's really good to have written up. How long has this been around?
<gchristensen> howoldis?
<tnks> yeah.
<gchristensen> those docs have been on that site since approximately Tue, 18 Oct 2016 20:20:54 +0200
<tnks> I see the GitHub repo for it... I guess it's been around for years... maybe up to 4 years.
<domenkozar> yeah madjar wrote it long time ago
<domenkozar> then I've worked on it to make it better
<domenkozar> I think it should be moved to something like channels.nixos.org
<domenkozar> "should"
<moet> where are shared libraries available in nixos?
<moet> can somebody give me an example of a path?
<gchristensen> moet: you have to reference them not by a specific path
<gchristensen> but by a variable in a nix expression
<gchristensen> which is then encoded in to the resulting binary / executable
<gchristensen> (as a specific path, but you can't pick a random path now and just keep using it forever)
<moet> what if you're not building with nix?
<gchristensen> should probably encapsulate your not-nix-build with a nix build
<gchristensen> so you use nix to run your whatever build process
<tnks> I just feel like a goof for not finding this documentation. Reverse Googling, I found this wiki page: https://nixos.wiki/wiki/Nix_Channels
<gchristensen> can't type anymore now, sorry.
<gchristensen> Sorry, I can't type much right now. I have Cubital Syndrome (https://www.houstonmethodist.org/orthopedics/where-does-it-hurt/elbow/cubital-tunnel-syndrome/) and I seem to be having an especially bad time of it right now.
<moet> ok, thanks.. i'll try to go from there
crmlt has quit [Ping timeout: 240 seconds]
moet has quit [Quit: leaving]
<tobiasBora> srk: amazing... do you have any good references for this kind of stuff?
andymandias has quit [Ping timeout: 240 seconds]
<pie___> clever, im having dnsmasq problems again, do you have a moment?
<srk> tobiasBora: if I could just remeber the repo ..
hotfuzz has joined #nixos
<sphalerite> I want to deprecate packageOverrides: https://github.com/NixOS/nixpkgs/issues/43266 please weigh in!
<{^_^}> #43266 (by lheckemann, open): Deprecate packageOverrides?
<sphalerite> oooh {^_^} is alive again!
<sphalerite> gchristensen++
<{^_^}> gchristensen's karma got increased to 1
<sphalerite> assuming it was you :p
<sphalerite> wait you didn't have any karma??
<infinisil> Yeah where did his karma go!
andymandias has joined #nixos
<manveru> i think it reset :)
<manveru> gchristensen++
<{^_^}> gchristensen's karma got increased to 2
<infinisil> {^_^}++
<{^_^}> {^_^}'s karma got increased to 1
<worldofpeace> gchristensen++
<{^_^}> gchristensen's karma got increased to 3
<andi-> gchristensen++
<{^_^}> gchristensen's karma got increased to 4
<infinisil> That's no good
twitchard has quit [Quit: WeeChat 2.0]
<srk> tobiasBora: perftest_node(s) are generated this way
hotfuzz_ has quit [Ping timeout: 244 seconds]
* infinisil gets on restoring the holy karma
viric has joined #nixos
<pie___> (clever) so im stumped. i have the same dnsmasq config on two machines, but on one it succeeds at sending normal queries to normal dns, on the other it doesnt. i.e. /etc/dnsmasq-resolv.conf on one of the machines remains empty
<pie___> if i disable dnsmasq it works again
<pie___> the broken config thats kind of hard to paste right now looks almost exactly like this https://bpaste.net/show/3a4af59ba8c2
<gchristensen> :o
<infinisil> Hmm it got reset between 5th and 6th July, reason? unknown
<tobiasBora> srk: thank you!
stepcut has joined #nixos
<andi-> probalby an overflow ;)
<worldofpeace> unaccepetable, outright disrespect to the holy rite :P
<infinisil> It's really weird because only the karmas got reset :/
<pie___> how does nixos do dhcp?
<andi-> pie___: dhclient, systemd-networkd, ...
<andi-> depends on configuration
<pie___> im trying to think of how i could even figure this issue out but i cant think of anything
<andi-> what is it doing?
<andi-> or what is it not doing?
<pie___> dnsmasq log says "no servers found in /etc/dnsmasq-resolv.conf" but that doesnt really say much new
<pie___> andi-, see a couple lines above
<pie___> i.e. i can query dns for my vpn domains provided by a local dns, but i cant query dns from the internet
<pie___> for some reason im not getting and dns set by dhcp
stepcut has quit [Ping timeout: 244 seconds]
stepcut has joined #nixos
<infinisil> The holy karma count has been restored
<manveru> infinisil++
<{^_^}> infinisil's karma got increased to 13
<manveru> yay
<gchristensen> but what about all the karma I just got+ :)
<manveru> gchristensen++
<{^_^}> gchristensen's karma got increased to 11
<manveru> well, you're not running out anytime soon
<infinisil> I think he promised a t-shirt to whoever gets a certain amount or so haha
alex`` has quit [Quit: WeeChat 2.1]
page has joined #nixos
<worldofpeace> Order in the universe :)
* andi- waits for the first spam flood that increases karma..
<gchristensen> anyone know what it takes to get debug symbols for Nix?
rschm has quit [Remote host closed the connection]
stepcut has quit [Ping timeout: 240 seconds]
rschm has joined #nixos
betaboon has joined #nixos
<LnL> there's the separateDebugino stuff
<{^_^}> [nixpkgs] @dtzWill opened pull request #43267 → pciutils: use standardized equivalent for canonicalize_file_name → https://git.io/fNJMN
<pie___> andi-, any idea? :/
<andi-> pie___: not ad-hoc, try to check where the dns settings come from for that file.. resolvconf sounds like a good candidate
<pie___> hm thats an idea. no idea how to find out, unless dnsmasq itself creates it...
* pie___ checks something
<pie___> yeah, i dont know how to find it
<gchristensen> hmm interesting
<pie___> google doesnt yield anything immediately useful
drakonis__ has joined #nixos
<LnL> gchristensen: has some gdb instructions and the nix package has that enabled by default IIRC
drakonis__ is now known as Drakonis
Drakonis is now known as drakonis
<gchristensen> ok, cool, wow!
<gchristensen> now to tell `perf` to look at them :)
<pie___> hmm on the working machine it seems it might be generated by networkmanager
* pie___ coincidentally ran into resolvconf -l
<pie___> oh hey it says in the file "generated by resolvconf"
<pie___> well no i have a starting point, yay...
<pie___> andi-, so it looks like thie issue might be that the machine that doesnt work, doesnt run networkmanager and just doesnt have anythng generating the contents of the file
Drakonis[m] has quit [Changing host]
Drakonis[m] has joined #nixos
Drakonis[m] has joined #nixos
<andi-> there you go :)
<pie___> man dns is pretty complicated
<gchristensen> dns is simple
<pie___> dont really know what i could replicate the behavirous with though :x
<gchristensen> dhcp is complicated
<pie___> gchristensen, client side dns seems like a clusterf
<andi-> now imagine having to merge both DNS settings from DHCP (IPv4) and IPv6 RAs (RDNSS) with multiple processes ;)
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to staging « shared-mime-info: 1.9 -> 1.10 (#42948) »: https://git.io/fNJDh
<{^_^}> [nixpkgs] @xeji merged pull request #42948 → shared-mime-info: 1.9 -> 1.10 → https://git.io/fdCBp
<andi-> I year ago I looked into that for OpenBSD.. I think they are just now coming up with a solution for that..
<{^_^}> [nixpkgs] @xeji merged pull request #42957 → spidermonkey_52: 52.8.1 -> 52.9.0 → https://git.io/fdN4G
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « spidermonkey_52: 52.8.1 -> 52.9.0 (#42957) »: https://git.io/fNJyT
<pie___> wonder if i could get this to work with dhclient somehow
<{^_^}> [nixpkgs] @xeji merged pull request #43151 → wayland-protocols: 1.14 -> 1.15 → https://git.io/fNvVr
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to staging « wayland-protocols: 1.14 -> 1.15 (#43151) »: https://git.io/fNJyz
<{^_^}> [nixpkgs] @xeji merged pull request #43173 → mate.mate-user-guide: 1.20.1 -> 1.21.0 → https://git.io/fNvX5
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-user-guide: 1.20.1 -> 1.21.0 (#43173) »: https://git.io/fNJyV
betaboon has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @xeji merged pull request #43239 → options.i18n.inputMethod.package: fix type → https://git.io/fNfCG
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « options.i18n.inputMethod.package: fix type (#43239) »: https://git.io/fNJy7
i0-dfn has quit [Ping timeout: 244 seconds]
i0-dfn has joined #nixos
betaboon has joined #nixos
<pie___> i cant actually find anything that would just let me query dns servers from dhcp..
i0-dfn has quit [Ping timeout: 244 seconds]
i0-dfn has joined #nixos
<betaboon> pie___: what are you trying to do with dns ?
<pie___> i need to get resolvconf to put upstream dns servers in /etc/dnsmasq-resolv.conf
rschm has quit [Remote host closed the connection]
rschm has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43257 → Revert removal of `linux_testing_bcachefs` from "linux: remove versions unmaintained upstream" → https://git.io/fNJml
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.03: https://git.io/fNJ9R
<betaboon> so you want to put the dns-server propagated via dhcp as dns-server for dnsmasq ?
<pie___> yes
i0-dfn has quit [Ping timeout: 240 seconds]
<pie___> hmm dhcpcd might be more appropriate for querying, im not sure yet (its installed)
<betaboon> pie___: i thought that is the default configuration of dnsmasq !?
i0-dfn has joined #nixos
<pie___> betaboon, thats fine but something actually needs to get the upstream servers
wgas has joined #nixos
<pie___> looks like its normally NetworkManager
<betaboon> i was under the impression that dhcpcd writes dns-servers that are propagated via dhcp into resolv.conf, and dnsmasq by default uses the system-dns-server for dns-forwarding? are those assumptions wrong ? oO
<pie___> so, i *think* by default dhcpcd writes them to resolv.conf via resolvconf
<pie___> dnsmasq by default uses the system dns servers yes
<pie___> however when you enable dnsmasq dhcpcd no longer does resolvconf i guess
samrose has joined #nixos
i0-dfn has quit [Ping timeout: 240 seconds]
<pie___> (i just learned about dhcpcd)
<samrose> so what led to the nixos project switching from serving channels from hydra to serving channels from aws s3 like https://d3g5gsiof5omrk.cloudfront.net/nixos/18.03/nixos-18.03.132835.e930c685d51 ?
<pie___> um actually it looks to me like dhcpcd isnt running at all xD what the heck
muzzy_ has joined #nixos
i0-dfn has joined #nixos
lnikkila_ has joined #nixos
<betaboon> pie___: just as a side note: dnsmasq offers a dhcpd not a dhcpcd
<pie___> betaboon, yes i dont want to serve dhcp ;p
<clever> pie___: why not use bind then?
<pie___> clever, no reason. but this doesnt seem to be a dnsmasq issue in the end
<pie___> so this is weird. i disables dnsmasq and did a rebuild switch, and i still dont get upstream dns
<pie___> gonna try a reboot to see if its more systemd service restart fuckery
blankhart has quit [Read error: Connection reset by peer]
blankhart has joined #nixos
lnikkila has quit [Ping timeout: 255 seconds]
i0-dfn has quit [Ping timeout: 244 seconds]
<pie___> maybe i deleted networking.networkmanager.enable = true; by accident?
<pie___> should i have that?
<clever> i never use network manager
<pie___> its just that i did have working dns before this so i dont know why i dont now >_>
<pie___> s/working/dns queried from upstream/
simukis has quit [Ping timeout: 244 seconds]
rschm has quit [Remote host closed the connection]
rschm has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5e10df3982d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<betaboon> i dont
<betaboon> use network-manager either. cant help on that front
<pie___> i dont use it either i just thought maybe i was supposed to be
<pie___> (i.e. that i just never noticed it)
<{^_^}> [nixpkgs] @LnL7 merged pull request #42894 → python37: fix darwin build → https://git.io/fSGLR
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fNJQR
derchris_ has joined #nixos
derchris1 has quit [Read error: Connection reset by peer]
<kalbasit> first time using `shell.nix`: https://gist.github.com/kalbasit/dc4b0c4a0ca8dee415f02387c7bf2c4b I'm getting bazel_0_14_1 undefined, why?
__monty__ has quit [Ping timeout: 245 seconds]
<clever> kalbasit: move it into a let block to make it into scope
derchris_ has quit [Read error: Connection reset by peer]
<clever> kalbasit: let bazel_0_14_1 = ...; in pkgs.mkShell { ...
<kalbasit> ohhh
<kalbasit> thx
__monty__ has joined #nixos
seafood has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #43256 → xcbuild refactor → https://git.io/fNJmY
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/fNJQA
derchris_ has joined #nixos
<pie___> ok if i put that aside for the moment, how should i statically configure dnsmasq-resolv.conf?
<pie___> if i was going to statically set the upstreams
<{^_^}> [nixpkgs] @matthewbauer merged pull request #43259 → unixtools refactor → https://git.io/fNJ3i
<{^_^}> [nixpkgs] @matthewbauer pushed 500 commits to staging: https://git.io/fNJ73
<betaboon> pie___: services.dnsmasq.servers ?
<pie___> oh right
* pie___ rolls eyes xD
<pie___> when you're in deep
blankhart has quit [Ping timeout: 260 seconds]
<betaboon> pie___: which is technically not writing dnsmasq-resolv.conf but calling dnsmasq with -S
<pie___> yeah
<pie___> well, lately im learning a lot more about linux client side dns config than i ever wanted...
<pie___> the luckiest thins is that im at least doing it on nixos..
<clever> ive tied dhcpcd into bind before on gentoo
<clever> but i never recreated it on nixos
<pie___> something for nixos.wiki
<betaboon> can anyone suggest a good terminal emulator with truecolor support? i have been using urxvt for ages. just recently switch to a patched st. but I
<betaboon> am not completly sattisfied
seafood has quit [Quit: seafood]
<pie___> thanks for the input guys. ill try to do something better later, will stick with static config for now
samrose has quit [Ping timeout: 252 seconds]
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @nyanloutre closed pull request #43262 → pyrescene: init at 0.7 → https://git.io/fNJRp
<{^_^}> [nixpkgs] @matthewbauer merged pull request #43085 → Dwarf Fortress refactors → https://git.io/fbjLu
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to master: https://git.io/fNJd8
acarrico has joined #nixos
seafood has joined #nixos
<tobiasBora> Hum, does anyone knows if it's possible to deploy nixops on a non-nixos server, like a debian with nix installed?
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/fNJFJ
<{^_^}> [nixpkgs] @dtzWill closed pull request #43267 → pciutils: use standardized equivalent for canonicalize_file_name → https://git.io/fNJMN
<{^_^}> [nixpkgs] @matthewbauer closed pull request #43081 → dwarf-fortress: TWBT & Lazy Pack → https://git.io/fbhAw
<{^_^}> [nixpkgs] @dtzWill reopened pull request #43267 → pciutils: use standardized equivalent for canonicalize_file_name → https://git.io/fNJMN
muzzy__ has joined #nixos
muzzy_ has quit [Ping timeout: 244 seconds]
drakonis has quit [Remote host closed the connection]
numkem has quit [Quit: WeeChat 2.0]
<clever> tobiasBora: nixops should work on any machine nix works on
<clever> tobiasBora: just make sure nix-channel is using a channel that starts with nixos
<betaboon> clever: i guess tobiasBora is asking for deploying to a non-nixos machine using nixops
<clever> for that, you would need to install nixos to the machine first
<clever> there are several utils to handle that
pie___ has quit [Ping timeout: 244 seconds]
SuperKazuya has joined #nixos
slack1256 has joined #nixos
<slack1256> Does nix-2.0.4 run out of memory frequently on anyone's machine?
coot has quit [Quit: coot]
<{^_^}> [nixpkgs] @dtzWill merged pull request #43267 → pciutils: use standardized equivalent for canonicalize_file_name → https://git.io/fNJMN
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fNJNO
<{^_^}> [nixpkgs] @xeji merged pull request #42200 → Cryptsetup: 2.0.2 -> 2.0.3. Also, add upstream libressl-2.7 patch. → https://git.io/fflZc
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fNJNG
jtojnar has quit [Ping timeout: 240 seconds]
<tobiasBora> clever: but it means that you need to remove basically the current OS and replace it with nixos right? It's not possible to have in parallel both debian and nixos for example?
<clever> tobiasBora: yeah, you have to replace the OS
<tobiasBora> ok, thank you. The best way if you don't want to replace the OS is to install nixos in a container that runs on, say, debian ?
<clever> and its difficult to run it under a container as well
trcc has joined #nixos
<srk> manageable
<kalbasit> ,locate colemak
<{^_^}> Found in packages: kbd, oh-my-zsh
<kalbasit> it's weird that I can't do `loadkeys colemak` in the NixOS isntalled
<tobiasBora> clever: really? What's the problem with containers? So there is no solution if I want to deploy some nix "receipes" on non-nixos systems?
<clever> tobiasBora: the nixos container framework assumes the host also runs nixos, so its tricky to get the kernel to run
i0-dfn has joined #nixos
<kalbasit> s/isntalled/installer
<tobiasBora> clever: nix needs a special kernel?
blankhart has joined #nixos
<clever> nope
<{^_^}> #9884 (by o11c, open): Installing NixOS in a container with a non-NixOS host is painful
<tobiasBora> so I don't get it. Let's say that I'm on debian. Then on it I create a systemd/LXD container that runs nixos. Finally, I forward on debian the ports of this guest nixos, and provide it to nixops
<clever> check the above issue
betaboon has quit [Quit: WeeChat 2.0]
<infinisil> ,dnw = "It doesn't work" literally only has 0 bits of information useful for debugging, please be more specific: What doesn't work? What's the error?
<{^_^}> dnw defined
<tobiasBora> ok thank you clever! Hope this bug is going to be fixed then ;)
<infinisil> ,dnw kalbasit
<{^_^}> kalbasit: "It doesn't work" literally only has 0 bits of information useful for debugging, please be more specific: What doesn't work? What's the error?
<srk> looks quite old, we are running nixos on lxc without much issues
pie___ has joined #nixos
swampmonster is now known as justanotheruser
erratic has quit [Ping timeout: 256 seconds]
__monty__ has quit [Quit: leaving]
<kalbasit> infinisil: sorry for the vague message, `ioadkeys colemak` yields the error `cannot open file colemak` on the nixos-installer as of yesterday (not sure which channel but the most recent as of yesterday)
<kalbasit> s/ioadkeys/loadkeys/
<infinisil> kalbasit: Not sure why it doesn't work, never used loadkeys
<infinisil> kalbasit: But there's a different way to set the layout in the installer
<infinisil> kalbasit: See line 121 in <i18n.nix>
<kalbasit> infinisil: that'
<infinisil> Oh wait, not sure how that works
<kalbasit> that's using X right?
<infinisil> Nope
<infinisil> It might generate a file usable for loadkeys
<kalbasit> I see
<kalbasit> can I change `/etc/nixos/configuration.nix` in the installer?
<infinisil> Yeah
<infinisil> Ah yeah, you can just set the layout there!
blonkhart has joined #nixos
<infinisil> kalbasit: I prefer to use `services.xserver.layout = "<yourlayout>"; i18n.consoleUseXkbConfig = true;`, which is how the linked stuff even applies
<infinisil> (And yes it's using xserver there, but it doesn't actually require X)
freeman42x[nix] has joined #nixos
<kalbasit> cool, let me try that then, thx
<Ralith> I'm passing `{ config = { overlays = [ overlay ]; }; }` to nixpkgs, where overlay sets `llvm_6 = super.llvm_6.override { debugVersion = true; }`. This does not appear to be affecting the llvm_6 defined in the resulting pkgs. What might I be missing?
<infinisil> Ralith: { overlays = [ overlay ]; }, it's separate from config
phreedom has quit [Ping timeout: 250 seconds]
<clever> Ralith: overlays is its own attribute, beside config, not inside
<Ralith> well that's a delightfully silent error
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #43264 → haskell infra: Use splicing like normal `callPackage` → https://git.io/fNJwD
<{^_^}> [nixpkgs] @Ericson2314 pushed 5 commits to master: https://git.io/fNJxv
phreedom has joined #nixos
<clever> Ralith: the entire config set is untyped and ignores any undefined options
<Ralith> yep, that did it, thanks
<{^_^}> [nixpkgs] @jtojnar opened pull request #43268 → Drop gnome3.gconf → https://git.io/fNJxt
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @uri-canva to master « bazel-deps: init at 2018-05-31 (#43018) »: https://git.io/fNJxG
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #43018 → bazel-deps: init at 2018-05-31 → https://git.io/fbxQj
mankyKitty[m] has joined #nixos
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
i0-dfn has quit [Ping timeout: 256 seconds]
<kalbasit> is `/etc/nixos/configuration.nix` meant to be edited directly, or via some nix command?
i0-dfn has joined #nixos
<clever> kalbasit: its meant to be edited manually
<kalbasit> thx
camsbury has quit [Ping timeout: 256 seconds]
<infinisil> Until I get my Nix AST editor working at least!
* infinisil hasn't started even, don't get your hopes up
lsyoyom has quit [Ping timeout: 265 seconds]
jperras has quit [Quit: WeeChat 2.1]
i0-dfn has quit [Ping timeout: 264 seconds]
i0-dfn has joined #nixos
wgas has left #nixos ["Leaving"]
emil1234[m] has joined #nixos
tzemanovic has joined #nixos
slack1256 has quit [Ping timeout: 264 seconds]
xy2_ has quit [Ping timeout: 264 seconds]
lsyoyom has joined #nixos
rprije has joined #nixos
alexteves has quit [Remote host closed the connection]
init_6 has joined #nixos
Guest53532 has quit [Ping timeout: 240 seconds]
sigmundv_ has quit [Read error: Connection reset by peer]
Mrmaxmeier has quit [Read error: Connection reset by peer]
graphene has quit [Ping timeout: 260 seconds]
Olgierd has quit [Ping timeout: 260 seconds]
Mateon3 has joined #nixos
sbdchd has joined #nixos
tadni- has quit [Read error: Connection reset by peer]
sigmundv- has joined #nixos
Mateon1 has quit [Read error: Connection reset by peer]
Mateon3 is now known as Mateon1
realrokka has quit [Quit: rip]
tnks has joined #nixos
Olgierd has joined #nixos
Mrmaxmeier has joined #nixos
Aexoden has quit [Ping timeout: 260 seconds]
realrokka has joined #nixos
Olgierd has joined #nixos
tadni_ has joined #nixos
seafood has quit [Quit: seafood]
init_6 has quit [Ping timeout: 240 seconds]
tnks has quit [Ping timeout: 260 seconds]
<trcc> I am trying to add a haskell package to shell.nix, but I can simply not figure out how. Should I use nix-env -f "<nixpkgs>" -iA haskellPackages.Allure?
<trcc> This seems to add it more globally, which I am not interested in
jluttine has quit [Ping timeout: 260 seconds]
Aexoden has joined #nixos
Sonarpulse has quit [Ping timeout: 264 seconds]
init_6 has joined #nixos
seafood has joined #nixos
jluttine has joined #nixos
dhess has joined #nixos
<dhess> Anyone around who's running bird on NixOS?
<infinisil> trcc: gist your shell.nix?
<trcc> infinisil: Think I just solved it
<trcc> ls
<{^_^}> [nixpkgs] @reardencode opened pull request #43269 → Add libudev, which Ledger Live app requires → https://git.io/fNUec
ericsagnes has quit [Ping timeout: 244 seconds]
<pie___> how do i sed up rsync on a nixos machine so that i can rsync over ssh?
<rprije> For some reason my nix-shell isn't showing me a different prompt. I've set my own bash prompt_command so that probably broke it. What environment variables can I key off to build an explicitly different prompt when in nix-shell?
init_6 has quit []
logzet has quit [Remote host closed the connection]
<clever> IN_NIX_SHELL=impure
<rprije> thanks!