sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/7413c884f05 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
mexisme has quit [Ping timeout: 258 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
jasongrossman has quit [Remote host closed the connection]
frem has quit [Quit: Connection closed for inactivity]
zeta has joined #nixos
<zeta> i have the git gpg signing key setup in home.nix, but it is in plain sight, is there a way to hide it, for example with asterisks "*****************"
<gchristensen> your private key?
<zeta> yes
<gchristensen> you should not manage your private keys (or other secret data) with Nix
hamishmack has quit [Read error: Connection reset by peer]
<gchristensen> because they will go in to the Nix store and become world readable
<zeta> am i supposed to sign with my public key instead in the git options in home.nix
<gchristensen> are you trying to set your user.signingkey?
<zeta> programs.git.signing.key
goibhniu has quit [Ping timeout: 248 seconds]
<gchristensen> that is almost certainly asking for the public key *id*
<gchristensen> for example, mine is set to "FE918C3A98C1030F"
ris has quit [Ping timeout: 246 seconds]
kreisys has joined #nixos
<zeta> thank goodness you told me this, i have not rebooted nixos, so it should be fine right ?
<gchristensen> I don't know how home-manager works, so I'm not entirely certain -- but if you've run any home-manager related commands you probably haven't put the private key in the Nix store
<infinisil> s/haven't/have?
<gchristensen> right
<gchristensen> thanks, infinisil
<zeta> wheew
<zeta> good thing i double checked, what could a hacker do if he had my private key ?
<gchristensen> impersonate you when signing files
<zeta> that's it ?
<gchristensen> well ... depending upon who you are, that can be pretty sever
<gchristensen> well ... depending upon who you are, that can be pretty severe
<gchristensen> they could also decrypt things which were encrypted for you
judson has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjcxx
<gchristensen> for example, I use a password manager (`pass`) which uses GPG to encrypt my passwords. if someone had my private gpg key, they could read all my passwords
ddellacosta has joined #nixos
buffet_ has joined #nixos
<zeta> damn, that's why i always double check to make sure with things like this
buffet has quit [Ping timeout: 255 seconds]
<zeta> is the `home.options` file useful ?
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
hio has quit [Quit: Connection closed for inactivity]
<infinisil> ,smart-questions zeta
<simpson> zeta: In general, software is not useful.
<gchristensen> lol simpson
<simpson> Life sucks, and that's why I have to run `keychain` every time I login~ But it's a small price to pay.
<zeta> infinisil: have a little more patience, i can't be a master in nixos 1 month in, it's going to take me at least 6 months to get comfortable.
<gchristensen> that is true
<gchristensen> however this is a two-party bargain: we offer to help, while we expect you to try and answer your question as best as possible on your own through your own research
<infinisil> ^^
<gchristensen> and, when you can't answer it on your own -- that is okay! we definitely do want to help. to help us help you, it is very helpful to explain what you don't understand and what you've done to try and answer your question
<aanderse> anyone with at least 3 computers they use regularly + mobile device have an awesome irc setup for nixos where they can "attach" to their irc session whenever/wherever they want? bonus points if i can continue to use my own irc client on desktop, more bonus points if it comes with a nixos module
<gchristensen> android?
<aanderse> i'm looking at "bip" as an irc proxy currently
<aanderse> no nixos module
<aanderse> but the config seems pretty flexible
<gchristensen> are you an android user?
<aanderse> gchristensen: yessir
mexisme has joined #nixos
<gchristensen> weechat has a cool android program
<infinisil> aanderse: znc!
<aanderse> what protocol do i use to connect to (my) weechat server?
<gchristensen> I don't know! good question :)
<parsnip> aanderse: weechat has a weechat relay and an irc relay
<aanderse> parsnip: ah, ok, thanks
<aanderse> infinisil: ahh... thats what znc is
<infinisil> aanderse: I run a znc instance on my server, which I can connect to with any irc client on all my devices. I have past history and everything from that, effectively attaching it
<parsnip> use the weechat relay to connect with a weechat client
<aanderse> i'm sure i've looked over the module you wrote 2 times when you linked me to it... i never once even bothered to guess what "znc" actually was
<aanderse> lol
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> (And znc has a NixOS module, newly revised by me :))
<parsnip> irc relay won't relay _all_ weechat buffers, only the irc ones
<infinisil> Hehe
<aanderse> <3 infinisil
<{^_^}> infinisil's karma got increased to 100
<aanderse> <3 gchristensen
<{^_^}> gchristensen's karma got increased to 116
<aanderse> <3 parsnip
<{^_^}> parsnip's karma got increased to 2
<parsnip> aanderse: weechat-android is pretty smooth
<aanderse> infinisil: link to your znc config?
<aanderse> ** znc nixos config ;-)
alexherbo20 has quit [Ping timeout: 258 seconds]
alexherbo200 has joined #nixos
<infinisil> It's written a bit generically
mexisme has quit [Ping timeout: 255 seconds]
<xorAxAx> i have been debugging a "value is a function while a set was expected" problem - any insights on what the problem could be?
<xorAxAx> the trace shows a map statement
<xorAxAx> i have no clue why there are uncalled functions around
<zeta> i am actually very happy with nixos, it was a brutal learning curve for me, but now that i am comfortable with it, the benefits nix package management are great, i like debian and apt package manager, but i had to much dependency hell with it, so i am glad i found an alternative.
<gchristensen> sounds like you have a function expecting a parameter, and you're trying to treat it like a set
<gchristensen> for example:
<gchristensen> > (import <nixpkgs>).hello
<{^_^}> value is a function while a set was expected, at (string):253:1
<gchristensen> > (import <nixpkgs> {}).hello
<{^_^}> "<derivation /nix/store/gz34f17xanc99dyn9pp1gfdg0jggg81n-hello-2.10.drv>"
<xorAxAx> hmm, the evaluation tree is far away from import
<xorAxAx> but maybe its related to evalModules?
<gchristensen> in a map, it is likely you have a function application but no (')s
<xorAxAx> no (')s?
o1lo01ol1o has joined #nixos
<infinisil> Really, it's nearly impossible to help debugging if you don't show the actual code..
<gchristensen> > :p [ builtins.toString 123 ]
<{^_^}> [ <PRIMOP> 123 ]
<gchristensen> > :p [ (builtins.toString 123) ]
<{^_^}> [ "123" ]
<zeta> is nix good for handling cabal hell ? i am looking at nix and haskell in production, it seems nice
<xorAxAx> gchristensen, i know :}
kreisys has joined #nixos
<xorAxAx> ah, what does the PRIMOP mean?
<zeta> i tried haskell and cabal in debial, the dependency hell made me go insane for a while
<gchristensen> it means it is a function
<zeta> debian
<xorAxAx> :p [ map id ]
<xorAxAx> > :p [ map id ]
<{^_^}> [ <PRIMOP> <LAMBDA> ]
<xorAxAx> i am seeing only <CODE> in traceVal
<xorAxAx> no primops or lambdas
<zeta> have you guys also struggled with dependecy hell ?
<infinisil> xorAxAx: <PRIMOP> means a builtin function, which are defined here: https://github.com/NixOS/nix/blob/7c6391ddc730519a632cc0ee526c94a04812d871/src/libexpr/primops.cc#L2185
<gchristensen> zeta: I have not struggled with dependency hell since using NixOS, but also I don't know Haskell / use Cabal
pie__ has quit [Ping timeout: 258 seconds]
<xorAxAx> infinisil, then what is <CODE>?
<gchristensen> code which has not been forced to be evaluated
<gchristensen> so it could be anything, Nix hasn't evaluated it yet
<xorAxAx> how can i force it? did i find an evaluator bug?
<xorAxAx> traceVal shows <CODE>
<gchristensen> no, Nix is a lazy language -- it doesn't evaluate things until you need it ot be
<infinisil> xorAxAx: <CODE> is apparently an application of a (non-builtin) function :) https://github.com/NixOS/nix/blob/7c6391ddc730519a632cc0ee526c94a04812d871/src/libexpr/eval.cc#L99
<zeta> gchristensen: the infamous `cabal hell` is real
<xorAxAx> ah, so some function is missing an argument
<gchristensen> xorAxAx: no, not necessarily
<gchristensen> as I said, <CODE> means it hasn't been evaluated:
<gchristensen> > let x = a: a; in [ (x "hi") ]
<{^_^}> [ <CODE> ]
mexisme has joined #nixos
<xorAxAx> ah
<zeta> ivan: thanks, i just haven't gotten around to reading it
<xorAxAx> > let x = a: a; in [ traceVal (x "hi") ]
<{^_^}> [ <CODE> <CODE> ]
<xorAxAx> > let x = a: a; in [ (traceVal (x "hi")) ]
<{^_^}> [ <CODE> ]
<gchristensen> xorAxAx: you can also PM with {^_^} :)
<xorAxAx> ok :)
<infinisil> (or use nix repl locally for that matter, which is faster and has more features :))
<zeta> i am currently learning haskell and lisp, and i plan to start looking for freelance work next week, how is the job market for these languages ?
teoma has quit [Remote host closed the connection]
Supersonic has quit [Ping timeout: 258 seconds]
<zeta> i plan on sticking on these two languages and maybe learnig rust down the road
<aanderse> infinisil: regarding this znc module... whatever happened to services.foo.enable = true; being enough? T_T
<infinisil> aanderse: Yeah it's a bit unfortunate with the legacy cruft..
<gchristensen> znc ... I never did manage to figure out how to use znc
<infinisil> aanderse: Oh yeah, but also if you disable useLegacyOptions, you actually need to define everything yourself xD
<infinisil> But you need to anyways for the networks and such, so ehh
<infinisil> And nick
<zeta> no response :(
<infinisil> aanderse: mutable = false and useLegacyOptions = false; would be nice defaults eventually. But all other things are really nothing that could be set with a simple enable = true
Supersonic has joined #nixos
Maerman has joined #nixos
<aanderse> infinisil: ok
<aanderse> thanks
<infinisil> Oh actually, we could change the default if we condition it on system.stateVersion
zeta has quit [Quit: WeeChat 2.4]
<infinisil> And then it technically doesn't even need a release note because it's not a breaking change
horner has joined #nixos
<gchristensen> I think, typically, each use of stateVersion gets a release note
<gchristensen> not sure though
Maerman has quit [Quit: Konversation terminated!]
<samueldr> yes, release note as someone might remember it working one way, and now it doesn't?
<xorAxAx> "'name' attribute missing in a call to 'listToAttrs'" - for map (mi: ({ name = mi.name; } // (lib.mapAttrs' (key: value: (lib.nameValuePair key machine_addrs."${mi.${key}}".value)) mi))) l1;
silver has quit [Read error: Connection reset by peer]
arguser has joined #nixos
lovesegfault has joined #nixos
<infinisil> samueldr: People aren't supposed to change stateVersion, so their existing set up will still work
<samueldr> I meant about someone that knows how it's supposed to work, and observes on a new system it doesn't
<infinisil> Although I guess it would be a bit confusing to see `default = false`, but it's enabled for them, even though they didn't do `value = true`
<infinisil> (which is the result of the docs when conditioning the default on stateVersion)
<infinisil> samueldr: Ah yeah good point
Rusty1 has joined #nixos
<xorAxAx> gchristensen, i pasted the problematic piece of my code, i dont know where 'name' is coming from
<samueldr> infinisil: defaultText = ''lib.versionAtLeast config.system.stateVersion "xx.yy"''
<infinisil> samueldr: Ohh yes please
<samueldr> leaky abstraction, but less surprising if it is the right way to handle the change
toppler` has quit [Ping timeout: 248 seconds]
<infinisil> Or even better `defaultText = "true for 19.03 or above, false otherwise"`
toppler` has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #61151 → coursier: 1.1.0-M14-1 -> 1.1.0-M14-4 → https://git.io/fjcQQ
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @Tomahna to master « coursier: 1.1.0-M14-1 -> 1.1.0-M14-4 »: https://git.io/fjcpu
<infinisil> I wouldn't mind using stateVersion more to have better defaults
fresheyeball has quit [Quit: WeeChat 2.4]
<xorAxAx> hmm, the error only makes sense if nix is not completely lazy
<xorAxAx> (i didnt copy the if that should short circuit the key lookup with value name)
<infinisil> xorAxAx: The only thing that's strict in nix (I'm pretty sure anyways) is attribute keys
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61152 → mopidy-iris: 3.37.0 -> 3.37.1 → https://git.io/fjc7v
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjcpg
<infinisil> > { ${throw "nope!"} = 10; foo = 20; }.foo
<{^_^}> nope!
jasongrossman has joined #nixos
<infinisil> xorAxAx: Just use nix repl to debug the problem, incrementally building up your expression, evaluating it along the way
<xorAxAx> yeah
<xorAxAx> > :p (if "xxx" == "xxx" then {} else { a = 1; b = 2; }."${xyz}")
<{^_^}> { }
<xorAxAx> wow, it behaves differently than my nix repl
<xorAxAx> i get "error: undefined variable 'xyz' at (string):1:55"
<gchristensen> it is true, {^_^} behaves a bit differently
<xorAxAx> can i somehow make the aforementioned expr more lazy?
arguser has quit [Quit: Lost terminal]
acarrico has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #45474 → mesa: restructure driver selection to be more architecture-neutral → https://git.io/fAkHJ
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to staging: https://git.io/fjcpw
mexisme has quit [Ping timeout: 245 seconds]
hellrazo1 has joined #nixos
hellrazor has quit [Ping timeout: 246 seconds]
jasongrossman has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #61168 → release-cross.nix changes/fixes → https://git.io/fjcp7
<{^_^}> [nixpkgs] @matthewbauer opened pull request #61169 → static: set default_library flag for meson in makeStaticLibrary → https://git.io/fjcpd
<xorAxAx> found the problem :-)
<{^_^}> [nixpkgs] @matthewbauer opened pull request #61170 → perl-libwww: don’t check on darwin → https://git.io/fjcpx
<mog> what am i doing wrong here networkmanager = unstable.networkmanager.override (o: { propagatedBuildInputs = [pkgs.python3Packages.pygobject3] ++ o.propagatedBuildInputs; } );
<gchristensen> I think you might want .overrideAttrs?
drakonis has joined #nixos
mexisme has joined #nixos
<mog> i think you are right its compiling at least
thomashoneyman has joined #nixos
<thomashoneyman> i've just discovered that a NixOS installation + i3 provides no way to open an "upload file" dialog when using apps like Firefox
<thomashoneyman> anyone have advice on a package that will enable this?
<gchristensen> like dragging a file to Firefox?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/096e2f137b6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<thomashoneyman> for example, i get a blank white screen when going to a site which has a 'file upload' button and pressing it
<gchristensen> like your whole screen is white?
<thomashoneyman> yes.
<thomashoneyman> i can click and it disappears
acarrico has quit [Ping timeout: 248 seconds]
<thomashoneyman> but i'm assuming it's attempting to open a file navigator but failing to do so
<thomashoneyman> i have Ranger installed but that's the only file manager
o1lo01ol1o has quit [Remote host closed the connection]
<thomashoneyman> (i'm not sure of the correct terminology for these things. file uploader? file manager? file navigator?)
<gchristensen> if you press, uh, mod? (the windows key) and click on the white screen, can you move it (while the button is pressed and the mouse is clicked) around?
<thomashoneyman> for example: if I go to (https://send.firefox.com/) and press the "Select files to upload button" I get the white screen.
<{^_^}> [nixpkgs] @eadwu opened pull request #61171 → linux_testing_bcachefs,bcachefs-tools: 2019-04-04 -> 2019-05-08 → https://git.io/fjchq
<gchristensen> because it is possible the file upload window is just huuuuge and appears to be totally white
lambda-11235 has joined #nixos
<thomashoneyman> hey, yea!
<thomashoneyman> i _can_ do that
<thomashoneyman> it takes quite a bit of moving before i get a noticeable edge
<gchristensen> hidpi screen? :)
<thomashoneyman> -ish; this is on a Macbook Pro
o1lo01ol1o has joined #nixos
<gchristensen> yeah. I've had that problem too
<gchristensen> let me see if I can find how I solved it...
<thomashoneyman> the only other application i've had an issue with was Spotify
<samueldr> gchristensen: something gconf
<gchristensen> ah!
<samueldr> or was it dconf?
<samueldr> anyway, something about gnome's default sizes for an open/save dialog
<samueldr> not sure how you resolved it
<gchristensen> I set it to like 400,400
<{^_^}> [nixpkgs] @marsam merged pull request #60722 → python37Packages.kubernetes: 8.0.1 -> 9.0.0 → https://git.io/fjZ12
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjchO
<gchristensen> thank you samueldr
<gchristensen> I believe this always goes is I can't possibly remember what it is, and then you come in saying dconf, and then we grep our logs as fast as we can
<samueldr> not enough of a shared issue to be at hands reach, but always at the tip of the tongu
jasongrossman has joined #nixos
<thomashoneyman> thanks!
<{^_^}> [nixpkgs] @marsam merged pull request #60858 → tmuxinator: 0.13.0 -> 1.1.0 → https://git.io/fjchZ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjchn
<{^_^}> [nixpkgs] @marsam merged pull request #60745 → python37Packages.stripe: 2.21.0 -> 2.27.0 → https://git.io/fjZSK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjchl
selfsymmetric-mu has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasongrossman has quit [Ping timeout: 258 seconds]
<thomashoneyman> well, i'm attempting to write this into the settings.ini file without success, but thank you for getting me on the right track :)
<angerman> why would my remote builder not respect `--max-jobs`?
<angerman> it seems like it passes -j1 -l1 which is bad.
<angerman> Ok so that should actually be --cores, but that's apparently not respected either :-/
infinee has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #61172 → [wip] cctools: 895 -> 921 → https://git.io/fjchg
lovesegfault has quit [Ping timeout: 252 seconds]
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #61084 → pythonPackages.i3ipc: 1.5.1 -> 1.6.0 → https://git.io/fjcZt
<{^_^}> [nixpkgs] @teto pushed 2 commits to master: https://git.io/fjchK
ray has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
sigmundv__ has quit [Ping timeout: 248 seconds]
ray is now known as Guest71404
<Guest71404> Is there a way to pin a particular version of a package for "nix-env -u"?
<Guest71404> Or just block a version I know is broken
thomashoneyman has quit [Quit: Lost terminal]
thomashoneyman has joined #nixos
<thomashoneyman> gchristensen: weird: i can set the custom value to 400, 400, but then it always resets back to the huge value as soon as it's opened
mexisme has quit [Ping timeout: 246 seconds]
mexisme has joined #nixos
wirew0rm has quit [Ping timeout: 264 seconds]
mg- has quit [Ping timeout: 246 seconds]
<thomashoneyman> ah; setting this in home-manager is perhaps not the right move
<thomashoneyman> if i disable that it works OK.
<thomashoneyman> do you know how to open this at any time? if for example i want to drag a file onto a browser window?
<{^_^}> [nixpkgs] @marsam merged pull request #60712 → python37Packages.django-allauth: 0.38.0 -> 0.39.1 → https://git.io/fjZXv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjchS
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #61174 → upower: 0.99.9 -> 0.99.10 → https://git.io/fjch9
thomashoneyman has quit [Ping timeout: 246 seconds]
thomashoneyman has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #61040 → jo: 1.1 -> 1.2 → https://git.io/fjchQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjch7
<lambda-11235> Anyone use vpnc? Running vpnc doesn't seem to make me use the vpn tunnel. Instead I use the ordinary ethernet interface.
jasongrossman has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/096e2f137b6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @marsam merged pull request #60727 → python37Packages.plotly: 3.7.1 -> 3.8.1 → https://git.io/fjZMH
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/fjchA
Guest71404 has quit [Quit: leaving]
MmeQuignon has quit [Ping timeout: 252 seconds]
esmerelda has quit [Ping timeout: 248 seconds]
Glider_IRC__ has joined #nixos
o1lo01ol1o has joined #nixos
BlessJah has joined #nixos
Glider_IRC_ has quit [Ping timeout: 255 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
esmerelda has joined #nixos
jasongrossman has quit [Ping timeout: 252 seconds]
domogled has joined #nixos
jasongrossman has joined #nixos
thomashoneyman has quit [Ping timeout: 245 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
mg- has joined #nixos
wirew0rm has joined #nixos
mog has quit [Quit: im quiting!]
mexisme has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @sjmackenzie to master « python3Packages.seabreeze: init at 0.6.0 »: https://git.io/fjcjC
mog has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #61047 → python3Packages.seabreeze: init at 0.6.0 → https://git.io/fjcjl
ricekrispie has joined #nixos
mexisme has joined #nixos
ricekrispie2 has quit [Ping timeout: 245 seconds]
ddellacosta has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @pacien opened pull request #61175 → howl: 0.5.3 -> 0.6 → https://git.io/fjcj4
esmerelda has quit [Ping timeout: 244 seconds]
jasongrossman has quit [Ping timeout: 258 seconds]
rauno has quit [Ping timeout: 248 seconds]
thomashoneyman has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
thomashoneyman has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61170 → perl-libwww: don’t check on darwin → https://git.io/fjcpx
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjcj2
selfsymmetric-mu has joined #nixos
jasongro` has joined #nixos
jasongro` has quit [Read error: Connection reset by peer]
georges has quit [Quit: ZNC 1.7.1 - https://znc.in]
Rusty1 has quit [Quit: Konversation terminated!]
mexisme has joined #nixos
wfranzini has quit [Remote host closed the connection]
jasongrossman has joined #nixos
horner has quit [Ping timeout: 255 seconds]
esmerelda has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.4]
selfsymmetric-mu has quit [Remote host closed the connection]
dbmikus_ has quit [Ping timeout: 252 seconds]
domogled has quit [Remote host closed the connection]
lovesegfault has joined #nixos
mkoenig has quit [Remote host closed the connection]
toppler` has quit [Ping timeout: 252 seconds]
toppler` has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #61176 → pythonPackages.i3ipc: 1.6.0 -> 1.7.1 → https://git.io/fjcjN
Synthetica has joined #nixos
palo1 has joined #nixos
dansho has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
hoijui has joined #nixos
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
ricekrispie2 has joined #nixos
dansho has joined #nixos
ricekrispie has quit [Ping timeout: 258 seconds]
knupfer has quit [Ping timeout: 248 seconds]
<jackdk> Re: #60456 - anyone know the python infra well? i managed to move it a bit, but there's an error I don't know how to fix
<{^_^}> https://github.com/NixOS/nixpkgs/pull/60456 (by r-ryantm, 1 week ago, open): arandr: 0.1.9 -> 0.1.10
lambda-11235 has quit [Max SendQ exceeded]
lambda-11235 has joined #nixos
lambda-11235 has quit [Ping timeout: 255 seconds]
wucke13 has joined #nixos
<wucke13> Hi, is there an idiomatic way of running a php-fpm along nginx in a way, that php scripts may create folders and files in their www root?
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @jraygauthier opened pull request #61177 → nixos/jupiter: add a kernel jsFile option → https://git.io/fjCeG
knupfer has joined #nixos
init_6 has joined #nixos
mexisme has quit [Ping timeout: 268 seconds]
<lopsided98> jackdk: I left a comment on the PR
<risson> Hi! Is there a way to get the first element in a list in Nix?
<teto> > builtins.head [ 3 ]
<{^_^}> 3
<teto> risson: ^
<risson> Thanks :D
nschoe has joined #nixos
mexisme has joined #nixos
nschoe has quit [Remote host closed the connection]
gm_ has joined #nixos
civodul has joined #nixos
gm_ has quit [Client Quit]
gm_ has joined #nixos
<gm_> Hello, I'm trying to create a service/module and when systemd tries to run it the application startup errors with "fork/exec /sbin/ip: no such file or directory", however running it directly as my user works. I'd have thought ip should be available?
wfranzini has joined #nixos
<gm_> I've verified that the application in question, looks at PATH first before failing back to /sbin/ip
reinhardt has joined #nixos
m0rphism has joined #nixos
Myhlamaeus has quit [Ping timeout: 252 seconds]
rauno has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @vcunat opened pull request #61179 → stdenv, cacert: consider $NIX_SSL_CERT_FILE in hooks → https://git.io/fjCei
mexisme has quit [Ping timeout: 244 seconds]
<lopsided98> gm_: you probably need to set the "path" option in the service config. Systemd services have only a minimal PATH (https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/systemd.nix#L233) by default.
reinhardt has quit [Remote host closed the connection]
init_6 has quit [Ping timeout: 246 seconds]
reinhardt has joined #nixos
fusion809 has quit [Remote host closed the connection]
<gm_> @lopsided98: That sorted it, thanks!
mexisme has joined #nixos
johanot has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
bahamas has joined #nixos
<bahamas> I notice that there are some channels named nixos and others nixpkgs. what's the difference?
<Synthetica> bahamas: All tests get run on the nixos channels, so they are a bit slower to update, but they try to ensure you can't accidentally update into a borked system
<Synthetica> nixpkgs are a bit less strict
<Synthetica> But faster to update
schjetne has joined #nixos
<bahamas> Synthetica: ok. I need to use an older channel and was trying to decide which one of the two to use.
<Synthetica> If you only need to install a package nixpkgs is probably fine, but nixos can't hurt
wucke13 has quit [Quit: WeeChat 2.4]
Glider_IRC__ has quit [Ping timeout: 248 seconds]
<bahamas> Synthetica: thanks. actually, I think this particular commit is only available in nixos. but it's good to know there isn't a major difference between the two
mexisme has joined #nixos
hoijui has quit [Ping timeout: 252 seconds]
vidbina has joined #nixos
<teto> bahamas: it should be the opposite as nixos channels are slower to update. eventually nixos catches up to nixpkgs so it's more likely that a commit is available in nixpkgs but not in nixos than the opposite (they should converge eventually)
sam_d has quit [Ping timeout: 246 seconds]
hio has joined #nixos
sam_d has joined #nixos
<bahamas> teto: do you know how I can find the channel that contains a specific commit?
lambda-11235 has quit [Quit: Bye]
Makaveli7 has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #61180 → [19.03] Avoid collisions between essential packages → https://git.io/fjCv8
hoijui has joined #nixos
<teto> bahamas: git branch --all --contains <commit>
<teto> you would need to fetch all branches first
ilikeheaps has joined #nixos
<{^_^}> [nix] @vcunat closed pull request #933 → nix-shell: extend the meaning of $IN_NIX_SHELL → https://git.io/voYF1
<{^_^}> [nixpkgs] @lheckemann opened pull request #61181 → spl: fix build with linux 5.1 → https://git.io/fjCvi
<{^_^}> [nixpkgs] @johanot opened pull request #61182 → kubernetes: 1.13.5 -> 1.13.6 → https://git.io/fjCv9
<bahamas> teto: in nix-channels, right?
goibhniu has joined #nixos
<teto> bahamas: in a git repository, otherwise you could probably search it from github (not sure)
<bahamas> teto: I mean the nix-channels repo
mexisme has joined #nixos
cfricke has joined #nixos
linarcx has joined #nixos
bahamas has quit [Read error: Connection reset by peer]
fishi0x01 has joined #nixos
<Aleksejs> hello, is there any facebook messenger desktop app on Nixos?
linarcx has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
<{^_^}> [nix] @vcunat opened pull request #2796 → docs: describe $IN_NIX_SHELL values → https://git.io/fjCfv
fishi0x01 has quit [Ping timeout: 258 seconds]
fishi0x01 has joined #nixos
Tucky has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @edolstra to release-19.03 « Merge #60860: gcc9: init at 9.1.0 »: https://git.io/fjCff
thc202 has joined #nixos
lovesegfault has quit [Ping timeout: 252 seconds]
lovesegfault has joined #nixos
obadz has quit [Quit: WeeChat 2.4]
domogled has joined #nixos
AxiomaticEspress has joined #nixos
obadz has joined #nixos
AxiomaticEspress has quit [Client Quit]
Jetien_ has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
sb0 has joined #nixos
Anton-Latukha has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
domogled has quit [Quit: domogled]
<immae> Hello there, I’m trying to (statically) cross-build nix for armv7, but it fails with this error: https://paste.ee/p/b2xy7
<immae> The command was: `nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.armv7l-hf-multiplatform' -A pkgsStatic.nix`
<immae> Did I forget something? (I took inspiration from the wiki page https://nixos.wiki/wiki/Cross_Compiling )
buffet_ is now known as buffet
jb55 has quit [Ping timeout: 248 seconds]
<BuGless> What goes wrong if I disable nscd on nixos?
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
dashkal has quit [Ping timeout: 245 seconds]
oida has joined #nixos
pie__ has joined #nixos
fishi0x01 has quit [Ping timeout: 248 seconds]
<sphalerite> BuGless: 32-bit applications will have various problems
<sphalerite> BuGless: I suggested disabling it by default in #50042, there are some comments there on why that's a bad idea
<{^_^}> https://github.com/NixOS/nixpkgs/pull/50042 (by lheckemann, 25 weeks ago, closed): nscd: disable by default
cfricke has quit [Ping timeout: 246 seconds]
pie__ has quit [Ping timeout: 255 seconds]
<makefu> BuGless:i have it disabled on all my machines because for me hostname caching produced some weird issues
<linarcx> Guys, i want to create package for lantern. But i don't know where to put it in nixpkgs tree.
<BuGless> edolstra said in that git pull: No, nscd should not be disabled. It's essential on NixOS to ensure that NSS modules work properly (including for 32-bit programs on 64-bit NixOS).
<BuGless> But that does not properly explain why
jb55 has joined #nixos
<BuGless> edolstra: That only works for NSS modules built into Glibc. It won't be able to find e.g. libnss_myhostname or libnss_mymachines from systemd because they are not in the library search path.
<makefu> linarcx:what is lantern?
<BuGless> So what happens if a program that does not find those libraries tries to use gethostbyname() ?
<linarcx> Put it into `tools/networking` or in `applications/networking` ?
<BuGless> In order for it to query nscd it still needs to construct an UDP packet and send it to nscd locally, so why not send it across the network?
<makefu> linarcx: propably applications, tools may only be supportive. but i guess it would be fine in both paths
noam has joined #nixos
<BuGless> Or, in other words, does someone have an example program that fails if nscd is not running?
<linarcx> makefu: Thank you.
fishi0x01 has joined #nixos
ubert has joined #nixos
<BuGless> After reading https://github.com/NixOS/nixpkgs/pull/50316 I conclude that killing nscd does not break anything *unless* you want to use funky dns query resolutions that go to other places than an regular dns server (like an LDAP server).
<clever> or avahi
<makefu> i packaged an optional dependency for home-assistant (gtts-token), but adding it to extraPackages results in conflicts as it seems home-assistant module overrides specific dependencies. is there a way to get the package into my module anyway?
<srk> is there a way to run a single test from e.g. installer.nix tests?
<BuGless> Ok, nscd disabled. One down, seven to go. Anyone know how I can disable dhcpd? I tried: services.dhcpd4.enable = false; But that does not seem to have any effect.
toppler` has quit [Ping timeout: 245 seconds]
<BuGless> Ok, found it, I think: networking.useDHCP = false; seems to work
toppler` has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #61185 → elk: 7.0.0 -> 7.0.1 → https://git.io/fjCJ9
<BuGless> Now I see two agetty processes; how do I disable those?
sppky has quit [Ping timeout: 258 seconds]
dmj` has quit [Ping timeout: 258 seconds]
<manveru> BuGless: you wanna kill all daemons? :)
mjacob has quit [Ping timeout: 258 seconds]
mjacob has joined #nixos
<BuGless> manveru: Yes, anything I don't need
sppky has joined #nixos
<BuGless> agetty is next on the list
orivej has quit [Ping timeout: 246 seconds]
<BuGless> then dbus, then systemd-journald, then systemd-logind, then systemd
dmj` has joined #nixos
<manveru> why not just use not-os then?
<BuGless> Actually, I want to replace systemd with a shell script that does what a normal init does.
<{^_^}> [nixpkgs] @Mic92 pushed to master « linux_{5_1,testing}: enable kernel fpu functions »: https://git.io/fjCJF
<BuGless> manveru: not-os? How do I do that?
<manveru> at least it should give you some ideas of how to replace init, because that's not that simple on nixos
<BuGless> manveru: Looks interesting. Maybe exactly what the doctor ordered. The only remaining question then becomes if I can then install back node and headless chrome on it. I basically want three processes running: init (my custom shell script), node and a chrome binary (without X-display).
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
<manveru> i think that should work
<manveru> but clever will know :)
<rauno> hey gchristensen, wanted to ask that should this generated netboot image selfinstall nixos also? currently doesnt happen much after booting up :)
<BuGless> clever: You wrote not-os?
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #61187 → linux_{5_0,5_1,testing}: restore __kernel_fpu_{begin,restore} [19.03] → https://git.io/fjCUk
vidbina has quit [Ping timeout: 246 seconds]
dansho has quit [Quit: Leaving]
vidbina has joined #nixos
johanot has quit [Ping timeout: 268 seconds]
johanot has joined #nixos
vidbina has quit [Ping timeout: 244 seconds]
jasongro` has joined #nixos
zupo has joined #nixos
jasongro` has quit [Client Quit]
<BuGless> Even though not-os might be the correct starting point for my minimal node/browser solution; I still have nixos running inside an lxc for normal development work, and the agettys are still unnecessary (as well as dbus, I guess). Googling does not reveal much clues on how to disable them though.
jasongrossman has joined #nixos
<sphalerite> BuGless: have you set boot.isContainer = true; yet? :)
<BuGless> Nope. Doing so now.
<BuGless> When I set that, can I then get rid of the nix.useSandbox = false hack?
<sphalerite> BuGless: but I suspect you don't really need to use nixos in the container at all…
<BuGless> Actually, I do. I need a nixos development environment
<BuGless> Or can I have that without installing nixos?
cfricke has joined #nixos
<sphalerite> I thought you only want your init script + node + headless chromium?
bgamari has quit [Ping timeout: 258 seconds]
<BuGless> Yes, I do. But I want to generate that using nix
bgamari has joined #nixos
<BuGless> I want nix to handle the node and headless chromium dependencies.
<qyliss^work> BuGless: I think you'd find #56411 interesting
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56411 (by spacekookie, 10 weeks ago, open): Adding railcar container module
<qyliss^work> It's not in Nixpkgs yet, but should be shortly. It has a function for building an OCI container image from a Nix package.
<sphalerite> BuGless: you don't need nix in the container for that
<Taneb> Is there a lib function for "do these nested attrsets overlap"? Which would be true for { a = 1; } { a = 2; } but false for { a = { b = 1; }; } { a = { c = 2; }; }
<BuGless> sphalerite: You're saying I could install nix under e.g. Debian and then go from there?
<sphalerite> BuGless: if you make your init script using nix, you can make a filesystem containing only that using nix copy
<sphalerite> BuGless: then add the other little bits and bobs like /etc/passwd on top
<sphalerite> BuGless: you could also use something like make-system-tarball to generate the whole thing using nix
work_ has joined #nixos
<sphalerite> BuGless: going "down" from a full nixos or debian will probably be more complicated/unclean than going "up" from just your script
<BuGless> sphalerite: To make things clear: my direct need is a nix-constructed image that I can run on Google-Compute-Engine; so it must contain grub, preferably a custom kernel without modules where I determine the kernel config, my init shell script, node, headless chromium, and all the cursed libraries that that means.
<sb0> what do the links point to in the hydra "build dependencies" tab?
<sb0> for example
mkoenig has joined #nixos
gm_ has quit [Quit: Connection closed for inactivity]
<sphalerite> BuGless: I thought you wanted a container
<sb0> if you click on the first "bootstrap-tools" it sends you to a build for "nixpkgs:staging:qwt6_qt4.aarch64-linux"
<sb0> why?
<sphalerite> BuGless: but that sounds even more like not-os is right for you
<sb0> is this normal or is there a bug?
<sphalerite> BuGless: specifically grub? Or just "be able to boot"?
<BuGless> sphalerite: but in order to construct such a thing using nix, I need some kind of development environment where I can run nix-build; which would mean that I need nixos, which I now installed inside lxc, which I'm trying to optimise to get a lean development environment.
Ariakenom has joined #nixos
<BuGless> sphalerite: grub is spec'd by Google compute engine, they do not want to boot from anything else.
sondr3 has joined #nixos
<tilpner> BuGless: You can run nix-build on other Linux distributions just fine
<sphalerite> oooooh. Anything wrong with just using nix on your host system?
<BuGless> sphalerite: My host system consists of a company wide system of several servers that all provide lxc containers to do actual work in. The host system is off limits and is not used to do development work, it is only there to start and juggle all lxc's (they are migrated from server to server sometimes).
<BuGless> tilpner: How do I get a nix-build running on debian?
orivej has joined #nixos
<tilpner> BuGless: I don't know if they got their nix package in already, but you can always follow https://nixos.org/nix/download.html
mexisme has joined #nixos
<BuGless> tilpner: Ok, tried that: performing a single-user installation of Nix...
<BuGless> copying Nix to /nix/store.................................
<BuGless> installing 'nix-2.2.2'
<BuGless> Nix: creating /home/srb/.nix-profile
<BuGless> initialising Nix database...
<BuGless> error: unable to start build process
<BuGless> error: cloning builder process: Invalid argument
<BuGless> /tmp/nix-binary-tarball-unpack.BsKOUbinrz/unpack/nix-2.2.2-x86_64-linux/install: unable to install Nix into your default profile
<gchristensen> rauno: it will, but if the metadata service it expects is down it won't
mexisme has quit [Ping timeout: 245 seconds]
<tilpner> BuGless: You need to enable user namespaces
<tilpner> Quick search for Debian brings https://superuser.com/a/1122977
johanot has quit [Quit: WeeChat 2.4]
<BuGless> tilpner: Thanks. Though this means that I have to recompile my kernel (which I will do shortly), I never had a use for user namespaces, so I stripped it out (I've been running custom kernels since 1992).
<rauno> gchristensen, from where does it look for the userdata file ?
<rauno> I can see readme refers to it, can it be included in built image or msth?
linarcx has quit [Ping timeout: 246 seconds]
<rauno> oh right, metadata!=userdata
linarcx has joined #nixos
<tilpner> BuGless: User namespaces aren't strictly required. You can disable build sandboxing, and then Nix won't insist on user namespaces
<tilpner> BuGless: But build sandboxing is a great feature and you should keep it enabled if possible
<BuGless> tilpner: What do I lose when I don't have build-sandboxing?
<tilpner> BuGless: A ton of guarantees that your build will also build on other machines
<tilpner> BuGless: E.g. a sandboxed build has no filesystem access to anything no declared, and no network access unless it promises that it will always produce the same thing
<BuGless> Ah
<BuGless> Sounds useful indeed.
aanderse-znc has joined #nixos
<BuGless> As it turns out, it was the last of the namespace options I had disabled, the others were already on. This is first application I ever use that uses them.
<sphalerite> lxc and docker can also use them I believe
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/096e2f137b6 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<BuGless> lxc can use them, but I never asked it too, probably.
<BuGless> docker I run without it, it never asked for it.
<sphalerite> it's useful in that it allows root within the contianer to correspond to a different UID outside the container
<BuGless> Mostly for root inside the container exploiting a kernel bug, I presume.
rauno has quit [Ping timeout: 255 seconds]
silver has joined #nixos
<xorAxAx> BuGless, do you know nixos-generate?
<linarcx> Guys, i want to create a pckage that need gulp and npm as dependencies. but when i add theme to list of dependencies, i've got this error:
<linarcx> error: anonymous function at /home/linarcx/Development/nixpkgs/pkgs/applications/networking/lantern/default.nix:1:1 called without required argument 'gulp', at /home/linarcx/Development/nixpkgs/lib/customisation.nix:69:12
<BuGless> xorAxAx: No, didn'
<BuGless> xorAxAx: No, didn't know that yet. I've been using nixos/nix since yesterday morning, basically. Trying to learn as fast as I can.
gm_ has joined #nixos
<xorAxAx> BuGless, no problem, it can be used to bake gce images
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tilpner> xorAxAx might be talking about https://github.com/nix-community/nixos-generators
<BuGless> xorAxAx: I find this: https://github.com/NixOS/nixos-hardware, but it does not include a gce config (yet). Do I need to create it myself?
<BuGless> tilpner: Ah, indeed. It includes a gce. Interesting.
<xorAxAx> tilpner, indeed
horner has joined #nixos
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Mic92 merged pull request #61187 → linux_{5_0,5_1,testing}: restore __kernel_fpu_{begin,restore} [19.03] → https://git.io/fjCUk
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to release-19.03: https://git.io/fjCTw
<gchristensen> "Without this patch for example throughput on aencrypted zfs dataset drops to 200 MB/s from 1.2 GB/s" wow
ilikeheaps has quit [Ping timeout: 268 seconds]
kreisys has joined #nixos
acarrico has joined #nixos
<BuGless> tilpner: Just rebooted into my usernamespace-enhanced kernel 5.1.0 et voila! installation of nix under debian finishes without hitches. Thanks.
linarcx has quit [Ping timeout: 255 seconds]
<clefru> I am all in favor of making ZFS run well. Gregk's opinion here is pretty stubborn
linarcx has joined #nixos
Tucky has quit [Quit: WeeChat 2.4]
<jasongrossman> Mic92++
<{^_^}> Mic92's karma got increased to 10
alexherbo2007 has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
Guestss1 has joined #nixos
alexherbo200 has quit [Ping timeout: 268 seconds]
<BuGless> { pkgs, ... }:
<BuGless>
<BuGless> fileSystems."/" = pkgs.lib.mkForce
<BuGless> imports = [ <nixpkgs/nixos/modules/virtualisation/google-compute-image.nix> ];
<BuGless> {
<BuGless> { device = "/dev/disk/by-label/nixos";
<BuGless> fsType = "ext4";
<BuGless> options = [ "x-nixos.autoresize" ];
<BuGless> };
<BuGless> }
<BuGless> services.udisks2.enable = false;
<BuGless> When I input that as configuration.nix and run nixos-generate -f gce, I get back:
<BuGless> - Mountpoint '/': 'autoResize = true' is not supported for 'fsType = "auto"': fsType has to be explicitly set and only the ext filesystems and f2fs support it.
<BuGless> I'm trying to override that setting in google-compute-image.nix
Guestss1 has quit [Excess Flood]
Guestss1 has joined #nixos
Guestss1 has quit [Max SendQ exceeded]
Guestss1 has joined #nixos
Guestss1 has quit [Max SendQ exceeded]
Tucky has joined #nixos
Guestss1 has joined #nixos
Guestss1 has quit [Max SendQ exceeded]
Guestss1 has joined #nixos
Guestss1 has quit [Max SendQ exceeded]
<BuGless> Yesterday that seemed to work, on my running gce instance. But trying it now in this standalone setting with nixos-generate seems to be problematic. The mkForce does not seem to be consistent.
zupo_ has joined #nixos
<sphalerite> BuGless: what's nixos-generate?
<sphalerite> oh nice, didn't know about this, thanks :)
talqu has joined #nixos
<talqu> hi, i get `error: Package ‘beam-core-0.7.2.3’ is marked as broken`. Is there some other way to get this package and be able to use it?
<gchristensen> anyone have a handy nginx configuration to make a caching reverse proxy for cache.nixos.org?
anon has joined #nixos
<andi-> sure, 1 sec
<Ashy> gchristensen: is this something recent? i have noticed my ryzen machine acting noticably slower the last week or two and it's an encrypted zfs root partition
anon is now known as Guest71461
<gchristensen> Ashy: no, it came with Linux 5
rprije has quit [Ping timeout: 248 seconds]
<andi-> gchristensen: https://github.com/andir/nixops-dn42/blob/master/modules/cache.nix#L3 it is a bit dated.. haven't published that repo in a long time but the gist should be the same.
<ar> tl;dr: Ted Tso got oracle-triggered
<talqu> sondr3: What this would mean, that I system will try to build this package?
<BuGless> gchristensen: What kind of webserver/scripting is it running to need a caching reverse proxy?
<gchristensen> nice, thanks andi-
<gchristensen> BuGless: I want to serve a proxying local cache inside a network which does a lot of fetching from the cache
cfricke has quit [Quit: WeeChat 2.4]
<Ashy> gchristensen: that's around the time i upgrade to kernel 5, so this patch is included in 5 and slows things down or the opposite?
<Ashy> s/upgrade/upgraded/
<talqu> I don't get it. If the package is marked as broken, doesn't it mean it breaks while building? If my try to build it with my system, it will not build, right? I have tried it and the build failed
<gchristensen> Ashy: the linux kernel included patches which make it harder for ZFS to do certain operations quickly, the patch from Mic92 reverts that change
<sondr3> talqu: oh, I thought you hadn't tried building it yet
<gchristensen> talqu: no, it means the package doesn't work
<sondr3> no, it just overrides the broken marker
<gchristensen> it may not build, or it may not function
<gchristensen> andi-: I like that this is in a container, very elegant
<andi-> gchristensen: containerize everything!
<talqu> thanks
acarrico has quit [Ping timeout: 246 seconds]
ckoparkar has joined #nixos
justanotheruser has joined #nixos
ckoparkar has quit [Remote host closed the connection]
acarrico has joined #nixos
<Ashy> gchristensen: wow indeed, i hadn't read into it in that much detail yet
<xorAxAx> what does IFD mean?
<andi-> ,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.
<BuGless> .mkForce
<xorAxAx> andi-++
<{^_^}> andi-'s karma got increased to 12
<BuGless> Which goes to say, can someone give me a hint how to properly override a setting obtained from an import?
<andi-> BuGless: it depends on the priority of the setting from the import. mkForce should usually be enough (`some.var = mkForce "my-value"`)
srid has quit [Ping timeout: 246 seconds]
linarcx has quit [Quit: WeeChat 2.4]
<BuGless> andi-: fileSystems."/".fsType = mkForce "ext4"; does not seem to work
<andi-> BuGless: that sounds odd. how does the import set the value?
acarrico has quit [Ping timeout: 255 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
srid has joined #nixos
sigmundv__ has quit [Ping timeout: 255 seconds]
<xorAxAx> BuGless, sounds like a bug in the code of nixos-generators
work_ has quit [Quit: Connection closed for inactivity]
<BuGless> xorAxAx: Maybe a wrong assumption on my part. Running nixos-generate without -c argument, I assumed it would pick up the configuration.nix in the current directory. It seems like it does not.
<xorAxAx> ah
<BuGless> It seems to work now, and it is pulling in everything and the kitchen sink. So now I "just" have to figure out how to replace the full nixos contents in that gce-image with just the parts I need.
pie__ has joined #nixos
<{^_^}> [patchelf] @edolstra pushed to master « Update flake.lock »: https://git.io/fjCIv
guest__ has joined #nixos
<sondr3> dang, I still cannot update my system because I get `Failed to connect to codeload.github.com port 443: Connection refused` when updating
<sondr3> It looks like it is my Emacs configuration that is hammering GH
<guest__> Hello. Is there an equivalent of "nix-shell" in the "nix" command? Or is there a static equivalent of https://matthewbauer.us/blog/static-nix.html for nix-shell command?
<BuGless> I'm impressed, nixos-generate temporarily boots and shuts down a linux image as part of the build process.
iyzsong has joined #nixos
<adisbladis> guest__: You may want `nix run`, though it's not the same as nix-shell
<manveru> i thought maybe `:u` in `nix repl`, but that probably just uses nix-shell as well
<guest__> adisbladis: thanks, but I want to setup a dev environment, without installing nix in the machine. that's why a static setup would be perfect
<manveru> guest__: silly idea, install `nix` via `static-nix`, that includes nix-shell :)
<adisbladis> Another silly idea: nix run nix -c nix-shell
<sphalerite> guest__: do you need nix-shell specifically, or just to get a tool on $PATH? If the latter, you can use `nix run`
ng0 has joined #nixos
<guest__> I need to have some tools in the path (git, cmake, ...) + some overlays for some nix packages (mostly a custom gcc)
zupo has joined #nixos
knupfer has joined #nixos
sigmundv__ has joined #nixos
drakonis has joined #nixos
<manveru> i think you could also modify https://github.com/matthewbauer/static-nix/blob/master/default.nix to build nix-shell statically?
<guest__> nix repl ":u" may be a good idea ; it seems to work even without nix-shell binary
<troydm> how do I install a gem in nixos?
zupo_ has joined #nixos
<matthewbauer> It’s an all in one binary so you should be able to just set argv0. I think you may have to extract it first
<troydm> doing gem install gives me file permission error, and sudo doesn't helps
Glider_IRC has joined #nixos
zupo has quit [Ping timeout: 245 seconds]
dycan has joined #nixos
toppler` has quit [Ping timeout: 246 seconds]
toppler` has joined #nixos
o1lo01ol1o has joined #nixos
fendor has joined #nixos
o1lo01ol_ has joined #nixos
<guest__> matthewbauer: thanks. it seems to work (at least for simple cases).
reinhardt has quit [Quit: Leaving]
<guest__> matthewbauer: however, I get an assert when using the --store argument
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2019-05-08 -> 2019-05-09 »: https://git.io/fjCIu
<guest__> Assertion failed: store->isStorePath(ctx) (src/libexpr/primops.cc: realiseContext: 56)
o1lo01ol1o has quit [Ping timeout: 244 seconds]
death1 has joined #nixos
death1 is now known as deadloko
<guest__> normal nix-shell doesn't work better: nix-shell --store $HOME/.cache/nix/store --pure test.nix gives "nix-shell: src/libexpr/primops.cc:56: void nix::EvalState::realiseContext(const PathSet&): Assertion `store->isStorePath(ctx)' failed."
work_ has joined #nixos
fusion809 has joined #nixos
<guest__> test.nix available at https://pastebin.com/V1Za8e98 . try to run it with nix-shell --store $HOME/.cache/nix/store --pure test.nix
dycan has quit [Remote host closed the connection]
Denommus has joined #nixos
<{^_^}> [nixpkgs] @basvandijk merged pull request #61185 → elk: 7.0.0 -> 7.0.1 → https://git.io/fjCJ9
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjCIH
equivrel` has quit [Remote host closed the connection]
waleee has joined #nixos
Denommus has quit [Remote host closed the connection]
acarrico has joined #nixos
sigmundv__ has quit [Ping timeout: 258 seconds]
guest__ has quit [Ping timeout: 256 seconds]
talqu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b pushed to master « subversion: fix configure missing APR_INT64_T_FMT »: https://git.io/fjCLe
frem has joined #nixos
v0id72[m] has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « ubridge: 0.9.14 -> 0.9.15 »: https://git.io/fjCLl
sigmundv__ has joined #nixos
endformationage has joined #nixos
frem has left #nixos [#nixos]
<marek> what is the best way to check if the channel has an update? without running an rebuild
jabranham has joined #nixos
<jasongrossman> marek: http://howoldis.herokuapp.com ?
<matthewbauer> guest__: yeah forgot that nix-shell doesn't work without /nix/store. you could file a bug, about that
<marek> jasongrossman: from command line, I want to monitor if my system is pending updates
<marek> jasongrossman: (could have also private channels from CI)
<matthewbauer> guest__: I don't think there's a reason why nix-shell can't work with the --store command? /cc niksnut
jasongrossman has quit [Ping timeout: 258 seconds]
<deadloko> marek: why don't just curl it?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjCLN
josiah_sama has joined #nixos
pointfourone has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjCt3
ottidmes has quit [Quit: WeeChat 2.4]
ottidmes has joined #nixos
iyzsong has quit [Ping timeout: 248 seconds]
bitmapper has joined #nixos
<bitmapper> this qt issue is driving me insane
<{^_^}> [nixpkgs] @ngerstle-cognite opened pull request #61190 → Kube3d → https://git.io/fjCtR
<ottidmes> I am writing a script to improve some automation on my NixOS machines, for it I need to know whether a device is mounted or not, say if I pass the script /dev/sda then I want to know whether any partition of /dev/sda might be mounted, whats the best way to do it? I could hack something together, but that would be using output meant for human comsumption (i.e. error prone for scripts), I tried looking at
<ottidmes> findmnt, but that seems to only work to check this for a partition rather than the complete device.
<bitmapper> i can't write any qtquick apps
<bitmapper> because it seems like part of qtfull is missing
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2ec36d2105e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<marek> deadloko: curl what?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61175 → howl: 0.5.3 -> 0.6 → https://git.io/fjcj4
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjCtw
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61038 → Adds pkgsCross.gnu32 and pkgsCross.gnu64 platforms → https://git.io/fjCtK
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjCt6
Neo--- has quit [Ping timeout: 257 seconds]
drakonis_ has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.4]
acarrico has quit [Ping timeout: 246 seconds]
<ottidmes> lsblk -no MOUNTPOINT <device>, seems to do the trick
<pie__> bitmapper, are you using nix-env? idk if it ever got fixed but qt used to be very broken if you had multiple versions and were using stateful system config (i.e. imperative nix-env stufF)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2ec36d2105e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<bitmapper> i'm using nix-shell
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjCtD
<bitmapper> i can make qt projects but not qtquick ones
mexisme has joined #nixos
<bitmapper> pie__: would that cause the same issue?
drakonis has quit [Ping timeout: 258 seconds]
mexisme has quit [Ping timeout: 245 seconds]
josiah_sama has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elvishjerricco> Can you set a priority for binary caches? I've got a slow one that serves a lot of the same paths as cache.nixos.org, and Nix is prioritizing the slow one
<gchristensen> yeah
<gchristensen> elvishjerricco: see Priority in `curl https://cache.nixos.org/nix-cache-info`
<Baughn> Is `nixos-rebuild --build-host` expected to throw signature errors?
<gchristensen> Baughn: that is expected if you're not connecting as a trusted user
<Baughn> Ah. So I need to set that, or use sudo.
Ariakenom has quit [Ping timeout: 245 seconds]
<Baughn> Better error messages would be nice. :)
<pie__> bitmapper, the question is if you have any QT installations in your environment i think, but im really not sure. what do you mean by it looks like its missing stuff
<elvishjerricco> gchristensen: A higher number for Priority indicates it should be more preferred, right?
<bitmapper> the store path for qt-full is missing a bunch of files
<bitmapper> like even qt-base has more files
drakonis has joined #nixos
<bitmapper> in /lib
<gchristensen> elvishjerricco: a lower value is a higher priority
<elvishjerricco> gchristensen: Oh. Damn. Then this cache is using a lower number when I really want it to use a higher number, since it's slower
<elvishjerricco> is there a way to override?
<gchristensen> hmm
<gchristensen> this is a *wild* guess
<pie__> bitmapper, hm idk then
<gchristensen> but try adding ?priority=xxx to the end of the cache URL?
Synthetica has joined #nixos
<bitmapper> i'm rebuilding rn
<bitmapper> to see if it helps
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-regex-tdfa: apply patches to fix the build with ghc-8.8.x »: https://git.io/fjCtb
josiah_sama has joined #nixos
<bitmapper> i might have to edit the package
<Synthetica> Is there some option for a delete-on-logout guest profile in NixOS?
sigmundv__ has quit [Ping timeout: 245 seconds]
<goibhniu> bitmapper: could it be that you need to use a different output from qt-full?
<bitmapper> ?
<bitmapper> no, i'm following the wiki
<bitmapper> i've looked at all the outputs of qt5.full
pointfourone has quit [Remote host closed the connection]
waleee has quit [Quit: WeeChat 2.4]
drakonis_ has quit [Ping timeout: 248 seconds]
<bitmapper> brb
<Taneb> Is there a way I can instantiate (but not build) a derivation as part of (eg. as an input to) a nix build?
rauno has joined #nixos
<elvishjerricco> gchristensen: No dice
Tucky has quit [Quit: WeeChat 2.4]
bitmapper has quit [Ping timeout: 245 seconds]
<Taneb> I'd like to test on my local Hydra server that a collection of derivations instantiate, but building them takes far too long to have in our regular CI
asar has joined #nixos
andi- has quit [Ping timeout: 250 seconds]
schjetne has quit [Ping timeout: 245 seconds]
talqu has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 12 commits to haskell-updates: https://git.io/fjCqL
<talqu> services.postgresql.initialScript, if the change that string and rebuild the configuration.nix file, nothing changes in the postgres, only the first initial string was execute and database, role were created. I have a similar, basic configuration like in Deploying databases section from here https://nixos.wiki/wiki/PostgreSQL. Moreover, I can't init the connection with haskell's simple-postgresql lib getting this er
<talqu> ror: Exception: libpq: failed (FATAL: no pg_hba.conf entry for host "127.0.0.1", user "talqu", database "talqudb", SSL off
vidbina has joined #nixos
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-lucid: jailbreak to fix the build with ghc-8.8.x »: https://git.io/fjCqY
<samrose> anyone come across `libtool is required, but wasn't found on this system` in a context of npm build of deps ?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-hashable-time: jailbreak to fix the build with ghc-8.8.x »: https://git.io/fjCqs
<samrose> running `node-gyp-build "node preinstall.js" "node postinstall.js"` on sodium-native package
pointfourone has joined #nixos
pointfourone has quit [Client Quit]
andi- has joined #nixos
<chaker> samrose: Are you trying to build a JS package with Nix?
dbmikus_ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61163 → mendeley: 1.19.1 -> 1.19.5 → https://git.io/fjcAB
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjCqn
<matthewbauer> samrose: `nix-env -iA nixpkgs.darwin.cctools`
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60898 → raspberrypifw: 1.20181112 -> 1.20190401 → https://git.io/fjCqC
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjCqW
<matthewbauer> samrose: actually not that, but add `darwin.cctools` to your shell
xent has joined #nixos
<xent> hello
<matthewbauer> samrose: node-gyp *should* be able to fall back to using ar, but they refuse: https://github.com/nodejs/node/issues/2341#issuecomment-489523218
<ar> well, of course i refuse to use node
<matthewbauer> samrose: every other build system understands how this works, but somehow node-gyp gets it very very wrong
xent is now known as xented
andi- has quit [Excess Flood]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjCqB
<{^_^}> [nixpkgs] @romildo opened pull request #61191 → matcha: 2018-12-24 -> 2019_05_09 → https://git.io/fjCqR
ottidmes has quit [Quit: WeeChat 2.4]
srid has quit [Ping timeout: 246 seconds]
andi- has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjCqi
xented has quit [Quit: WeeChat 2.4]
xent has joined #nixos
rauno has quit [Read error: Connection reset by peer]
o1lo01ol_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60737 → python37Packages.qdarkstyle: 2.6.5 -> 2.6.6 → https://git.io/fjZyW
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjCqQ
<samrose> matthewbauer: shoul dI use darwin.cctools even if the target is nixos?
<samrose> matthewbauer: thanks for those clues. I agree that node-gyp seems to want to make things very hard
xent has quit [Quit: WeeChat 2.4]
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
xent has joined #nixos
<matthewbauer> samrose: ah no probably not
<matthewbauer> samrose: it's a common issue on macOS which is why I assumed that's what you were hitting
rauno has joined #nixos
wfranzini has quit [Remote host closed the connection]
erasmas has joined #nixos
xent has quit [Client Quit]
ubert has quit [Remote host closed the connection]
<matthewbauer> samrose: i guess you need gnu libtool, which is just `nixpkgs.libtool`
<{^_^}> [nixpkgs] @glasserc opened pull request #61194 → Pass CARGO_HOME on more invocations of cargo → https://git.io/fjCmU
ixxie has joined #nixos
camsbury- has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @peti pushed 24 commits to haskell-updates: https://git.io/fjCm3
fishi0x01 has quit [Ping timeout: 258 seconds]
fendor has quit [Ping timeout: 244 seconds]
sigmundv__ has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @peti pushed 20 commits to haskell-updates: https://git.io/fjCmZ
<{^_^}> [nixpkgs] @peti pushed 22 commits to master: https://git.io/fjCmn
drakonis1 has joined #nixos
srl295 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2019-05-08T22:18:59 »: https://git.io/fjCmc
<{^_^}> [nixpkgs] @peti pushed to master « all-cabal-hashes: update to Hackage at 2019-05-08T22:18:59 »: https://git.io/fjCmc
Shouou has joined #nixos
Plotinus has joined #nixos
ddellacosta has joined #nixos
<camsbury-> hi all - looking to setup a binary cache in a private network. Is the best way to just use the SSH option? I did `nix-serve`, but it doesn't allow for `nix copy`...
<gchristensen> you could run minio
<{^_^}> [nixpkgs] @troydm opened pull request #61195 → rtl8192eu: update at 4.4.1 → https://git.io/fjCm8
linarcx has joined #nixos
ambro718 has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Ariakenom has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
drakonis1 has quit [Quit: WeeChat 2.4]
toppler` has quit [Ping timeout: 245 seconds]
toppler` has joined #nixos
andi- has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
gm_ has quit [Quit: Connection closed for inactivity]
esmerelda has quit [Ping timeout: 246 seconds]
ee1943 has quit [Quit: Ping timeout (120 seconds)]
ee1943 has joined #nixos
vidbina has quit [Ping timeout: 252 seconds]
drakonis has quit [Ping timeout: 252 seconds]
andi- has joined #nixos
Jetien_ has quit [Ping timeout: 258 seconds]
Shouou has quit [Ping timeout: 246 seconds]
srid has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
rembo10 has quit [Quit: ZNC 1.7.3 - https://znc.in]
ee1943 has quit [Read error: Connection reset by peer]
rembo10 has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 276 seconds]
zeta has joined #nixos
dbmikus_ has quit [Ping timeout: 244 seconds]
drakonis_ has joined #nixos
<zeta> i am trying to install: lux brightness control but the manual installation is not working, how would i install and build this application with nix ?
ee1943 has joined #nixos
drakonis_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61128 → lighttpd: fix crosscompilation → https://git.io/fjc6P
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjCYW
<zeta> attached is the link to the manual instructions: https://github.com/Ventto/lux#manually
<goibhniu> zeta: adding a package for it would probably be easy enough
<goibhniu> you could also use nix-shell to build it
ckoparkar has joined #nixos
ckoparkar has quit [Client Quit]
ckoparkar has joined #nixos
<zeta> goibhniu: i am still pretty new to nix, how hard would it be to make it into a nix package ?
<goibhniu> oh, IIUC the makefile just installs a bash script
<camsbury-> gchristensen: could I do so without s3? is there any how to outside of the one line in the manual?
<goibhniu> so, it would be easy to run without "installing" it, and it would be easy to package too
<gchristensen> camsbury-: minio is s3-compatible, would that work?
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
rembo10 has quit [Quit: ZNC 1.7.3 - https://znc.in]
rembo10 has joined #nixos
<zeta> goibhniu: i guess, i can try to package it, can you paste a link in instructions that show how to do this ?
fendor has joined #nixos
<gchristensen> zeta: do you specifically want "lux" or is another tool doing the same thing adequate?
shibboleth has joined #nixos
dbmikus_ has joined #nixos
drakonis_ has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
ixxie has quit [Ping timeout: 268 seconds]
<camsbury-> gchristensen: want it deployed to a kubernetes cluster, so no dice with s3
<camsbury-> trying to test it locally to begin with in a docker image
<camsbury-> `nix-serve` works nicely for reading, but want to push binaries too
<NemesisD> i get the "cloning builder process: Operation not permitted" error all the time. I've run `sudo systctl -w kernel.unprivileged_users_clone=1` but it does not persist across reboots. why?
<gchristensen> camsbury-: I don't understand, because: https://docs.min.io/docs/deploy-minio-on-kubernetes
<NemesisD> userns*
jabranham has quit [Ping timeout: 268 seconds]
ambro718 has joined #nixos
<matthewbauer> NemesisD: you should be able to put it in /etc/sysctl.d/*.conf
<{^_^}> [nixpkgs] @dtzWill opened pull request #61196 → mupdf: 1.14.0 -> 1.15.0 → https://git.io/fjCYK
acarrico has joined #nixos
mupf has quit [Quit: WeeChat 2.3]
mupf has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #61197 → go: 1.11.6 -> 1.11.10, 1.12.1 -> 1.12.5 → https://git.io/fjCYX
drakonis_ has quit [Ping timeout: 252 seconds]
zupo has joined #nixos
<NemesisD> matthewbauer: thanks!
<{^_^}> [nixpkgs] @dtzWill opened pull request #61198 → public-sans: 1.002 -> 1.003 → https://git.io/fjCYM
<{^_^}> [nixpkgs] @dtzWill opened pull request #61199 → viu: 0.1 -> 0.2.1 → https://git.io/fjCYD
<zeta> gchristensen: nevermind i think i found a package that already comes with `xmonad-extras`: https://github.com/giovanifss/xmonad-brightness
<{^_^}> [nixpkgs] @dtzWill opened pull request #61200 → libosinfo, osinfo-db-tools: 1.4.0 -> 1.5.0 → https://git.io/fjCYS
<{^_^}> [nixpkgs] @dtzWill opened pull request #61201 → libxmlb: 0.1.8 -> 0.1.9 → https://git.io/fjCYH
zeta has quit [Quit: WeeChat 2.4]
freeman42x has joined #nixos
judson has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b pushed to master « pythonPackages.python-igraph: fix build »: https://git.io/fjCOJ
acarrico has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #61202 → glibc: add patch to use utf-8 when LANG is unset → https://git.io/fjCOI
fusion809 has quit [Remote host closed the connection]
hoijui has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #61203 → certbot: 0.31.0 -> ... -> 0.34.2 → https://git.io/fjCOt
acarrico has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gagbo has joined #nixos
pointfourone has joined #nixos
pointfourone has quit [Client Quit]
knupfer has quit [Ping timeout: 252 seconds]
jackdk has quit [Ping timeout: 246 seconds]
ambro718 has quit [Quit: Konversation terminated!]
raduom has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #59371 → graalvm: rc8->rc15 → https://git.io/fjmTN
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @hlolli to master « graalvm: rc8->rc15 »: https://git.io/fjCOn
cfricke has joined #nixos
zupo has joined #nixos
zeta has joined #nixos
Myhlamaeus has joined #nixos
<NemesisD> are there any phases of the nix build that are allowed to reach outside of the sandbox? i've got an installer with some prebuilt bins i need to patchelf, but the installer runs those bins which reference shared libraries in e.g. `/lib64`. the installer itself is very hard to patch as it is a shell script with embedded data, internal checksums, etc
<NemesisD> it'd be much easier just to patch the $out after running the installer and directing its output there
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60059 → kmymoney: 5.0.1 -> 5.0.4 → https://git.io/fj34C
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @dtzWill to master « kmymoney: 5.0.1 -> 5.0.4 (#60059) »: https://git.io/fjCOB
alexherbo2007 has quit [Ping timeout: 268 seconds]
fishi0x01 has joined #nixos
rauno has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60569 → vnstat: 2.1 -> 2.2 → https://git.io/fjZsO
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjCO0
ambro718 has joined #nixos
<zeta> in the `permissions` section i would like to do the `recommended` option, how would i do this in nixos ? attached is the instructions: https://github.com/giovanifss/xmonad-brightness
<{^_^}> [nixpkgs] @dtzWill closed pull request #61197 → go: 1.11.6 -> 1.11.10, 1.12.1 -> 1.12.5 → https://git.io/fjCYX
alexherbo2007 has joined #nixos
<gchristensen> zeta: not sure why you're not wanting, say, `brightnessctl` or `light` which are already packaged in NixOS
hoijui has joined #nixos
ambro718 has quit [Client Quit]
hoijui has quit [Remote host closed the connection]
cfricke has quit [Quit: WeeChat 2.4]
asar has quit [Ping timeout: 256 seconds]
wfranzini has joined #nixos
ambro718 has joined #nixos
thomashoneyman has joined #nixos
ris has joined #nixos
<sphalerite> zeta: the `programs.light` module does this for the `video` group — if you add yourself to that group (users.users.zeta.extraGroups = ["video"];) and enable light (programs.light.enable = true;) it should work.
<sphalerite> zeta: if you don't want light to be pulled in, you can copy the udev rule from the light module yourself
<sphalerite> ,find light.nix
<{^_^}> ,find is temporarily unimplemented
<camsbury-> trying to serve a binary cache with SSH and getting `nix-store` not found
<sphalerite> infinisil: will we get ,find back soon? :D
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> camsbury-: on a non-nixos distro?
<thomashoneyman> clear
acarrico has quit [Ping timeout: 244 seconds]
<infinisil> sphalerite: MMMMmaybe
<camsbury-> s
<camsbury-> yes
<camsbury-> it's alpine
fishi0x01 has quit [Ping timeout: 246 seconds]
<camsbury-> but I can `which nix-store` fine
<sphalerite> camsbury-: simplest solution, if you have root access, is to create a symlink /usr/local/bin/nix-store -> /nix/var/nix/profiles/default/bin/nix-store
<camsbury-> nice
<camsbury-> I'll try that
<sphalerite> camsbury-: because in a non-interactive SSH session, .bashrc or whichever flie it is isn't sourced so ~/.nix-profile doesn't end up on $PATH
start2 has joined #nixos
alexherbo2007 has quit [Quit: The Lounge - https://thelounge.chat]
<camsbury-> thanks a lot!
<camsbury-> error: cloning builder process: Operation not permitted
<camsbury-> is what I'm seeing now
ambro718 has quit [Quit: Konversation terminated!]
<camsbury-> but it at least knows about `nix-store`
<zeta> gchristensen: well i am using xmonad by itself(without a desktop environment) so the brightness function keys do not work, i am currently using brightness control, it is a hassle to always have to reset the brightness after i reboot and it's lowest brightness is still too bright so it hurts my eyes, i have not tried out bright, so i don't know if it will work for me or not, this `xmonad-brightness` seems like
<zeta> it will work with my function keys but the only problem is it can only be used by root, so how would i chainge the permissions for this in nixos ?
<start2> Hey there, where would you put a code snippet that should be executed on startup?
<gchristensen> start2: what do you want to do? usually the best thing to do is make a systemd service for it
ambro718 has joined #nixos
<zeta> gchristensen: attached is the link to the instructions(Permissions section, Recommended option): https://github.com/giovanifss/xmonad-brightness
<{^_^}> [nixpkgs] @dtzWill opened pull request #61204 → libinput: 1.13.1 -> 1.13.2 → https://git.io/fjCOM
esmerelda has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61198 → public-sans: 1.002 -> 1.003 → https://git.io/fjCYM
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjCOd
zupo has joined #nixos
<start2> I want to execute some keyboard remaps on startup. Atm I do the following:
<start2> environment.interactiveShellInit = '' setxkbmap -option 'caps:ctrl_modifier' xcape -e 'Caps_Lock=Escape' '';
<start2> but this just works after I opened a shell for the first time
<start2> and environment.loginShellInit is not executed at all
<gchristensen> hmm you might want services.xserver.xkbOptions
<start2> ye but I need the xcape command too
<start2> I could just put it in my homedirectory but Id prefer to put it in the nix configs
alexherbo2007 has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{beta,dev,canary}: 3.5.0.12 -> 3.5.0.13 »: https://git.io/fjCOh
<start2> the above command maps capslock to ctrl and escape at the same time
Denommus has joined #nixos
<lopsided98> NemesisD: there is no way to escape the sandbox like you describe
<NemesisD> lopsided98: damnit. the problem is that the thing i'm trying to write a derivation for (conda) only seems to support installation via their installer script. i don't know how other source-based distros handle this
acarrico has joined #nixos
adamt has joined #nixos
joko has quit [Quit: leaving]
<lopsided98> NemesisD: Doesn't nixpkgs already have conda?
jabranham has joined #nixos
<{^_^}> [nixpkgs] @xwvvvvwx opened pull request #61206 → solc: 0.5.7 -> 0.5.8 → https://git.io/fjC3J
<adamt> Hiya. What's the proper way of overriding a pkg when I also need to add an extra dependency that needs to be injected? (an extra argument to the list of arguments to the pkg definition). Sorry my terminology is pretty wonky. :P
<zeta> gchristensen: how would i do this declaratively in nixos: Recomended: Create a group with your user and root and give permissions to this group to write the file;
<NemesisD> lopsided98: yeah it sucks. all the derivation gives you is a script which, when run for the first time generates a command which which will have conda in an FHEnv. it's clearly meant for interactive use. i'm trying to write a derivation conda as a standalone tool suitable for deployment
<zeta> i am looking at these options but i am not sure: https://nixos.org/nixos/options.html#users.groups
<adamt> (I just want to build nftables locally with json support, so I need to override the configureFlags (easy) but also make nix inject jansson as an extra library)
knupfer has joined #nixos
<zeta> i think i figured it out, i hope it works
<lopsided98> NemesisD: I don't know much about conda, so I can't help much, but it is usually possible to manually extract self extracting scripts
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samrose> when you are running a nix expression is there a way to see what "phase" you are in from the stdout output?
<zeta> i am still unsure on how to do this declaratively with nix: https://hastebin.com/dudowikehe.sql
<zeta> any tips on how i can do this correctly ?
<samrose> zeta in /etc/nixos/configuration.nix you can do like this https://github.com/Holo-Host/holoportos/blob/holoportos-testnet-dev-18.09/modules/user.nix
ckoparkar has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<samrose> you can use the built in users.extraUsers.<name>
<samrose> then do nixos-rebuild switch
<lopsided98> zeta: You can probably set the permissions of the brightness file with a udev rule
fusion809 has joined #nixos
talqu has quit [Ping timeout: 252 seconds]
<samrose> lopsided98: huh I did not know about this but pretty cool thanks https://unix.stackexchange.com/a/415937
<zeta> confusion
<zeta> :(
schjetne has joined #nixos
zeta has quit [Quit: WeeChat 2.4]
schjetne has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @c0bw3b closed pull request #60688 → osinfo-db: 20190301 -> 20190319 → https://git.io/fjZ6Y
fishi0x01 has joined #nixos
<lopsided98> zeta: For the udev rule, you can adapt the one shown here: https://wiki.archlinux.org/index.php/Backlight#ACPI
mexisme has joined #nixos
<infinisil> they're gone btw
<{^_^}> [nixpkgs] @zimbatm opened pull request #61207 → terraform_0_12: 0.12.0-beta1 -> 0.12.0-rc1 → https://git.io/fjC3j
bgamari has quit [Ping timeout: 259 seconds]
bgamari has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61191 → matcha: 2018-12-24 -> 2019_05_09 → https://git.io/fjCqR
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjCsT
mexisme has quit [Ping timeout: 244 seconds]
sondr3 has quit [Quit: WeeChat 2.4]
sondr3 has joined #nixos
johnw_ has joined #nixos
lovesegfault has quit [Ping timeout: 244 seconds]
sheeldotme has joined #nixos
johnw has quit [Ping timeout: 258 seconds]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<sheeldotme> Does anyone know how one might reference a file not found in all-packages.nix. Specifically https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/web/nodejs/nodejs.nix.
<sheeldotme> I'm not sure how I might do that in my own nix file to be used by nix-build
Plotinus_ has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8e1852ac7e7 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
Plotinus has quit [Ping timeout: 245 seconds]
<sheeldotme> nvm, looks like I got it!
<sondr3> is there a way to limit how many fetches nix uses at once? I think my system gets rate limited by Github when I try to update
<sondr3> and I'd like to test if it is because too many connections are attempted at once
toppler` has quit [Ping timeout: 252 seconds]
toppler` has joined #nixos
taktoa_ has joined #nixos
<taktoa_> anyone know why a python package would fail to find the unittest package?
<taktoa_> and when I build pkgs.python3Packages.oscrypto I get "ModuleNotFoundError: No module named 'tests'"
pie__ has quit [Ping timeout: 246 seconds]
<taktoa_> I've tried python36 and python27 as well
<taktoa_> I'm running this against nixpkgs revision 454eea84a75
mexisme has joined #nixos
<taktoa_> by running nix-build -E 'import <nixpkgs> { config = {}; overlays = [ (import ./nix/overlays/python.nix {}) ]; }).python3Packages.oscrypto'
<infinisil> taktoa_: How about adding it to checkInputs?
<taktoa_> infinisil: it's not a package, it's supposed to be built into python
<taktoa_> like there is no python3Packages.unittest
<infinisil> Oh
<taktoa_> and if I build python3Packages.python and then run `find` on the output dir, I see that $out/lib/python3.7/unittest/ exists and is full of files
<taktoa_> sorry I meant (import overlay.nix) not (import ./nix/overlays/python.nix {})
josiah_sama has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61174 → upower: 0.99.9 -> 0.99.10 → https://git.io/fjch9
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjCs9
<{^_^}> [nixpkgs] @flokli merged pull request #59762 → wireguard: 0.0.20190123 -> 0.0.20190406 [backport 19.03] → https://git.io/fjYKo
<{^_^}> [nixpkgs] @flokli pushed 4 commits to release-19.03: https://git.io/fjCs7
<taktoa_> I guess I'll just do `doCheck = false;`
taktoa_ has quit [Quit: Page closed]
<ambro718> What's the preferred way to set a nixos option conditionally?
xkapastel has quit [Quit: Connection closed for inactivity]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @jacereda opened pull request #61209 → scopes: init → https://git.io/fjCsx
camsbury- has quit [Ping timeout: 255 seconds]
shibboleth has quit [Quit: shibboleth]
<symphorien> ambro718: mkIf maybe
<ambro718> thanks
camsbury has quit [Ping timeout: 268 seconds]
thomashoneyman has quit [Quit: Lost terminal]
Anton-Latukha has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @c0bw3b reopened pull request #55442 → ffmpeg-full: nvenc doesn't imply nonfree licensing → https://git.io/fhHnt
zeta has joined #nixos
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
horner has quit [Quit: zzZzZzZzZZZzzz…]
Glider_IRC has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61119 → rubocop: 0.62.0 -> 0.68.1 → https://git.io/fjcrq
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjCGm
<zeta> infinisil: if you could help me with this please, i am stuck: https://hastebin.com/inozusuqel.sql
<infinisil> Not sure why you ping me?
<Synthetica> Which `crossSystem.config` should I use if I want to exploit cache.nixos.org, or is that not possible?
<Synthetica> (Specifically, for software that should be able to run on a raspberry pi)
<gchristensen> Synthetica: as far as I know, hydra doesn't build anything cross
orivej has quit [Ping timeout: 244 seconds]
<zeta> infinisil: nevermind then, sorry to bother you
<Synthetica> Oh, shame :(
Guest71461 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @zimbatm merged pull request #61207 → terraform_0_12: 0.12.0-beta1 -> 0.12.0-rc1 → https://git.io/fjC3j
<{^_^}> [nixpkgs] @zimbatm pushed 2 commits to master: https://git.io/fjCGc
<gchristensen> but, then, not sure why you wouldn't just use `light`
elux has joined #nixos
<elux> hello
<elux> i was wondering if someone could recommend a frontend for wine to use with nixos? (if theres a pkg made for it, etc)
<elux> im hoping to run Photoshop inside of linux
drakonis has quit [Ping timeout: 268 seconds]
Denommus has quit [Remote host closed the connection]
<Synthetica> On the topic of crosscompiling: dejavu-fonts seems to fail when crosscompiling, does anyone know why the hash is specified here? https://github.com/nixos/nixpkgs/blob/master/pkgs/data/fonts/dejavu-fonts/default.nix#L48
knupfer has quit [Quit: knupfer]
ym555 has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjCG4
<zeta> why is xmonad channel throwing me this error: `#xmonad: Cannot send to nick/channel`
<gchristensen> #freenode should be able to help with that
Glider_IRC has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61166 → renderdoc: 1.2 -> 1.4 → https://git.io/fjcAQ
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjCG0
<{^_^}> [nixpkgs] @matthewbauer opened pull request #61210 → llvm8: handle clangStdenv better → https://git.io/fjCGE
<Synthetica> I guess I'll open an issue
<{^_^}> [nixpkgs] @dtzWill opened pull request #61211 → electrum: 3.3.4 -> 3.3.5 (not your typical version bump) → https://git.io/fjCGa
zeta has quit [Quit: WeeChat 2.4]
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
lovesegfault has joined #nixos
drakonis_ has joined #nixos
zeta has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
<zeta> gchristensen: where is `light` in nix packages, i can't find it ?
<gchristensen> how have you looked, zeta?
<zeta> i just searched `light`
<gchristensen> what did you use to search for "light"?
<gchristensen> if you click forward several pages you get to "light"
<gchristensen> but, try putting "GNU/Linux application to control backlights" in the search box
pie__ has joined #nixos
<zeta> No matching packages were found.
<zeta> i think i found it though
<sphalerite> zeta: it's the same "light" that I mentioned in my suggestion
<zeta> sphalerite: ok i'll try it out
zeta has quit [Quit: WeeChat 2.4]
adamt has quit [Quit: WeeChat 2.4]
xkapastel has joined #nixos
zupo has joined #nixos
elux has quit [Quit: leaving]
shibboleth has joined #nixos
<yurb> getting hash mismatch building git-annex: https://bpaste.net/show/f4f4e4a440ef
<lopsided98> Synthetica: Maybe you already know this, but you can use "pkgsCross.armv7l-hf-multiplatform" to get cross compiled packages which is a little easier than passing manually passing crossSystem
ddellacosta has joined #nixos
Plotinus_ has quit [Quit: night]
<lucus16> There's a pkgsCross.raspberryPi too
<Synthetica> lopsided98, lucus16: Thanks, I'll check that out
<{^_^}> [nixpkgs] @c0bw3b closed pull request #59641 → python37Packages.aiorpcx: 0.10.5 -> 0.13.5 → https://git.io/fjYTj
<{^_^}> [nixpkgs] @knedlsepp opened pull request #61213 → scons: Fix a wrapping issue which overrides your PATH → https://git.io/fjCZJ
gagbo has quit [Ping timeout: 258 seconds]
fishi0x01 has quit [Ping timeout: 245 seconds]
fishi0x01 has joined #nixos
zeta has joined #nixos
<zeta> light is not working ?
zeta has quit [Client Quit]
<gchristensen> :/
<{^_^}> [nixpkgs] @dtzWill opened pull request #61214 → lxd: 3.12 -> 3.13 → https://git.io/fjCZm
<{^_^}> [nixpkgs] @dtzWill opened pull request #61215 → bettercap: 2.11 -> 2.24 → https://git.io/fjCZs
horner has joined #nixos
shibboleth has quit [Quit: shibboleth]
fishi0x01 has quit [Ping timeout: 258 seconds]
lovesegfault has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @c0bw3b closed pull request #61215 → bettercap: 2.11 -> 2.24 → https://git.io/fjCZs
ng0 has quit [Quit: Alexa, when is the end of world?]
<NemesisD> what's the equivalent of patchelf for darwin?
sondr3 has quit [Quit: WeeChat 2.4]
<immae> Hello there, I did a lot of cleanup in my nix derivations recently, and I have packaged some applications that could maybe interest some more people: https://git.immae.eu/?p=perso/Immae/Config/Nix.git;a=tree;f=pkgs/webapps;h=58814610c9847861810c06c29c914a4215d65a51;hb=598aaa373c359046ee08ab5e7576ebaa4f0331e0 I’m in the process of adding them to NUR, but they could be added to nixpkgs if there is some
<immae> interests in it (for the most known: diaspora, dokuwiki, etherpad-lite, mastodon, nextcloud-with-apps-support, peertube). Feel free to give feedback if you want to push for it or improve them
<matthewbauer> NemesisD: install_name_tool
bgamari has quit [Ping timeout: 252 seconds]
bgamari has joined #nixos
srid9 has joined #nixos
<NemesisD> matthewbauer: maybe i'm using too low level of a tool: i have a derivation which has some prebuilt binaries. right now i'm doing a complex find for ELFs then `patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2` and `patchelf --set-rpath ${stdenv.glibc}/lib`. is there a higher-level way to do this that'd work on macs and linux?
srid has quit [Ping timeout: 258 seconds]
esmerelda has quit [Ping timeout: 252 seconds]
<matthewbauer> NemesisD: well we don't want to use glibc on macos
<matthewbauer> NemesisD: but you can do `install_name_tool -add_rpath ... $exe`
fishi0x01 has joined #nixos
<NemesisD> matthewbauer: is that a mac-only thing?
start2 has quit [Ping timeout: 256 seconds]
<NemesisD> i'm kind of surprised there isn't a function for this or something in nix. it seems like this would come up a lot
Ariakenom has quit [Quit: Leaving]
fishi0x01 has quit [Ping timeout: 255 seconds]
<sheeldotme> I've tried to implement custom build dependencies for my project and the way I've done it feels a little hacky. If someone wouldn't mind giving me feedback on how to improve my implementation I'd really appreciate it :). https://gist.github.com/sheeldotme/d65dacf03950a2f808c91d18b4cea85d
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<LnL> NemesisD: rpath is almost never used on darwin so patching a binary is usually completely different
<NemesisD> maybe this will just work on mac then...
<LnL> depends on what it links against, but yeah often prebuild things won't have external (non system) dependencies
esmerelda has joined #nixos
<NemesisD> LnL: this one links to things in /lib64 on linux and i'm just about a hair's breadth away from symlinking the libc lib dir into `/lib64` on my docker image and calling it a day
m0rphism has quit [Ping timeout: 245 seconds]
<NemesisD> even though i've lost 2 days to this
Izorkin has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60163 → dotnet-sdk: 2.2.103 -> 2.2.203 (core 2.2.1 -> 2.2.4) → https://git.io/fjsUR
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjCnL
ambro718 has quit [Ping timeout: 248 seconds]
<sphalerite> sheeldotme: you might want to read up on overlays and override :) https://nixos.org/nixpkgs/manual/#chap-overlays https://nixos.org/nixpkgs/manual/#sec-overrides
<sphalerite> sheeldotme: there are much more convenient mechanisms in nixpkgs for replacing dependencies and stuff like that
<sheeldotme> Excellent, I will! Thanks for the pointer sphalerite. Much appreciated!
<matthewbauer> NemesisD: patchelf and install_name_tool are bad hacks, so it's not really something we want to abstract over
drakonis_ has quit [Ping timeout: 248 seconds]
daGrevis has quit [Quit: daGrevis]
Mateon1 has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 246 seconds]
jasongrossman has joined #nixos
daGrevis has joined #nixos
Mateon1 has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7bb74e65365 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
zeta has joined #nixos
johnw_ has quit [Ping timeout: 252 seconds]
johnw has joined #nixos
drakonis_ has joined #nixos
dukedave has quit [Ping timeout: 258 seconds]
<zeta> i made a mistake in xmonad.hs this morning which caused the volume to stop working, i want to switch back to what my the config i was using when i first woke up this morning, do the configs on bootup have a date ?
marcinkuzminski has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @endgame opened pull request #61216 → arandr: 0.1.9 -> 0.1.10 → https://git.io/fjCna
<zeta> maybe that will fix my volume?
marcinkuzminski has joined #nixos
dukedave has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<zeta> i checked in #haskell and we found out that it is pactl that is not working, but i have no idea how to fix it: https://hastebin.com/okucifobey.rb
<zeta> :(
drakonis has joined #nixos
<zeta> i was thinking of just reinstalling nixos with usb
<clever> zeta: reinstalling wont fix anything
<clever> you would need to either find or remake your configuration.nix, and thats also how you just fix it
<clever> zeta: how exactly is pactl not working?
<jasongrossman> I think the problem is in xmonad.hs not configuration.nix, right, zeta?
drakonis_ has quit [Ping timeout: 258 seconds]
<zeta> clever: whenever i do a command with pactl it does nothing, i think xmonad.hs is fine, the problem is with nixos, i have xmonad.hs setup in home.nix
<clever> zeta: what does `pactl list` report?
<{^_^}> [nixpkgs] @risicle opened pull request #61217 → [r19.03 backport] leptonica: patch multiple CVEs → https://git.io/fjCnr
<zeta> clever: `pactl list` through a massive output then when i tried running it again it did nothing?
<zeta> so something is wrong with pactl, will switching to an older config fix it?
<zeta> what would be the easiest way to fix it?
<clever> zeta: try opening pavucontrol, and then mess with xmonad and pactl again
<zeta> clever: ok i'll try that and here is the output: https://hastebin.com/upibusasul.coffeescript
<clever> looks normal, 1 sound card present
<zeta> i think i will install nixos from scratch with usb, i have all of my config files saved so i'm good
<clever> you could just copy that config to /etc/nixos and run nixos-rebuild switch
<clever> that will be basically identical to a reinstall
<zeta> clever: `reinstall`?
<clever> running nixos-rebuild switch with the original configuration.nix is identical to just wiping and installing again
bgamari has quit [Ping timeout: 252 seconds]
<zeta> how do i do that ?
bgamari has joined #nixos
erasmas has quit [Quit: leaving]
<zeta> so boot into config 1 then: nixos-rebuild switch ?
<clever> just copy the original configuration.nix to /etc/nixos/ and run nixos-rebuild switch
<zeta> ok, thanks
<zeta> clever++
<{^_^}> clever's karma got increased to 128
<clever> power of 2!
jackdk has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
zeta has quit [Quit: WeeChat 2.4]
lovesegfault has joined #nixos
toppler` has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7bb74e65365 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
horner has quit [Quit: zzZzZzZzZZZzzz…]
toppler` has joined #nixos
rprije has joined #nixos
lambda-11235 has joined #nixos
mbrgm_ has joined #nixos
simon_weber has joined #nixos
mbrgm_ is now known as mbrgm
ym555 has quit [Ping timeout: 255 seconds]
thc202 has quit [Ping timeout: 252 seconds]
ym555 has joined #nixos
<simon_weber> hi all! I'm looking into nixos (and possible nixops) as a potential replacement for ansible in a number of small web services I run. The config management involved is around things like nginx, python versions, pip packages, gunicorn, firewalls, log rotation, etc. Deploys are generally copying in new code, running migrations, and restarting.
<simon_weber> Does anybody have recommended examples of these kinds of services I can look at?
judson has quit [Remote host closed the connection]
<jasongrossman> simon_weber: You might find something useful at https://search.tx0.co.
judson has joined #nixos
<jasongrossman> Which searches a few people's NixOS configurations.
<simon_weber> useful, thanks
<jasongrossman> simon_weber: Apart from that, if you're not in a hurry then hang out here for a while, and you'll get a good impression of the sorts of things that cause problems.
acarrico has joined #nixos
ym555 has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 252 seconds]
<simon_weber> sounds good.
ym555 has joined #nixos
zeta has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #60773 → rtmidi: 2.1.1 -> 4.0.0 → https://git.io/fjZ57
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjCco
selfsymmetric-mu has joined #nixos
<zeta> i need help with the `permissions section`, `recommended option`: https://hastebin.com/tumexuweke.rb https://github.com/giovanifss/xmonad-brightness
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/2ec36d2105e (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<zeta> how do i do this declaratively in nixos?
<zeta> i have stuck on this all day
<selfsymmetric-mu> Contributing to nixpkgs is impossible. I have had a simple PR up for almost 4 months now. All it does is add some dependencies to `nodePackages`.
<jackdk> #54443?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54443 (by matthew-piziak, 15 weeks ago, open): add textlint rules and plugins
<simpson> selfsymmetric-mu: I agree that PRs to nodePackages can take a long time. We have some boilerplate for this.
<simpson> ,prs
<selfsymmetric-mu> jackdk: Yes, that's the one. Is there anything I can do? I've been trying my best to follow instructions but I can't get enough purchase with the maintainers.
<simpson> ...Hm. Well, we *had* boilerplate for this. It started with something like "Sorry. Which PR?"
hio has quit [Quit: Connection closed for inactivity]
<selfsymmetric-mu> simpson: Hahahaha. Good to know I'm in good company.
<selfsymmetric-mu> Yes, jackdk found it. It's https://github.com/NixOS/nixpkgs/pull/54443
<{^_^}> #54443 (by matthew-piziak, 15 weeks ago, open): add textlint rules and plugins
<selfsymmetric-mu> I was fixing merge conflicts for the first couple of months. Then somebody mentioned that I should remove the generated JSON after all because there was some new system coming. And now silence.
<jackdk> selfsymmetric-mu I wish I knew. most of my PR activity is either testing r-ryantm stuff (which I hope helps move things along) or is haskell-related (and has high maintainer activity)
Jonathan_ has quit [Ping timeout: 256 seconds]
<selfsymmetric-mu> jackdk: What is r-ryantm?
ym555 has quit [Ping timeout: 258 seconds]
<jackdk> ryantm's semiautomatic version bump bot.
<ryantm> selfsymmetric-mu: https://github.com/ryantm/nixpkgs-update
<simpson> ryantm develops and operates some automated PR creation tools.
ym555 has joined #nixos
<selfsymmetric-mu> Sounds useful.
<selfsymmetric-mu> So is there something I can do or is it hopeless?
bgamari has quit [Ping timeout: 252 seconds]
<jackdk> I dunno if it's good form to bump on https://discourse.nixos.org/t/prs-ready-for-review-december/1711 ?
bgamari has joined #nixos
<selfsymmetric-mu> Ah, I'll try that. Thank you.
j4m3s__ has joined #nixos
<jackdk> looks like https://discourse.nixos.org/t/prs-ready-for-review-january/2002/4 is the newer thread, can't find any after that
<jackdk> matthewbauer may have become busy
<selfsymmetric-mu> jackdk: Thank you.
<ryantm> selfsymmetric-mu: Is there some particular attrpaths I should tell OfBorg to build for that PR?
<ryantm> selfsymmetric-mu: Like `nodePackages.textlint-plugin-latex` maybe?
<jackdk> HTH mate, it's pretty frustrating
<zeta> i need help with the `permissions section`, `recommended option`: https://hastebin.com/tumexuweke.rb https://github.com/giovanifss/xmonad-brightness
<zeta> how do i do this declaratively in nixos?
ym555 has quit [Read error: Connection reset by peer]
<zeta> i need help with the `permissions section`, `recommended option`: https://hastebin.com/tumexuweke.rb https://github.com/giovanifss/xmonad-brightness
<zeta> help!!!!!
<selfsymmetric-mu> ryantm: Originally what I did was I used the node generation utility to generate these packages independently, but they would be better as dependencies of `textlint`. If built as individual packages, the attributes would look like `nodePackages.textlint-plugin-latex`; and likewise for the remainder in the diff: https://github.com/NixOS/nixpkgs/pull/54443/files
ym555 has joined #nixos
<selfsymmetric-mu> `nodePackages.write-good` is the odd one out in terms of naming convention (it should probably be `textlint-write-good`), but it's not special otherwise.