gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1200477131d (from 5 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<emily> um, well, actually, installing Steam on nixos-unstable seems broken right now?
<emily> I guess because steamrt is out of date?
<drakonis> i'm running steam on flatpak
<clever> i just added pkgs.steam to systemPackages and it works
<emily> here it fails to download
<emily> etc.
<dmc> drakonis, how's that working out?
<emily> which, indeed, are 404s
<drakonis> very well so far
<clever> emily: at runtime or nix build time?
<drakonis> i do wish some wine games didn't have distorted audio
<emily> latter
<emily> error: cannot download libvulkan1.deb from any mirror
<emily> are you sure you don't just have it cached
<emily> and that's why it works for you?
<drakonis> i played synthetik when first installed nixos and the audio was fine
<drakonis> but i can't figure out what changed that caused it to get distorted
<drakonis> really good game
jtojnar has quit [Quit: jtojnar]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #49565 → release-lib: Cache cross nixpkgs evals too → https://git.io/fxNY2
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #49566 → release-lib: Cache cross nixpkgs evals too → https://git.io/fxNYr
<simpson> wirew0rm: No worries, still pretty cool.
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #49567 → lib.systems.platforms: Add more ARM autodetection → https://git.io/fxNOT
detran has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #49568 → lib.systems.platforms: Add more ARM autodetection for 18.09 → https://git.io/fxNO3
aleph- has joined #nixos
erictapen has quit [Ping timeout: 272 seconds]
jackdk has joined #nixos
astronavt has joined #nixos
astronavt has quit [Remote host closed the connection]
zolk3ri has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
lassulus has quit [Ping timeout: 252 seconds]
freeman42y has quit [Quit: Leaving]
lassulus has joined #nixos
<pbogdan> is there a way to keep the build dir of a successful nix-build build? (like -K but even if it succeeded)
Rusty1 has quit [Quit: Konversation terminated!]
<pbogdan> seems like https://github.com/NixOS/nix/pull/2482 is what I want
<{^_^}> nix#2482 (by noteed, 1 week ago, open): Add a --keep-successful flag to nix-build.
<{^_^}> [nixpkgs] @TravisWhitaker opened pull request #49569 → fetchgit: extraConfig, allowing extra git configuration. → https://git.io/fxNsJ
<drakonis> hmm, is there anything in place to create a source NAR?
<{^_^}> [nixpkgs] @nicknovitski closed pull request #49564 → androidenv.androidsdk: patch x64 interpreter path of emulator{,-check} → https://git.io/fxNqF
<{^_^}> [nixpkgs] @dtzWill opened pull request #49570 → webkitgtk: 2.22.2 -> 2.22.3 → https://git.io/fxNsI
<drakonis> say, an SNAR, with everything required to successfully build a package
thc202 has quit [Ping timeout: 244 seconds]
sigmundv__ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #49567 → lib.systems.platforms: Add more ARM autodetection → https://git.io/fxNOT
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fxNs6
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #49568 → lib.systems.platforms: Add more ARM autodetection for 18.09 → https://git.io/fxNO3
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fxNsP
johnw has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxNGm
jperras has quit [Ping timeout: 244 seconds]
<colemickens> anyone want to hit merge? https://github.com/NixOS/nixpkgs/pull/48033 :)
<{^_^}> #48033 (by colemickens, 3 weeks ago, open): konqueror: init at 18.08
tertl3 has quit [Quit: Connection closed for inactivity]
<drakonis> isn't konqueror in practice unmaintained?
<drakonis> rather, nobody really works on it anymore
silver has quit [Read error: Connection reset by peer]
Dedalo has joined #nixos
jackdk has quit [Disconnected by services]
jackdk_ has joined #nixos
aleph- is now known as Church_
hyp3rbor3ax_ has joined #nixos
hyp3rbor3ax_ has quit [Remote host closed the connection]
hyp3rbor3ax_ has joined #nixos
jperras has joined #nixos
hyp3rbor3ax has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #49571 → home-assistant: use SIGINT instead of SIGTERM to shut down → https://git.io/fxNZe
<colemickens> drakonis: I don't know. I had wondered the same, but it still seems to be part of KDE releases?
hyp3rbor3ax_ has quit [Remote host closed the connection]
<colemickens> But then again, someone must've chosen not to package it when they were packaging the rest of the KDE apps.
o1lo01ol1o has joined #nixos
<colemickens> I guess the NixOS iso probably just includes Firefox.
<colemickens> It's a shame, Konqueror and Epiphany are basically the only decent choices if you want a native Wayland client...
<drakonis> no point shipping konqueror though
<drakonis> firefox's wayland support is getting there
<colemickens> Yeah, my pursuit of Konqueror is arguably niche.
hyp3rbor3ax_ has joined #nixos
<drakonis> its not going to be a iso default unless you want to decrease the image size
<colemickens> Eh, I suspect Chromium beats them. They've quietly been ramping up merging the ozone/wayland stuff.
<drakonis> which then i'd rather have falkon instaed
<drakonis> falkon over firefox if that's the goal
<colemickens> Eh, that's not what I meant. I was just thinking through the ISO using KDE and what browser it must include. I don't really care what ships on the installer ISO to be honest.
hyp3rbor3ax_ has quit [Remote host closed the connection]
<ekleog> drakonis: if KDE still ships Konqueror it would sound really weird to me for NixOS to refuse to includeit
<drakonis> not against it, but its not exactly widely shipped as a default for anything
<drakonis> maybe debian still ships it if you choose to install the kde metapackage
<ekleog> and?
<drakonis> debian still does it, fedora ships it with the kde image
<ekleog> we have lots of programs that are in no defaults
<drakonis> fair enough
<ekleog> and thankfully, otherwise no one would be using nixos :p
alex`` has quit [Ping timeout: 245 seconds]
<ekleog> colemickens: hmm, something is weird to me though, you use kdelibs4support but kde is kde5 now… right? (not sure whether the “4” here refers to the kde version, though)
<colemickens> ekleog: I *think* it's common for kde5 apps to still pull in the kde4libs. I think I had started from nothing and only added stuff as the build errors came up. Let me spot check against some other packages and see if it's listed as a konq dep
justanotheruser has joined #nixos
<ekleog> colemickens: hmm yeah I can confirm dolphin still uses kdelips4 too
YellowOnion__ has quit [Quit: Leaving]
nuncanada has quit [Quit: Leaving]
lassulus_ has joined #nixos
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #49572 → [WIP] lightstep-tracer-cpp: 0.36 -> 0.8.1 → https://git.io/fxNZl
o1lo01ol1o has quit [Remote host closed the connection]
lassulus has quit [Ping timeout: 245 seconds]
lassulus_ is now known as lassulus
pie__ has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #49573 → bump: pythonPackages.simanneal, fastjet, herwig → https://git.io/fxNZ9
pie__ has quit [Ping timeout: 252 seconds]
hellrazo1 has quit [Ping timeout: 240 seconds]
hellrazo1 has joined #nixos
rprije has quit [Ping timeout: 252 seconds]
snajpa has quit [Ping timeout: 264 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
hexo has quit [Ping timeout: 252 seconds]
Adluc has quit [Ping timeout: 252 seconds]
aither has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4c48da246f8 (from 69 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
srk has quit [Ping timeout: 240 seconds]
srk has joined #nixos
medvid has quit [Read error: Connection reset by peer]
sb0 has quit [Quit: Leaving]
worldofpeace_ has joined #nixos
snajpa has joined #nixos
worldofpeace has quit [Ping timeout: 245 seconds]
snajpa has quit [Excess Flood]
snajpa has joined #nixos
snajpa has quit [Excess Flood]
hexo_ has joined #nixos
snajpa has joined #nixos
snajpa has quit [Excess Flood]
jperras has quit [Ping timeout: 240 seconds]
srk has quit [Ping timeout: 240 seconds]
srk has joined #nixos
snajpa has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
sigmundv has quit [Ping timeout: 260 seconds]
Incin has joined #nixos
wykurz has joined #nixos
johnw has joined #nixos
<{^_^}> [nixpkgs] @arromer opened pull request #49575 → nodePackages_10_x: add ttf2eot → https://git.io/fxNCf
Lisanna has quit [Quit: Lisanna]
hellrazor has joined #nixos
IRCsum has quit [Remote host closed the connection]
IRCsum has joined #nixos
hellrazo1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #49576 → envoy: 1.3.0 -> 1.8.0 → https://git.io/fxNC3
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/89fb76c51ce (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
catid has joined #nixos
<catid> Hello! I'm attempting to get Gstreamer working with VDPAU hardware acceleration. gst-inspect-1.0 -a does not list vdpau
<catid> sudo DISPLAY=:0.0 vdpauinfo does show that it's available
drakonis_ has quit [Ping timeout: 260 seconds]
Incin has quit [Ping timeout: 256 seconds]
drakonis_ has joined #nixos
davidak has quit [Quit: Leaving]
romanofskiWork has quit [Quit: leaving]
garbas has quit [Quit: WeeChat 2.2]
zopsi has quit [Quit: Oops]
zopsi has joined #nixos
jackdk_ has quit [Remote host closed the connection]
drakonis has quit [Quit: WeeChat 2.2]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has quit [Ping timeout: 240 seconds]
<catid> So VDPAU is old and broken and NVDEC is the new way to do it. Looks like Gstreamer 1.14.0 that is currently in Nix doesn't support NVDEC - Version 1.14.2 or newer might
jackdk has joined #nixos
romanofskiWork has joined #nixos
justanotheruser has joined #nixos
catid has quit [Quit: WeeChat 2.1]
sanscoeur has joined #nixos
romanofskiWork has quit [Ping timeout: 240 seconds]
vk3wtf has quit [Ping timeout: 264 seconds]
zack_moe has joined #nixos
jtojnar has joined #nixos
Ridout has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #48033 → konqueror: init at 18.08 → https://git.io/fxGUK
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fxN4J
sb0 has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.2]
revtintin has joined #nixos
jasongrossman has quit [Ping timeout: 244 seconds]
adamantium has joined #nixos
<adamantium> Hi. Is it possible to use netctl and wifi-menu instead of network-manager and nmtui ? :)
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #nixos
sanscoeur has quit [Ping timeout: 252 seconds]
wykurz has quit [Read error: Connection reset by peer]
hamishmack has quit [Ping timeout: 268 seconds]
<drakonis_> adamantium: sure you can, its an srch tool though
<adamantium> what?
<drakonis_> netctl
<adamantium> srch tool?
<drakonis_> arch
<drakonis_> phoneposting does this
<drakonis_> netctl is a CLI and profile-based network manager and an Arch project.
<adamantium> Right. :) i didn't know it was only an arch thing
<adamantium> well how do you get it ? i dont see it in nix options
<drakonis_> you could package it
<adamantium> not there yet
<adamantium> oh well
<adamantium> Thanks
<drakonis_> nobody felt the need for it
MichaelRaskin has quit [Quit: MichaelRaskin]
Kim has joined #nixos
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
leothrix has joined #nixos
leothrix has quit [Remote host closed the connection]
leothrix has joined #nixos
aither has joined #nixos
jackdk has quit [Ping timeout: 272 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
<Izorkin> How to fix error - Can't exec "nscd": No such file or directory at ...-update-users-groups.pl - https://pastebin.com/hUP4Hhzd
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/650fd5bd591 (from 80 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
fragamus has joined #nixos
adamantium has quit [Remote host closed the connection]
<Kim> So I'm currently looking at cross-compiling images for armv6l for some open-source wearables I'm working on. I'm currently looking through the information at https://nixos.wiki/wiki/Cross_Compiling -- does anyone know if there's anything else floating around? Or am I already in the right spot for that?
mayhewluke has quit [Ping timeout: 240 seconds]
<dtz> Izorkin: https://github.com/NixOS/nixpkgs/pull/49513 -- consider commenting if it's important so we can prioritize :)
<{^_^}> #49513 (by dtzWill, 18 hours ago, open): activation-script: add libc to path to provide nscd when needed
mayhewluke has joined #nixos
hamishmack has joined #nixos
<Izorkin> dtz: this commit fix a bug?
alex`` has joined #nixos
hellrazo1 has joined #nixos
jD91mZM2 has joined #nixos
hellrazor has quit [Ping timeout: 244 seconds]
pie_ has joined #nixos
hyper_ch2 has joined #nixos
<hyper_ch2> any chance to get this committed soon? https://github.com/NixOS/nixpkgs/pull/49347
<{^_^}> #49347 (by sjau, 3 days ago, open): easysnap: init at 2018-10-28
lonokhov has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
mkoenig has quit [Quit: Lost terminal]
mkoenig has joined #nixos
fragamus has quit [Ping timeout: 252 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jsgrant has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #49577 → cargo-tree: 0.20.0 -> 0.21.0 → https://git.io/fxNzA
hamishmack has joined #nixos
feep has joined #nixos
<feep> yo
<feep> given a shell.nix making a derivation of stdenv_32bit how do I actually depend on 32-bit builds of libs?
<feep> (on a 64-bit system)
<feep> specifically, how do I get 32-bit freetype
<{^_^}> [nixpkgs] @dywedir merged pull request #49577 → cargo-tree: 0.20.0 -> 0.21.0 → https://git.io/fxNzA
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fxN2H
<feep> hey, how do I get lib in a shell.nix?
<feep> I wanna import lib/strings.nix, but I don't know the syntax
<feep> nm, got lib ? pkgs.lib
kgspooks is now known as kgz
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @Mic92 closed pull request #48378 → [WIP] Port switch-to-configuration script to Python → https://git.io/fxRuu
BOOrrucadu is now known as barrucadu
emerij has joined #nixos
emerij has quit [Client Quit]
pie__ has joined #nixos
dramforever has joined #nixos
pie_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #49543 → sc-controller: 0.4.4 -> 0.4.5 → https://git.io/fxbDZ
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fxNah
<{^_^}> [nixpkgs] @srhb pushed commit from @fadenb to release-18.09 « sc-controller: 0.4.4 -> 0.4.5 »: https://git.io/fxNVT
agander has joined #nixos
katyucha has joined #nixos
<katyucha> Hi... Since the 18.09, I cant start steam... always the same problem https://paste.katyucha.ovh/?9f0956eda505585d#mNTD9EMvTTB0ficzlScI5j4g1Fji9qx+lPlyIi6kspU=
<katyucha> my configuration.nix is good with the 2 32bit active ..
<katyucha> Have someone any idea .. Thanks
<srk> you can try wiping ~/.steam if you don't mind downloading all the games again
<srk> or maybe just moving it temporarily
vk3wtf has joined #nixos
<katyucha> not a prolem but moving my saves before
jasongrossman has joined #nixos
<katyucha> saves are on .local ... so, it's ok
<cocreature> katyucha: how have you installed steam? that looks like the gl version that you’re running might have gotten out of sync with the one that your steam package is using
<cocreature> which could happen if you installed it with nix-env
<katyucha> Steam is installed with nix-env since the 17.03 and it's my first problem :( I used nix-env
<katyucha> I try to uninstall , delete .steam and reinstall
vk3wtf has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #49572 → lightstep-tracer-cpp: 0.36 -> 0.8.1 → https://git.io/fxNZl
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fxNwF
worldofpeace_ has quit [Ping timeout: 244 seconds]
Thra11 has quit [Ping timeout: 244 seconds]
<katyucha> ok installation failed ... curl: (22) The requested URL returned error: 404 Not Found
<katyucha> error: cannot download libvulkan1.deb from any mirror
<{^_^}> [nixpkgs] @megheaiulian opened pull request #49579 → brightnessctl: fix udev and clean unnecessary make flags → https://git.io/fxNrM
thc202 has joined #nixos
kreisys has joined #nixos
phreedom has quit [Quit: No Ping reply in 180 seconds.]
leotaku has quit [Ping timeout: 246 seconds]
phreedom has joined #nixos
lostman has joined #nixos
<lostman> is it possible to merge the output directories of two derivations? I need to create a derivation where clang and llvm binaries are in the same place
<lostman> so basically need to build clang and llvm and copy the outputs of both to the same directory
<arianvp> gchristensen: how am I supposed to use terraform.withPlugins ?
CcxWrk has joined #nixos
<symphorien> lostman: symlinkJoin or buildEnv may help
rprije has joined #nixos
<lostman> @symphorien cool, will have a look at the docs
revtintin has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @dotlambda merged pull request #49339 → pythonPackages.zstd: init at 1.3.5.1 → https://git.io/fxHAk
<{^_^}> [nixpkgs] @dotlambda pushed commit from @eadwu to master « pythonPackages.zstd: init at 1.3.5.1 (#49339) »: https://git.io/fxN6G
alex`` has quit [Ping timeout: 244 seconds]
alex`` has joined #nixos
ThatDocsLady has joined #nixos
<lostman> @symphorien `symlinkJoin` does the trick! will also play with `buidEnv` to see if I can get what I want without creating a new derivation in `/nix/store`
seanparsons has quit [Ping timeout: 272 seconds]
seanparsons has joined #nixos
shabius_ has joined #nixos
johanot has joined #nixos
elgoosy has joined #nixos
shabius has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #49342 → pythonPackages.trueskill: init at 0.4.5 → https://git.io/fxHAu
<{^_^}> [nixpkgs] @dotlambda pushed commit from @eadwu to master « pythonPackages.trueskill: init at 0.4.5 (#49342) »: https://git.io/fxNiD
<infinisil> lostman: possible but not worth it
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b1e74c01f60 (from 88 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
alex``` has joined #nixos
FaerieFly is now known as FireFly
alex`` has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
elgoosy has quit [Remote host closed the connection]
hellrazo1 has quit [Ping timeout: 244 seconds]
hellrazor has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c7f4c0350c6 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @dotlambda opened pull request #49581 → appdaemon: 3.0.1 -> 3.0.2 → https://git.io/fxNXI
vidbina has joined #nixos
alex```` has joined #nixos
<{^_^}> [nixpkgs] @arianvp opened pull request #49582 → terraform-providers: Bump all releases → https://git.io/fxNX6
<{^_^}> [nixpkgs] @fpletz merged pull request #49529 → systemd: 239 -> 239.20181031 → https://git.io/fxb8u
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fxNXS
<{^_^}> [nixpkgs] @fpletz pushed 0 commits to package/systemd-v239.20181031: https://git.io/fxNXH
periklis has joined #nixos
alex``` has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2f9fc897eb3 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @fpletz pushed to release-18.09 « systemd: 239 -> 239.20181031 »: https://git.io/fxN1s
betaboon has joined #nixos
sb0 has quit [Quit: Leaving]
adamt has joined #nixos
<adamt> Hiya. My google-fy seems to fail me. Can anybody point me in the direction of the current best practice of packaging a rust application?
<adamt> (and I hope you all had a safe trip home from NixCon :-) ) ( *google-foo)
rprije has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0111c7d8515 (from 59 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<cocreature> katyucha: try installing it via systemPackages instead
dramforever has quit [Quit: Page closed]
<johanot> adamt: Is this what you're looking for? https://nixos.org/nixpkgs/manual/#compiling-rust-applications-with-cargo
rprije has joined #nixos
<adamt> johanot: Probably. Thanks. Silly me searched for rust and cargo in the nixos- and nix- manuals, and forgot all about nixpkgs. Time to get some sleep
sigmundv has joined #nixos
<srhb> adamt: Make sure to take a look at the mozilla rust repo as well
<srhb> adamt: Since they use nix extensively.
alex`` has joined #nixos
alex```` has quit [Ping timeout: 240 seconds]
<adamt> srhb: Are the information in the nixpkgs manual not sufficient to get something basic working? It's just a quick proof of concept I'm working on
katyucha has quit [Ping timeout: 240 seconds]
katyucha has joined #nixos
teser has joined #nixos
<teser> hi, I would like to know how to create a directory inside /var/log when building a package. I'm getting the following issue when running nixos-rebuild: "mkdir: cannot create directory '/var': Permission denied" ?
<teser> I've seen that the module "nixos/modules/services/misc/jackett.nix" is doing the same and it works, not sure why it doesn't work on my side, I'm also doing it in preStart.
<srhb> adamt: Yeah, definitely.
<teser> Another example is in the pkgs/tools/backup/bareos/default.nix package, which specifies the ""--with-working-dir=/var/lib/bareos"" - this is exactly what I need, however I'm not sure what ensures that the directory will be created (that package doesn't create it itself).
<srhb> teser: You cannot do that.
<teser> srhb, why does the pkgs/tools/backup/bareos/default.nix do it then?
<srhb> teser: I'm assuming those are used at runtime.
<teser> srhb, ok, so it's ok to use such flags at runtime, but not at compiletime?
Spooktober has quit [Quit: Spooktober is over.]
<srhb> teser: At runtime your program can do whatever you like (given normal permission restrictions) -- at build time, it's extremely sandboxed and cannot even see most of the filesystem. :)
grumble has joined #nixos
<srhb> teser: Essentially all a build can do is put contents in its $out (or other outputs), that is, one or more /nix/store/xxx...-name-ver/ paths
<teser> srhb, is there a way to enter the sandbox, so I can see what part of the filesystem it sees, or if there is documentation about that?
<wirew0rm> teser: if your service package complains if the dir does not exist, you need a wrapper or if it is a service use systemd preStart to create the directory
<srhb> teser: There is, though to my knowledge it's not well documented yet. If you want to experiment the easier thing is probably to use ls, find, etc. in your build to test what paths are there
<teser> srhb, I need to specify the --working-dir for http://www.bacula.org/5.1.x-manuals/fr/main/main/Installing_Bacula.html ; this is needed at build time. What would be the best way to approach that?
<srhb> teser: haven't we already got a bacula package?
<teser> srhb, yes, but the new version requires this parameter
<symphorien> teser: you should be able to compile bacula with this folder without checking at build time that the folder exists
<srhb> teser: I'm befuddled. You're linking to a 5.1 version. We have 5.2.x
<teser> srhb, don't mind the link I posted, it's for an older version, but the parameters are the same. I would like to solve this:
<{^_^}> #37365 (by proteansec, 32 weeks ago, open): bacula: 5.2.13 -> 9.0.6
init_6 has joined #nixos
<teser> for version 9.0.6
<srhb> Oh, I see :)
<srhb> teser: Looks like you will have to modify the Makefile to not try and create that directory then
<srhb> teser: And probably provide a means to create whatever directory at runtime instead.
<srhb> This is usually simpler in NixOS where we can provide a "first run" script for the systemd service.
<symphorien> teser: a common idiom is to pass different flags when running make and make install
<symphorien> we want lightdm to look for config files in /etc but to install its sample config files in $out/etc
rprije has quit [Ping timeout: 250 seconds]
Akii has joined #nixos
<teser> symphorien, srhb what if I use the following:
turion has joined #nixos
<teser> configureFlags="--with-sqlite3=${pkgs.sqlite.dev} --with-postgresql=${pkgs.postgresql} --with-logdir=$out/log --with-working-dir=$out/working" -> this will compile the package, but not sure what happens at runtime, since it won't be able to actually write the files into those folders.
<srhb> teser: It probably fails.
<srhb> teser: since it'll try to do that and error out hard because it's read only.
<srhb> Definitely not the way to go. symphorien's suggestion above is excellent :)
<teser> Ok, I'll take a look at that, thanks
<lostman> how to find sha256 for builtins.fetchTarball?
<symphorien> ,tofu
<{^_^}> 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.
<srhb> lostman: With a recent enough nix, it will output the hash in the error message, instead of the unhelpful earlier message.
<srhb> eg. Nix 2.1.3
<lostman> oh, I have the older version. how do I upgrade?
<srhb> lostman: Depends how you got Nix in the first place
<lostman> I'm on Ubuntu
<lostman> installed using the script from the website
<teser> symphorien, so I should pass the configure script a path in /etc/bacula, while the installFlags should specify $out/etc/bacula?
<srhb> lostman: I'm not sure if nix upgrade-nix is safe yet, but either that or rerunning a newer installer.
<teser> symphorien, can you explain this in little more details, since configure/make install is still at build time, what about at runtime when the bacula is actually run?
<symphorien> lostman: can you run `nix-shell -p nix-info --run nix-info`
<{^_^}> [nixpkgs] @adisbladis merged pull request #49542 → openjpeg: adding patch for CVE-2018-7648 → https://git.io/fxbM6
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to staging: https://git.io/fxNyN
<lostman> @symphorien system: "x86_64-linux", multi-user?: no, version: nix-env (Nix) 2.0.4, channels(lostman): "nixpkgs", nixpkgs: /home/lostman/.nix-defexpr/channels/nixpkgs
<srhb> teser: Presumably, make bakes the path you specify into the binaries/scripts
<symphorien> teser: if you pass --with-working-dir=/var/lib/bacula bacula will be compiled with this path hardcoded but even if the path does not exist in the sandbox
<symphorien> only make install will break
<infinisil> lostman: Currently the tofu thing doesn't work with builtins.fetchTarball, you need to use `nix-prefetch-url --unpack <url>` (in the terminal) to spit out the sha
<srhb> infinisil: It does, on 2.1.x
<infinisil> Ahhh, must've changed then
<srhb> Yes, thankfully :)
<symphorien> so you pass somevariableuesdbyautotools=$out/whatever to tell the makefile to install what should go to /var/lib/bacula elswhere instead
<symphorien> in the case of /etc with autotools the variable is called sysconfdir
<srhb> prefetch-url is too error prone..
<infinisil> srhb: It is?
<lostman> update-nix worked fine!
<srhb> infinisil: Well, only due to user error
<symphorien> for your working dir, well, read the Makefile :/
<lostman> @infinisil what does it compute sha of? I tried downloading the tarball and computing sha of that but it's different
<srhb> infinisil: It's easy to generate a sha for the subtly wrong thing and not notice that your expression is not getting the url you thought it was. Happens all the time :-P
<srhb> lostman: It's the unpacked source.
<srhb> lostman: A recursive hash.
<infinisil> There's the nix-hash binary you can use to get the same hash I'm pretty sure
<lukego> Do all nix command line options also have configuration option equivalents? I'm not immediately seeing 'nix.extraSandboxPaths' and 'nix.allowNewPrivileges'. should I?
<lostman> @srhb ah, got it. prefetch-url with --unpack does indeed work! thanks
<srhb> lukego: Usually they are foo-bar-baz in nix.conf instead of fooBarBaz
<infinisil> lukego: Check out `man nix.conf`
<srhb> lukego: man nix,conf
<srhb> eh..
<symphorien> lukego: there is --option name value
<srhb> lukego: In general, the NixOS options are quite out of sync with the actual nix names.
<symphorien> ah sorry misread
<infinisil> Nix 2.0 changed these --option's without backwards compatibility too :(
<srhb> There's only one non-backward compatible one I think? And it used to be, but there were problems..
<lukego> nix.extra-sandbox.paths = [ ... ] seems to work, but not 'nix.allow-new-privileges = true' ?
<srhb> Which was it again..
<symphorien> iirc there is nix.extraConfig, lukego
<srhb> lukego: Where's that nix coming from?
<lukego> this is a nixos config
<lukego> symphorien: thanks, I'll try it that way
<srhb> nix.extraOptions is indeed the way to go then.
zack_moe_ has joined #nixos
<srhb> infinisil: I *was* sure. Now I'm not. :-)
alex``` has joined #nixos
<infinisil> :P
<srhb> infinisil: Anyway, check src/libstore/globals.hh for backwards compatible aliases. :)
<infinisil> :O
Itkovian has joined #nixos
zack_moe has quit [Ping timeout: 252 seconds]
<srhb> lostman: As stated above, I recommend the tofu method over prefetch any day :-)
<infinisil> Okay so it is mostly backwards compatible, but yeah i remember at least one option not being, can't remember which one either
alex`` has quit [Ping timeout: 252 seconds]
<srhb> infinisil: Yeah. I remember it actually broke something semantically, so the alias was removed.
* srhb shrugs
<infinisil> "warning: unknown setting 'signed-binary-caches'"
<srhb> signed-... yeah
<srhb> :P
<{^_^}> nix#2410 (by Infinisil, 7 weeks ago, open): Bad darwin reinstallation experience
<srhb> Got it from the git log :-P
<srhb> So it's not so bad indede.
<{^_^}> [nixpkgs] @fpletz merged pull request #48326 → openjdk: 10.0.2 -> 11.0.1 → https://git.io/fxRkS
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fxN9G
<{^_^}> [nixpkgs] @Infinisil closed pull request #36882 → [WIP] nixos/zfs: Don't force import by default → https://git.io/vxJUW
feep has quit [Disconnected by services]
agander has quit [Ping timeout: 272 seconds]
agander has joined #nixos
<{^_^}> [nixpkgs] @periklis opened pull request #49583 → libarchive: 3.3.2 -> 3.3.3 → https://git.io/fxNHa
justanotheruser has quit [Ping timeout: 268 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
garbas has joined #nixos
<turion> Where does the nginx log go? Nothing arives in journalctl and I can't find an option to switch logging on
<etu> nginx often have a config option for where to put logs
<etu> I haven't used nginx on nixos myself, but try to find the nginx config and look there
<turion> etu: I can't even find the nginx config :(
<turion> /etc/nginx ...? Nope.
periklis has quit [Ping timeout: 264 seconds]
lonokhov has quit [Ping timeout: 252 seconds]
<lukego> symphorien: hm, 'the option 'nix.extraConfig' defined in [...] does not exist.'
<turion> I should be more precise. I get nginx start/stop and error messages in journalctl. But I'm looking for the access log.
<infinisil> lukego: nix.extraOptions
<tilpner> turion - /var/spool/nginx/logs
<infinisil> lukego: You can find options here https://nixos.org/nixos/options.html or in `man configuration.nix`
<tilpner> turion - systemctl cat nginx to get the config path
<lukego> infinisil: thanks. I've been expecting google to find me the relevant docs but that doesn't seem to be a winning strategy.
<turion> tilpner: That's very useful, thanks!
periklis has joined #nixos
<{^_^}> [nixpkgs] @periklis opened pull request #49585 → libid3tag: patch CVE-2017-11550 and CVE-2017-11551 → https://git.io/fxN5s
<betaboon> when writing modules can i do the following: use the name (eg: mymodule.services.<name>) within a defaultValue within that submodule ?
ubert has joined #nixos
alex```` has joined #nixos
<elvishjerricco> betaboon: Yea. `submodule ({ config, ... }: { options.foo = ...; options.bar = { ...; default = config.foo; }; })`
<elvishjerricco> betaboon: Alternatively `submodule ({ config, ... }: { options.foo = ...; options.bar = ...; config.bar = config.foo; })`
<{^_^}> [nixpkgs] @periklis opened pull request #49586 → uriparser: 0.9.0 backport to 18.09 → https://git.io/fxNd0
alex``` has quit [Ping timeout: 250 seconds]
lonokhov has joined #nixos
daGrevis has joined #nixos
daGrevis has left #nixos ["The Lounge - https://thelounge.chat"]
<infinisil> betaboon: I think you want this: `submodule ({ config, name, ... }: { options.foo = ...; config.foo = mkDefault name; })`
silver has joined #nixos
<betaboon> infinisil: yeah i was looking for `submodule ({ name, ... }: { options.foo.default = name; })` and i just remembered that we talked about that a couple of days ago. and i already wrote it to a notes file xD
init_6 has quit [Ping timeout: 240 seconds]
<infinisil> betaboon: options.foo.default isn't valid though, you want config.foo = mkDefault .., and you don't want `options.foo = mkOption { default = ...; ... };` because that could rebuild the manual, I think
reinzelmann has joined #nixos
<betaboon> infinisil: thanks for the hint
jurgenzz has joined #nixos
jurgenzz has left #nixos ["The Lounge - https://thelounge.chat"]
iyzsong has joined #nixos
init_6 has joined #nixos
reinzelmann has quit [Quit: Leaving]
<joko> Hey, is anyone able to build aws-sdk-cpp in recent versions of the nixos-unstable-small channel?
<joko> The nix package pulls it and it seems that its compilation is never ending
<turion> I installed nixos on this machine without disk encryption. I'd like to change that and use LUKS. Is there anything (script, blog post) that guides me through the steps in NixOS?
GDPR is now known as emerson
<joko> turion: I think you would need to re-install again
<etu> turion: There's several ways to do this
<turion> My main aim is to prevent data leakage in case the laptop is stolen, so I'm not really concerned with an encrypted boot partition
<etu> turion: One is to reinstall and build a system with the same config. Another is to make a copy of the partiton from a live usb, create a luks partition and copy things back.
<turion> Couldn't I shrink my partitions, create an encrypted partition, move everything there, then delete the old partitions and resize again
<etu> Once I've used luksipc to convert an unencrypted partition into an encrypted one :D
<etu> But that doesn't seem to be in nixpkgs :(
sb0 has joined #nixos
<etu> luksipc is actually really impressive
katyucha has quit [Ping timeout: 268 seconds]
<turion> etu: luksipc sounds cool! I wonder how one would put that in nixpkgs. I mean, just including it as an executable script should be trivial. But it would be nice if nixos-rebuild switch would automatically realise that you've replaced the unencrypted / with an encrypted one, and call luksipc. Or is that too magical?
periklis has quit [Remote host closed the connection]
symphorien has quit [Quit: WeeChat 2.2]
<srhb> turion: It sounds really fun and really easy to get wrong :D
symphorien has joined #nixos
<etu> turion: I would not trust to run luksipc atomatically
<etu> I ran luksipc on a 12T raid array, took like 28 hours or something
<etu> But the array is still online and all fine :-)
<etu> turion: But also, after you put your system in an encrypted partition you probably need to change some mountpoints and stuff in your config
<srhb> Hm, cryptsetup-reencrypt appears to be recommended by the author now
<srhb> the author of luksipc, that is.
init_6 has quit []
johanot has quit [Quit: WeeChat 2.2]
<turion> srhb, yes, that's why I'm leaning towards it now
<etu> oh, that's probably better then :)
<etu> it was 3-4 years ago I used luksipc :p
<turion> etu: Maybe cryptsetup-reencrypt didn't exist yet
<etu> turion: Probably :-)
<srhb> Indeed it did not
<srhb> (The author says as much)
<{^_^}> [nixpkgs] @danieldk opened pull request #49587 → leveldb: 1.18 -> 1.20 → https://git.io/fxNAO
<etu> turion: Good find! Then I know for the next time I need something like that :)
iyzsong-x has joined #nixos
krgn has joined #nixos
<turion> What I don't really understand yet is the "--reduce-device-size" option.
<turion> It says: First, be sure you have space added to disk. Or alternatively shrink filesystem in advance. Here we need 4096 512-bytes sectors (enough for 2x128 bit key). fdisk -u /dev/sdb # move sdb1 partition end + 4096 sectors (or use resize2fs or tool for your filesystem and shrink it)
<turion> What now. Am I supposed to enlarge or shrink now before using that option?
<srhb> Make the (virtual) device larger or shrink the fs to make room for the luks headers, I suppose
<krgn> heyhey! I'm using nixos, and I'm looking to get to libclang.so, but apparently its wrapped (clang-wrapped-6.*) and no `lib` output is defined. how can I refer to the real clang, if you will?
<turion> srhb so basically partition != filesystem, so there is some 4096 sectors leftover in the partition that aren't used by the filesystem?
<etu> turion: yeah, shrink the fs a few megabytes (more than enough) to make space for luks headers
iyzsong has quit [Ping timeout: 246 seconds]
<tilpner> krgn - ${llvmPackages.clang-unwrapped.lib}/lib/libclang.so
<srhb> krgn: llvmPackages.clang-unwrapped.lib I think
<krgn> oh, that is where its hiding! thanks!
c0bw3b_ has joined #nixos
<etu> luksipc operated by copying the first block from the disk. Writing luks headers, copying second block. Encrypting first block and put it where second block was. Copy third block. Encrypt second block and write where third was. And so on.
<etu> turion: ^
<srhb> krgn: Might want to look at nix-index/nix-locate for tasks like that :)
<etu> I assume that cryptsetup-reencrypt does more or less the same kind of operation
<krgn> srhb: nice one, I didn't know those :)
<symphorien> krgn: llvmPackages.libclang.lib
LnL has quit [Ping timeout: 245 seconds]
<turion> etu: Makes sense. I wonder... I can't leave my disk mounted while doing that, right?
<turion> That's what's meant by "offline"?
<srhb> turion: Right.
<etu> You need to have it unmounted
<etu> Since you're "changing block device", the filesystem may be confused :p
<srhb> Clearly we just need a generalized splitfs kernel module
<srhb> "this part is some fs, this other part is this other fs, please merge" -- what could go wrong
LnL has joined #nixos
<{^_^}> [nix] @janpath opened pull request #2506 → Fix aws-sdk-cpp patch can not be applied → https://git.io/fxNxi
alex`` has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/eca0826b016 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Dedalo has joined #nixos
<nh2> arianvp: from my recollection, the failed stops also happened also on a non-server node. What was your suspicion?
alex```` has quit [Ping timeout: 240 seconds]
<arianvp> nh2: that suspision I have thrown away again
<arianvp> unfortunately
<arianvp> but what I do see, is that the "systemctl stop" command itself failed, from your logs
<arianvp> which can happen when the stop job gets cancelled by systemd
<nh2> you can still say what the suspicion was so that I don't have to come up with that myself and then find out that it doesn't make sense
<arianvp> why it got cancelled is the mystery now
<arianvp> I confused the two logs, and thought that in the failure scenario there was an "exit code 1" for consul
<arianvp> in which a restart would trigger. If a restart and a "systemctl stop" is executed at the same time
<arianvp> then systemd cancels the systemctl stop with the message "Stop job for consul.service canceled"
<arianvp> but the log of the failed node had no failing process in it, so it's probably not that
<arianvp> but, something caused the "systemctl stop consul.service" to cancel still... but I can't figure out why
<arianvp> I tried asking in #systemd but that wasn't very helpful
<nh2> hmm I see
<arianvp> and googling the error only ends up in one bug tracker :P
<arianvp> but yeh I have a feeling it has to do with consul, not nixos
<arianvp> but thats a hunch
<nh2> also, when I read your consul-server-question I didn't really follow why you thought this would be dependent on a consul-specific setting, as the `Stopping ...` part of switch-configuration already doesn't appear
<arianvp> Yes but look further down the logs!
<nh2> OK let's look together, where exactly shall I look?
<arianvp> node-2..............> Job for consul.service canceled.
<arianvp> this means the actual "systemctl stop consul.service" command failed
<arianvp> which then means the job (the internal name for queued tasks in systemd) was never actually scheduled by systemd
<arianvp> hence the lack of "Stopping consul.serivce"
erictapen has joined #nixos
<hodapp> are many folks using Wayland on NixOS? just curious. I have no particular need
<arianvp> hodapp: not many, but I have heard some people succesfully running Sway
<hodapp> Sway?
<arianvp> It's an i3-clone w
<arianvp> KDE, Gnome etc are all not running Wayland yet on NixOS, https://github.com/NixOS/nixpkgs/search?q=wayland&type=Issues
<arianvp> but sway runs fine, if you start it manually from the command-line, afaik
mayhewluke has quit [Ping timeout: 268 seconds]
<arianvp> nh2: now the question I can't figure out: Why did "systemct stop" itself fail?
<nh2> arianvp: oh, right, I indeed missed that part
<arianvp> consul doesn't use socket activated systemd unit right
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d1de23b8302 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<arianvp> ?
<hodapp> does one still get an X server running inside of Wayland for compatibility?
agander has quit [Read error: Connection reset by peer]
mayhewluke has joined #nixos
<arianvp> hodapp: if you install XWayland, then yes
<nh2> arianvp: right, no socket activation in place
<arianvp> hodapp: simply do: programs.sway.enable = true; programs.say.extraPackages = [ xwayland ];
<arianvp> sway*
<arianvp> then in a terminal simply type "$ sway" to start it
<turion> Does nixos-install not work on a vfat?
<hodapp> arianvp: might give it a try
<hodapp> with the dollar sign and all?
<arianvp> no not with the dollar sign :)
<clever> turion: the boot partition can be vfat, but the rootfs must support +x and chown
<arianvp> nh2: darnit. I was reading https://groups.google.com/forum/#!topic/open-iscsi/fksUE4ekeI4 which seemed to be the same problem
<arianvp> but what was happening in their case was that the socket activation was bringing up the service exactly during execution of "systemctl stop"
<arianvp> causing the cancelation of the stop job
<turion> clever: Ah! I was just trying to nixos-install onto a USB key, but I guess I need to repartition first for that to work
<turion> Or simply reformat with ext4?
<arianvp> It smells like systemd bug to me. but idk
<clever> turion: if you only want legacy booting, then you could just make the entire usb stick ext4 on mbr
<turion> clever: By legacy booting you mean grub2? That would be fine
<clever> turion: by legacy, i mean not-efi
<clever> grub2 supports both legacy and efi
<turion> What do you mean by ext4 on mbr? mkfs.ext4 /dev/sdb?
<clever> ext4 on an mbr partition table
<clever> as-in, not-gpt
<turion> Ah ok :) my partition table is "loop" on the USB stick... what does that mean?
agander has joined #nixos
<clever> turion: can you pastebin `fdisk -l /dev/sdb` ?
<turion> clever:
<turion> Festplatte /dev/sdb: 3,8 GiB, 4026531840 Bytes, 7864320 Sektoren
<turion> Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
<turion> E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
<turion> Einheiten: Sektoren von 1 * 512 = 512 Bytes
<turion> I got "loop" from parted
<clever> can you switch it back to english?, just need to tweak one of the LC_ vars i think
<nh2> arianvp: do you know what exactly switch-to-configuration does after it prints `stopping the following units: cdn-rsync.service, server.service, consul-alerts.service, consul.service`?
<arianvp> it executes the command " systemctl stop -- cdn-rsync.service server.service consul-alerts.service consul.service"
<arianvp> that command then failed with "Job for consul.service canceled"
<arianvp> whilst completing the stop for the other units
iyzsong-x has quit [Ping timeout: 268 seconds]
<nh2> arianvp: what if due to some systemd configuration, like `Restart=always` or something like that, consul is immediately restarted? So systemd queues the stop command, but then it immediately cancels it itself because something else restarts it?
<turion> clever:
<turion> Disk /dev/sdb: 3.8 GiB, 4026531840 bytes, 7864320 sectors
<turion> # LANG=EN fdisk -l /dev/sdb        
<turion> Units: sectors of 1 * 512 = 512 bytes
<turion> Sector size (logical/physical): 512 bytes / 512 bytes
<turion> I/O size (minimum/optimal): 512 bytes / 512 bytes
<arianvp> yehh.. I was thinking of that too. but I'm pretty sure systemd should handle that
<clever> turion: i dont think its even partitioned right now, so you need to create an mbr partition
<clever> also
<clever> ,pastebin turion
<turion> clever: # LANG=EN parted -l /dev/sdb
<turion> Model: General UDisk (scsi)
<turion> Partition Table: loop
<turion> Sector size (logical/physical): 512B/512B
<turion> Disk /dev/sdb: 4027MB
Synthetica has joined #nixos
<turion> Disk Flags:  
<turion> Number  Start  End     Size    File system  Flags
<turion> 1      0.00B  4027MB  4027MB  ext4
* clever pokes infinisil
* infinisil pokes clever back
<turion> Ah yes, that exists, sorry
<nh2> arianvp: I can actually reproduce this! If I just type `systemctl stop consul` on my deployed system, I immediately get `Job for consul.service canceled.`
<arianvp> wow
<clever> infinisil: ,pastebin doesnt work
<arianvp> that's! good to hear
<arianvp> :D
<nh2> arianvp: maybe that will help us figure out what happens
<arianvp> now we just need to figure out why it's happening
<infinisil> ,paste
<{^_^}> Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
<clever> turion: yeah, thats not even partitioned, "partition 1" starts at offset 0
<clever> infinisil: ah
drakonis has joined #nixos
<arianvp> can you 'systemctl cat consul' for me ?
<arianvp> and 'systemctl show consul'
erictapen has quit [Ping timeout: 246 seconds]
<arianvp> nh2: also can you type "systemctl list-jobs" ?
<nh2> arianvp: also just comented on the issue
<turion> clever, weird, how did it even have a volume label?
<{^_^}> [nixpkgs] @vincrusher opened pull request #49588 → More Types of CPUs Added. → https://git.io/fxAe7
<arianvp> Could you slide into #systemd on irc?
<clever> turion: the label is part of the filesystem, not the parititon tables
<nh2> arianvp: also what we don't know is: When systemd prints `Job for consul.service canceled.`, it doesn't actually say what exact jobs was cancelled. Is it really talking about our stop-job, or perhaps it's cancelling some other consul-related job?
<turion> clever: Ahhh :) thanks! Until today, I couldn't really appreciate the difference
<clever> turion: gpt makes things more fun, by allowing labels on the partitions as well as the filesystems
alex``` has joined #nixos
__Sander__ has joined #nixos
alex`` has quit [Ping timeout: 252 seconds]
<yurb> Hi everyone. I've submitted my first little pull request - https://github.com/NixOS/nixpkgs/pull/49556 But to be honest, I'm not sure how to interpret two of the checkmarks - "Tested compilation of all pkgs..." and "Determined the impact..."
<{^_^}> #49556 (by yurkobb, 16 hours ago, open): supercollider: build with alsa (midi) support on non-darwin
<turion> clever: Way too much confusion potential for me ;) Now I have created an msdos (~MBR-capable?) partition table and an ext4 partition, and formatted it. Beginners question: Do I have to set the grub device to /dev/sdb or /dev/sdb1?
<clever> turion: sdb still
<turion> But then there is no deterministic way to address that like I can address volumes with their UUID?
<turion> This has confused me in the path as well, I think. The grub.device I need to specify, is it the path in the installing system or later in the installed system? Or do I possibly need to change it after reboot?
<schmittlauch[m]> I honestly find the section about stdenv dependency types in nixpkgs utterly confusing. https://nixos.org/nixpkgs/manual/#ssec-stdenv-dependencies
jperras has joined #nixos
<clever> turion: you need to find a symlink under /dev/block that points to sdb
<schmittlauch[m]> I just want to specify runtime dependencies. How do I do that best?
<turion> clever: Ah, that's cool! But would it depend on the USB port I put the stick in?
<clever> turion: hmmm no, not block
<clever> turion: its /dev/disk you want
<clever> lrwxrwxrwx 1 root root 9 Oct 31 15:36 /dev/disk/by-id/wwn-0x5000cca33ad2b4c7 -> ../../sda
<clever> turion: this one for example, uses the serial# from a sata disk
<{^_^}> [nix] @edolstra pushed to master « Disable the S3 content-encoding patch »: https://git.io/fxAJm
<clever> thats printed on the sticker for some of my newer drives
<c0bw3b_> schmittlauch[m]: use nativeBuildInputs for build-time deps and buildInputs for runtime deps
<turion> Ah ok
<avn> clever: doesn't by-name is better id?
<{^_^}> [nix] @edolstra closed pull request #2506 → WIP: Fix aws-sdk-cpp patch can not be applied → https://git.io/fxNxi
<turion> usb-General_UDisk-0:0 -> ../../sdb Yeah...
<etu> By ID is more "exact"
<{^_^}> [nix] @edolstra closed pull request #2485 → Fix aws-sdk-cpp patch to work with aws-sdk-cpp on 18.09+ → https://git.io/fx9Lw
<schmittlauch[m]> c0bw3b_: Thx. Now *that's* some confuding terminology
<schmittlauch[m]> *confusing
<turion> avn: I don't even have that
<clever> schmittlauch[m]: nativeBuildInputs is stuff that has to run at compile time, on the host (when cross-compiling)
krgn has quit [Ping timeout: 245 seconds]
<clever> schmittlauch[m]: buildInputs is stuff you link against, and later use at runtime (the target when cross-compiling)
<schmittlauch[m]> clever (IRC): In this case I don't even link against them, that's why the *build* part is a bit confusing
reinzelmann has joined #nixos
<avn> well, I meaned by-id, but more "readable" names like ata-WDC_WD10EFRX-68FYTN0_WD-WCC4J2ZPD560@ ;)
<clever> schmittlauch[m]: executables you patch into PATH for use at runtime would also be in the buildInputs i believe
reinzelmann has quit [Ping timeout: 244 seconds]
agander has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @schmittlauch opened pull request #49589 → vim-plugins: add jedi-vim plugin → https://git.io/fxAUG
agander has joined #nixos
johanot has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #49590 → atom, atom-beta: 1.32.0 -> 1.32.1, 1.33.0-beta0 -> 1.33.0-beta1 → https://git.io/fxAUz
sg2002 has joined #nixos
<schopp0r> hi. I am (still) trying to build the nix package manager as a user on a non-nixos-computer. for some reason it builds "libaws" … I never used amazon web services. why is this a hard dependency?
<clever> schopp0r: nix has an s3:// url it supports
<clever> schopp0r: why not just use https://nixos.org/nix/install ?
<schopp0r> clever, no /nix
<clever> ah
<betaboon> is there an easy way to generate the manual of a custom module that is not part of nixpkgs ?
<joko> betaboon: sth like nixos-option <custom>?
<nh2> arianvp: btw for later, we should vet more of nixpkgs systemd units, I think more might have `TimeoutStartSec=0` which is probably very wrong
<arianvp> yes, noted
<betaboon> joko: like the html stuff that is hosted at nixos.org/nixos/manual etc but for my custom module that i import
<schopp0r> clever, can I disable this? because it takes ages.
<schopp0r> and I don't need it
<clever> schopp0r: it should have a flag for it in ./configure
<Unode> hi all, I'm trying to use pygobject + gtk in nixos and I can't get past importing Gtk. http://dpaste.com/1Y1NZ0J am I missing something in my shell environment?
Mateon3 has joined #nixos
worldofpeace has joined #nixos
Mateon1 has quit [Ping timeout: 260 seconds]
Mateon3 is now known as Mateon1
<turion> Weird... error: cannot find a GRUB drive for /dev/disk/sdb.  Check your device.map.
<etu> turion: /dev/sdb
<Unode> symphorien: thanks!
<Unode> symphorien: gobjectIntrospection was the only thing missing. Working now thanks again!
justanotheruser has joined #nixos
<jophish> What happens if I disable polkit, it's responsible for about 70MB(!) of paths
<jophish> Mainly spidermonkey (what) and its dependencies
endformationage has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<symphorien> polkit rules are written in js
<{^_^}> [nixpkgs] @peterhoeg opened pull request #49591 → pythonPackages.snapcast: init at 2.0.9 → https://git.io/fxAIn
<clever> jophish: who wants to rewrite polkit for V8? lol
<symphorien> polkit is needed mostly for gui applications needing sudo-like functionnality. I am not sure if it is necessary on a headless server.
<jophish> hahahaha
<clever> i believe polkit is responsible for letting xfce shutdown without a sudo prompt
romildo has joined #nixos
<clever> so non-root users can do some root-like actions
<romildo> How should I change the following command line in order to test building vivaldi with proprietary codecs enabled?
<romildo> nix-build --option sandbox true -K -A vivaldi
<jophish> I wonder what the reasons were for selecting javascript as a configuration language
<hodapp> beer
<romildo> Vivaldi's nix expression accepts the following arguments: proprietaryCodecs ? false, vivaldi-ffmpeg-codecs ? null
<jophish> Who would be crazy enough to use an untyped turing complete configuration language!!!
<clever> romildo: you want vivaldi.override, via -E
peacememories has joined #nixos
<symphorien> well nix is such a language, jophish, and we use it to configure a whole os :)
<jophish> ;)
<turion> etu: Yes of course! Thanks!
<turion> symphorien: I really hope that types somehow make it into nix finally. What happened to that PhD project that wanted to do it?
<jophish> turion: if you've not seen it already, you might be interested in checking out dhall
<symphorien> it was only a 6 months intership, which turned out to be too short
LnL has quit [Ping timeout: 252 seconds]
<symphorien> there is a talk in the previous nix con about it
<turion> jophish: I know of dhall, but then that's a completely new language. Do you want to create a nixos-like OS based on it?
Dedalo has joined #nixos
<turion> symphorien: Well, maybe a community has to revive that project ;)
<jophish> turion: yeah, there's definitely that problem
<jophish> I've heard of people integrating into a nix workflow though
<symphorien> turion: https://github.com/regnat/ptyx
<jophish> ocharles: I think we spoke about this at some point
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<romildo> clever, I am doing:
<romildo> $ nix-build --option sandbox true -K -E 'vivaldi.override { proprietaryCodecs = true; }'
<romildo> error: undefined variable 'vivaldi' at (string):1:1
<romildo> What else should I add to my command line
erasmas has joined #nixos
<{^_^}> [nixpkgs] @schmittlauch opened pull request #49592 → vim-plugins: add jedi-vim → https://git.io/fxAtS
<clever> romildo: nix-build -E 'with import <nixpkgs> {}; vivaldi.override { proprietaryCodecs = true; }'
<{^_^}> [nixpkgs] @peterhoeg merged pull request #49460 → platformio: 3.5.3 -> 3.6.1 → https://git.io/fxdvA
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fxAqT
<{^_^}> [nixpkgs] @jtojnar pushed 161 commits to gnome-3.30: https://git.io/fxAqk
<romildo> clever, with this I am getting the stable version. I want to test a development version on my cloned nixpkgs repository. What else should I change on that command line
<clever> romildo: with import ./. {}; instead
<romildo> clever, thanks.
silver has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @c0bw3b opened pull request #49593 → dropwatch: init at 1.5 → https://git.io/fxAmG
romildo has quit [Quit: Leaving]
<dhess> atlas, I hate you
<dhess> anyone know why atlas would ignore a `doCheck = false` override?
<dhess> something strange about its build system?
<symphorien> doInstallCheck = false ?
<dhess> interesting, maybe that's it
<dhess> it's broken upstream btw and has been for about 2 weeks
<dhess> some fortran issue it appears
peacememories has joined #nixos
sanscoeur has joined #nixos
peacememories has quit [Client Quit]
<{^_^}> [nixpkgs] @dotlambda merged pull request #49571 → home-assistant: use SIGINT instead of SIGTERM to shut down → https://git.io/fxNZe
<{^_^}> [nixpkgs] @dotlambda pushed commit from @peterhoeg to master « home-assistant: use SIGINT instead of SIGTERM to shut down (#49571) »: https://git.io/fxAOM
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #nixos
dbmikus_ has joined #nixos
cacatoes has joined #nixos
sanscoeur has quit [Ping timeout: 252 seconds]
cacatoes has left #nixos [#nixos]
dbmikus__ has joined #nixos
dbmikus_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #49595 → fetchFromGitHub: add goPackagePath similar to meta.homeapage → https://git.io/fxA3j
peacememories has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #49596 → pmtools: remove and alias → https://git.io/fxAsR
<{^_^}> [nixpkgs] @jtojnar pushed 20 commits to gnome-3.30: https://git.io/fxAs1
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 245 seconds]
<schopp0r> ok, "./aws-cpp-sdk-core-tests" runs since 186 minutes now. is this … ok?
lonokhov has quit [Quit: WeeChat 2.2]
<c0bw3b_> yes aws-sdk-cpp is a long build
<schopp0r> c0bw3b_, I build a nix-shell. "nix" doesn't seem to have an argument *not* to build it.
<schopp0r> c0bw3b_, how can I determine whether it actually does something and is not just busily looping on something?
<dtz> aws-sdk-cpp has a bug where it goes into infinite loop in tests on newer-ish versions
<dtz> there's an upstream issue about it
johanot has quit [Ping timeout: 244 seconds]
hyper_ch2 has quit [Quit: Page closed]
<dtz> no idea how that's remotely acceptable, the response was "yeah we know we'll fix eventually" lol
<dtz> FWIW I encounter it regularly on one machine (hefty server but older kernel) and never on another (laptop, new kernel, NixOS) -- not sure how relevant any of that is but might help
<dtz> schopp0r ^
<schopp0r> dtz, meh. so what can I do?
<schopp0r> dtz, "nothing", I guess :(
<dtz> suppose you can disable the tests :/
<schopp0r> I tried ;_;
<schopp0r> I set the variables, I set the flags. but it still tests everything.
<schopp0r> compiling nix is really a mess.
<c0bw3b_> some can confirm it is ok to have underscore in a package version
adamt has quit [Ping timeout: 245 seconds]
<c0bw3b_> as in name = "somepkg-6.0.3_1"
<c0bw3b_> *someone
<{^_^}> [nixpkgs] @dtzWill opened pull request #49597 → mesa: 18.2.3 -> 18.2.4 → https://git.io/fxAZw
<c0bw3b_> with nix repl: builtins.parseDrvName name --> { name = "test"; version = "6.6.3_1"; }
<c0bw3b_> so I suppose it is ok
<{^_^}> [nixpkgs] @dtzWill opened pull request #49598 → nlohmann_json: 3.3.0 -> 3.4.0 → https://git.io/fxAZi
<{^_^}> [nixpkgs] @dtzWill opened pull request #49599 → harfbuzz: 2.0.0 -> 2.1.0 → https://git.io/fxAZx
<c0bw3b_> someone is on a PR spree ^^ @dtz
<{^_^}> [nixpkgs] @dtzWill opened pull request #49600 → sqlalchemy: 1.2.12 -> 1.2.13 → https://git.io/fxAnI
<{^_^}> [nixpkgs] @dtzWill opened pull request #49601 → gn: 20180830 -> 20181031 → https://git.io/fxAn8
<Mic92> Has somebody by chance a working nix expression to run or build Spec benchmark?
peacememories has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #49602 → pyjwt: fix tests to work with pytest >= 3.9.0 → https://git.io/fxAnM
<{^_^}> [nixpkgs] @dtzWill opened pull request #49603 → slack-term: init at 0.4.1 → https://git.io/fxAnF
LnL has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dtz> okay that's all I got in my queue xD
<dtz> Mic92: nope sorry :(. Would be interested as well!
<dtz> (for any version)
sanscoeur has joined #nixos
<betaboon> anyone has a hint how to build uwsgi with additional plugins ?
johanot has joined #nixos
turion has quit [Ping timeout: 252 seconds]
Xyliton has joined #nixos
jperras_ has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
<Xyliton> How do I add patches to st? I tried adding ` st { patches = ["/etc/nixos/st_patches/some-patch.diff"]; }` to my systemPackages but nix then claims that it isn't of type package
<symphorien> try (st.override{patches = [/etc/...])
<Xyliton> Oh, thanks! Also, no quotation marks around the path?
jperras_ has quit [Client Quit]
<symphorien> yes, this will make nix copy the file in the store
<symphorien> otherwise, when building, the patch won't be found because of the sandbox
<Xyliton> ohh, I see
revtintin has joined #nixos
<Xyliton> hm
sanscoeur has quit [Remote host closed the connection]
<Xyliton> I tried adding the dracula patch from the suckless site as-is, but that gives me "Hunk #1 FAILED at 84". Is the patch just outdated or do I have to rewrite parts of it to work with nix?
sanscoeur has joined #nixos
<acowley> Do people use nixos-unstable-small rather than nixos-unstable? I've always used nixpkgs-unstable or nixos-unstable, but feel like maybe -small is a smarter choice at this point. Has anyone had things break on them because -small was small?
__Sander__ has quit [Quit: Konversation terminated!]
johanot has quit [Ping timeout: 240 seconds]
<dtz> maybe need to set patch level?
<Xyliton> Also looks like you got a different config :thinking:
sanscoeur has quit [Ping timeout: 252 seconds]
<Xyliton> Tried the solarized theme and it works. I assume dracula is outdated then
hellrazor has quit [Ping timeout: 268 seconds]
Ariakenom has quit [Ping timeout: 245 seconds]
hellrazor has joined #nixos
<{^_^}> [nixpkgs] @Ekleog opened pull request #49604 → matrix-synapse: 0.33.6 -> 0.33.8 → https://git.io/fxA8G
<{^_^}> [nixpkgs] @mroi opened pull request #49605 → swift: 4.1.3 -> 4.2.1 → https://git.io/fxA8Z
ilikeheaps has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos
<{^_^}> [nixpkgs] @Ekleog opened pull request #49606 → matrix-synapse: 0.33.6 -> 0.33.8 → https://git.io/fxA4L
<{^_^}> [nixpkgs] @gnidorah opened pull request #49607 → SDL2: 2.0.8 -> 2.0.9 → https://git.io/fxA4Y
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fxA4O
<{^_^}> [nixpkgs] @jtojnar merged pull request #46844 → gImageReader: init at 3.2.99 [rdy] → https://git.io/fASkO
noam has quit [Ping timeout: 240 seconds]
peacememories has joined #nixos
sir_guy_carleton has joined #nixos
johanot has joined #nixos
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
peacememories has quit [Client Quit]
johanot has quit [Ping timeout: 272 seconds]
ilikeheaps has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #47963 → percona-toolkit: 3.0.11 -> 3.0.12 → https://git.io/fx3MG
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @Izorkin to master « percona-toolkit: 3.0.11 -> 3.0.12 (#47963) »: https://git.io/fxARE
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49076 → urh: add support for airspy and limesdr → https://git.io/fxMtZ
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxA0L
peacememories has joined #nixos
<Baughn> acowley: -small is small because it only compiles and tests a subset of the OS. If you use anything that's not in -small, you'll have to compile it yourself; and -unstable will be behind -unstable-small specifically in the cases where those parts *don't work*.
<Baughn> acowley: So no, you probably shouldn't use it.
peacememories has quit [Client Quit]
johanot has joined #nixos
alex``` has quit [Ping timeout: 260 seconds]
ubert has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f129ed25a04 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
Thra11 has joined #nixos
alex```` has joined #nixos
johanot has quit [Ping timeout: 244 seconds]
ddellacosta has joined #nixos
<ddellacosta> is zfs a good choice for filesystem on a daily use work laptop? Seems like both it and btrfs have some benefits above and beyond ext4 but seems like zfs is more mature and well supported on NixOS? (been a while since I've used linux as my desktop, tips and suggestions appreciated)
Xyliton has quit [Quit: Lost terminal]
<Synthetica> Could someone review #49595? Mostly relevant to Go.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/49595 (by Synthetica9, 1 hour ago, open): fetchFromGitHub: add goPackagePath similar to meta.homepage
jperras has joined #nixos
<Baughn> ddellacosta: ZFS works great on NixOS. BtrFS... um, I can't really recommend it anywhere.
<Baughn> You have to explicitly enable it, and all mountpoints (that matter for anything started on boot, anyway) need to use mountpoint=legacy, but that's all. Otherwise it works just like any other filesystem.
<ddellacosta> Baughn: gotcha, that seems to be the general consensus as I've poked around. Thanks for the tips.
<Baughn> `boot.supportedFileSystems = ["zfs"]` will do. You can edit and nixos-rebuild in the installation image to enable it there.
<ddellacosta> okay cool, good thing I asked because I didn't realize I had to do anything other than format the partition appropriately
<Baughn> Adding that line is what gives you access to the ZFS tools and kernel driver. You won't be able to format the partition without it.
Izorkin has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @domenkozar pushed to master « chromium: use jumbo builds to speedup compilation »: https://git.io/fxAzT
hyperfekt has joined #nixos
<Synthetica> Jumbo builds 🎉
<ddellacosta> Baughn: I'm guessing maybe the live cd has that baked in then, as I was (seemingly) able to format without it
<Baughn> Maybe. That's new, if so.
<ddellacosta> well, I'm still a NixOS newb so I'll report back once I actually have a clue, haha
sanscoeur has joined #nixos
<drakonis> Baughn: facebook runs it apparently
<drakonis> they're betting money on btrfs
<Baughn> Doesn't change my opinion.
<Baughn> Btrfs is immature. RAID modes other than mirror don't work, they don't have a thorough test suite, and I've repeatedly lost data to it.
Dedalo has joined #nixos
<ddellacosta> Baughn: btw I was wrong, I was confusing xfs and zfs (in terms of what is possible to format from live cd)
<Baughn> Facebook has the manpower to avoid its sharp edges, they have the scale to use clustered filesystems that put the redundancy above the btrfs layer, and they *can't use ZFS* due to the licensing.
<Baughn> None of those are true for common users.
<teser> srhb, symphorien hi, I've been testing what you suggested with bacula, but I get the following: http://dpaste.com/176SH7N ; it seems that the $out is not expanded when the "make install" is being run. I can share the current package?
<drakonis> perhaps if they upstreamed code harder
<symphorien> in the example I gave, it was $(out)
<symphorien> not $out
sigmundv has quit [Ping timeout: 252 seconds]
<hyperfekt> Does anyone know the reason config.boot.initrd.luks.devices is an attrset instead of a list?
<symphorien> ah no sorry
<symphorien> I am wrong
<symphorien> you can use ${placeholder "out"} instead, then
<tilpner> hyperfekt - It is actually
<tilpner> "Type: list or attribute set of submodules"
<teser> symphorien, srhb this is the current package: http://dpaste.com/1GH8HBJ
<symphorien> teser: I really doubt with-logdir is the right variable
<symphorien> read the makefile of your software
<symphorien> you cannot guess the name without reading this
betaboon has quit [Quit: WeeChat 2.2]
<teser> symphorien, ah yes, will do.
<teser> symphorien, one more thing, after updating the package from 9.0.6 version to 9.2.1, the nix-env / nix-shell are still pulling a 9.0.6 version from somewhere even through I've specified NIXPKGS with "export NIXPKGS=/home/user/nixpkgs" (where I'm editing bacula) and then "nix-env -f $NIXPKGS -i bacula". Any ideas why?
<symphorien> did you change the hash ?
<teser> symphorien, yes
<teser> symphorien, the sha256 of the downloaded binary, yes
<hyperfekt> tilpner: Yeah, I saw that, but the default is an attrset. I'm a bit confused on whether that means a list entry would be allowed as well (and merged?) and why an attribute is necessary at all, given that the name is repeated inside the submodule.
<tilpner> hyperfekt - If it wasn't an attribute, how would you set options for a device from two different modules?
<{^_^}> [nixpkgs] @matthewbauer opened pull request #49608 → Restore cross-patch-shebangs branch → https://git.io/fxAgu
<hyperfekt> tilpner: Oh, of course. Wonder how I missed that ^^
<teser> symphorien, the variables are logdir and working_dir, let me change that.
ThatDocsLady has quit [Ping timeout: 252 seconds]
<Synthetica> Ugh, I wish all-packages.nix was less unwieldy
FRidh has joined #nixos
Izorkin has joined #nixos
JosW has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.1 - https://znc.in]
revtintin has quit [Quit: WeeChat 1.9.1]
<ddellacosta> folks if I want to enable zfs support at the time I'm installing, what do I have to do? Do I actually have to modify the live image I'm booting from somehow, or can I do it at the point I boot into the live image?
<ddellacosta> I understand the basic instructions to be clear--I don't need help with that (setting boot.supportedFilesystems, etc.)
Izorkin has joined #nixos
sigmundv__ has joined #nixos
<gchristensen> ddellacosta: add boot.supportedFilesystems = [ "zfs" ];
<gchristensen> to the install environments /etc/nixos/configuration.nix, nixos-rebuild switch, and zfs should be available now
philippD has joined #nixos
<ddellacosta> gchristensen: gotcha, so I can do that directly from the system I boot into using my live usb image
<ddellacosta> thanks!
hyperfekt has quit [Ping timeout: 256 seconds]
<gchristensen> yep! you're welcome
<gchristensen> https://nixos.wiki/wiki/NixOS_on_ZFS has some good info
<ddellacosta> oh jeez I loaded that up but failed to scroll lower in the page where it actually explains how to do that at install time, d'oh thanks again gchristensen
<gchristensen> no worries, that page could use a bit of cleaning up I think
<ddellacosta> also tips on setting up encryption are just what I wanted
<gchristensen> like the advice about ashift advice is not necessarily good. also, ZFS encryption is not recommened by the ZFS team!
<ddellacosta> oh really?
<gchristensen> "Native encryption is not production ready, keep backups (but it works great)" from #zfsonlinux's /topic
<ddellacosta> huh okay. Makes me wonder if I should use something else (ext4?) in that case
<ddellacosta> not that I particularly mind living dangerously (i.e. keeping backups)
<gchristensen> I use zfs on top of luks on one system
nschoe has joined #nixos
<ddellacosta> okay, good to know. I guess I'll start by installing this and then figure it out from there
<teser> symphorien, I have the new code that builds correctly, thanks for your help. One more thing: since the runtime directory will still be /var/log/bacula, do I need to create a wrapper around the bacula binary that actually creates the directory if it doesn't exists?
<symphorien> teser: if it is meant to be a service, let the systemd unit file take care of this
FRidh has quit [Quit: Konversation terminated!]
<teser> symphorien, ok, how can I do that?
<{^_^}> [nixpkgs] @xeji merged pull request #48896 → avldrums-lv2: init at 0.3.0 → https://git.io/fxPyv
<{^_^}> [nixpkgs] @xeji pushed commit from @magnetophon to master « avldrums-lv2: init at 0.3.0 (#48896) »: https://git.io/fxAKk
<{^_^}> [nixpkgs] @xeji merged pull request #49080 → HybridReverb2: init at 2.1.1 → https://git.io/fxMu1
<{^_^}> [nixpkgs] @xeji pushed commit from @magnetophon to master « HybridReverb2: init at 2.1.1 (#49080) »: https://git.io/fxAKY
<{^_^}> [nixpkgs] @c0bw3b opened pull request #49609 → flyway: 5.1.4 -> 5.2.1 → https://git.io/fxAK4
<{^_^}> [nixpkgs] @c0bw3b closed pull request #48523 → flyway: 5.1.4 -> 5.2.0 → https://git.io/fxuEf
peacememories has joined #nixos
<symphorien> teser: man systemd.exec, search for LogsDirectory=
<{^_^}> [nixpkgs] @xeji merged pull request #49596 → pmtools: remove and alias → https://git.io/fxAsR
<{^_^}> [nixpkgs] @xeji pushed commit from @c0bw3b to master « pmtools: remove and alias (#49596) »: https://git.io/fxA6f
<{^_^}> [nixpkgs] @xeji merged pull request #49590 → atom, atom-beta: 1.32.0 -> 1.32.1, 1.33.0-beta0 -> 1.33.0-beta1 → https://git.io/fxAUz
<{^_^}> [nixpkgs] @xeji pushed commit from @Synthetica9 to master « atom, atom-beta: 1.32.0 -> 1.32.1, 1.33.0-beta0 -> 1.33.0-beta1 (#49590) »: https://git.io/fxA6t
pie__ is now known as pie_
worldofpeace has quit [Ping timeout: 268 seconds]
<nschoe> Hi everyone, I'm a bit confused by an error while trying to build a derivation. What's weird is that it used to work, and I haven't updated the git commit for the nix pkgs it build against. The log is here: https://pastecode.xyz/view/550e01b3 (this is the log for a `nix-shell` command, for a very simple `shell.nix` that only have `catkin` as buildInputs.
<nschoe> I don't understand this issue with the "env.sh". Is there smth obvious I'm missing?
<teser> symphorien, just curios: if this was a normal program, then we would need a wrapper where we would create the directory with "mkdir -p" right?
<symphorien> yes, but mind that "program --help" would create the directory :/
<symphorien> this is not great, so you need to parse the arguments to the program in the wrapper, and this is brittle
<symphorien> so, better avoid it :)
<teser> symphorien, so the program itself can create the necessary directory, but that happens only if it has the written functionality for it (or why would program --help create the directories)
MichaelRaskin has joined #nixos
jperras has quit [Read error: Connection reset by peer]
<symphorien> teser: so I mean "if the wrapper run mkdir, then program --help would create the dir"
<symphorien> s/so/no/
<{^_^}> [nixpkgs] @vcunat pushed to master « chromium tests: inherit timeout from the package »: https://git.io/fxA66
<teser> symphorien, ah I understand
<{^_^}> [nixpkgs] @vdemeester opened pull request #49610 → minishift: 1.25.0 -> 1.26.1 → https://git.io/fxA6S
<{^_^}> [nixpkgs] @markuskowa opened pull request #49611 → virtualgl: revert PR #49185 → https://git.io/fxA6Q
jperras has joined #nixos
<hyper_ch> any chance to get this merged?
<{^_^}> #49347 (by sjau, 4 days ago, open): easysnap: init at 2018-10-28
<gchristensen> why is sjau resolving unresolved things
<gchristensen> also seems weird to package a 10 day old project in nixkgs
<gchristensen> not that that hasn't stopped us before
<cransom> this reminds me that i was going to update my cold hard drive backup while i didn't have to be in the same room for the heavy duty hard drive clicking. oh well.
<Synthetica> gchristensen: s/hasn't/has/?
<gchristensen> right
<drakonis> packaging his own thing for backing up zfs
<drakonis> why though, its just a shell script
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<gchristensen> yes, this seems more reasonable for a personal overlay at this stage I think?
<drakonis> yes
<hyper_ch> gchristensen: makes it easier for me :)
<Ralith> sure sounds that way
<gchristensen> a personal overlay is pretty easy to share :)
<gchristensen> but, ok
<Synthetica> hyper_ch: might want to fix your git settings, commits don't seem to be linked to your account sometimes https://github.com/sjau/easysnap/commit/aa2768762da7730aa3eb90fdc2190a8359976edc
<hyper_ch> Synthetica: not sure what you mean... it's right there
<drakonis> there are some that are "hyper_ch" and others that point to your github account
<hyper_ch> drakonis: it's all me
<hyper_ch> difference notebook and homeserver
<hyper_ch> gchristensen: do be precies, it's two shell scripts ;)
<drakonis> two shell scripts :|
<gchristensen> :')
<hyper_ch> and on the weekend I have to figure out why my office server installation, that's nixos pre-18.03 unstable doesn't properly work anymore when I go to 18.09 or latest unstabled... it's a kvm host and after update it can't connect to anything except the router while the VMs still all work properly
<hyper_ch> as soon as I use this on the host https://paste.simplylinux.ch/view/raw/b5dbaa16 the host can't ping anything anymore and not connect to anything except the router
imincik has joined #nixos
<cocreature> does hydra only build haskell packages for a single ghc version, i.e., the one that is in haskellPackages?
<{^_^}> [nixpkgs] @siriobalmelli opened pull request #49612 → add vim plugin vim-scripts/autoload_cscope.vim → https://git.io/fxAXw
<niksnut> dus we moeten maar eens gaan bedenken wat we met dat EU project aanmoeten
<gchristensen> niksnut: ja
<{^_^}> [nixpkgs] @vdemeester opened pull request #49613 → openshift: 3.10 -> 3.11 → https://git.io/fxA14
drakonis has quit [Quit: WeeChat 2.2]
<srhb> cocreature: only haskellPackages is recursed into, yes.
<cocreature> srhb: I see thanks, any reason that doesn’t point to 8.4.4 instead of 8.4.3?
<arianvp> nh2: so do you think we can close the NixOS issue? Maybe with a little writeup? In case someone else stumbles into the issue?
<arianvp> Seems to be more of a systemd issue and I'm not totally sure yet but it seems intended behaviour from the chats in #systemd
<srhb> cocreature: I don't know, that does seem wrong.
phreedom has quit [Ping timeout: 256 seconds]
phreedom has joined #nixos
<teser> symphorien, one more thing, is there a way to test the modified service with added LogsDirectory without rebuilding the whole system?
<symphorien> nixos-rebuild build-vm
<niksnut> gchristensen: oops, wrong channel :-)
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<hodapp> did SLNOS ever make any progress de-systemd-ing NixOS?
samrose has quit [Ping timeout: 244 seconds]
<teto> it seems like changing shellHook triggers a rebuild of a package ? is that correct ? if yes should it really ?
<teto> I get a kernel rebuild because of this :'(
<gchristensen> teto: is it possible to guarantee the shellHook environment variable doesn't impact the package's build? :)
<teto> gchristensen: it will but as it's in the shell, it won't change the hash of the package during a nix-build
<gchristensen> it is also present in the build
<teto> isn't it run only when within nix-shell ?
<steveeJ> teto: can you show the expressions?
<gchristensen> it is in the environment of the builder, too
drakonis has joined #nixos
<teto> gchristensen: I would propose to add an exception not to export it. like adding it to passthru ?
<{^_^}> [nixpkgs] @dywedir merged pull request #48861 → vulkan-tools: 1.1.82.0 -> 1.1.85 → https://git.io/fxi71
<{^_^}> [nixpkgs] @dywedir pushed commit from @r-ryantm to master « vulkan-tools: 1.1.82.0 -> 1.1.85 »: https://git.io/fxAyi
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49598 → nlohmann_json: 3.3.0 -> 3.4.0 → https://git.io/fxAZi
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxAyQ
<teser> symphorien, I've modified the bacula service in my local nixpkgs, how can I now rebuild the system (I can't use nixos-rebuild build-vm, since I'm aready running a VM and can't turn it off now, but KVM conflicts with the current hypervisor). Let's say that I run the "nixos-rebuild switch", how can I ensure that the overwritten service from local nixpkgs is taken into account?
<symphorien> nixos-rebuild -I nixpkgs=/path/to/clone switch
<teser> symphorien, I'm not sure that would very well, since I'm not sure exactly what will be rebuild (probably every stale program in my local nixpkgs - even if I update to the 18.03, will it be out-of-sync and will rebuild some portion of the system). In any case, I think the best option is to overwrite the service similarly to packageOverrides, is that possible?
Church_ has quit [Ping timeout: 252 seconds]
<teser> s/would/would work/
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<symphorien> hum. maybe, but I don't know how.
<symphorien> if you rebase your changes over the commit of your current system (see the output of nixos-version) then changes will be minimal
<clever> teser: build-vm can work without kvm, but will be a lot slower without it
alienpirate5 has quit [Ping timeout: 252 seconds]
jD91mZM2 has quit [Quit: WeeChat 2.2]
<teser> clever, how can I run it without KVM?
<clever> teser: if /dev/kvm doesnt exist, it will silently not use kvm
worldofpeace has joined #nixos
erictapen has joined #nixos
<teser> symphorien, the nixos-version reports "18.09.932.09195057114", is the "09195057114" a commit?
<{^_^}> [nixpkgs] @markuskowa opened pull request #49614 → Add licenses → https://git.io/fxAQJ
<gchristensen> yes, nixos-version --hash
<{^_^}> [nixpkgs] @svanderburg pushed to master « kapacitor: 1.4.0 -> 1.5.1 »: https://git.io/fxAQn
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #49566 → release-lib: Cache cross nixpkgs evals too, and other fixes, for 18.09 → https://git.io/fxNYr
<{^_^}> [nixpkgs] @Ericson2314 pushed 6 commits to release-18.09: https://git.io/fxAQM
Dedalo has quit [Quit: Textual IRC Client: www.textualapp.com]
johanot has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed to master « icecast: 2.4.3 -> 2.4.4 »: https://git.io/fxA7Z
agander has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @fpletz pushed to release-18.09 « icecast: 2.4.3 -> 2.4.4 »: https://git.io/fxA7R
<{^_^}> [nixpkgs] @fpletz pushed to release-18.03 « icecast: 2.4.3 -> 2.4.4 »: https://git.io/fxA7E
<{^_^}> [nixpkgs] @svanderburg pushed to master « nixos/kapacitor: new service »: https://git.io/fxA7D
srl295 has quit [Quit: Connection closed for inactivity]
lsyoyom has quit [Quit: WeeChat 2.2]
lsyoyom has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #49611 → virtualgl: revert PR #49185 → https://git.io/fxA6Q
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fxA5V
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed to release-18.09 « Revert "virtualgl-lib: fix broken startup script (#49185)" »: https://git.io/fxA55
LnL has quit [Ping timeout: 245 seconds]
LnL has joined #nixos
jsgrant has quit [Remote host closed the connection]
nschoe has quit [Ping timeout: 252 seconds]
<tokudan[m]> trying to use docker on nixos: is there a way in configuration.nix to let docker run specific containers from specific images that I have gotten through pkgs.dockerTools.pullImage?
erictapen has quit [Quit: leaving]
erictapen has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #47375 → oraclejdk: remove version 10 → https://git.io/fAx0p
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fxAbc
<{^_^}> [nixpkgs] @fpletz pushed to master « tomcat_connectors: 1.2.41-dev-1613051 -> 1.2.46 »: https://git.io/fxAbl
random_yanek has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #49565 → release-lib: Cache cross nixpkgs evals too, and other fixes → https://git.io/fxNY2
<{^_^}> [nixpkgs] @Ericson2314 pushed 7 commits to master: https://git.io/fxAbg
<{^_^}> [nixpkgs] @fpletz pushed to release-18.09 « tomcat_connectors: 1.2.41-dev-1613051 -> 1.2.46 »: https://git.io/fxAbw
<{^_^}> [nixpkgs] @fpletz pushed to release-18.03 « tomcat_connectors: 1.2.41-dev-1613051 -> 1.2.46 »: https://git.io/fxAbi
<chris|> has someone managed to get dfhack working for dwarf-fortress on 18.09? On my fresh install using the full pack, it just complains about not being able to detect the df version (xml version missmatch) and just dies
alex```` has quit [Ping timeout: 252 seconds]
drakonis has quit [Quit: WeeChat 2.2]
random_yanek has joined #nixos
peacememories has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
<o1lo01ol1o> I have a couple haskell depedencies in an expression that generate multiple executables when built. They don't know anything about nix, but expect that those executables are somewhere in the PATH. What's the best way to have nix make these available to my top-level derivation?
aleph- has joined #nixos
drakonis has quit [Ping timeout: 260 seconds]
romanofskiWork has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #49615 → vulkan-tools: 1.1.85 -> 1.1.85.0 → https://git.io/fxAxK
Thra11 has quit [Ping timeout: 240 seconds]
rprije has joined #nixos
<{^_^}> [nix] @janpath opened pull request #2508 → Create version.nix containing used nixos version → https://git.io/fxApJ
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
pareidolia has joined #nixos
<pareidolia> I'm trying to make this work in my configuration.nix : https://pastebin.com/MyTyGuKF
<{^_^}> #36802 (by davidak, 33 weeks ago, open): ati_unfree: don't build with kernel 4.14
<pareidolia> But I get "error: attribute 'extend' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/kernel.nix:39:31
<pareidolia> When I do rebuild
<pareidolia> Can this be done?
Lisanna has joined #nixos
dbmikus__ has quit [Quit: WeeChat 2.2]
seanparsons has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49615 → vulkan-tools: 1.1.85 -> 1.1.85.0 → https://git.io/fxAxK
<{^_^}> [nixpkgs] @c0bw3b pushed to master « vulkan-tools: 1.1.85 -> 1.1.85.0 (#49615) »: https://git.io/fxAhY
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
Lisanna has quit [Quit: Lisanna]
seanparsons has joined #nixos
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @screendriver opened pull request #49616 → yarn: 1.10.1 -> 1.12.1 → https://git.io/fxAhN
<{^_^}> [nixpkgs] @aanderse opened pull request #49617 → Fix flightgear, simgear & speed_dreams → https://git.io/fxAjR
o1lo01ol1o has quit [Ping timeout: 260 seconds]
romanofskiWork has quit [Ping timeout: 246 seconds]
vk3wtf has joined #nixos
markuskowa has joined #nixos
romanofskiWork has joined #nixos
<{^_^}> [nixpkgs] @uvNikita opened pull request #49618 → restya-board: 0.6 -> 0.6.6 → https://git.io/fxxeY
jsgrant has joined #nixos
jackdk has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d9934979f03 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @dywedir merged pull request #49616 → yarn: 1.10.1 -> 1.12.1 → https://git.io/fxAhN
<{^_^}> [nixpkgs] @dywedir pushed commit from @screendriver to master « yarn: 1.10.1 -> 1.12.1 (#49616) »: https://git.io/fxxe7
Ariakenom has quit [Read error: Connection reset by peer]
<thblt> Hey, I have a strange (DNS?) issue on my NixOS laptop. The WiFi had a hiccup, and it seems the DNS cache somehow remembered some NXDomains, eg twitter: curl https://twitter.com complains that "curl: (6) Could not resolve host" but "host twitter.com" behaves correctly ("twitter.com has address 104.244.42.1" etc). Any ideas? Thanks!
zack_moe_ has quit [Ping timeout: 252 seconds]
booglewoogle has joined #nixos
<infinisil> thblt: I think those 2 programs use different ways to resolve DNS, there is a recent blog post series about this, (trying to find it...)
<thblt> infinisil: Sorry, I should I specified I'm aware host doesn't use the system's DNS cache, but I can't find a way to reset this cache.
<infinisil> (Doesn't seem to have a second part :()
<thblt> dig adds a strange warning only on broken domains ";; Warning: Message parser reports malformed message packet."
<infinisil> thblt: No idea either, but this is generally nothing specific to NixOS, so probably people in #networking or ##linux could help better
<thblt> infinisil: thanks, will try!
<{^_^}> [nixpkgs] @obadz merged pull request #49423 → nixos/zerotier: binds to network-online.target to avoid the 1m30s … → https://git.io/fx7Fb
<{^_^}> [nixpkgs] @obadz pushed to master « nixos/zerotier: binds to network-online.target to avoid the 1m30s timeout before kill on shutdown »: https://git.io/fxxvr
phreedom has quit [Ping timeout: 256 seconds]
ivegotasthma has quit [Ping timeout: 252 seconds]
johanot has quit [Quit: WeeChat 2.2]
phreedom has joined #nixos
inf has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cc41aefe448 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
phreedom_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #49593 → dropwatch: init at 1.5 → https://git.io/fxAmG
<{^_^}> [nixpkgs] @xeji pushed commit from @c0bw3b to master « dropwatch: init at 1.5 (#49593) »: https://git.io/fxxfg
<booglewoogle> hey. I'm trying to specify the version of a package to be installed in configuration.nix -- an older one of https://github.com/NixOS/nixpkgs/blob/06fb0253afabb8cc7dc85db742e2de94a4d68ca0/pkgs/development/tools/godot/default.nix#L64 to be precise). a simple godot.override doesn't work as "version" is not an attribute in the argument set (at least I think that's the reason). how else could I do this?
phreedom has quit [Ping timeout: 256 seconds]
teser has quit [Ping timeout: 268 seconds]
troydm has quit [Ping timeout: 268 seconds]
vk3wtf has quit [Ping timeout: 252 seconds]
shabius_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to master « leveldb: 1.18 -> 1.20 (#49587) »: https://git.io/fxxfH
<{^_^}> [nixpkgs] @xeji merged pull request #49587 → leveldb: 1.18 -> 1.20 → https://git.io/fxNAO
drakonis has joined #nixos
troydm has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e87ace43d5c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
srk has quit [Ping timeout: 268 seconds]
Peetz0r has quit [Ping timeout: 252 seconds]
FireFly has quit [Quit: Goodbye]
FireFly has joined #nixos
Peetz0r has joined #nixos
srk has joined #nixos
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49614 → Add licenses → https://git.io/fxAQJ
<{^_^}> [nixpkgs] @c0bw3b pushed 14 commits to master: https://git.io/fxxUJ
lostman has quit [Quit: Connection closed for inactivity]
booglewoogle has quit [Quit: Leaving]
c0bw3b_ has left #nixos [#nixos]
<ddellacosta> folks, I'm trying to install nixos in a dual-boot configuration with an OEM Windows 10 install. I keep getting the error 'File system "/boot" is not on a GPT partition table'. The main difference is that I didn't create a new boot partition but used the already present one created by Windows ("/dev/disk/by-label/EFIBOOT"). Does anyone know what obvious thing I'm screwing up here? Let me know if this is not enough info
<ddellacosta> oh that error is when I run `nixos-install` if that wasn't obvious
<srid> what's a good software for setting up monitoring graphs just for local nixos machine (my laptop), over long-term?
<emily> how did you partition the hard drive?
<emily> you need to do it with a gpt-supporting partitioning tool, at least
<ddellacosta> emily: oh I used gparted
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/16087d88369 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e87ace43d5c (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<ddellacosta> emily: so does it sound like I did the partition incorrectly vs. some nix configuration problem you think?
<ddellacosta> (or were you asking about the layout of my partitions?)
<clever> ddellacosta: can you pastebin the output of `mount` ?
<ddellacosta> clever: yeah give me one sec, flipping between two different laptops
<{^_^}> [systemd] @andir opened pull request #25 → include NixOS current system bin & sbin paths in DEFAULT_PATH* → https://git.io/fxxTJ
<ddellacosta> clever: https://pastebin.com/CGE022V8
<clever> ddellacosta: and `fdisk -l /dev/sda` ?
<ddellacosta> and for what it's working, checking out what gdisk says about the disk gives me "Found valid GPT with protective MBR; using GPT."
<ddellacosta> what it's *worth
schopp0r has left #nixos ["Error from remote client"]
schopp0r has joined #nixos
<ddellacosta> clever: https://pastebin.com/c946Q62h
<clever> ddellacosta: thats claiming its not a gpt disk, and what is the type code on sda1 ??
<ddellacosta> I'm very confused
<clever> ddellacosta: `mount` shows that sda is the install ISO you booted from
<clever> your trying to use the usb stick as /boot i think
<ddellacosta> well, I haven't been looking at /dev/sda
<ddellacosta> but /dev/nvme0n1
<clever> /dev/sda2 on /mnt/boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
<clever> then why is sda2 on /mnt/boot/ ?
<ddellacosta> well maybe we've found my problem, haha
<ddellacosta> one sec
sigmundv has joined #nixos
<ddellacosta> clever: thank you. You pointed out something that made me realize the stupid thing I was doing. I really appreciate it!
<ddellacosta> it's working now
<clever> often helps to have a second set of eyes, that arent making the same assumptions