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
arahael2 has quit [Ping timeout: 246 seconds]
mac10688 has joined #nixos
<mac10688> I tried modifying xorg to update xrandr but it sent me to the shell prompt.
<mac10688> i did `service.xserver.config = "xrandr --output DP-1 --above eDP-1"`
<mac10688> that command works in terminal but I don't know how to run it on startup
<THFKA4> that won't work, you're pasting in the xrandr command, but the syntax for xord.conf will be different
<mac10688> oh
<mac10688> jeez how do people keep up with all of this
arahael2 has joined #nixos
ym555 has quit [Quit: leaving...]
ericsagnes has quit [Ping timeout: 272 seconds]
mexisme has quit [Ping timeout: 245 seconds]
qubasa_ has joined #nixos
<mac10688> I think I will make a xorg.conf file in /etc/X11 and set services.xserver.exportConfiguration = true;
<mac10688> thanks THFKA4 . Hopefully, this next one works
ym555 has joined #nixos
<THFKA4> sure thing, good luck
<mac10688> hmm, there's a /etc/X11/xorg.conf.d file already there and it's pointing to nix/store objects. I wasn't expecting that
qubasa has quit [Ping timeout: 246 seconds]
<THFKA4> that should point to the current xrandr file you made
mexisme has joined #nixos
<THFKA4> i'm guessing that's how that option works
romildo has joined #nixos
arahael2 has quit [Ping timeout: 248 seconds]
arahael2 has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4649b6ef4b5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
mac10688 has quit [Quit: WeeChat 2.4]
ris has quit [Ping timeout: 258 seconds]
romildo has quit [Quit: Leaving]
arahael3 has joined #nixos
ericsagnes has joined #nixos
arahael2 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjg8D
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/98e3b90b6c8 (from 32 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
fusion809 has joined #nixos
judson has quit [Remote host closed the connection]
alex`` has quit [Ping timeout: 248 seconds]
arahael3 has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #62912 → bcc: 0.9.0 -> 0.10.0 → https://git.io/fjgfu
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @ivan to master « bcc: 0.9.0 -> 0.10.0 »: https://git.io/fjg87
o1lo01ol1o has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
<Gopal[m]> Is it possible to install Home Manager and specify which users should be able to use it while I am installing NIxOS itself?
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<clever> m1cr0man: can you update the target branch on your PR?
oborot has joined #nixos
<Gopal[m]> The current approach is installing NixOS first and then booting up to the user to install Home Manager. I'm wondering if the steps could be merged?
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @marsam to master « postgresqlPackages.timescaledb: 1.3.0 -> 1.3.1 »: https://git.io/fjg8A
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #62962 → postgresqlPackages.timescaledb: 1.3.0 -> 1.3.1 → https://git.io/fjgZx
o1lo01ol1o has quit [Ping timeout: 244 seconds]
Copenhagen_Bram has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #62703 → z3: 4.8.4 -> 4.8.5 → https://git.io/fjuuD
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @dtzWill to master « z3: 4.8.4 -> 4.8.5 »: https://git.io/fjg8j
veske has joined #nixos
psy3497 has joined #nixos
silver has quit [Read error: Connection reset by peer]
ym555 has quit [Quit: leaving...]
veske has quit [Quit: This computer has gone to sleep]
ym555 has joined #nixos
kvda has joined #nixos
<fabianhjr[m]> Hi, is there an easy way to know why a package / file was installed?
<fabianhjr[m]> Eg, if I enable the GNOME DE, via the nixos option `services.xserver.desktopManager.gnome3.enabled = true;` it will include some pkgs such as gnome-terminal.
<fabianhjr[m]> However, if there is something in my path or a library I want to know from which pkg it came from. Is there an easy way to de a reverse dependency search?
drakonis_ has joined #nixos
xcthulhu has joined #nixos
xcthulhu has quit [Killed (freenode-connect (The application you are using is no longer permitted to connect to the freenode network. For questions, contact kline@freenode.net))]
clacke_movim has left #nixos [#nixos]
arahael3 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #57103 → pcsx2: add -DXDG_STD build flag → https://git.io/fhh47
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjg48
oborot has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62941 → openvpn: fix static key mini howto url → https://git.io/fjgqV
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjg44
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/30e9ae11b61 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62464 → gnustep.libobjc: 1.9 -> 2.0 → https://git.io/fjE0G
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjg4B
<ashkitten> clever: just realized it's not refetching the archive from NIX_PATH on a rebuild (i've since pushed commits to the repo)
<clever> ashkitten: it will check it again about an hour after the last time it checked
o1lo01ol1o has quit [Remote host closed the connection]
dansho has joined #nixos
<ashkitten> dang
<{^_^}> [nixpkgs] @matthewbauer merged pull request #59803 → nixos/netboot: import -> callPackage → https://git.io/fjYAw
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjg4u
toppler has quit [Ping timeout: 248 seconds]
<clever> [root@system76:~]# nix show-config | grep tarball-ttl
<clever> tarball-ttl = 3600
<clever> ashkitten: exactly 1 hour, but you can change it with a nix.conf entry, or --option
<{^_^}> [nixpkgs] @matthewbauer merged pull request #59795 → samba: fix darwin build → https://git.io/fjYFv
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fjg4z
<ashkitten> clever: the only way to not have it do that would be a channel, which provides a versioning hash for the tarball, yeah?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #59702 → rcs: fix darwin build → https://git.io/fjYG2
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjg4V
<clever> ashkitten: a channel is just a directory with a nixexprs.tar.gz and a binary-cache-url (both are files)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #58941 → rdesktop: enable darwin support without libgssglue and credssp → https://git.io/fjISK
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjg4r
<clever> ashkitten: and then it will update whenever you run nix-channel --update
<clever> so you control when that happens
<ashkitten> ah,
<ashkitten> okay
<ashkitten> well
<ashkitten> hmm
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #58063 → nss: cross compile support → https://git.io/fjf5D
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fjg4i
<{^_^}> [nixpkgs] @matthewbauer merged pull request #58037 → neocomp: init at 2019-03-12 → https://git.io/fjfSq
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjg4X
<ashkitten> i'm trying to think of a way to do this
o1lo01ol1o has joined #nixos
<aleph-> Hmm, always hate how x11 with my nvidia card sometimes blows the resolution up for no reason.
<ashkitten> clever: maybe once i have my server setup again i'll just have nginx host a file for binary-cache-url and proxy the file from github for nixexprs.tar.gz
<aleph-> Which is odd since the resolution isn't blown up right now just 1080x1920...
<ashkitten> clever: would that work?
<aleph-> Grrrh
<clever> ashkitten: it might also work to just give nix-channel a path to a .tar.gz directly
<aleph-> Oh wait no, I remember this issue
<aleph-> Such a weird issue with HDMI.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #56161 → appimage build-support: add xorg.xcbutil* → https://git.io/fhFzo
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjg47
toppler has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #54921 → Use nativeBuildInputs for building Docker images → https://git.io/fh1QH
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjg4d
Zer000 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #53821 → linux_rpi: allow modDirVersion override → https://git.io/fhnYy
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjg4b
o1lo01ol1o has quit [Remote host closed the connection]
freeman42y has quit [Ping timeout: 252 seconds]
<JadoJodo> Is anyone familiar with connecting an Xbox One controller via bluetooth?
<JadoJodo> I'm getting `Connected: Yes/No` toggling in bluetoothctl.
<ashkitten> clever: i don't think it's working
kvda has joined #nixos
jackdk_ has quit [Remote host closed the connection]
<JadoJodo> It might be worth clarifying that this is a non-Kodi install
<ashkitten> er
<ashkitten> hangon
marusich has joined #nixos
<JadoJodo> k
o1lo01ol1o has joined #nixos
ym555_ has joined #nixos
<ashkitten> not you, JadoJodo
ym555 has quit [Ping timeout: 272 seconds]
xkapastel has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cb1d0c44e99 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
drakonis has joined #nixos
mbrgm has quit [Quit: ZNC 1.7.3 - https://znc.in]
mbrgm has joined #nixos
nckx has quit [Ping timeout: 248 seconds]
marusich has quit [Remote host closed the connection]
nckx has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<ar1a> can i have someone have a look at #62939? it's just a short 20 line thing
<{^_^}> https://github.com/NixOS/nixpkgs/pull/62939 (by ar1a, 15 hours ago, open): jost: init at 3.3
pie__ has joined #nixos
o1lo01ol1o has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
oborot has joined #nixos
arahael3 has quit [Ping timeout: 258 seconds]
ym555_ has quit [Quit: leaving...]
stepcut has quit [Ping timeout: 268 seconds]
arahael3 has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
pie__ has quit [Remote host closed the connection]
<ashkitten> almost done building qtwebkit after pulling in the alsa revert.....
<ashkitten> took an hour or so
<ashkitten> oh good, more things to build
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ashkitten> wait... is it not using the binary caches?
<ivan> I patched my nixpkgs to avoid building qtwebkit for calibre or grafana (via phantomjs), recommended
<ashkitten> ivan: oh is that why
<ashkitten> ivan: i was wondering why grafana was building, didn't seem to have any relation to alsa which is the only thing that changed just now....
<ashkitten> ivan: what do you mean patched it to avoid building, though?
pie__ has joined #nixos
<ivan> grafana doesn't really need phantomjs unless you want to save images of your graphs
<ashkitten> ah
<ivan> from grafana/default.nix you can remove phantomjs2 and the one usage of it
<ashkitten> i'll just leave it, i'm more concerned with the time it took to build qtwebkit tho
<ashkitten> why did that even build?
<ashkitten> never had that happen before
<ivan> maybe qtwebkit -> qtmultimedia -> alsaLib
<ashkitten> yeah, ugh
<ashkitten> and now multimc
<ashkitten> i definitely wanted to build everything on my system today
stepcut has joined #nixos
arahael3 has quit [Ping timeout: 245 seconds]
<ashkitten> idk why reverting a commit wouldn't just reuse the previous build results, unless they were already discarded?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62877 → emacs-irony: prebuild irony-server executable → https://git.io/fjz54
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjgBa
arahael3 has joined #nixos
delroth has quit [Quit: WeeChat 2.4]
oborot has quit [Ping timeout: 245 seconds]
<cjpbirkbeck> how do you get the sha256 for a github repo? sorry for asking this again.
<ashkitten> cjpbirkbeck: nix-prefetch-git
<ashkitten> oh, github
<ashkitten> might need nix-prefetch-url with the archive?
<ashkitten> if all else fails, just try to build the derivation with the wrong hash and replace it with the one it errors with
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<cjpbirkbeck> ashkitten, thanks, that worked
stepcut has quit [Ping timeout: 248 seconds]
kvda has joined #nixos
mthst has quit [Ping timeout: 248 seconds]
oida has quit [Ping timeout: 256 seconds]
oida has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> Is it possible to write a default.nix script that pulls the source from github, and runs the build.sh script from that repo?
<DigitalKiwi> I always write over a bunch of an existing sha256 with zeros and get it to error and replace it with the one it wants
stepcut has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
kvda has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #56131 → ipad_charge: enable installation udev rules → https://git.io/fhFYR
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjgBD
kvda has quit [Client Quit]
<li_matrix> does anyone know why the `derivation` builtin doesnt result in infinite recursion?
<gchristensen> li_matrix: why would it?
<li_matrix> because `commonAttrs` and `outputToAttrListElement` both refer to each other
<pie__> li_matrix, where are you expecting infinite recrsion
<pie__> i was slow :
<pie__> p
<pie__> gchristensen, i keep forgetting how hard it is to read moderate complexity nix code that you havent seen yet :I
<pie__> needs more comments at least, sigh
kvda has joined #nixos
<li_matrix> im trying to create a builder that receiver nix as input, so I thought this would be a good start
<li_matrix> also looks like `drvAttrs` is inherited twice by `commonAttrs` ... ahah im a bit confused but ill keep trying
<pie__> li_matrix, ok i think the "simple" answer is laziness
<pie__> i /think/...
<li_matrix> yea I think so too
<pie__> my best guess so far is that https://github.com/NixOS/nix/blob/fb0ad898ed0f1c8d5297f5dc1035b2e6ac7e3632/corepkgs/derivation.nix#L17 might usually not be evaluated strictly
<pie__> at the second level at least
<pie__> you could try printing the result strictly in the repl and see what happens?
alex`` has joined #nixos
<li_matrix> ahh yes I should use the repl more
stepcut has quit [Remote host closed the connection]
drakonis has quit [Quit: WeeChat 2.5]
<pie__> im just trying to simplify this file in my head, im thinking so far that for the sake of this question, most of outputToAttrListElement is just noise
stepcut has joined #nixos
<pie__> and it only gets run on the first output, because of builtins.head
<pie__> so i can just think about substituting a single value
stepcut has quit [Read error: Connection reset by peer]
<gchristensen> also this is probabl ynot a reasonable place to start, li_matrix
<gchristensen> it is like wanting to use GCC and then reading the deepest darkest corners of its code first
stepcut has joined #nixos
<pie__> its called derivation.nix in corepkgs :V
vk3wtf has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
clacke_movim has joined #nixos
<li_matrix> are there any examples of what im trying to do ?
<gchristensen> what are you trying to do/
<li_matrix> pass nix as input to a builder
<pie__> ah crap right, there's recursion though so you can only simplify away the first step
drakonis_ has quit [Ping timeout: 248 seconds]
<gchristensen> just... add nix as an input
<li_matrix> I see lots of `toJson` but I just want the nix code itself
<gchristensen> mysrc = ./foo.nix
<pie__> li_matrix, do you mean youre trying to run nix in the sandbox?
<pie__> just checking, because theres problems with "recursive nix"
<li_matrix> no I want to pass in-scope nix attributes as input for the builder
<li_matrix> literally
<gchristensen> why?
<li_matrix> lol
<pie__> if you want to generate/manipulate nix files, "import from derivation" might be helpful to look into
<pie__> </sidenote>
<li_matrix> why not
<gchristensen> because you can't
<clever> li_matrix: nix-build and most parts of nix-instantiate cant function inside a nix sandbox
<li_matrix> ai dont want to run nix
<gchristensen> your questions don't make much sense, so my hope is getting to the "why" will help your uqestions make sense
stepcut has quit [Ping timeout: 248 seconds]
<li_matrix> to avoid the overhead of json conversion
<gchristensen> why are you converting to json
<pie__> "for the lulz" is a valid reason to do things, but if thats not the reason _what is the end goal_
<clever> li_matrix: there is no way to convert a nix value back into a nix expression, with current nix
<li_matrix> no thats what im trying to avoid
<ashkitten> reading direnv source: i don't understand how any of this works, and there's a piece of code that seems important but just straight up is never referenced from anywhere as far as i can tell
<li_matrix> I could use toJson but Im trying not to
o1lo01ol1o has quit [Remote host closed the connection]
clacke_movim has left #nixos [#nixos]
clacke_movim has joined #nixos
<li_matrix> Id embed the mycelium builder in nix code, and parse nix directly for buider inputs
drakonis_ has joined #nixos
<li_matrix> either that or I implement nix2mycelium directly from nix
<li_matrix> going through json is just wasting cycles
mexisme has quit [Ping timeout: 244 seconds]
<clever> li_matrix: does it need to be a rich format? could it just be a dumb space seperated string?
<li_matrix> well, nix is nix. I want to just pass the code as-is. mycelium is binary so if I convert using a nix function itll just be a vector of bytes
<pie__> (whats mycelium)
<gchristensen> how much data are we talking?
<li_matrix> gchristensen: not much in all likelihood, maybe 1 to 5 kb, but potentially a lot more if the use cases widen
<li_matrix> pie__: my pre-prototype language project
<pie__> oh it sounded familiar for some reason. i guess i havent seen it then
<{^_^}> [nixpkgs] @marsam opened pull request #62973 → flow: 0.100.0 -> 0.101.0 → https://git.io/fjgBp
<li_matrix> there would be embedding both ways. I can see how to call nix from mycelium, using nix cli, but now Im trying to embed mycelium in nix
arahael4 has joined #nixos
<li_matrix> ill just start with toJson if I cant find another way
<li_matrix> im guessing laziness is to blame here also
o1lo01ol1o has joined #nixos
arahael3 has quit [Ping timeout: 246 seconds]
<li_matrix> so a better solution is to write `toMycelium` function
delroth has joined #nixos
<li_matrix> thanks for hearing me, the solution is more clear now
<li_matrix> maybe nix gets better rust support through mycelium, if I work fast enough :P
Arahael has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arahael4 has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<iqubic> So I just installed Raspian on my Raspberry Pi.
<iqubic> Is it possible to SSH into this machine from Nixos?
<pie__> iqubic, please think before you ask
<iqubic> Because I'm thinking I might just use this as an external storage system/server.
<iqubic> pie__: I know. That was a dumb question.
<gchristensen> and more importantly, try
<gchristensen> (equally importantly I guess)
<iqubic> gchristensen: I have no idea how SSH works.
<iqubic> So I'd need to read up on that.
<pie__> iqubic, ok thats a better question
<pie__> (wasnt strictly a question, but now youre thinking)
<iqubic> Can someone point me in the direction of an SSH tutorial?
<pie__> iqubic, do you have a vague idea of how clients / servers work?
<iqubic> Yes.
<iqubic> Also, can I uninstall the Graphical Display Manager from this machine?
<pie__> for basic ssh functionality you just need to know how to set up keys and to specify the host you want to connect to
domogled has joined #nixos
<iqubic> That makes sense.
<pie__> but do you want to expose the machine to the internet?
<pie__> because in that case you probably want to do a bit of hardening, forwarding ports, etc
<iqubic> No.
<iqubic> This is just going to be a local machine.
<iqubic> Erm.. Local network set-up.
<pie__> ok, then look into ssh-keygen, (though really its sufficient for starters to know how to generate an ed25519 key, which will by default get put in a location of your home directory, but it tells you about that), and authorized_keys
<iqubic> I will.
<pie__> running an ssh server is usually as simple as installing it because there will be a default configuration, but you might need to look up some information on specifics of your distribution
xkapastel has quit [Quit: Connection closed for inactivity]
Arahael has quit [Ping timeout: 248 seconds]
<pie__> so since its raspian, you probably want to look at, but not necessarily follow by the letter, a guideon setting up ssh on raspbian
<pie__> and practice a bit
<pie__> maybe do it twice
<pie__> :P
<pie__> iqubic, good luck, report back on your success
<iqubic> I'm going to have a Raspian Server and a NixOS Client.
<iqubic> Is there anything I need to do on the NixOS side of things?
<pie__> ssh clients work more or less the same on all systems (well, ssh servers too but the setup may vary a bit, on nixos you wouldnt set up the configuration file for example, youd use configuration.nix)
<iqubic> I'm not sure how though.
<pie__> iqubic, at some point you might also want to experiment with configuring an ssh server on nixos
<pie__> the man page is never a horrible idea (though man pages can be not great sometimes), but it might be a bit much to start off
<pie__> just look up a decent tutorial on how to ssh to a machine
<pie__> btw there are multiple implementations of ssh i think, usually you want openssh from the openbsd project
Arahael has joined #nixos
<pie__> iqubic, this seems like a decent start https://wiki.archlinux.org/index.php/Secure_Shell
<pie__> iqubic, do something for me, write yourself a todo list for this task based on what ive said above
<pie__> iqubic, the arch wiki and gentoo wiki are usually a decent place for getting input on things
<pie__> iqubic, you got all that?
<pie__> iqubic, i forgot to say, i subscribe to a "there are no dumb questions if they are honest" policy, just ill thought out ones :p
<iqubic> I will write myself a todo list.
<iqubic> First, I want to make sure that the timezone on this machine is correct.
<iqubic> Which it isn't.
<iqubic> Is there a way to set the timezone from the command line?
<pie__> i think you can figure that out
<pie__> iqubic, how would you figure it out
<iqubic> I'm googling it right now.
<pie__> ok. the arch wiki might be a better starting resource though
<pie__> and by starting, i mean more targeted
<pie__> iqubic, hint hint theres a search box at the top right
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<iqubic> Turns out I was mis-understanding the GUI settings prompt.
<pie__> iqubic, so, how did you find out the solution
<pie__> explain to me
<pie__> what the problem was and what you learned
<iqubic> When it gives lists for Areas, that's like the top level of the timezones directory. Selecting Pacific as the Area, populates a the location dropdown with a bunch of islands in the Pacific Ocean.
<iqubic> So, what I did was: I ran the "date" command to see what timezone the machine thought I had set it to and found it thought I had chosen HST. I then looked at all the options in the GUI under "Area" to see if a better option existed than "Pacific" I then selected "US"
ddellacosta has quit [Ping timeout: 248 seconds]
<iqubic> That populated the "Location" dropdown with things like "Alaska" and "Los_Angeles" and "Louisville" and things.
<iqubic> I then selected "Los_Angeles" from there.
Glider_IRC_ has joined #nixos
<iqubic> pie__: Sorry for the wall of text there.
<pie__> that wasnt so bad.
<pie__> it wasnt an exact answer to my question in that its missing the problem statement
<iqubic> Because the "Area" drop down menu is exactly what you'd get if you ran "ls /usr/share/zoneinfo"
cantstanya has quit [Remote host closed the connection]
<pie__> how did you find out you should run the date command to check the timezone
<pie__> or did you know already
<iqubic> I already the date command was likely to be helpful.
<pie__> (im assuming that is in fact a way to do it, since i never needed to mess with that stuff)
<pie__> ok cool.
<pie__> iqubic, just to illustrate, if you start typing timezone in the search field of the arch wiki
Glider_IRC__ has quit [Ping timeout: 248 seconds]
<pie__> it even gives you page suggestions, and check out the first result it drops you at! perfect hit, pretty great no?
<pie__> might not always be so helpful, but its nice when things work :D
kvda has joined #nixos
<iqubic> That is actually a fairly good result.
<pie__> thats what im sayin
<iqubic> It tells me how to check the current timezone, and how to set the new timezone.
<pie__> beats all the copy pasted garbage sparse-content blog posts that are probably spamming google
<iqubic> I agree.
<pie__> there are also good ones but its hard to sift through :I
<iqubic> Now, time to learn something that isn't going to be on the Arch wiki.
<pie__> yeah?
<pie__> what would that be
<iqubic> How do I remove software from a Debian Based System?
<pie__> whatever happened to the ssh project :c
<iqubic> I'm going to be doing that too.
<pie__> pretty easy to solve problem, just think of some decent keywords and google it
<iqubic> I'm just wanting to remove a ton of the more space intensive pre-installed programs from this Raspberry Pi that I won't be using.
<iqubic> I don't need the entire libre-office suite on this Pi.
<pie__> ok, i think you can solve it! now, this is kind of off topic for here, but i think you'll be able to solve these problems. just keep in mind that before you ask a question, other people's time is also valuable, and consider whether youve done due diligence, before you press enter
<pie__> i completely understand that things are hard and confusing in the beginning, and there's a lot of material
<pie__> which is why its so important for you to learn the methods
kyren has joined #nixos
<pie__> i needed a lot of hand holding myself, but at some point you end up getting bootstrapped, and can figure a lot of things out yourself
<iqubic> Thank you.
<pie__> just keep thinking "why am i stuck? what do i know? what am i missing? what do i need to do to get to the next step?
<pie__> iqubic, ok?
<iqubic> I understand.
<pie__> "why do i think my assumptions correct? why might they be wrong? how can I CONFIRM my assumptions? how can i FALSIFY my assumptions? how can i decrease the search space?"
<pie__> there's reasons science works.
<iqubic> Are there any downsides to having a single user who has root privalage on this Pi?
<pie__> iqubic, i want you to save this backlog and review it later
<pie__> see, open ended questions like that are probably fine
wfranzini has quit [Remote host closed the connection]
<iqubic> I save all backlogs.
<iqubic> I'll just copy this over to a different file for now.
<pie__> yeah but some things are worth reviewing :p
<pie__> questions like Is X Y? can probably be answered by just checking, answers like "How do I X?" can probably be looked up (perhaps looking up individual steps and gluing them together", thing start getting interesting at "what if" "why", etc
<pie__> but this is getting very meta and things wont always be that clear cut, so ill leave it at that
<iqubic> I basically just asked a "What if" question.
<pie__> iqubic, yeah.
<pie__> i dont have an answer, and maybe thats a better fit for the debian channel
<pie__> iqubic, alternatively the question might be more specific than it needs to be
<pie__> "are there any downsides to having a single root user?"
swerlk has quit [Ping timeout: 245 seconds]
<maurer> pie__: Yes, see also every paper on capability based systems
<pie__> iqubic, im telling people to tell you to go back and review what i said next time you ask a really simple to look up question ;P ok?
<iqubic> Sure.
<pie__> iqubic, just to be clear, im not trying to discourage you, just do your due diligence. i look forward to seeing your growth.
<iqubic> I know.
<pie__> ok now i need to get back to work
<pie__> iqubic, by the way, if your machines can take it, i highly encourage learning to use some sort of virtualization (virtualbox is probably not a bad start), it will make experimentin g alot less nervewracking
<iqubic> My machines can take it.
<pie__> also start taking notes if you dont already
<iqubic> I've been taking notes.
<pie__> its helpful for both you and for other people when you start reporting issues "oh i had a pain point there, maybe we can do something about this"
<pie__> ok good :)
<iqubic> I just asked ERC to start putting these logs into a separate place from all the other logs I have.
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fjgR2
<pie__> iqubic, so, if you ever get around to it, as your first exercise, i suggest installing somthing (maybe even nixos) in a virtualbox VM and setting up an ssh server so you can ssh into it from the outside machine., figure out snapshots, but if you install nixos in the inner machine rollbacks will also take oyu a long way
<pie__> ok i really need to stop giving you more homework, you have plenty for now
<iqubic> I'm going figure out SSH on actual hardware.
<iqubic> I'm not too concerned about screwing up this machine, as I can always just reinstall the OS if needed.
<pie__> sure, VMs can be pretty concenient anyway though
<pie__> convenient
<pie__> but if you do what i said afterwards, that will be the first step towards additional experimentation
<iqubic> I understand.
<iqubic> But I generally like to do that on actual hardware.
swerlk has joined #nixos
<pie__> its just my opinion man :p
Glider_IRC_ has left #nixos ["Leaving"]
<pie__> i found things strangely more tangible if i had hardwre to look at, even though that didnt really influence anything. this week was the first time i started using VMs seriously while migrating my system to ZFS through an external disk. i was booting the raw external disk in virtualbox, which is kind of cool i think.
<iqubic> Nice.
<iqubic> I'm planning on buying an external hard-drive to attach to this Pi as a permanant thing.
<pie__> having a second machine to irc on is good in case you get stuck with a broken bootloader ;D
<iqubic> I totally understand. I know have a second machine.
<iqubic> My Pi.
<pie__> any by you i mean me
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62965 → jellyfin: 10.3.4 -> 10.3.5 → https://git.io/fjgc4
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjgRK
<pie__> still broke one thing even though i got almost everything set up properly through the VM.
Arahael has quit [Ping timeout: 268 seconds]
domogled has quit [Ping timeout: 268 seconds]
Arahael has joined #nixos
ilya-fedin has quit [Quit: Connection closed for inactivity]
<pie__> iqubic, i had to figure a lot of this meta stuff out by myself because i didnt have anyone to help me most of the time. and i still get lazy sometimes. youll find a lot of really great people here, so you need to force yourself to start relying on your own problem solving ingenuity
<pie__> and developing it
<pie__> iqubic, you have to think about the methodology of solving problems as much as the actual problem solving itself
<pie__> "ok, i was stuck, X told me the solution, now that I know the solution, is there anything i could have changed in my problem solving strategy, with the things i knew at the time, to solve the problem myself?"
<pie__> and the point that question becoes useful is useful, is when youre stuck next time, emd up being able apply that "diff" to a new problem you run into
<pie__> *and the point the answer to that questoin becomes useful,
<pie__> is when youre stuck next time and can apply the "diff" to your new problem
<pie__> you also have to develop your body of knowledge in parallel with that of courses, which is the more tedious thing
<pie__> not much use to thinking though, if you have nothing to think about ;P
<pie__> (which is why i think people with good memory are cheating! :( /me glares at clever in a friendly way :P)
<clever> lol
sb0 has quit [Quit: Leaving]
pie__ has quit [Ping timeout: 258 seconds]
Arahael has quit [Ping timeout: 248 seconds]
Ariakenom has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arahael has joined #nixos
toppler has quit [Ping timeout: 252 seconds]
toppler has joined #nixos
kvda has joined #nixos
Copenhagen_Bram has quit [Quit: So long, and thanks for all the fish! 2.4 Weechat is best Weechat]
palo1 has joined #nixos
adamantium has joined #nixos
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
<ashkitten> can't figure out why firefox is failing to build.... what's a good pastebin to dump the output on for someone to look at?
hyper_ch2 has joined #nixos
<etu> ashkitten: cat dumpfile.txt | curl -F 'f:1=<-' ix.io
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61366 → deepin.dde-file-manager: init at 4.8.6.2 → https://git.io/fjWmx
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fjg0Y
<ashkitten> i, uh
<ashkitten> it's not giving me uh
<ashkitten> a url
<etu> Hm?
reinhardt has joined #nixos
<ashkitten> HTTP/1.1 200 OK // [..] // Content-Length: 0
<clever> ashkitten: nix-env -iA nixos.gist ; gist -p dumpfile.txt
qqlq has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/4649b6ef4b5 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<etu> There's also wgetpaste: wgetpaste dumpfile.txt :)
reinhardt_ has joined #nixos
<Izorkin> etu: checked pr?
<etu> Izorkin: There was some unanswered questions there regarding closure size
<Izorkin> etu: I do not know how to check it (
<clever> make[4]: write error: stdout
<ashkitten> what does that even mean
reinhardt has quit [Ping timeout: 248 seconds]
<clever> ashkitten: there was a recent mention of how you cant re-open /dev/stdout while in the nix sandbox
<clever> ashkitten: the makefile might be trying to redirect > /dev/stdout
<ashkitten> christ
<ashkitten> ok
<clever> ashkitten: what changes to make it start to fail?
<ashkitten> well how is hydra getting away with building firefox
<ashkitten> clever: not using the binary cache
<ashkitten> (because i had to pull in the alsa revert)
<clever> ashkitten: it may also be down to which version of nix is being used to build it, there was a recent change to introduce pty's into the sandbox to fix stdout
<ashkitten> hm
<ashkitten> well i'm on nixos-unstable, just with the alsa revert since pulseaudio broke
bahamas has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c3de4e83d9f (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nschoe has joined #nixos
endformationage has quit [Ping timeout: 258 seconds]
<ashkitten> hmm
pie__ has joined #nixos
<Izorkin> How to check closure size?
jonaswouters has joined #nixos
<ashkitten> clever: well, seems like i didn't need the alsa revert anyways i just jumped to conclusions
<clever> Izorkin: du -h --max=0 -c $(nix-store -qR /run/current-system) | sort -h | tail
<Izorkin> thanks
<{^_^}> [nixpkgs] @peterhoeg opened pull request #62974 → zoneminder: add perlPackages.DeviceSerialPort for zmtrigger.pl → https://git.io/fjg0E
mkoenig_ has joined #nixos
rauno has joined #nixos
mkoenig has quit [Remote host closed the connection]
mkoenig_ has quit [Remote host closed the connection]
alex`` has quit [Ping timeout: 245 seconds]
Ariakenom has quit [Ping timeout: 268 seconds]
kvaster has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
alex`` has joined #nixos
mkoenig has joined #nixos
wfranzini has joined #nixos
dwdr has joined #nixos
derangednerd[m] has joined #nixos
Arahael has quit [Ping timeout: 272 seconds]
Arahael has joined #nixos
cfricke has joined #nixos
<etu> Izorkin: I'm currently at work, so checking later
kvaster has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjg0y
<Izorkin> etu: ok, thanks.
Arahael has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.03 « pantheon.wingpanel: cleanup »: https://git.io/fjg0Q
kvaster has joined #nixos
schjetne has quit [Ping timeout: 268 seconds]
Tucky has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @m1cr0man to master « bind: Remove deprecated flag from rndc-confgen »: https://git.io/fjg0b
Arahael has joined #nixos
<{^_^}> [nixpkgs] @vcunat closed pull request #62972 → bind: Remove deprecated flag from rndc-confgen → https://git.io/fjglA
eal has joined #nixos
is_null has joined #nixos
knupfer has joined #nixos
kvaster has quit [Quit: Konversation terminated!]
kvaster_ has joined #nixos
Jackneill has joined #nixos
orivej has joined #nixos
oida has quit [Ping timeout: 256 seconds]
veske has joined #nixos
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
cfricke has quit [Ping timeout: 258 seconds]
Avaq has joined #nixos
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
Avaq has quit [Ping timeout: 246 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schjetne has joined #nixos
veske has quit [Quit: Leaving]
oida has joined #nixos
veske has joined #nixos
alp has joined #nixos
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
Jackneill has quit [Remote host closed the connection]
civodul has joined #nixos
ciil has joined #nixos
Jackneill has joined #nixos
arahael1 has joined #nixos
is_null_ has joined #nixos
bahamas has quit [Ping timeout: 248 seconds]
Arahael has quit [Ping timeout: 272 seconds]
is_null has quit [Ping timeout: 258 seconds]
mexisme has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #62940 → mpich: 3.3 -> 3.3.1 → https://git.io/fjgqW
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjgEr
Shoubit has joined #nixos
eal has left #nixos ["ERC (IRC client for Emacs 26.2)"]
lemonpie_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
polmaan has quit [Ping timeout: 248 seconds]
polmaan has joined #nixos
goibhniu1 has joined #nixos
rauno has quit [Ping timeout: 252 seconds]
cfricke has joined #nixos
hmpffff has joined #nixos
<manveru> looks like insomnia on 19.03 is broken :|
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
nD5Xjz_ has quit [Ping timeout: 246 seconds]
v88m has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #62937 → Update lilypond* → https://git.io/fjgLV
<{^_^}> [nixpkgs] @7c6f434c pushed 7 commits to master: https://git.io/fjgEM
Synthetica has joined #nixos
v88m has joined #nixos
nD5Xjz has joined #nixos
__monty__ has joined #nixos
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
lemonpie has joined #nixos
alter-schjetne has joined #nixos
schjetne has quit [Ping timeout: 244 seconds]
Tucky has quit [Quit: WeeChat 2.5]
thc202 has joined #nixos
alter-schjetne has quit [Ping timeout: 272 seconds]
Ariakenom has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/814c4c1b9d3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hyper_ch has quit [Quit: ZNC 1.7.3 - https://znc.in]
veske has quit [Quit: This computer has gone to sleep]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
hyper_ch has joined #nixos
kvaster_ has quit [Ping timeout: 245 seconds]
<dminuoso> Perhaps someone here can give me a hint. I have a thinkpad t480s, and whenever I plug it into my thinkpad docking station my ethernet link does not come up. Resetting it with `ip set link ... down` followed by `ip set link ... up` brings the interface up just normally.
m0rphism has joined #nixos
dansho has quit [Remote host closed the connection]
arahael2 has joined #nixos
ThatDocsLady has joined #nixos
dansho has joined #nixos
arahael1 has quit [Ping timeout: 272 seconds]
<__monty__> dminuoso: Maybe it's a network manager setting? I use connmand and it doesn't switch to ethernet if there's any active traffic.
clacke_movim has left #nixos [#nixos]
cjpbirkbeck has quit [Quit: Leaving]
<dminuoso> __monty__: Same hardware?
<dminuoso> __monty__: It's an interesting thought though because I always have a wifi connection.
Jetien_ has joined #nixos
<__monty__> No, much older thinkpad.
sigmundv has joined #nixos
<__monty__> I do think connmand does this on purpose though. So as not to interrupt ongoing traffic.
Tucky has joined #nixos
Makaveli7 has joined #nixos
<dminuoso> __monty__: Okay that helped me. So it seems as long as the internal ethernet adapter is set to up this issue persists.
<dminuoso> Thank you, perhaps I can figure out why that is. :)_
arahael3 has joined #nixos
arahael2 has quit [Ping timeout: 252 seconds]
kvda has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #62975 → nixos/documentation: nixos-help: use w3m(1) by default → https://git.io/fjguu
fendor has joined #nixos
veske has joined #nixos
fschulze has joined #nixos
Soo_Slow has joined #nixos
arahael4 has joined #nixos
<{^_^}> [nixpkgs] @flokli closed pull request #62975 → nixos/documentation: nixos-help: use w3m(1) by default → https://git.io/fjguu
<{^_^}> [nixos-homepage] @edolstra closed pull request #226 → Update download.tt → https://git.io/ffC9P
ilya-fedin has joined #nixos
nikivi has joined #nixos
InFlames has joined #nixos
arahael3 has quit [Ping timeout: 272 seconds]
<fschulze> hi! I'm pretty new to nixos. I have trouble enabling Xfwm. All I get is an undecorated xterm window after the GUI login. I have services.xserver.enable = true; services.xserver.desktopManager.xfce.enable = true; services.xserver.desktopManager.xfce.enableXfwm = true; services.xserver.desktopManager.default = "xfce";
<fschulze> I've also tried others like twm and it's always the same.
<jasongrossman> fschulze: Can you paste your whole configuration into a pastebin please?
<fschulze> jasongrossman: question is how, I guess easiest is first installing sshd. I have firefox on that machine, but don't know how to copy and paste the config there
<jasongrossman> fschulze: OK ... if the rest of it (apart from the lines you've already quoted) are the same as the default then maybe you don't need to bother.
<fschulze> jasongrossman: I followed some guide a while ago with a zfs setup, but besides that there isn't much there yet. I had i3 running for a while and then upgraded to 19.03. I'm not sure anymore whether the 19.03 upgrade broke it or not. I think I was on 18.03 before
<jasongrossman> fschulze: About pastebins, there are command line tools like pastebinit, which NixOS has available.
<jasongrossman> fschulze: nix-env -iA nixos.pastebinit
<jasongrossman> fschulze: But if you don't want to use that, then just confirm that there isn't aren't any config lines left over from i3.
<jasongrossman> fschulze: Also make sure you don't have services.xserver.desktopManager.xterm.enable enabled.
<fschulze> jasongrossman: https://pastebin.com/zev51bJR
<fschulze> I just noticed stateVersion at the end is still 18.03
<jasongrossman> fschulze: Thats' good. That setting is a misnomer. Ignore it.
<jasongrossman> fschulze: Aha. You haven't got anything set for services.xserver.windowManager.default
<jasongrossman> fschulze: I'm not sure that that's the problem, but it's worth trying.
is_null_ has quit [Ping timeout: 268 seconds]
Anton-Latukha has joined #nixos
<fschulze> I tried that with Xfwm now and it says it can't find it and doesn't list any
<jasongrossman> Try "none"!
cfricke has quit [Quit: WeeChat 2.5]
<fschulze> jasongrossman: same
<jasongrossman> I'll try your settings here. I'll have to reboot. ...
toppler has quit [Ping timeout: 246 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
<sphalerite> Is there a way to "reset" a USB device in software, like unplugging it and plugging it back in?
<sphalerite> (can't do it physically because it's internal)
is_null has joined #nixos
<pie__> sphalerite, sounds annoying :C
<pie__> sphalerite, first thing that comes to mind is reloading the kernel module :I
<pie__> theres gotta be a better way
<sphalerite> well I've gone and "remove"d it via sysfs
<sphalerite> not sure I can get it back though :D
jasongrossman has joined #nixos
<jasongrossman> I have bad news. When I use those Xfce options it works perfectly here. Including xfwm.
clacke_movim has joined #nixos
<sphalerite> I think #nixos is probably the channel where I've seen things working perfectly considered bad news the most often :p
<jasongrossman> :p
<fschulze> jasongrossman: in the meantime I tried enabling i3 again and it doesn't work either. I also booted into the old setups and the last one working is 18.03 with i3. can I see what config was used when I booted into an old one? I want to check whether I switched away from i3 together with the 19.03 upgrade or whether I upgraded before
<jasongrossman> Huh.
<jasongrossman> As for old configs, you have to make our own backups of them. The configuration is not part of the system (perhaps counter-intuitively).
<fschulze> then I don't have those anymore
<fschulze> but it looks like 19.03 broke stuff for me
<jasongrossman> I'm logging out now in order to reboot into a window manager I know how to use!
jasongrossman has quit [Client Quit]
toppler has joined #nixos
hmpffff_ has joined #nixos
hmpffff has quit [Read error: Connection reset by peer]
dansho has quit [Quit: Leaving]
<jasongrossman[m]> I'm back ... although I'm stuck. I guess you've hit a bug in 19.03.
<fschulze> jasongrossman[m]: are there logs I could look into to see what is going on?
jasongrossman has joined #nixos
<fschulze> jasongrossman: are there logs I could look into to see what is going on?
<fschulze> jasongrossman: or can I downgrade to 18.03?
<fschulze> by switching the channel maybe?
<jasongrossman[m]> fschulze: There must be. Out of my expertise though.
<jasongrossman[m]> But hang on.
<jasongrossman[m]> Not many people use Xfce (I think) but surely lots of people use i3.
<jasongrossman> fschulze: You can easily downgrade, yes.
<jasongrossman[m]> So this is odd.
<jasongrossman> sudo nix-channel --add https://nixos.org/channels/nixos-18.09 nixos
<jasongrossman> sudo nix-channel --update
<jasongrossman> sudo nixos-rebuild switch
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jasongrossman> (or 18.03 or whatever)
init_6 has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #62903 → haskellPackages.insert-ordered-containers: fix build → https://git.io/fjzhr
<{^_^}> [nixpkgs] @teto pushed commit from @Izorkin to master « haskellPackages.insert-ordered-containers: fix build »: https://git.io/fjgzO
logzet has joined #nixos
<fschulze> jasongrossman: which windowmanager do you use?
<jasongrossman> fschulze: I actually tested your config options using the unstable channel, so you could try that. Although I think it's unlikely to work.
<{^_^}> [nixpkgs] @teto merged pull request #62960 → vimPlugins.indentLine: init at 2019-02-22 → https://git.io/fjgGd
<{^_^}> [nixpkgs] @teto pushed commit from @jonringer to master « vimPlugins.indentLine: init at 2019-02-22 »: https://git.io/fjgz3
<jasongrossman> I use stumpwm. Lots of people here use xmonad. Some use sway, and surely some use i3.
Synthetica has quit []
arahael4 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @teto merged pull request #62961 → vimPlugins: update plugins → https://git.io/fjgZf
<{^_^}> [nixpkgs] @teto pushed commit from @jonringer to master « vimPlugins: update plugins »: https://git.io/fjgzG
schjetne has joined #nixos
<jasongrossman> fschulze: I really am stumped. Your computer's behaving as though some other setting in your configuration is breaking your window manager ... but I can't see anything wrong with your config. And it's hardly a long file! I hope I'm being dumb and someone else will notice something. I suggest you show it here again, maybe at a different time of day when someone smarter than me is looking.
ilmu has joined #nixos
mexisme has quit [Ping timeout: 268 seconds]
<fschulze> jasongrossman: thanks anyway!
* fschulze is trying with 18.09
is_null has quit [Ping timeout: 248 seconds]
kvda has joined #nixos
arahael4 has joined #nixos
mexisme has joined #nixos
ilmu has quit [Ping timeout: 252 seconds]
Synthetica has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
averell has quit [Ping timeout: 272 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #62101 → throttled: fix for Intel CPU throttling issues → https://git.io/fjRZc
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fjgzP
fendor_ has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2930 → Flake evaluation cache → https://git.io/fjzrR
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/fjgzD
<{^_^}> [nix] @edolstra pushed 0 commits to eval-cache: https://git.io/fjgzy
is_null has joined #nixos
<fschulze> jasongrossman: with 18.03 i3 works, with 18.09 and 19.03 not, now trying xfce with 18.03
<{^_^}> [nixpkgs] @teto merged pull request #55475 → prusa-slicer: renamed from slic3r-prusa3d and updated 1.41.3 -> 2.0.0 → https://git.io/fhH6K
<{^_^}> [nixpkgs] @teto pushed 2 commits to master: https://git.io/fjgzb
InFlames has quit [Ping timeout: 252 seconds]
<Taneb> What's the rule for which Linux kernels go into nixpkgs?
<etu> Taneb: Usually the supported ones from upstream and the default one is the LTS one from upstream
<Ashy> should match the list on kernel.org right?
<etu> Pretty much yeah
<Taneb> OK, thanks :)
<etu> (ofc with some delays because of channel updates and tests etc)
<tazjin> Did I see a thing once that made it possible to build dpkg-packages from derivations or was that a dream?
veske has quit [Quit: This computer has gone to sleep]
fschulze has quit [Quit: Leaving.]
veske has joined #nixos
is_null has quit [Ping timeout: 272 seconds]
<Lem_> hi, I'm looking for a way to set postgres listen_address to '', instead of '*' or 'localhost'.
<etu> Lem_: Listen to empty?
Peter_Storm has left #nixos [#nixos]
<etu> Lem_: Wouldn't localhost do the same thing?
arahael4 has quit [Ping timeout: 244 seconds]
<Lem_> nope, postgres documentation states that localhost will use tcp only for loopback
<Lem_> empty will do unix-sockets only
<manveru> Lem_: services.postgresql.enableTCPIP = false
<manveru> that's the default anyway
<manveru> hmm
<manveru> oh, nevermind, that still allows localhost for some reason
<Lem_> yeah
<Lem_> thats my problem, I figured out I can set * or localhost
<etu> Lem_: I see :/
<immae> did you try to put " "? (as space)
<manveru> `listen_addresses = '${if cfg.enableTCPIP then "*" else "localhost"}'`
<manveru> that's no good
<immae> Ah yeah
<manveru> and it's in a `let` block, so can't be changed either
arahael4 has joined #nixos
<manveru> well, not without rewriting the systemd.services.postgresql.script
<Lem_> I'm new to nixos and its community (tried it yesterday for the first time). should I create an issue on github for that?
<manveru> definitely
<Lem_> will do once not in the office anymore
<manveru> i think there should be a new config option called services.postgresql.listenAddress that takes priority over enableTCPIP...
knupfer has joined #nixos
<manveru> don't want to break backwards-compatibility, but i think that could be marked deprecated with 19.09
<immae> Lem_: it’s quite an easy change, so you may be able to submit a PR yourself even. Just don’t break backward compatibility
<immae> ha ha
psy3497 has quit [Ping timeout: 244 seconds]
arahael4 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @markuskowa opened pull request #62976 → octopus: 8.4 -> 9.0 → https://git.io/fjggr
xkapastel has joined #nixos
<marek> when creating a package with FetchFromGithub, how to force to init submodules recursively as well?
<aveltras> i have a server running nixos with one container inside running apache, how can i expose apache in the container to the web ?
arahael4 has joined #nixos
linarcx has joined #nixos
<{^_^}> [nix] @CSVdB opened pull request #2937 → FuzzyMatching works → https://git.io/fjgg9
<immae> marek: fetchSubmodules = true;
arahael4 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @markuskowa opened pull request #62977 → hwloc: 2.0.3 -> 2.0.4 → https://git.io/fjggN
veske has quit [Quit: This computer has gone to sleep]
Neo-- has quit [Ping timeout: 252 seconds]
ryantrinkle has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fjg2v
<marek> immae: <3
Arahael has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #62442 → freecad: move docs to correct location → https://git.io/fjEBm
<__monty__> aveltras: I set up an nginx instance to proxy all my containers.
<__monty__> *on the container host.
<talyz> Lem_: A temporary workaround would be services.postgresql.extraConfig = "listen_addresses = ''"
<Lem_> talyz: ah thanks. will test ist later. wasn't sure what happens if a line exists multiple times
<talyz> Lem_: It works for me - I think it just goes with whatever is specified last in the config :)
Arahael has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b02feb63fcb (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
veske has joined #nixos
is_null has joined #nixos
bahamas has joined #nixos
Arahael has joined #nixos
<m1cr0man> Hey. If I have a list-type config option like firewall.allowedTCPPorts is there a way for me to append to that list implicitly? My use case is that I have an importable nix config for apache, and I only want to open that port when I import that config.
acarrico has joined #nixos
<m1cr0man> I was thinking this might work: `networking.firewall.allowedTCPPorts = builtins.concatLists [networking.firewall.allowedTCPPorts [80]]` (I haven't tried it yet)
<marek> immae: htm, I'm using fetchSubmodules = true; but it is not fetched
<marek> I'm fetching by tag tho
<immae> m1cr0man: just do `networking.firewall.allowedTCPPorts = [80];`, it will be appended
<immae> marek: is it declared in your .submodules file?
<m1cr0man> oh sweet!
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<marek> but it looks like I'm using it correctly https://gist.github.com/mmahut/d72a82b9e87c06e8841964bdbea9cd32
<marek> immae: it's in .gitmodules
<immae> yes right
<immae> Let me have a look
<marek> oh maybe fetchModules?
<marek> nah, I don't see that used anywhere
<aveltras> __monty__: thx for the info, i think i'll do that then
<immae> marek: ah, during the grep I grasped a « For some reason, `fetchSubmodules` doesn't work when using `rev = "v${version}";`, » :/
Arahael has quit [Ping timeout: 258 seconds]
<marek> immae: ah interesting!
<marek> I will open an issue too
<{^_^}> [nixpkgs] @sbourdeauducq opened pull request #62978 → amp: init at 2019.06.11 → https://git.io/fjg2Q
<__monty__> aveltras: Note that this is specifically because I have many nginx instances on the box. If that container's the only one there's probably a simpler/more robust solution.
stepcut has joined #nixos
<marek> immae: hm, not even if I put a hash in rev
<immae> marek: pkgs/build-support/fetchgithub/default.nix
<aveltras> __monty__: my intended use case is to have a unique nixos server and serve several small apps on it by using nixops to deploy those apps as containers, so i think nginx would fit here
<immae> It’s because when you have a rev you fetch a tarball
drakonis has joined #nixos
<__monty__> Specifically the nginx on the host proxies to the containers by way of their multicast (avahi) domain.
<marek> immae: I see hrmm
<marek> immae: any way to fetchsubmodes but still tight to a verion?
<aveltras> __monty__: do you have a simple example of the nginx proxying on the host ? proxying to containers by looking at the host address of the requests
<immae> marek: you can try to consider your repo as a git one instead, in which case it won’t try to be smart and download a tarball
clacke_movim has left #nixos [#nixos]
<immae> fetchgit (builtins) instead of fetchFromGitHub
<immae> builtins.fetchGit sorry (caps)
drakonis_ has quit [Ping timeout: 268 seconds]
<immae> marek: sorry, the builtins doesn’t fetch submodules. But lib.fetchgit does and doesn’t attempt tarballs
Arahael has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<__monty__> aveltras: nginx.conf extract, I don't use nixos for this, http://ix.io/1Lv7
drakonis_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
Seraxis has joined #nixos
drakonis has joined #nixos
<aveltras> __monty__: nice, i'll try to do something similar, thanks for the help !
is_null has quit [Ping timeout: 272 seconds]
<__monty__> np
<Seraxis> Hey there! NixOS noob with a question. Why use 'nix-env'? If I interpret the manual and wiki right using 'nix-env' loses the atomic safety and backup potential that an environment level package affords you, am I understanding that correctly? tyia
<__monty__> Seraxis: Mostly on non-nixos or for one-off installs (though nix-shell may be more suitable).
kvda has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #62915 → cargo-make: 0.19.4 -> 0.19.5 → https://git.io/fjgTW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjgas
kvda has quit [Client Quit]
<Seraxis> ah I see, I could see the usefulness in it as a transient non system state package installer, I got confused by it's presentation as an option without discussion of it's tradeoffs
clacke_movim has joined #nixos
<Seraxis> it seems like how application installs in docker containers arent strictly stateful? i know that's a weird comparison but is that understanding good?
Arahael has quit [Ping timeout: 245 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
<__monty__> Not very familiar with docker. Nix-env's definitely a stateful approach to package management. Comparable to traditional package managers.
<__monty__> Note that this is not necessarily true though, for example, I use a declarative config on non-nixos so I use nix-env to install/update that.
<Seraxis> I'm not sure what you mean by non-nixos, can you clarify? just other linux distributions with nix?
<Seraxis> ohhhh wait now I get it, I remember reading that individual users environment configs get created and updated when installing packages under some directory
<Seraxis> the configs are updated and kept under some directory, that is
kvda has joined #nixos
<jboy> When I write a derivation for a c++ program, do I have to define a buildInput for the C++ standard library?
<gchristensen> no
stepcut has quit [Ping timeout: 268 seconds]
<yorick> " Please downgrade your bazel installation to version 0.21.0 or lower to build TensorFlow!" argh
Arahael has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
is_null has joined #nixos
acarrico has quit [Ping timeout: 272 seconds]
<pie__> yorick, christ
<pie__> yorick, yay nix? :P
polman has quit [Ping timeout: 244 seconds]
<pie__> andi-, the sponsors should probably not be at the bottom of the page
polman has joined #nixos
endformationage has joined #nixos
o1lo01ol1o has joined #nixos
akaWolf has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
Arahael has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dd14c5b21d6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixos-homepage] @domenkozar closed pull request #273 → Mobile friendliness → https://git.io/fjG2Z
alex`` has quit [Ping timeout: 245 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fjgVU
<gchristensen> samueldr: w.r.t. that PR ^ was there big lifts left t odo?
alex`` has joined #nixos
kvaster_ has joined #nixos
<marek> hrm, anyone with rust packaging experience? getting error: the lock file /build/jormungandr/Cargo.lock needs to be updated but --frozen was passed to prevent this
<marek> I guess the upstream cargo.lock is broken?
<aanderse> manveru: i updated to bundix 2.4.2 and now gemset.nix is adding groups = ["default"]; to everything. quick look over readme etc... doesn't show any mention of that. how do i get the gemset to respect the groups = [ "ldap" "openid" ] i set in my default.nix?
hmpffff_ has quit [Quit: nchrrrr…]
polman has quit [Ping timeout: 244 seconds]
halogenandtoast has joined #nixos
<manveru> aanderse: the "default" group is set when it has no group, the gemset.nix always includes all groups because it doesn't know what your bundlerEnv is
bahamas has quit [Ping timeout: 272 seconds]
<halogenandtoast> I am trying to figure out the right way to update a pinned nix packages version, I ran nix-prefetch-url --unpack https://github.com/NixOS/nix/archive/0baf7dc25e0a5fcd25dcd9d9cb737c682d01e4e7.tar.gz which is the commit sha for the 2.2 release (I think this is the right thing to do). And then pinned rev with that sha and set the sha256 to the output of the prefetch command, but I get:
<halogenandtoast> error: opening file '/nix/store/x4753dhjyqkcxxa6hhi0qypc12k3hqza-source/default.nix': No such file or directory
<halogenandtoast> when I try to run nix-build
<manveru> halogenandtoast: it's NixOS/nixpkgs
<halogenandtoast> manveru: yeah I just realized that :[
<manveru> :)
<halogenandtoast> round 2, thanks
polman has joined #nixos
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
o1lo01ol1o has joined #nixos
toppler has quit [Ping timeout: 248 seconds]
<aanderse> manveru: that makes sense. some of the generated groups include "test", which is causing me some problems. how can i force bundix to not include "test" in the groups?
<manveru> there's no option for that... sorry
<manveru> how does it cause problems?
fendor_ has quit [Quit: Leaving]
silver has joined #nixos
Arahael has joined #nixos
<aanderse> test only dependencies are included and that caused a problem
<manveru> if you specify the groups in the bundlerEnv, it shouldn't build or activate those gems
<halogenandtoast> Any suggestions for handling this particular issue: https://gist.github.com/halogenandtoast/b4bf82e82d5f84655b51cadda8b9bc56, I assume the issue is "Hunk #3 FAILED at 183."
<manveru> aanderse: i.e. `groups = ["default" "ldap" "openid"];`
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
toppler has joined #nixos
Arahael has quit [Ping timeout: 268 seconds]
fendor has quit [Read error: Connection reset by peer]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
matthias3 has joined #nixos
matthias3 is now known as mawis
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
mawis has quit [Client Quit]
kloenk has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #62973 → flow: 0.100.0 -> 0.101.0 → https://git.io/fjgBp
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjgV9
Arahael has joined #nixos
thc202 has quit [Ping timeout: 248 seconds]
thc202 has joined #nixos
hoijui has joined #nixos
orivej has joined #nixos
Zer000 has quit [Ping timeout: 245 seconds]
Arahael has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @bjornfor merged pull request #58565 → cgit: add support for default filters → https://git.io/fjTpd
<{^_^}> [nixpkgs] @bjornfor pushed 2 commits to master: https://git.io/fjgwG
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/fjgwS
sb0 has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #62945 → vlc: 3.0.7 - security! → https://git.io/fjgm4
<{^_^}> [nixpkgs] @veprbl merged pull request #62952 → ErlangR21: 21.3.7.1 -> 21.3.8.3 → https://git.io/fjg3Y
<{^_^}> [nixpkgs] @veprbl pushed commit from @ankhers to master « erlangR21: 21.3.7.1 -> 21.3.8.3 (#62952) »: https://git.io/fjgrk
knupfer has quit [Ping timeout: 250 seconds]
is_null has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #62979 → vimPlugins.coc-nvim: 0.0.67-> 0.0.69 → https://git.io/fjgrq
<{^_^}> [nixpkgs] @fpletz merged pull request #62917 → ipfs: 0.4.20 -> 0.4.21 (module, drop deps.nix) → https://git.io/fjgTu
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fjgrY
<{^_^}> [nixpkgs] @romildo merged pull request #62617 → caja-dropbox: fix python dependency → https://git.io/fjEAC
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/fjgrC
Arahael has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #62609 → caja-with-extensions: init → https://git.io/fjEdb
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/fjgrl
<{^_^}> [nixpkgs] @teto merged pull request #62964 → luaPackages.luadbi: 0.7.1 -> 0.7.2 → https://git.io/fjgcc
<{^_^}> [nixpkgs] @teto pushed commit from @Izorkin to master « luaPackages.luadbi: 0.7.1 -> 0.7.2 »: https://git.io/fjgr8
linarcx has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @teto closed pull request #62298 → luaPackages.luadbi: 0.7.1 -> 0.7.2 → https://git.io/fj0dM
hoijui has quit [Quit: Leaving]
arahael1 has joined #nixos
reinhardt_ has quit [Quit: Leaving]
Arahael has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @teto closed pull request #62663 → luaPackages.luadbi: 0.7.1 -> 0.7.2 → https://git.io/fjucE
<{^_^}> [nixpkgs] @globin merged pull request #62153 → avahi: set service directory and refactor module → https://git.io/fjR9b
<{^_^}> [nixpkgs] @globin pushed 6 commits to staging: https://git.io/fjgrD
arahael1 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #62977 → hwloc: 2.0.3 -> 2.0.4 → https://git.io/fjggN
<{^_^}> [nixpkgs] @FRidh pushed commit from @markuskowa to master « hwloc: 2.0.3 -> 2.0.4 »: https://git.io/fjgrd
Makaveli7 has quit [Quit: WeeChat 2.4]
<gchristensen> is there a library function for extracting dapx7w6y96pyqvv0j26zq9v7p50863a1 from /nix/store/dapx7w6y96pyqvv0j26zq9v7p50863a1-squashfs.img
m1sosoup has joined #nixos
<alex``> do you know a tool to record screencast?
<goibhniu1> alex``: I haven't used it in a few years, but I found SimpleScreenRecorder works great. OBS is excellent, but might be overkill.
<immae> alex``: would you be happy with a script combining ffcast (to define a region), ffmpeg (to record) and convert (to possibly convert to gif)?
<alex``> ffcast is from ffmpeg team?
<immae> (a very small hand made script that does the job)
<alex``> yep
<immae> no it’s separate
<alex``> thanks
<alex``> immae: the script does not record audio?
<immae> ah no sorry
bahamas has joined #nixos
<immae> it may be able to but you have to check with ffmpeg docto add the necessary parameters
<alex``> ffmpeg flags are complicated lol
<alex``> you could get rid of imagemagick dep no?
<alex``> using ffmpeg directly
<immae> well, convert is only used at the last line
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-19.03: https://git.io/fjgos
<alex``> afaik it can output images
<alex``> and gif
<ToxicFrog> gchristensen: what do you mean by "extracting"? You have the path as a string and you want just the hash?
<gchristensen> yeah
<immae> alex``: I think it didn’t work well but it’s old, so ’m not sure
<immae> but feel free to improve it :)
<immae> (if I remember correctly, I had very poor quality with the images from ffmpeg)
justanotheruser has quit [Quit: WeeChat 2.4]
drakonis_ has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
is_null has joined #nixos
newspecies has joined #nixos
<newspecies> I am running nix-shell and I installed stack using the command "nix-shell -p stack". Is it possible to generate the default.nix of this shell?
drakonis has quit [Ping timeout: 250 seconds]
drakonis1 has joined #nixos
nschoe has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
arahael1 has joined #nixos
clacke_movim has left #nixos [#nixos]
revtintin has quit [Quit: WeeChat 2.4]
<{^_^}> [rfcs] @globin merged pull request #43 → [RFC 0043] RFC Steering Committee Rotation → https://git.io/fjskS
<{^_^}> [rfcs] @globin pushed to master « [RFC 0043] RFC Steering Committee Rotation (#43) »: https://git.io/fjgoo
clacke_movim has joined #nixos
is_null has quit [Remote host closed the connection]
init_6 has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
<infinisil> newspecies: You mean a shell.nix that you can `nix-shell` to get an equivalent of `nix-shell -p stack`?
<jD91mZM2> Strange issue: `fusermount -u ...` works. `nix-shell -p fusermount --run 'fusermount -u ...'` complains about "Permission denied". I guess it's because fusermount needs a setsuid wrapper
<infinisil> jD91mZM2: Yeah, `which fusermount` will tell you it's in /run/wrappers
<infinisil> Outside the nix-shell
<infinisil> And it'll be a store path in the nix-shell
<jD91mZM2> Problem is I need to use fuse as a library, and one can only use libraries inside of nix-shell
orivej has quit [Ping timeout: 248 seconds]
<newspecies> i want to generate these nix file and share it with other @infinisil
<infinisil> jD91mZM2: You could do `shellHook = "export PATH=/run/wrappers/bin:$PATH"`
<jD91mZM2> infinisil: I guess... BTW can I search where fuse comes from somehow?
is_null has joined #nixos
<infinisil> newspecies: Well a shell.nix file that makes stack available would be something like this: `with import <nixpkgs> {}; mkShell { buildInputs = [ stack ]; }`
<{^_^}> [nixpkgs] @teto opened pull request #62981 → Mptcp tools → https://git.io/fjgox
<infinisil> jD91mZM2: The library?
<jD91mZM2> infinisil: Well more like where the wrapper is installed in the first place?
<infinisil> jD91mZM2: Hm, it's done as part of NixOS in the activation phase
<{^_^}> [nixpkgs] @teto merged pull request #62979 → vimPlugins.coc-nvim: 0.0.67-> 0.0.69 → https://git.io/fjgrq
<{^_^}> [nixpkgs] @teto pushed to master « vimPlugins.coc-nvim: 0.0.67-> 0.0.69 »: https://git.io/fjgoj
<jD91mZM2> infinisil++
<{^_^}> infinisil's karma got increased to 103
<{^_^}> [nixpkgs] @marsam opened pull request #62982 → pgcenter: 0.6.1 -> 0.6.2 → https://git.io/fjgKe
<infinisil> jD91mZM2: So you'll see it in /run/current-system/activation
<infinisil> Um, /run/current-system/activate
<infinisil> jD91mZM2: And if you want to not depend on NixOS, there's #60289
<{^_^}> https://github.com/NixOS/nixpkgs/pull/60289 (by Infinisil, 6 weeks ago, closed): [Experiment] Separate security wrappers from NixOS
<jD91mZM2> Nice, thanks!
Tucky has quit [Quit: WeeChat 2.5]
hyper_ch2 has quit [Quit: Page closed]
adamantium has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
shibboleth has joined #nixos
v88m has quit [Ping timeout: 245 seconds]
acarrico has joined #nixos
<alex``> immae: I think you could use eval directly, from the ffcast output
<alex``> instead of cut
<alex``> eval $(ffcast 'X=%{format} Y=%{format}' etc)
<immae> ah, it’s recetn
<immae> I don’t remember this formatting facilities for ffcast
<alex``> no it’s an example
<alex``> idk the exact format
arahael2 has joined #nixos
domogled has joined #nixos
arahael1 has quit [Ping timeout: 248 seconds]
drakonis1 has quit [Ping timeout: 252 seconds]
drakonis1 has joined #nixos
ym555 has joined #nixos
orivej has joined #nixos
drakonis has joined #nixos
v88m has joined #nixos
drakonis1 has quit [Read error: Connection reset by peer]
arahael2 has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
drakonis has quit [Ping timeout: 258 seconds]
arahael2 has joined #nixos
gratinb has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
gratin has joined #nixos
wfranzini has quit [Read error: Connection reset by peer]
wfranzini has joined #nixos
dsx has quit [Quit: dsx]
AK has quit [Ping timeout: 256 seconds]
AK has joined #nixos
is_null has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @elseym opened pull request #62983 → plex: 1.15.6.1079 -> 1.15.8.1198 → https://git.io/fjg6f
dsx has joined #nixos
work_ has joined #nixos
pie__ has quit [Ping timeout: 258 seconds]
hoijui has joined #nixos
<joepie91[m]> clever: trying to nixos-install from my live system now, and https://github.com/NixOS/nixpkgs/issues/42557#issuecomment-500896669 -- any ideas?
<joepie91[m]> there seem to be various other occurrences: https://github.com/NixOS/nixpkgs/issues/53582#issuecomment-496026834
<joepie91[m]> but I can't quite isolate what causes it
<joepie91[m]> other than that the common factor seems to be the use of the `--store` flag
<joepie91[m]> in `nix build`
alp has quit [Ping timeout: 245 seconds]
is_null has joined #nixos
rprije has quit [Remote host closed the connection]
erasmas has joined #nixos
rprije has joined #nixos
o1lo01ol1o has joined #nixos
pmiddend has joined #nixos
<pmiddend> I've got a makefile that puts the target binaries in "bin/linux", not "bin". Is there a way to tell Nix about that, other than manually specifying an installPhasE?
domogled has quit [Quit: domogled]
arahael2 has quit [Ping timeout: 246 seconds]
fusion809 has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
sigmundv has quit [Ping timeout: 245 seconds]
arahael2 has joined #nixos
is_null has quit [Ping timeout: 245 seconds]
is_null has joined #nixos
kvaster_ has quit [Ping timeout: 272 seconds]
<dminuoso> Cache population of autoPatchelf is painstakingsly slow. It takes upwards 10 minutes to build the cache, which makes fast rebuilding very annoying. What can I do to improve the performance?
<gchristensen> you could manually use patchelf
veske has joined #nixos
leotaku has quit [Ping timeout: 258 seconds]
Henson has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
arahael3 has joined #nixos
cjpbirkbeck has joined #nixos
<dminuoso> gchristensen: Mmm. This is going to be annoying, but I guess I cant get around it. :)
arahael2 has quit [Ping timeout: 245 seconds]
wfranzini has quit [Remote host closed the connection]
leotaku has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #62950 → temporal_tables: init at 1.2.0 → https://git.io/fjgOa
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @ggPeti to master « temporal_tables: init at 1.2.0 »: https://git.io/fjg6j
knupfer has joined #nixos
domogled has joined #nixos
<Ankhers> Could someone please merge https://github.com/NixOS/nixpkgs/pull/62626?
<{^_^}> #62626 (by ankhers, 1 week ago, open): rebar3: 3.10.0 -> 3.11.1
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #62626 → rebar3: 3.10.0 -> 3.11.1 → https://git.io/fjEpa
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjgim
asheshambasta_m has joined #nixos
<Ankhers> Thank you!
<joepie91[m]> pmiddend: I've never found a way other than a custom `mv` into bin
<ivan> https://github.com/NixOS/nixpkgs/pull/62957 is also good for merge
<{^_^}> #62957 (by Ralith, 23 hours ago, open): vulkan-validation-layers: 1.1.101.0 -> 1.1.106.0
<gchristensen> Ankhers: thank you :)
arahael3 has quit [Ping timeout: 248 seconds]
<Taneb> Is there a way to set up a Hydra jobset such that it will evaluate but not start any builds without manual intervention
arahael3 has joined #nixos
newspecies has quit [Ping timeout: 256 seconds]
<marek> imports = [ "../hardware/${config.networking.hostName}.nix" ];
<marek> is there a better way to do this?
<marek> I want to include these per hostname
<blackriversoftwa> Hello, I'm doing a cross-compiled build of glibc for armv7l. The main derivation output doesn't have libgcc_s.so. Is this shared object disabled somewhere for cross-compilation?
<blackriversoftwa> (I'm using nixpkgs 19.03)
is_null has quit [Ping timeout: 258 seconds]
ilmu has joined #nixos
m1sosoup has quit [Quit: Leaving]
arahael4 has joined #nixos
arahael3 has quit [Ping timeout: 248 seconds]
bigvalen has quit [Quit: ZNC by prozac - http://znc.sourceforge.net]
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #62984 → redmine: 4.0.3 -> 4.0.4, 3.4.10 -> 3.4.11 → https://git.io/fjgij
bigvalen has joined #nixos
fendor has joined #nixos
Arahael has joined #nixos
rfold has joined #nixos
arahael4 has quit [Ping timeout: 245 seconds]
knupfer has quit [Ping timeout: 250 seconds]
rprije has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dywedir opened pull request #62985 → android-file-transfer: 3.8 -> 3.9 → https://git.io/fjgPU
<matthewbauer> blackriversoftwa: that should be provided by buildPackages.gcc.cc.lib
<matthewbauer> it'
<matthewbauer> it's not part of glibc
rprije has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<{^_^}> [nixpkgs] @caadar opened pull request #62986 → Add Bash completions for ZFS. → https://git.io/fjgPI
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f6fc49d0bfd (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jonaswouters has quit [Quit: Connection closed for inactivity]
is_null has joined #nixos
toppler has joined #nixos
ilmu has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
<blackriversoftwa> matthewbauer: ok thanks
<o1lo01ol1o> I have a stupid expression problem; in the following gist, I'm trying to build a derivation from a codebase for a hydra job and I can't figure out how to get some of the derivations available in my default.nix to the build commonad. Can anyone tell me what I'm doing wrong? https://gist.github.com/o1lo01ol1o/b0322132bf2d34cbc5f43f379b797aaa
asheshambasta_m has quit [Quit: Leaving.]
ilmu has joined #nixos
<eacameron> Has anyone had success installing vmware player on Nixos? I'm trying to run the `.bundle` file that they give you for installing on linux but it errors out almost immediately
drakonis_ has quit [Ping timeout: 252 seconds]
veske has quit [Quit: This computer has gone to sleep]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
ym555 has quit [Quit: leaving...]
Jetien_ has quit [Ping timeout: 245 seconds]
<blackriversoftwa> mattewbauer: but that shared object is for the build platform, not the host platform
<marek> ok, so if I understand it correctly, imports can't depend on the config
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ilmu has quit [Ping timeout: 248 seconds]
<blackriversoftwa> matthewbauer: if I just look at the glibc derivation for x86_64, then libgcc_s.so is indeed under /lib
<marek> any other idea how to include it with a value from config?
<blackriversoftwa> but on the cross-compiled armv7l gcc it is not
<blackriversoftwa> and it doesn't seem to be in any of the outputs for gcc or buildPackages.gcc either
<infinisil> marek: Indeed they can't
Arahael has quit [Ping timeout: 245 seconds]
InFlames has joined #nixos
<infinisil> marek: You can include all hosts files, but in each file control whether you apply the config with a `mkIf (config.networking.hostName == "foo") { ... }`
arahael1 has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c780db5337e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
anton has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @bdesham opened pull request #62987 → exiftool: 11.48 -> 11.50 → https://git.io/fjgPy
<matthewbauer> hmmm maybe try "libgcc" derivation
lovesegfault has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
arahael1 has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #62988 → redmine: 4.0.3 -> 4.0.4, 3.4.10 -> 3.4.11 [backport] → https://git.io/fjgPQ
drakonis_ has joined #nixos
<blackriversoftwa> some of the executables I've cross-compiled depend on libgcc_s.so but it doesn't seem to have been built anywhere
<ivan> eacameron: are you sure virt-manager can't do what you want
<blackriversoftwa> I'm building libgcc now to see if it's in there
<ivan> virtmanager I mean
takeda has joined #nixos
takeda has quit [Read error: Connection reset by peer]
<ivan> eacameron: vmware needs to build and load kernel modules and I don't know if that would even work inside an FHS environment
Matthieu_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #62989 → pythonPackages.cli-helpers: 1.2.0 -> 1.2.1 → https://git.io/fjgPd
asheshambasta_m has joined #nixos
asheshambasta_m has quit [Max SendQ exceeded]
ilmu has joined #nixos
alp has joined #nixos
asheshambasta_m has joined #nixos
<mdash> this nixos host seems to have forgotten how to fetch things from cache.nixos.org when doing nixos-rebuild. If I do 'nix build /nix/store/alqz1kbb88q04zclgrvkjad727y2p5i1-perl-5.28.1' it fetches from cache just fine
<mdash> what should I be checking on?
takeda has joined #nixos
takeda has quit [Read error: Connection reset by peer]
<ivan> mdash: does cache.nixos.org resolve?
<ivan> nixos-rebuild switch --option substituters 'https://cache.nixos.org/' --option trusted-public-keys 'cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY='
takeda has joined #nixos
takeda has quit [Read error: Connection reset by peer]
takeda has joined #nixos
takeda has quit [Read error: Connection reset by peer]
pmiddend has quit [Quit: WeeChat 2.5]
clacke_movim has left #nixos [#nixos]
clacke_movim has joined #nixos
takeda2 has joined #nixos
<ivan> mdash: you can also try rm -rf ~/.cache/nix
<ivan> or maybe you messed up your /etc/nix/nix.conf bad?
takeda has joined #nixos
takeda has quit [Read error: Connection reset by peer]
<takeda2> After looking on the web I'm unable to find a solution to this, I'm wondering if there is a correct way to use buildGoModule with package that uses a private repo. In buildGoPackage I was able to replace fetchgit with fetchgitPrivate and that worked, but it doesn't look like this can be done with buildGoModule
<mdash> ivan: mmm, i'd forgotten those were command line args too, let's see how that does
<mdash> i did have cachix configured
<mdash> seems like that did the trick
work_ has quit [Quit: Connection closed for inactivity]
arahael1 has joined #nixos
ilmu has quit [Ping timeout: 248 seconds]
InFlames has quit [Ping timeout: 246 seconds]
<eacameron> ivan: What's virtmanager?
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #62213 → conmon: 0.0.1pre52_6905a4d -> 0.2.0 → https://git.io/fj0mN
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @saschagrunert to master « conmon: 0.0.1pre52_6905a4d -> 0.2.0 »: https://git.io/fjgXC
<srhb> eacameron: I think the right term is something like qemu frontend. I think qemu comes with tooling to convert most vm formats to something that'll run on qemu (preferably with kvm?)
<srhb> eacameron: Might even be directly compatible.
arahael1 has quit [Ping timeout: 248 seconds]
ris has joined #nixos
<eacameron> hi srhb! Hm that sounds interesting. I only thought to use vmware player because it is much faster than virtualbox and it seems to work on Ubuntu? Could qemu have the "performance" improvements that vmware supposedly offers over VB?
<srhb> eacameron: hi :) I'm not aware of any real performance benefits of any of them iff they use proper virtualization, like kvm.
<gchristensen> virtualbox is definitely known to be tricky
<srhb> But qemu-kvm is certainly not slow. I find that the GUI integration is a bit hit and miss at times though..
arahael1 has joined #nixos
<ar> eacameron: it's not that vmware is much faster than virtualbox. it's more of a virtualbox being slower than everything else
<eacameron> ar haha
<eacameron> In that case I may try this qemu-kvm idea
<srhb> At least I know that works ootb on NixOS.
<eacameron> Are there docs for it? I've never used it.
pie__ has joined #nixos
rprije has quit [Remote host closed the connection]
<srhb> eacameron: Yes, but I find that on eg. a laptop, the easiest way to get going is with virt-manager which provides a gui for vm creation etc. `man qemu` is a bit long :-)
rprije has joined #nixos
<eacameron> srhb: Excellent I'll try that! Thank you
Soo_Slow has quit [Remote host closed the connection]
arahael2 has joined #nixos
arahael1 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #62983 → plex: 1.15.6.1079 -> 1.15.8.1198 → https://git.io/fjg6f
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fjgXy
romildo has joined #nixos
Matthieu_ has quit [Ping timeout: 245 seconds]
qqlq has quit [Quit: ZNC 1.7.3 - https://znc.in]
arahael2 has quit [Ping timeout: 246 seconds]
asheshambasta_m has quit [Quit: Leaving.]
qqlq has joined #nixos
bahamas has quit [Quit: leaving]
arahael2 has joined #nixos
ThatDocsLady has quit [Ping timeout: 258 seconds]
arahael2 has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 245 seconds]
<romildo> Is it possible to add a commit to someone's else pull request? I would like to add a fix for https://github.com/NixOS/nixpkgs/pull/62494 (from r-ryantm), and give a chance for others to review the fix before merging the PR.
<{^_^}> #62494 (by r-ryantm, 1 week ago, open): papirus-icon-theme: 20190501 -> 20190521
johnny101 has quit [Ping timeout: 268 seconds]
<__monty__> romildo: It is if you're a maintainer and they've checked the "give maintainers push access" while submitting the PR.
<__monty__> Otherwise you'll have to ask the submitter for permissions on their repo.
<__monty__> You could of course submit a PR to the branch on their repo : )
<romildo> __monty__, do you mean a maintainer of the affected package? If so, I am not.
<bsima> romildo: maintainer of the repo
<bsima> romildo: best bet is just to submit a PR to their branch on their repo
is_null has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
zeta_0 has joined #nixos
is_null has joined #nixos
<romildo> The repo is just nixpkgs. I am a (new) committer.
<__monty__> romildo: The PR is between the nixpkgs repo and their fork of that repo. You can PR their repo in turn.
<__monty__> You have to fork nixpkgs first of course but I assume you've done that since you're talking of contributing.
fendor has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
<pie__> what would it take to override a raw derivation to build something with a different src?
arahael2 has joined #nixos
<pie__> rPackages dont seem to have any sane way to override something
<{^_^}> [nixpkgs] @fpletz opened pull request #62990 → matrix-synapse: 0.99.5.2 -> 1.0.0 → https://git.io/fjg1c
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
xkapastel has quit [Quit: Connection closed for inactivity]
arahael2 has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
is_null has quit [Ping timeout: 272 seconds]
delroth has quit [Quit: WeeChat 2.5]
arahael2 has joined #nixos
o1lo01ol1o has joined #nixos
<ris> i'm trying to figure out what to do about pythonPackages.cmd2_8 (aka cmd2 "old")
delroth has joined #nixos
<ris> presumably its existence is due to a desire to keep a cmd2 that is supported on py27
<ris> but the problem is it (or rather its tests) got broken by the bump of pyparsing 2.3.0 -> 2.3.1
<ris> (c78bf91587a4692cc852c004866e83fdb7020f53)
drakonis has quit [Ping timeout: 244 seconds]
Shoubit has quit [Ping timeout: 268 seconds]
PLPD-Bot has joined #nixos
<ris> now... that "breakage" seems to be down to a "bug fix" in pyparsing https://github.com/pyparsing/pyparsing/blob/2809cc975277e5b8c9160e1bac903d414eab305d/CHANGES#L100
arahael2 has quit [Ping timeout: 248 seconds]
work_ has joined #nixos
<ris> so it _could_ be argued that those failing tests should be skipped as they're due to expecting overly-specific results from a third party package...
work_ has quit [Client Quit]
<domenkozar[m]> mdash: how did that happen with cachix?
<domenkozar[m]> maybe very old cachix?
arahael2 has joined #nixos
hoijui has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
domogled has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e829aeefa35 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
arahael2 has quit [Ping timeout: 245 seconds]
ZaraChimera has left #nixos [#nixos]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #62991 → papirus-icon-theme: 20190501 -> 20190521 → https://git.io/fjg1i
arahael2 has joined #nixos
<{^_^}> [nixpkgs] @eraserhd opened pull request #62992 → plan9port: build everything on Darwin → https://git.io/fjg1P
is_null has joined #nixos
Thra11 has joined #nixos
lovesegfault has quit [Ping timeout: 245 seconds]
is_null has quit [Remote host closed the connection]
lovesegfault has joined #nixos
romildo has quit [Quit: Leaving]
arahael2 has quit [Ping timeout: 245 seconds]
<marek> how come nix-env --rollback -p /nix/var/nix/profiles/system doesn't reload services?
<marek> or do I need to rollback and switch?
<Izorkin> etu: check latest update PR and comment
<aanderse> Izorkin: thanks for doing the research on that :)
arahael2 has joined #nixos
ks0ne has joined #nixos
acarrico has quit [Ping timeout: 248 seconds]
hmpffff has joined #nixos
<Izorkin> aanderse: how to check - need move package re2c and bison to nativeBuildInputs or buildInputs ?
<aanderse> Izorkin: bison and re2c should be in nativeBuildInputs
<Izorkin> aanderse: ok, thanks. Rechecked pr?)
<aanderse> looks like oci8 has re2c in the buildInputs and i'm guessing that could be removed...
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #62907 → pg-safeupdate: init at 1.2 → https://git.io/fjgeW
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @steve-chavez to master « pg-safeupdate: init at 1.2 »: https://git.io/fjg15
<aanderse> yeah with the way buildPecl was modified by you i think re2c will no longer be required on oci8
ilya-fedin has quit [Quit: Connection closed for inactivity]
<aanderse> if you're unable to test oci8 i can
<Izorkin> aanderse: PR updated? please check oci8
johnny101 has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #62993 → beignet: 1.3.2 -> unstable-2018.08.20 → https://git.io/fjg1x
<aanderse> Izorkin: you removed a few valgrindPcreSupport options. i'm not sure why
<aanderse> i don't know what they do
<aanderse> oh...
<aanderse> nevermind
<aanderse> i see
<aanderse> sorry
Seraxis has quit [Read error: Connection reset by peer]
Seraxis has joined #nixos
lem0n4de has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
arahael2 has quit [Ping timeout: 258 seconds]
xelxebar has quit [Remote host closed the connection]
arahael2 has joined #nixos
xelxebar has joined #nixos
<Athas> I have a problem with building unstable, where I get the error
<Athas> builder for '/nix/store/75sxcn605fsqr3jgbf70chn8550rvk4j-compiler-rt-7.1.0.drv' failed to produce output path '/nix/store/qx4w4841grng03q819hmaj315j7a9w6r-compiler-rt-7.1.0'
<Athas> A few lines above that, I see
<Athas> Removing empty /nix/store/qx4w4841grng03q819hmaj315j7a9w6r-compiler-rt-7.1.0/ and (possibly) its parents
<Athas> So... something is deleting the directory? But what is doing that?
lem0n4de has quit [Quit: Page closed]
arahael2 has quit [Ping timeout: 244 seconds]
<manveru> well, if it's empty, it's probably not what you wanted anyway...
arahael2 has joined #nixos
shibboleth has quit [Quit: shibboleth]
<joepie91[m]> hmmmm. when exporting an FHS user env from a package definition, there is no way to communicate the version of the software contained therein?
dejanr has joined #nixos
<joepie91[m]> looking at https://github.com/NixOS/nixpkgs/blob/2c5f92a7238cbc8241c936fbc70194a2936a23ca/pkgs/applications/altcoins/mist.nix which shows up without a version in the package search
<joepie91[m]> and https://nixos.org/nixpkgs/manual/#sec-fhs-environments does not document a version attribute
<marek> is the sha256 of https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz changing? it should not or?
<{^_^}> [nix] @edolstra pushed 2 commits to github-test: https://git.io/fjgMR
<joepie91[m]> also, what is `pname`? doesn't seem to be documented
<joepie91[m]> but lots of packages use it...
<joepie91[m]> (used in mkDerivation)
<dejanr> hi all, i have this derivation for pragmata pro https://github.com/dejanr/dotfiles/blob/master/nix/config/nixpkgs/overlays/90-apps/pragmatapro/default.nix what bothers me is manually downloading and putting it inside store
<marek> joepie91[m]: that's the package name
<manveru> joepie91[m]: pname is the name of the package and used in combination with version to build the name
<{^_^}> [nix] @edolstra opened pull request #2939 → Add tests for GitHub flakes → https://git.io/fjgMz
<Thra11> Is it possible to combine pkgsStatic and pkgsCross to cross-compile a statically linked package?
<manveru> so if you pass both `pname` and `version`, `mkDerivation` will combine them to `name` :)
<joepie91[m]> is this documented somewhere?
<dejanr> is there a better way, i would like to keep this behind some authentication, and be prompted during nixos-rebuild
ricekrispie has quit [Quit: YEET]
<joepie91[m]> (entirely unrelated question: what's the current status on flakes?)
<{^_^}> [nixpkgs] @romildo opened pull request #62994 → cbatticon: 1.6.8 -> 1.6.9 → https://git.io/fjgMV
<{^_^}> [nixpkgs] @kalbasit merged pull request #62982 → pgcenter: 0.6.1 -> 0.6.2 → https://git.io/fjgKe
<{^_^}> [nixpkgs] @kalbasit pushed commit from @marsam to master « pgcenter: 0.6.1 -> 0.6.2 (#62982) »: https://git.io/fjgMr
<{^_^}> [nix] @burke opened pull request #2940 → Make etc/profile.d/nix.sh idempotent → https://git.io/fjgMK
<manveru> joepie91[m]: regarding fhs, there's no version, but passthru is possible
Havvy has quit [Read error: Connection reset by peer]
<manveru> joepie91[m]: so you could say `buildFHSUserEnv { name = "foo"; passthru = { version = "123"; }; }`
<joepie91[m]> ah, right
<manveru> and no, i don't know where any of this is documented... at some point you stop hoping for docs and just read the source :P
toppler has quit [Ping timeout: 272 seconds]
* joepie91[m] heads for the papercut thread
<{^_^}> [nixpkgs] @rasendubi opened pull request #62995 → melpa-stable-packages: remove unstable packages → https://git.io/fjgMP
<clever> joepie91[m]: point NIX_PATH to a real directory, not a tar URL
veske has joined #nixos
<joepie91[m]> clever: I don't think it was pointing to a tar URL? either way I "fixed" the problem by installing a barebones configuration, then booting into it, and installing my actual config from within the booted system
<joepie91[m]> but this definitely looks like a bug in Nix :/ my best guess is that it stores the fetched tarballs in a configuration in the nix store of the live system, and then tries to build into the nix store of the target system, and then loses its shit because the tarballs in question are not within the nix store of the target system
arahael2 has quit [Ping timeout: 244 seconds]
knupfer has joined #nixos
<joepie91[m]> and it therefore concludes that they are "not in the Nix store", even though it's just in a *different* Nix store
drakonis_ has quit [Ping timeout: 258 seconds]
toppler has joined #nixos
wfranzini has joined #nixos
acarrico has joined #nixos
<clever> joepie91[m]: the error implies that something was calling builtins.fetchTarball and that has bugs with --store
<joepie91[m]> clever: right, fetchTarball is used in various places in my config
<joepie91[m]> but that seems like a pretty serious bug
<joepie91[m]> is there some sort of canonical issue for this? all I could find was desperate users :)
<joepie91[m]> (and no explanation like this at all)
cjpbirkbeck has quit [Quit: Leaving]
ricekrispie has joined #nixos
<clever> joepie91[m]: the work-around is to use nix-copy --to local?root=/mnt/ /nix/store/foo
<clever> joepie91[m]: to copy each output from a fetchTarball
<{^_^}> nix#2405 (by cleverca22, 39 weeks ago, open): builtins.fetchTarball breaks under local?root=
<clever> joepie91[m]: and it seems i already opened an issue for exactly this
niten` has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Profpatsch opened pull request #62996 → Skaware 2019-06 → https://git.io/fjgMN
hio has joined #nixos
<hio> guix vs nix .. compare.. Go!
<gchristensen> nix is Nix and guix is scheme
<gchristensen> they're pretty similar
* joepie91[m] diverts all the issue threads
<manveru> nix has steam and guix has... emacs? :)
<c00w> Isn't guix also gnu and only free software?
<hio> ok, so....which one wins
<gchristensen> hio: your favorite
<makefu> RMS would always choose free software
<joepie91[m]> clever: could you add your explanation and workaround to your issue thread?
<hio> RMS is a bit too much on the commie side
<joepie91[m]> hio: might I remind you that you are asking this in #NixOS :o)
<gchristensen> hio: you're probably not going to get us to bite like you want
<hio> gchristensen: he literally is though
* gchristensen shrugs
<c00w> He also likes parrots.
<gchristensen> hio: you should try both and then decide
<hio> so .. I tried both nix and guix
<gchristensen> our opinion is not so relevant
<hio> I dont really like either of them because they both kinda miss the point
<gchristensen> okay, that is fine, sounds like neither is what you want
<hio> I mean that nix should offer me something like nix install debian
<gchristensen> eh
<makefu> ehhhhh
<c00w> hio: chromebooks have that now I think.
<clever> joepie91[m]: just looked back at the original error i quoted, it makes no mention of what the storepath is, so the work-around is suddenly more complex
<c00w> As does windows?
<gchristensen> makefu, c00w don't bite :P
<o1lo01ol1o> I have a derivation foo defined such that, if I drop into a nix-shell and run "ghc bar baz", the project builds. Is there a way to pass just the environment of food to the "buildInputs" of mkDerivation? I basically need to run "ghc bar baz" to build the project but if I add foo to the build inputs of a derivation, the derivation tries to build without the necessary flags
<c00w> k
<makefu> k
<gchristensen> but yeah, chromebook and windows are pretty cool for their Linux integrations
<clever> gchristensen: i was recently looking into the windows bootloader, and how to configure it to boot grub
<gchristensen> oh wow :)
<clever> gchristensen: and at least on efi systems, thats trivial, and grub can then boot something like my kexec images
<gchristensen> :O
veske has quit [Quit: This computer has gone to sleep]
<joepie91[m]> clever: even then, *some* information on workarounds is better than none :)
<manveru> hio: what'd be the point of that? unless debian started building their stuff with nix it'd be the same as buildFHSUserEnv, no?
<clever> joepie91[m]: done
<joepie91[m]> clever: thanks :)
<clever> gchristensen: there are also other examples ive found, that are like chainload in grub, you just shove a 512 byte copy of the MBR at the windows bootloader, and it runs it
<clever> gchristensen: but that relies on having stage 1.5 in another partition
<hio> manveru: because it's not supposed to be a sandbox. I mean that nix should allow me to reinstall everything from 0 to debian or from 0 to opensuse with one command as if each were a simple package
drakonis has joined #nixos
<clever> gchristensen: i also stumbled upon something interesting, windows can now boot from a .vhdx image on an ntfs partition
shibboleth has joined #nixos
<clever> dont worry, i'm not going to switch back to windows :P
<gchristensen> :P
Seraxis has quit [Read error: Connection reset by peer]
Seraxis has joined #nixos
<clever> i was mostly looking into how to boot linux, when you only have windows, with no external media, and no ability to flash a disk image
inquisitiv3 has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
arahael2 has joined #nixos
Izorkin has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @jb55 opened pull request #62997 → bitlbee-discord: fix build → https://git.io/fjgDc
<inquisitiv3> I'm currently installing NixOS. If I've created a volume and mounted it at `/mnt`, will there be any problems with permissions or creations of directories if I would create the directory `/mnt/home/user/[files]`?
arahael2 has quit [Ping timeout: 245 seconds]
<inquisitiv3> I've a *.nix file with all my system wide settings that's version controlled. The file will be imported in `/etc/nixos/configuration.nix`. Where should I place the file during installation?
<inquisitiv3> Context for my question ^
<clever> inquisitiv3: if you use relative paths in configuration.nix, it doesnt really matter
<clever> inquisitiv3: i just have a git repo at /etc/nixos/nixcfg and then i do imports = [ ./nixcfg/amd-system.nix ];
<inquisitiv3> clever: I'm trying to avoid having to use git with root priviligies.
<clever> inquisitiv3: imports = [ ../../home/clever/nixcfg/amd-system.nix ];
<inquisitiv3> So there isn't any problem creating the home directory before installation and creation of the user?
<clever> inquisitiv3: youll want to chown -R the dir after you boot, to make sure you own it
<avn> clever: I found it funny impot ./hosts/$hostname/default.nix ;) I have template configuration.nix.in in my git ;)
<clever> thats about it
<clever> avn: you can omit the default.nix part, since thats the default!
arahael2 has joined #nixos
<inquisitiv3> clever: Thanks! That's what I looked for :)
mmlb has joined #nixos
averell has joined #nixos
<Thra11> What's the difference between nixpkgs.pkgsCross.armv7l-hf-multiplatform.pkgsStatic.hello and nixpkgs.pkgsStatic.pkgsCross.armv7l-hf-multiplatform.hello ?
mthst has joined #nixos
<clever> Thra11: one should be using dynamic linking, the other static
Synthetica has quit [Quit: Connection closed for inactivity]
<Profpatsch> hio: Come back when you’ve actually understood what nix is and/or does :)
alan[m] has joined #nixos
<Profpatsch> We can help you understand, but your statements show that you clearly haven’t grokked the idea yet.
<Thra11> clever: So what does the pkgsStatic in the second one do? Does it not affect the output?
<Thra11> clever: or the first... which is which?
<clever> Thra11: oh, i didnt notice it in both
<clever> Thra11: yeah, i'm not sure what it will do
<Thra11> clever: ah ok.
arahael3 has joined #nixos
domogled has joined #nixos
<Thra11> nix seems to accept either, but I don't think they produce the same result.
<Thra11> I guess I'll wait and see what it builds...
arahael2 has quit [Ping timeout: 244 seconds]
<clever> Thra11: nix-instantiate both, and then nix-diff the 2 .drv files
Matthieu_ has joined #nixos
arahael3 has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 245 seconds]
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
arahael4 has joined #nixos
<eraserhd> Can I use the standard builder with a src that is just a link to a single source file? And is it a bad idea to do so?
wfranzini has quit [Remote host closed the connection]
<clever> eraserhd: the default unpackPhase expects $src to be either a directory or a tarball/zip
<clever> eraserhd: you would have to replace the unpackPhase = '' .... '';
zeta_0 has joined #nixos
<infinisil> Um simple question: How do I generate a diff from git for use by `patches = [(writeText "foo.patch" "<patch contents here>")]`?
<eraserhd> clever: that's doable enough, thanks
<infinisil> git diff doesn't seem to output a usable format
<clever> infinisil: i would just use patches = [ ./patch-file.patch ];
<clever> infinisil: and create it with `git diff > patch-file.patch`
<infinisil> Is there a problem with writeText then?
<zeta_0> why is this nix haskell package broken? `haskell-overridez`
<clever> infinisil: more likely with '' or you missing a trailing newline
qqlq has quit [Quit: ZNC 1.7.3 - https://znc.in]
<zeta_0> is this package: `haskell-overridez` still new and in beta(since it hasn't reached 1.0 yet)?
<infinisil> clever: Oh yeah that was it indeed, some weird spacing problem
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
arahael4 has quit [Ping timeout: 272 seconds]
<zeta_0> i guess i will just comment out the `haskell-overridez` package for now
<clever> zeta_0: what error does it fail with?
<infinisil> clever: Oh lol, emacs evil mode left-aligns the indentation when you shift a block with the >> combo
<infinisil> That was it..
<clever> infinisil: its evil!
<neeasade> evillll
Fare has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #62998 → pythonPackages.cmd2_8: remove → https://git.io/fjgDX
<clever> Thra11: looks like one is muslc, the other is glibc
<Thra11> clever: yes. Not sure if they're both properly static.
mthst has quit [Ping timeout: 258 seconds]
<zeta_0> clever i am trying to install the package for this tutorial: https://github.com/Gabriel439/haskell-nix
<clever> zeta_0: if you temporarily set allowBroken = true; what does it fail with?
<zeta_0> clever: i haven't tried that because it seems dangerous, why is it broken in the first place?
<clever> zeta_0: you would want to either ignore the broken flag to see why, or check nixpkgs commit history
<clever> zeta_0: the broken flag is mainly to save you from wasting time building something that will fail to build
<zeta_0> clever: well i guess i will just wait until `haskell-overridez` reaches version 1.0, it looks like a really useful package
<clever> Date: Sat Mar 16 10:17:05 2019 +0100
<clever> zeta_0: it was already flagged as broken on this date
<clever> Date: Sat Sep 22 13:34:15 2018 +0200
<clever> hackage2nix: disable broken Hydra builds
<clever> zeta_0: and was flagged in this commit, with no mention of why
jb55 has quit [Quit: jb55]
jb55 has joined #nixos
<clever> zeta_0: it looks like it might only need a doJailbreak to fix it
justanotheruser has joined #nixos
knupfer has quit [Quit: knupfer]
<zeta_0> clever: it looks like a lot of broken things
knupfer has joined #nixos
<Athas> I'm really confusednow. When I do 'sudo nixos-rebuild test -I nixpkgs=~/repos/nixpkgs/', it will fail to compile the package compiler-rt (actually llvmPackages.compiler-rt).
<Athas> Yet, standing in that directory and doing 'nix-build . -A llvmPackages.compiler-rt' works fine. The hashes are different, however.
<clever> Athas: run nix-diff on the .drv file for both builds
Fare has quit [Ping timeout: 245 seconds]
jb55 has quit [Quit: jb55]
halogenandtoast has quit [Quit: WeeChat 2.4]
jb55 has joined #nixos
ambro718 has quit [Ping timeout: 245 seconds]
<Athas> clever: the 'nix-build'ed package does not seem to have a .drv file. Is there a simple way of regenerating it?
veske has joined #nixos
<clever> Athas: nix-store --query --deriver /nix/store/foo
takeda2 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62896 → orc: disable tests on armv7l → https://git.io/fjzAa
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjgyJ
<Athas> clever: that produces the name of a file that does not exist.
<clever> Athas: you can also `nix-instantiate /path/to/nixpkgs -A llvmPackages.compiler-rt
ddellacosta has joined #nixos
<Athas> clever: thanks! It's a bit mysterious that the generated .drv file does not correspond in hash to the package. Guess I still have something to learn.
<Athas> Anyway, I think I may have my answer: the nixos-rebuild version seems to be trying to build an i686 version, likely because of the 'hardware.opengl.driSupport32Bit = true' in my configuration.nix.
<Athas>
silver has quit [Ping timeout: 268 seconds]
silver has joined #nixos
<clever> Athas: <hash>-<name>.drv is based on the hash of its contents
<clever> Athas: and one entry in that contents, is the $out path, /nix/store/<hash>-<name>/ which is based on a hash of a subset of the drv contents
<clever> Athas: ahh, you can do `nix-build -A llvmPackages.compiler-rt --argstr system i686-linux` to force nix-build to do 32bit also, for testing
<m1cr0man> Will a regular C-based binary not run on nixos without recompiling? Trying to run a game server.
<clever> m1cr0man: you either need to compile it with nix, or run patchelf over the binary
<m1cr0man> ok I'll try the latter since I have no source
<Athas> clever: right, that's definitely it. It doesn't build ("Removing empty /nix/store/qx4w4841grng03q819hmaj315j7a9w6r-compiler-rt-7.1.0/ and (possibly) its parents").
<Athas> This is a fairly crucial package if you want to run Steam, so I wonder how it got broken. (It works in 19.03.)
<clever> Athas: in the nixpkgs dir, while checked out to a broken rev, run `git bisect bad`
<clever> Athas: then checkout a rev you know works (and confirm with nix-build), and run `git bisect good`
<clever> repeat building, and telling git if its good or bad
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62900 → mysql55: fix build under clang 6 (and newer) → https://git.io/fjzxG
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjgym
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62894 → llvm_7: skip failing X86 test cases on armv7l → https://git.io/fjzAR
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjgyY
shibboleth has quit [Quit: shibboleth]
inquisitiv3 has quit [Remote host closed the connection]
<eyJhb> Is there, or has there been any planing on channels supporting git ? e.g. having a channel pinned at commit X? Without having to manage your own git repo
lovesegfault has quit [Quit: WeeChat 2.5]
<ashkitten> i forget, is git bisect scriptable?
<gchristensen> yeah
<ashkitten> like, could you write an automated test to run on every revision?
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<LnL> yes, you can pass it a command that returns 0 or 1 for good/bad respectively
<ashkitten> oh rad
<clever> but there can be other failures, that are caused by unrelated problems, which you want to skip
<clever> and it can be tricky to write a script that can identify those automatically
<LnL> yeah, I'm not sure there's an easy way to automate skip
<Athas> Maybe another time; I'm already far too busy debugging messes of my own making.
<clever> i think the script can return 2 for skip, check the man page
<eyJhb> clever is there a exit code for skip?
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<eyJhb> ....
<Athas> I don't need an i686 build of compiler-rt.
Fare has joined #nixos
<eyJhb> Yup
rfold has quit [Quit: WeeChat 2.4]
<ashkitten> ill be honest ive never had a use for git bisect, given i only really work on hobby projects where i make sure everything works before committing (and are small enough that this approach works)
Zer000 has joined #nixos
t184256 has joined #nixos
t184256 is now known as monk
dejanr has quit [Ping timeout: 245 seconds]
<o1lo01ol1o> I must be doing something stupid here. The following builds a project: nix-shell -A shells.ghc "ghc -Foo -Bar". How can I write an expression using mkDerivation that does the same?
<eyJhb> ashkitten I had never used bisect until this week. I actually quite enjoyed it
<ashkitten> and on bigger projects i've pretty much always been able to identify the commit by name which caused it, or use git blame
<clever> Athas: Bisecting: 4092 revisions left to test after this (roughly 12 steps)
monk is now known as Guest54840
<{^_^}> [nixpkgs] @7c6f434c merged pull request #62993 → beignet: 1.3.2 -> unstable-2018.08.20 → https://git.io/fjg1x
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjgyn
<clever> o1lo01ol1o: add a buildCommand or buildPhase to the derivation, and point nix-build at it
mthst has joined #nixos
<eyJhb> It would be awesome though, if NixOS could make some build servers available, if you needed to pinpoint a single error, which has minimum cached builds
<Guest54840> /nick t184256
Guest54840 is now known as t184256
<o1lo01ol1o> clever: I have a builder.sh that is effectively "ghc -Foo -Bar", but I'm not sure how to provide the rest of the inputs it needs.
<clever> o1lo01ol1o: builder.sh disables 90% of the tools you need to make anything work
<o1lo01ol1o> ah.
<clever> o1lo01ol1o: just use buildCommand = "ghc -Foo -Bar"; and dont use builder =
<o1lo01ol1o> and how do I pass the inputs to the derviation?
<o1lo01ol1o> ie, the shells.ghc attributtes
<clever> o1lo01ol1o: copy those definitions over, it just needs normal buildInputs
<m1cr0man> Damn, there's some crazy stuff done to get steamcmd to work on nix in the first place
<clever> m1cr0man: yeah, its doing chroot's rather then patchelf
<clever> m1cr0man: because of how the games self-update, and often tread any patching as either corruption or cheating
Fare has quit [Ping timeout: 246 seconds]
<m1cr0man> I wouldn't mind re-patching later for now, or building a chroot, I was hoping to get going tonight. After patchelf I got `Accessing a corrupted shared library` from the binary so I assume there's more to it than the hacks im trying right now
xorax has joined #nixos
Fare has joined #nixos
<xorax> hi, i'm trying to install node2nix, but when i run nix-env -q node2nix it doesn't find anything
<Athas> Oh boy, Mesa switched away from autotools.
<ashkitten> either way it makes my life easier to have steam-run which lets me run any foreign binary meant for other linuxes on my nixos machine
<Athas> This will be fun to update.
knupfer has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
t184256 has left #nixos [#nixos]
<clever> Athas: Bisecting: 122 revisions left to test after this (roughly 7 steps)
eeva has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 245 seconds]
eeva has joined #nixos
<Athas> clever: so it also fails for you?
<clever> Athas: on many revs
<Athas> I guess maybe this reproducibility thing really does work!
<Athas> My hunch is that it'll fail on the revision that switched from LLVM 5 to LLVM 7 as the default, which is unfortunately not terribly useful.
domogled has quit [Ping timeout: 272 seconds]
mthst has quit [Ping timeout: 245 seconds]
<clever> Athas: Bisecting: 84 revisions left to test after this (roughly 6 steps)
hmpffff has quit [Quit: nchrrrr…]
mthst has joined #nixos
<m1cr0man> \o/ i386 docker container got me going :) I think I'll stick to docker for this, as much as I hate it, given the complexity of setting up a 32-bit compatible nixos chroot
dejanr has joined #nixos
orivej has joined #nixos
Fare has quit [Ping timeout: 244 seconds]
drakonis has joined #nixos
gyroninja_ has joined #nixos
gyroninja has quit [Ping timeout: 268 seconds]
arahael4 has joined #nixos
srl295 has joined #nixos
veske has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @joepie91 opened pull request #63000 → sidequest: init at 0.3.1 → https://git.io/fjgy1
arahael4 has quit [Ping timeout: 264 seconds]
[Leary] has quit [Remote host closed the connection]
arahael4 has joined #nixos
Lears has joined #nixos
brandonhamilton has joined #nixos
acarrico has quit [Ping timeout: 272 seconds]
ks0ne has quit [Quit: Lost terminal]
Anton-Latukha has quit [Quit: Leaving.]
veske has joined #nixos
<clever> Athas: getting down into the mass-rebuilds now, with 83 commits left to scan
brandonhamilton has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> hodapp: you're not in Montreal are you?
arahael4 has quit [Ping timeout: 245 seconds]
arahael4 has joined #nixos
galaxie has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #63001 → haskell.compiler.ghcHEAD: 20190115 -> 20190601 → https://git.io/fjgST
galaxie has left #nixos [#nixos]
xorax has quit [Quit: leaving]
<samueldr> LnL: exit code 125 when the current source code cannot be tested
arahael4 has quit [Ping timeout: 245 seconds]
veske has quit [Quit: This computer has gone to sleep]
<infinisil> __monty__: There's the PR for the ghcHEAD update
<__monty__> 👍
ddellacosta has joined #nixos
arahael4 has joined #nixos
<{^_^}> [nixpkgs] @Gerschtli opened pull request #63002 → pythonPackages.flask_migrate: 2.3.1 -> 2.5.2 → https://git.io/fjgSm
dejanr has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @fpletz merged pull request #53712 → bear: fix wrapper detection patch by checking result of find_executable → https://git.io/fhZRP
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fjgSY
xorax has joined #nixos
arahael4 has quit [Ping timeout: 248 seconds]
v88m has quit [Ping timeout: 272 seconds]
<xorax> Can someone please help me figure out how to install node2nix which is defined in nixpkgs/pkgs/development/node-packages/default-v8.nix? Or else direct me to a more suitable channel?
<xorax> I'm new to nix and nixos and still learning the basics...
arahael4 has joined #nixos
ddellacosta has quit [Ping timeout: 248 seconds]
<clever> > nodePackages.node2nix
<{^_^}> "<derivation /nix/store/x99g7vpdnw6f9bal7rbmb7kxfprgpqw4-node_node2nix-1.7.0.drv>"
<clever> xorax: ^^
v0|d has quit [Ping timeout: 248 seconds]
arahael4 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #63003 → pythonPackages.wsproto: 0.14.0 -> 0.14.1 → https://git.io/fjgSc
dwdr has quit [Ping timeout: 245 seconds]
erasmas has quit [Ping timeout: 244 seconds]
jluttine has quit [Ping timeout: 252 seconds]
<tdeo> anyone around to review a PR? i've been waiting for #58859 for a couple months
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58859 (by tadeokondrak, 10 weeks ago, open): vapoursynth: split python module out
goibhniu1 has quit [Ping timeout: 248 seconds]
jluttine has joined #nixos
Matthieu_ has quit [Read error: Connection reset by peer]
__monty__ has quit [Quit: leaving]
ym555 has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
<clever> Athas: bingo, it was llvmPackages: 5 -> 7 (bump our default LLVM)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62684 → trash: 0.9.1 -> 0.9.2 → https://git.io/fjuE3
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjgSa
Matthieu_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62992 → plan9port: build everything on Darwin → https://git.io/fjg1P
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjgSV
o1lo01ol1o has quit [Ping timeout: 248 seconds]
toppler has joined #nixos
kvda has joined #nixos
<tobiasBora> Hello,
<tobiasBora> I'd like to know, is it possible to specify two /nix/stores?
<simpson> What's the goal?
<simpson> I think the answer is "no".
<xorax> clever: it can't find anything under nodePackages...
<clever> xorax: what are you using to search?
endformationage has quit [Quit: WeeChat 2.4]
<tobiasBora> Because I have a small ssd (24Go), and I'd love to move most of the /nix/store there (quicker boot), but as I don't want to restrict /nix/store to 24Gb, I'd like to allow it to continue one the hdd
<xorax> nix-channel --list shows only https://nixos.com/channels/nixpkgs-unstable
<clever> xorax: that only shows channels, not packages in a channel
<xorax> i've tried using both nix-env and nox
<tobiasBora> simpson: ^
<clever> xorax: you want nix-env -iA nixos.nodePackages.node2nix
<xorax> ok that worked. thanks!
<xorax> I first ran nix-env -iA nixos.nodePackages and installed a bunch of other packages. any way to undo that?
<clever> xorax: nix-env -q to list all of them, and nix-env -e to remove each one, or `nix-env --rollback` to just undo the last thing you did (you can repeat rollback a few times)
mbrgm has quit [Ping timeout: 252 seconds]
<xorax> thanks
mexisme has quit [Ping timeout: 245 seconds]
<simpson> tobiasBora: Interesting. There might be a way to connect them together, but I'm not sure if that can be done in an intelligent way so that your frequently-used packages live on the SSD.
mbrgm has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Shados> tdeo: I've made some comments
<clever> simpson: thats what the L2ARC in zfs does
hio has quit [Quit: Connection closed for inactivity]
<tobiasBora> clever: problem of l2arc is that it's restarted at every reboot. So it can't help for faster boot.
<clever> tobiasBora: the main restriction, is that the L2ARC doesnt persist between reboots
<clever> yeah
<simpson> clever: Interesting.
<clever> my desktop fits entirely on nvme, so it boots damn fast
<clever> simpson: basically, zfs has the ARC, which will cache both recently used things, and frequently used things
<clever> simpson: and based on the hit% of both classes, it will adjust how much ram it allocates to both types
<tobiasBora> clever: and also it means that my /nix will be present twice, on ssd and on hdd, while I'd like to save space (every few Gb saved is a good thing ^^)
<clever> so it can cache things that are used a lot, but not very often (like an hourly cron job)
<xorax> clever: if you don't mind answering one more question, how come when i run nix-env -qa nixos.nodePackages.node2nix it says "... matches no derivations"?
<clever> xorax: you need a -A or -Q in there somewhere i think
<tobiasBora> simpson: what would be your trick to connect them together?
<clever> xorax: one searches by name, the other searches by attrpath
<Shados> I ran with an L2ARC on my desktop for a long time, but honestly the observed hit rate was tiny. It wasn't worth the extra metadata (RAM space that could be used for L1ARC!)
<simpson> tobiasBora: Oh, honestly I wouldn't bother; I'd choose one drive or the other, and make my peace with the disadvantages.
<clever> Shados: ive been experimenting with grafana and zfs metrics lately to see what does what
<tobiasBora> simpson: so it means forget about my SDD :(
<xorax> ok hmm -qaA worked. I'll read the docs some more...
<xorax> thanks for you help :)
<Shados> clever: Let me know if you make any interesting observations
<clever> Shados: the main thing i'm looking at right now is the rrqm/s in `iostat -x 30`
<clever> Shados: if the kernel is merging several read requests together, then zfs isnt detecting the merges itself
<clever> Shados: `zpool iostat -r 30` then shows how many reads, of what type, and size, every 30 seconds
<clever> echo $((384 * 1024)) > /sys/module/zfs/parameters/zfs_vdev_aggregation_limit
<clever> Shados: and this allows zfs to merge multiple reads together, and read up to 384kb at once
<clever> so if it wants to read 2 nearby things, it may just ask the drive for one big chunk, that covers both
<clever> less round trips, faster thruput!
<simpson> tobiasBora: Hey, you can do whatever you want. I'm not gonna stop you.
<tobiasBora> simpson: ahah I'd love to do whatever I want, but no idea how to :P
<clever> simpson: oh, something else, i have 2 entire SSD's in my desktop that are just totally unused
<clever> wheres that pdf...
<clever>  Resolved a race condition where a write command during SATA error handling process could cause drive to hang
<Shados> clever: and more IO latency because it's waiting some brief period for reads to aggregate :p?
<clever> simpson: that explains why my SSD's where locking up randomly :P
<clever> Shados: its a cpu task within zfs, probably when multiple reads are already waiting in the queue, because other reads are in progress
<simpson> clever: Fun~