worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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 ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<darthdeus> hey guys, I have a very basic question, but not really sure how to set my `default-shell` option in tmux ... if I just add in `zsh` it will crash, and I can't figure out how to do something like `/usr/bin/env zsh` since it seems to want a path to a binary
Fare has quit [Ping timeout: 265 seconds]
cosimone has quit [Ping timeout: 245 seconds]
erictapen has quit [Ping timeout: 240 seconds]
<evils> darthdeus: would $SHELL work?
<darthdeus> evils: hmm, that wouldn't really serve as an override to the default shell though :(
erictapen has joined #nixos
<momo20> darthdeus: I think you can do '$(/usr/bin/env zsh)'
reallymemorable has joined #nixos
<darthdeus> weird, it seems to not crash but doesn't start zsh either
<darthdeus> I'll have to dig in a bit, I just installed and my setup is a bit weird hehe
<darthdeus> ty though :P
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
<momo20> maybe env isn't working for whatever reason
smatting_ has quit [Ping timeout: 252 seconds]
<darthdeus> momo20: nono env is working, at least if I do it separately
<darthdeus> it only breaks in tmux
<momo20> wait
<momo20> you sure you don't want `where` and not env
evanjs has joined #nixos
<darthdeus> hmm, then that would be '$(/usr/bin/env where zsh)'
<momo20> I don't think env is right in this scenario
<momo20> I think it'd be `$(where zsh)`
<momo20> I'm just assuming you're trying to feed it the exact location of zsh though
<darthdeus> ok I'm stupid, it doesn't work even if I just give it the full zsh path :\
<darthdeus> sorry for wasting your time
<darthdeus> :P
<momo20> never a waste of time
<momo20> hopefully you figure out your problem
<darthdeus> hehe, ty :)
<darthdeus> btw did I do something wrong that every search result, such as `nix search polybar`, returns both `nixos.polybar` and `nixpkgs.polybar`? `nix-channel --list` returns only nixos
<bdju> anyone have an example of boot.kernelParams I can look at? I want to set spec_store_bypass_disable=on in my configuration.nix and I keep getting it wrong
Thra11 has quit [Ping timeout: 246 seconds]
<momo20> Should I just try a clean install of nixos?
Fare has joined #nixos
<{^_^}> [nixpkgs] @tomfitzhenry opened pull request #73526 → [Trivial] Fix IDs on docs for running tests → https://git.io/Jeo67
tmaekawa has joined #nixos
Rusty1 has joined #nixos
wildtrees has quit [Quit: Leaving]
jgt has joined #nixos
Okinan has joined #nixos
iyzsong has joined #nixos
Thra11 has joined #nixos
fusion809 has quit [Remote host closed the connection]
lovesegfault has joined #nixos
<lovesegfault> How can I convert a string like "./machines/${networking.hostName}.nix" to a path?
<lovesegfault> I'm trying to do imports = [ "./machines/${networking.hostName}.nix" ]; but it complains about that being a relative and not absolute path
<lovesegfault> I'd like to keep it relative
<lovesegfault> I know that if I do ./foo (no quotes, thus type=path` it works, but when you make it a string it forces the abs path
<lovesegfault> cc. clever who knows things
<lovesegfault> and srhb
Soo_Slow has quit [Quit: Soo_Slow]
<clever> lovesegfault: imports = [ (./machines + "/${name}.nix") ];
<lovesegfault> O.o
<clever> if you append a string to a path, you get a path
<srhb> lovesegfault: As clever told you earlier: Don't do that. You're trying to do conditional imports. That's a no-no
<clever> also, that will fail
<srhb> lovesegfault: Instead, make a top level configuration for each machine that imports each necessary module :)
<lovesegfault> clever: Ah, sweet
jluttine has quit [Ping timeout: 240 seconds]
<clever> you cant know the value of networking.hostName until you know what all the imports are
<lovesegfault> clever: Oh :(
<lovesegfault> Well
<lovesegfault> Guess I'll hardcode it then
<srhb> "Earlier" is such a nebulous concept in multi-timezone chat... :P
<lovesegfault> srhb: Yes, lol
mbrgm_ has joined #nixos
<lovesegfault> Hmm
<lovesegfault> If in one module I do boot.kernelPackages = pkgs.linuxPackages_latest;
<lovesegfault> How can I reference that when I try to do boot.extraModulePackages = with kernelPackages; [ v4l2loopback ]; in _another_ module?
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
<lovesegfault> (they're both being imported
<clever> lovesegfault: config.boot.kernelPackages
<lovesegfault> clever: :brain-explosion:
<clever> all of the options your setting, appear under config
<lovesegfault> do I need to do { config, pkgs, ... } on top?
<clever> yep
<lovesegfault> does the order matter?
<clever> nope
<lovesegfault> Sweeet
momo20 has quit [Remote host closed the connection]
<lovesegfault> oh my god
<lovesegfault> it works
travelion7 has joined #nixos
pareidolia has joined #nixos
lovesegfault has quit [Ping timeout: 276 seconds]
tmaekawa has quit [Ping timeout: 240 seconds]
alex``` has quit [Ping timeout: 252 seconds]
drakonis has quit [Read error: Connection reset by peer]
hlolli_ has joined #nixos
drakonis_ has quit [Ping timeout: 265 seconds]
hlolli__ has quit [Ping timeout: 240 seconds]
ixxie has quit [Ping timeout: 276 seconds]
hax404 has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @lightbulbjim opened pull request #73528 → zim: fix missing app name and icon on Wayland → https://git.io/Jeoi5
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeoiF
hax404 has quit [Ping timeout: 252 seconds]
hax404 has joined #nixos
drakonis_ has joined #nixos
hax404 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fpletz merged pull request #73525 → bird: compile with libssh for rpki support → https://git.io/Jeo63
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/Jeoix
<{^_^}> [nixpkgs] @fpletz merged pull request #73522 → imagemagick: 6.9.10-69 -> 6.9.10-71 → https://git.io/Jeoop
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/Jeoip
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #73523 → [19.09] imagemagick: 6.9.10-69 -> 6.9.10-71 → https://git.io/Jeooh
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-19.09: https://git.io/Jeoih
hax404 has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #73098 → ncmpc: optionally use pcre → https://git.io/JeV2m
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeoPe
<{^_^}> [nixpkgs] @fpletz merged pull request #73433 → xmrig: 3.2.0 -> 5.0.0 → https://git.io/JerFI
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeoPv
ng0 has quit [Quit: Alexa, when is the end of world?]
slack1256 has joined #nixos
drakonis_ has quit [Ping timeout: 265 seconds]
hlolli_ has quit [Ping timeout: 276 seconds]
drakonis_ has joined #nixos
kleisli has quit [Ping timeout: 276 seconds]
pareidolia has quit [Ping timeout: 276 seconds]
orivej has joined #nixos
hax404 has quit [Remote host closed the connection]
hax404 has joined #nixos
<{^_^}> [nixpkgs] @hkjn opened pull request #73529 → wasabiwallet: 1.1.9 -> 1.1.9.2 → https://git.io/JeoPL
<{^_^}> [nixpkgs] @fpletz merged pull request #73520 → gortr: init at 0.13.0 → https://git.io/Jeool
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeoPt
erictapen has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
<sondr3> can the `i18n.consoleFont` be any of my installed fonts that I know will be available?
drakonis_ has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 276 seconds]
<fpletz> sondr3: iirc only fonts from the kbd package should be configurable via that option, definitely not what's in fonts.fonts because those are in a different format
h0m1 has quit [Ping timeout: 250 seconds]
h0m1 has joined #nixos
drakonis_ has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
<sondr3> fpletz: aight, thanks
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
alex``` has joined #nixos
alex``` has quit [Client Quit]
alexherbo2 has joined #nixos
alexherbo2 is now known as alex```
drakonis_ has joined #nixos
alex``` has quit [Ping timeout: 250 seconds]
drakonis has quit [Ping timeout: 252 seconds]
iyzsong-x has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #73530 → nixos/nvidia: include systemd power management → https://git.io/JeoPW
iyzsong has quit [Ping timeout: 265 seconds]
drakonis_ has quit [Ping timeout: 265 seconds]
reallymemorable has quit [Quit: reallymemorable]
jluttine has joined #nixos
<sondr3> question, I've defined two options that can be enabled in the same file but nix complains that I define `config` twice. Do I just `config = mkIf {} ++ mkIf {}`?
<gchristensen> mkMerge [ (mkIf ...) (mkIf ...) ]
<sondr3> neat, thanks!
ddellacosta has joined #nixos
jgt1 has joined #nixos
drakonis has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
ddellacosta has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
drakonis_ has joined #nixos
kleisli has joined #nixos
sondr3 has quit [Quit: WeeChat 2.6]
jgt1 has quit [Ping timeout: 245 seconds]
ebzzry has quit [Ping timeout: 240 seconds]
jgt1 has joined #nixos
ddellacosta has quit [Ping timeout: 252 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
orivej has joined #nixos
growpotkin has joined #nixos
mexisme has joined #nixos
reallymemorable has joined #nixos
nnix has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
doyougnu has joined #nixos
nnix has quit [Quit: leaving]
leo_ has quit [Quit: leaving]
felixfoertsch has quit [Ping timeout: 276 seconds]
felixfoertsch has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
iyzsong has joined #nixos
Okinan has quit [Remote host closed the connection]
iyzsong-x has quit [Ping timeout: 265 seconds]
Okinan has joined #nixos
<wedens[m]> I've tried upgrading channel, but downgrading kernel version to lts. usb sound card is still not detected. and kernel upgrade from 5.3.9 to 5.3.11 is unlikely to be the problem...
dansho has quit [Quit: Leaving]
growpotk- has joined #nixos
tmaekawa has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
ravndal has joined #nixos
growpotk- has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
LysergicDreams has quit [Ping timeout: 240 seconds]
hax404 has quit [Ping timeout: 276 seconds]
hax404 has joined #nixos
Soo_Slow has joined #nixos
LysergicDreams has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
drakonis_ has joined #nixos
mexisme has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
Soo_Slow has joined #nixos
Soo_Slow has quit [Client Quit]
Soo_Slow has joined #nixos
jgt1 has quit [Ping timeout: 240 seconds]
selfsymmetric-mu has joined #nixos
dansho has joined #nixos
dansho has quit [Remote host closed the connection]
boxscape has joined #nixos
hax404 has quit [Ping timeout: 245 seconds]
<boxscape> I just got a new motherboard and tried using my existing nixos installation with it. It worked fine initially, but after a few hours it suddenly crashed into recovery mode, and if i boot it fails in stage 1 saying it couldn't mount unionfs in /mnt-root/nix/store because there's no such device. Any idea how i could fix this?
hax404 has joined #nixos
<evanjs> Ahhhhhhhhhhhh I wonder if #73494 is what's been happening on my G751JY lapytop
<{^_^}> https://github.com/NixOS/nixpkgs/issues/73494 (by mdedetrich, 15 hours ago, open): Suspend to RAM doesn't work with NVidia Prime / Thinkpad P1 Gen2
<evanjs> Time to actually test a module PR #73530
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73530 (by eadwu, 1 hour ago, open): nixos/nvidia: include systemd power management
boxscape has quit [Ping timeout: 276 seconds]
tpanum- has joined #nixos
xd1le has joined #nixos
drakonis has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 265 seconds]
hax404 has quit [Remote host closed the connection]
hax404 has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
boxscape has joined #nixos
Thra11 has quit [Read error: Connection reset by peer]
ebzzry has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
abathur has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos
<pistache> is it always necessary in NixOS to have a valid /run/booted-system ?
<pistache> I'm trying to make it easier to use NixOS in LXC containers, by hacking with boot.isContainer
<pistache> in that case, it seems I have to create /run/booted-system myself, as there is no stage2 to do it for me
Thra11 has joined #nixos
<pistache> I suppose I can make it a symlink to /run/current-system, but I'm asking myself if it would be cleaner to not have it at all, and make it optional in the few places it's used
boxscape has quit [Remote host closed the connection]
doyougnu has quit [Quit: WeeChat 2.6]
<pistache> as it is mostly used for things which don't make sense in containers (kernel modules and klogd)
jgt1 has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
mexisme has quit [Ping timeout: 252 seconds]
evanjs has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #73533 → nixos/firewall: fix inverted assertion for reverse path filtering → https://git.io/JeoXb
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
captn3m0 has quit [Ping timeout: 240 seconds]
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
aveltras has quit [Quit: Connection closed for inactivity]
felixfoertsch has joined #nixos
LysergicDreams has quit [Ping timeout: 240 seconds]
reallymemorable has quit [Quit: reallymemorable]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #73534 → nixos/prometheus: add ignoreConfigCheckErrors → https://git.io/Jeo1Y
mexisme has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
Thra11 has quit [Ping timeout: 276 seconds]
mexisme has quit [Ping timeout: 276 seconds]
<wedens[m]> how do I tell nix-instantiate to give me a string without quotes?
o1lo01ol1o has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
slack1256 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
Thra11 has joined #nixos
<infinisil> wedens[m]: Can't do that with nix-instantiate, but `nix eval --raw` can do that
<infinisil> Or you can use nix-instantiate --json then put the json through jq or so
<wedens[m]> infinisil: `nix eval --raw` does the job. thanks
init_6 has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #73535 → mitmproxy: disable example tests → https://git.io/Jeo1X
lovesegfault has joined #nixos
<lovesegfault> Hi everyone
<lovesegfault> can I reference my hostname (networking.hostName) from my home-manager config?
<clever> lovesegfault: dont think so, thats only visible in nixos modules
<lovesegfault> clever: Guess I'll hardcode it again :)
<clever> lovesegfault: though you can builtins.getEnv to read env vars...
<clever> but thats dirty
<lovesegfault> That's nasty :P
<lovesegfault> I really like the model I came up with for the system config
<lovesegfault> so I'm trying to replicate it for my home config
mexisme has joined #nixos
h0m1 has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @jonringer merged pull request #73524 → poetry: add lockfile dep → https://git.io/JeoKO
<{^_^}> [nixpkgs] @jonringer pushed commit from @ljli to master « poetry: add lockfile dep »: https://git.io/Jeo1A
h0m1 has joined #nixos
palo1 has joined #nixos
orivej has quit [Ping timeout: 276 seconds]
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
<lovesegfault> clever: Can I write toml as a nix attr set and then convert to text?
<clever> lovesegfault: there is a fromTOML but no toTOML
<lovesegfault> dingit
<clever> lovesegfault: though i heard its a superset of json, so if you just .toJSON, you can still parse it as toml
<lovesegfault> That's yaml
<clever> i heard the same is true for toml somewhere, but i cant remember where
<{^_^}> nix#2967 (by nmattia, 21 weeks ago, open): New builtin: toTOML
<lovesegfault> nice, domenkozar[m]
<clever> lovesegfault: why do we need yet another text format for cfg? https://xkcd.com/927/
goolord has joined #nixos
goolord has quit [Client Quit]
<lovesegfault> clever: tbh I think after TOML I don't need anything else :P
<mdash> when old things are bad, it's time to make new ones
<mdash> (cue and dhall are interesting new things)
<lovesegfault> cue is cool
<clever> i use nix for the templating, the json for the transfer to other stuff
<lovesegfault> clever: How can I convert an attr set to a json?
<clever> > :p builtins.toJSON { a=42; b="two"; }
<{^_^}> "{\"a\":42,\"b\":\"two\"}"
<lovesegfault> I need to nixify this behemoth
<lovesegfault> clever: Can I call builtins.toJSON from a nix module?
<clever> lovesegfault: yep, you can use it anywhere in nix
<lovesegfault> sweet
<clever> > builtins.toFile "foo.json" (builtins.toJSON { a=42; })
<{^_^}> "/nix/store/axcplxf0ym8gifmqan7gy8b8f47bprq8-foo.json"
<clever> and that returns a path it gets written to
<lovesegfault> :O
<lovesegfault> clever++
<{^_^}> clever's karma got increased to 243
<clever> toFile has the limit that the file cant depend on anything
<clever> > builtins.toFile "foo.json" (builtins.toJSON { a="${hello}"; })
<{^_^}> in 'toFile': the file 'foo.json' cannot refer to derivation outputs, at (string):271:1
<clever> so you cant do that
<clever> if you need to, you need to switch to pkgs.writeText
<lovesegfault> got it
<clever> > writeText "foo.json" (builtins.toJSON { a="${hello}"; })
<{^_^}> "<derivation /nix/store/vkrmcnbi90rwa30z81la4f9a5gyplhnh-foo.json.drv>"
<lovesegfault> so I'd to toJSON and then writeText
<lovesegfault> SWEEEEET
<{^_^}> [nixpkgs] @jonringer merged pull request #73488 → pynvim: 0.3.2 -> 0.4.0 → https://git.io/JeolB
<{^_^}> [nixpkgs] @jonringer pushed commit from @doronbehar to master « pynvim: 0.3.2 -> 0.4.0 »: https://git.io/JeoMO
zebrag has quit [Ping timeout: 240 seconds]
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 240 seconds]
xkapastel has joined #nixos
inkbottle has joined #nixos
<{^_^}> [nixpkgs] @ahiaao opened pull request #73536 → retext: fix chardet override → https://git.io/JeoMn
<{^_^}> [nixpkgs] @ahiaao opened pull request #73537 → Fix/retext chardet override backport → https://git.io/JeoM4
lovesegfault has quit [Remote host closed the connection]
lovesegfault has joined #nixos
<lovesegfault> clever: My internet fell over, did you say anything?
<wedens[m]> lovesegfault: you can probably do `(import <nixpkgs/nixos> {}).config` from home-manager
<clever> lovesegfault: Logs: https://logs.nix.samueldr.com
<{^_^}> [nixpkgs] @jonringer merged pull request #73460 → weechatScripts.weechat-matrix: init at unstable-2019-11-10 → https://git.io/JeoJp
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to master: https://git.io/JeoMR
<lovesegfault> does this look good?
<lovesegfault> home-manager switch isn't updating the file for some reason
<lovesegfault> wedens[m]: What happens if I try to call that from a non-NixOS machine?
<clever> lovesegfault: you want only text or source, not both
<wedens[m]> I suppose it'll fail
<lovesegfault> derp
<clever> lovesegfault: text tells home-manager to write it to a file for you, source says to copy an existing file
<lovesegfault> clever: Yep, I left source lingering there accidentally
<lovesegfault> I'm reducing the number of ad-hoc config files I have laying around
<clever> id say thats a bug, it should fail hard when you do that
<wedens[m]> lovesegfault: you can do it conditionally, of course. `isNixOS = builtins.pathExists /etc/NIXOS`
<lovesegfault> clever: Agreed, I'll submit an issue
<lovesegfault> done
<{^_^}> rycee/home-manager#914 (by lovesegfault, 6 seconds ago, open): Conflicts in xdg.configFIle should error
h0m1 has quit [Quit: WeeChat 2.6]
h0m1 has joined #nixos
h0m1 has quit [Client Quit]
<{^_^}> [nixpkgs] @jonringer merged pull request #73536 → retext: fix chardet override → https://git.io/JeoMn
<{^_^}> [nixpkgs] @jonringer pushed commit from @ahiaao to master « retext: fix chardet override »: https://git.io/JeoMa
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #73537 → retext: fix chardet override 19.09 backport → https://git.io/JeoM4
<{^_^}> [nixpkgs] @jonringer pushed commit from @ahiaao to release-19.09 « retext: fix chardet override »: https://git.io/JeoMV
chocopuff has joined #nixos
chocopuff is now known as chocopuff298
chocopuff298 is now known as chocopuff
chocopuff has quit [Changing host]
chocopuff has joined #nixos
chocopuff has joined #nixos
<chocopuff> is there a way to use nix-shell with an IDE?
<chocopuff> as in source the virtualenv in a nix-shell from say vs code
<chocopuff> i found an extension but couldnt get it working and couldnt find anyhting beyond that
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<DigitalKiwi> direnv/lorri
<DigitalKiwi> <3 lorri
LysergicDreams has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 250 seconds]
<wedens[m]> am I doing something wrong or nixos-rebuild ignores NIX_PATH?
<{^_^}> [nixpkgs] @groodt opened pull request #73538 → kubeseal: init at 0.9.5 → https://git.io/JeoM6
LysergicDreams has joined #nixos
<DigitalKiwi> you can do nixos-rebuild -I nixpkgs=/path maybe that's what you want? I'm not clear on what you're doing
<DigitalKiwi> (and don't know the answer to the NIX_PATH question)
<chocopuff> DigitalKiwi thank you, i'll look into it!
init_6 has quit []
<wedens[m]> DigitalKiwi: yes, `-I nixpkgs=...` is what I want, but with `nixpkgs` picked up from NIX_PATH without additional arguments
<DigitalKiwi> i know a way to do it by putting it in your config
<DigitalKiwi> is that helpful? i'll dig it up
Heirlung has quit [Quit: ZNC - http://znc.in]
Heirlung has joined #nixos
<wedens[m]> it'll take effect only on consequent invocations
<wedens[m]> so, you have to invoke nixos-rebuild twice for nix.nixPath to take effect
Thra11 has quit [Read error: Connection reset by peer]
<clever> or just use the right -I flag the 1st time
<DigitalKiwi> nix = {
<DigitalKiwi> nixPath = [ "nixpkgs=/home/kiwi/nixpkgs" ] ++ options.nix.nixPath.default;
<DigitalKiwi> };
<DigitalKiwi> the order matters
<wedens[m]> clever: yeah, that's what I'm trying to avoid :D I want to specify the same NIX_PATH everywhere
<wedens[m]> with pinned channels, etc
<clever> nix.nixPath sets NIX_PATH for you
<wedens[m]> alright, I'll probably make some nixos-rebuild wrapper that adds -I arguments so that I don't have to remember when I need to add those
<clever> once nix.nixPath has set NIX_PATH, you dont need the -I flags anymore
* DigitalKiwi adds bash aliases
abathur has quit [Ping timeout: 240 seconds]
<DigitalKiwi> https://gist.github.com/Kiwi/ad860df1e68b6fb72195fd24bbf6ee66 there's a start to your wrapper if you want though
<wedens[m]> clever: what if I need to change some path? I'll have to build twice. the first time to set correct NIX_PATH and the second to actually use it
<clever> wedens[m]: thats why i try to avoid changing NIX_PATH, set it to a constant value, and instead change what it points to
<wedens[m]> DigitalKiwi: thanks
<clever> wedens[m]: you can force nix-channel to use a specific revision, rather then an actual channel
<lovesegfault> Will channels go away with flakes?
<DigitalKiwi> i swap out the nixpkgs with git or moving folders
<DigitalKiwi> git branches*
<wedens[m]> clever: I've removed channels. currently I use specific tarballs
<wedens[m]> NIX_PATH points to tarball url
<clever> wedens[m]: if you `nix-channel --add https://githib.com/nixos/nixpkgs/archive/REV.tar.gz nixos`, and then `nix-channel --update nixos`, it will fetch the given rev
LysergicDreams has quit [Ping timeout: 276 seconds]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @ahiaao opened pull request #73539 → retext: properly wrap with wrapQtApp → https://git.io/JeoMH
<{^_^}> [nixpkgs] @ahiaao opened pull request #73540 → retext: properly wrap with wrapQtApp 19.09 backport → https://git.io/JeoMQ
MichaelRaskin has joined #nixos
<wedens[m]> clever: what are advantages of it over using NIX_PATH?
<clever> wedens[m]: if its in NIX_PATH, nix will try to re-download the tar every hour, even though it cant have changed
<clever> wedens[m]: which can cause delays if you try to run stuff without internet
<wedens[m]> yeah, I've changed tarball-ttl to more sensible value
<clever> it also means the NIX_PATH variable wont change, instead, your updating a dir that NIX_PATH points to
<clever> so you dont have to relaunch your shells to make the new NIX_PATH take effect
<DigitalKiwi> chocopuff: if you need help with lorri ever feel free to ask in #lorri
Thra11 has joined #nixos
<chocopuff> sounds promising will do
<lovesegfault> I want Nix -> CSS now :P
xa0[m] has joined #nixos
Heirlung has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #73450 → vault: 1.2.4 -> 1.3.0 → https://git.io/Jerh6
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeoMx
<wedens[m]> is there a history of available channels revisions?
Heirlung has joined #nixos
<lovesegfault> I want to package a statically-linked binary, should I use a fixed-output derivation? (ftp://ftp.acousticbrainz.org/pub/acousticbrainz/essentia-extractor-v2.1_beta2-linux-x86_64.tar.gz)
<lovesegfault> cc. clever srhb
<clever> lovesegfault: you would use fetchurl to generate a fixed-output drv that downloads it
<clever> lovesegfault: then a non-fixed output (like stdenv.mkDerivation or runCommand) to copy it to $out/bin/foo
<lovesegfault> I need to unpack it too, is that automagically done?
<clever> lovesegfault: though, you could also use the postFetch on fetchurl, to move it there
<clever> lovesegfault: stdenv.mkDerivation will unpack the src for you
<lovesegfault> Got it, let me try
<lovesegfault> clever: do I need anything on my {}:?
andersk has quit [Remote host closed the connection]
<clever> lovesegfault: fetchurl and stdenv
<lovesegfault> what's the inehrit keyword?
<clever> lovesegfault: basically, { inherit a; } is just { a = a; }
<clever> and { inherit (a) b; } is just { b = a.b; }
<{^_^}> [nixpkgs] @jonringer merged pull request #73535 → mitmproxy: disable example tests → https://git.io/Jeo1X
<{^_^}> [nixpkgs] @jonringer pushed to master « mitmproxy: disable example tests »: https://git.io/JeoMj
andersk has joined #nixos
<lovesegfault> :O
<lovesegfault> Sweet
<{^_^}> [nixpkgs] @marsam opened pull request #73541 → flow: 0.111.3 -> 0.112.0 → https://git.io/JeoDe
<lovesegfault> I just need an installPhase?
<clever> yeah
<lovesegfault> Sweet
<clever> you can also toss in a `pwd` and `ls -lh` to see what you have to copy from
<wedens[m]> will krups/morph/nixops allow me to also copy build-time dependencies, not just resulting closure?
<clever> wedens[m]: nixops only copies the runtime closure to the remote machine
<lovesegfault> like this?
<wedens[m]> how do I do that manually? I think I've seen something similar with build-hook, but it was for copying to cache
<clever> wedens[m]: why do you need the build-time closure on the remote machine?
<wedens[m]> clever: I may want to build configuration locally when this "remote" machine becomes local :D
<clever> lovesegfault: looks fairly close, what happens if you try to nix-build it?
<lovesegfault> clever: error: cannot auto-call a function that has an argument without a default value ('stdenv')
<clever> ,callPackage lovesegfault
<{^_^}> lovesegfault: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<lovesegfault> :O
<clever> wedens[m]: nixops doesnt copy the configuration.nix file over, so you would need to sync that over yourself first
<wedens[m]> clever: so, basically I have a laptop. most of the time I'd like to build configuration on a more powerful desktop and deploy it to the laptop. but if I'm away from my desktop, I want to still be able to change laptop configuration
<clever> wedens[m]: i would make the laptop run nixops, and configure the desktop to be a build machine
<clever> wedens[m]: so the laptop can build things on its own, and optionaly farm it out to other systems to speed itself up
<wedens[m]> clever: what's the role of nixops then?
<clever> wedens[m]: to manage multiple machines at once, so you can just run `nixops deploy` on the laptop, and it updates both laptop&desktop
pointfourone has quit [Read error: Connection reset by peer]
<clever> wedens[m]: and if you arent home, `nixops deploy --include laptop` to limit it to just one
<wedens[m]> clever: makes sense. thanks
<lovesegfault> clever: unpacker appears to have produced no directories
<lovesegfault> I mean, yeah
<lovesegfault> the output is just a bin
<lovesegfault> Why does it need to produce a dir
<clever> lovesegfault: unpackPhase = "unpackFile $src";
<clever> lovesegfault: maybe: unpackPhase = "unpackFile $src ; export sourceRoot=.";
<clever> lovesegfault: the default unpack code expects all tar files to product a directory of things
<lovesegfault> I see
pointfourone has joined #nixos
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #73538 → kubeseal: init at 0.9.5 → https://git.io/JeoM6
<{^_^}> [nixpkgs] @jonringer pushed commit from @groodt to master « kubeseal: init at 0.9.5 »: https://git.io/JeoDO
lovesegfault has quit [Ping timeout: 276 seconds]
kolbycrouch has joined #nixos
<kolbycrouch> anyone know how to get a static IP address with wifi on nixos?
hmpffff has quit [Quit: nchrrrr…]
<clever> kolbycrouch: networking.interfaces.<name?>.ipv4.addresses.*.address
o1lo01ol1o has joined #nixos
tmaekawa has quit [Ping timeout: 250 seconds]
ixxie has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @cko opened pull request #73542 → pkgs/development/libraries: Add missing descriptions and homepages → https://git.io/JeoD4
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @petabyteboy closed pull request #53481 → [WIP]: add fastd module → https://git.io/fhsIZ
bvdw has joined #nixos
Thra11 has quit [Ping timeout: 276 seconds]
mexisme has quit [Ping timeout: 245 seconds]
<wedens[m]> clever: do I need to add build slave as a substitute to build master? or is it unnecessary?
<clever> wedens[m]: that would just help the performance a little bit
<clever> wedens[m]: if its not a substituter, it will download the build-time deps, copy them to the build machine, then instantly 'build' the thing, and copy the result back
rtjure has joined #nixos
<wedens[m]> so, the actual build still won't happen if derivation already exists in build machine's nix store?
<clever> yep
<clever> but it will waste some copy copying the inputs over
<clever> some time*
ixxie has quit [Ping timeout: 252 seconds]
<wedens[m]> will `builders-use-substitutes = true` change that?
<clever> wedens[m]: that allows the build machine to use its own substituters, but both machines will still pre-download the inputs, then realize they didnt need it
Thra11 has joined #nixos
isHavvy has joined #nixos
Havvy has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @nek0 opened pull request #73543 → vym: 2.6.11. -> 2.7.0 and fix qt5 → https://git.io/Jeoyv
dustinm has joined #nixos
<wedens[m]> nix ping-store complains that nix-store command is not found. remote machine uses home-manager. is there some problem how it handles non-interactive shells?
<clever> wedens[m]: thats an issue due to .profile not being source for non-interactive shells, you need to make sure PATH gets updated in .bashrc too
<clever> wedens[m]: you can also test with `ssh user@host nix-store --version`
ivan has joined #nixos
<wedens[m]> I use zsh. same problem with `ssh user@host nix-store --version`
<clever> maybe ~/.zshrc?
* clever heads off to bed
<{^_^}> [nixpkgs] @FRidh pushed 72 commits to staging-next: https://git.io/Jeoyc
jgt1 has quit [Ping timeout: 240 seconds]
<niso> uhm, why does nixops set "PasswordAuthentication yes" in sshd_config?
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @dtzWill closed pull request #73543 → vym: 2.6.11. -> 2.7.0 and fix qt5 → https://git.io/Jeoyv
<kolbycrouch> clever: Thanks for the info. How do you hand-shake with your WiFi though?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #73312 → pkgs/development/libraries: add missing descriptions and homepages → https://git.io/JewAR
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @cko to master « pkgs/development/libraries: add missing descriptions and homepages »: https://git.io/Jeoy0
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72012 → nixos/magnetico: fixes → https://git.io/JeEcK
<{^_^}> [nixpkgs] @c0bw3b pushed 5 commits to master: https://git.io/JeoyE
rtjure has quit [Quit: rtjure]
jgt1 has joined #nixos
<{^_^}> [nixpkgs] @ahiaao opened pull request #73544 → qca2-qta5: Fix build by using correct c++ standard → https://git.io/Jeoya
rtjure has joined #nixos
hmpffff has joined #nixos
alex``` has joined #nixos
aveltras has joined #nixos
__monty__ has joined #nixos
gxt has joined #nixos
rtjure has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #73545 → nixos/magnetico: fixes → https://git.io/Jeoyp
fusion809 has joined #nixos
kleisli has quit [Ping timeout: 276 seconds]
<Aleksejs> Hi, I've got this error again: cannot download skypeforlinux_8.51.0.86_amd64.deb from any mirror. I guess URL should be changed to 8.51.0.92 or newer: https://repo.skype.com/deb/pool/main/s/skypeforlinux/
boxscape has joined #nixos
jgt1 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #73345 → clang-tools: teach about nix's include path → https://git.io/JertB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeoSs
LysergicDreams has quit [Ping timeout: 240 seconds]
<ddima> Aleksejs: Yep, that version seems to be gone. Could you open an issue on GH for that?
<{^_^}> [nixpkgs] @Mic92 opened pull request #73546 → clang-tools: teach about nix's include path [19.09] → https://git.io/JeoSn
<Aleksejs> ddima: I guess it's fixed already
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-19.09: https://git.io/JeoSC
<{^_^}> [nixpkgs] @Mic92 merged pull request #73544 → qca2-qta5: Fix build by using correct c++ standard → https://git.io/Jeoya
<Aleksejs> probably not merged in 19.09 yet
<{^_^}> [nixpkgs] @markuskowa merged pull request #73517 → smu: init at 1.5 → https://git.io/Jeoov
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JeoSl
<ddima> Aleksejs: might not be done so without a nudge
pistache has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @Mic92 merged pull request #73545 → [19.09] nixos/magnetico: fixes → https://git.io/Jeoyp
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to release-19.09: https://git.io/JeoS8
LysergicDreams has joined #nixos
prusnak has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #73526 → [Trivial] Fix IDs on docs for running tests → https://git.io/Jeo67
<{^_^}> [nixpkgs] @timokau pushed commit from @tomfitzhenry to master « nixos/manual: fix IDs on docs for running tests (#73526) »: https://git.io/JeoSB
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [nixpkgs] @Mic92 merged pull request #73540 → retext: properly wrap with wrapQtApp 19.09 backport → https://git.io/JeoMQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-19.09: https://git.io/JeoSu
gxt has quit [Ping timeout: 260 seconds]
MichaelRaskin has quit [Ping timeout: 245 seconds]
MichaelRaskin has joined #nixos
<{^_^}> [nixpkgs] @ahiaao opened pull request #73547 → Qarte+fix qt platform backport → https://git.io/JeoSP
<{^_^}> [nixpkgs] @Flakebi opened pull request #73548 → pavucontrol, waybar: Use system style → https://git.io/JeoSM
ebzzry has quit [Ping timeout: 252 seconds]
thc202 has joined #nixos
bl1nk[m] has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
LysergicDreams has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @Flakebi opened pull request #73549 → numix-icon-theme-circle: Fix dangling symlinks → https://git.io/JeoSh
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @flokli closed pull request #68161 → python3.pkgs.python-jenkins: 1.4.0 -> 1.5.0 → https://git.io/fjjGd
<{^_^}> [nixos-homepage] @zimbatm pushed commit from @asymmetric to master « Rename Support to Learn (#318) »: https://git.io/Jeo9e
<{^_^}> [nixos-homepage] @zimbatm merged pull request #318 → Rename Support to Learn → https://git.io/Je2JH
xkapastel has quit [Quit: Connection closed for inactivity]
ng0 has joined #nixos
<wedens[m]> will nixos-rebuild use remote builders specified in nixos config immediately? or is it the same story as with nixPath?
alex```0 has joined #nixos
tpanum| has joined #nixos
alex``` has quit [Ping timeout: 240 seconds]
tpanum- has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Flakebi opened pull request #73550 → birdtray: init at 1.6 → https://git.io/Jeo9c
smatting_ has joined #nixos
LysergicDreams has quit [Ping timeout: 265 seconds]
<wedens[m]> apparently no :(
<__monty__> wedens[m]: Well, the configuration that applies is the one you're switching *from* not the one you're switching *to*.
LysergicDreams has joined #nixos
<wedens[m]> how do I avoid manually listing all builders and substitutes already specified in nixos?
<wedens[m]> well, I'd like to set it for "from" configuration
<__monty__> Afaik they're added automatically.
<__monty__> The options are merged.
<{^_^}> [nixpkgs] @Flakebi opened pull request #73551 → dotnet-sdk: 2.2.401 -> 3.0.100 → https://git.io/Jeo9g
<__monty__> wedens[m]: Maybe you can specify the right flags to nixos-rebuild?
<wedens[m]> I'd like to use those builders/substituters before I have nixos configuration active
<wedens[m]> __monty__: I can, but this is a lot of work
<wedens[m]> perhaps I can just manually manage nix.conf so that it doesn't depend on nixos configuration :/
<__monty__> Unfortunate, but yes. I guess a tool that can translate a configuration.nix to a command invocation would be nice.
<__monty__> I'm not sure whether the daemon reads that config but possibly.
<__monty__> Do these settings change that much for you?
<wedens[m]> I've hit the same problem with NIX_PATH and transitioned to channels with pinned revisions (as clever suggested). now it's the same problem with other settings
LysergicDreams has quit [Ping timeout: 250 seconds]
<wedens[m]> __monty__: yes. I'd prefer not to build stuff on my old laptop when I can use desktop which is more powerful and already has most of things I need in the store
<__monty__> Understandable but you'd only have to specify it as a builder on the command line the first time. From then on it's in the config.
<{^_^}> [nixpkgs] @cko opened pull request #73552 → word2vec: fix build → https://git.io/Jeo9r
LysergicDreams has joined #nixos
fendor has joined #nixos
<wedens[m]> I can survive typing all those options for nixos-rebuild manually, but it seems like useless extra work
<__monty__> And you could make your own installer that has that config.
<__monty__> The alternative would give up declarativity though.
<__monty__> Or would it.
<__monty__> I guess it depends on whether you see the existing or the new configuration as authoritative.
<wedens[m]> I wish there was a way to specify nix.conf options and NIX_PATH universally
<__monty__> Universally? For both nixos and nix-env?
<wedens[m]> yes. for all affected commands
<wedens[m]> for example, you can't use NIX_PATH with nixos-rebuild and you have to use -I options
<{^_^}> [nixpkgs] @tomfitzhenry opened pull request #73553 → openarena: fix service's binary name → https://git.io/Jeo9X
<wedens[m]> and you can't set substituters for nixos-rebuild
<wedens[m]> you have to `nix build` the configuration to use those options. at least I haven't found a way to do that differently
<__monty__> Having nixos-rebuild read NIX_PATH would make it stateful though. And that's generally not something you want.
<__monty__> I.e., two realizations of the same config could result in different system setup.
<wedens[m]> I agree. But wouldn't it be nice to have such option?
<wedens[m]> so that you don't have to type `-I x=y` for all paths manually
<__monty__> Could you do `-I "$NIX_PATH"` though?
<__monty__> *couldn't
<__monty__> Maybe with a `$( tr : ' ' )` or something?
<wedens[m]> what would be even better is to have nix daemon configuration in a separate .nix file, so that you can use it in nixos config and pass it to nixos-rebuild as an option
<__monty__> Sounds like a potential feature request.
chloekek_ has joined #nixos
mexisme has joined #nixos
orivej has joined #nixos
kai_w has quit [Quit: Konversation terminated!]
darthdeus has quit [Quit: WeeChat 2.6]
LysergicDreams has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 276 seconds]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #73554 → codec2: 0.8.0 -> 0.9.2 → https://git.io/Jeo9x
hmpffff has joined #nixos
LysergicDreams has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #73507 → btrbk: add missing mbuffer dependency → https://git.io/JeoEK
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JeoHk
LysergicDreams has joined #nixos
LysergicDreams has quit [Ping timeout: 265 seconds]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #73555 → dpdk: 19.08 -> 19.08.2, 17.11.6 -> 17.11.9, addressing CVE-2019-14818 → https://git.io/JeoHs
<segfault[m]> Is someone here having the same issue with unison? My nixos pc has a version built on ocaml 4.05.0 while my arch has a version build with ocaml 4.09.9 This leeds to an sync error because ocaml has changed something in the binary exchange format and now they dont get along anymore :( Somehow I lost the archlinux package, so I cant downgrade...
<tilpner> segfault[m]: unstable has 4.07. Check if that's good enough
<tilpner> Or you can just unison from unstable and see if it is compatible
<segfault[m]> tilpner oh thanks Ill check it out :)
hmpffff has quit [Quit: nchrrrr…]
prusnak has quit [Quit: Connection closed for inactivity]
erictapen has joined #nixos
ebzzry has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #73556 → nix-review: 2.0.1 -> 2.1.0 → https://git.io/JeoHC
Fare has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #73529 → wasabiwallet: 1.1.9 -> 1.1.9.2 → https://git.io/JeoPL
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeoH8
<{^_^}> [nixpkgs] @flokli merged pull request #73555 → dpdk: 19.08 -> 19.08.2, 17.11.6 -> 17.11.9, addressing CVE-2019-14818 → https://git.io/JeoHs
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JeoH4
Fare has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #64479 → notable: 1.4.0 -> 1.7.3 → https://git.io/fjiQt
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/JeoH0
mexisme has joined #nixos
hmpffff has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #73539 → retext: properly wrap with wrapQtApp → https://git.io/JeoMH
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeoHK
<DigitalKiwi> segfault[m]: makepkg is our friend
<{^_^}> [nixpkgs] @Mic92 opened pull request #73557 → nix-serve: correct license → https://git.io/JeoHS
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #71393 → beam-modules/hex-snapshot: remove → https://git.io/JeBVv
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeoQ8
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @nek0 opened pull request #73558 → lmms: fix qt5 → https://git.io/JeoQ2
arianvp_ is now known as arianvp
noudle has joined #nixos
sondr3 has joined #nixos
philr has quit [Ping timeout: 240 seconds]
<betawaffle> has anyone worked out the right way to install nix on macos catalina?
<Yaniel> I haven't heard of anyone figuring out the right way to install anything on catalina yet
jgt1 has joined #nixos
asheshambasta has joined #nixos
<asheshambasta> I just upgraded to nixos 19.09, is it normal that I cannot see pkgs.linuxPackages_5_1 on the 19.09 channel? I could using 19.03
reallymemorable has joined #nixos
<ivan> asheshambasta: yes I think the non-LTS kernels got removed
<ivan> except latest
<asheshambasta> ivan: okay, thanks for clarifying, a bit surprising though. Any reasons behind that?
<{^_^}> [nixpkgs] @dtzWill opened pull request #73560 → qownnotes: 19.10.10 -> 19.11.4 → https://git.io/Jeo7q
<ivan> asheshambasta: they get EOLed quickly
<{^_^}> [nixpkgs] @dtzWill opened pull request #73561 → gcc7: 7.4.0 -> 7.5.0 → https://git.io/Jeo73
<ivan> things in the stable release are supposed to get security updates
<ivan> linuxPackages_latest points to 5.3 fwiw
jgt1 has quit [Ping timeout: 252 seconds]
exfalso has joined #nixos
<asheshambasta> ivan: okay, I see.
reallymemorable has quit [Client Quit]
asheshambasta has quit [Remote host closed the connection]
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #73562 → qt5: 5.12.5 -> 5.12.6 → https://git.io/Jeo74
<{^_^}> [nixpkgs] @aanderse opened pull request #73563 → kdevelop, kdev-php, kdev-python: 5.4.3 -> 5.4.4 → https://git.io/Jeo70
jgt1 has joined #nixos
jgt2 has joined #nixos
pareidolia has joined #nixos
jgt1 has quit [Ping timeout: 265 seconds]
asheshambasta has joined #nixos
<{^_^}> [nixos-org-configurations] @grahamc merged pull request #91 → nixos-org: add redirect to learn page → https://git.io/Je2Jh
<{^_^}> [nixos-org-configurations] @grahamc pushed 2 commits to master: https://git.io/Jeo7S
o1lo01ol1o has joined #nixos
pareidolia has quit [Ping timeout: 265 seconds]
<{^_^}> [nixos-org-configurations] @grahamc pushed 3 commits to master: https://git.io/Jeo7Q
Thra11 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #73564 → hyperspace: init at 1.0.3 → https://git.io/Jeo5v
<{^_^}> [nixpkgs] @dtzWill opened pull request #73565 → masterpdfeditor: 5.4.10 -> 5.4.38 → https://git.io/Jeo5T
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #73566 → nixos/adb: don't make android tools the system-wide mke2fs, lowPrio → https://git.io/Jeo5G
jgt2 has quit [Ping timeout: 240 seconds]
mg has joined #nixos
mg is now known as mg-
jgt2 has joined #nixos
asheshambasta has quit [Ping timeout: 246 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
smatting_ has quit [Ping timeout: 265 seconds]
Thra11 has quit [Read error: Connection reset by peer]
vesper11 has quit [Quit: ZNC 1.7.4 - https://znc.in]
vesper11 has joined #nixos
zupo has joined #nixos
kleisli has joined #nixos
endformationage has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg closed pull request #72076 → lua5_1: Properly name CVE patch → https://git.io/JeEFj
orivej has quit [Ping timeout: 240 seconds]
squirrel1 has joined #nixos
mounty has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
Thra11 has joined #nixos
mounty has joined #nixos
pareidolia has joined #nixos
vesper11 has quit [Read error: Connection reset by peer]
vesper11 has joined #nixos
Neo-- has joined #nixos
jgt2 has quit [Ping timeout: 276 seconds]
<wedens[m]> can I use overlays-compat thing when bootstraping nixos? if I do `nixos-install -I nixpkgs-overlays=./overlays-compat`
Neo-- has quit [Remote host closed the connection]
Lysergic1reams has joined #nixos
LysergicDreams has quit [Ping timeout: 246 seconds]
captn3m0 has joined #nixos
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @guserav closed pull request #62645 → python37Packages.py3status: Fix prefetch replacements → https://git.io/fjuko
pareidolia_ has joined #nixos
pareidolia has quit [Ping timeout: 276 seconds]
hax404 has quit [Quit: WeeChat 2.6]
hax404 has joined #nixos
<{^_^}> [nixpkgs] @jonasnick opened pull request #73567 → lnd: 0.7.1 -> 0.8.1 → https://git.io/JeodL
jgt2 has joined #nixos
asheshambasta has joined #nixos
pareidolia_ has quit [Ping timeout: 240 seconds]
chloekek_ has quit [Ping timeout: 265 seconds]
civodul has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #73554 → codec2: 0.8.0 -> 0.9.2 → https://git.io/Jeo9x
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jeods
<{^_^}> [nixpkgs] @markuskowa opened pull request #73568 → nixosTests.rxe: port to python → https://git.io/JeodG
domogled has quit [Quit: domogled]
domogled has joined #nixos
_d0t has joined #nixos
genesis has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Izorkin opened pull request #73569 → nixos/samba: fix autostart service → https://git.io/Jeod8
<betawaffle> how should i go about bringing an existing nixos machine into a new nixops setup?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #69571 → apt: 1.4.6 -> 1.8.4 → https://git.io/JeGHA
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @georgyo to master « apt: 1.4.6 -> 1.8.4 »: https://git.io/JeodE
<betawaffle> the existing machine has a bunch of important existing configuration, btw
Fare has quit [Ping timeout: 245 seconds]
<betawaffle> or should i even do that, if i may only be managing a single host with this?
fifeefo has quit [Quit: Leaving]
knupfer has quit [Remote host closed the connection]
Chiliparrot has joined #nixos
knupfer has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt2 has quit [Ping timeout: 265 seconds]
ebzzry has left #nixos ["WeeChat 2.3"]
<{^_^}> [nixpkgs] @turboMaCk opened pull request #73570 → bs-platform: init at 6.2.1 → https://git.io/JeodD
mexisme has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Flakebi closed pull request #73551 → dotnet-sdk: 2.2.401 -> 3.0.100 → https://git.io/Jeo9g
chloekek_ has joined #nixos
xd1le has quit [Quit: leaving]
<{^_^}> [nixpkgs] @markuskowa opened pull request #73571 → mpich: 3.3.2 -> 3.3.3 → https://git.io/JeoFm
asheshambasta has quit [Remote host closed the connection]
boxscape has quit [Remote host closed the connection]
ng0 has quit [Quit: Alexa, when is the end of world?]
gagbo has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
Ariakenom has joined #nixos
_d0t has quit [Ping timeout: 265 seconds]
_d0t has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
maxdevjs has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #73565 → masterpdfeditor: 5.4.10 -> 5.4.38 → https://git.io/Jeo5T
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeoFi
Izorkin has quit [Client Quit]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #73569 → nixos/samba: fix autostart service → https://git.io/Jeod8
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeoF9
maxdevjs has quit [Quit: Leaving]
maxdevjs has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #73557 → nix-serve: correct license → https://git.io/JeoHS
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeoFQ
<{^_^}> [nixpkgs] @flokli merged pull request #73500 → ghostscript: add patch for CVE-2019-14869 → https://git.io/JeoR2
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/JeoF7
WilliButz has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #73516 → fribidi: add patch for CVE-2019-18397 → https://git.io/JeoF5
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/JeoFd
Thra11 has quit [Read error: Connection reset by peer]
h0m1 has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @LnL7 opened pull request #73572 → darwin.CF: workaround intermittent CFRuntime.c failures → https://git.io/JeoFA
jlou2u2 has joined #nixos
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #73573 → libextractor: add patch for CVE-2019-15531 → https://git.io/Jeobt
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72295 → pidgin-opensteamworks: git-2018-08-02 -> 1.7 → https://git.io/JezLG
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @Shados to master « pidgin-opensteamworks: git-2018-08-02 -> 1.7 »: https://git.io/Jeobm
h0m1 has quit [Client Quit]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #73571 → mpich: 3.3.2 -> 3.3.3 → https://git.io/JeoFm
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jeob3
Thra11 has joined #nixos
Thra11 has quit [Read error: Connection reset by peer]
mexisme has joined #nixos
minall has joined #nixos
minall has joined #nixos
minall has quit [Changing host]
<minall> Hello Nixos!
<minall> I'm on a new nixos installation
<minall> But I don't seem to have any plasma apps... How should I install all of them?
<Izorkin> how to correct build go module - error - failed to initialize build cache at /homeless-shelter/.cache/go-build: mkdir /homeless-shelter: permission denied/ Package - https://github.com/NixOS/nixpkgs/blob/f1682a7f126d4d56dfbb96bb8c8c5582abb22828/pkgs/servers/http/unit/default.nix
<DigitalKiwi> Minall: I don't know if there's a better way but probably a bad way of doing it is `nix-env -iA nixos.kdeApplications`
<DigitalKiwi> Minall: I'd probably hold off on that until someone else weighs in
bastii has joined #nixos
<minall> Thanks DigitalKiwi!
doyougnu has joined #nixos
turbo_MaCk has joined #nixos
chocopuff has quit [Remote host closed the connection]
<DigitalKiwi> I wasn't able to figure out how to get it to work as part of configuration.nix
<turbo_MaCk> I'm looking for reviewers for 73570 (https://github.com/NixOS/nixpkgs/pull/73570) it's init of buckescript compiler so ideally some OCaml/ReasonML guru
<{^_^}> #73570 (by turboMaCk, 1 hour ago, open): bs-platform: init at 6.2.1
<DigitalKiwi> or if I did I don't remember
minall has quit [Remote host closed the connection]
cosimone has joined #nixos
cosimone has quit [Client Quit]
cosimone has joined #nixos
Fare has joined #nixos
Thra11 has joined #nixos
inkbottle has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 265 seconds]
drakonis_ has joined #nixos
_d0t has quit [Ping timeout: 265 seconds]
drakonis has quit [Ping timeout: 276 seconds]
_d0t has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
exfalso has quit [Ping timeout: 245 seconds]
oxford has quit [Remote host closed the connection]
sweep has joined #nixos
oxford has joined #nixos
sweep is now known as genesis
genesis has quit [Changing host]
genesis has joined #nixos
smatting_ has joined #nixos
<{^_^}> [nixpkgs] @tmplt opened pull request #73574 → gdb: wrap, making libstdc++ plugin safe to load → https://git.io/JeoNZ
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<wedens[m]> how do I set channels to specific urls when doing nixos-install?
ddellacosta has joined #nixos
kyren has quit [Quit: ZNC 1.7.4 - https://znc.in]
drakonis_ has quit [Ping timeout: 265 seconds]
squirrel1 has left #nixos ["WeeChat 1.6"]
kyren has joined #nixos
Mic92 has joined #nixos
cosimone has quit [Remote host closed the connection]
turbo_MaCk has quit [Quit: WeeChat 2.6]
cosimone has joined #nixos
rauno has joined #nixos
drgbr has quit [Ping timeout: 268 seconds]
drgbr has joined #nixos
pareidolia has joined #nixos
chloekek_ has quit [Ping timeout: 240 seconds]
rauno has quit [Ping timeout: 250 seconds]
<avocadoom> Hi, how do I set my libvirt service to use another directory for it's images? I already tried to use another directory and fix permissions for that and the user, but I always get permission denied errors when I try to start it.
max_devjs has joined #nixos
domogled has joined #nixos
maxdevjs has quit [Read error: Connection reset by peer]
irl25519 has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #73188 → spike: init at 1.0.0 → https://git.io/JewIm
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/JeoNx
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
m0rphism has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #73573 → libextractor: add patch for CVE-2019-15531 → https://git.io/Jeobt
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeoAt
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @minijackson opened pull request #73575 → async: init at 0.1.1 → https://git.io/JeoAc
knupfer has joined #nixos
<{^_^}> [nixpkgs] @killercup opened pull request #73576 → cargo-fuzz: 0.5.3 -> 0.5.4 → https://git.io/JeoAu
Fare has quit [Ping timeout: 250 seconds]
drakonis_ has joined #nixos
vesper11 has quit [Read error: Connection reset by peer]
knupfer has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #73550 → birdtray: init at 1.6 → https://git.io/Jeo9c
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeoAi
zupo has joined #nixos
vesper11 has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
acarrico has quit [Ping timeout: 265 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
max_devjs has quit [Quit: Leaving]
<shapr> DigitalKiwi: do you know of a good "getting started with NixOS after you have it installed" document?
maxdevjs has joined #nixos
pareidolia has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @dasJ opened pull request #73577 → matomo: Fix consistentcy check → https://git.io/JeoAx
<DigitalKiwi> yeah that
<shapr> thanks
<DigitalKiwi> i basically have the nixpkgs manual open forever
gagbo has quit [Ping timeout: 252 seconds]
chloekek_ has joined #nixos
_d0t has quit [Ping timeout: 252 seconds]
_d0t has joined #nixos
* shapr searches for nixos + xmonad
<DigitalKiwi> you'll notice there are at least 4 manuals and it's not always obvious which one you'll need to check. also the wiki has a fair amount of setup guides
gagbo has joined #nixos
<shapr> Is there a fund for bribing someone to produce a single coherent manual?
doyougnu has quit [Quit: WeeChat 2.6]
<clever> kolbycrouch: normal wpa_supplicant
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<niso> fetchgit's leaveDotGit doesn't seem to work :/
jlou2u2 has quit [Remote host closed the connection]
* niso wonders about the best way of patching a submodule before cloning it
<niso> clever: git modules (but thanks)
cosimone_ has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #73578 → geoipupdate: Init at 4.1.5 → https://git.io/JeoxJ
<clever> niso: oh, i avoid them whenever possible :P
cosimone has quit [Ping timeout: 250 seconds]
knupfer has joined #nixos
<niso> clever: same :P
ddellacosta has quit [Ping timeout: 240 seconds]
iyzsong has quit [Remote host closed the connection]
iyzsong has joined #nixos
alex```0 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer merged pull request #73556 → nix-review: 2.0.1 -> 2.1.0 → https://git.io/JeoHC
<{^_^}> [nixpkgs] @jonringer pushed commit from @Mic92 to master « nix-review: 2.0.1 -> 2.1.0 »: https://git.io/Jeox0
ixxie has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
_d0t has quit [Quit: Konversation terminated!]
alex```0 has joined #nixos
drakonis_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « wob: 0.2 -> 0.4 »: https://git.io/JeoxX
<emilsp> Hiya, how come fetchFromGithub seemingly fetches the same thing from github? http://sprunge.us/omAb95
ixxie has joined #nixos
<tilpner> emilsp: You need to change the hashes
<tilpner> emilsp: If Nix finds anything with that hash in the store, it gives that to you instead of trying to build whatever you asked for
<etu> ,tofu emilsp
<{^_^}> emilsp: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
ddellacosta has joined #nixos
<emilsp> gah, thanks :)
<MichaelRaskin> Even more: if there is nothing in the store, there is also the cache
<{^_^}> [nixpkgs] @jonringer merged pull request #73521 → tflint: 0.12.1 -> 0.13.1 → https://git.io/Jeooa
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « tflint: 0.12.1 -> 0.13.1 »: https://git.io/JeoxA
<{^_^}> [nixpkgs] @jonringer merged pull request #73552 → word2vec: fix build → https://git.io/Jeo9r
<{^_^}> [nixpkgs] @jonringer pushed commit from @cko to master « word2vec: fix build »: https://git.io/Jeoxx
kvik has left #nixos [#nixos]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mikky> hey, if I wanted to create a customise netboot k
<mikky> * netboot image, where would I start?
cosimone_ has quit [Quit: Terminated!]
jimmyeatworld has quit [Quit: leaving]
<mikky> I've been trying to follow the manual where it says `nix-build -A netboot nixos/release.nix` combined what wiki says about customised ISO: https://nixos.wiki/wiki/Creating_a_NixOS_live_CD
<clever> mikky: 11 pulls in the netboot stuff, 12 pulls in a custom module, 13 configures it, and then 16-19 are copied from release.nix
<{^_^}> [nixpkgs] @dasJ opened pull request #73579 → phpPackages.maxminddb: Init at 1.5.0 → https://git.io/Jeopq
leotaku has joined #nixos
<clever> mikky: 48 then puts the entire thing into the root dir for nginx
<mikky> clever: whoa, that's a little overwhelming :) gimme a couple of minutes to figure out what's going on in there
<mikky> this: `paths = with build; [ netbootRamdisk kernel netbootIpxeScript ];`
<mikky> that's basically all I need, I've got all the other stuff in place already
<mikky> the PXE infrastructure currently runs on an openwrt router
<mikky> clever: I take it that the 'justdoit.nix' part is yours and its role is to establish LUKS?
tv has joined #nixos
<clever> its a bash script that will partition, format, mount, and nixos install
<{^_^}> [nixpkgs] @ryantm merged pull request #73575 → async: init at 0.1.1 → https://git.io/JeoAc
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeopB
<mikky> don't take this wrong, I'm just trying to figure out what parts I can ignore for my use case :)
<{^_^}> [nixpkgs] @ryantm merged pull request #73541 → flow: 0.111.3 -> 0.112.0 → https://git.io/JeoDe
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jeop0
<mikky> unrelated question: at line 28, the ipxe' (the apostrophe) - that's allowed?
<{^_^}> [nixpkgs] @ryantm merged pull request #73567 → lnd: 0.7.1 -> 0.8.1 → https://git.io/JeodL
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeopE
<LnL> yeah only 2 single quotes is special syntax
<{^_^}> [nixpkgs] @risicle opened pull request #73580 → [r19.03] dpdk: 17.11.2 -> 17.11.9, addressing CVE-2019-14818 → https://git.io/Jeopu
<tilpner> > let foo'' = 42; in 21 # and still valid in some places
<{^_^}> 21
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
alex```0 has quit [Quit: The Lounge - https://thelounge.chat]
Blessjah has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #73581 → sidequest: 0.7.5 -> 0.7.6 → https://git.io/Jeop7
zupo has joined #nixos
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #73582 → slurm: 19.05.3.2 -> 19.05.4.1 → https://git.io/Jeohe
<mikky> clever: how do you build that?
<zeta_0> does anyone know who the person is that wrote this package, i have some questions about it ? https://github.com/matthewbauer/nix-haskell-mode/tree/68efbcbf949a706ecca6409506968ed2ef928a20
<clever> mikky: justdoit.nix?
<mikky> clever: the entire config
drakonis_ has joined #nixos
<clever> mikky: netboot_server.nix and justdoit.nix are nixos modules
<clever> mikky: i add them to the imports section of configuration.nix, and it builds with the rest of nixos
domogled has quit [Ping timeout: 265 seconds]
<mikky> ah, so it's part of your entire config
<mikky> makes sense now
<mikky> I was still in the `nix-build -A netboot` universe
drakonis has quit [Ping timeout: 245 seconds]
genesis has quit [Ping timeout: 246 seconds]
sweep has joined #nixos
sweep is now known as genesis
genesis has quit [Changing host]
genesis has joined #nixos
<sondr3> anyone here know of a way to have both home-manager and system configurations in the same file? I can't figure out how to make it work together
<sondr3> either it complains about something like `home.packages` or the other around
<zeta_0> i am having problems with nix-haskell-mode for emacs, could someone help me ?
<mikky> I'm basically just looking for a way how to build kernel image and the netboot initrd
darthdeus has joined #nixos
<mikky> my ultimate goal is to have a minimal nixos booted over network with sshd enabled
<mikky> to be able to provision the machines using either nixops or manually or fix them, etc..
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/Jeohc
ixxie has quit [Ping timeout: 252 seconds]
ng0 has joined #nixos
<etu> sondr3: Not in the same file. The closest you get is that you can import a home-manager service and enable it for your user in your main configuration.
drakonis has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<shapr> how do I get linux kernel 5.x installed with nixOS?
drakonis has quit [Ping timeout: 246 seconds]
<clever> shapr: boot.kernelPackages = pkgs.linuxPackages_latest;
<mikky> shapr: boot.kernelPackages = pkgs.linuxPackages_latest;
erictapen has quit [Ping timeout: 240 seconds]
<mikky> or boot.kernelPackages = pkgs.linuxPackages_5_2; of you want a more specific version
<shapr> thanks
<shapr> as long as it's 5.x this laptop works better.
<mikky> you should be ok with _latest as long as you don't use ZFS
<Yaniel> or just wait a couple more weeks for 5.4 to hopefully become the default on unstable
<shapr> I'm just starting, I don't think I'm using unstable yet.
<Yaniel> yeah you are not unless you explicitly changed from whatever release you got the installer from
<shapr> don't think so
ixxie has joined #nixos
<shapr> do I need to nixos-rebuild reboot after setting linuxPackages_latest ?
<sgraf> How can I override the glibc version to 2.28? Is that even possible?
<mikky> you can check by `nix-channel --list`
<sgraf> (current is 2.27)
<sondr3> etu: do you have an example of that?
<Yaniel> shapr: yes, and an actual reboot
<shapr> ok, thanks
<Yaniel> you could maybe do some wizardry with nixos-rebuild switch and kexec but I don't recommend going there unless you really need to and know what you are doing
<Yaniel> (and then you probably wouldn't be asking)
<mikky> shapr: you need nixos-rebuild after pretty much any change in configuration, what action to take depends on the change. Mostly you'd be using 'switch'
Okinan has quit [Quit: Konversation terminated!]
<etu> sondr3: And 25 :p
<shapr> mikky: is that subsumed by nixos-rebuild reboot? or do I need separate steps?
<Yaniel> reboot changes what you will boot into next time you boot
<Yaniel> switch does that, and additionally switches over everything it can immediately, at runtime
<shapr> oh I see
<mikky> it's acutall 'boot' not 'reboot'
<Yaniel> restarting services etc
<mikky> and yes, 'switch' implies 'boot'
<shapr> ok good
<clever> and test will activate without touching the bootloader config
<clever> so switch is basically test+boot
<Yaniel> but the restarting services can fail etc and then you end up with a halfway updated system anyway
erictapen has joined #nixos
<Yaniel> at least unlike other systems you can work around that by starting stuff manually or by rebooting
<Yaniel> *unlike with other distros
<clever> a recent problem i had, is that bonding can start up just fine, if thats all that changed
<clever> but, the act of loading bonding, breaks wpa_supplicant
<clever> so if i reboot, wpa_supplicant can no longer start
<Yaniel> hehe yeah, networking failures
<clever> switch loaded things in a different (working) order, compare to booting
<Yaniel> oh the networking failures
<shapr> so, nixos-rebuild switch, and the just run reboot?
<mikky> shapr: yes
chloekek_ has quit [Ping timeout: 276 seconds]
<clever> shapr: if your planning to reboot, use `nixos-rebuild boot`
<Yaniel> I think that was the reason I switched to using nixos-rebuild boot
<shapr> ok, thanks
<clever> not much point in activating things and then immediately rebooting
<Yaniel> if you are planning to reboot anyway, switch does not hurt
<shapr> I don't know anything :-)
<Yaniel> but it's pointless
knupfer has quit [Read error: Connection reset by peer]
<mikky> true
<clever> Yaniel: https://github.com/NixOS/nixpkgs/pull/73299 is the wpa issue
<{^_^}> #73299 (by toonn, 5 days ago, open): nixos/wpa_supplicant: fix unit-start script
knupfer has joined #nixos
<Yaniel> also if your machine boots fast you can in theory get less downtime from using boot I guess :P
laerling has quit [Quit: ZNC 1.7.3 - https://znc.in]
knupfer has quit [Client Quit]
knupfer1 has joined #nixos
<Yaniel> since the old services will be running until you shut down
knupfer1 has quit [Client Quit]
<mikky> So I've been trying a little more with the netboot and I'm currently at `nix-build nixpkgs --arg supportedSystems '["x86_64-linux"]' -A netboot nixpkgs/nixos/release.nix -I nixos-config=my-custom-config.nix` which ends up with a completely unrelated build error
kenran has joined #nixos
<clever> mikky: i think you want `--arg configuration 'import ./my-custom-config.nix'`
<clever> mikky: and rather then supportedSystems, you want -A netboot.x86_64-linux
<darthdeus> is there a good way to check which packages will install without any building? like browsing cache.nixos.org or something?
<clever> darthdeus: nix-build --dry-run i think
<mikky> clever: good point, but the error still looks unrelated to this. Something about XML compilation in manual: https://gist.github.com/cptMikky/2ef2818d1013b92b2c11f74646d81787
<clever> mikky: are you on a channel or master?
<mikky> clever: master
<clever> mikky: might just be that master is broken
laerling has joined #nixos
Okinan has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed to staging-next « wrap-qt-apps-hook: `qtWrapperArgs` may be undefined »: https://git.io/JeohX
<mikky> clever: I'll try against channel. however `-A netboot.x86_64-linux` gives me: "error: attribute 'x86_64-linux' in selection path 'netboot.x86_64-linux' not found"
<clever> mikky: if you instead `nix repl nixpkgs/nixos/release.nix`, and eval `netboot`, what does it contain?
Okinan has quit [Client Quit]
<mikky> clever: "{ aarch64-linux = «derivation /nix/store/6mxkg918qz7fl4csrrzhyy043scngb33-netboot.drv»; x86_64-linux = «derivation /nix/store/vj4skkylzfckds4qhjnd33rkwxfj5b23-netboot.drv»; }"
<clever> mikky: then netboot.x86_64-linux should work
<mikky> clever: let me try against channel
<clever> mikky: i also notice you gave nix-build 2 files, nixpkgs and nixpkgs/nixos/release.nix
<mikky> nixpkgs is path to the master checkout
<clever> mikky: but if you specify 2 paths like that, things wont work right
bvdw has quit [Read error: Connection reset by peer]
Fare has joined #nixos
bvdw has joined #nixos
<mikky> clever: right, I combined two examples together
<mikky> I'm still trying to figure out how things work
inkbottle has quit [Ping timeout: 240 seconds]
zebrag has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exfalso has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
<aleph-> ~/
leotaku has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 252 seconds]
<mikky> clever: I'm getting `error: The option `import' defined in `<unknown-file>' does not exist.` with `--arg configuration 'import ...'`
Thra11 has quit [Ping timeout: 265 seconds]
<clever> mikky: that should have worked, what is the exact command you used?
<mikky> clever: `nix-build --arg configuration 'import ./configuration.nix' -A netboot.x86_64-linux '<nixpkgs/nixos/release.nix>'`
<mikky> without --arg it builds
<mikky> no, sorry, the *EXACT* command is `NIXPKGS_CONFIG= nix-build --arg configuration 'import ./configuration.nix' -A netboot.x86_64-linux '<nixpkgs/nixos/release.nix>'`
<clever> mikky: and what is the contents of configuration.nix?
leotaku has joined #nixos
<mikky> clever: irrelevant, was in a wrong directory, sorry
<mikky> the command works and it apparently builds
leotaku has quit [Ping timeout: 252 seconds]
exfalso has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
Thra11 has joined #nixos
<lordcirth__> If I want to generate a NixOS image that I can dd to the drive of an x86 laptop, how should I? sd-image.nix seems very ARM-based.
<clever> lordcirth__: nixos/lib/make-disk-image.nix
<lordcirth__> clever, thanks!
leotaku has joined #nixos
knupfer has joined #nixos
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #73542 → pkgs/development/libraries: Add missing descriptions and homepages → https://git.io/JeoD4
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jeoj1
<{^_^}> [nixpkgs] @ryantm merged pull request #73581 → sidequest: 0.7.5 -> 0.7.6 → https://git.io/Jeop7
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeojH
red[evilred] has joined #nixos
<red[evilred]> Anyone seen this in master?: "manual-combined.xml:3: element info: Relax-NG validity error : Element book has extra content: info
<red[evilred]> "
smatting_ has quit [Ping timeout: 240 seconds]
<red[evilred]> looks like '/nix/store/7iigf9i40q3hz4lqww76ayff3ppv7ir2-nixos-manual-combined.drv'
philr has joined #nixos
knupfer has quit [Quit: knupfer]
kenran has quit [Quit: leaving]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #73515 → quickjs: init at 2019-10-27 → https://git.io/JeoVJ
<{^_^}> [nixpkgs] @ryantm pushed commit from @ivan to master « quickjs: init at 2019-10-27 (#73515) »: https://git.io/JeKee
leotaku has quit [Ping timeout: 246 seconds]
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @ryantm merged pull request #73479 → coredumper: remove → https://git.io/JeoZv
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeKeJ
knupfer has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #73583 → pack: init at 0.5.0 → https://git.io/JeKeL
gxt has joined #nixos
gxt has quit [Client Quit]
shibboleth has joined #nixos
dansho has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
wolfshappen has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #73476 → blugon: init at 1.11.4 → https://git.io/JeoGS
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeKeZ
<zeta_0> hello guys, i was just wondering: what was your experiencing in developing haskell projects with nix, what was your work flow, and what are some pot holes i might run into ?
<{^_^}> [nixpkgs] @rixed opened pull request #73584 → ocaml-kafka: init at 0.4 → https://git.io/JeKeC
<{^_^}> [nixpkgs] @primeos pushed 3 commits to master: https://git.io/JeKeW
mexisme has quit [Ping timeout: 252 seconds]
leotaku has joined #nixos
Fare has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #72178 → xzoom: fix version → https://git.io/Jeu4J
<{^_^}> [nixpkgs] @Lassulus pushed commit from @davidak to master « xzoom: fix version »: https://git.io/JeKeg
<zeta_0> ?
<{^_^}> [nixpkgs] @Lassulus merged pull request #72013 → wifite2: init at 2.2.5 → https://git.io/JeEcp
<{^_^}> [nixpkgs] @Lassulus pushed to master « wifite2: init at 2.2.5 »: https://git.io/JeKeo
<qyliss> zeta_0: might be a question more suited to the discourse
hmpffff has quit [Quit: nchrrrr…]
<ryantm> pin nixpkgs, use developPackage
<ryantm> pot holes would include needing those overrides because not everything compiles
abathur has joined #nixos
alexherbo2 has joined #nixos
domogled has joined #nixos
magneticduck has quit [Remote host closed the connection]
<zeta_0> ryantm: the haskell-overrides package still does not work, and i have a feeling i am going to really need that package ?
Thra11 has quit [Ping timeout: 265 seconds]
abathur has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 245 seconds]
__monty__ has quit [Quit: leaving]
<lordcirth__> Could someone point out why this fails? https://gist.github.com/lordcirth/e655d791ab6b0209f25a6d222f007e09 Thanks!
<{^_^}> [nixpkgs] @ryantm merged pull request #73480 → keybase, keybase-gui: 4.7.2 -> 5.0.0; add dependence, license → https://git.io/JeoZ0
<{^_^}> [nixpkgs] @ryantm pushed 4 commits to master: https://git.io/JeKvU
sterni has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
leotaku has quit [Ping timeout: 252 seconds]
ixxie has quit [Ping timeout: 265 seconds]
Guest66 has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #73519 → giada: init at 0.15.4 → https://git.io/Jeooq
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeKvZ
Guest66 has left #nixos [#nixos]
<ryantm> zeta_0: What's the haskell-overrides package?
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #73586 → jasper: mark as vulnerable → https://git.io/JeKv2
leotaku has joined #nixos
philr has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #73166 → recursive: init at 1.022 → https://git.io/JeVhC
<{^_^}> [nixpkgs] @Lassulus pushed commit from @eadwu to master « recursive: init at 1.022 »: https://git.io/JeKvS
fendor has quit [Read error: Connection reset by peer]
sondr3 has quit [Quit: WeeChat 2.6]
lovesegfault has quit [Ping timeout: 245 seconds]
<ryantm> zeta_0: Did you try jailbreaking it? It looks like it depends on an exact version of system-fileio, which isn't the one in nixpkgs.
drakonis has joined #nixos
<zeta_0> ryantm: i haven't, i just have it commented out in home.nix
<ryantm> zeta_0: It builds when I jailbreak it.
<{^_^}> [nixpkgs] @Lassulus merged pull request #72991 → squashfs-tools-ng: init at 0.7 → https://git.io/JeaAc
<{^_^}> [nixpkgs] @Lassulus pushed commit from @alyssais to master « squashfs-tools-ng: init at 0.7 »: https://git.io/JeKfv
<zeta_0> ryantm: jailbreak ?
<ryantm> zeta_0: I added ` haskell-overridez = doJailbreak super.haskell-overridez;
<ryantm> ` to configuration-common.nix and then it compiles.
<{^_^}> [nixpkgs] @ryantm closed pull request #72147 → keybase-gui: add libappindicator-gtk3 lib to path → https://git.io/JeumK
<{^_^}> [nixpkgs] @HugoReeves opened pull request #73587 → croc: 6.2.0 -> 6.2.3 → https://git.io/JeKfI
<{^_^}> [nixpkgs] @Lassulus merged pull request #72704 → wakatime: 10.8.0 -> 13.0.1 → https://git.io/Jegbp
<{^_^}> [nixpkgs] @Lassulus pushed commit from @r-ryantm to master « wakatime: 10.8.0 -> 13.0.1 »: https://git.io/JeKfq
mexisme has joined #nixos
steevveen has joined #nixos
goodwill has quit [Quit: ...]
jgt2 has joined #nixos
goodwill has joined #nixos
irl25519 has joined #nixos
Thra11 has quit [Ping timeout: 240 seconds]
judson has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #68768 → Fix color-theme-solarized → https://git.io/JeKfE
<{^_^}> [nixpkgs] @Lassulus pushed commit from @samuelrivas to master « color-theme-solarized: update and fix »: https://git.io/JeKfu
Lysergic1reams has quit [Ping timeout: 240 seconds]
lovesegfault has joined #nixos
LysergicDreams has joined #nixos
<zeta_0> ryantm: will that work in home.nix ?
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
Yaniel has joined #nixos
jgt2 has quit [Ping timeout: 252 seconds]
Thra11 has joined #nixos
m0rphism has quit [Ping timeout: 240 seconds]
mog has joined #nixos
<{^_^}> [nixpkgs] @Lassulus pushed commit from @offlinehacker to master « wagyu: init at 0.6.1 »: https://git.io/JeKfM
<{^_^}> [nixpkgs] @Lassulus merged pull request #72417 → wagyu: init at 0.6.1 → https://git.io/JegTr
kleisli has quit [Ping timeout: 246 seconds]
shibboleth has quit [Quit: shibboleth]
<ryantm> zeta_0: Somehow, yes. I don't know the incantation.
<{^_^}> [nixpkgs] @Lassulus merged pull request #72017 → hexdino: init at 0.1.0 → https://git.io/JeKf9
<{^_^}> [nixpkgs] @Lassulus pushed commit from @Luz to master « hexdino: init at 0.1.0 »: https://git.io/JeKfH
<zeta_0> ryantm: thanks for the info, lets see if it works or not
<zeta_0> ryantm++
<{^_^}> ryantm's karma got increased to 9
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
erictapen has quit [Ping timeout: 276 seconds]
<gyroninja> Does it return the first defined variable?
<ryantm> It returns the second part if the first part is not defined.
Ariakenom has quit [Read error: Connection reset by peer]
<{^_^}> [rfcs] @Ericson2314 opened pull request #60 → Make the detailed design terse by separating examples → https://git.io/JeKfF
steevveen has quit [Remote host closed the connection]
<gyroninja> Are you saying that it is an alias for the logical or operator?
<lovesegfault> How can I conditionally fetch something depending on the arch?
<lovesegfault> I'm packaging a static binary that is available for i686 and x86_64
<clever> lovesegfault: use an if statement against stdenv.system
<clever> > stdenv.system
<{^_^}> "x86_64-linux"
<clever> you can also use a lookup table
<ryantm> gyroninja: No, it is not a logical or, it is an extension of the "Select" operator
<lovesegfault> clever: What about supporting mac and win?
<clever> > let table = { i686-linux = "a"; x86_64-linux = "b"; }; in table.${stdenv.system}
<{^_^}> "b"
<clever> lovesegfault: a lookup table lets you add more systems in the future
pareidolia has joined #nixos
<lovesegfault> I see, nice
<ryantm> gyroninja: logical OR is ||
<clever> > stdenv.isDarwin
<{^_^}> false
<clever> > stdenv.isWindows
<{^_^}> attribute 'isWindows' missing, at (string):271:1
<clever> > stdenv.isLinux
<{^_^}> true
<clever> lovesegfault: and these let you figure out if you need otool or patchelf
<lovesegfault> clever: no patching needed, it's statically linked
<clever> though darwin doesnt allow static binaries
<lovesegfault> wat
<ryantm> > stdenv.isMinGW
<{^_^}> attribute 'isMinGW' missing, at (string):271:1
<ryantm> > stdenv.hostPlatform.isMinGW
<{^_^}> false
<clever> lovesegfault: the darwin kernel rejects any binary that isnt dynamic
<lovesegfault> That's some galaxy brain shit
<clever> lovesegfault: also, it has a path in the headers to the dynamic linker (like ld.so)
<clever> lovesegfault: but it rejects any binary with the "wrong" value
erictapen has joined #nixos