gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<iqubic> Well, I made an 8Gig zvol that became my old swap partition.
kvda has joined #nixos
babic has quit [Remote host closed the connection]
<iqubic> I'm now using an 8Gig non-ZFS Swap partition. Free states that all but 1Meg of that Swap partiion.
<iqubic> I don't know what to say now.
sanscoeur has quit [Ping timeout: 246 seconds]
<clever> iqubic: can you just paste what free said about swap?
sanscoeu_ has quit [Ping timeout: 258 seconds]
Dedalo has quit [Ping timeout: 272 seconds]
luigy has left #nixos [#nixos]
Dedalo has joined #nixos
countingsort has quit [Ping timeout: 258 seconds]
iqubic has quit [Remote host closed the connection]
iqubic has joined #nixos
iqubic has left #nixos [#nixos]
sir_guy_carleton has joined #nixos
colonel_john_by has quit [Ping timeout: 244 seconds]
countingsort has joined #nixos
babic has joined #nixos
nodyn has quit [Quit: WeeChat 2.3]
goibhniu has quit [Ping timeout: 250 seconds]
<jackdk> when will the next staging merge be visible to darwin? a bug I merged to staging near the end of Nov hasn't made it to the channels yet
Notkea has quit [Read error: Connection reset by peer]
kingemp__ has joined #nixos
Notkea has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53611 → lxc: 3.0.3 -> 3.1.0 → https://git.io/fhGQT
kingemp_ has quit [Ping timeout: 250 seconds]
__monty__ has quit [Quit: leaving]
phaebz has quit [Remote host closed the connection]
drakonis has quit [Read error: Connection reset by peer]
Dedalo has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53596 → moe: 1.9 -> 1.10 → https://git.io/fhGDC
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « moe: 1.9 -> 1.10 »: https://git.io/fhGQm
dslegends has quit [Quit: dslegends]
itscaleb has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53612 → graylog: 2.4.6 -> 2.5.1 → https://git.io/fhGQ8
tobiasBora has joined #nixos
<tobiasBora> Hello,
<tobiasBora> I can't find how to use nix-mode on emacs
<tobiasBora> I enabled it, but I just don't have any indentation
<tobiasBora> I tried to click on Nix > Format buffer, and I have an error "Cannot locate executable nixfmt". However, I don't even know how to find this executable
eadwu has joined #nixos
shpx has joined #nixos
<gchristensen> nonullpointers.com/posts/2019-01-07-a-year-of-nixos.html
emacsomancer has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
freedan42x has joined #nixos
<ottidmes> ,locate bin nixfmt
<{^_^}> Couldn't find in any packages
<ottidmes> ,locate nixfmt
<{^_^}> Couldn't find in any packages
<gchristensen> I dunno what nixfmt is
<tobiasBora> gchristensen: I don't get it, nix search nix-indent-line
<tobiasBora> does not give any result either
<gchristensen> it isn't a program, it is part of nix-mode.el
iqubic has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53613 → zafiro-icons: 0.8 -> 0.8.1 → https://git.io/fhGQy
<jackdk> I am trying to debug why I can't get build a nix shell for my project on macos(darwin). calling nix-shell with latest nixpkgs-unstable still doesn't have a fix that hit stable in november
<tobiasBora> gchristensen: hum... I tried to add this line, and now I have indentation, but the indentation is crazy http://paste.debian.net/1059139
<tobiasBora> (setq nix-indent-function 'nix-indent-line)
<gchristensen> tobiasBora: yes, many bugs were fixed -- that is why I have that override ^
<jackdk> so I moved to a checkout of nixpkgs master, and am now trying nix-shell --arg nixpkgs '(import ../nixpkgs {})'. after building a new ghc, beam-core (among others) fails to configure with missing dependencies.
<tobiasBora> gchristensen: unfortunately I'm on debian so I can't really pinpoint the lib that way :(
<gchristensen> ack
<gchristensen> I don't know how it gets released
counting1ort has joined #nixos
<tobiasBora> gchristensen: I installed however this version 20190103 https://melpa.org/#/nix-mode
<tobiasBora> (using package-list-package and melpa)
_lawlesseel has quit [Remote host closed the connection]
_lawlesseel has joined #nixos
<gchristensen> tobiasBora: yes, that version had many regressions
<tobiasBora> oh
<tobiasBora> then I guess I'll need to wait for a new push
<gchristensen> https://github.com/NixOS/nix-mode/pull/68 fixed by this PR
<{^_^}> nix-mode#68 (by etu, 3 days ago, open): Fix recent regressions
cyounkins has joined #nixos
countingsort has quit [Ping timeout: 245 seconds]
<tobiasBora> ok cool, thank youv ery much!
<tobiasBora> (I'm always unlikely with nixmode ^^)
iqubic has quit [Remote host closed the connection]
<gchristensen> nix-mode was pretty buggy for a long time. still has edge cases, but is much improved
<{^_^}> [nixpkgs] @ebzzry opened pull request #53614 → tinyscheme: init at 1.41 → https://git.io/fhGQ7
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tobiasBora> gchristensen: for their defense, I guess nix language is not that easy to parse...
<tobiasBora> even for me it's confusing sometimes
<tobiasBora> (well of course I'm not the reference in nix language ^^)
<tobiasBora> I just think they should at least mention this config line you gave me above.
<tobiasBora> (in the readme)
<tobiasBora> cause else, how can you guess?
<{^_^}> nix-mode#57 (by shlevy, 6 weeks ago, open): nix-indent-line as default nix-indent-function
strobelight has joined #nixos
<jackdk> nix is one of those languages where I give up, turn electric indent off, and do it all by hand
<jackdk> (I have, in the past, written configuration.nix using only ed(1))
<gchristensen> nix-mode, at that version, with nix-indent-line, it does a very good job
<gchristensen> https://github.com/NixOS/ofborg/blob/released/ofborg/src/maintainers.nix is formatted exactly as nix-mode.el does it
drakonis has joined #nixos
trey has joined #nixos
jasongrossman has quit [Remote host closed the connection]
npmccallum has joined #nixos
ris has quit [Ping timeout: 252 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
hellrazo1 has joined #nixos
tdbgamer has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhGQh
hellrazor has quit [Ping timeout: 252 seconds]
<Myrl-saki> jackdk: lol
<Myrl-saki> jackdk: I was so used to nix-mode breaking indentation that when it got fixed, I was making mistakes due to me auto-pilot indenting.
<gchristensen> same
<jackdk> ouch.
orivej has joined #nixos
chessai has quit [Ping timeout: 245 seconds]
amosbird has joined #nixos
<amosbird> hello,
<amosbird> is it possible to get rid of this not found so ?
<tobiasBora> Hum, for the second time nix build freezes on building -nixos-manpages.drv
<amosbird> dso
<tobiasBora> do you know why?
<gchristensen> are you on a slow cpu tobiasBora?
<dtz> freezes? maybe add "-vvvv" to see if it's doing something (huge eval for w/e reason?)
<gchristensen> manpages took a long time for me, on a rpi-like thing
<tobiasBora> gchristensen: yes, raspberry pi 3
<tobiasBora> why does it take so long?
<simpson> amosbird: How did you build your program?
<amosbird> simpson: cmake
<tobiasBora> dtz: actually it's possible that it takes time... but I don't see why something as simple as manpages take that much time ^^'
<ottidmes> amosbird: then you probably just have to add python2 to your buildInputs
<amosbird> hmm
<simpson> amosbird: Did you put Python in buildInputs or in propagatedBuildInputs? It might need to be in the latter.
<ottidmes> python3 I mean
<amosbird> I mean, can I use patchelf to remove that dependency?
<gchristensen> it is doing gob-loads of xslt execution for our huge configuration.nix manpage
<{^_^}> [nixpkgs] @matthewbauer opened pull request #53615 → cups: use v2.2.6 on darwin → https://git.io/fhG7k
<amosbird> the python code path never triggered
<ottidmes> ,locate libpython3.7m.so.1.0
<{^_^}> Found in packages: python3, python3Full
<amosbird> ottidmes: it's not that libpython3.7.m doesn't exist
<simpson> Can you avoid linking against Python in that case?
<ottidmes> (just checking the m thing was not a problem)
<amosbird> I'd like to remove that dep
<amosbird> nope
<amosbird> that binary is shipped
<simpson> Oh! Unfree stuff.
drakonis has quit [Read error: Connection reset by peer]
<simpson> I have no idea how to wield patchelf and the license might forbid it. I know it's heavy, but check out the FHS user env, as it's usually what unfree binaries want.
<appleclusters> I ran nixos-rebuild switch, it completed successfully, and then I rebooted. The changes (installed vim) didn't apply, but they were there before reboot. How do I debug this?
kingemp__ has quit [Quit: Leaving]
<simpson> appleclusters: Did you reboot into the new configuration for sure?
<appleclusters> simpson: What would that mean? The way I rebooted is using the Plasma reboot button, so I imagine that's wrong?
<simpson> appleclusters: When your machine was booting, you may have seen a boot prompt letting you choose a generation.
<{^_^}> [nix-mode] @matthewbauer merged pull request #68 → Fix recent regressions → https://git.io/fhOHv
<{^_^}> [nix-mode] @matthewbauer pushed 5 commits to master: https://git.io/fhG7m
<appleclusters> I did not
<clever> appleclusters: is /boot/ correctly mounted?
<appleclusters> Maybe I'll try a hard shutdown
<appleclusters> Hmm it might not be
<simpson> I've had, for example, cases where I've accidentally hit a keyboard arrow during boot, causing the wrong generation to be selected.
<clever> if /boot is not mounted when you nixos-rebuild, then all changes are undone at every reboot
<appleclusters> I did a weird setup combining LUKS and zfs clever
<clever> so you may need to manually mount /boot/, then fix your configuration.nix and nixos-rebuild
<appleclusters> ls /boot does work
<appleclusters> the directory exists clever would that be enough evidence?
<clever> appleclusters: but what does `df -h /boot/` say ?
<appleclusters> or could it be the wrong /boot
<appleclusters> ok
<clever> it could be the boot directory on /, not the boot filesystem
<appleclusters> clever: it says rpool/root/nixos with size 229g, which is my root volume
<appleclusters> So yeah thats definitely wrong
<clever> also, to stop this kind of mistake in the future
<clever> i always `chmod 0 /boot/`
<clever> so not even root can touch the /boot/ on /
<clever> it will fail in a more obvious way if its not mounted
<appleclusters> good idea haha
<appleclusters> Will I be able to recover that, though? Won't it not even be able to boot?
o1lo01ol1o has joined #nixos
<clever> when booting, it uses the boot filesystem, so it wont notice that
<appleclusters> ah
ddellacosta has joined #nixos
<worldofpeace> Any thoughts on using `enableParallelBuilding = true;` in python packages?
<gchristensen> can an overlay override a an emacsPackagesNg package?
<appleclusters> clever: I can't find any documentation on how to be explicit in which boot directory to use (in my case, /dev/sda1)
trey has quit [Quit: .]
<clever> appleclusters: read the generated hardware-configuration.nix, it should already have stuff on how to mount the current FS's
<appleclusters> ahh thanks
freeman42x has quit [Read error: Connection reset by peer]
<clever> fileSystems."/boot" = { device = "/dev/sda1"; fsType = "vfat"; };
<clever> something like that should do it
freeman42x has joined #nixos
<appleclusters> So fileSystems."/" is already taken by "rpool/root/nixos", and since /boot/ exists, doesn't that mean it's being overridden somehow? clever
<clever> the /boot/ directory must exist (normally empty) to be able to mount anything to /boot/
<clever> but if you then dont mount anything, the empty directory is left visible
<appleclusters> gotcha
<clever> and nixos-rebuild puts all the files into that directory
<clever> ive also heard people joke about hiding their porn under the /boot/ mount point :P
<clever> so you can only see it if you umount /boot/
<clever> and then you have https://xkcd.com/981/
Rusty1 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<appleclusters> hahaha
freeman42x has quit [Read error: Connection reset by peer]
babic has quit [Ping timeout: 268 seconds]
freeman42x has joined #nixos
lihop has joined #nixos
tyang has quit [Quit: Connection closed for inactivity]
<appleclusters> clever: sorry to keep bothering you, I set those options and it didn't work on reboot. Something I noticed is that the existing hardware device file systems are namespaced as "rpool/root/nixos" and "rpool/home", which seems to be zfs's namespace, not the absolute sdaxx namespace?
<clever> nixos will scan all devices to find a pool called rpool
<clever> thats completely normal for zfs
<clever> also, you must manually mount /boot before you nixos-rebuild
<appleclusters> ahhhhhh I forgot about that, sorry!
<clever> or the fix itself wont take any effect, and it will boot the old config again
<appleclusters> beautiful, everything works now
<appleclusters> thanks so much!
cyounkins has quit [Read error: Connection reset by peer]
cyounkins has joined #nixos
Church_ has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @MostAwesomeDude opened pull request #53616 → pythonPackages.zfec: patch out argparse dependency → https://git.io/fhG72
<jtojnar> worldofpeace: I do not think it does anything, unless you use format="other"
Supersonic has quit [Ping timeout: 268 seconds]
freedan42x has quit [Ping timeout: 268 seconds]
<jtojnar> rg enableParallelBuilding pkgs/stdenv/ pkgs/development/interpreters/python/
<{^_^}> [nix-mode] @grahamc opened pull request #71 → Prioritize closing } over regular indentation → https://git.io/fhG7V
kvda has joined #nixos
cyounkin_ has joined #nixos
cyounkins has quit [Read error: Connection reset by peer]
Supersonic has joined #nixos
cyounkin_ has quit [Remote host closed the connection]
cyounkins has joined #nixos
<appleclusters> I can't find if there's a way to delete old nixos-rebuild s so that I don't accidentally boot into an old version that was causing me a lot of pain
<worldofpeace> jtojnar: Thanks, just in time too
<clever> appleclusters: its supposed to keep all old ones, thats how the rollback system works
<clever> appleclusters: with /boot/ mounted correctly, nixos-rebuild will change the default for you, and everything will just work
<appleclusters> Ok, I figured since there's the garbage collection
<appleclusters> Gotcha
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3582fa3f517 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @jtojnar merged pull request #52075 → hashcash: init at 1.22 → https://git.io/fpbfB
<{^_^}> [nixpkgs] @jtojnar pushed 7 commits to master: https://git.io/fhG7K
o1lo01ol1o has joined #nixos
cyounkins has quit [Ping timeout: 272 seconds]
<appleclusters> Ok I have yet another dumb question -- I enabled unfree packages in my `.config/nixpkgs/config.nix` and then successfully ran `nix-env -iA nixos.google-chrome`, but there's no google-chrome in my path or any shortcut resembling its name in kde.
<{^_^}> [nixpkgs] @jtojnar pushed to master « hashcat: clean up with placeholder »: https://git.io/fhG7P
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @dylex to master « stdenv: allow custom stdenv to take crossOverlays »: https://git.io/fhG7D
cyounkins has joined #nixos
<jtojnar> appleclusters: nix-env usually installs to ~/.nix-profile
<jtojnar> you should have ~/.nix-profile/bin in your path
copumpkin has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @dylex to release-18.09 « stdenv: allow custom stdenv to take crossOverlays »: https://git.io/fhG7S
<appleclusters> jtojnar What's the nixy way of ensuring it's in my path?
Lingjian has joined #nixos
<appleclusters> My instinct is bash_profile but that doesn't seem right at all
<jtojnar> appleclusters: /etc/set-environment should add all nix profiles to your path: https://github.com/NixOS/nixpkgs/blob/04beae0979007f5a5b99e64fc945211824a91572/nixos/modules/config/shells-environment.nix#L183
eadwu has quit [Ping timeout: 252 seconds]
cyounkin_ has joined #nixos
ottidmes has quit [Ping timeout: 258 seconds]
cyounkins has quit [Ping timeout: 268 seconds]
eadwu has joined #nixos
sir_guy_carleton has joined #nixos
init_6 has joined #nixos
Lingjian has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53555 → mopidy-iris: 3.31.7 -> 3.31.8 → https://git.io/fhsh8
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Tomahna to master « mopidy-iris: 3.31.7 -> 3.31.8 »: https://git.io/fhG7d
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53617 → kwalletcli: 3.01 -> 3.02 → https://git.io/fhG7N
<appleclusters> jtojnar: is there something I should run to ensure this, or is this pathological?
wedens has joined #nixos
zopsi_ has joined #nixos
zopsi has quit [Read error: Connection reset by peer]
cyounkin_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kisonecat closed pull request #53581 → libsvg: init at 0.1.4 → https://git.io/fhGwW
<appleclusters> jtojnar: ah wow, a reboot fixed it
<appleclusters> and I think it took 2 reboots
<jackdk> does anyone have tips for how to tell what haskell packages are available when a haskellPackages.callPackage call fails?
<elvishjerricco> jackdk: What do you mean by "tell what haskell packages are available"?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<romanofskiWork> jackdk: it depends how it fails... perhaps you can post the error message, so it's easier to help
<jackdk> elvishjerricco: I have nix expressions that are basically what you get from cabal2nix --shell. One of the dependencies (aeson-1.4.2.0) is failing because of missing deps (contravariant >=1.4.1 && <1.6). How can I see what the ghc-pkg db is that's being used for the build?
<elvishjerricco> jackdk: Usually, `Missing dependencies: contravariant >=1.4.1...` etc. are not indicative of actually missing dependencies
<elvishjerricco> It usually means the versions you have are just the wrong version
<elvishjerricco> if you actually don't have the dependencies, you'll get a Nix eval-time error
<elvishjerricco> because the package won't exist when the nix code references it
<clever> > haskellPackages.contravariant
<{^_^}> "<derivation /nix/store/41mfw41b11fimssq1xwb7ml6vlkvjdh7-contravariant-1.5.drv>"
<clever> jackdk: what happens when you run `nix-build '<nixpkgs>' -A haskellPackages.contravariant`
esmerelda has joined #nixos
semilattice has joined #nixos
<jackdk> clever: I'm trying with a git checkout of nixpkgs, because I'm fixing a problem on darwin and there are bugs in nixpkgs that I've fixed but they haven't got out of staging yet.
<jackdk> that said: /nix/store/2xkh67a7dmw4s1x6rlrq1h8sga47s1sz-contravariant-1.5 , though my nix-shell calls have been with --argstr compiler ghc844, because with --argstr compiler default it pulls an 8.6 ghc with even more new and interesting build failures
kvda has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to fix-49206 « haskell.buildStackProject: use setup hook »: https://git.io/fhG5v
kvda has quit [Client Quit]
<clever> jackdk: what is your default.nix and shell.nix file contents?
<{^_^}> [nixpkgs] @matthewbauer opened pull request #53618 → haskell.buildStackProject: use setup hook → https://git.io/fhG5f
<jackdk> clever: https://pastebin.com/RTWrAeb7 (thepackage.nix is just generated from cabal2nix .)
<clever> jackdk: -A haskell.packages.ghc844.contravariant
<jackdk> clever: /nix/store/4p1g9xm03skrvc0c4wnpz201zai8fxaw-contravariant-1.5
<clever> should be working...
<clever> jackdk: what revision of nixpkgs is it failing on? and what changes do you have locally?
<jackdk> clever: 535a6db25f749f32c524b341f7fbc22cf57de4e1 and none
kvda has joined #nixos
<clever> jackdk: and is the cabal file available?
<jackdk> clever: for the project? no. let me see if I can construct a minimal example
<clever> and confirm that it still fails when you cabal2nix it
esmerelda has quit [Ping timeout: 268 seconds]
<clever> and its getting late here, i need to head off to bed
logzet has joined #nixos
esmerelda has joined #nixos
<appleclusters> What can I do when there's an open issue that breaks other OS functionality as a side effect i.e. https://github.com/NixOS/nixos-hardware/issues/90, including an unclosed PR https://github.com/NixOS/nixos-hardware/pull/92?
<{^_^}> nixos-hardware#90 (by zarelit, 1 week ago, open): Listing derivations (nix-env -qa) does not work
<{^_^}> nixos-hardware#92 (by Mic92, 3 days ago, open): fix nix-env evaluation
<esmerelda> anyone else getting abysmally slow reads from https://cache.nixos.org? my log is at http://ix.io/1xM8
<esmerelda> I'm managing to pull down 100KiB/s
lassulus_ has joined #nixos
<esmerelda> oh... never mind. my internet is just sucking (1 Mbps?!)
romanofskiWork has quit [Ping timeout: 246 seconds]
jbarthelmes has joined #nixos
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
<jackdk> clever: if you're still up: https://pastebin.com/btebFXc6
esmerelda has quit [Ping timeout: 250 seconds]
romanofskiWork has joined #nixos
<jackdk> blarhag! the definition for "aeson" in hackage-packages.nix doesn't ask for contravariant, and aeson grew a contravariant dependency between 1.4.1.0 and 1.4.2.0! how does that happen?
<{^_^}> [nixpkgs] @Infinisil merged pull request #53187 → backport cpufreq opts to 18.09 → https://git.io/fhqO6
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-18.09: https://git.io/fhG5t
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dtz> someone working on readline 8/bash 5? :D
semilattice has quit [Quit: semilattice]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/929b7846da5 (from 71 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<jackdk> to answer my above? because contravariant is hidden behind an `if !impl(ghc >= 8.6)` in the cabal file so cabal2nix doesn't see it
ma9e__ has joined #nixos
kvda has joined #nixos
iqubic has joined #nixos
lopsided98 has quit [Quit: Disconnected]
<elvishjerricco> jackdk: Yea, if statements like that are why angerman started https://github.com/angerman/nix-tools/
ma9e__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53621 → gnome-menus: 3.10.1 -> 3.31.3 → https://git.io/fhG53
<jackdk> I'm glad someone is working on it, I'm a bit angerman right now
<angerman> jackdk: nix-Tools is actually used, documentation is just very bad :-(
<elvishjerricco> the api is also pretty rough and I wouldn't consider it stable
<elvishjerricco> wouldn't consider the api stable, that is
<angerman> elvishjerricco: yea but at this point I’d be happy to keep it as stable as possible
<jackdk> that's great news, and hopefully better in the long term. I'm just frustrated chasing build failures so a colleague can move back onto a channel instead of A Nixpkgs SHA We Know Works
<elvishjerricco> angerman: Eh. I'm still not totally happy with the modules. I think there are some api-level improvements that would make all the overriding troubles you've had a lot better
eadwu has quit [Ping timeout: 268 seconds]
<angerman> Im skeptical that can be fixed with modules alone :-(
lopsided98 has joined #nixos
<jackdk> aaand one of the many reasons I can't use nixpkgs master is that scotty depends on hpc-coveralls, which wants aeson < 1.4
Church_ has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e39ff06b163 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @dylex opened pull request #53622 → boehm-gc: fix sys_select patch url git hash → https://git.io/fhG5l
<infinisil> jackdk: jailbreaking doesn't work?
<jackdk> I don't know that word in this context
copumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/929b7846da5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
o1lo01ol1o has joined #nixos
strobelight has quit [Ping timeout: 258 seconds]
<wedens> jackdk: that's removing version boundaries, afaik
<wedens> which is accomplished by using doJailbreak function
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<infinisil> > haskell.lib.doJailbreak
<{^_^}> <LAMBDA>
<iqubic> What does that functiondo?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53623 → gexiv2: 0.10.9 -> 0.10.10 → https://git.io/fhG5u
alex_giusi_tiri has left #nixos [#nixos]
<{^_^}> [nixpkgs] @jtojnar closed pull request #53623 → gexiv2: 0.10.9 -> 0.10.10 → https://git.io/fhG5u
<wedens> iqubic: removes version bounds from cabal file
<wedens> which can be useful if those bounds are too strict
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53624 → fasm-bin: 1.73.04 -> 1.73.05 → https://git.io/fhG56
<appleclusters> What's stopping someone from slipping a malware executable into a binary variant of a package in a PR? How rigorously are PRs checked, and by who? Are they signed?
copumpkin has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
wedens has quit [Ping timeout: 252 seconds]
romanofski has quit [Ping timeout: 252 seconds]
romanofski has joined #nixos
wedens has joined #nixos
<ghostyy> how do i have one nixos configuration.nix for multiple machines
<ghostyy> i want to have one "base" file and one for each machine that just sets hostname and etc
jtojnar has quit [Ping timeout: 272 seconds]
<wedens> ghostyy: put common configuration in e.g. common.nix and add ./common.nix to `imports` of specific configuration
<ghostyy> ah great
shpx has quit [Quit: Textual IRC Client: www.textualapp.com]
<ldlework> i have a top-level expression for each host in a folder called hosts/ and i symlink configuration.nix to the file for that host
<Baughn> appleclusters: All PRs are reviewed, and we avoid shipping binaries if possible, but there's nothing really preventing it.
<Baughn> This is true for all other distributions as well, mind you. I'm amazed there aren't more stories about malware getting in.
<Baughn> We've got some security through obscurity. It would be much better to go after, say, debian. Or upstream.
<{^_^}> [nixpkgs] @peterhoeg merged pull request #53617 → kwalletcli: 3.01 -> 3.02 → https://git.io/fhG7N
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fhG5d
<appleclusters> @Baughn: userland registries like AUR/pypi/npm, sure, but what about "official" repositories in Arch where you need multiple signers on a source and every client has the signers' public keys to check against?
smolboye_ has quit [Quit: WeeChat 2.2]
<appleclusters> I imagine Gentoo has a similar mechanism
<Baughn> Do you think they're actually reading the upstream code while carefully checking for backdoors?
smolboye has joined #nixos
<Baughn> Alas, though, you're probably right. Nix doesn't have the manpower to multiply-review everything.
orivej has quit [Ping timeout: 258 seconds]
<appleclusters> @Baughn: for security-critical packages I'd hope that there were multiple signers giving approval. How many people are needed to merge a change in the nix registry? 1?
<Baughn> One.
<appleclusters> And are the approvers vetted?
<Baughn> I'm not the right person to ask about that.
<appleclusters> GitHub PRs just don't seem to be robust enough for *merging the latest version of OpenSSL*
<appleclusters> Also is 2fa required for all members of the org? I think I'm going to inquire about this on the forum
<Baughn> That's not merged in binary form, though.
<worldofpeace> appleclusters: All org members have to have 2fa, yes
<Baughn> OpenSSL updates would be url and hash changes. There's no way for such a review to introduce malware without also first putting they malware on the OpenSSL website.
smolboye has quit [Ping timeout: 250 seconds]
<appleclusters> @Baughn: I understand that part, but what I'm getting at is, how easy is it for a random maintainer to silently change the downstream url?
<appleclusters> How many eyes will see that?
<Baughn> The upstream url, you mean? Some core team member would need to approve the change.
<{^_^}> [nixpkgs] @endgame opened pull request #53627 → hpc-coveralls: jailbreak for GHC 8.6 → https://git.io/fhG5A
<appleclusters> @Baughn @worldofpeace are outside (non-org) maintainers also able to approve the change?
<Baughn> No.
<worldofpeace> I'd classify a NixOS maintainer as an organization member.
<Baughn> People in the maintainers meta field for the package don't generally have approval to merge anything.
<Baughn> People in the GitHub org do.
<Baughn> Some of the former are included in the latter, but it's a small subset.
<appleclusters> GitHub lets you add outside members as approved commiters, which is why I asked
<appleclusters> Thanks for the clarification
<Baughn> I don't know for sure that they haven't, I just know that I'm not on the list. :v
<worldofpeace> An org member can merge anything but they probably shouldn't without other reviewers :)
<Baughn> By the way, if you're worried about security you should probably turn off package substitution. The build servers are a big target.
<Baughn> Doing so really just turns it into Gentoo. With better options for running your own build server.
<jackdk> declarative OS configuration makes it a lot more than "just"
<Baughn> Eh, you know what I mean.
<worldofpeace> appleclusters: We probably should implement some other security practices. It's just difficult to organize in a smaller project
<simpson> appleclusters: What's your threat model?
<DigitalKiwi> arch didn't even care about gpg signing all that long ago
init_6 has quit [Ping timeout: 246 seconds]
smolboye has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53535 → python37Packages.xarray: 0.11.0 -> 0.11.2 → https://git.io/fhsXS
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.xarray: 0.11.0 -> 0.11.2 »: https://git.io/fhGdq
Rusty1 has quit [Quit: Konversation terminated!]
smolboye has quit [Quit: WeeChat 2.2]
smolboye has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #53628 → readline8,bash5: init → https://git.io/fhGdn
orivej has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.2]
vk3wtf has joined #nixos
reinhardt has joined #nixos
jackdk has quit [Ping timeout: 246 seconds]
vk3wtf has quit [Ping timeout: 252 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pie_ has joined #nixos
logzet has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53629 → elementary-icon-theme: 5.0.1 -> 5.0.2 → https://git.io/fhGdi
simukis has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/876a2c759b9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
kvda has joined #nixos
nahamu has quit [Ping timeout: 245 seconds]
reinhardt has quit [Quit: Leaving]
nahamu has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
hyper_ch2 has joined #nixos
<wedens> https://www.gofundme.com/typing-nix was there any outcome of this?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53630 → cutelyst: 2.5.1 -> 2.6.0 → https://git.io/fhGFI
dontdieych has joined #nixos
griff_ has joined #nixos
nahamu has quit [Ping timeout: 250 seconds]
nahamu has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53629 → elementary-icon-theme: 5.0.1 -> 5.0.2 → https://git.io/fhGdi
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « elementary-icon-theme: 5.0.1 -> 5.0.2 »: https://git.io/fhGFt
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53613 → zafiro-icons: 0.8 -> 0.8.1 → https://git.io/fhGQy
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « zafiro-icons: 0.8 -> 0.8.1 »: https://git.io/fhGFY
vk3wtf has joined #nixos
Ariakenom has joined #nixos
griff_ has quit [Ping timeout: 246 seconds]
sinner has joined #nixos
sinner is now known as Guest35947
q6AA4FD has joined #nixos
ddellacosta has quit [Remote host closed the connection]
Notkea has quit [Remote host closed the connection]
smolboye has quit [Quit: WeeChat 2.2]
smolboye has joined #nixos
smolboye has quit [Client Quit]
Guest35947 has quit [Ping timeout: 240 seconds]
Makaveli7 has joined #nixos
smolboye has joined #nixos
void__ has joined #nixos
Makaveli7 has quit [Ping timeout: 258 seconds]
periklis has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
sorear has quit [Read error: Connection reset by peer]
beaky has quit [Read error: Connection reset by peer]
georgyo has quit [Read error: Connection reset by peer]
pingveno has quit [Read error: Connection reset by peer]
sorear has joined #nixos
georgyo has joined #nixos
pingveno has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #53588 → void: init at 1.1.5 → https://git.io/fhG6V
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fhGFo
systemfault has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #53521 → neovim: 0.3.2 -> 0.3.3 → https://git.io/fhsgp
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhGFK
<{^_^}> [nixpkgs] @markuskowa closed pull request #53594 → neovim-unwrapped: 0.3.2 -> 0.3.3 → https://git.io/fhGMl
systemfault has joined #nixos
beaky has joined #nixos
esmerelda has joined #nixos
o1lo01ol1o has joined #nixos
<periklis> anyone running on nixos with 4.19 on a T480 with xorg 1.19 and intel drivers on xrandr freezes? is the i915 kernel module just to new for the 1.19 xorg intel driver maybe?
o1lo01ol1o has quit [Ping timeout: 252 seconds]
worldofpeace has quit [Ping timeout: 246 seconds]
tzemanovic has joined #nixos
sinner has joined #nixos
Mateon3 has joined #nixos
sinner is now known as Guest3406
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon3 is now known as Mateon1
esmerelda has quit [Ping timeout: 258 seconds]
tzemanovic has quit [Remote host closed the connection]
tzemanov_ has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
void__ has quit [Quit: Leaving]
Makaveli7 has joined #nixos
orivej has joined #nixos
`slikts has joined #nixos
`slikts has joined #nixos
`slikts has quit [Changing host]
civodul has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53633 → claws-mail: 3.17.2 -> 3.17.3 → https://git.io/fhGFF
<LnL> periklis: I have no idea what it was, but my screen froze yesterday and I had to reboot
Tucky has joined #nixos
babic has joined #nixos
<{^_^}> [nixpkgs] @peti pushed commit from @jabranham to master « R: update CRAN and BIOC package sets »: https://git.io/fhGFj
<{^_^}> [nixpkgs] @peti merged pull request #53627 → hpc-coveralls: jailbreak for GHC 8.6 → https://git.io/fhG5A
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fhGbe
johanot has joined #nixos
Guest3406 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @peti closed pull request #53414 → R: update CRAN and BIOC package sets → https://git.io/fhOSO
void__ has joined #nixos
jtojnar has joined #nixos
<periklis> LnL: i can constantly reproduce this behavior with 19.03-pre (see above kernel and xorg versions). If i switch with xrandr to my external monitor the kworkers spike and i get a black screen. Need to reboot then.
Makaveli7 has quit [Ping timeout: 258 seconds]
Xal has quit [Ping timeout: 250 seconds]
hellrazo1 has quit [Ping timeout: 258 seconds]
sigmundv_ has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
goibhniu has joined #nixos
Xal has joined #nixos
hellrazo1 has joined #nixos
paulvictor has joined #nixos
thc202 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Mic92 opened pull request #53634 → manual: limit text width → https://git.io/fhGbq
gagbo has quit [Ping timeout: 246 seconds]
<paulvictor> I am using home-manager for managing my user config. How would I add a dependency for a node.js package which isn't available in nixPkgs/nodePackages as a dependecy?
<paulvictor> dependency*
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53635 → twitterBootstrap: 3.3.7 -> 4.2.1 → https://git.io/fhGbl
init_6 has joined #nixos
<Mic92> paulvictor: when you generate your node package set with node2nix you add dependencies with overrides just as we do in pkgs/development/node-packages
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53636 → calibre: 3.36.0 -> 3.37.0 → https://git.io/fhGbg
<paulvictor> Mic92: I want to add a package to my home.packages. Its nativefier, a nodejs package which is not avaliable in the default package set
<paulvictor> How Would I do that?
<paulvictor> Sorry, I wasn't clear in my previous question
knupfer has joined #nixos
<paulvictor> Mic92: I can see that there are 2 packages in your node-packages.json
<paulvictor> Can't really understand what the default.nix is doing.
<paulvictor> Mic92: Can you help me understand what https://github.com/Mic92/nur-packages/blob/master/default.nix#L74-L75 is doing?
gagbo has joined #nixos
<paulvictor> I've used node2nix, generated the .nix files and was able to install using `nix-env -f default.nix -iA package
<paulvictor> `
tzemanov_ has quit [Remote host closed the connection]
<BlessJah> After interrupting nix-channel --update I get corrupted profile (empty nixos/default.nix): http://dpaste.com/1FP39R3
ubert has joined #nixos
<{^_^}> [nixpkgs] @ghuntley opened pull request #53637 → [WIP] github-desktop: add GitHub Desktop to NixOS → https://git.io/fhGNs
<{^_^}> [nixpkgs] @yochai opened pull request #53638 → culmus: add .otf, .pfa and .afm files → https://git.io/fhGNZ
phreedom has joined #nixos
<paulvictor> Mic92: I've got a way. Thanks.
<Mic92> ok
gagbo has quit [Ping timeout: 246 seconds]
tzemanovic has joined #nixos
<wedens> BlessJah: maybe try `nix-store --repair-path /nix/store/8dz3kmc06cbp4ynngg57xvqqxbjmrsgp-nixos-18.09.1853.c2950341d03`
babic has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @hedning merged pull request #52718 → zsh: fix zprofile configure flag → https://git.io/fhJwd
<{^_^}> [nixpkgs] @hedning pushed commit from @furrycatherder to master « zsh: move --enable-zprofile into configureFlags (#52718) »: https://git.io/fhGNg
<wedens> BlessJah: or you can `nix-channel --rollback`
<{^_^}> [nixpkgs] @vcunat reopened pull request #53623 → gexiv2: 0.10.9 -> 0.10.10 → https://git.io/fhG5u
agander has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
babic has joined #nixos
agander is now known as Guest17428
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhGN1
<{^_^}> [nixpkgs] @markuskowa merged pull request #53457 → uhd: 3.12.0.0 -> 3.13.0.1 → https://git.io/fh3SE
Guest17428 has quit [Ping timeout: 258 seconds]
knupfer has joined #nixos
<BlessJah> wedens: I'll need to create github issue, I believe this shouldn't ahve happened
<mr_noobs> Sup! Can I have ssl on weechat without having a webserver? Also, can I use tmux instead of screen with weechat? How would I mark that on configuration.nix?
alex`` has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #53640 → minio: 2018-12-06T01-27-43Z -> 2018-12-27T18-33-08Z → https://git.io/fhGNF
<ivegotasthma> mr_noobs: I'm using tmux with weechat
<ivegotasthma> mr_noobs: and you can have ssl, see how to configure it with freenode and weechat
<ar> i think he's asking about dependencies
<{^_^}> [nixpkgs] @Ma27 merged pull request #53476 → clair: init at 2.0.7 → https://git.io/fhsUt
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhGNp
<paulvictor> Mic92: I used the nix files generated by node2nix, changed the src in args to point to the github url(from ./.) and returned the `nodeEnv.buildNodePackage args` from the derivation instead of the set with 3 attributes
ThatDocsLady_ has joined #nixos
<gagbo_work> I have a quick question : does someone use Plasma + XMonad or XfCE + XMonad ? I´m wondering if the options found in displayManager.session (like plasma5+xmonad for example) are supposed to work out of the box, or if I actually need to do the ¨config dance¨ anyway
<gagbo_work> the config dance being exporting KDEWM in a .config/plasma-workspaces/env.sh file or something]
hoijui has joined #nixos
babic has quit [Read error: Connection reset by peer]
<Mic92> paulvictor: I think you can also use a github url directly
<mr_noobs> ivegotasthma: ar: Thanks! How do I do that on Nix? Like, how do I tell it to use tmux in configuration.nix? If I install weechat it comes with screen (even has a session name for screen)
<mr_noobs> Not that I'm against screen, it's more for learning purposes
<Mic92> paulvictor: here you can also find examples for overrides: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/node-packages/default-v10.nix#L35
<ivegotasthma> mr_noobs: I think we have different methods of starting weechat. I open up a terminal, start tmux and run weechat inside
<mr_noobs> Also, the ssl thingie, I can connect to a irc server using ssl, but I mean like using an encrypted relay (with letsencrypt, or something)
<mr_noobs> yeah, my method so far is service.weechat.enable = true;
<ivegotasthma> mr_noobs: /msg NickServ HELP CERT
<ivegotasthma> you can use ssl for identification, if that's what you're after
<mr_noobs> Hmmm not really (sorry if I'm not explaining myself correctly)
<mr_noobs> More like this
klntsky has quit [Quit: WeeChat 1.6]
klntsky has joined #nixos
<{^_^}> [nixpkgs] @manveru opened pull request #53641 → docker-sync: init at 0.5.9 → https://git.io/fhGAq
<paulvictor> Mic92: I end up in this error when I try a `home-manager build` : https://pastebin.com/7egDaFkg . When I install using the same modifications using `nix-env -f default.nix -i` it works.
counting1ort is now known as countingsort
<{^_^}> [nixpkgs] @lo1tuma opened pull request #53642 → libuv: 1.23.2 -> 1.24.1 → https://git.io/fhGAY
nikivi has quit [Quit: ZNC is awesome]
<paulvictor> Mic92: Any help?
<klntsky> Does anyone know how to fix this (I run `nix-env -i cargo`): https://pastebin.com/raw/xgZPHLGj
<manveru> klntsky: `nix-env -iA nixpkgs.cargo`?
<manveru> or `nixos.cargo`, if you're on nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon3 is now known as Mateon1
<klntsky> manveru: thanks.
<{^_^}> [nixpkgs] @Ma27 merged pull request #53630 → cutelyst: 2.5.1 -> 2.6.0 → https://git.io/fhGFI
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhGAZ
nikivi has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53644 → catch2: 2.4.2 -> 2.5.0 → https://git.io/fhGA4
void__ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53645 → cfr: 0.137 -> 0.138 → https://git.io/fhGAu
<ivegotasthma> I want to keep as much of my installed packages in my configuration.nix is the common practice to make them system wide or user specific?
<{^_^}> [nixpkgs] @betaboon opened pull request #53646 → gnuradio-osmosdr: 0.1.4 -> 4d83c60, Added support for Soapysdr → https://git.io/fhGA2
<wedens> ivegotasthma: are you the only user?
lihop has quit [Ping timeout: 244 seconds]
eadwu has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
<ivegotasthma> yes
<ivegotasthma> I'm cautious because if a user package breaks the system, the root user should not be affected and I can recover with that
<wedens> I prefer to keep non-system packages that I don't need as root user in home-manager configuration. but I want to reuse this configuration on non-nixos system. if you only use nixos and you're the only user, it doesn't matter much
<{^_^}> [nixpkgs] @Ma27 merged pull request #53608 → alacritty: 0.2.4 -> 0.2.5 → https://git.io/fhGHO
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhGAo
<wedens> if you don't _run_ it as root, it's unlikely to break anything
<ivegotasthma> wedens: thanks
<ivegotasthma> wedens: why use home-manager instead of the option users.users.<name?>.packages ?
<wedens> ivegotasthma: I also use it to declarative configure per-user services and programs
ddellacosta has joined #nixos
<wedens> for example: gtk theme, git, zsh, i3, polybar
<wedens> installing packages is just a small subset of home-manager features
<wedens> it provides module system smillar to nixos, but per-user
* etu is configuring htop through home-manager, it's very nice because it does put a file where htop expect the config to be and it's readonly so if I toggle between treeview/non-treeview in htop it doesn't change in config
__monty__ has joined #nixos
__monty__ has joined #nixos
__monty__ has quit [Changing host]
<etu> Otherwise htop changes the config on exit when toggling between non-/treeview
<infinisil> etu: Yeah I noticed that too, it's a neat side effect
<ivegotasthma> is there a nix / nixos roadmap online?
<infinisil> (I wrote the htop module for hm btw, but not sure if I'm proud of it xD)
tzemanov_ has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
<wedens> ivegotasthma: there is a talk from the latest nixcon
<ivegotasthma> wedens: awesome, thanks a lot!
<wedens> perhaps there is some written version that I'm not aware of
erictapen has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
smolboye has quit [Ping timeout: 250 seconds]
smolboye has joined #nixos
eadwu has quit [Ping timeout: 268 seconds]
smolboye has quit [Client Quit]
smolboye has joined #nixos
smolboye has quit [Client Quit]
smolboye has joined #nixos
paulvictor has quit [Quit: WeeChat 2.3]
<Myrl-saki> wedens: Kinda looks amazing, thuogh I'm quite fond of the module system being just a library.
<Myrl-saki> And nixpkgs being just a "program" on Nix.
erictapen has quit [Ping timeout: 250 seconds]
<wedens> I think it comes down to nix not being a general purpose programming language. so, building everything on top of small foundation may not apply here
alex`` has quit [Ping timeout: 246 seconds]
<Myrl-saki> wedens: Yeah, fair enough.
alex`` has joined #nixos
<leotaku> Do we know when we might expect these changes to be implemented? I'm sure all of that is awesome, but transitioning the exiting nix infrastructure seems like an extremely heavy and time-consuming task.
<Myrl-saki> leotaku: And keeping it backwards compatible seems like a chore too.
<leotaku> Myrl-saki: I honestly hadn't even thought about that...
<wedens> yeah. I think it's the most difficult problem with any radical changes to nix
<wedens> nixpkgs is huge
reinhardt has joined #nixos
<leotaku> But the new additions would not have to break anything that works in old nix right?
markus1189 has quit [Ping timeout: 246 seconds]
<leotaku> So we could slowly migrate nixpkgs to the new style, only keeping backwards compatibility as long as the nixos releases that still use nix 2.0 are supported.
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhGxl
<{^_^}> [nixpkgs] @Mic92 merged pull request #53446 → nixos/systemd-udev-settle: don't restart on upgrades → https://git.io/fh3uT
<Myrl-saki> leotaku: The problem I see with this is that half-assing this means that it'd be more work. If you don't make mkDerivation as a frontend to the proposed features, then there's no guarantee of its compatibility. If you do make mkDerivation a compatibility layer, then you'd have to maintain the compatibility layer.
<Myrl-saki> leotaku: Ofc. I'm just talking about speculations here.
<wedens> compatibility problem already manifests itself in e.g. name/pname+version changes
markus1189 has joined #nixos
o1lo01ol1o has joined #nixos
<Myrl-saki> wedens: Heh yeah. I just realized that you were the one who made that PR. What did you do with it?
<leotaku> Myrl-saki: My idea was simply duplicating any important changes as long as the old version is supported. Maybe even a separate namespace for the incompatible things.
<wedens> Myrl-saki: which PR? I've never touched nixpkgs "core" :)
<leotaku> And as soon as support is dropped they can be moved out of nixpkgs.
<Myrl-saki> wedens: Not so sure what the context of this was.
<Myrl-saki> 416397:2019-01-03 06:07:41 Myrl-saki wedens: You forgot to specify a pname.
<Myrl-saki> 416443:2019-01-03 06:34:09 wedens Myrl-saki: is this pname/name change not in 18.09?
smolboye_ has joined #nixos
smolboye has quit [Read error: Connection reset by peer]
<wedens> I was not the one who made the change, but I've stumbled upon this incompatibility multiple times
<Myrl-saki> wedens: Ah. :P
<{^_^}> [nixpkgs] @Mic92 opened pull request #53648 → [backport] nixos/systemd-udev-settle: don't restart on upgrades → https://git.io/fhGx0
fendor has joined #nixos
<wedens> and it's quite small incompatibility. imagine dealing with something bigger
smolboye_ has quit [Client Quit]
<leotaku> Maybe a separate nixpkgs channel could be the solution?
<Myrl-saki> oh no
<leotaku> Why not?
<Myrl-saki> I guess for one, it'd split the manpower.
<leotaku> Yeah but how could we approach this without splitting work?
__Sander__ has joined #nixos
<leotaku> Someone has to work on support for the "old" version.
smolboye has joined #nixos
agander has joined #nixos
ottidmes has joined #nixos
<Myrl-saki> leotaku: idk, they'll (hopefully) have a solution for this.
<leotaku> Myrl-saki: We don't (yet) have a timeline for any of this, correct?
<Myrl-saki> leotaku: It's not even a proposal yet, from what I understand.
Guest87s has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @pSub merged pull request #53589 → pdf2djvu: 0.9.11 -> 0.9.12 → https://git.io/fhGiM
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fhGxa
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fhGxV
<{^_^}> [nixpkgs] @pSub merged pull request #53636 → calibre: 3.36.0 -> 3.37.0 → https://git.io/fhGbg
o1lo01ol1o has joined #nixos
<Dandellion[m]> Does anyone here use home-manager and zsh?
Guest87s has left #nixos [#nixos]
<klntsky> I'm writing a derivation for a cargo package, and I find it strange that Cargo.lock is required. There is an example (cargo-fuzz, namely), where maintainer fetches his own lockfile from github gists. Is it OK to do the same?
<sphalerite> ,ask Dandellion[m]
<{^_^}> Dandellion[m]: Just ask your question. It's the best way to know if anybody can help.
<Dandellion[m]> I don't understand how you're supposed to set the user shell via my home.nix
<sphalerite> Dandellion[m]: not sure if that's possible
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #53447 → neovim-qt: wrap in separate derivation → https://git.io/fh3uk
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/fhGxr
o1lo01ol1o has joined #nixos
<Dandellion[m]> till now I've just launched my terminal with -e zsh
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<Dandellion[m]> but that doesn't work if I ssh from some other computer
<klntsky> @Dandellion[m]: you are supposed to set users' shell at the system-wide config
<Dandellion[m]> then what is the point of even having the option to install zsh with home-manager?
<klntsky> @Dandellion[m]: the point is to be able to configure it, maybe
smolboye_ has joined #nixos
smolboye has quit [Read error: Connection reset by peer]
<drager> The default display manager for nixos is Slim?
<wedens> Dandellion[m]: it'll set up environment in zsh, at least
<wedens> it kind of assumes you already have zsh as a login shell
<wedens> which is note responsibility of per-user configuration
<wedens> * not
smolboye_ has quit [Client Quit]
<Dandellion[m]> but it also automatically installs it to the nix-home derivation, which wouldnt really be usefeful if you need to have it installed system wide anyways.
<Dandellion[m]> But alright I'll just continue launching everyting with -e zsh 😕
<wedens> why not change it in system configuration for specific user?
<wedens> well, you may want to use multiple shells. so it's still useful without some shell not being a login shell (you can't have multiple login shells)
<leotaku> Dandellion[m]: but you don't have to have it installed system-wide. You can have eg. bash as your login shell but still want to configure zsh through home-manager.
<leotaku> wedens: exactly
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6e3eee833d7 (from 73 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @Ma27 opened pull request #53650 → shmig: 2017-07-24 -> 2018-11-14 → https://git.io/fhGxS
johanot has quit [Ping timeout: 250 seconds]
MarcWeber has joined #nixos
stigo is now known as sgo
sgo is now known as stigo
<Dandellion[m]> I'm trying to do as little as possible in configuration.nix but yeah I might do that thanks
smolboye has joined #nixos
johanot has joined #nixos
<__monty__> Don't most try to do as much as possible in configuration.nix?
<wedens> it depends.
<wedens> on thing such as whether you use your configuration on non-nixos, whether you're the only user or not
erictapen has joined #nixos
Makaveli7 has joined #nixos
<wedens> and there are certainly some useful things in home-manager even if you only use single-user nixos
kochev has joined #nixos
<__monty__> I didn't mean not using home-manager. I just thought it was common usage.
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
mikky has joined #nixos
<wedens> __monty__: home-manager is fairly young, so you may not see it being widely used (for some definition of "widely". I've seen quite a lot of configs that use it, actually)
<__monty__> That's still not what I meant. nvm though.
o1lo01ol1o has quit [Remote host closed the connection]
tzemanov_ has quit [Remote host closed the connection]
<wedens> sorry, I'm not sure what you mean by "common usage" then :)
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<__monty__> It just sounds like most people try to configure their system through configuration.nix as much as possible.
<__monty__> Using home-manager only for the parts that configuration.nix can't reach.
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<ivegotasthma> can home-manager store secrets?
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<ivegotasthma> I'd like to keep my firefox profile in it
<leotaku> __monty__: there's even a home-manager nixos module for configuring home-manager stuff in configuration.nix.
<wedens> __monty__: I'm not sure about "most", but perhaps they just already have most of things configured via configuration.nix and it works well enough for them. There are also people (e.g. me) who try to do as much as possible in home-manager :)
<wedens> ivegotasthma: no. it'll end up in the store
<etu> ivegotasthma: home-manager use the nix-store and the nix-store is not viable for secrets
<__monty__> But, wedens, home-manager is still beta and subject to changes? Sounds risky.
<mikky> hi, I've got trouble installing NixOS - it always terminates with "error: while setting up the build environment: getting attributes of path '': No such file or directory". This happens within the `nix build` part of `nixos-install`. I was unable to pull any useful traces or debug logs. I've tried reducing nix expressions to a bare minimum but even the most compact configuration.nix I was able to come up with,
<mikky> nothing changed. I'm new to Nix* so it's quite possible I'm missing something obvious here... Installing from Arch Linux following this guide (no lustrate, installing to a different partition, leveraging ZFS): https://nixos.org/nixos/manual/index.html#sec-installing-from-other-distro
kochev has quit [Read error: Connection reset by peer]
<wedens> __monty__: that may also be a reason why some people don't use it. lots of useful things are in "beta" :)
<mikky> with the only exception - `nix` is installed as a system package
<wedens> __monty__: with nix you don't risk much though
<symphorien> mikky: try disabling the sandbox ? maybe the arch nix does not provide the sandbox shell ?
o1lo01ol1o has joined #nixos
<mikky> symphorien: right, no idea what you're talking about :) let me get back to you in a few minutes
agander has quit [Ping timeout: 268 seconds]
dermetfan has quit [Ping timeout: 268 seconds]
<symphorien> try passing --option sandbox false to your nix(os-rebuild)? invocations
silver has joined #nixos
knupfer has joined #nixos
dslegends has joined #nixos
kochev has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
kochev has quit [Ping timeout: 258 seconds]
periklis` has joined #nixos
tzemanovic has joined #nixos
periklis has quit [Ping timeout: 272 seconds]
ddellacosta has joined #nixos
init_6 has quit [Ping timeout: 258 seconds]
init_6 has joined #nixos
tzemanovic has quit [Ping timeout: 268 seconds]
ddellacosta has quit [Ping timeout: 244 seconds]
npmccallum has quit [Quit: npmccallum]
<{^_^}> [nixpkgs] @PsyanticY opened pull request #53651 → ec2_hibernate_linux_agent: init at 1.0.0 → https://git.io/fhGpX
<{^_^}> [nixpkgs] @c0bw3b closed pull request #53534 → qtile: 0.12.0 -> 0.13.0 → https://git.io/fhsXz
<{^_^}> [nixpkgs] @c0bw3b merged pull request #53536 → qtbitcointrader: 1.40.30 -> 1.40.40 → https://git.io/fhsM0
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fhGpy
fendor has quit [Ping timeout: 244 seconds]
<{^_^}> [nixops] @amemni opened pull request #1074 → Use device_that_boto_expects in nixops check to avoid NVMes showing as un-attached → https://git.io/fhGp7
kim0 has quit [Quit: Connection closed for inactivity]
<betaboon> is there something like a "who is hiring" list for nix-related jobs ? :D
Denommus has joined #nixos
cyounkins has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
<{^_^}> [nixops] @amemni closed pull request #1074 → Use device_that_boto_expects in nixops check to avoid NVMes showing as un-attached → https://git.io/fhGp7
<{^_^}> [nixpkgs] @jethrokuan opened pull request #53652 → emacsPackages.pdf-tools: 0.80 -> 0.90 → https://git.io/fhGpF
cyounkins has quit [Read error: Connection reset by peer]
cyounkin_ has joined #nixos
johanot has quit [Ping timeout: 272 seconds]
Makaveli7 has quit [Ping timeout: 252 seconds]
init_6 has quit [Ping timeout: 272 seconds]
void__ has joined #nixos
kochev has joined #nixos
<{^_^}> [nixops] @amemni reopened pull request #1074 → Use device_that_boto_expects in nixops check to avoid NVMes showing as un-attached → https://git.io/fhGp7
smolboye has quit [Ping timeout: 250 seconds]
iqubic has quit [Ping timeout: 260 seconds]
smolboye has joined #nixos
cyounkin_ has quit [Remote host closed the connection]
void__ has quit [Ping timeout: 258 seconds]
cyounkins has joined #nixos
fendor has joined #nixos
cyounkins has quit [Ping timeout: 240 seconds]
Makaveli7 has joined #nixos
dermetfan has joined #nixos
hoijui has quit [Ping timeout: 268 seconds]
jabranham has joined #nixos
<leotaku> betaboon: I know this reddit thread listing companies using nix(os): https://www.reddit.com/r/NixOS/comments/5dz8fp/list_of_companies_using_nixos/
<betaboon> leotaku: thank you. and i just found out that in weekly.nixos.org joboffers get release (sometimes)
<leotaku> betaboon: Yeah, I was just going to mention nixos weekly.
<{^_^}> [rfcs] @zimbatm merged pull request #38 → Implementation of RFC 36 → https://git.io/fhsiO
<{^_^}> [rfcs] @zimbatm pushed commit from @globin to master « Implementation of RFC 36 (#38) »: https://git.io/fhGhC
<gchristensen> betaboon: https://keeptruckin.com/careers is hiring
<betaboon> gchristensen: thanks i will take a look
<leotaku> On a completely different note: Does anyone have experience with deploying "normal" services using disnix?
<leotaku> "normal" meaning standalone not-microservice services.
<Taneb> It looks like when we updated to 18.09 the way I was doing coverage builds for Haskell stopped working, and I can't figure out what changed
<leotaku> Is that something one should do with disnix, or would that be overkill/not what it was intended for?
fusion809 has joined #nixos
<mikky> symphorien: sorry, boss called. sandbox doesn't make a difference, tried `nixos-install--option sandbox false`, same result
<gchristensen> mikky: are you inside of a nix-shell when you run nixos-install?
<mikky> gchristensen: I don't think so
cyounkins has joined #nixos
<mikky> I mean, I'm using zsh with NIX_* vars populated
ottidmes has quit [Quit: WeeChat 2.2]
<palo> > niemand sollte mehr python benutzen!
<{^_^}> error: syntax error, unexpected '!', expecting ')', at (string):214:36
<palo> ähh sorry wrong channel
<{^_^}> [nixpkgs] @vcunat pushed commit from @FRidh to release-18.09 « lapp: change postgresql version, fixes metrics »: https://git.io/fhGhK
<palo> also it was not meant serious
<gchristensen> palo: :)
<fendor> palo, :O but I love runtime type errors :/
<gchristensen> (jokes are fine, but remember plenty of good people here use and love python :) )
<palo> true, it was a joke for #nixos-de, and of course it was not ment serious. I also don't want to start a discussion about it.
<gchristensen> :)
<palo> it does not look like a joke without context so I'm sorry that I posted it here.
<gchristensen> no worries
hoijui has joined #nixos
<mikky> `+ nix build --out-link /tmp/tmp.UQ9VpYqtXh/system --store /mnt/nixroot --option sandbox false --show-trace --extra-substituters 'auto?trusted=1' -f '<nixpkgs/nixos>' system -I nixos-config=/mnt/nixroot/etc/nixos/configuration.nix
<mikky> error: while setting up the build environment: getting attributes of path '': No such file or directory
<mikky> should't the --store be something like '/nix/store' or '/mnt/nixroot/nix/store' ?
Makaveli7 has quit [Quit: Leaving]
<mikky> this is what I get when I run `nixos-instal --debug`
AK_ has joined #nixos
winem_ has joined #nixos
<AK_> How to stop graphical login manager and start X with xorg-xinit(startx) ?
freedan42x has joined #nixos
Xal has quit [Ping timeout: 250 seconds]
<ivan> AK_: startx is supported in nixpkgs master with services.xserver.displayManager.startx.enable = true;
Xal has joined #nixos
nliadm has joined #nixos
<AK_> ivan: so I have to add this line to /etc/nixos/configuration and do something like nixos-install again?
<{^_^}> #47773 (by xeji, 13 weeks ago, merged): nixos/display-managers/startx: init
<ivan> AK_: yes and nixos-rebuild switch
<gchristensen> maybe nix's haskell infra should clamp NIX_BUILD_CORES to 4 if it is higher than 4
<gchristensen> to prevent the additional cores from slowing it down
<AK_> ivan: so I just installed nixos and did install some packages via nix-env -i. so now I should do nixos-rebuild switch as my user?
<ivan> AK_: need root privileges for nixos-rebuild switch
<Taneb> So "overrideCabal package {doCoverage = true;}" doesn't seem to be doing anything
<ivan> AK_: /etc/nixos/configuration.nix is system configuration after all
<gchristensen> dtz: ^
<Taneb> Or a least it's not changing what I expected?
<{^_^}> [nixops] @amemni closed pull request #1074 → Use device_that_boto_expects in nixops check to avoid NVMes showing as un-attached → https://git.io/fhGp7
<klntsky> So, to contribute to nixpkgs, I should just fork master, add myself to the maintainers list, put my derivation and create a PR? No more bureaucracy?
<klntsky> Quite unusual for an OS package repository.
<AK_> error: The option `services.xserver.displayManager.startx' defined in `/etc/nixos/configuration.nix' does not exist.
<srhb> Taneb: It should? Are you on a very old compiler set?
smolboye has quit [Quit: WeeChat 2.2]
logzet has joined #nixos
<ivan> AK_: indeed, it made it in after 18.09
<srhb> Taneb: Or well, ... (drv: { doCoverage = true; }) -- but I assume that's what you actually did
<srhb> klntsky: Pretty much, yes :)
<ivan> AK_: I guess you can take what it does at the bottom of https://github.com/NixOS/nixpkgs/pull/47773/files and put that into your configuration instead
cyounkin_ has joined #nixos
<ivan> AK_: starting with `services.xserver = {`
cyounkins has quit [Ping timeout: 258 seconds]
<Taneb> srhb: aaah, I wasn't seeing what I was expecting and panicked
<Taneb> I've found it now (great relief!)
<srhb> Taneb: Don't panic!
<Taneb> :)
<Taneb> The location of the HTML report seems to have changed from share/hpc/dyn to share/hpc/vanilla
<{^_^}> [nixpkgs] @Infinisil merged pull request #52765 → datadog-agent: 6.4.2 -> 6.8.3 → https://git.io/fhUGQ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhGjW
smolboye has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
symphorien has quit [Quit: WeeChat 2.2]
chessai has joined #nixos
erictapen has quit [Ping timeout: 250 seconds]
Leo` has quit [Quit: WeeChat 1.9.1]
o1lo01ol1o has joined #nixos
periklis` has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #53616 → pythonPackages.zfec: patch out argparse dependency → https://git.io/fhG72
<{^_^}> [nixpkgs] @FRidh pushed commit from @MostAwesomeDude to master « pythonPackages.zfec: patch out argparse dependency »: https://git.io/fhGja
sanscoeur has quit [Ping timeout: 252 seconds]
<{^_^}> [nixops] @amemni opened pull request #1075 → Use device_that_boto_expects in nixops check to avoid NVMes showing as un-attached → https://git.io/fhGjX
<AK_> How to change shell?
<AK_> which zsh?
azdle has quit [Remote host closed the connection]
<AK_> so if I do nixos-rebuild switch, it would create a new profile for my user?
<lassulus> does anybody know how to install the python-xapian bindings in a nix-shell?
luigy has joined #nixos
<AK_> I have been these shebangs problems when I was on guix but I solved it
<lassulus> it seems like they were there once, but got removed?
<yorick> is haskellPackages.callHackage "HList" "0.5.0.0" {} failing to build for anyone else?
<wedens> AK_: it'll create a new profile for the system
<clever> yorick: yeah, the Setup.hs fails
<clever> yorick: looks like it wants a specific version of cabal
naominitel has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #53654 → qtstyleplugin-kvantum: 0.10.6 -> 0.10.8, touchup → https://git.io/fhGjj
sanscoeur has joined #nixos
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #nixos
<wedens> https://www.gofundme.com/typing-nix what was the outcome of this effort?
<gchristensen> clever: am I reading this properly, that a GC root isn't in the DB, but *ONLY* a symlink in the proper directory?
sanscoeur has quit [Remote host closed the connection]
ddellacosta has joined #nixos
sanscoeur has joined #nixos
sanscoeur has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #53655 → libunwind: 1.2.1 -> 1.3.0 → https://git.io/fhZeT
<clever> gchristensen: correct
<gchristensen> iiinteresting.
<clever> gchristensen: this is one of the very first things i messed with in nix, because i made an SD card with armv6l and x86_64-linux builds of nixos
<clever> gchristensen: and i was bind mounting the right thing to /nix/var/nix/profiles/
<{^_^}> [nixpkgs] @dtzWill opened pull request #53656 → xterm: 341 -> 342 → https://git.io/fhZeI
sanscoeur has joined #nixos
<clever> so it never had the wrong arch in scope
<gchristensen> whoa
<clever> but, i had to mess with gc roots, so it wouldnt eat its neighbor
sanscoeur has quit [Remote host closed the connection]
<gchristensen> oops
<clever> and i also made a mess of a configuration.nix file, that was able to build on both platforms
<clever> so, i had nearly the same nixos build, on 2 radically different platforms
<clever> but sharing a rootfs
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #53657 → libinput: 1.12.4 -> 1.12.5 → https://git.io/fhZem
sanscoeur has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 268 seconds]
reinhardt has quit [Quit: Leaving]
<wedens> AK_: this command seems like a perfectly good way to break your config
<{^_^}> [nixpkgs] @dtzWill opened pull request #53658 → pubs: 0.7.0 -> 0.8.2 → https://git.io/fhZen
kochev has quit [Ping timeout: 268 seconds]
sanscoeur has joined #nixos
sanscoeur has quit [Read error: Connection reset by peer]
<yorick> clever: stack seems to build it just fine
<AK_> wedens: if I edit it ?
* yorick is still verifying
periklis has joined #nixos
<yorick> yes, stack builds it just fine
<yorick> but it uses cabal 2.0.1.1
<clever> yorick: stack can change the Cabal version, but nix has trouble doing that
<clever> the cabal version is baked into the ghc, so you need to build a new ghc iwth the right cabal
alex_giusi_tiri has joined #nixos
<{^_^}> [nixpkgs] @dotlambda closed pull request #53224 → python37Packages.pydot: 1.4.0 -> 1.4.1 → https://git.io/fhqbR
periklis` has joined #nixos
periklis has quit [Ping timeout: 246 seconds]
<AK_> what if I wanna contribute? I see there is no efistub support in manual. and I just installed efibootmgr. I'm gonna create a new entry and I'll enable suspend/hibernate with systemd/logind defaults. I'm newb to this distro but I hope I'll learn it and maybe enjoy it.
kim0 has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #53659 → adlplug, opnplug: init at 1.0.0-beta.5 → https://git.io/fhZez
strobelight has joined #nixos
<{^_^}> [nixpkgs] @8084 opened pull request #53660 → pax: init at 0.4.0 → https://git.io/fhZeo
<ivegotasthma> I've packaged a python library, how can I test to make sure it builds correctly?
hedning has quit [Remote host closed the connection]
lihop has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @FRidh reopened pull request #53224 → python37Packages.pydot: 1.4.0 -> 1.4.1 → https://git.io/fhqbR
erictapen has joined #nixos
chessai has quit [Remote host closed the connection]
chessai has joined #nixos
<infinisil> ivegotasthma: Assuming you followed https://nixos.org/nixpkgs/manual/#contributing, `nix-build -A python.pkgs.<packagename> -A python3.pkgs.<packagename>`
m15k has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
detran has joined #nixos
smolboye has quit [Quit: WeeChat 2.2]
<ivegotasthma> infinisil: I did, thanks a lot
<{^_^}> [nixpkgs] @dotlambda merged pull request #53658 → pubs: 0.7.0 -> 0.8.2 → https://git.io/fhZen
<{^_^}> [nixpkgs] @dotlambda pushed commit from @dtzWill to master « pubs: 0.7.0 -> 0.8.2 (#53658) »: https://git.io/fhZe5
<ivegotasthma> infinisil: how will it find my clone of nixpkgs, I cloned from github and edited locally
<clever> ivegotasthma: the command infinisil gave doesnt list a file, so it will look for a default.nix in the current directory
<clever> ivegotasthma: so you will want to cd into nixpkgs before you run it
<ivegotasthma> ah, okay
<ivegotasthma> thanks
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
smolboye has joined #nixos
o1lo01ol1o has joined #nixos
endformationage has joined #nixos
chessai has quit [Remote host closed the connection]
<wedens> https://paste.ee/p/rVmTh when I do this, sometimes `zsh-files` disappear from the store (wthout gc), why?
imdoor has joined #nixos
hoijui has quit [Ping timeout: 264 seconds]
<wedens> now that I minified the example, I see that it references itself :) perhaps this is the problem
lihop has quit [Ping timeout: 258 seconds]
<wedens> no, it shouldn't matter, it'll end up in different store locations
<yorick> clever: how do I build ghc with a different cabal?
lihop has joined #nixos
Ariakenom has quit [Ping timeout: 244 seconds]
Tucky has quit [Quit: WeeChat 2.2]
o1lo01ol1o has quit [Remote host closed the connection]
smolboye has quit [Ping timeout: 246 seconds]
smolboye has joined #nixos
<unacceptable> How the hell is linuxManualConfig supposed to be invoked? The example from the manual just leaves me with The option `custom-kernel' defined in `/etc/nixos/configuration.nix' does not exist
erasmas has joined #nixos
imdoor has quit [Quit: imdoor]
imdoor has joined #nixos
<wedens> unacceptable: perhaps you can use `linuxPackages_custom`?
periklis` has quit [Remote host closed the connection]
<yl[m]> I'm trying to learn the type system, how do I test a declared type in nix repl? See a nix repl session here https://gist.github.com/kalbasit/cbd0a6eddfe3b1ee5b90662f1b5e98c1
<unacceptable> Maybe it's a nixism I'm not used to, but where in the expression is that meant to go?
<wedens> unacceptable: `boot.kernelPackages = pkgs.linuxPackages_custom { ...... };`
<unacceptable> hmm
<infinisil> > types.int.check 10
<{^_^}> true
<infinisil> > types.int.check "foo"
<{^_^}> false
alex_giusi_tiri has left #nixos [#nixos]
<infinisil> yl[m]: ^^
<yl[m]> oh so .check
<yl[m]> infinisil: thx let me try that
worldofpeace has joined #nixos
smolboye has quit [Quit: WeeChat 2.2]
klntsky has quit [Quit: WeeChat 1.6]
ddellacosta has joined #nixos
<yl[m]> > transform = with pkgs; with pkgs.lib; let transformType = with types; let list3 = elemType: addCheck (listOf elemType) (l: length l != 3); in uniq (list3 (list3 float)); in mkOption { type = transformType; description = "3×3 matrix of floating point numbers"; default = []; example = [ [ 0.6 0.0 0.0 ] [ 0.0 0.6 0.0 ] [ 0.0 0.0 1.0 ] ]; }
<{^_^}> transform defined
<yl[m]> > transform.check [ [ 0.6 0.0 0.0 ] [ 0.0 0.6 0.0 ] [ 0.0 0.0 1.0 ] ]
<{^_^}> attribute 'check' missing, at (string):215:1
<yl[m]> infinisil: ^^ got the same in repl
klntsky has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/836d1d7c1cc (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
lihop has quit [Ping timeout: 244 seconds]
<infinisil> yl[m]: You need to call it on the type, not the option
<yl[m]> infinisil: oh
devalot has quit [Remote host closed the connection]
kochev has joined #nixos
boogiewoogie has joined #nixos
o1lo01ol1o has joined #nixos
smolboye has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
sakalli_ has joined #nixos
<yl[m]> > let transformType = with pkgs; with pkgs.lib; with types; let list3 = elemType: addCheck (listOf elemType) (l: length l != 3); in uniq (list3 (list3 float)); in transformType.check [ [ 0.6 0.0 0.0 ] [ 0.0 0.6 0.0 ] [ 0.0 0.0 1.0 ] ]
<{^_^}> false
<yl[m]> interesting that I was expecting this to work
babic has joined #nixos
<yl[m]> infinisil: do you have ideas here?
m15k has quit [Ping timeout: 256 seconds]
<infinisil> yl[m]: "length l != 3"
<infinisil> Shouldn't it be the inverse?
<yl[m]> let me check
<yl[m]> oh that's right
<yl[m]> thx infinisil
<infinisil> Also, why is list3 recursive? And what's that uniq supposed to achieve?
<infinisil> Oh wait it's not recursive sry
<infinisil> But what's that uniq do?
<infinisil> > uniq [ 1 2 3 1 2 4 ]
<{^_^}> undefined variable 'uniq' at (string):215:1
<infinisil> > lib.uniq [ 1 2 3 1 2 4 ]
<{^_^}> attribute 'uniq' missing, at (string):215:1
<infinisil> Oh, maybe I don't even know what uniq does haha
<cransom> > lib.uniq [ 1 1 2 3 ]
<{^_^}> attribute 'uniq' missing, at (string):215:1
<infinisil> Ohh, it's unique
<infinisil> > lib.unique [ 1 2 3 1 2 4 ]
<{^_^}> [ 1 2 3 4 ]
kochev has quit [Ping timeout: 246 seconds]
<infinisil> Ah and uniq is from types
<infinisil> # Value of given type but with no merging (i.e. `uniq list`s are not concatenated).
freedan42x has quit [Remote host closed the connection]
<infinisil> AHh I see, TIL
emacsomancer has quit [Remote host closed the connection]
<sakalli_> hi * nixos noob here. any R users here? running R from nix-shell and declaring necessary CRAN packages in default.nix. any pointers how i could install R packages from github?
<{^_^}> [nixpkgs] @veprbl merged pull request #53574 → qtile: 0.12.0 -> 0.13.0 → https://git.io/fhG0X
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fhZvw
<sakalli_> ie. when i normally would us devtools::install_github()
o1lo01ol1o has quit [Remote host closed the connection]
<Myrl-saki> Can I get comments on #53600 and nixops#1073 ?
<yorick> clever: stack --nix uses the same ghc+cabal 2.0.1, and works :s
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53600 (by adrianparvino, 19 hours ago, open): nixos/modules/system/boot/stage-1.nix: Add support for mounting files encrypted with luks
<{^_^}> https://github.com/NixOS/nixops/issues/1073 (by adrianparvino, 2 days ago, open): `nixops backup-status` erroneously reports `incomplete` for `running` backups
humanoyd has joined #nixos
humanoyd is now known as Guest16328
emacsomancer has joined #nixos
o1lo01ol1o has joined #nixos
<infinisil> ,find r-packages/default.nix
<{^_^}> Couldn't find any such files
<infinisil> ,find r-modules/default.nix
emacsomancer has quit [Remote host closed the connection]
<infinisil> sakalli_: Try using a mkDerivation according to mkDerive defined in this file ^^
freedan42x has joined #nixos
<infinisil> Oh, yeah just using buildRPackage should work
emacsomancer has joined #nixos
emacsomancer has quit [Remote host closed the connection]
__Sander__ has quit [Quit: Konversation terminated!]
Ariakenom has joined #nixos
fpletz has joined #nixos
imdoor has quit [Quit: imdoor]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/836d1d7c1cc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<sakalli_> cool, will try. cheers
afics has quit [Remote host closed the connection]
afics has joined #nixos
jomik has joined #nixos
jomik has quit [Client Quit]
jomik has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #53568 → abella: 2.0.5 -> 2.0.6 → https://git.io/fhGBU
<{^_^}> [nixpkgs] @vbgl pushed commit from @ciil to master « abella: 2.0.5 -> 2.0.6 »: https://git.io/fhZv5
o1lo01ol1o has quit [Ping timeout: 240 seconds]
sigmundv_ has quit [Ping timeout: 250 seconds]
smolboye has quit [Quit: WeeChat 2.2]
<wedens> is it possible to symlink file without copying it to the store using home-manager?
emacsomancer has joined #nixos
emacsomancer has quit [Read error: Connection reset by peer]
emacsomancer has joined #nixos
<wedens> perhaps I should add it to activation scripts or something. if there is no alternative
emacsomancer has quit [Remote host closed the connection]
smolboye has joined #nixos
emacsomancer has joined #nixos
<{^_^}> [nixops] @PsyanticY opened pull request #1076 → datadog: Add tags creation to datadog monitors → https://git.io/fhZvA
chessai has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
symphorien has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
chessai has quit [Ping timeout: 240 seconds]
<{^_^}> [nix-mode] @etu opened pull request #73 → fix-issue-72: Check the correct element from syntax-ppss → https://git.io/fhZfL
<infinisil> wedens: Probably just `home.files.foo.source = toString ./path/to/file` works. Note that this needs deploment machine = build machine to work (because the path will just be a string, it won't be copied around)
<fendor> is it possible that i can not execute stack projects that rely on ghc-8.2.1?
smolboye has quit [Ping timeout: 250 seconds]
jomik has quit [Quit: WeeChat 2.2]
emily has joined #nixos
smolboye has joined #nixos
o1lo01ol1o has joined #nixos
ottidmes has joined #nixos
<ottidmes> > attrNames haskell.compiler
<{^_^}> [ "ghc822" "ghc822Binary" "ghc844" "ghc861" "ghc862" "ghc863" "ghcHEAD" "ghcjs" "ghcjs82" "ghcjs84" "integer-simple" ]
<ottidmes> fendor: so I guess not, considering the above ^
<fendor> ottidmes, is there a work around? Caus this is really not cool when trying to develop stuff...
<__monty__> fendor: Pin nixpkgs I guess? Or use stack *without* nix integration?
<ottidmes> fendor: the only thing I can think of is to go back in time, i.e. go with a nixpkgs checkout that still has ghc 8.2.1 available
smolboye has quit [Read error: Connection reset by peer]
smolboye_ has joined #nixos
<fendor> __monty__, what if I want to support a package with multiple supported ghcs? should I maintain hald a dozen nix files?
<fendor> ottidmes, then I would add another channel, or how can I do that?
<fendor> wedens, thanks!
<__monty__> fendor: Pretty sure you could write a nix expression that uses a different pinned version of nixpkgs for each version of GHC.
drakonis has joined #nixos
<__monty__> Though really, shouldn't something that works with 8.2.1 work with 8.2.2?
<fendor> __monty__, I dont know, something like ghc-mod not necessarily, right?
smolboye_ has quit [Ping timeout: 246 seconds]
<fendor> __monty__, would I then be able to use stack? Because maintaining two different build tools for the same project is quite the burden
smolboye has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @zauberpony opened pull request #53661 → hcloud: 1.9.1 -> 1.11.0 → https://git.io/fhZf8
<__monty__> fendor: Afaik you can use stack like you would on any other system.
<mpickering> It would be useful if someone maintainer an overlay which contained a pin relevant for every ghc release
<fendor> __monty__, no, i does not know how to install ghc
<fendor> s/i/it/
<__monty__> Ah.
<{^_^}> [nixpkgs] @gnidorah opened pull request #53662 → opl3bankeditor, opn2bankeditor: init → https://git.io/fhZfu
<__monty__> Yeah, I think if you want both stack and nix you'll have to pin the nix expression manually every time you change stackage LTS.
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
xok has joined #nixos
<xok> hello all...
<xok> can anyone quickly help me how to install php 5.4 or similar in nixos?..
smolboye has quit [Client Quit]
<fendor> __monty__, sounds kind of impractical...
<etu> xok: You'll probably have to go back to an old channel and grab it there. It's probably the easiest way.
smolboye has joined #nixos
<xok> etu: I am trying to deploy on digitalocean with nixops, can you help me figure out how to do that?..
<__monty__> fendor: Not fun but not too bad, since you can share it across all projects that need the same ghc versions.
<ottidmes> is my understanding correct that you can only have one override for haskellPackages? If I define it in the shell.nix of my project the haskellPackages override defined system-wide seems to be ignored
smolboye has quit [Client Quit]
ubert has quit [Quit: Leaving]
jbarthelmes has quit [Ping timeout: 258 seconds]
<__monty__> Huh, I'd expect them to stack. Unless you're pinning nixpkgs or something.
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
o1lo01ol1o has joined #nixos
<ottidmes> __monty__: I expected that too, but I get an error about a dependency missing, while it is there when I check like this: nix-instantiate --eval --strict --expr 'with import <nixpkgs> { }; haskellPackages.pretty-output.name' and all I do in shell.nix is: pkgs.haskellPackages.override { overrides = haskellPackagesOverlay; } (where pkgs is from: import <nixpkgs> { })
<fendor> __monty__, do you think there might be a more automatic solution?
<fendor> or maybe there is none yet, but we could create one?
AK_ has quit [Remote host closed the connection]
<__monty__> ottidmes: Does it work if you don't override a second time in shell.nix?
<etu> xok: A second :)
<ottidmes> __monty__: ah it is just this issue: https://github.com/NixOS/nixpkgs/issues/25887 I actually ran into this before but lost that config and forgot about it
<{^_^}> #25887 (by ocharles, 1 year ago, closed): Overriding (Haskell) packages repeatedly is surprising and non-modular
<__monty__> fendor: I don't know of one. I think most people either go with stack xor nix so there's not a lot of effort going into this?
<{^_^}> [nixpkgs] @globin merged pull request #53598 → atlassian updates → https://git.io/fhGyf
<{^_^}> [nixpkgs] @globin pushed 7 commits to master: https://git.io/fhZfo
<fendor> __monty__, but if i am on NixOS, i dont think i even have a choice... And this way it contributes even more to the tooling problem in haskell
chessai has joined #nixos
<etu> xok: I put this in a file I called shell.nix https://ptpb.pw/fEOU/nix and a simple "nix-shell" seems to compile php 5.4 for me now :p
<etu> xok: Riddled with security holes I must warn you.
<ottidmes> __monty__: same issue but a better solution: https://github.com/NixOS/nixpkgs/issues/26561
<{^_^}> #26561 (by ElvishJerricco, 1 year ago, open): "haskellPackages.extend" and "haskellPackages.override" are incompatible
<__monty__> fendor: The tooling problem in haskell is that not everyone is using nix yet : )
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « bento4: 1.5.1-624 -> 1.5.1-627 »: https://git.io/fhZfi
<fendor> __monty__, not entirely, nix does not solve the problem per se, I dont think in nix you have multiple packages with different versions right?
<elvishjerricco> fendor: Nix is fine with that. It's Cabal/GHC that doesn't like multiple versions
<elvishjerricco> Which is reasonable.
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1076 → datadog: Add tags creation to datadog monitors → https://git.io/fhZvA
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fhZfM
aleph- has joined #nixos
<etu> xok: yep, got this php version running in a nix-shell now: PHP 5.4.45 (cli) (built: Jan 01 1970 00:00:01)
<fendor> both of these tools have a lot of problems...
<xok> etu: Thank you very much...
<etu> xok: I'm sorry that you have to deal with such old php though ;)
tzemanovic has joined #nixos
<fendor> however, so currently, I can not maintain some ghc's while on nixos without some manual work
<__monty__> Yes.
<__monty__> You'll run into manual work in plenty of things nix though : )
boogiewoogie has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ivan opened pull request #53663 → ibus-engines.mozc: 2.20.2673.102 -> 2.23.2815.102 → https://git.io/fhZfS
<__monty__> All the advantages nix gives you don't come for free, yet.
AK_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<AK_> I think I had to add some strings like app-shells/zsh to enable zsh for my user?
<xok> etu: yeah, the client has an old drupal site, I am migrating it to Nix...
smolboye has joined #nixos
<fendor> __monty__, yes, it is quite the arch experience, however, i like it. At least when I can find documentation
<xok> etu: can you help me to convert your thing to use nixops?..
o1lo01ol1o has joined #nixos
<__monty__> fendor: The manual work is pretty minimal though. Pinning isn't that hard.
theo_ has joined #nixos
smolboye has quit [Quit: WeeChat 2.2]
knupfer has quit [Remote host closed the connection]
Xal has quit [Ping timeout: 250 seconds]
fendor has quit [Ping timeout: 258 seconds]
AK_ has quit [Quit: Lost terminal]
<theo_> Hi, I recently updated my packages from nixos-18.03 to nixos-18.09 by running sudo nix-channel --add https://nixos.org/channels/nixos-18.09 nixos followed by nixos-rebuild switch --upgrade
smolboye has joined #nixos
<theo_> It seems to have worked for the most part but it seems to have affected my system in unwanted ways
mariel__ has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed commit from @8084 to master « pax-rs: init at 0.4.0 (#53660) »: https://git.io/fhZfh
<{^_^}> [nixpkgs] @veprbl merged pull request #53660 → pax: init at 0.4.0 → https://git.io/fhZeo
<theo_> for example my vimrc was partially corrupted - non-traditional characters were corrupted and changed to regular characters (e.g. unicode arrow turned to â~F~R)
ThatDocsLady_ has quit [Remote host closed the connection]
<theo_> does anyone know why a channel update would affect a vimrc? it was stored in ~/.vim/vimrc
aleph- has quit [Ping timeout: 258 seconds]
smolboye has quit [Client Quit]
dbmikus has joined #nixos
sanscoeur has joined #nixos
Xal has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
smolboye has joined #nixos
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<samueldr> theo_: did you reboot since updating? do you have locally-installed (nix-env) with another channel?
tzemanovic has quit [Remote host closed the connection]
<samueldr> I think this could be caused by mixing 18.03 stuff with 18.09, as I have the same in terminal software, but this is a visual artifact
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<equivrel> Hi, I'm trying to use nix to deploy a website. I'd like to use fetchgit to pull the latest HEAD of a repo, instead of a specific commit. It seems like it's necessary to provide a hash though, perhaps this is the nix way. Is there anything I can do?
<samueldr> (e.g. tig will show me similar escape sequences in a particular case where I have a pinned nixpkgs of 18.03 and use it from 18.09)
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<theo_> samueldr: I rebooted straight after the nixos-rebuild switch, and when I tried to edit a file with vim it complained that there was an error in my vimrc, so I don't think it's just a visual artifact
<samueldr> :/ weird, it might be another issue
<theo_> samueldr: I do have a local nix-env with some programs installed, but vim wasn't one of them
<{^_^}> [nixpkgs] @joachifm pushed to master « pacman: set localstatedir to standard FHS path »: https://git.io/fhZJU
ddellacosta has quit [Remote host closed the connection]
<theo_> samueldr: it's not too big an issue for me outside of a minor annoyance but I'm just worried that other parts of my system may be affected
<{^_^}> [nixpkgs] @matthewbauer merged pull request #53615 → cups: use v2.2.6 on darwin → https://git.io/fhG7k
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhZJI
<samueldr> AFAIK no other reports of similar issues where it *affects* the files, but I've seen the visual thing being mentioned here and there
<duairc> I'm trying to make pinentry_gnome3 the default pinentry on my system, pretty the same way it was before this commit was reverted: https://github.com/NixOS/nixpkgs/commit/3f7e3db74426f658b4625505d262c1f7b288606d
sanscoeu_ has joined #nixos
<duairc> So now it's rebuilding everything that depends on gnupg, which is loads of things
<duairc> But the build of gpgme keeps failing
<duairc> One of the tests, something about ToFU
RRedcroft has joined #nixos
<RRedcroft> Hi guys
<duairc> I'm not sure what to do here other than give up
<theo_> samueldr: very odd... were the steps I took the correct steps to upgrade? Initially I had just system.stateVersion = "18.09" in my configuration.nix, then I ran the sudo nix-channel -add .... followed by the rebuild-switch --upgrade
fusion809 has quit [Remote host closed the connection]
<samueldr> ,stateVersion theo_
<{^_^}> theo_: Setting stateVersion to the latest release doesn't update anything and can only break your setup at best. If you want to regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually upgraded with the new value
knupfer has joined #nixos
<samueldr> though changing it to 18.09 is a no-op since nothing changed between 18.03 and 18.09 and was using stateVersion
sanscoeur has quit [Ping timeout: 240 seconds]
hiroshi has joined #nixos
<samueldr> changing the channel like you described is the way to upgrade
cyounkin_ has quit [Remote host closed the connection]
<theo_> samueldr: ah my bad, I'll bear that in mind next time.
cyounkins has joined #nixos
<samueldr> theo_: don't take it personally, you're part of a significant amount of users doing the same thing :)
<RRedcroft> How can i easily override some package options? I'd like to override package version and sha256
<theo_> samueldr: it seems quite easy to do, even with the comment warning against it. Guess that'll teach me to read next time!
<theo_> samueldr: Is there any chance any other part of my system has been affected by this?
<chrisaw> Can anyone help me with using https://github.com/NixOS/nixpkgs/pull/44028/commits/597091ac833c6d685fba51150226d92a1057aaf3 with nixpkgs.overlays = []; ? I'm really not familiar with this "let ___ in _____" style of nix. :(
<theo_> samueldr: I can sleep easy if it's just a vimrc but the possibility of any file being affected is worrisome
<samueldr> theo_: by changing stateVersion? highly unlikely, nothing checks against 18.09 in nixpkgs
<infinisil> ,stateVersion = Setting stateVersion to the latest release doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you want to update the stateVersion option regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value.
<{^_^}> stateVersion redefined, was defined as: Setting stateVersion to the latest release doesn't update anything and can only break your setup at best. If you want to regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually upgraded with the new value
<samueldr> theo_: is the vimrc file you're talking about in your home or part of the system?
<samueldr> because generally, upgrades of the system can't and shoulnd't affect things in your home :/
<theo_> samueldr: I had changed stateVersion over a month ago, it was only this recent channel upgrade that broke things
<theo_> samueldr: the vimrc is in /home/theo/.vim/vimrc
<theo_> samueldr: which is why I'm worried
<samueldr> I presume the file isn't versioned?
<chrisaw> So far my attempt has been https://pastebin.com/raw/VrjDA9GD but I suspect I'm way off the mark. :|
<samueldr> (e.g. kept in git, mercurial or similar)
<infinisil> chrisaw: https://nixos.wiki/wiki/Nix_Expression_Language#let_..._in_statement
chpatrick has joined #nixos
<theo_> samueldr: sadly not, but luckily I transferred my vimrc to my work computer a little while back so it's fine
<chpatrick> hey, do you know a good place in nixpkgs where I can contribute this? should I make a config option or just a package? https://gist.github.com/chpatrick/f7e8c30026634d6344924c87c87a08d6
<samueldr> it would have been interesting to see the changes
<chrisaw> infinisil: Ahh, thanks. That's very helpful. :)
<samueldr> AFAIK the only ways to affect your files in your home is if the software being updated itself affects those files
knupfer has quit [Ping timeout: 250 seconds]
<samueldr> so e.g. if $foo_software changed it behaviour so that a once valid file is now invalid, or tries to change the files
ris has joined #nixos
<theo_> samueldr: wouldn't have thought that would be the case with vim though
<theo_> samueldr: just getting the old vimrc now, 2 seconds
o1lo01ol1o has quit [Remote host closed the connection]
<samueldr> theo_: could you `type vim`, and share the path it points to? just in case
<theo_> vim is /nix/var/nix/profiles/default/bin/vim
o1lo01ol1o has joined #nixos
<theo_> samueldr: very interesting development though
<theo_> samueldr: I opened up the old vimrc (one that definitely won't have been corrupted) and it's got the same corruptions
<theo_> e.g. set listchars=tab:â~T~B·,trail:â~@¢,precedes:â~F~P,extends:â~F~R
<theo_> where previously the â~T~B would have been a single character
reinhardt has joined #nixos
<samueldr> okay, so *that* looks like the visual issue I was thinking about, could it be two compounding issues?
<theo_> samueldr: definitely seems like it. I opened up the same file in emacs and it's fine, no issues with it at all
<theo_> samueldr: what's baffling is that I hadn't touched my vimrc before or after the upgrade, yet when I tried to open a completely different file with vim it complained that my vimrc was incorrect
<samueldr> "great", at least it looks like it's not files corrupting themselves :/
<theo_> samueldr: yeah it's definitely a lesser issue now
<samueldr> was it specifically that line?
<samueldr> it could be that listchars had its behaviour changed OR that it's linked to the visual issue
<theo_> samueldr: the listchars was the problem yeah, after I commented it out I've got no issues with the vimrc
<samueldr> listchars IIRC is sensible to encoding since it needs to be "a character" to be valid
<samueldr> if somehow it both shows and thinks the cars are not the unicode characters you were intending it to be, it might get fussy
<theo_> samueldr: oh hang on
<samueldr> I have a thought in mind that it could be related to glibc locales, but I am unsure
<theo_> samueldr: this could actually be a terminal specific issue
<theo_> samueldr: I'm trying to paste a unicode character which I'm sure urxvt used to accept but now it doesn't seem to
<theo_> sameuldr: and it comes out exactly as the corrupted characters we see in the new listchars
smolboye has quit [Quit: WeeChat 2.2]
<samueldr> theo_: is urxvt part of your user profile?
<theo_> samueldr: no, it's defined in environment.systemPackages
<theo_> as is vim
<jabranham> Do we know what kernel version will be the default in nixos 19.03?
<samueldr> use `type urxvt` to confirm, just in case (or `type rxvt_unicode` or however it is started)
acarrico has joined #nixos
winem_ has quit [Remote host closed the connection]
<samueldr> jabranham: latest LTS at the time of the release, so it's going to be 4.19
<jabranham> samueldr: great, thanks
<theo_> samueldr: urxvt is /run/current-system/sw/bin/urxvt
<yl[m]> rycee: regarding your comment `Did you have a look at the option description in the generated manual? I think you might want to… ` how to compile the manual?
smolboye has joined #nixos
smolboye has quit [Client Quit]
<{^_^}> [nixpkgs] @iblech opened pull request #53664 → tikzit: 2.0 -> 2.1 → https://git.io/fhZJl
freeman42x has joined #nixos
<samueldr> theo_: oh, though probably will not fix, it looks like your `vim` was installed via nix-env by root; it seems I missed that earlier
<RRedcroft> Can someone help me with setting up overrideDerivation? it complains about 'option myHou does not exist' https://pastebin.com/LbxtVU85
<theo_> samueldr: wow great spot, so it is
sanscoeu_ has quit [Remote host closed the connection]
<theo_> samueldr: uninstalling from nix-env now, thanks so much
fusion809 has joined #nixos
<samueldr> theo_: maybe a good time to review what's there with `nix-env -q` ?
sigmundv_ has joined #nixos
sanscoeur has joined #nixos
<theo_> samueldr: just vim and inconsolata (font) for root. Must have been when I was first tinkering with the system
<theo_> samueldr: FIXED! urxvt and vim are showing the characters again, thanks so much for your help!
<theo_> samueldr: would never have thought to look in root's nix-env
* samueldr sighs of relief
<samueldr> no actual issue
<samueldr> well, yes, but a known one
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<theo_> all's well that ends well
<theo_> no need to report this anywhere then?
smolboye has joined #nixos
<rycee> yl[m]: If you have `manual.manpages.enable = true` (which is the default) then it will compile the man page automatically. So it should show up in `man home-configuration.nix`.
<samueldr> I don't think so
<yl[m]> rycee: oh I see, thank you! I'll check it out.
imdoor has joined #nixos
<rycee> yl[m]: You can also set `manual.html.enable = true` (this defaults to false) and then you can run `home-manager-help` to open the HTML manual in a browser.
<yl[m]> oh cool!
<yl[m]> rycee: also re: the trivial example, you meant a string instead of the list?
<rycee> Hmm, you mean the literal example.
<rycee> Yeah, like a multi-line string formatted like you have it but with the function `literalExample` applied to it.
<rycee> yl[m]: There are many examples. For example see the `programs.go.packages` option in the `go.nix` file.
<yl[m]> oh! thank rycee ! I'll update the PR as soon as I can
<{^_^}> [nix] @veprbl opened pull request #2617 → remove some dead code in nix/repl.cc → https://git.io/fhZJr
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 250 seconds]
AK_ has joined #nixos
<AK_> user isn't in sudoers file, this incident will be reported. I'm in wheel group.
o1lo01ol1o has joined #nixos
<AK_> so I can't use sudo .
<infinisil> AK_: Was reported to Santa, you're now on the naughty list
<exarkun1> is nixops broken against nixpkgs master@HEAD? error: value is null while a set was expected, at /home/exarkun/Projects/nixpkgs/pkgs/top-level/default.nix:63:5
fendor has joined #nixos
<{^_^}> #51858 (by YuMingLiao, 4 weeks ago, open): error: value is null while a set was expected, at pkgs/top-level/default.nix:63:5 (when nixops deploy)
AK_ has quit [Ping timeout: 258 seconds]
hoijui has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53590 → Update keybase and related packages → https://git.io/fhGPi
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fhZJ5
smolboye has quit [Quit: WeeChat 2.2]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
fusion809 has quit [Remote host closed the connection]
smolboye has joined #nixos
mariel__ has quit [Ping timeout: 250 seconds]
alex_giusi_tiri has joined #nixos
semilattice has joined #nixos
hoijui has quit [Remote host closed the connection]
<infinisil> exarkun1: Yeah, use nixopsUnstable to fix
s2mitrov has joined #nixos
<neonfuz> Is it possible to start a second display manager?
<neonfuz> I've only ever dealt with multiple x sessions at once, not display manager
s2mitrov has quit [Client Quit]
hoijui has joined #nixos
<ivan> neonfuz: I use startx
<neonfuz> aight lol
<{^_^}> #47773 (by xeji, 13 weeks ago, merged): nixos/display-managers/startx: init
sinner has joined #nixos
sinner is now known as Guest13576
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
<{^_^}> [nixpkgs] @ThomasMader opened pull request #53666 → dmd: 2.083.1 -> 2.084.0 → https://git.io/fhZUG
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fhZUZ
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51179 → pythonPackages.glom: init at 18.3.1 → https://git.io/fp2ze
xok has quit [Quit: Leaving.]
<RRedcroft> Would someone mind helping me overriding a package version please?
apaul1729 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53621 → gnome-menus: 3.10.1 -> 3.31.3 → https://git.io/fhG53
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « gnome-menus: 3.10.1 -> 3.31.3 »: https://git.io/fhZUu
smolboye_ has joined #nixos
smolboye_ has quit [Read error: Connection reset by peer]
tzemanovic has joined #nixos
smolboye_ has joined #nixos
smolboye has quit [Ping timeout: 258 seconds]
gagbo has joined #nixos
RRedcroft has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<{^_^}> [nixpkgs] @adevress closed pull request #36339 → Fix a dirty hack in the python wheel extractor that did not work if a… → https://git.io/vAQgr
wucke13 has joined #nixos
tzemanovic has quit [Ping timeout: 246 seconds]
<wucke13> Why isn't the `./configure` script run in the configure phase, if only configureFlags is set?
<{^_^}> [nix-mode] @etu closed pull request #73 → Check the correct element from syntax-ppss → https://git.io/fhZfL
<gchristensen> etu: did that break?
<etu> gchristensen: it normalize everything in the string to the same level
<etu> gchristensen: Gotta do some thinking :p
<gchristensen> aye :)
<gchristensen> etu: can we defer to the standard indentation function while inside that block?
theo_ has quit [Quit: Lost terminal]
tzemanovic has joined #nixos
ambro718 has joined #nixos
VariousResponse has joined #nixos
Dedalo has joined #nixos
<ottidmes> is there some tooling I could use to do automatic PRs to nixpkgs? It is to maintain a list of packages where there would be multiple version bumps every week or so, so maintaining it manually would be annoying
<VariousResponse> hello all, does anyone here use mopidy and some cli for music on Nixos?
ddellacosta has joined #nixos
<ottidmes> and those packages are not on repology so nixpkgs-update cannot be use
Guest16328 has quit [Quit: WeeChat 2.3]
<etu> gchristensen: You mean not nix-indent-region? In theory sure, we have a function to detect if we're in a string. Not sure how exactly how/what it does but the name suggest what it's for
ddellaco_ has joined #nixos
<apaul1729> wucke13 do you have some specific program you're trying to build?
ddellacosta has quit [Ping timeout: 245 seconds]
<ottidmes> just found https://hub.github.com/ guess I can use that to automate it
o1lo01ol1o has joined #nixos
<dmj`> is there a way to manipulate a CMakeLists file
<dmj`> from a derivation
<dmj`> besides sed'ing
Dedalo has quit [Ping timeout: 272 seconds]
alex`` has quit [Ping timeout: 240 seconds]
<simpson> ottidmes: There's whatever ryantm uses, too. `hub` does work but it's a little quirky and also ISTR that it has an unexpected name in nixpkgs.
<simpson> > hub
<{^_^}> undefined variable 'hub' at (string):215:1
<simpson> Case in point.
reinhardt has quit [Quit: Leaving]
VariousResponse has quit [Ping timeout: 256 seconds]
alex`` has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<infinisil> Don't tell me the state got wiped again..
<infinisil> > :v
<{^_^}> All bindings: _add _assign _attrName _attrs _blue _bold _bool _bracket _concat _int _null _num _number _red _semi _set _show _string a aandb add allDeps array2list assign attr attrName attrs b bar bold boldcolors boldpalette bool bracket buildList builtinsbackup c cToF codes coinflip colors compose composeAlt composeHack concat contents curly cyan deepEval descriptions doublestring drop end esc eval eval2 f f2 f3 fact false file fnv1a32 fnv1a64 foo fo
<infinisil> Phew
<infinisil> > gitAndTools.hub
<{^_^}> "<derivation /nix/store/91s712srwxj9233bh6yyhw0djwd7nrnj-hub-2.7.0.drv>"
<infinisil> Ahh ^
<simpson> There it is! Nice.
smolboye_ has quit [Ping timeout: 258 seconds]
<wucke13> apaul1729: I want to write a build expression for a program which is not in the nixpkgs. I'm just wondering, because the configure script is not automatically called, even though thats what the nixpkgs manual states
kochev has joined #nixos
<ottidmes> simpson: nixpkgs-update is what ryantm made, but I believe it depends on repology version bumps and I am not aware if I can just point it to a different source
Dedalo has joined #nixos
aleph- has joined #nixos
smolboye has joined #nixos
<aleph-> Getting go apps running is a bother.
o1lo01ol1o has joined #nixos
<apaul1729> wucke13 that's weird. the project has a configure script in the root dir right?
<{^_^}> [nixpkgs] @timokau opened pull request #53667 → radare2: add propagated build inputs → https://git.io/fhZTl
<apaul1729> and it doesn't have a cmakelists.txt file right? because otherwise nix would try using the cmakeconfigurephase
vk3wtf has quit [Ping timeout: 252 seconds]
endformationage has quit [Quit: WeeChat 2.3]
<apaul1729> you can use `nix-build --show-trace` to get a little bit more debugging info
endformationage has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<apaul1729> then the output should indicate whether nix finds the configure script in the `src`
o1lo01ol1o has joined #nixos
<wucke13> Yes. Configuring works with `configurePhase = "./configure"`, but not without it
<{^_^}> [nixpkgs] @veprbl merged pull request #53664 → tikzit: 2.0 -> 2.1 → https://git.io/fhZJl
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fhZT0
<{^_^}> [nixpkgs] @Twey opened pull request #53668 → clang_{5,6,7}: add --sysroot argument pointing to gcc toolchain prefix → https://git.io/fhZTu
o1lo01ol1o has quit [Ping timeout: 244 seconds]
aleph- has quit [Ping timeout: 244 seconds]
<apaul1729> wucke13 not sure :/ you could try building the package in `nix-shell` with `genericBuild` to see how it fails?
vk3wtf has joined #nixos
Denommus has quit [Ping timeout: 250 seconds]
logzet has quit [Ping timeout: 252 seconds]
logzet has joined #nixos
<{^_^}> [nixpkgs] @avdv opened pull request #53669 → nixos/luksroot: Fix typo `Verifiying` -> `Verifying` → https://git.io/fhZTa
o1lo01ol1o has joined #nixos
<wucke13> apaul1729: Here is the given expression: https://pastebin.com/msKcQqT3
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53669 → nixos/luksroot: Fix typo `Verifiying` -> `Verifying` → https://git.io/fhZTa
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @avdv to master « nixos/luksroot: Fix typo `Verifiying` -> `Verifying` »: https://git.io/fhZTr
<mgdm> Anyone here familiar with running Kubernetes in Nix? I just followed https://rzetterberg.github.io/kubernetes-nixos.html on my 18.09 machine, and it started the master but not any nodes, so I can't schedule anything
logzet has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @gnidorah closed pull request #53342 → dro2midi, dro2imf: init → https://git.io/fhY88
logzet has joined #nixos
porrifolius has joined #nixos
<porrifolius> How do you resolve an 'Encountered missing dependencies' error when using nix-env to set up a haskell development environment?
<porrifolius> I've done a nixos-rebuild switch --upgrade and now, as a normal user, have setup my nixpkgs config as advised in the manual to specify my compiler as ghc863 using ghcWithHoogle...
<elvishjerricco> porrifolius: "Encountered missing dependencies" is usually either because the Nix expression is wrong, and omitted a dependency, or because a dependency is not within the version bounds of the package.
<porrifolius> eventually the building of polyparse complains about not have a dependency for base<4.12 (I think... I've just tried ghc862 and it complains for memory package).
ambro718 has quit [Quit: Konversation terminated!]
<elvishjerricco> porrifolius: Yea the fact that it's base just means that the package has too tight a version bound on base (since base is included with GHC, the Nix expression can't omit it)
<elvishjerricco> porrifolius: Most likely, the author was just being conservative, and you should be able to freely use `pkgs.haskell.lib.doJailbreak` to erase the packages version bounds. But it's possible the author actually knows of a reason that the package shouldn't be built with base 4.12 (i.e. ghc 8.6)
<porrifolius> elvishjerricco: I don't believe I'm using any nix expressions but what comes in from the channel... so I'll have to set up some overrides or something for failing packages? After figuring out what version of base ghc863 actually provides?
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<{^_^}> [nixpkgs] @timokau merged pull request #53667 → radare2: add propagated build inputs → https://git.io/fhZTl
<{^_^}> [nixpkgs] @timokau pushed to master « radare2: add propagated build inputs (#53667) »: https://git.io/fhZTH
<elvishjerricco> porrifolius: The channel *is* a bunch of Nix expressions :)
orivej_ has joined #nixos
orivej has quit [Read error: Connection reset by peer]
<elvishjerricco> porrifolius: So yea, you'll need to override the broken package
<porrifolius> elvishjerricco: yeah, I just meant I haven't been doing anything _to_ those nix expressions, overriding or whatever.
<Baughn> mgdm: Last I tried it, the kubernetes service for NixOS was pretty thoroughly broken.
<elvishjerricco> porrifolius: Something like this should do the trick https://www.irccloud.com/pastebin/nZiR2IoK/
<porrifolius> elvishjerricco: Something new to learn! :) I'll have a look at doJailbreak... having not done anything like this I guess I'll end up with something in the myHaskellEnv expression in my config that wraps memory/polyparse with a doJailbreak over base... something like that?
<porrifolius> elvishjerricco: thanks! I'll take a loook.
<apaul1729> wucke13 yeah nix can be a little annoying if you have cmake as a build input
<Baughn> mgdm: I'd recommend using something else for a base OS. Or alternately, not using kubernetes -- minikube works fine, and K8s is rarely the best option for a personal system of any kind. NixOS does have some very good alternatives.
<elvishjerricco> porrifolius: Or you can just replace your use of `haskellPackages` with the `haskellPackages.extend` expression I had above
<apaul1729> it'll try to use cmakeConfigurePhase, so make sure to set `dontUseCmakeConfigure = true;`
<mgdm> Baughn: In my case, my system has swap, so kubelet didn't want to start. It's purely for my own experimentation though so I can override that
<Baughn> mgdm: Oh, that. I have Opinions on that.
<Baughn> (In short, there is no point in the no-swap restriction; it doesn't actually help.)
eadwu has joined #nixos
wedens has quit [Quit: Connection closed for inactivity]
<mgdm> Baughn: I can maybe understand the logic but it is a weird default I think
<mgdm> I'd rather let you do it but with a warning
<Baughn> The problem is, turning off swapping doesn't actually turn off swapping.
<Baughn> Swap files/devices are *only* required for paging out *anonymous* memory. It has no effect on the kernel's ability to write out buffers, drop caches, or write-back non-anonymous memory.
<{^_^}> [nixpkgs] @timokau opened pull request #53670 → Vim plugins update → https://git.io/fhZkf
<Baughn> mgdm: So all you're really doing by disabling swap is forcing the kernel to swap out hot named pages in preference to cold anonymous ones.
worldofpeace has quit [Quit: worldofpeace]
<__monty__> Baughn: Are you talking about when you issue swapoff or does that include when you don't have a swap partition/file at all?
AK has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<Baughn> I'm not sure I understand. Swapoff is how you get to that state.
o1lo01ol1o has joined #nixos
<AK> I can see files for many distributions for a software. How can I install it with nix?
<mgdm> __monty__: AIUI the kernel will write out memory from mmapped files back to disk to clear memory if you don't have swap (which you probably don't want)
<Baughn> Indeed.
freedan42x has quit [Quit: Leaving]
<__monty__> Baughn: Is the "swapping out" that continues after swapoff swaping to the swap partition/file? So would it not happen at all if you did not have any swapspace.
<Baughn> It'll also do so if you do have swap, but it's less likely to do so.
<__monty__> So this happens before OOM killing?
<mgdm> yeah
<__monty__> Hmm, interesting.
<mgdm> it'll also get rid of disk caches and such like before resorting to OOM
<Baughn> __monty__: No, after you issue swapoff -a you don't *have* a swap partition. That's the point.
worldofpeace has joined #nixos
<Baughn> It won't keep using a partition you told it not to use.
<Baughn> But it will keep writing out files to the filesystem, dropping caches and so forth.
<__monty__> Yeah I think I get it. The swapping you're talking about is not actually swapping but other things that have a similar effect.
<Baughn> It absolutely includes swapping.
<__monty__> How about guidelines for how much swapspace to provide?
knupfer has joined #nixos
<AK> nix-env -iA nixos.anydesk
<Baughn> You can mmap a file on disk as read-write and use it for memory, and it'll act exactly like space on a swap partition does for anonymous memory.
<AK> no packages were found
W1lkins has quit [Quit: Bye]
<Baughn> ... Assuming you tell the kernel not to aggressively keep the file up to date, anyway.
W1lkins has joined #nixos
<Baughn> This isn't a rare situation. *Lots* of applications use RW mmap.
<AK> I just rebuild after upgrading to unstable but still I can't see anydesk
<AK> from 18.09
<Baughn> `nix search -u anydesk`
<cransom> anydesk is unfree, do you allow unfree packages?
<hodapp> Baughn: Is it basically backed by memory as long as there is enough memory to cache, but just use disk otherwise?
<Baughn> hodapp: "It"?
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #53671 → Yosys, nextpnr, Z3, etc updates → https://git.io/fhZkl
<Baughn> Mmapped files are a little special. The kernel will attempt to write changed pages to disk ASAP, which is not very like swap, but there are ways to make it not do that.
<Baughn> Madvise, most obviously. Deleting the file also helps.
<Myrl-saki> TIL, nix search.
<ivan> nice
<Myrl-saki> I just ag my nixpkgs
gagbo has quit [Quit: I'm out !]
sigmundv_ has quit [Ping timeout: 258 seconds]
<jtojnar> worldofpeace: do you have the tillix branch somewhere?
<{^_^}> [nixpkgs] @timokau pushed 4 commits to master: https://git.io/fhZkg
<{^_^}> [nixpkgs] @timokau merged pull request #53670 → vimPlugins: update, init neoterm and vim-slime → https://git.io/fhZkf
imdoor has quit [Remote host closed the connection]
imdoor has joined #nixos
imdoor has quit [Client Quit]
<{^_^}> [nixpkgs] @megheaiulian opened pull request #53673 → gitkraken: 4.1.1 -> 4.2.0 → https://git.io/fhZk2
vk3wtf has quit [Ping timeout: 250 seconds]
civodul has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
lord| has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
lord| has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @ElvishJerricco opened pull request #53674 → Limit parallel building of Haskell packages. [Fixes #53665] → https://git.io/fhZki
erictapen has quit [Quit: leaving]
<wucke13> apaul1729: Thanks for the hint, without cmake it works as expected
chpatrick has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jacereda opened pull request #53675 → darwin: basic_cmds was installing binaries in the wrong path → https://git.io/fhZkD
jacereda has joined #nixos
doyougnu has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
tzemanovic has joined #nixos
apaul1729 has quit [Remote host closed the connection]
imdoor has joined #nixos
freedan42x has joined #nixos
<freedan42x> Could someone help? How can I install "broadcom_sta"?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #53675 → darwin: basic_cmds was installing binaries in the wrong path → https://git.io/fhZkD
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhZkh
JosW has joined #nixos
cyounkin_ has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<clever> freedan42x: boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ]; i think
cyounkin_ has quit [Remote host closed the connection]
cyounkin_ has joined #nixos
o1lo01ol1o has joined #nixos
cyounkins has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52643 → ledger: Include info files → https://git.io/fhfSi
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhZIq
freedan42x has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 268 seconds]
<rain1> hey i wanna package the enigma game for my nixos system <https://www.nongnu.org/enigma/> can you help please. What way should I do this? I think it would be nice to just make one .nix file and somehow build and install it from that
<rain1> I don't want to clone the whole nixos packages thing, last time I did that it started compiling all software from source
<rain1> I tried the my-hello.nix example, I'll try to base it off that
o1lo01ol1o has quit [Ping timeout: 258 seconds]
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
knupfer has joined #nixos
vk3wtf has joined #nixos
ambro718 has joined #nixos
o1lo01ol1o has joined #nixos
imdoor has quit [Quit: imdoor]
povman has joined #nixos
kvda has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
povman has quit [Remote host closed the connection]
detran has quit [Ping timeout: 250 seconds]
<rain1> https://bpaste.net/show/dad0f1b8d865 I tried making a nix expression for it and it started building, but i got this compile error. Do you have any tips for debugging it and fixing it or do you think I should tell the enigma devs?
wucke13 has quit [Quit: WeeChat 2.2]
<ottidmes> rain1: could you also paste the expression itself?
<rain1> right now im trying nix-shell enigma.nix -A enigma and then ./configure and make manually in there
fendor has quit [Read error: Connection reset by peer]
<ottidmes> rain1: so far it is still building for me
<ottidmes> rain1: does it fail fast for you?
<rain1> wow the error message is 849 lines lol
<rain1> it took a while but i got the error isolated now
jackdk has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<rain1> I'll try adding the CPP flag -Wno-deprecated-declarations
kim0 has quit [Quit: Connection closed for inactivity]
knupfer has quit [Ping timeout: 250 seconds]
<ottidmes> rain1: it fails for me to with my package definition in building Proxy.o
<rain1> ah yes that's the same place for me
<jacereda> is purescript installing properly on linux? fails on my darwin box...
<jacereda> (I'm in master)
simukis has quit [Quit: simukis]
<{^_^}> #53597 (by 8084, 1 day ago, open): purescript failing to build
jomik has joined #nixos
<jomik> I am using direnv to load a shell.nix. But for some reason this results in various commands not working. emacsclient can not find the server and `fuck` does not find a dependency.
<jomik> Anyone have any idea why this can be?
alex_giusi_tiri has quit [Ping timeout: 244 seconds]
<duairc> Is it possible to use nixpkgs.config.packageOverrides to add a patch to a derivation?
<rain1> I added CPPFLAGS="-Wno-deprecated-declarations"; but it didn't seem to help
<gchristensen> jomik: run `env` before and after direnv loads the env and diff tem?
<{^_^}> [nixpkgs] @ryantm merged pull request #53526 → simpleitk: 1.1.0 -> 1.2.0 → https://git.io/fhso1
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhZLG
<gchristensen> duairc: packageOverrides = { mypkgs = pkgs.mypkg.overrideAttrs (old: { patches = (old.patches or []) ++ [ ./my.patch]; ); }
__monty__ has quit [Quit: leaving]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<ottidmes> rain1: I tried the patch used by Arch Linux' package for it, but it too failed
<rain1> oh interesting! thank you for trying it
tzemanovic has joined #nixos
<rain1> that was a good idea, i didn't think of checking other distros for patches
<duairc> gchristensen: Awesome!
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<jomik> gchristensen: I guess for fuck it makes sense that it may have trouble since PYTHONPATH gets set. Maybe. But I don't get why emacsclient wont find my /tmp/emacs1000. There is a bunch of NIX_* variables.
<jomik> And then stuff has been prepended to my path.
tzemanovic has joined #nixos
<jomik> But `which emacsclient` returns the same.
tzemanovic has quit [Remote host closed the connection]
dermetfan has quit [Ping timeout: 272 seconds]
bvdw has quit [Quit: Ping timeout (120 seconds)]
o1lo01ol1o has joined #nixos
bvdw has joined #nixos
<ottidmes> what is the policy on adding addHook's when overwriting phases? Someone in a review is suggesting I add them, but I am not convinced
sir_guy_carleton has joined #nixos
dermetfan has joined #nixos
strobelight has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Ping timeout: 244 seconds]
hoijui has quit [Remote host closed the connection]
ambro718 has quit [Quit: Konversation terminated!]
<rain1> yay it works I completed the package
dbmikus_ has quit [Ping timeout: 268 seconds]
colonel_john_by has joined #nixos
colonel_john_by has quit [Client Quit]
sigmundv_ has joined #nixos
<ottidmes> rain1: what was needed to fix it?
sir_guy_carleton has quit [Ping timeout: 258 seconds]
colonel_john_by has joined #nixos
<rain1> i changed ifs != NULL to !ifs (and swapped the branches) with a .patch. and I added imagemagick which was used
ris has quit []
ris has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
dbmikus_ has joined #nixos
fresheyeball has joined #nixos
colonel_john_by has quit [Client Quit]
sir_guy_carleton has joined #nixos
alex_giusi_tiri has joined #nixos
erasmas has quit [Quit: leaving]
<jomik> For some reason this command fails " nix-shell --pure "${drv}" --show-trace --run "$(join_args "$direnv" dump bash)" > "${dump}""
<jomik> nix-shell --pure "${drv}" --show-trace --run "$(join_args "$direnv" dump bash)" > "${dump}"
<jomik> Uh, in direnv.
<jomik> I suspect it has to do with this "$direnv"...
<jomik> Argh, this is probably the wrong place. It's just... related to nix :P
dermetfan has quit [Ping timeout: 246 seconds]
<jomik> Is there any way for me to see more output from that though? Because the dump is... wrong :/
<jomik> Probably due to it being an error.
o1lo01ol1o has joined #nixos
<jomik> Interesting.. I found a solution >.o
<jomik> Ah, original problem persists, dammit.
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<jackdk> wrt https://github.com/phadej/tdigest/issues/30#issuecomment-452220430 : is the correct response to jailbreak the package or dontCheck the package?
<{^_^}> [nixpkgs] @jbedo opened pull request #53677 → snpeff: 4.3q -> 4.3t → https://git.io/fhZLQ
kochev has quit [Ping timeout: 268 seconds]
dbmikus_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixos-hardware] @matthewbauer pushed to rpi « add raspberry-pi 0 and 3 »: https://git.io/fhZL7
<{^_^}> [nixos-hardware] @matthewbauer opened pull request #93 → add raspberry-pi 0 and 3 → https://git.io/fhZL5
dbmikus_ has joined #nixos
o1lo01ol1o has joined #nixos
<jomik> nix-shell messing up `fuck` and `emacsclient` sucks :( It's not just in direnv, it's when running nix-shell :(
jomik has quit [Quit: WeeChat 2.2]
eadwu has quit [Ping timeout: 264 seconds]
<develCuy> ,locate pdftk
<{^_^}> Found in packages: cheat, pdftk
aleph- has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
aleph- has quit [Ping timeout: 250 seconds]
doyougnu has quit [Quit: WeeChat 2.2]