worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<{^_^}> [nixpkgs] @judaew opened pull request #75805 → keybase: 5.0.0 -> 5.1.1 → https://git.io/Je7ng
<CptCaptain> ty
noonien has joined #nixos
smatting has joined #nixos
cosimone_ has quit [Ping timeout: 265 seconds]
lovesegfault has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @judaew closed pull request #75805 → keybase: 5.0.0 -> 5.1.1 → https://git.io/Je7ng
jb55 has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
jb55 has joined #nixos
<pie_> can anyone tell why https://bpaste.net/show/5DVC4 is broken
thc202 has quit [Ping timeout: 276 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @lilyball opened pull request #75806 → cocoapods-beta: 1.8.4 -> 1.9.0.beta.1 → https://git.io/Je7n5
page has quit [Remote host closed the connection]
<infinisil> pie_: What's rev?
<infinisil> Hm no
<infinisil> Can't tell the problem from just that code
shibboleth has quit [Quit: shibboleth]
mexisme_ has joined #nixos
page has joined #nixos
Rusty1 has quit [Remote host closed the connection]
<pie_> infinisil: here's the json file https://bpaste.net/show/L6NIQ
<infinisil> I think it's somewhere towards the gammaray.nix thing
<{^_^}> [nixpkgs] @jbedo opened pull request #75807 → strelka: fix broken build → https://git.io/Je7cU
mbrgm_ has joined #nixos
<pie_> infinisil: https://bpaste.net/show/JESRE *shrug*
<pie_> infinisil: it works if i just use import <nixpkgs> instead of the fetchtarball stuff
mbrgm has quit [Ping timeout: 250 seconds]
mbrgm_ is now known as mbrgm
<infinisil> pie_: What if you pass `name = "foo"` in the fetchTarball?
<infinisil> Wait what do you mean by replacing fetchTarball with import <nixpkgs?
<pie_> that....works?
<pie_> no nevermind doesnt work
<pie_> infinisil: this works: (import <nixpkgs> {}).libsForQt5.callPackage ./gammaray.nix {}
<pie_> is what i meant
<infinisil> pie_: Idea for debugging: you're the evaluator
<infinisil> Simplify functions one by one how you think it should evaluate
<infinisil> And check if the result from actual nix changes
<infinisil> E.g. first replace the fetcher call by the implementation of the function, then see if the problem is still there
<pie_> reasonable
<pie_> but also a pain :P
<infinisil> A Nix IDE should support that hmm...
ng0 has joined #nixos
ng0 has quit [Client Quit]
CptCaptain has quit [Quit: WeeChat 2.7]
<pie_> somethings screwy with the result probably, this also fails: (import (builtins.fetchTarball { url = "https://github.com/nixos/nixpkgs/archive/9d608a6f592144b5ec0b486c90abb135a4b265eb.tar.gz"; }) {}).libsForQt5.callPackage ./gammaray.nix {}
<pie_> hm github throws a tarball at me just fine
<infinisil> Fetch that url yourself, then replace the call with the path to the fetched thing
<pie_> infinisil: you know what
<pie_> infinisil: pname
<pie_> not sure what's going on here but thats a relatively old nixpkgs chekcout
<infinisil> Oh.. that nixpkgs version doesn't have pname support yet?
<infinisil> Well that makes sense :)
<pie_> i would have expected it to complain about name not being set or something
<pie_> not /thit/ -_-
<pie_> *this
<pie_> this is what im building btw https://docs.kdab.com/gammaray-manual/latest/
<pie_> i have high hopes for it
<pie_> its a Qt debuggy pokey thing
lovesegfault has joined #nixos
ng0 has joined #nixos
lovesegfault has quit [Ping timeout: 246 seconds]
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #75804 → ruby-modules: parse build_flags correctly → https://git.io/Je7ZU
<{^_^}> [nixpkgs] @alyssais pushed commit from @burke to master « ruby-modules: parse build_flags correctly: »: https://git.io/Je7cB
ng0 has quit [Quit: Alexa, when is the end of world?]
gustavderdrache has joined #nixos
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> I'm trying to get this issue rolling: https://github.com/NixOS/nixpkgs/issues/70261, and this nice user Dema created a derivation. Now...the derivation doesn't put anything on the PATH, it just has an important file called `emacspeak-setup.el`. But uh, how do I know that I have the right one? If I install the Nix expression it puts it in my store, but how do I know which one is the right version?
<{^_^}> #70261 (by symbiont-matthew-piziak, 10 weeks ago, open): Emacspeak
<lovesegfault> anyone with hydra access around? cc. gchristensen, worldofpeace
mexisme has joined #nixos
mexisme_ has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 246 seconds]
<gchristensen> whats up, lovesegfault
<lovesegfault> gchristensen: Can you restart https://hydra.nixos.org/build/108187097
<lovesegfault> I can't repro the failure locally
jgt1 has quit [Ping timeout: 268 seconds]
<gchristensen> huh, seems it passed actually ,not sure why it was marked as failed
<lovesegfault> O.o
<lovesegfault> wat
<gchristensen> probably another thing caused it to rebuild successfully... not sure :|
werner291 has quit [Quit: werner291]
<lovesegfault> How is that possible?
<lovesegfault> I'll repeat: With god as my witness we shall see an unstable channel release: https://hydra.nixos.org/build/108421620
<lovesegfault> :P
<gchristensen> nice :D
<gchristensen> lovesegfault++ good work
<{^_^}> lovesegfault's karma got increased to 5
<lovesegfault> Thanks :)
systo has joined #nixos
smatting has quit [Ping timeout: 248 seconds]
<ddima> selfsymmetric-mu: Not sure I follow - could you please expand on "how do I know I have the right one"? Does it mean you might have multiple versions of emacspeak installed? How did you install the derivation, do you have an overlay or so?
<systo> question, Since Nix doesn't follow the FHS, what are the basic mountpoints I should create? Coming from FreeBSD so used to a more rigid structure, but I get the premise of the FS being used as a database i.e. a mountpoint of /nix/store/
<systo> so /, /nix/store, /tmp, /home, anything else? /var/log?
<gchristensen> with ZFS I do a dataset at /, /nix, /home, and /boot
<lovesegfault> gchristensen: Do you use BIOS instead of UEFI?
<systo> TY
<gchristensen> lovesegfault: everywhere I can, yeah :)
<systo> I do not, trying to use UEFI where ever possible
<gchristensen> oh yeah /boot isn't zfs, its vfat of course
<lovesegfault> gchristensen: Why? just the better FDE support?
<lovesegfault> gchristensen: Aaaaah, there we go :P
<lovesegfault> I was like "wtf his /boot is ZFS?!"
<gchristensen> hehe
<systo> yea /boot as fat32
<infinisil> systo: You don't need any special partitions really, you're free to choose whatever
<infinisil> (Well as long boot works)
<gchristensen> systo: if you like to do recursive snapshots, make sure to put /nix/store in a different subtree than / and /home :P
<systo> I've already got a scripted FreeBSD install using legacy mountpoints, with only the linux-compatable options set, so I'm on the hunt for a distro with musl-c
<systo> hence Nix
levdub has quit [Quit: The Lounge - https://thelounge.chat]
<qyliss> My /boot will be ZFS as soon as I can get heads to build with ZFS support :)
<selfsymmetric-mu> ddima: I have multiple directories labeled "emacspeak" in my `/nix/store/`. They are all set to epoch date to preserve determinism but one of them is in fact the most recent. How do I know which one it is?
<lovesegfault> qyliss: heads?
<infinisil> ddima: ls /nix/store is an antipattern in nix
<infinisil> Oh, well usually they should have a version in the name actually
<systo> I'm also interested in the idea of alpine+nix for IoT dev
<ddima> infinisil: thanks ;)
<systo> or until I get OpenNHRP ported over
<infinisil> ddima: If it's not in the name you can't really know just from looking at the paths
<qyliss> lovesegfault: http://osresearch.net/#overview
<ddima> selfsymmetric-mu: you probably should resolve the outPath by evaluating the derivation, thus I was wondering how you installed it. If you have an overlay/have this available as an attibute, it could be as simple as `nix-instantiate '<nixpkgs>' -A fooBar.emacspeak' - if you only have the nix expression randomly flying around, you'd have to do a bit more an `callPackage` to evaluate. Does that make sense?
<qyliss> I have Linux on my motherboard instead of a BIOS
<ddima> infinisil: you mean selfsymmetric-mu
<lovesegfault> qyliss: Sweet!
<infinisil> Oh! Yes sorry ddima
Lears has joined #nixos
vld has joined #nixos
<lovesegfault> Look at the bottom
<lovesegfault> 108414669 is reported finished but the status is still ?
<lovesegfault> is this a bug?
<infinisil> Seems like it's too late for me
[Leary] has quit [Read error: No route to host]
<selfsymmetric-mu> ddima: I do have the Nix expression. I don't know how to do what you're describing unfortunately but I've made a note on the issue.
<selfsymmetric-mu> Thank you for your help regardless.
selfsymmetric-mu has quit [Remote host closed the connection]
<pie_> oh my god this tool is amazing
<pie_> re: i got gammaray to work
<ddima> selfsymmetric-mu: so, lets say you have it in /tmp, you could do it like `nix-instantiate --eval -E 'let pkgs = import <nixpkgs> {}; in pkgs.callPackage /tmp/emacspeak.nix { }' -A outPath`
knupfer1 has joined #nixos
vld has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je7CL
knupfer has quit [Ping timeout: 248 seconds]
knupfer1 is now known as knupfer
slack1256 has joined #nixos
drakonis has joined #nixos
jgt1 has joined #nixos
halfbit has quit [Ping timeout: 248 seconds]
kaliumxyz has quit [Quit: leaving]
remirol is now known as lorimer
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #75783 → python3Packages.casbin: init at 0.8.3 → https://git.io/Je7qr
<{^_^}> [nixpkgs] @jonringer pushed commit from @costrouc to master « pythonPackages.casbin: init at 0.8.3 »: https://git.io/Je7CB
evanjs has quit [Ping timeout: 265 seconds]
gustavderdrache has quit [Quit: Leaving.]
cvlad- has joined #nixos
supermathieu has joined #nixos
vld has joined #nixos
lambda-11235 has joined #nixos
ninegrid has joined #nixos
vld has quit [Ping timeout: 248 seconds]
sjkelly1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #75802 → Revert "python: gym: 0.15.3 -> 0.15.4" → https://git.io/Je7sn
<{^_^}> [nixpkgs] @jonringer pushed to master « Revert "python: gym: 0.15.3 -> 0.15.4" »: https://git.io/Je7Cx
lor|d has joined #nixos
lord| has quit [Read error: Connection reset by peer]
lor|d is now known as lord|
<{^_^}> [nixpkgs] @marsam opened pull request #75809 → gauche: 0.9.8 -> 0.9.9 → https://git.io/Je7Wv
lovesegfault has quit [Quit: WeeChat 2.6]
wildtrees has quit [Quit: Leaving]
slack1256 has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
supermathieu has quit [Quit: Leaving]
supermathieu has joined #nixos
<supermathieu> Howdy, I am trying to parse a yaml file from a nixos module. I couldn't find a builtin parser, is there a way to do it 'natively' or to call some bash code in a let binding?
rardiol has quit [Ping timeout: 276 seconds]
mexisme has quit [Ping timeout: 250 seconds]
<qyliss> You could do IFD, but that wouldn't be allowed in Nixpkgs. I think your only other option is to convert to JSON or TOML outside Nix
mexisme has joined #nixos
noudle has quit []
<supermathieu> qyliss: What is IFD?
<clever> ,ifd
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
<supermathieu> It was too obvious ;)
h0m1 has quit [Ping timeout: 250 seconds]
<supermathieu> Just wondering, would it be possible to call some bash code?
dirkx has quit [Ping timeout: 250 seconds]
<clever> supermathieu: pkgs.runCommand takes a bash script, but to get the value within an expression, you must import from that derivation
selfsymmetric-mu has joined #nixos
<supermathieu> clever: alright, thanks. In that case, it effectively sounds easier to simply convert to json
h0m1 has joined #nixos
dirkx has joined #nixos
<pie_> hm apparently nixos has flatpak support, i should try it out
<pie_> clever: now if only ,ifd referred to why its a footgun or something
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
<selfsymmetric-mu> if it gets snap support too then maybe there will finally be an Aether client available
<{^_^}> [nixpkgs] @marsam merged pull request #75806 → cocoapods-beta: 1.8.4 -> 1.9.0.beta.1 → https://git.io/Je7n5
<gchristensen> pie_: it extremely quickly becomes very painful: killing evaluation time and making builds far more complicated
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je7lU
<clever> i have seen evals take 2 hours, because it had to build 3 copies of ghc
jjakob has quit [Ping timeout: 246 seconds]
<pie_> selfsymmetric-mu: whats that
<pie_> clever: kek
<mla> is there a simple way to drop in a single file bin in /usr/lib/firmware at boot - i see the opt hardware.firmware but that wants a package
<clever> mla: hardware.firmware = [ ./dir ]; and then put the files in dir/firmware/ i think
<pie_> meh, mpsyt is broken
<pie_> hmmm....it might be cool if there was a fetchFromGitHub attribute that you could list PR numbers to apply
<supermathieu> pie_: since when? It was working an hour ago :(
<clever> pie_: there is...
<pie_> supermathieu: oh maybe im doing something wrong then??
<pie_> clever: OH? :O
<qyliss> pie_: PRs aren't stable
<qyliss> same reason you shouldn't use branches in fetchFromGitHub
<pie_> qyliss: eh, true
<pie_> clever: there is?
<clever> pie_: there are magic branches in github, pull/head/1234 i believe
<clever> pie_: which reference the head of pr 1234
<pie_> supermathieu: youtube is complaining about the client trying to use https
<qyliss> clever: if you gave that to fFGH it would just apply the tip commit though
<pie_> supermathieu: *about the client trying to use http
<supermathieu> pie_: Let me see, what version are you using?
<pie_> supermathieu: pyhton37Packages.mps-youtube from unstable, in theory
<pie_> let me check
<pie_> mpsyt version : 0.2.8
<pie_> notes : released 17 February 2018
<pie_> uhhhhh
<clever> qyliss: there is also pull/merge/1234, which is the result of if the pr was merged
<qyliss> oh that would probably work
<clever> qyliss: but thats even more unstable, it will change if the pr or master is merged, breaking your sha256's a lot
<gchristensen> also not stable
<qyliss> Yeah, still wouldn't be a good idea
<clever> its usable for short-term testing, but dont leave it
jjakob has joined #nixos
<pie_> supermathieu: ugh my stable channel is still 19.03, i forgot to fix that
<mla> clever: if i point it at the folder w/ .bin file, nixos-rebuild switch complains hardware.firmware is not of type package
* pie_ has been rebuilding his config the past few days
<mla> a bit overkill to make a package since i just want to drop in single edid file for testing
<clever> mla: then you can use pkgs.runCommand to make it into a package
<supermathieu> pie_: it seems to work fine on 19.09
<clever> mla: hardware.firmware = [ (pkgs.runCommand "foo" {} "mkdir -pv $out/firmware ; cp ${./foo.bin} $out/firmware/foo.bin") ];
<pie_> supermathieu: yeah i probably just need to update
lambda-11235 has quit [Quit: Bye]
<mla> clever: oh cool looks simple, thanks i'll give that a try
<pie_> supermathieu: seems to work now
<supermathieu> pie_: glad to hear that!
<pie_> now if only i actually knew how to use this tui
<supermathieu> I am actually trying to find a way to use it properly. I keep trying to find playlist, but what I love with the youtube ui is that I can simply start at one song and it just autoplay everything. (Thats how I discover new songs)
<supermathieu> I haven't found a way to do that with mpsyt
ddellacosta has quit [Read error: Connection reset by peer]
<supermathieu> At least, not yet
<pie_> cant fet i to actually play anything though. odd.
ddellacosta has joined #nixos
<pie_> supermathieu: im curious about freetube but that probably doesnt have a clu
<pie_> *cli
<pie_> whelp. :I 'Problem playing last item: <urlopen error [Errno 101] Network is unreachable>'
<supermathieu> hmm, that's odd
<pie_> oh just that one song is broken apparently
<evils> is there a way to do this? https://hastebin.com/ocutinonit.bash
supermathieu has quit [Quit: Leaving]
ddellacosta has quit [Ping timeout: 248 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/583cee53483 (from 6 days ago, history: https://channels.nix.gsc.io/nixos-19.03)
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75775 → croc: 6.4.6 -> 6.4.7 → https://git.io/Je7tt
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je7l5
<mla> clever: cp seems to think the file in the runCommand doesn't exist though i can stat it
jjakob has quit [Ping timeout: 250 seconds]
jjakob has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75756 → coredns: 1.3.1 -> 1.6.6 → https://git.io/Je7eD
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je78J
<pie_> mla: sometimes i run ls in a builder just to make sure im not doing something stupid
<pie_> maybe theres better methods but its what i do
<clever> mla: did you use ${ like in my example?
<mla> aha ${} fixed it, so i guess that some sort of escape to the host
<clever> mla: nix builds everything in a sandbox, and changes the working dir
<clever> mla: ${./foo.bin} will copy the file to /nix/store/hash-foo.bin, and insert that new path into the script
<pie_> mla: a heuristic: nix is purely functional and sandboxed, so you wont get access to anything unless explicitly tell it to
<pie_> except for some minimal stuff you need to start off with but yeah
<pie_> also all the stuff the libraries give you
<pie_> (like mkDerivation, runCommand, whatever)
<pie_> well, yeah, what clever said
jjakob has quit [Ping timeout: 248 seconds]
<pie_> more correctly; the purely funcitonal applies to the language
evanjs has joined #nixos
<mla> pretty cool, seems like a really nice trick for debugging
<pie_> what do you mean?
<mla> i have a few nix packages, user of nixos for months but this is my first time learning ${}
<pie_> ah, ${} is just a string substitution thing
<mla> yeah i had no idea, but maybe i should do the nixpills too
<{^_^}> [nixpkgs] @marsam merged pull request #75768 → hydroxide: init at 0.2.11 → https://git.io/Je7I8
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je784
<mla> my learning method so far has been trial and error )
jjakob has joined #nixos
<pie_> if you have a path object like ./something, when you cast it to a string via ${} ...makes things such... that the path gets copied to the store, and it substitutes the new path
<pie_> you can put any nix expression in ${}
<pie_> mla: i strongly recommend playing around in the repl a bit with some random stuff
<pie_> > "${1 + 1}"
<{^_^}> cannot coerce an integer to a string, at (string):271:2
<pie_> :I
* pie_ trips on a banana
<pie_> > "${builtins.toString (1 + 1)}"
<{^_^}> "2"
commander has quit [Remote host closed the connection]
<pie_> > "${pkgs.hello}"
<{^_^}> "/nix/store/234v87nsmj70i1592h713i6xidfkqyjw-hello-2.10"
<pie_> some things can be automatically coerced
<pie_> such as derivations
<pie_> > builtins.typeOf pkgs.hello
<{^_^}> "set"
<pie_> ok thats awkward
<mla> intresting, yeah i work as programmer but the nix lang is intimidating tbh, but i have yet to see a better package system
<clever> the cross-compile support is also amazing
<clever> i'm mixing 3 different cross-compilers in my current project, with little trouble
<pie_> :D i havent done any cross compiling myself but some people have put great work into that
<pie_> clever: wow awesome
<pie_> mla: becoming a nix language user / packager / something is kind of inevitable if you use nixos so...welcome to the club 'xD
<pie_> may new and crazy worlds open before you
<pie_> nix isnt very fancy in the programming language space afaik, but yeah the package management is awesome
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<genesis> about that, i need this to be merged for my mother #45347 , i think more a year is to be patient :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/45347 (by bignaux, 1 year ago, open): PySolFC: 2.0 -> 2.6.4
aw has joined #nixos
boxscape has quit [Remote host closed the connection]
spacefrogg has joined #nixos
<pie_> genesis: if you need to run it asap you can proably just use virtualenv?
<mla> ha thanks, yeah im an addict (/club member) already, issue now is every other distro seems so much worse and i wont use them anymore :)
<{^_^}> [nixpkgs] @marsam merged pull request #75404 → fusuma: 0.10.2 -> 1.3.0 → https://git.io/JeShN
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Je78V
<pie_> mla: i think haskell people have that problem with programming languages
<pie_> at least once they get over the mass of hurdles
<pie_> "learning haskell has damaged my employment prospects"
* pie_ goes back to trying to figure out why his container is broken
<genesis> pie_ : i try to work upstream, i don't like to spend hour on a derivation to finally make a virtualenv thingy ;)
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #75809 → gauche: 0.9.8 -> 0.9.9 → https://git.io/Je7Wv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je74E
<pie_> is the following not supposed to work? :/
<pie_> #! /usr/bin/env nix-shell
<pie_> #! nix-shell -v -i bash -E 'import (builtins.fetchGit { url = "https://github.com/nix-community/nixos-generators.git"; })'
<pie_> throws this at me:
<pie_> error: syntax error, unexpected $undefined, at (string):1:1
<pie_> evaluating file '/nix/store/sm740vh74gh7r8ww6q3wf067xkq1nb64-nix-2.3.1/share/nix/corepkgs/derivation.nix'
<pie_> err, I should have googled before asking https://github.com/NixOS/nix/issues/2209
<{^_^}> nix#2209 (by teto, 1 year ago, open): What is wrong with my shebang ?
drakonis has joined #nixos
<pie_> why dont single quotes work? :/
felixfoertsch23 has joined #nixos
lord| has quit [Read error: Connection reset by peer]
<samueldr> because of this simplistic shellwords implementation, pie_
vld has joined #nixos
lord| has joined #nixos
felixfoertsch has quit [Ping timeout: 276 seconds]
<pie_> samueldr: oh, ok, i kind of suspected it has to implement its own parser
<pie_> there's gotta be a less screwy way of doing that :( , but i guess not. not without dependencies or a more complicated function or whatever
LLED2_3 has joined #nixos
<samueldr> use '' rather than "
<samueldr> > ''stringy''
<{^_^}> "stringy"
<samueldr> so you can keep using " in the shebang line
<pie_> i just used \ but yeah that might be nicer
* samueldr hopes pie_ is using a monospaced font
<pie_> heh
<samueldr> with a proportional font that example must look confusing!
vld has quit [Ping timeout: 268 seconds]
drakonis has quit [Quit: WeeChat 2.6]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3ad650a14b0 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<pie_> samueldr: wait what. but theres only a case for " why would '' work
LLED2_2 has quit [Ping timeout: 252 seconds]
eraserhd has quit [Quit: WeeChat 2.7]
<samueldr> #!nix-shell ... -E "import (builtins.fetchGit { url = ''https://github.com/nix-community/nixos-generators.git''; })'"
eraserhd has joined #nixos
<samueldr> oops
<samueldr> #!nix-shell ... -E "import (builtins.fetchGit { url = ''https://github.com/nix-community/nixos-generators.git''; })"
mexisme has quit [Ping timeout: 265 seconds]
<pie_> next problem :I https://bpaste.net/show/7Y55K
<pie_> why is my container timing out
<pie_> it looks like its dropping to a shell or something??
<pie_> this is a declarative container
lovesegfault has joined #nixos
<pie_> samueldr: oh doh...feeling like a dummy as usual
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<lordcirth_> What's the correct way to create a directory, or copy/link files into it, in a machine config?
<lordcirth_> eg /srv/tftp for dnsmasq
<lordcirth_> Should it go in /run or /tmp so it doesn't stick around if I remove it from the config?
<clever> lordcirth_: one minute...
<clever> lordcirth_: that puts the tftp dir into the nix store, and manages it with a nix expression
<lordcirth_> ooh nice
<clever> lordcirth_: this file also sets up everything needed for network booting
<dansho> anyone get this error when recording with obs studio? https://paste.ee/p/51ol1
<lordcirth_> clever, what's the luks bit do?
<lordcirth_> Is that the client or the server config?
<clever> lordcirth_: config for the justdoit script, if you run `justdoit` on the netboot client, it will nuke /dev/vda, and install nixos using luks
<clever> lordcirth_: the main file, is meant to be a netboot server, on a laptop, you aim lan to an ethernet card, and wan to a wifi card, and it will NAT between them for you
<clever> lordcirth_: lines 20-27 are then a nixos config for the client, that will boot over the network
<clever> lordcirth_: the original use, is that you plug any machine into the laptop ethernet, netboot it, run justdoit, and boom, its now nixos!
<lordcirth_> neat. So if it's to run a server, I can remove some parts
<clever> lordcirth_: yeah, customize lines 20-27 and 12 to suit your needs
<clever> lordcirth_: and if its the main router, you dont need the nat stuff
<lordcirth_> Might need NAT at some point, for clusters
<lordcirth_> So the "justdoit" is all the interaction needed?
<Church-> lordcirth_: Heyyyyy
<lordcirth_> Hi
<Church-> Finally trying it out?
<lordcirth_> Been tinkering for a month or so now, yeah
<clever> lordcirth_: if you want to install nixos on another machine, yeah, and note that it curently has zero confirmations when being ran
<clever> lordcirth_: only run that on a machine you are fine with wiping
<lordcirth_> Yup. gonna be VMs for the moment
zeta_0 has joined #nixos
<clever> lordcirth_: you could also just run the vm from the netboot image directly, and never "install"
<Church-> Yeah use a spare machine
<Church-> To test first
<Church-> I did on a brand new laptop and had to work in a framebuffer for a few days till I got graphics working with some help lol
<clever> lordcirth_: this will use 2 instances of nixpkgs, to build a qemu that runs nixos
<Church-> did it*
<lordcirth_> I want to be able to start with a basic NixOS server, use nixops to turn itself into a cluster head node, most importantly a PXE server, then be able to 0-touch deploy the rest of the cluster
<clever> lordcirth_: one nixpkgs is forced to x86_64-linux (for the nixos guest)
<clever> lordcirth_: but the 2nd nixpkgs (for qemu and bash) are left to default to the current os
<clever> lordcirth_: so if you nix-build that on a mac, it winds up running nixos under the darwin build of qemu!
<lordcirth_> neat
<clever> lordcirth_: something else i want to work on some time, that fits your needs, is https://github.com/NixOS/nixops/issues/1189
<{^_^}> nixops#1189 (by cleverca22, 17 weeks ago, open): plan for supporting custom partition layouts and custom FS's on any backend
endformationage has quit [Quit: WeeChat 2.6]
<clever> lordcirth_: for example, you could just netboot a machine, then just point nixops towards the ip, and let nixops do the entire install
<lordcirth_> clever, from the OS in RAM? Ooh, didn't think of that
<lordcirth_> No need for a separate preseed config, nice
<clever> lordcirth_: yep
<clever> lordcirth_: step 3 in the issue is how to copy-closure with a chroot on the remote end
<zeta_0> i ran `nix-collect-garbage -d`, which deleted a bunch of stuff but when i rebooted it showed the same number of generations, i thought that command was supposed to remove all previous generations and your most recent configuration starts at generation 1 ?
<clever> lordcirth_: and step 4 tells nixos-install that its already been built, just fix the bootloader
<zeta_0> the older generations are still there?
<clever> zeta_0: the grub config isnt updated until you nixos-rebuild switch
<clever> lordcirth_: the rest of the stuff in the issue, is just how to get a nixos env running on the target, in ram
<zeta_0> clever: oh, thanks
<zeta_0> clever++
<{^_^}> clever's karma got increased to 283
sigmundv has quit [Read error: Connection reset by peer]
<systo> anyone encountered systemd-boot-builder.py complaining about machineid list index out of range when trying to install
lord| has quit [Read error: Connection reset by peer]
dansho has quit [Quit: Leaving]
dsg has quit [Ping timeout: 276 seconds]
<zeta_0> clever: i am finally able to use ghc.nix to build ghc, i couldn't get it to build earlier because i missed a few tiny details
lord| has joined #nixos
<clever> zeta_0: ah
sigmundv has joined #nixos
<zeta_0> clever: it takes about an hour to build ghc, it sucks waiting, but i am glad i finally got it to work
<systo> got all my zfs datasets mounted, but can't seem to cmplete install
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<zeta_0> hadrian comes builtin with ghc, so i was able to use it right away without any problems
<{^_^}> [nixpkgs] @marsam merged pull request #75807 → strelka: fix broken build → https://git.io/Je7cU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je7Bw
ninegrid has quit [Ping timeout: 248 seconds]
growpotkin has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
iqubic has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<pie_> so im trying to figure out why my container isnt starting properly, im not really sure how most of this systemd stuff works
<pie_> i manage to log in via nixos-container root-login for a bit before it times out
<systo> anyone encountered systemd-boot-builder.py complaining about machineid list index out of range when trying to install
<lordcirth_> clever, so, if was to use nixops once the client has netbooted, I can drop all the 'justdoit' stuff and just add sshd and a pubkey?
<pie_> ok actually looking at the boot log, maybe its failing because tinc is failing
<pie_> but it would be nice if i could figure out how to be 100% certain
<clever> lordcirth_: the current nixops will just copy to the target /nix/store and switch to the new generation
<clever> lordcirth_: if you do that from netboot, it wont persist at shutdown
<clever> lordcirth_: so you would need to use justdoit to install, boot that, then nixops deploy to the hdd
<clever> the nixops issue i linked, is about stream-lining that more
<lordcirth_> clever, oh, you meant once your issue was implemented?
<lordcirth_> I see
<clever> yeah
<lordcirth_> pie_, systemctl list-units --failed might be useful
dsg has joined #nixos
dansho has joined #nixos
dx_ has joined #nixos
<lordcirth_> clever, is justdoit a thing you wrote? I see it seems to be inside the repo
zeta_0 has joined #nixos
<zeta_0> clever: i ran nixos-rebuild switch and when i rebooted the previous older generations are still there?
<clever> zeta_0: was /boot mounted correctly?
<lordcirth_> zeta_0, did you run it as root/sudo?
dsg has quit [Ping timeout: 265 seconds]
<zeta_0> when i installed nixos months i followed the instructions the best i could so i think i mounted it correctly, and i ran it as root, so i don't know
<clever> zeta_0: is it booting with efi or legacy?
<zeta_0> efi
<clever> zeta_0: what does `df -h /boot` report?
<zeta_0> Filesystem Size Used Avail Use% Mounted on
<zeta_0> [zeta@nixos:~]$ df -h /boot
<clever> zeta_0: the 3rd line is missing
<zeta_0> clever: what is missing?
<zeta_0> on the 3rd line?
<clever> zeta_0: compare what you said on irc to what you copied from the terminal
<lordcirth_> It's probably on their screen, along with a flood control warning
<zeta_0> it has the same stuff, it just pasted all messed up
<clever> lordcirth_: it starts with a /, which is the trigger for commands
<lordcirth_> ah, right, lol
dsg has joined #nixos
<clever> zeta_0: what is the last line of output from `df -h /boot` ?
<lordcirth_> put a space in front this time
<zeta_0> are you guys not able to see this output:
<lordcirth_> no, not with a leading /
<zeta_0> dev/nvme0n1p3 510M 14M 497M 3% /boot
dx_ has quit [Quit: leaving]
<lordcirth_> or that
<zeta_0> ok i removed /
<clever> it must be a bug in the emacs irc client
<lordcirth_> To not escape pastes?
<clever> lordcirth_: to make it look like its still sending a msg, even if its a cmd
<zeta_0> so you guys can't see the output, how strange
<clever> zeta_0: all commands in irc start with a /
<lordcirth_> zeta_0, lines beginning with / are IRC commands
<clever> zeta_0: can you pastebin the full output of `fdisk -l /dev/nvme0n1 ; df -h` ?
<lordcirth_> eg /whois zeta_0
dsg has quit [Ping timeout: 276 seconds]
<zeta_0> i must of made a little mistake somewhere, i think i will redo the`nix-collect-garbage -d` one more time just to make sure
<clever> zeta_0: `fdisk -l` only works as root
<clever> zeta_0: `nix-collect-garbage -d` cant delete system profiles if it lacks root
<zeta_0> clever: yes, fdisk -l works as root
bvdw has quit [Read error: Connection reset by peer]
<clever> zeta_0: but the pastebin only shows the error, nothing useful
bvdw has joined #nixos
<zeta_0> let me try it one more time, i'll be back in a couple minutes
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
dsg has joined #nixos
<pie_> i think when something ctually fails then the whole system goes down (maybe theres only one thing) - can i do this on the journalctl logs after the fact? <lordcirth_> pie_, systemctl list-units --failed might be useful
<clever> pie_: there is also `journalctl -b -1`
zeta_0 has joined #nixos
<pie_> clever: yeah i know about that one \o/
<pie_> maybe it does tell you what failed
<clever> it should
<clever> if it was a clean shutdown
<pie_> in any case i got the container working a few minutes ago, i needed enableTun = true and then the tinc service didnt fail
<pie_> clever: i think the container runner was killing it so probably not
dansho has quit [Quit: Leaving]
<zeta_0> it worked, i am back at generation 1, everything loads so much faster now, i had 242 generations before i executed the `nix-collect-garbage -d` command
<clever> zeta_0: who does it load faster? it shouldnt have any real impact on the speed
mexisme has joined #nixos
<zeta_0> clever: it definitely seems to boot faster than before, as for the program load times its hard to tell
<clever> nothing in the boot process should care about how many generations you have
<zeta_0> well, i don't know
<clever> [root@amd-nixos:~]# systemd-analyze
<clever> Startup finished in 6.405s (kernel) + 14.233s (userspace) = 20.638s
<clever> graphical.target reached after 14.233s in userspace
<clever> zeta_0: you can run this program to get an exact number to how slow the boot is
<clever> and then see if it changes again in the future
<zeta_0> clever: cool, that is good to know
<zeta_0> [root@nixos:/home/zeta]# systemd-analyze
<zeta_0> graphical.target reached after 12.792s in userspace
<zeta_0> Startup finished in 3.390s (firmware) + 8.572s (loader) + 2.014s (kernel) + 12.792s (userspace) = 26.770s
<zeta_0> clever: ^
sigmundv__ has joined #nixos
sigmundv has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/db59e940594 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
LLED2_ has joined #nixos
vld has joined #nixos
LLED2_3 has quit [Ping timeout: 248 seconds]
LLED2_2 has joined #nixos
LLED2_ has quit [Ping timeout: 245 seconds]
vld has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @tomberek opened pull request #75810 → dockerTools: split raw and cooked images → https://git.io/Je7RW
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
lovesegfault has quit [Ping timeout: 245 seconds]
bahamas has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
lorimer has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75811 → remmina: 1.3.4 - 1.3.7 → https://git.io/Je7RP
palo1 has joined #nixos
zupo has joined #nixos
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75377 → riot-{web,desktop}: 1.5.5 -> 1.5.6 → https://git.io/JeSQu
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Je7RS
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75123 → Gnome extension workspace-grid is now workspace-matrix → https://git.io/Jeyre
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Je7R9
kazmiik has joined #nixos
kazmiik has left #nixos ["Leaving"]
nsbh^ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75555 → libgpod: drop pygobject2 → https://git.io/JeHOu
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Je7RQ
zupo_ has joined #nixos
zupo has quit [Ping timeout: 248 seconds]
jb55 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace pushed to master « pantheon.granite: 5.2.5 -> 5.3.0 »: https://git.io/Je7Rd
<{^_^}> [nixpkgs] @Lassulus merged pull request #74722 → mame: 0.215 -> 0.216 → https://git.io/Je168
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/Je7RN
viric has quit [Read error: Connection reset by peer]
medvid has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sigmundv__ has quit [Read error: Connection reset by peer]
<pie_> I can never remember what the right way to do it is. Is there some easy way to remember how to turn a path object into a string without copying into the nix store?
sigmundv__ has joined #nixos
<clever> > toString ./.
<{^_^}> "/var/lib/nixbot/state/nixpkgs"
<clever> > ${./.}
<{^_^}> error: syntax error, unexpected DOLLAR_CURLY, at (string):271:1
<clever> > "${./.}"
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs' is forbidden in restricted mode
<clever> pie_: toString will just give the path as a string, casting it will copy
mexisme has joined #nixos
talvdav has joined #nixos
<pie_> clever: oh ok
<pie_> clever: casting-copying works by keeping "contexts" around right?
<clever> pie_: when it makes a copy, the new string will depend on the copy via a context
veske has joined #nixos
<pie_> clever: what i meant to ask was i guess toString does the cast and drops the context?
<clever> pie_: context only works for things in /nix/store, so toString doesnt have anything it could add as context
<pie_> i also mean i guess im failing to parse this unambiguously <clever> pie_: when it makes a copy, the new string will depend on the copy via a context
<clever> pie_: "${./}" will create a new string, that depends on the copy at /nix/store/hash-foo
<pie_> aha
<clever> pie_: but toString ./. just turns the path into a string, without copying, and it cant have context on things outside of the store
<pie_> ok
<pie_> so does ${} specifically have some magic for path casts?
<pie_> id check the source but it would probably take me a while to find it
<keithy[m]> guys... suggestion, how about making the NixOS options search on the website, a regex?
<keithy[m]> and for sake of example, try searcing for users. https://nixos.org/nixos/options.html#users
<clever> pie_: the bool passed to coerceToString controls if it will copy or not, the default is to copy
lovesegfault has joined #nixos
<clever> pie_: "${foo}" calls coerceToString on whatever is within foo
o1lo01ol1o has joined #nixos
<pie_> ok you were faster :P
<clever> pie_: but you found the other half i didnt link!
<pie_> ok i should get some breakfast
<pie_> o/
<clever> pie_: line 1600, if you try to coerceToString another string, it will return the string, and add the context to the given list
Ariakenom has joined #nixos
<clever> pie_: line 1605, it will return either the copy or the original string (based on the bool), and only copyPathToStore is able to modify the context
<clever> pie_: 1610, it will check a set for a .toString function or .outPath value
<clever> both of which can add more context
CMCDragonkai has joined #nixos
<CMCDragonkai> It used to be that mounting the `.Xauthority` into a docker container was enough to allow the container to run an X application with the same permissions as the user.
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<CMCDragonkai> However now, that doesn't work, unless I first enable `xhost +local:root`
<CMCDragonkai> Did something change...
<CMCDragonkai> ?
<clever> CMCDragonkai: .Xauthority contains the secret password that lets you connect, but you also need to be able to connect to the unix socket at /tmp/.X11-unix/X0
<CMCDragonkai> clever: I am able to access it, that's what the `--net=host` is for
<CMCDragonkai> It enables access to the unix domain socket
<clever> CMCDragonkai: you can also use the xauth command, to export and import records from .Xauthority
<CMCDragonkai> But even if that were not true
<CMCDragonkai> I tried this, and it still didn't work
orivej has quit [Ping timeout: 276 seconds]
pie_ has quit [Ping timeout: 248 seconds]
fendor has joined #nixos
<clever> CMCDragonkai: if you run `xauth` and then `list` both inside and out, what does it say?
<CMCDragonkai> the `--net=host` obviates the need for `--volume /tmp/.X11-unix:/tmp/.X11-unix`
<CMCDragonkai> regardless, I had to set `xhost +local:root` otherwise, the GUI app inside the container wouldn't work
<clever> CMCDragonkai: what is the listing from inside docker?
<CMCDragonkai> the container doesn't have anything like xauth
<CMCDragonkai> unless you're saying to give it that command?
<clever> CMCDragonkai: you may need to install it within the container first, the hostname may also matter
<clever> when `xauth list` starts with amd-nixos/unix:0, then that means it will only use that record when connecting to amd-nixos
<CMCDragonkai> it says `file /.Xauthority does not exist`
<CMCDragonkai> even though i have this `--volume="$HOME/.Xauthority:/root/.Xauthority:ro"`
<clever> CMCDragonkai: then $HOME isnt set right, HOME=/root/ in your case
<clever> CMCDragonkai: its not looking in /root/, is the problem
<CMCDragonkai> huh
fusion809 has quit [Remote host closed the connection]
<clever> CMCDragonkai: because $HOME isnt set, X11 apps are looking as /.Xauthority, not /root/.Xauthority
<CMCDragonkai> that seems seems like it
<CMCDragonkai> that must have been what is changed
<CMCDragonkai> i didn't need to do this before with `dockerTools.buildImage`
<CMCDragonkai> with images built by that nix function
<CMCDragonkai> and now i do
hyper_ch2 has joined #nixos
sigmundv__ has quit [Ping timeout: 265 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
Izorkin_ has joined #nixos
Izorkin has quit [Ping timeout: 246 seconds]
Izorkin_ is now known as Izorkin
lsix has joined #nixos
knupfer has quit [Remote host closed the connection]
philr has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
pie_ has joined #nixos
vld has joined #nixos
ng0 has joined #nixos
vld has quit [Ping timeout: 245 seconds]
<danderson> srhb: (re using nixos test infra for testing other stuff) as long as I can build terrible non-hermetic packages by slurping up freshly built binaries, that would still work out. Not much nixpkgs/nixos code to write to drop a binary onto the machine and run it, before the test script.
<danderson> really the things I want is the ease of bringing up a non-trivial small network of VMs, with various firewall configs (this is to test NAT traversal tools), and have helpers in test scripts for stuff like "wait for this thing to be running"
<danderson> for these tests I need to start and configure a bunch of VMs in non-trivial ways, run my service binary on some of the machines, then poke at the binary to see what it makes of the environment. So really, it's almost entirely "make a nixos test", except for the last bit where I'm testing my code, not nixos
o1lo01ol1o has joined #nixos
vika_nezrimaya has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
talvdav has quit [Remote host closed the connection]
<srhb> danderson: I think that sounds like a reasonable use case for NixOS tests. I mean, inevitably they also test software.
<{^_^}> [nixpkgs] @andersk opened pull request #75812 → or-tools: 7.3 -> 7.4 → https://git.io/Je7ud
rauno has joined #nixos
zupo has joined #nixos
zupo has quit [Client Quit]
kleisli has joined #nixos
<clever> even chromium has a test in the nixos framework
jgt2 has joined #nixos
zupo has joined #nixos
jgt1 has quit [Ping timeout: 248 seconds]
Anton43 has joined #nixos
<Anton43> Hey all! I just installed nix with 'curl https://nixos.org/nix/install | sh' on ubuntu and can't find my nix.conf. In particular, 'find ~ -name 'nix.conf'' returns nothing..
<srhb> Anton43: It doesn't exist by default iirc
zupo has quit [Client Quit]
<Anton43> Ah, so I have to create it under .config/nix/nix.conf ?
<Anton43> And then nix just accepts it?
<srhb> Anton43: You can see the default values with `nix show-config` and adjust as needed
<srhb> Anton43: Yeah
<Anton43> Ah, thanks!
<srhb> Anton43: (I should rephrase, nix show-config shows your current config, but with no nix.conf it shows the default values)
<{^_^}> [nixpkgs] @danbst opened pull request #75813 → [RFC] mkDerivation: support version suffix, which is part of derivation nam… → https://git.io/Je7zq
chloekek has joined #nixos
Anton43 has quit [Remote host closed the connection]
lovesegfault has quit [Ping timeout: 252 seconds]
__monty__ has joined #nixos
avn has quit [Remote host closed the connection]
lovesegfault has joined #nixos
lukash_|away is now known as lukash_
<{^_^}> [nixos-weekly] @domenkozar merged pull request #109 → Add nix-notes, a collection of short notes about Nix, each contributing to the same virtual machine image → https://git.io/Je7Yu
<{^_^}> [nixos-weekly] @domenkozar pushed 2 commits to master: https://git.io/Je7zl
kraem has joined #nixos
kraem has quit [Client Quit]
hyper_ch2 has joined #nixos
fenedor has joined #nixos
kraem has joined #nixos
dirkx1 has joined #nixos
Syrup has joined #nixos
chiefgoat_ has joined #nixos
m4ts_ has joined #nixos
obey has joined #nixos
cqc_ has joined #nixos
bgupta_ has joined #nixos
lordcirth has joined #nixos
drozdziak1_ has joined #nixos
tetdim_ has joined #nixos
smj has joined #nixos
nixy- has joined #nixos
obey is now known as Guest86177
jeregrine_ has joined #nixos
scoates_ has joined #nixos
etrepum_ has joined #nixos
midchildan_ has joined #nixos
rys has joined #nixos
eddyb[legacy]_ has joined #nixos
xwvvvvwx- has joined #nixos
atriq has joined #nixos
kitemikaze_ has joined #nixos
adamse_ has joined #nixos
Czen11 has joined #nixos
lpsmith_ has joined #nixos
puckipedia has joined #nixos
exarkun_ has joined #nixos
tdeo_ has joined #nixos
fiddlerwoaroof_ has joined #nixos
asheshambasta has joined #nixos
mpickering_ has joined #nixos
qyliss_ has joined #nixos
silver_hook_ has joined #nixos
infinisi1 has joined #nixos
raboof_ has joined #nixos
rys is now known as Guest28246
pasukon_ has joined #nixos
wildsebastian_ has joined #nixos
jbetz_ has joined #nixos
srhb_ has joined #nixos
jackdk_ has joined #nixos
lirzhv_ has joined #nixos
linuus_ has joined #nixos
bigvalen_ has joined #nixos
lemsip has joined #nixos
alanz_ has joined #nixos
djanatyn_ has joined #nixos
georges has joined #nixos
<rizary_> for deployment using nixops, do I need to add binaryCaches and binaryCachePublicKeys in the server? or using nix-copy-closure instead of nixops is sufficient? my target deployment is digital ocean machine ? (I am using custom nixos image in digital ocean)
dustinm- has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
ivan- has joined #nixos
lopsided98_ has joined #nixos
ehmry_ has joined #nixos
nek0 has quit [Disconnected by services]
lc has joined #nixos
Guest28246 is now known as nek0
bennofs_ has joined #nixos
nornagon2 has joined #nixos
peanutbutter144_ has joined #nixos
naiveshe- has joined #nixos
ddima_ has joined #nixos
sigmundv has joined #nixos
pistache_ has joined #nixos
evanjs- has joined #nixos
ztrawhcse has joined #nixos
andersk_ has joined #nixos
Cheery_ has joined #nixos
ArdaXi_ has joined #nixos
Guillaum_ has joined #nixos
liif has joined #nixos
earldoug1as has joined #nixos
inkOne__ has joined #nixos
nurelin_ has joined #nixos
dsg_ has joined #nixos
gyroninja_ has joined #nixos
aswanson has joined #nixos
bsima1 has joined #nixos
ptrcmd_ has joined #nixos
sheenobu_ has joined #nixos
ardea has joined #nixos
gerschtli1 has joined #nixos
EsperLil1 has joined #nixos
gentauro_ has joined #nixos
ashkitte1 has joined #nixos
mutantmell has joined #nixos
rxF has joined #nixos
grahamc has joined #nixos
lockshaw has joined #nixos
nahamu_ has joined #nixos
tjgee has joined #nixos
duckonomy_ has joined #nixos
emacsoma1 has joined #nixos
Syrup has quit [Quit: ZNC 1.7.4 - https://znc.in]
HedgeMage_ has joined #nixos
jtcs_ has joined #nixos
eri451 has joined #nixos
rotaerk_ has joined #nixos
dminuoso_ has joined #nixos
Chiliparrot has joined #nixos
mkaito- has joined #nixos
Syrup has joined #nixos
adamCS_ has joined #nixos
fendor has quit [*.net *.split]
dsg has quit [*.net *.split]
evanjs has quit [*.net *.split]
jjakob has quit [*.net *.split]
selfsymmetric-mu has quit [*.net *.split]
dirkx has quit [*.net *.split]
nornagon has quit [*.net *.split]
m4ts has quit [*.net *.split]
grumble has quit [*.net *.split]
linuus has quit [*.net *.split]
adamCS has quit [*.net *.split]
silver_hook has quit [*.net *.split]
peanutbutter144 has quit [*.net *.split]
nixy has quit [*.net *.split]
eri has quit [*.net *.split]
disasm has quit [*.net *.split]
Arahael has quit [*.net *.split]
octe has quit [*.net *.split]
elibrokeit has quit [*.net *.split]
marcusr has quit [*.net *.split]
mrlizard has quit [*.net *.split]
tdeo has quit [*.net *.split]
drozdziak1 has quit [*.net *.split]
sheenobu has quit [*.net *.split]
HedgeMage has quit [*.net *.split]
ptrcmd has quit [*.net *.split]
klys has quit [*.net *.split]
locallycompact has quit [*.net *.split]
lopsided98 has quit [*.net *.split]
gerschtli has quit [*.net *.split]
xwvvvvwx has quit [*.net *.split]
andi- has quit [*.net *.split]
emily has quit [*.net *.split]
Taneb has quit [*.net *.split]
ddima has quit [*.net *.split]
exarkun has quit [*.net *.split]
gyroninja has quit [*.net *.split]
jtcs has quit [*.net *.split]
lordcirth__ has quit [*.net *.split]
pistache has quit [*.net *.split]
bennofs has quit [*.net *.split]
Church- has quit [*.net *.split]
genesis has quit [*.net *.split]
tjg1 has quit [*.net *.split]
markus1189 has quit [*.net *.split]
chiefgoat has quit [*.net *.split]
gentauro has quit [*.net *.split]
puck has quit [*.net *.split]
psiperator[m] has quit [*.net *.split]
ehmry has quit [*.net *.split]
lirzhv has quit [*.net *.split]
ericsagnes has quit [*.net *.split]
Yaniel has quit [*.net *.split]
infinisil has quit [*.net *.split]
rot13 has quit [*.net *.split]
simpson has quit [*.net *.split]
flokli has quit [*.net *.split]
gchristensen has quit [*.net *.split]
aswanson_ has quit [*.net *.split]
aranea has quit [*.net *.split]
ashkitten has quit [*.net *.split]
bigvalen has quit [*.net *.split]
emacsomancer has quit [*.net *.split]
nurelin has quit [*.net *.split]
djanatyn has quit [*.net *.split]
symphorien has quit [*.net *.split]
lpsmith has quit [*.net *.split]
inf has quit [*.net *.split]
hexo has quit [*.net *.split]
mtjmullen has quit [*.net *.split]
emilsp has quit [*.net *.split]
ivan has quit [*.net *.split]
dbe has quit [*.net *.split]
jeregrine has quit [*.net *.split]
raboof has quit [*.net *.split]
ArdaXi has quit [*.net *.split]
rotaerk has quit [*.net *.split]
georges_ has quit [*.net *.split]
Czen1 has quit [*.net *.split]
dminuoso has quit [*.net *.split]
liff has quit [*.net *.split]
xacktm has quit [*.net *.split]
dustinm has quit [*.net *.split]
andersk has quit [*.net *.split]
naivesheep has quit [*.net *.split]
dontobey has quit [*.net *.split]
alanz has quit [*.net *.split]
Cheery has quit [*.net *.split]
bsima has quit [*.net *.split]
hooloovoo has quit [*.net *.split]
cqc has quit [*.net *.split]
srhb has quit [*.net *.split]
kitemikaze has quit [*.net *.split]
qyliss has quit [*.net *.split]
EsperLily has quit [*.net *.split]
sjourdois has quit [*.net *.split]
makefu has quit [*.net *.split]
Kim has quit [*.net *.split]
benley has quit [*.net *.split]
fiddlerwoaroof has quit [*.net *.split]
jasom has quit [*.net *.split]
bgupta has quit [*.net *.split]
nahamu has quit [*.net *.split]
naominitel has quit [*.net *.split]
pasukon has quit [*.net *.split]
siel has quit [*.net *.split]
earldouglas has quit [*.net *.split]
SyrupThinker has quit [*.net *.split]
duckonomy has quit [*.net *.split]
statusbot has quit [*.net *.split]
lockshaw_ has quit [*.net *.split]
adamse has quit [*.net *.split]
jbetz has quit [*.net *.split]
Guillaum has quit [*.net *.split]
torque has quit [*.net *.split]
blackriversoftwa has quit [*.net *.split]
jackdk has quit [*.net *.split]
etrepum has quit [*.net *.split]
wildsebastian has quit [*.net *.split]
tetdim has quit [*.net *.split]
inkOne_ has quit [*.net *.split]
mpickering has quit [*.net *.split]
midchildan has quit [*.net *.split]
scoates has quit [*.net *.split]
eddyb[legacy] has quit [*.net *.split]
mkaito_ has quit [*.net *.split]
lirzhv_ is now known as lirzhv
qyliss_ is now known as qyliss
drozdziak1_ is now known as drozdziak1
alanz_ is now known as alanz
xwvvvvwx- is now known as xwvvvvwx
jeregrine_ is now known as jeregrine
puckipedia is now known as puck
Syrup is now known as SyrupThinker
etrepum_ is now known as etrepum
siel has joined #nixos
midchildan_ is now known as midchildan
kitemikaze_ is now known as kitemikaze
siel has quit [Changing host]
siel has joined #nixos
adamCS_ is now known as adamCS
adamse_ is now known as adamse
pasukon_ is now known as pasukon
jbetz_ is now known as jbetz
srhb_ is now known as srhb
scoates_ is now known as scoates
bgupta_ is now known as bgupta
jackdk_ is now known as jackdk
wildsebastian_ is now known as wildsebastian
mpickering_ is now known as mpickering
raboof_ is now known as raboof
fendor has joined #nixos
grumble has joined #nixos
eddyb[legacy]_ is now known as eddyb[legacy]
markus1189 has joined #nixos
jjakob has joined #nixos
klys has joined #nixos
blackriversoftwa has joined #nixos
mniip has quit [Ping timeout: 608 seconds]
hexo has joined #nixos
disasm has joined #nixos
ericsagnes has joined #nixos
marcusr has joined #nixos
dbe has joined #nixos
mniip has joined #nixos
jasom has joined #nixos
Kim has joined #nixos
genesis has joined #nixos
octe has joined #nixos
mrlizard has joined #nixos
inf has joined #nixos
andi- has joined #nixos
naominitel has joined #nixos
makefu has joined #nixos
Yaniel has joined #nixos
simpson has joined #nixos
flokli has joined #nixos
kolbyjcrouch has quit [Read error: Connection reset by peer]
hooloovoo has joined #nixos
hooloovoo has joined #nixos
symphorien has joined #nixos
Church- has joined #nixos
Arahael has joined #nixos
benley has joined #nixos
pie_ has quit [Ping timeout: 248 seconds]
rot13 has joined #nixos
hmpffff has joined #nixos
Czen11 is now known as Czen
<lovesegfault> who's cancelling hydra jobs :P
xacktm has joined #nixos
<DigitalKiwi> dang recession
<lovesegfault> When is this going to get fast-forwarded? https://github.com/NixOS/nixpkgs-channels/tree/nixos-unstable
<lovesegfault> I know there's a delay but it's unclear to me why
<lovesegfault> (the eval was successful in trunk-combined/tested and all packages have built)
swapgs has quit [Ping timeout: 252 seconds]
veske has quit [Quit: This computer has gone to sleep]
veske has joined #nixos
vika_nezrimaya has quit [Ping timeout: 265 seconds]
hmpffff has quit [Quit: nchrrrr…]
swapgs has joined #nixos
swapgs has quit [Changing host]
swapgs has joined #nixos
kolbyjcrouch has joined #nixos
<keithy[m]> Hi, can anyone help me divine where /etc/resolve.conf domain is ultimately obtained from/set?
pie_ has joined #nixos
<keithy[m]> I did set a domain via dnsmasq.d , but this isnt getting updated on a switch, reboot required?
<lovesegfault> keithy[m]: networking.resolvconf
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8636580d6f4 (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<keithy[m]> thx, but I dont think I set that, it must be done in NetworkManager somewhere, but not sure which service that would be
<lovesegfault> keithy[m]: man configuration.nix
smatting has joined #nixos
<keithy[m]> ok, to clarify, resolve.conf has got a value in it for domain.
<keithy[m]> I didnt set one, so I am wondering how it got there
<keithy[m]> because if I change the setting in dnsmasq, it doesnt update/change
<keithy[m]> gonna reboot and see if it changes
veske has joined #nixos
vld has joined #nixos
<keithy[m]> odd, sshd isnt starting on boot
thc202 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c1ec8ba2442 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
vld has quit [Ping timeout: 268 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lovesegfault has quit [Quit: WeeChat 2.6]
seanparsons has quit [Quit: ZNC 1.7.4 - https://znc.in]
<keithy[m]> lovesegfault: thanks, found it!
seanparsons has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
ehmry_ is now known as ehmry
hyper_ch2 has quit [Remote host closed the connection]
p01ar_ is now known as p01ar
tetdim_ is now known as tetdim
lemsip is now known as emilsp
<ocharles> niksnut: are experimental features passed down through recursive Nix? From my shell, I can do `nix make-content-addressable`, but I can't seem to do that from within a Nix build (even the "outermost" Nix build)
<ocharles> My main mkDerivation call has `requiredSystemFeatures = [ "recursive-nix" "nix-command" ];`, but calling `nix make-content-addressable` produces: `error: experimental Nix feature 'nix-command' is disabled`
<ocharles> My /etc/nix/nix.conf has `system-features = benchmark big-parallel kvm nixos-test recursive-nix ca-references nix-command` and `experimental-features = recursive-nix nix-command ca-references`
<DigitalKiwi> ocharles: sorry for tangent but i was wondering if you've done/are planning more twitch zero to quake? i really liked it :D
lsix has quit [Ping timeout: 246 seconds]
<ocharles> DigitalKiwi: I'd like to at some point, but no plans yet!
<DigitalKiwi> oh ok. well you've at least one fan!
noudle has joined #nixos
<ocharles> Great to hear, thank you!
* DigitalKiwi still uses doom because of you too lol
<__monty__> Zero to quake? Implementing quake from scratch on-stream?
bahamas has quit [Ping timeout: 246 seconds]
<DigitalKiwi> (yes)
hmpffff has joined #nixos
<DigitalKiwi> on topic because uses nix! :P
rembo10 has quit [Quit: ZNC 1.7.5 - https://znc.in]
statusbot has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #75814 → gleam: init at 0.5.0 → https://git.io/Je7Vt
<{^_^}> [nixpkgs] @lheckemann merged pull request #75578 → nixos/oxidized: specify PID file in service → https://git.io/JeHzF
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/Je7Vm
rembo10 has joined #nixos
rembo10 has quit [Client Quit]
<__monty__> DigitalKiwi: Ah, cool. puffnfresh was doing something similar, implementing Sonic 2 (I think) using haskell and nix : )
<DigitalKiwi> yes <3
gxt has joined #nixos
rembo10 has joined #nixos
<DigitalKiwi> ocharles++
<{^_^}> ocharles's karma got increased to 1
<DigitalKiwi> puffnfresh++
<{^_^}> puffnfresh's karma got increased to 1
<{^_^}> [nixpkgs] @FRidh pushed to release-19.09 « python: acoustics: 0.2.2 -> 0.2.3 »: https://git.io/Je7V4
viric has joined #nixos
h0m1 has quit [Quit: WeeChat 2.6]
<keithy[m]> My sshd is not enabling is there an easy fix?
h0m1 has joined #nixos
h0m1 has quit [Client Quit]
iyzsong has joined #nixos
h0m1 has joined #nixos
<keithy[m]> ok, needed lib
<keithy[m]> nope not goodenough...
<__monty__> ,dnw
<{^_^}> Provide as much info as possible on problems. What specifically doesn't work? What command did you run? What's the error? This makes debugging easier and helps getting faster responses
o1lo01ol1o has joined #nixos
<keithy[m]> Ok I am a brand new user, have set nothing of much interest except sshd enable, but it hasnt enabled.
<keithy[m]> so essentially out of the box sshd enable doesnt appear to work
o1lo01ol1o has quit [Remote host closed the connection]
<simpson> ,sshd
<keithy[m]> a manual attempt... get an error The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
<clever> keithy[m]: did you enable ssh in configuration.nix?
<simpson> Ah, disappointing. Anyway, I'm guessing that you didn't open the port. You need to add port 22 to your firewall.
<keithy[m]> yes
<{^_^}> [nixpkgs] @adisbladis opened pull request #75815 → [19.09] python: remove _manylinux.py → https://git.io/Je7V7
<clever> keithy[m]: and if you do `systemctl status sshd` what does it report?
<clever> simpson: the ssh service in nixos opens its own port up automatically
<keithy[m]> except that sshd is listed as an exception where you dont need to open a port
<keithy[m]> it starts if I start it manually
<clever> keithy[m]: is this the installer image?
sigmundv has quit [Ping timeout: 265 seconds]
<keithy[m]> active (running)
<keithy[m]> no, its actually installed now
<clever> keithy[m]: can you pastebin the configuration.nix file?
<keithy[m]> Ill give that a go
NinjaTrappeur has quit [Quit: WeeChat 2.6]
<__monty__> keithy[m]: Maybe you want services.openssh.enable, rather than services.sshd.enable?
NinjaTrappeur has joined #nixos
ggp0647 has quit [Ping timeout: 245 seconds]
<clever> keithy[m]: and what about hardware-configuration.nix?
<keithy[m]> by the way the naming is not very logical since there is no openssh servie
<keithy[m]> untouhed...
<__monty__> keithy[m]: They're aliases of eachother anyway.
<clever> keithy[m]: can you pastebin it anyways?
<__monty__> Have you tried ssh'ing into the machine? Maybe sshd is socket-activated by default?
<clever> __monty__: it isnt
<keithy[m]> I am sshing in, but I have to manually start the demon on reboot
<__monty__> Not in the default installer, no.
hyper_ch2 has joined #nixos
<clever> keithy[m]: if you remove line 66 of configuration.nix, and try another reboot, what happens?
<clever> keithy[m]: you will also need to nixos-rebuild switch for the change to take effect
<keithy[m]> I can see how you guys get to be such good mates, you really need to lean on each other here!
lsix has joined #nixos
Anton43 has joined #nixos
<keithy[m]> you mean the line I put in to try and fix it!
<simpson> Part of it is unlearning and comfort. Gotta get used to the simpler, more declarative way of configuring the entire system at once. It takes time.
<clever> keithy[m]: wait a second, line 66 should just fail hard
<clever> keithy[m]: thats not a valid option!
<clever> keithy[m]: what happens if you run `nixos-rebuild switch` ?
<keithy[m]> manually performing systemctl enable sshd is broken too
<clever> keithy[m]: thats systemd.services.sshd, not services.sshd
veske has joined #nixos
<clever> keithy[m]: they are completely different options
hyper_ch2 has quit [Remote host closed the connection]
<clever> keithy[m]: `systemctl enable` will never work on nixos
<clever> keithy[m]: what happens if you run `nixos-rebuild switch` ?
<Anton43> I installed nix on Ubuntu this morning and my sound stopped working after a reboot; is this nix's fault? And how can I fix it?
<__monty__> Anton43: I don't see how nix would do that.
<keithy[m]> switch worked fine
<clever> keithy[m]: what does `echo $NIX_PATH` say?
<Shoubit> Anton43, unlikely because Nix doesn't deal with system-level services unless you're on NixOS
<keithy[m]> still active (running)
<keithy[m]> nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<clever> keithy[m]: and your editing /etc/nixos/configuration.nix right?
<keithy[m]> yep!
sigmundv has joined #nixos
<clever> keithy[m]: i would expect that to fail...
<clever> one min
<Anton43> __monty__ Me neither. But aplay is still detecting my soundcard while plasma isn't :(
is_null has quit [Ping timeout: 252 seconds]
<clever> Anton43: what about pavucontrol ?
<__monty__> Anton43: Did you install plasma using nix? Did you update your ubuntu system around the same time?
<Anton43> clever: Just a dummy output
<clever> Anton43: then the issue is within pulseaudio, try `pactl exit` to restart it
is_null has joined #nixos
<Anton43> __monty__ No and no
<clever> keithy[m]: what does nixos-option services.sshd.wantedBy report?
<keithy[m]> error: attribute 'wantedBy' missing
<niksnut> ocharles: try: nix --experimental-features nix-command make-content-addressable ...
<clever> keithy[m]: yep, because services.sshd.wantedBy isnt a valid option
<clever> keithy[m]: the stackoverflow said to use systemd.services.sshd.wantedBy
<__monty__> keithy[m]: Next step is to remove that and run the switch again.
<Anton43> clever: Okay, KDE shows a "Dummy output: *volume 0 sign*" message, no output from the command
<clever> keithy[m]: can you pastebin the entire output from `nixos-rebuild switch` before you remove it
<clever> Anton43: its possible something is already using the alsa device, so pulse cant use it
<niksnut> ocharles: but it's a good point, the recursive build (at least the daemon side) is currently affected by the host's experimental features which could be seen as an impurity
<__monty__> Anton43: Maybe you installed nix from the ubuntu repo and it pulled in a dependency that affects sound?
<keithy[m]> remove what, I did remove that line already
<Anton43> __monty__ I installed it from the website
<__monty__> keithy[m]: You removed the line and got an error about it?
<clever> keithy[m]: what does `nixos-option systemd.services.sshd.wantedBy` output?
<clever> __monty__: the error was trying to query it with nixos-option
<Anton43> __monty: curl https://nixos.org/nix/install | sh
<keithy[m]> Value:
<keithy[m]> [ "multi-user.target" ]
<clever> keithy[m]: then it should run on boot, one min
<__monty__> Anton43: So, you booted, installed nix, did nothing else, rebooted and sound stopped working?
<clever> keithy[m]: what does `ls -lh /run/current-system` output?
<keithy[m]> ill rebott and see where we stand
bvdw has quit [Read error: Connection reset by peer]
<clever> keithy[m]: can you show the above output, before you reboot, and after
<Anton43> __monty__: I installed Obilisk at the same time, maybe that?
bvdw has joined #nixos
Gopal-M has left #nixos ["User left"]
<keithy[m]> wish I could
<keithy[m]> it worked,... but that doesnt explain why it didnt work before.
ggp0647 has joined #nixos
<keithy[m]> /run/current-system -> /nix/store/i62rn6mgqs49h8lx8gyiqp9n2qsbp43j-nixos-system-server-19.09.1590.d85e435b7bd
hyper_ch2 has joined #nixos
<clever> keithy[m]: is this from the raspberry pi sd image?
<{^_^}> [nixpkgs] @lsix opened pull request #75816 → qgis: 3.10.0 -> 3.10.1 → https://git.io/Je7w4
<keithy[m]> no
<keithy[m]> iso
<clever> keithy[m]: it should just work then, with only enable set
<__monty__> keithy[m]: Maybe you forgot to nixos-rebuild switch before?
klntsky has quit [Ping timeout: 260 seconds]
<keithy[m]> hmmm puzzled by happy for now.
<keithy[m]> * hmmm puzzled but happy for now.
Anton43 has quit [Remote host closed the connection]
klntsky has joined #nixos
Anton43 has joined #nixos
<keithy[m]> I might have a clue, found "Failed to start Networking Setup." in the journal
<keithy[m]> so network-setup.service may not be happy
erictapen has joined #nixos
o1lo01ol1o has joined #nixos
<duairc> I have a server with an encrypted root that I have to SSH into to provide the key via initrd networking. I use networkd, which on recent nixpkgs means I have to disable networking.useDHCP. This broke my initrd networking and I've spent the best part of the last 36 hours trying to figure out why
<duairc> Firstly, it seemed that my ip= config parameter was never working in the first place and that it was always using DHCP (due to this bug: https://github.com/NixOS/nixpkgs/issues/75314)
<{^_^}> #75314 (by schmittlauch, 1 week ago, open): boot.initrd.network.enable: documentation links to wrong/outdated ip argument path
<duairc> The bit that does the DHCP, it calls udhcpc and then passes the values it gets to a script which runs ip commands to set everything up
<duairc> So I put set -x on that script and looked at dmesg after the boot to see what commands need to be run to get a successful networking setup
<duairc> Then I replaced the udhcpc script with just those bare commands, but that didn't work
ng0 has quit [Ping timeout: 260 seconds]
<duairc> After much expensive trial and error (an error costs 10 minutes because I have to reboot the server into rescue mode and log into that over VNC to do a rollback), I discovered that even if I statically run the exact same commands that udhcpc runs in its script, I don't have networking
<duairc> But if I add this command: udhcpc --quit --now -i eth0 -O staticroutes --script true, then it works.
<duairc> (true is just the "true" command, as in, it's basically a null script that exits 0)
<duairc> What on earth could udhcpc be doing that makes it work? Given that it doesn't actually change my ip configuration at all
<clever> duairc: does the script that --script points to, actually exist within the initrd env?
ng0 has joined #nixos
Anton43 has quit [Remote host closed the connection]
jonafato- has quit [Quit: ZNC - http://znc.in]
jonafato has joined #nixos
gyroninja_ has quit [Ping timeout: 265 seconds]
<duairc> I'm not certain (it's just the "true" command so I think so), but it works regardless
<ocharles> niksnut: thanks, I'll try that. Want an issue to track the possible impurities?
rardiol has joined #nixos
<duairc> My understanding is that udhcpc doesn't actually change anything, all it does is get values which it then passes to the script which does the actual ip configuration
<duairc> But it seems to be doing something in my case, even when I pass it a "null" script, because without it my server never comes up
<duairc> I've even diffed the results of `ip a` and `ip r` before and after the udhcpc command and there's no difference
<duairc> Maybe it signals something to the router?
viric has quit [Read error: Connection reset by peer]
<__monty__> duairc: Maybe it "wants" another service that actually does something?
viric has joined #nixos
gyroninja_ has joined #nixos
<duairc> __monty__: It's not a systemd service, this is all in the initrd before then. Is that what you mean?
<__monty__> Yes. Out of my depth.
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
sheenobu_ has quit [Ping timeout: 250 seconds]
sheenobu has joined #nixos
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
emily has joined #nixos
<keithy[m]> clever: just wanted to say thx
viric has quit [Read error: Connection reset by peer]
viric_ has joined #nixos
<keithy[m]> has anyone had a go with cowrie ssh honeypot?
emily has quit [Client Quit]
grahamc is now known as gchristensen
viric_ has quit [Read error: Connection reset by peer]
viric has joined #nixos
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
emily has joined #nixos
emily has quit [Client Quit]
emily has joined #nixos
viric_ has joined #nixos
viric has quit [Read error: Connection reset by peer]
orivej has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
<Ariakenom> is there somewhere I should go to find out how to set up a nix-shell, or similar, for dev?
viric_ has quit [Read error: Connection reset by peer]
hyper_ch2 has quit [Remote host closed the connection]
viric has joined #nixos
veske has joined #nixos
hyper_ch2 has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
dsg_ is now known as dsg
o1lo01ol1o has joined #nixos
<__monty__> Ariakenom: The language infrastructure sections of the nixpkgs manual are good, yes.
<__monty__> And slap lorri on the todo list to pick up once you've got a nice shell.nix set up : ) (And haskell.nix if haskell's your jam.)
viric_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<Ariakenom> __monty__: ah yes, the language section. thanks
sigmundv has quit [Ping timeout: 246 seconds]
Chiliparrot has joined #nixos
viric has quit [Ping timeout: 265 seconds]
gxt has quit [Ping timeout: 260 seconds]
gxt has joined #nixos
viric_ has quit [Read error: Connection reset by peer]
viric has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #75817 → tuir: init at 1.28.03 → https://git.io/Je7rN
jgeerds has joined #nixos
Neo-- has joined #nixos
afics has quit [Ping timeout: 246 seconds]
viric_ has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
reanimus has joined #nixos
<DigitalKiwi> what's haskell.nix
dirkx has joined #nixos
<DigitalKiwi> lorri++
timmw has joined #nixos
sigmundv has joined #nixos
viric_ has quit [Read error: Connection reset by peer]
viric has quit [Ping timeout: 252 seconds]
dirkx1 has quit [Ping timeout: 248 seconds]
viric has joined #nixos
ztrawhcse is now known as elibrokeit
<michaelpj> do other people have TMPDIR as /tmp/$USER? if so, do you know how it gets set that way? systemd user services seem to have it unset, which results in them using /tmp
<__monty__> DigitalKiwi: It's a new approach to the haskell infrastructure.
<__monty__> michaelpj: It's not set for me.
<michaelpj> hm
<__monty__> It is on a mac but to a path in /var/private
<michaelpj> this is on nixos, I'm assuming for nix-on-other-os it'll depend on the os
<gchristensen> michaelpj: maybe bash --login -x -c exit 2>&1 > startup-log then look in startup-log for TMPDIR=...
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
<michaelpj> gchristensen: nothing. It's set in the process environment for my shell (looking in /proc/PID/environ)
<michaelpj> so it's coming from outside somewhere
<michaelpj> I can't see anything in a nixos module that sets it
<gchristensen> how about adding --interactive
veske has quit [Quit: This computer has gone to sleep]
viric has quit [Read error: Connection reset by peer]
<michaelpj> gchristensen: still nothing
<michaelpj> maybe it's plasma?
viric has joined #nixos
Tucky has quit [Ping timeout: 250 seconds]
dongcarl has quit [Quit: ZNC 1.7.4 - https://znc.in]
<Ariakenom> what should I do to enable client ssh? im getting this from ssh-add
veske has joined #nixos
<Ariakenom> Could not open a connection to your authentication agent.
<gchristensen> hm perhaps so ... maybe grep your /run/current-system for TMPDIR=
<michaelpj> gchristensen: nothing
<michaelpj> very odd
<gchristensen> or probably more relevant, /run/booted-system
<michaelpj> nope
<gchristensen> you might need to ask grep to follow symlinks? fwiw though I don't even have TMPDIR set at all
viric has quit [Read error: Connection reset by peer]
viric_ has joined #nixos
<michaelpj> ah, good shout
dongcarl has joined #nixos
<michaelpj> yep, that helps, it was being set in my dotfiles but behind a symlink which was why I couldn't find it
<michaelpj> makes much more sense
<michaelpj> thanks gchristensen!
Tucky has joined #nixos
<gchristensen> you're welcome!
<DigitalKiwi> michaelpj liked one of my tweets once and it made my day
<DigitalKiwi> (it was one of the nixos art ones)
viric_ has quit [Read error: Connection reset by peer]
<DigitalKiwi> (i think)
viric has joined #nixos
<DigitalKiwi> i think i screen shot it too or at least tried to but a lot of people were liking it ;_;
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
<DigitalKiwi> ha, those aren't even the good ones! (as seen by the misalignment)
viric_ has joined #nixos
iz16 has quit [Ping timeout: 246 seconds]
<duairc> For what it's worth, I can no longer reproduce the issue I was having with initrd networking. My script now works fine without udhcpc.
viric has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #75402 → usb-modeswitch: 2.5.2 -> 2.6.0 → https://git.io/JeShG
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je7KI
<{^_^}> [nixpkgs] @marsam merged pull request #75403 → usb-modeswitch-data: 20170806 -> 20191128 → https://git.io/JeShl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je7KL
asheshambasta has quit [Ping timeout: 248 seconds]
iz16 has joined #nixos
jgeerds_ has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
betaboon has quit [Quit: ZNC - https://znc.in]
jgeerds has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #75390 → tmuxPlugins.ctrlw: 0.1.0 -> 0.1.1 → https://git.io/JeSFA
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je7K3
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
viric_ has quit [Read error: Connection reset by peer]
viric has joined #nixos
ckauhaus has joined #nixos
smatting has quit [Ping timeout: 268 seconds]
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
Rusty1 has joined #nixos
betaboon has joined #nixos
viric has quit [Read error: Connection reset by peer]
smatting has joined #nixos
betaboon has quit [Client Quit]
vld has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75391 → libminc: 2018-01-17 -> 2.4.03 and disable broken checkPhase on OSX → https://git.io/JeSFh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je7Ko
viric has joined #nixos
betaboon has joined #nixos
viric has quit [Read error: Connection reset by peer]
atriq is now known as Taneb
<{^_^}> [nixpkgs] @marsam merged pull request #75379 → randomx: 1.1.6 -> 1.1.7 → https://git.io/JeS7T
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je7K1
betaboon has quit [Client Quit]
betaboon has joined #nixos
exarkun_ is now known as exarkun
bahamas has joined #nixos
viric has joined #nixos
lorimer has joined #nixos
philr has quit [Ping timeout: 265 seconds]
<Ariakenom> is it possible to use python's virtualenv? iirc 15.17.3.6. from the manual is just broken
psyanticy has joined #nixos
<LnL> broken in what way?
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
rauno has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @adisbladis closed pull request #75815 → [19.09] python: remove _manylinux.py → https://git.io/Je7V7
<Ariakenom> LnL: errors out when runing virtualenv. complains about sys.prefix pointing to the store instead of the venv
<exarkun> Ariakenom: don't paraphrase errors
<exarkun> What command errors and copy/paste the full error
<LnL> works here
<Ariakenom> the full error was three lines and I was too lazy to gist
<Ariakenom> LnL: huh. nixos?
o1lo01ol1o has joined #nixos
<grw> Ariakenom: try `nix-shell -p python3 --run "python -m venv .venv" && source .venv/bin/activate`
<grw> works for me
viric_ has joined #nixos
<Ariakenom> grw: taht worked
viric_ has quit [Read error: Connection reset by peer]
viric has quit [Read error: Connection reset by peer]
civodul has joined #nixos
<Ariakenom> iirc I was told it didnt work when I asked months ago. interesting
<rajivr___> Where can I find the source for `nixos-rebuild` derivation?
<grw> i think problem with this way is that the venv is not registered as gcroot so the python it points to may get garbage collected
hyper_ch2 has quit [Remote host closed the connection]
<blackriversoftwa> If I have a derivation that has on `(haskellPackages.ghcWithPackages (ps: with ps; [ HaTeX ]))`in the `buildInputs`, and I go into a shell and run `ghc-pkg list`, shouldn't I see `HaTeX`?
viric has joined #nixos
hyper_ch2 has joined #nixos
<Ariakenom> grw: it doesnt work if I run the command without nix-shell --run
<Ariakenom> that seems strange
<blackriversoftwa> (My builder is using haskintex, which calls command-line ghc(i) to evaluate haskell inlined in TeX files)
<grw> Ariakenom: maybe you have python2 in your $PATH- venv module is not included in python 2
knupfer has joined #nixos
<grw> can check `which python`
<LnL> hmm yeah, try adding --pure to the shell invocation
eacameron has joined #nixos
<Ariakenom> grw: only python 3.6 in path. for some reason, I expected others
<eacameron> Is it possible to specify "NIX_PATH=nixpkgs=PATH" where PATH has a space in it??
<Ariakenom> since I have others outside the shell
<LnL> could be trying to make a python3 venv while it's a python2 shell
<LnL> aha
<LnL> Ariakenom: try virtualenv --python=python2.7 --no-setuptools venv
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
<__monty__> eacameron: Escaping the space or quoting the path doesn't help?
emacsoma1 is now known as emacsomancer
<Ariakenom> but I want a python3 vevnv
<eacameron> __monty__: quoting it doesn't help as it thinks the quotes are part of the path. It looks like escaping it might work though
fendor has quit [Ping timeout: 250 seconds]
<LnL> Ariakenom: the second line of the expression selects python2.7
<Ariakenom> LnL: the expression worked
<__monty__> eacameron: Where is this specified that it thinks the quotes are part of the path but spaces aren't? Is this a list in nix?
gustavderdrache has joined #nixos
viric has quit [Read error: Connection reset by peer]
viric_ has joined #nixos
<Ariakenom> --python=python also works
<Ariakenom> but not removing it
infinisi1 is now known as infinisil
<eacameron> __monty__: ^
<LnL> yeah, looks like virtualenv is finding the python from your system and tries to setup a venv for that
<eacameron> __monty__: Whoops I double-escaped it
<LnL> which is a bad idea
<eacameron> __monty__: Looks like this works if I remove the `\` for space
<__monty__> eacameron: Yeah, I'd expect it to.
<{^_^}> [nixpkgs] @filalex77 opened pull request #75821 → rtv: remove → https://git.io/Je76D
viric_ has quit [Ping timeout: 245 seconds]
viric has joined #nixos
bahamas has quit [Quit: leaving]
viric has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @LnL7 opened pull request #75822 → manual: specify interpreter in virtualenv shell → https://git.io/Je765
viric has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75385 → gscan2pdf: 2.5.6 -> 2.6.2 → https://git.io/JeS5D
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je76A
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
<hodapp> raaargh, my last two reboots/shutdowns have been alongside something like "Failed to talk to init daemon" to where halt/shutdown both were failing
<hodapp> can't remember if I tried 'reboot -f' or not, as I'm now reading online should be able to bypass the init system
<DigitalKiwi> hodapp: if you figure it out let me know i think i've been having the same
gxt has joined #nixos
<hodapp> DigitalKiwi: what sort of machine?
<DigitalKiwi> macbookpro11,3
<hodapp> ahh, Thinkpad T410 here
<hodapp> it looks like it happened after a suspend
<hodapp> was seeing things like: "traps: xfsm-shutdown-h[17603] general protection ip:7f8bdb778311 sp:7fff79d0dec0 error:0 in libc-2.27.so[7f8bdb718000+13d000]"
<hodapp> the first time it looked like systemd was just completely out to lunch
cosimone has joined #nixos
<DigitalKiwi> less recently i was having it take several minutes to do a shutdown/reboot, and then more recently i get kernel panics for restarting display-manager, and the same for reboot/poweroff, forcing me to hold the power button after yelling something that i should probably take a picture of
<hodapp> huh
<evils> hodapp: T410 user here, don't think i've seen that issue before
<DigitalKiwi> also had a ton of problems with wifi ~19.09 release (i'm on nixos-unstable though)
cosimone has quit [Client Quit]
viric has quit [Read error: Connection reset by peer]
<Ariakenom> if I use --system-site-packages with virtualenv, will those system packages point to the ones I installed in my shell.nix?
<evils> hodapp: wouldn't happen to know how to get tp_smapi working on this thing? and how to prevent the lid from suspending it?
viric has joined #nixos
seanparsons has quit [Ping timeout: 245 seconds]
<hodapp> didn't even know tp_smapi was a thing >_>
<hodapp> I used this laptop almost solely at a desk with a docking station
ixxie has joined #nixos
viric has quit [Read error: Connection reset by peer]
viric_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
viric_ has quit [Read error: Connection reset by peer]
viric has joined #nixos
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
mexisme has joined #nixos
viric has quit [Read error: Connection reset by peer]
nahamu_ is now known as nahamu
viric has joined #nixos
ng0_ has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
ng0 has quit [Ping timeout: 260 seconds]
mexisme has quit [Ping timeout: 246 seconds]
ng0_ is now known as ng0
hanemile5 has joined #nixos
jboy has quit [Quit: bye]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #52352 → crosvm: init at 77.0.3865.105 → https://git.io/fpNam
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/Je7PR
<{^_^}> [nixpkgs] @7c6f434c merged pull request #74862 → fetchFromGitiles: init → https://git.io/JeMiD
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/Je7PE
nsbh^ has quit []
fendor has joined #nixos
waleee-cl has joined #nixos
jboy has joined #nixos
<Ariakenom> the answer seems to be no
ixxie has quit [Ping timeout: 246 seconds]
yobj has joined #nixos
<evils> hodapp: acpi seems to have the info i want, not sure if that's dependent on tp_smapi xD
stites has joined #nixos
ixxie has joined #nixos
<stites> Hey all, I recently had a hardware failure when building a nix derivation and the sqlite.db got corrupt
<stites> the db is fried, so I'm wondering how one goes about rebuilding it
halfbit has joined #nixos
<jared-w> new fun project of mine. Setting up a dell precision 7740 with nixos + encryption. Surprisingly annoying so far
<stites> So far, I've moved the db and attempted to run nix-store --init (from https://github.com/NixOS/nix/issues/3091 ) but I just get "cannot open Nix database '/nix/var/nix/db/db.sqlite'"
<{^_^}> nix#3091 (by bhipple, 13 weeks ago, open): Rebuild sqlite db from scratch?
<jared-w> stites: I've wondered this myself; I ended up nuking everything and restarting
<jared-w> (well, my particular thing is I wanted to completely nuke the entire /nix/store and pretend like it was a clean install without actually formatting stuff)
<duairc> Is there a way of doing something like nixos-rebuild test, but like, automatically reverting after a minute unless instructed otherwise? I'm messing around with networking at the moment and every time I mess up I have to reboot my server because SSH goes down
<jared-w> duairc: there's a dry-run command of some sort; would that do it?
<stites> duairc: I use mosh, which reconnects automatically if ssh goes down (since the mosh-server is still in the background)
<duairc> stites: No, I mean, if I mess up the network configuration neither mosh nor ssh nor anything work
<duairc> jared-w: That's a bit better, but I do want to actually run it
fusion809 has joined #nixos
<stites> ah, sorry i meant "if networking services are rebooted"
<stites> but I guess it doesn't fit the bill
<duairc> I guess I mean, what's the best way to revert to a specifc configuration? As far as I know nixos-rebuild switch --rollback will switch to the previous generation, not the current one if being run inside a nixos-switch test
<duairc> Like ideally I could just do nixos-rebuild test && sleep 60 && nixos-rebuild untest
<stites> oh, also, isn't there a vm-build command for testing out nixos builds without interfering with your setup?
ixxie has quit [Ping timeout: 268 seconds]
<duairc> There is, but I don't think will be much good for testing networking because I want to test if the configuration does what I need it to do on the real network with the real network interfaces, not the virtual network
erictapen has quit [Ping timeout: 268 seconds]
m4ts_ has quit [Quit: bye]
m4ts has joined #nixos
gchristensen has quit [Ping timeout: 248 seconds]
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
{^_^} has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
gchristensen has joined #nixos
<stites> last shot: so its not possible just to nixos-rebuild build and inspect the binaries? or are you messing around with the network-stack itself instead of just networking?
<stites> jared-w: when you say "nuking everything" do you mean overwrite your OS?
viric has quit [Read error: Connection reset by peer]
<stites> or just reinstall nix on nixos?
viric has joined #nixos
<jared-w> I just remembered; nixos-rebuild is a shortcut for a few commands
<jared-w> You can do it manually and do nixos-rebuild build which will output a /nix/store/your-new-system result symlink
<jared-w> so just chroot into the result
cosimone has joined #nixos
<jared-w> (I say "just" because I haven't figured out how to nicely chrooot in nixos yet; it keeps barfing on missing /run/current-system/* stuff)
cosimone has quit [Client Quit]
codedmart_ is now known as codedmart
<jared-w> stites: essentially just reinstall nix on nixos. `rm -rf /nix && "curl install nix"` but without breaking everything
pigeonilla has joined #nixos
<DigitalKiwi> duairc: could you use a screen session nixos-rebuild switch sleep and --rollback ?
viric has quit [Read error: Connection reset by peer]
<pigeonilla> Hi, because Hydra is super slow for me I ask here: does dovecot-pigeonhole compiles for you on master? It looks like someone updated it to 0.5.8 but without checking whether it compiles.
<ivan-> what's the actual attribute
<DigitalKiwi> duairc: and alternatively. use a screen session, and nixos-rebuild test -I nixpkgs=~/test/config.nix && sleep 60 && nixos-rebuild test
<ivan-> oh dovecot_pigeonhole
<DigitalKiwi> screen or tmux if that's your poison
Profpatsch has joined #nixos
<Profpatsch> Do I have to do something special so that a systemd service is started when it’s added? I set wantedBy = [ "default.target" ];
<Profpatsch> And Restart = "always"
juxiemaotu has joined #nixos
<infinisil> Profpatsch: That should work, is it the default Type?
<ivan-> pigeonilla: /nix/store/m8ih8gw7qnd2c7p0qgv3cn4b6abkbanb-binutils-2.31.1/bin/ld: ../../src/lib-sieve/.libs/libdovecot-sieve.so: undefined reference to `mailbox_alloc_delivery'
viric has joined #nixos
<infinisil> Profpatsch: Usually people use `multi-user.target`, but that should be the same as default.target
werner291 has joined #nixos
<duairc> DigitalKiwi: ah, yes, something like that could work, thanks
<Profpatsch> infinisil: Oh, hm. AWS image, so not sure.
<juxiemaotu> i wanna to install nixos on cloud host, it need nixos image format raw/vhd/qcow2/vmdk,but nixos homepage where i only can get iso file. what shuld i do to get that format file?
<DigitalKiwi> duairc: oh and nixpkgs=~/test/config probably isn't the one you want is nixos-config=
* DigitalKiwi uses -I nixpkgs=~/mygitclone for PRs so much it's just the one I'm used to typing
<duairc> Yeah, I figured that much :)
<DigitalKiwi> ok cool :D hope that works
viric has quit [Read error: Connection reset by peer]
tsrt^ has joined #nixos
viric has joined #nixos
<duairc> DigitalKiwi++
<infinisil> gchristensen: {^_^} not present
viric has quit [Read error: Connection reset by peer]
<gchristensen> aye, network troubles in my datacenter
Sargun has joined #nixos
Sargun has quit [Changing host]
{^_^} has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « Add priority setting to stores »: https://git.io/Je71L
<Profpatsch> infinisil: Does `default.target` have to be listed in systemctl if it exists? Because I’m only seeing multi-user.target
rauno has joined #nixos
<pigeonilla> Thank you ivan- it sucks folks bump packages without even checking.
<infinisil> Profpatsch: From `man systemd.special`: "The default unit systemd starts at bootup. Usually, this should be aliased (symlinked) to multi-user.target or graphical.target"
<Profpatsch> infinisil: “usually”, “should be”
viric has joined #nixos
<stites> oh, hey, cool! zfs saves the day jared-w
<infinisil> should be graphical.target for user units, multi-user.target for systemwide
<Profpatsch> That’s the specificity I’ve come to expect from systemd :)
<infinisil> Profpatsch: The following paragraph mentions that it can be changed
<infinisil> So I think there's nothing wrong with the terms used
viric has quit [Read error: Connection reset by peer]
<stites> my first snapshot was also corrupt, but it looks like just had to roll things back a bit further (I was about to try pulling in a remote backup)
pigeonilla has quit [Remote host closed the connection]
<Profpatsch> infinisil: cool, multi-user.target seems to do the trick
<gchristensen> I'm trying to debug a crashwhich I can't easily reproduce, where the crashing program didn't have debugging symbols enabled nor separate debug symbols. is there a way to get symbols after the fact?
sigmundv has quit [Ping timeout: 245 seconds]
<infinisil> I very much doubt it
<gchristensen> me too :|
<DigitalKiwi> I was robbed of karma D:
<DigitalKiwi> tell your datacenter I am very displeased
Ariakenom has quit [Quit: WeeChat 2.6]
<gchristensen> is there a reason we don't debug symbols for everything?
<DigitalKiwi> and also it's funny everytime I'm robbed given my name :<
jaeckel has joined #nixos
<DigitalKiwi> do debug symbols bloat/slow down binaries?
Profpatsch has left #nixos ["WeeChat 0.4.3"]
orivej has quit [Ping timeout: 265 seconds]
<evils> gchristensen: would giving gdb another binary that's not stripped, and the original coredump, work?
viric has joined #nixos
<evils> DigitalKiwi: i've got a binary here of 128K, after running `strip`, it's 35K
viric has quit [Read error: Connection reset by peer]
<DigitalKiwi> that seems like a a reason people might want them stripped then heh
<evils> kicad unstripped, 84M, stripped, 2M
<DigitalKiwi> now the final test; does it crash faster stripped
<DigitalKiwi> :D
Tucky has quit [Quit: WeeChat 2.7]
* DigitalKiwi runs off to paint
chloekek has quit [Quit: WeeChat 2.6]
viric has joined #nixos
<jared-w> stites: nice! I've used btrfs for years on my old laptop and never made a single snapshot
<jared-w> Finally wised up and stopped doing that, only to realize that I picked nixos to stop using btrfs when a inode-less FS is a compelling advantage to nixos. So, bah
* jared-w flip desk
<{^_^}> [nixpkgs] @imbsky opened pull request #75824 → yarn: 1.19.2 -> 1.21.1 → https://git.io/Je71o
drakonis has joined #nixos
<stites> jarend-w: if you're every feeling like taking a leap of faith, I know that there are some services to toggle autosnappshotting for zfs (which is actually pretty pleasent to set up on nixos). : D
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
<DigitalKiwi> i recommend checking out https://github.com/a-schaefers/themelios if nothing else to get some ideas of how to setup zfs nicely
smatting has quit [Ping timeout: 248 seconds]
viric has quit [Read error: Connection reset by peer]
<DigitalKiwi> (my fork of it enabled encryption differently than adam did i think if you want to look at that too it may be up...if not out of date)
<DigitalKiwi> it saved me a *lot* of time
ixxie has joined #nixos
viric has joined #nixos
<jD91mZM2> Hi! Is there an easy way to find out why "warning: error(s) occurred while switching to the new configuration" is printed? I seem to get that after each initial `nixos-rebuild`, but then when I try again it always goes away. I don't see anything suspicious in `systemctl status`
<betaboon> could i use hydra to deploy nixops deployments? (only when all builds required for that deployment succeeded)
phreedom has quit [Remote host closed the connection]
viric has quit [Read error: Connection reset by peer]
phreedom has joined #nixos
Ariakenom has joined #nixos
<NemesisD> is it possible given a nix file and an attribute name to get a list of all dependencies, sub dependencies, and so on that go into that derivation? preferably a tree. i need upgrade a package that i don't depend on directly and i don't know what is asking for it
viric has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.6]
<pbb> NemesisD: runtime or build-time dependencies?
<{^_^}> [nixpkgs] @grahamc opened pull request #75825 → slack: add xdg_utils to the PATH → https://git.io/Je7Mf
<evils> NemesisD: could you be looking for `nix why-depends`?
justanotheruser has joined #nixos
<jared-w> stites: sounds fun. I'm trying out bcachefs because why not
mcfrank has left #nixos ["WeeChat 1.9.1"]
viric_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #69382 → dotnet-runtime{,_2}: init at 3 and 2.2.7 → https://git.io/JeGtW
<jared-w> speaking of bcachefs, linux_latest is 5.4.3 but linux_testing_bcachefs is only 5.2? Is that for a reason or?
<{^_^}> [nixpkgs] @jonringer closed pull request #69391 → dotnet-sdk: 2.2.401 -> 2.2.402 → https://git.io/JeGqc
<jared-w> normal linux_testing is 5.5-rc1 which I'd expect
tbenst_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #69392 → dotnet-sdk_3: init at 3.0.100 → https://git.io/JeGqu
rauno has quit [Ping timeout: 248 seconds]
viric_ has quit [Read error: Connection reset by peer]
dsiypl4 has joined #nixos
viric has quit [Ping timeout: 252 seconds]
jgeerds_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @WilliButz merged pull request #75519 → wt: 3.4.2 -> 3.5.0, 4.1.2 -> 4.2.0 → https://git.io/Je953
<{^_^}> [nixpkgs] @WilliButz pushed 3 commits to master: https://git.io/Je7MY
eacameron has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @jonringer merged pull request #75740 → python3Packages.jaraco_text: 3.1 -> 3.2.0 → https://git.io/JeQQN
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.jaraco_text: 3.1 -> 3.2.0 »: https://git.io/Je7MO
viric has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
viric has quit [Read error: Connection reset by peer]
Profpatsch has joined #nixos
erasmas has joined #nixos
<stites> say, what is the difference between nativebuildinputs and buildinputs again? is the former just for compile-time and the latter is for run-time?
klimi has joined #nixos
<Profpatsch> Is nix-store -qR sorted topologically?
<gchristensen> pretty sure yes
is_null has quit [Ping timeout: 265 seconds]
<betaboon> any suggestion on how to update nixops deployments following a hydra build ?
viric has joined #nixos
is_null has joined #nixos
<jD91mZM2> stites: nativeBuildInputs is for stuff that runs on the machine compiling the code (the native machine when cross-compiling), so yes compile time. buildInputs is the machine that runs the code, so yes runtime
<bennofs_> stites: seems about right. nativeBuildInputs is for things that need to be executed during build, so they need to be compiled for the same architecture that the build is performed on (this matters when cross compiling)
endformationage has joined #nixos
viric has quit [Read error: Connection reset by peer]
lukash_ is now known as lukash_|away
<klimi> Do you guys use home-manager and manage your keyboard layout there or where do you manage your layout?
viric has joined #nixos
<jared-w> klimi: if I want it managed systemwide I set it in /etc/nixos/configuration.nix; if I want it per-user I put it in home-manager
<jared-w> although root can use home-manager too, so I'll probably eventually migrate quite a bit of stuff over to home-manager
<Profpatsch> So has anybody figured out a one-liner to display the transitive sizes of all transitive dependencies of a store path, sorted topologically?
<Profpatsch> Something like ncdu, but for nix store paths
<gchristensen> sounsd cute, Profpatsch
<klimi> jared-w i just put it into home manager... then i changed it... and the configuration hasn't changed at all so i am confused. yes i switched the generation
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
<LnL> Profpatsch: what about nix path-info -rhS?
<genesis> gchristensen : the best test language for ofborg is nix isn't it ? i can start some nix hook for test some ideas and discuss later how integrate this in the bot ?
<gchristensen> genesis: w.r.t. testing Desktop files, the proper place to add this test is in Nixpkgs itself, not ofborg
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<genesis> oki, like a apps wrapper i guess
<gchristensen> yeah
<genesis> i've to write some hook i guess.
<gchristensen> exactly :)
<genesis> let have a try.
stites has quit [Remote host closed the connection]
ashkitte1 is now known as ashkitten
<jared-w> klimi: hmm... Well it's there according to this https://rycee.gitlab.io/home-manager/options.html
<jared-w> did you try rebooting?
<klimi> Yes i have tried rebooting
<jared-w> I figured. Is it set in the /etc/nixos/configuration.nix? I don't think that would overwrite it but I'm not sure; I haven't set keyboard layout in home-manager myself
<klimi> It's not set and home-manager should overwrite it
<gchristensen> IMO dmenu/etc. programs should get a different path than my user path. the yhave no business running coreutils programs, so why grant them the authority to
<gchristensen> also, we should probably get all the `.wrapped*` programs out of the PATH
gyroninja__ has joined #nixos
gyroninja_ has quit [Ping timeout: 245 seconds]
<qyliss> gchristensen: you perhaps want j4-dmenu-desktop
chloekek has joined #nixos
<duairc> This isn't NixOS specific, but I've been trying to create a bridge interface to eth0 on my server, and I've found that the only way to make it routable is by explicitly setting the bridge interface to have the same MAC address as eth0. I don't really know much about networking. Does that sound like a reasonable thing to do?
<gchristensen> seems good, though I'd favor revoke the ability for dmenu to execute the other ones :)
<drakonis> that's a fairly good argument for a permission system
<gchristensen> thanks for that tip, qyliss!
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f0614136865 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Profpatsch> LnL: That doesn’t look topologically sorted.
<Profpatsch> I’d basically like --tree but with annotated sizes.
<Profpatsch> (to see what part of the system closure uses the most space)
viric_ has joined #nixos
viric has quit [Read error: Connection reset by peer]
viric_ has quit [Read error: Connection reset by peer]
civodul has quit [Ping timeout: 248 seconds]
<LnL> isn't it implicitly reverse topological sort?
<Profpatsch> LnL: Well, I was talking about nix-store -qR :)
<Profpatsch> nix path-info doesn’t look like it’s sorted in any particular way.
<LnL> --export is sorted, but that's probably a bit awkward to get information out of :)
drakonis1 has joined #nixos
viric has joined #nixos
chloekek has quit [Ping timeout: 246 seconds]
drakonis has quit [Ping timeout: 246 seconds]
chloekek has joined #nixos
dirkx_ has joined #nixos
viric has quit [Ping timeout: 245 seconds]
viric has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d40f024a3ba (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
viric has quit [Read error: Connection reset by peer]
genesis has quit [Remote host closed the connection]
viric has joined #nixos
klimi has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @cust0dian opened pull request #75826 → restic: 0.9.5 -> 0.9.6 → https://git.io/Je7Dz
genesis has joined #nixos
knupfer1 has joined #nixos
equivrel has joined #nixos
viric has quit [Read error: Connection reset by peer]
knupfer has quit [Ping timeout: 248 seconds]
knupfer1 is now known as knupfer
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6eff44f9fb5 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
viric has joined #nixos
<equivrel> did builtins.fetchgitPrivate disappear in a recent update?
atlas_ is now known as atlvs
<gchristensen> fetchgitPRivate was never a builtin, you should just use builtins.fetchgit
atlvs is now known as atlas_
<equivrel> gchristensen: ah, I see
tdeo_ has quit [Quit: Quit]
tdeo has joined #nixos
tdeo has quit [Changing host]
tdeo has joined #nixos
<NoctisLabs> A package is failing to compile and stopping an upgrade, how can I keep the current working version of that package and still upgrade? (Usually I would just remove the broken package but this one is important to me)
mexisme has joined #nixos
halfbit has quit [Ping timeout: 252 seconds]
viric_ has joined #nixos
viric has quit [Ping timeout: 252 seconds]
viric_ has quit [Read error: Connection reset by peer]
viric has joined #nixos
<{^_^}> [nixpkgs] @stites opened pull request #75827 → pytorch: 1.2.0 -> 1.3.1 → https://git.io/Je7Db
juxiemaotu has quit [Ping timeout: 265 seconds]
tsrt^ has quit [Ping timeout: 246 seconds]
juxiemaotu has joined #nixos
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
<equivrel> will specifying all of rev, ref, sha256 in builtins.fetchGit help with not redownloading something that has already been fetched?
mexisme has quit [Ping timeout: 268 seconds]
<jared-w> NoctisLabs: I think overriding with a pinned version is the most straightforward? Idk what "allowBroken" does but that might also solve your problem
halfbit has joined #nixos
<infinisil> ,unstable NoctisLabs
dbmikus has joined #nixos
<infinisil> Very similar to this ^
viric_ has joined #nixos
<infinisil> jared-w: allowBroken is only for packages that are explicitly marked as broken with `meta.broken = true`, which would throw an error pointing this out when somebody tries to build it
<infinisil> (but it would try to build it anyways with `allowBroken = true`)
viric has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Lassulus opened pull request #75828 → bitcoin-abc: 0.20.7 -> 0.20.8 → https://git.io/Je7yv
Maxdaman1us has joined #nixos
Maxdamantus has quit [Ping timeout: 252 seconds]
viric_ has quit [Read error: Connection reset by peer]
<jared-w> infinisil: that's what I thought, but I wasn't sure
<lassulus> is repology down?
juxiemaotu has quit [Quit: WeeChat 2.4]
viric has joined #nixos
cosimone has joined #nixos
<genesis> yes lassulus :D
<lassulus> so sad
<lassulus> how to update packages now?
tbenst_ has quit [Ping timeout: 252 seconds]
[Leary] has joined #nixos
tbenst_ has joined #nixos
Lears has quit [Ping timeout: 245 seconds]
vld has quit [Ping timeout: 265 seconds]
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
vld has joined #nixos
evanjs has joined #nixos
andreas303 has quit [Remote host closed the connection]
dirkx_ has quit [Quit: dirkx_]
juxiemaotu has joined #nixos
<juxiemaotu> how can i use python on nixos, it is read-only filesystem can not install anything
earldoug1as is now known as earldouglas
vld has quit [Ping timeout: 252 seconds]
andreas303 has joined #nixos
vld has joined #nixos
<waleee-cl> juxiemaotu: I guess you're trying to install globally with pip? Try pip install --user PACKAGE_NAME and it will probably
<betaboon> juxiemaotu: can you give some more context about what you're trying to acchieve ?
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
<waleee-cl> juxiemaotu: there's also nix-"infrastructure" with python that you can use
<waleee-cl> * ... and it will probably work
<juxiemaotu> i download a package from github, use command python setup.py install, it prompt readonly filesystem
<waleee-cl> juxiemaotu: use pip install --user git+https://github.com/REPO.git
evanjs has joined #nixos
orivej has joined #nixos
<juxiemaotu> Read-only file system: '/nix/store/mw636p9yg8ba8mmvrgiw1x1mda69pyws-python-2.7.17/lib/python2.7/site-p
<juxiemaotu> ackages/test-easy-install-2072.write-test'yt
<rembo10> I just updated to the latest nixos-unstable and I'm having some trouble with libvirt. I'm getting this 'Failed to initialize a valid firewall backend' error. I looked through the latest commits and couldn't really pinpoint what may have changed. I found some info relating to this, that installing ebtables and dnsmasq seem to fix this - but I saw that libvirt already pulls those packages in, so I'm not
<evanjs> How might I copy out all libraries from an arbitrary drv in an installPhase? e.g. `cp "${pkgs.libwebsockets}/lib/*so*" $out/runtime/x86_64/debug/lib`
<rembo10> really sure what's going on
<waleee-cl> juxiemaotu: if you used the last I wrote?
<evanjs> But that isn't working
<betaboon> evanjs: shouldnt that be `*.so` ?
<waleee-cl> some libs have the pesky standard of putting version numbers after .so, eg *.so.6
<evanjs> betaboon: yah that’s what I tried initially but no worky still
<evanjs> waleee-cl: yah I was trying to account for all those. And libwebsockets is definitely one of those libraries
<juxiemaotu> waleee-cl: when use pip3 it work, but pip cannot
wildtrees has joined #nixos
tbenst_ has quit [Ping timeout: 268 seconds]
<waleee-cl> juxiemaotu: Do you have pip2 installed?
<juxiemaotu> waleee-cl: i have pip2 and pip3
<waleee-cl> juxiemaotu: ok, that may be one of the things they added in pip3
<{^_^}> [nixpkgs] @risicle opened pull request #75829 → dpdk: 17.11.2 -> 17.11.9, addressing CVE-2019-14818 → https://git.io/Je7yP
<waleee-cl> then I'd guess you would need to manually edit the setup.py file to get it to use local paths
<betaboon> evanjs: that should work. can you share your complete expression ?
<waleee-cl> * ie $HOME/.local
<juxiemaotu> waleee-cl: sometime i use pip3 ,it also wrong with prompt:
<juxiemaotu> waleee-cl: ModuleNotFoundError: No module named 'setuptools'
<evanjs> betaboon: sure -- https://pastebin.com/jbWpQGKp
<waleee-cl> juxiemaotu: I do not have access to a nixos system right now so I'm a bit limited in the troubleshooting
<waleee-cl> juxiemaotu: have you read this section of the manual? https://nixos.org/nixpkgs/manual/#python
<evanjs> Basically I'm just trying to copy over lws libs when sensor_tester is enabled (target is a gentoo system that might or might not have the req libs, so put them in the lib folder we place our other libs for the app in)
<waleee-cl> juxiemaotu: python3X.withPackages is what I use instead of using pip manually
<juxiemaotu> i had try to solve prombles about python used in nixos on manual,but less improve
<evanjs> man I'm excited about getting this to a nixops or similar-managed system someday
the_pumpkin_man[ has joined #nixos
<juxiemaotu> ok , i will try about python3x follow you , help it work well
<waleee-cl> juxiemaotu: substitute the 'x' with the minor version(s) in the nixpkgs repo atm
<evanjs> I could probably explicitly copy the libs... but I'd rather glob if possible
<juxiemaotu> waleee-cl: any example?
<juxiemaotu> waleee-cl: about how to use your method in nixos
<the_pumpkin_man[> (sorry for the spam, Im also new to IRC and dont know if there are spoilers)
nuncanada has joined #nixos
<evanjs> the_pumpkin_man[: don't worry about that, it cuts off long messages and gives us links to the full messages via matrix
<the_pumpkin_man[> Ok
<evanjs> the_pumpkin_man[: of course, often times, pastebin or etc is preferrable for longer code snippets or whatever. at least compared to screenshots and etc :P
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bc3fade573c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<the_pumpkin_man[> Yeah you're right
<juxiemaotu> waleee-cl: for example, i wanna install python-language-server on my nixos machine, what should i do
<waleee-cl> juxiemaotu: I had apparently changed it in my configuration.nix to python3Full at some point, but otherwise, in eg. environment.systemPackages , pkgs.python37.withPackages (ps: with ps; [ numpy ]) should give you a python3.7 with numpy
<waleee-cl> juxiemaotu: add python-language-server in the [ ... ] and you should probably be peachy. (Although it looked like it might not be available for python3 in nixos-19.09)
<waleee-cl> oh, it was
<juxiemaotu> waleee-cl: you mean ,add it in configuration.nix in environment.systemPackages use pkgs.python37.xxxx, and then run nixos-rebuild ? do this when i need a python moudle?
<waleee-cl> or use a nix-shell if you only want it temporary
<waleee-cl> or in a default.nix if you want to use nix build
erictapen has joined #nixos
* waleee-cl or in ~/.config/nixpkgs/config.nix (the python manua
* waleee-cl or in ~/.config/nixpkgs/config.nix (the python manua
<waleee-cl> * or in ~/.config/nixpkgs/config.nix if you want to define a python package that you can install using nix-env -iA myPythonEnvironment
<waleee-cl> the manual section on python lists multiple ways
nornagon2 is now known as nornagon
<betaboon> evanjs: remove the quotes around `${pkgs.libwebsockets}/.....`
<evanjs> omg...
<betaboon> evanjs: and btw in the cases where you use `if sensor_tester == true ...` you could use `pkgs.lib.optional` `optionals` and `optionalString`
<evanjs> betaboon: totally forgot about optional(s) yeah, thank you
<evanjs> Is there a section in the manual or wherever that details that functionality between e.g. "${}" and ${}?
<evanjs> I'd assume it's basically just path vs a string?
<juxiemaotu> waleee-cl: thank you , i got it.
<betaboon> evanjs: that doesnt have anything to do with nix. thats how bash globs work
<betaboon> evanjs: globbing doesnt work in quoted strings
<betaboon> evanjs: in your installPhase you could use `mkdir -p $out/{lib,bin}` also XD
<evanjs> betaboon: derp. Yeah just normal shell globbing
<dooms> betaboon: nice
<evanjs> betaboon: right right, don't worry this has some heavy refactoring in store anyway
<evanjs> dooms knows haha
werner292 has joined #nixos
<betaboon> evanjs: no shame there. sometimes happens to me to. its like forgetting a semicolon. you just dont notice because everything surrounding that stupid mistake is so complicated xD
domogled has joined #nixos
Neo-- has quit [Ping timeout: 248 seconds]
demize has quit [Quit: Do Androids Dream of Electric Sheep?]
<evanjs> betaboon: can't help when python and especially TS is used at work, either. One doesn't need semicolons... the other sometimes needs them, but sometimes doesn't (care)...
werner291 has quit [Ping timeout: 268 seconds]
werner292 is now known as werner291
<betaboon> evanjs: yeah thats what you get from jumping between multiple languages xD
demize has joined #nixos
<evanjs> betaboon: yep. Can't do anything about it. Almost as bad as going from Rust to other languages (at the very least, in terms of linting/error messages)
<sshow> Trying to setup a wireguard server. Unit-script fails with "fopen: No such file or directory". Any experience with this error?
imdoor has joined #nixos
zeta_0 has joined #nixos
<sshow> I am running a custom kernel (latest_hardened), but it does not seem to make a difference whether I include the wireguard kernel module explicitly or not
thc202 has quit [Ping timeout: 248 seconds]
<zeta_0> sorry for being a little off topic, but i installed the nix package: `protonvpn-cli`, and when i try to initialize, it prompts me for a OpenVPN username and password? do i need to use the my username of and password that i use to sign into the protonvpn website, or do i need to create a OpenVPN account?
<sshow> the private key did not exist. Way to go debugging :D
<zeta_0> does anyone here use protonvpn?
dsiypl4 has quit [Quit: Leaving]
cosimone has quit [Quit: Terminated!]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
asheshambasta has joined #nixos
<{^_^}> [nixpkgs] @erictapen opened pull request #75830 → dovecot_pigeonhole: 0.5.8 -> 0.5.9 → https://git.io/Je79T
<{^_^}> [nixpkgs] @Mic92 merged pull request #75829 → [r19.09] dpdk: 17.11.2 -> 17.11.9, addressing CVE-2019-14818 → https://git.io/Je7yP
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-19.09: https://git.io/Je79t
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je79q
<{^_^}> [nixpkgs] @matthewbauer merged pull request #75621 → kubernetes-helm: Add shell completion → https://git.io/JeHpp
<{^_^}> [nixpkgs] @matthewbauer merged pull request #75788 → cups-dymo: fix build → https://git.io/Je7YO
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je79c
<{^_^}> [nixpkgs] @matthewbauer merged pull request #74860 → minijail: install .pc files and scoped_minijail.h → https://git.io/JeMiw
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je794
psyanticy has quit [Quit: Connection closed for inactivity]
MightyJoe has joined #nixos
<{^_^}> [nixpkgs] @pasqui23 opened pull request #75832 → nodePackages.dat :init at 13.13.1 → https://git.io/Je79H
cmacrae has joined #nixos
cyraxjoe has quit [Ping timeout: 248 seconds]
<cmacrae> Hee people! o/ I'm getting "attempt to call something which is not a function but a set" on something I've built out. I'm pretty fresh on modules, so I must be doing something silly. I could really use a hand working it out. I've chucked up an example NixOps structure here: https://git.io/Je79Q
<cmacrae> Any help is greatly appreciated! I mustn't be using 'options' and 'config' correctly :(
mexisme has joined #nixos
<erictapen> cmacrae: hey, with the redacted lines the error message with the line number is pretty much useless. could you tell which line corresponds to line 61 in some-module.nix?
cosimone has joined #nixos
<cmacrae> erictapen: Hello! Yeah that's fair enough - perhaps I should just share the real code
<infinisil> cmacrae: Some comments: For modules, always use `{ pkgs, lib, ... }` with all the arguments you need, instead of not using "...". You can't use `//` to merge configs, you need mkMerge instead. Usually it's `import <nixpkgs> {}` not <nixos>
<cmacrae> Thank you!
<jared-w> yeah, go for it; if you're concerned about it, using a private gist and then deleting it after you get help is pretty safe as far as things go. Technically this server's chat history is logged publicly but people won't be able to view the gist after it's deleted so
<infinisil> jared-w: Anything ever on the internet should be assumed to not be secret anymore
<exarkun> that is weird advice, yea
<exarkun> maybe it's fine but it depends what's being kept secret and why
<jared-w> infinisil: true, but if they redacted something and then were fine with making it public it probably wasn't something that was _super_ secret, so I don't think it was that out of line
<exarkun> the best case, anyway, is to create a self-contained, complete, minimal example that reproduces the problem
<infinisil> ^^
<cmacrae> Thanks for the advice so far guys - it's nothing super secret! Just my home network config I'm in the middle of building out :)
<cmacrae> Let me just fix stuff up with the advice so far, then I'll share
dirkx_ has joined #nixos
philr has joined #nixos
iqubic has joined #nixos
<iqubic> I'd like to delete all of my zfs snapshots, if possible.
<iqubic> How would I go about doing that?
<infinisil> iqubic: Doesn't sound Nix specific, I can answer in #zfsonlinux
<jared-w> I am both unsurprised that #zfsonlinux is a thing and that you're in it, infinisil :p
<infinisil> jared-w: Only there when I need to, so I just joined now for this :)
<jared-w> nice
<jared-w> hmm. Really hoping my laptop is finally stable. I've been reinstalling nixos on it for like 12 hours now and it's getting ridiculous
<jared-w> I think I've finally gotten it to realize I'm more stubborn than it and now it's slowly cooperating
<cmacrae> Oh! I think the call to mkMerge instead of using // worked :D I've got some other problem now, but it looks like Python (so, NixOps)
<cmacrae>
lovesegfault has joined #nixos
<cmacrae> Thanks for the pointers infinisil++
<{^_^}> infinisil's karma got increased to 169
<infinisil> Nice :)
asheshambasta has quit [Ping timeout: 246 seconds]
iqubic has quit [Remote host closed the connection]
<jared-w> yehhh it rebooted twice in a row. #success
<infinisil> jared-w: What was the problem?
<jared-w> It's a dell precision 7740 and I needed an encrypted hard drive. I don't think the encryption was the problem, but it certainly wasn't terribly happy about the GPU it seems like
<jared-w> infinisil: _still_ can't get it to recognize any plugged in monitors though, ugh
<infinisil> jared-w: Do they not show up in xrandr?
dirkx_ has quit [Quit: dirkx_]
CMCDragonkai has quit [Quit: Connection closed for inactivity]
<jared-w> infinisil: I've blacklisted i915 (intel iGPU) and set "amdgpu" to the boot.initrd.kernelModules so that it's there
<jared-w> xrandr only shows one monitor (the internal laptop monitor)
<jared-w> xrandr --listproviders shows two providers, and lspci | grep VGA shows an intel device and the AMD dGPU
dirkx_ has joined #nixos
<jared-w> so blacklisting the i915 doesn't seem to actually be blacklisting it...
selfsymmetric-pa has joined #nixos
<selfsymmetric-pa> Hi! What does `sw` stand for in `/run/current-system/sw/`?
<Yaniel> software?
<simpson> switched?
<Yaniel> or system-wide
<selfsymmetric-pa> ah, shame, I thought it was "scotch whisky"
<jared-w> superrifically wonderful?
<selfsymmetric-pa> Secretary of War?
<jared-w> "ah, that bash, what a superrifically wonderful piece of software"
<selfsymmetric-pa> that's why we don't put it in the /bin/ like everyone else
<selfsymmetric-pa> it deserves better
o1lo01ol_ has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
selfsymmetric-pa has quit [Remote host closed the connection]
selfsymmetric-pa has joined #nixos
o1lo01ol_ has quit [Remote host closed the connection]
ivan- is now known as ivan
lordcirth has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @grahamc merged pull request #75781 → dockertools.buildLayeredImage: remove implementation detail layers → https://git.io/Je7qz
<{^_^}> [nixpkgs] @grahamc pushed 5 commits to master: https://git.io/Je7Qc
v0|d has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @grahamc merged pull request #75825 → slack: add xdg_utils to the PATH → https://git.io/Je7Mf
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/Je7QC
selfsymmetric-pa has quit [Remote host closed the connection]
selfsymmetric-pa has joined #nixos
v0|d has joined #nixos
o1lo01ol1o has joined #nixos
<infinisil> Yaniel: Oh system-wide sounds nice, I always thought of it as "software"
<infinisil> Hmm
<infinisil> Though "software" makes more sense I think
<infinisil> Or not
lovesegfault has quit [Ping timeout: 265 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
selfsymmetric-pa has joined #nixos
<kraem> is the nix daemon building packages in parallel by default?
lopsided98_ has quit [Remote host closed the connection]
<gchristensen> yes
o1lo01ol1o has quit [Ping timeout: 252 seconds]
lopsided98 has joined #nixos
<kraem> any way i can figure out which package is failing to build with that option on? or would i disable that feature somehow to see what build is failing?
<gchristensen> oh an individual package in parallel?
o1lo01ol1o has joined #nixos
<gchristensen> `nix show-config | grep cores` will tell you. 0 means all cores, N means N cores
<tilpner_> kraem: I sometimes add -j1 to keep it from building things in parallel
<infinisil> kraem: I usually do --max-jobs=1 to deug
knupfer has quit [Ping timeout: 248 seconds]
<infinisil> Hehe, three answers, three different names for parallelism, cores, j and max-jobs
<gchristensen> I'm pretty sure max-jobs and -j isn't the thing kraem is asking about
<infinisil> I'm pretty sure it is
<gchristensen> why would building 2 packages independently cause one to fail?
<kraem> gchristensen: actually it is :)
<kraem> thanks!
<tilpner_> gchristensen: It doesn't, it's just easier to tell if output is not interleaved
<gchristensen> then I must know the answer to my question! this is a very serious concern!
<gchristensen> ooh I see, the problem of output
<gchristensen> kraem: usually I'll run the build with --keep-going, and then a second time with -j1
tilpner_ is now known as tilpner
<gchristensen> otherwise you might end up building a ton of packages in the build graph before getting to the one which failed
<kraem> yeah it was hard telling from the logs which one was failing. but i figured it out. it was idea-ultimate :)
<kraem> ok i'll check that out, thanks :)
<{^_^}> [nixpkgs] @petabyteboy opened pull request #75833 → gitlab: 12.5.4 -> 12.5.5 → https://git.io/Je7QV
<kraem> gchristensen: --keep-going seems super useful
noudle has quit []
knupfer has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #75702 → allowInsecureDefaultPredicate: fix to use getName → https://git.io/JeQia
<{^_^}> [nixpkgs] @talyz opened pull request #75834 → gitlab: 12.5.4 -> 12.5.5 → https://git.io/Je7QX
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je7Q1
voidcontext has joined #nixos
grumble has quit [Quit: 'tis the season to watch a nice wholesome christmas movie, like die hard for example]
o1lo01ol1o has joined #nixos
gurmble has joined #nixos
gurmble is now known as grumble
<kraem> another question: why isn't allowUnfree propagated when i import the unstable channel like this: https://bpaste.net/show/WFXTM ?
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<kraem> the allowUnfree option is set in another module/config which also is imported in my nixconfig
thc202 has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<tilpner> kraem: You're calling nixpkgs with an empty config
<tilpner> The module doesn't know about other nixpkgs versions you import behind its back
<kraem> i thought line 1 imported it with 'config'? how would i propagate it to the module?
G-Rald has joined #nixos
<tilpner> That's a different config, and even if it was the same config, you're not passing it while importing unstable
<tilpner> My nixpkgs setup is too different from default, but I guess you can try this and see if it inf-recs
<tilpner> Call it with { inherit (config.nixpkgs) config; }
chatmaster5000[m has joined #nixos
<tilpner> (It should be fine)
evhan has quit [Ping timeout: 252 seconds]
tom39291 has quit [Ping timeout: 245 seconds]
puffnfresh has quit [Ping timeout: 248 seconds]
<kraem> thanks, it worked. i really need to keep on working on learning fp to grokk all of this
imdoor has quit [Quit: imdoor]
leotaku has joined #nixos
drakonis1 has quit [Ping timeout: 265 seconds]
bt` has joined #nixos
LLED2_2 has quit [Remote host closed the connection]
LLED2_2 has joined #nixos
dirkx_ has quit [Quit: dirkx_]
viric_ has joined #nixos
chiefgoat_ has quit [Remote host closed the connection]
viric has quit [Read error: Connection reset by peer]
Ariakenom has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
chiefgoat has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
tom39291 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/529cd9020f0 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
evhan has joined #nixos
chloekek has quit [Ping timeout: 268 seconds]
puffnfresh has joined #nixos
bt` has left #nixos ["ERC (IRC client for Emacs 26.3)"]
mexisme has quit [Ping timeout: 265 seconds]
viric_ is now known as viric
G-Rald has quit [Quit: This computer has gone to sleep]
erasmas has quit [Quit: leaving]
G-Rald has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy closed pull request #75833 → gitlab: 12.5.4 -> 12.5.5 → https://git.io/Je7QV
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/004b8a197fc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
captn3m0 has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
cmacrae has quit [Ping timeout: 268 seconds]
viric has left #nixos [#nixos]
G-Rald has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @petabyteboy opened pull request #75839 → dovecot_pigeonhole: 0.5.8 -> 0.5.9 → https://git.io/Je75B
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #75840 → add uberwriter (and update pypandoc to unstable) → https://git.io/Je75a
<{^_^}> [nixpkgs] @lilyball opened pull request #75841 → cocoapods-beta: 1.9.0.beta.1 -> 1.9.0.beta.2 → https://git.io/Je75w
philr has quit [Ping timeout: 252 seconds]
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.29.0 -> 1.29.1 »: https://git.io/Je759
knupfer has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #75842 → [19.09] signal-desktop: 1.29.0 -> 1.29.1 (backport) → https://git.io/Je75F
LLED2_2 has quit [Remote host closed the connection]
LLED2_2 has joined #nixos
cosimone has quit [Quit: Quit.]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
vld has quit [Ping timeout: 252 seconds]
kraem has quit [Quit: outta here]
ixxie has quit [Ping timeout: 268 seconds]
pbb has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
karetsu has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/004b8a197fc (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
o1lo01ol1o has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
EdLin has joined #nixos
swapgs has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 248 seconds]
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
fenedor has quit [Quit: Leaving]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @jbedo opened pull request #75843 → Lumpy, sambamba, and samblaster → https://git.io/Je7d6
lovesegfault has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
eacameron has joined #nixos
<eacameron> I'm running nix on a fedora docker container. I keep running into errors like this:
<eacameron> unpacking sources
<eacameron> building '/nix/store/8ayk7m6jaavcq9hqjn0yfv4g58dpmjk3-all-cabal-hashes-component-gi-gio-2.0.24.drv'...
<eacameron> [me@f73a686fb3be tmp]$ nix-shell -A shells.ghc
<eacameron> variable $src or $srcs should point to the source
<eacameron> cannot build derivation '/nix/store/hwr6np8glyrf783w98qmlr91a6jb12nd-cabal2nix-gi-gio-2.0.24.drv': 1 dependencies couldn't be buil
<eacameron> builder for '/nix/store/8ayk7m6jaavcq9hqjn0yfv4g58dpmjk3-all-cabal-hashes-component-gi-gio-2.0.24.drv' failed with exit code 1
<eacameron> This same expr works fine on NixOS
bvdw has quit [Read error: Connection reset by peer]
<qyliss> Does nix-build /nix/store/8ayk7m6jaavcq9hqjn0yfv4g58dpmjk3-all-cabal-hashes-component-gi-gio-2.0.24.drv work on NixOS?
orivej has joined #nixos
Rusty1 has quit [Remote host closed the connection]
<eacameron> qyliss: It's already in my cache
bvdw has joined #nixos
<eacameron> nix-build /nix/store/8ayk7m6jaavcq9hqjn0yfv4g58dpmjk3-all-cabal-hashes-component-gi-gio-2.0.24.drv
<eacameron> /nix/store/76lzbn5r89yqx7w1ybrrxjawqixm9qzy-all-cabal-hashes-component-gi-gio-2.0.24
<qyliss> And if you run that on fedora do you get the message posted above?
<eacameron> qyliss: yeah
<qyliss> wow that's weird
<qyliss> Using any unusual filesystem stuff?
<clever> eacameron: one minute
<eacameron> The nix install felt a little wonky. I had to manually create /nix and chown it. I also had to manually create /build and chown it.
<{^_^}> [nixpkgs] @primeos merged pull request #75842 → [19.09] signal-desktop: 1.29.0 -> 1.29.1 (backport) → https://git.io/Je75F
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.09: https://git.io/Je7d7
<clever> ive seen this bug before
<clever> eacameron: yep, /build being created is a sign of this bug, you should never have to do that
<eacameron> clever: I wondered....
<clever> eacameron: short term, --option sandbox false
<clever> mid-term, add `sandbox = false` to nix.conf
<{^_^}> nix#3142 (by cleverca22, 9 weeks ago, open): NIX_BUILD_TOP not set correctly outside of nixos
<eacameron> clever: dang... adding that to nix-conf and now it's building
<clever> it no longer needs /build
<eacameron> Yes I deleted that too
<eacameron> clever: Does this fix it then? https://github.com/NixOS/nix/issues/3142
<{^_^}> nix#3142 (by cleverca22, 9 weeks ago, open): NIX_BUILD_TOP not set correctly outside of nixos
<clever> there is a PR near the bottom, that fixes it
<clever> but its not hit nixpkgs yet
<eacameron> I think that's the PR...
<eacameron> Looks like it's merged
<{^_^}> nix#3144 (by matthewbauer, 9 weeks ago, merged): Fix sandbox fallback settings
<eacameron> Heh that's what I meant to paste sorry.
gustavderdrache has left #nixos [#nixos]
sjkelly1 has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #75845 → fsv: fix build with gettext 0.20 → https://git.io/Je7FU
Rusty1 has joined #nixos
<eacameron> clever: Thanks very much. I'd have been pulling my hair out
o1lo01ol1o has quit [Remote host closed the connection]
<clever> thats what i was doing when i found this in docker :P
<eacameron> 😭
cmacrae has joined #nixos
cmacrae has quit [Remote host closed the connection]
<lovesegfault> worldofpeace, jtojnar: https://github.com/NixOS/nixpkgs/issues/75844
<{^_^}> #75844 (by lovesegfault, 16 minutes ago, open): lollypop broken with `Namespace Gtk not available`
<lovesegfault> Y'all broke my music player! :P
<lovesegfault> clever: Thanks for showing me how to bisect ^
<clever> lovesegfault: and with nixpkgs, you can bisect your whole damn os, like, nixos-rebuild boot && reboot, to narrow down problems! lol
<lovesegfault> clever: That's nuts :P
<clever> try doing that on another distro :P
<lovesegfault> Given a commit abcde how can I quickly see its diff?
reanimus has quit [Ping timeout: 245 seconds]
<clever> lovesegfault: `git show abcde`
<lovesegfault> Sweet
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #75846 → kpat: init at 19.12.0 → https://git.io/Je7Fs
reanimus has joined #nixos
<jtojnar> lovesegfault python setup hook is broken :-D
<lovesegfault> jtojnar: :O
<lovesegfault> I'm amazed no test caught this
<jtojnar> well we do not have any tests for running most apps
<lovesegfault> jtojnar: Has it been fixed in master already?
* lovesegfault tries
<lovesegfault> has not
<jtojnar> sorry, do not really have time for nixpkgs until next week
<lovesegfault> jtojnar: No worries, if you point me in the right direction I can fix it
<lovesegfault> Or I can wait for worldofpeace
<{^_^}> [nixpkgs] @andersk opened pull request #75847 → lxc: Fix lxc-usernet(5) man page reference in documentation → https://git.io/Je7F4
gustavderdrache has joined #nixos
<jtojnar> lovesegfault see the linked comment
<{^_^}> [nixpkgs] @veprbl merged pull request #75845 → fsv: fix build with gettext 0.20 → https://git.io/Je7FU
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/Je7FR
mexisme_ has joined #nixos
<lovesegfault> jtojnar: testing
mexisme has quit [Ping timeout: 265 seconds]
<jtojnar> lovesegfault not sure about the exact bash syntax
<lovesegfault> jtojnar: Yeah, it's still broken
<lovesegfault> I'm fiddling
<genesis> is there some tricks to avoid nix-env rebuild the entire store when modifying some pkgs/stdenv/generic/default.nix derivation ?
<jtojnar> dropping `local -a` should work, but then it will not be a local variable
<lovesegfault> jtojnar: Even without local -a it doesn't work
<lovesegfault> same error
<jtojnar> I would try dumping the variable, not sure if there is a better way than echo in bash
<lovesegfault> `makeWrapperArgs=--prefix GIO_EXTRA_MODULES : /nix/store/7chnc99fmzdbhhv2iddf4lg5yrjavd8h-dconf-0.34.0-lib/lib/gio/modules --prefix GIO_EXTRA_MODULES : /nix/store/7chnc99fmzdbhhv2iddf4lg5yrjavd8h-dconf-0.34.0-lib/lib/gio/modules`
<lovesegfault> looks about right
<lovesegfault> (dumped with echo
simpson has left #nixos ["WeeChat 1.0.1"]
magneticduck has quit [Remote host closed the connection]