gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || 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
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6fa01d5be04 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
sgronblo has joined #nixos
i1nfusion has quit [Remote host closed the connection]
Rusty1 has joined #nixos
i1nfusion has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58872 → roccat-tools: 5.7.0 -> 5.8.0 → https://git.io/fjI26
c0ffee152 has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
domogled has quit [Ping timeout: 268 seconds]
Jetien_ has joined #nixos
Jetien has quit [Ping timeout: 250 seconds]
jluttine has quit [Ping timeout: 255 seconds]
siel has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjI2S
blankhart has joined #nixos
kvda has quit [Read error: Connection reset by peer]
c0ffee152 has quit [Quit: Lost terminal]
sgronblo has quit [Ping timeout: 245 seconds]
ajs124 has quit [Quit: Gateway shutdown]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58873 → rspamd: 1.8.3 -> 1.9.0 → https://git.io/fjI2F
mconstant has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Izorkin has quit [Ping timeout: 245 seconds]
ajs124 has joined #nixos
mconstant has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58874 → rsyslog: 8.39.0 -> 8.1903.0 → https://git.io/fjI2j
jluttine has joined #nixos
d10n-work has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #58731 → kdeApplications.okteta: 0.25.5 -> 0.26.0 → https://git.io/fjILc
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjIaL
alex`` has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #58764 → python37Packages.altair: 2.3.0 -> 2.4.1 → https://git.io/fjIO1
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjIas
<tdeo> is neovim segfaulting on start for anyone else? on nixpkgs master
<glenndavy> not me, am on darwin
<jackdk> not me, am on emacs
<glenndavy> @jackdk :D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58875 → safeeyes: 2.0.8.1 -> 2.0.9 → https://git.io/fjIal
blankhart has quit [Quit: WeeChat 1.9.1]
<glenndavy> question - so i’ve built a ruby package as per `https://nixos.wiki/wiki/Packaging/Ruby` and its in my store. How do i ‘install’ it into my user environment?
alexozer has joined #nixos
<Church-> glenndavy: What package?
bemeurer has joined #nixos
<glenndavy> well its just a tool we wrote we use at work
<tdeo> you can actually just `nix-env -i <store path>`, but there are better ways, like creating an overlay in your nix config file
<glenndavy> ah, <store path> meaning full explicit path, not just name. ok.
<samueldr> or `nix-env -i result` if result is a symlink to that store path
<glenndavy> I’m very interested in this overlay idea
blankhart has joined #nixos
<glenndavy> ok
<glenndavy> i better see if i can make sense of overlays. thanks!
<blankhart> \leave
<samueldr> if it build using e.g. just nix-build, it would be installed with just `nix-env -f ./.` iirc
blankhart has left #nixos [#nixos]
<samueldr> ah, `nix-env -if ./.` would be more appropriate
<glenndavy> samueldr: yep, thats how i built it. Ah ok, cool, thats handy, i have quite a few of these
<samueldr> otherwise it's lacking an action
<glenndavy> :) yep i inferred that, but thanks
selfsymmetric-mu has joined #nixos
selfsymmetric-mu has left #nixos [#nixos]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> ,locate bin rst
<selfsymmetric-mu> ,locate bin rst
silver__ has joined #nixos
<Church-> Yeah listen to samueldr ^
<{^_^}> Found in packages: fpc, rstudio, rdma-core, rst2html5, rstudioWrapper, rstudio-preview, python27Packages.docutils, python37Packages.docutils, python27Packages.restructuredtext_lint
<{^_^}> Found in packages: fpc, rstudio, rdma-core, rst2html5, rstudioWrapper, rstudio-preview, python27Packages.docutils, python37Packages.docutils, python27Packages.restructuredtext_lint
<Church-> He knows his ruby shite
<Church-> Sup samueldr
<samueldr> that's not ruby Church-, that's nix :)
drakonis has joined #nixos
<Church-> Well yah know what I mean. :P
<Church-> Packaging ruby stuff
Mateon2 has joined #nixos
<selfsymmetric-mu> ,locate bin rst-sphinx
wfranzini1 has joined #nixos
<{^_^}> Couldn't find in any packages
<selfsymmetric-mu> :(
<gchristensen> (psst, selfsymmetric-mu, you can also PM with {^_^} :))
<selfsymmetric-mu> Ah, thanks gchristensen!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58876 → salt: 2018.3.2 -> 2019.2.0 → https://git.io/fjIa4
jonafato- has joined #nixos
<glenndavy> sweet, thanks all.. no doubt i’ll be back to plead for more help later
<samueldr> or install nix-index and use the full powers of nix-index, selfsymmetric-mu :)
silver_ has quit [Read error: Connection reset by peer]
hke has quit [Quit: Ping timeout (120 seconds)]
Mateon1 has quit [Remote host closed the connection]
callahad has quit [Quit: Ping timeout (120 seconds)]
wfranzini has quit [Remote host closed the connection]
erasmus has quit [Read error: Connection reset by peer]
Gohla has quit [Quit: Bye.]
realrokka has quit [Remote host closed the connection]
jonafato has quit [Quit: ZNC - http://znc.in]
wfranzini1 is now known as wfranzini
Mateon2 is now known as Mateon1
realrokka has joined #nixos
callahad has joined #nixos
Yaniel has quit [Excess Flood]
hke has joined #nixos
<selfsymmetric-mu> I have the executable, but the help text doesn't tell me how to use it.
<selfsymmetric-mu> Tells me it's just for building an index...
Gohla has joined #nixos
<samueldr> nix-locate is installed alongside nix-index
<selfsymmetric-mu> Aha! Thanks!
<samueldr> pleasure :)
drakonis has quit [Read error: Connection reset by peer]
Yaniel has joined #nixos
<selfsymmetric-mu> error: cannot import '/nix/store/msclbn1sbx203n5z1q3y5wzav3mkaidf-source', since path '/nix/store/xrrmrbppdjj5nm5xn9vyfhg1kbb8zwc2-source.drv' is not valid, at /nix/store/al0ij76y6aaaipa555sr0rl2n1bk9p5a-nixpkgs-18.09.2463.58fbebc4ea5/nixpkgs/lib/customisation.nix:110:45
<selfsymmetric-mu> Goodness.
<glenndavy> hmm, so why is the date on everything in nix-store Jan 1 1970?
<samueldr> by design
<selfsymmetric-mu> glenndavy: I wonder the same thing! It breaks ZIP.
sigmundv_ has joined #nixos
<gchristensen> it breaks zip?
thc202 has quit [Ping timeout: 250 seconds]
<selfsymmetric-mu> Yeah, zip doesn't support files before 1980.
<samueldr> it's a known date, IIRC one second after epoch
acowley has quit [Ping timeout: 246 seconds]
<tdeo> basically so no one has different dates and so possibly different behaviour
drakonis has joined #nixos
<gchristensen> bizarre
<samueldr> makes it so builds are more reproducible since the FS metadata is the same
mvnetbiz has quit [Ping timeout: 246 seconds]
ivegotasthma has quit [Ping timeout: 246 seconds]
<glenndavy> understood, knew there’d be a reason
<samueldr> (and no FS metadata is in the archives when downloading)
<samueldr> look at the file modes and owners
statusbot has quit [Ping timeout: 246 seconds]
statusbot has joined #nixos
<samueldr> last point of this section of the manual
<samueldr> >> After the build, Nix sets the last-modified timestamp on all files in the build result to 1 (00:00:01 1/1/1970 UTC), sets the group to the default group, and sets the mode of the file to 0444 or 0555 (i.e., read-only, with execute permission enabled if the file was originally executable). Note that possible setuid and setgid bits are cleared. Setuid and setgid programs are not currently supported by Nix. This is because the Nix archives used in
<samueldr> deployment have no concept of ownership information, and because it makes the build result dependent on the user performing the build.
<selfsymmetric-mu> Hm. nix-locate is broken for me locally and `{^_^}` can't find it but does anyone know offhand if ReStructuredText executables `rst` or `rst-sphinx` are available in NixOS?
<selfsymmetric-mu> I've also tried https://nixos.org/nixos/packages.html#
<glenndavy> samueldr: got it. makese sense. thanks
acowley has joined #nixos
drakonis_ has joined #nixos
<manveru> ,locate rst-sphinx
<{^_^}> Couldn't find in any packages
<manveru> ,locate bin/rst
<samueldr> :) selfsymmetric-mu just tried
<{^_^}> Found in packages: fpc, rstudio, rdma-core, rst2html5, rstudioWrapper, rstudio-preview, python27Packages.docutils, python37Packages.docutils, python27Packages.restructuredtext_lint
<samueldr> that searches prefixes
<samueldr> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended)
ivegotasthma has joined #nixos
<manveru> oh :)
<samueldr> using ,locate bin $something will search the whole word
<samueldr> I'm thinking either nothing provides it, or it's not indexed
<selfsymmetric-mu> Hmmm.
<samueldr> though the index should catch it if it was built on hydra
<samueldr> what would provide that on other distros, selfsymmetric-mu?
<selfsymmetric-mu> I can't be the first to need it, right?
<selfsymmetric-mu> samueldr: that's a good question; taking a look
<samueldr> you could be the first one, though unlikely if it's restructured text
<selfsymmetric-mu> Ah, interesting! On Ubuntu it's `retext`. :)
<selfsymmetric-mu> Wait no that's an editor. Hrm..
drakonis has quit [Ping timeout: 240 seconds]
<Church-> Heya manveru
<selfsymmetric-mu> "The reference implementation of the reST parser is a component of the Docutils text processing framework in the Python programming language, but other parsers are available." :/
<manveru> Church-: yo
<selfsymmetric-mu> But Emacs is asking me for a binary called `rst`. Hmm.
<gchristensen> there you are, selfsymmetric-mu
<gchristensen> selfsymmetric-mu: `docutils` provdise ...
<gchristensen> ,locate rst2html
<{^_^}> Found in packages: cgit, python37Packages.Nikola, python27Packages.docutils, python37Packages.docutils
<selfsymmetric-mu> Ahhhh. I figured that was just a language-specific parser, but apparently that's where it actually lives.
<selfsymmetric-mu> Discovery is hard! You'd figure they'd have better docs...
<selfsymmetric-mu> Thanks for the help!
<gchristensen> _so_ hard
sigmundv has quit [Ping timeout: 250 seconds]
<Church-> Sup manveru
Supersonic has quit [Ping timeout: 259 seconds]
<selfsymmetric-mu> I wonder if I can install this without putting a python in the environment. :/
<selfsymmetric-mu> Possibly not...
<jackdk> I made my own BAUER-style emacs that has all of its dependent tools hardcoded to store paths https://matthewbauer.us/bauer/
<manveru> Church-: getting some sleep :)
<selfsymmetric-mu> jackdk: Interesting! Taking a look.
<selfsymmetric-mu> When packages require coupling between emacs bindings and binaries, I use `use-package` and `:load-path` to hardcode them.
<selfsymmetric-mu> I do this for `pdf-tools` and `proof-general`.
glenndavy has quit [Quit: glenndavy]
Supersonic has joined #nixos
glenndavy has joined #nixos
glenndavy has quit [Client Quit]
glenndavy has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58877 → scid-vs-pc: 4.19 -> 4.20 → https://git.io/fjIar
<Church-> manveru: Sounds like a plan
ilya-fedin has joined #nixos
<selfsymmetric-mu> Installing `python37Packages.sphinx` in a nix-shell is what got me sorted out in the end. :)
<ilya-fedin> Hello! Has anyone tried to use dbus-broker on NixOS? It's doesn't work with my attempts to setup it... I was tried adding dbus-broker to systemd.packages, creating dbus unit override with systemd.units (systemd.services doesn't allow multiple ExecStart keys to clean default start command). Nothing helped.
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #58878 → Wine updates → https://git.io/fjIaP
<ilya-fedin> Actually I faced with this error: ```The unique option `systemd.units.dbus.service.text` is defined multiple times, in .../configuration.nix and .../nixos/modules/system/boot/systemd.nix.```
<{^_^}> [nixpkgs] @tadeokondrak closed pull request #58878 → Wine updates → https://git.io/fjIaP
selfsymmetric-mu has quit [Remote host closed the connection]
silver__ has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/de216e66fc8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58879 → serviio: 1.9 -> 1.10.1 → https://git.io/fjIa9
erasmus has joined #nixos
mconstant has quit [Ping timeout: 250 seconds]
kvda has joined #nixos
dnlkrgr has quit [Ping timeout: 250 seconds]
<gchristensen> how bizarre, my fixed output derivation is failing ~sometimes~
kreisys has joined #nixos
<gchristensen> https://github.com/target/lorri/blob/master/nix/bogus-nixpkgs/default.nix#L18 but I feel it should always build just fine
kreisys has quit [Client Quit]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58880 → sigil: 0.9.12 -> 0.9.13 → https://git.io/fjIad
teej has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @ryantm merged pull request #58870 → remmina: 1.3.3 -> 1.3.4 → https://git.io/fjI2W
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjIaA
dhkl has joined #nixos
alexozer has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58881 → skypeforlinux: 8.34.0.78 -> 8.42.76.54 → https://git.io/fjIaj
Irishluck83 has left #nixos ["WeeChat 2.3"]
StuartRichards has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58882 → smenu: 0.9.14 -> 0.9.15 → https://git.io/fjIVv
StuartRichards has quit [Remote host closed the connection]
StuartRichards has joined #nixos
StuartRichards has quit [Remote host closed the connection]
StuartRichards has joined #nixos
InFlames has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58883 → snd: 18.8 -> 19.2 → https://git.io/fjIVT
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
buffet_ has joined #nixos
buffet has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58884 → socket_wrapper: 1.2.1 -> 1.2.3 → https://git.io/fjIVt
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
vonfry has joined #nixos
spacefrogg has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
over7head has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
<over7head> Why installer didnt install wpa_supplicant???
<jackdk> Not every machine has/needs wireless?
<over7head> Yes my needs... and i connect to wirelles on live cd
<over7head> So i must reinstall system again because without wpa i dont have net access
<over7head> What should i do to get wpa_supplicant and linux-firmware installed?
<jackdk> you shouldn't have to do a full reinstall. boot the livecd and chroot in, fix configuration.nix and rebuild.
<over7head> Thats better idea
<jackdk> I dunno. I haven't set up wireless like that for a while. The nixos manual may have a section on wireless
<over7head> But i needt mount sys dev proc... for that?
<over7head> Also make it slave for systemd
<jackdk> I'm at work. Do a web search for "livecd chroot" you should be able to find the mount commands. If you get stuck I'll see what I can find. No idea about systemd
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58885 → sonarr: 2.0.0.5301 -> 2.0.0.5322 → https://git.io/fjIVq
<samueldr> to chroot into an installed system from the NixOS installation media, use nixos-enter
<samueldr> there should be a man page for nixos-enter on the installation media
<samueldr> it should need only the base filesystems to be mounted, so no need to mount sys dev proc and such
<slack1256> networking = {
<slack1256> hostName = "tapioca";
<slack1256> wireless = {
<slack1256> hostId = "4ba0f1bf";
<slack1256> enable = true;
<slack1256> interfaces = [ "wlp3s0" ];
<slack1256> userControlled.enable = true;
<slack1256> };
<samueldr> ,paste slack1256
<{^_^}> slack1256: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<slack1256> extraHosts = ''
<slack1256> 192.168.1.33 eureka
<slack1256> '';
<slack1256> };
<slack1256> That is how I set up wireless on nixos
<ilya-fedin> Is there a way to run NixOps without VirtualBox, as LXC container or like that?
<slack1256> Sorry, my irc client had this command to set commands to irc, i had to try it at least once
<slack1256> *send
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58886 → solr: 7.7.1 -> 8.0.0 → https://git.io/fjIVO
<over7head> = [ "intel" ] is this correct?
<over7head> Its from manual... i dont see the point of [ ]
slack1256 has quit [Remote host closed the connection]
Zer000 has quit [Remote host closed the connection]
<over7head> slack1256 thanks i will try
ym555 has quit [Quit: leaving...]
<over7head> samueldr thanks i chrooted
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58887 → sourcetrail: 2018.3.55 -> 2019.1.11 → https://git.io/fjIVc
pointfourone has joined #nixos
<over7head> Im new here... it is minimal iso... i read manual, there is not "bspwm" wm listed in example... does it mean its not in repo?
pointfourone has quit [Remote host closed the connection]
mmlb97745085 has joined #nixos
mmlb9774508 has quit [Ping timeout: 246 seconds]
<acham> over7head: better to do a search of the nixpkgs repository
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58888 → speedtest-cli: 2.0.2 -> 2.1.1 → https://git.io/fjIVB
<over7head> I hope "networking.wireless.enable = true" will be enough to install wpa and wireless tools... i will configure it with wpa script
<over7head> Ive set xserver, window manager and wireless....
<over7head> Do i need to do something for linux-firmware or it comes by default?
<over7head> I need it for my wifi...
<johnw> has anyone had a case where Hydra has jobs stay in the queue, but it won't process them?
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fjIVR
<johnw> after a start, it evaluates them again, but leaves them in the queue
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<over7head> Now i have sytax error.... unexpected ending " 93.32
<over7head> I cant see nothing wrong in config...
jasongrossman has joined #nixos
<over7head> Ah i found it...
<over7head> This distro looks interesting actually
StuartRichards has quit [Quit: Leaving]
Izorkin has joined #nixos
erasmus has quit [Quit: END-AUMF]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58889 → spice-protocol: 0.12.14 -> 0.12.15 → https://git.io/fjIVa
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58890 → sqlcipher: 4.0.1 -> 4.1.0 → https://git.io/fjIVr
rcshm has quit []
<over7head> Yes it works....
<over7head> I installed xmonad instead of bspwm...
<over7head> But wtf is this...
ddellacosta has joined #nixos
<over7head> Looks like pure xorg with xterm
<acham> over7head: perhaps your login manager didn't have xmonad selected
<acham> top right when you login there is a dropdown
lsyoyom has joined #nixos
<over7head> It have it...
<over7head> Maybe i need urxvt first
<over7head> What does "-c" means in useradd?
<over7head> Is it for group?
sgronblo has joined #nixos
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<over7head> Im not understand how rhis works... i just run "nix-env -i rxvt-unicode" as user and i got error
<over7head> Rxvt-unicode matches no derivates
<over7head> derivations*
<over7head> What does that mean?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58891 → gitAndTools.subgit: 3.2.4 -> 3.3.6 → https://git.io/fjIVH
sgronblo has quit [Ping timeout: 250 seconds]
work_ has quit [Quit: Connection closed for inactivity]
<ryantm> over7head: Try `nix-env -iA rxvt_unicode`
<ryantm> over7head: Or, `nix-env -iA rxvt_unicode-with-plugins`
<over7head> Atribute rxvt-unicode in selection path rxvt-unicode not found...
sgronblo has joined #nixos
<over7head> Hm...
<over7head> It works for gimp
<over7head> Seems rxvt-unicode doesnt exist in repo or have different name
<ryantm> over7head: Did you do _ instead of -?
<over7head> Yes...same
<glenndavy> samueldr: hey so, following on from before, that all worked. now i’m trying to rinse and repeat and when i get to `nix-env -if <path>` I get this; ‘error: cannot auto-call a function that has an argument without a default value ('stdenv’)’ - any ideas?
<ryantm> over7head: How about `nix-env -iA nixpkgs.rxvt_unicode`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58892 → sunvox: 1.9.3b -> 1.9.4c → https://git.io/fjIVQ
<over7head> ryantm same errors
<ryantm> over7head: What's your output from `nix-channel --list`
<over7head> Its empty
<over7head> No output
<over7head> For user
<ryantm> over7head: What's $NIX_PATH set to?
<over7head> But for root, there is
<ryantm> You're trying to install the terminal program into the user's profile, right?
<over7head> Yes..
<over7head> Is this right?
<ryantm> That's fine to do, it just means whatever root's channels are set to is not relevant.
InFlames has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #58812 → python37Packages.nvchecker: 1.3 -> 1.4.3 → https://git.io/fjIlc
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjIVd
<ryantm> What's $NIX_PATH set to for the user?
<ryantm> `echo $NIX_PATH`
<over7head> nixpkgs=/nix/var/nix/profules/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix....
<{^_^}> [nixpkgs] @ryantm merged pull request #58888 → speedtest-cli: 2.0.2 -> 2.1.1 → https://git.io/fjIVB
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjIVF
<over7head> Also this is no xmonad no matter i sellect it in slim
<ryantm> Are you typing that in instead of copying and pasting or does it really say "profules"?
InFlames has joined #nixos
<over7head> I cant copy in mobile haha... its profile
<over7head> But something is wrong here... instead xmonad it just startx xterm
<{^_^}> [nixpkgs] @ryantm merged pull request #58882 → smenu: 0.9.14 -> 0.9.15 → https://git.io/fjIVv
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjIVN
<over7head> Maybe i should try to kill slim and start it via startx
<infinisil> glenndavy: Context?
<ryantm> over7head: Maybe try `nix-env -iA nixos.rxvt_unicode`
<ryantm> I always flounder around so much trying to figure out what prefix to use with nix-env -iA
<glenndavy> infinisil: context was that I used https://nixos.wiki/wiki/Packaging/Ruby to package up a small ruby tool we wrote. Then nix-env -if <path> to install to user environment
wfranzini has quit [Remote host closed the connection]
<glenndavy> this worked find (actually i’m finding issues, but for now, it worked fine) so i tried to repeat on antoher tool and got the issue above
wfranzini has joined #nixos
<infinisil> Usually that error indicates that you forgot to callPackage your file
<infinisil> The "Build the package" section mentions how this is done
Fare has quit [Ping timeout: 246 seconds]
<infinisil> ,callPackage
<{^_^}> If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<glenndavy> infinisil: right, so what i read is this happens on the command line of nix-build like so:
<glenndavy> >
<glenndavy> [nix-shell:~/w/r/slingshot]$ nix-build -E '((import <nixpkgs> {}).callPackage (import ./default.nix) { })'
<glenndavy> which is what i’ve done
<{^_^}> [nixpkgs] @Infinisil merged pull request #58509 → nixos: make hardware.enableAllFirmware enable *all* firmware → https://git.io/fjTrh
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjIVp
<infinisil> glenndavy: What's the file and what's the error again?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #58737 → libosip: 5.0.0 -> 5.1.0 → https://git.io/fjItn
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjIVh
<over7head> Seems nix didnt install xmonad additional tools. I started it with xinit and its just blank screen... no menu.. no terminal
<over7head> Nothing
<over7head> Als my keyboard doesnt work with xinit
<over7head> But it worksw with slim
<glenndavy> infinisil: Ok, so the command above adds “/nix/store/7hpvyk3q4663vi21ic3rwjq92fvkf42a-slingshot” in to the store
<glenndavy> to get this into my user env, i’m issuing “nix-env -if /nix/store/7hpvyk3q4663vi21ic3rwjq92fvkf42a-slingshot”
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58893 → syncplay: 1.6.2 -> 1.6.3 → https://git.io/fjIVj
<glenndavy> and getting this error: “error: cannot auto-call a function that has an argument without a default value ('stdenv')"
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58894 → sysstat: 12.1.2 -> 12.1.3 → https://git.io/fjIwv
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/884b0a4417e (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
reinhardt has joined #nixos
over7head has quit [Ping timeout: 256 seconds]
tboston_ has joined #nixos
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58895 → sysprof: 3.30.2 -> 3.32.0 → https://git.io/fjIwf
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58896 → sysbench: 1.0.16 -> 1.0.17 → https://git.io/fjIwU
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58897 → gnutar: 1.31 -> 1.32 → https://git.io/fjIwL
domogled has joined #nixos
wfranzini has quit [Remote host closed the connection]
InFlames has quit [Ping timeout: 255 seconds]
<infinisil> glenndavy: What nix-env does with -f is: Take the path, append /default.nix, evaluate the file, install the result
<infinisil> glenndavy: But /nix/store/...-slingshot is already the evaluated result
<infinisil> glenndavy: You probably want `nix-env -iE '(import <nixpkgs> {}).callPackage ./default.nix {}'`
andymandias_ has joined #nixos
andymandias has quit [Ping timeout: 264 seconds]
InFlames has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58898 → tcpreplay: 4.3.1 -> 4.3.2 → https://git.io/fjIwn
<glenndavy> infinisil: ok, am puzzled that this isn’t what i did before; i.e previously i used nix-build where you’re using nix-env
Glider_IRC__ has joined #nixos
<infinisil> glenndavy: Oh, um good point, nix-env should support installing derivations directly :/
<infinisil> glenndavy: Does /nix/store/...-slingshot have a default.nix file in it?
<edef> nix-env -iE does the trick
<edef> or nix-env -if
<edef> also, nix repl has :
<edef> er, has :i
andymandias_ has quit [Ping timeout: 246 seconds]
<edef> which i generally find easier to use
andymandias has joined #nixos
Glider_IRC_ has quit [Ping timeout: 245 seconds]
<glenndavy> lol, well now im really confused
reinhardt has quit [Remote host closed the connection]
palo1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58899 → teamviewer: 14.1.3399 -> 14.2.2558 → https://git.io/fjIwR
<glenndavy> infinisil: no, id doesn’t have a default.nix in it. The source code where i did the build does. Same thing applies to other script that works.
andymandias has quit [Ping timeout: 246 seconds]
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
andymandias has joined #nixos
<glenndavy> hmm i just realised ( i think) i had a different NIX_PATH
<glenndavy> no idea if thats relevant; starting over
tboston_ has quit [Ping timeout: 245 seconds]
<glenndavy> seemingly not
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58900 → template-glib: 3.30.0 -> 3.32.0 → https://git.io/fjIw2
slack1256 has quit [Ping timeout: 255 seconds]
ddellacosta has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #58900 → template-glib: 3.30.0 -> 3.32.0 → https://git.io/fjIw2
<{^_^}> [nixpkgs] @worldofpeace closed pull request #58895 → sysprof: 3.30.2 -> 3.32.0 → https://git.io/fjIwf
sgronblo has quit [Ping timeout: 245 seconds]
<glenndavy> infinisil: so nix-env -i <path> works.. clearly i was delierious tihnking i was using nix-env -if path
<glenndavy> thanks
<glenndavy> question is there a nix command i can issue to derive the path to a package? or a file in use in the user env?
<infinisil> Ahh
<infinisil> glenndavy: Well, all nix profiles you can install stuff into (e.g. ~/.nix-profile), are just composed of a whole lot of symlinks
<infinisil> So if you have `which hello` being `~/.nix-profile/bin/hello`, then you can just read that link to get to `/nix/store/...-hello/bin/hello`
<infinisil> So `realpath $(which hello)`
<glenndavy> yep, i get that, thanks, and i can work that back easy enough. i just wondered if theres an idiomatic nix-* way
<glenndavy> oh, thats neater than i’d have come up with :D thanks again1
<infinisil> :)
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
Myhlamaeus has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58901 → tixati: 2.58 -> 2.59 → https://git.io/fjIwy
craige[m] has joined #nixos
InFlames has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58902 → tintin: 2.01.4 -> 2.01.7 → https://git.io/fjIwH
endformationage has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58903 → tlp: 1.1 -> 1.2.1 → https://git.io/fjIw5
reinhardt has joined #nixos
InFlames has joined #nixos
hyper_ch2 has joined #nixos
rprije has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @dtzWill to release-18.09 « youtube-dl: 2019.03.18 -> 2019.04.01 »: https://git.io/fjIwp
rauno has joined #nixos
Myhlamaeus has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #58893 → syncplay: 1.6.2 -> 1.6.3 → https://git.io/fjIVj
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjIrT
MightyJoe has quit [Ping timeout: 250 seconds]
cyraxjoe has joined #nixos
MasseR has joined #nixos
brejoc has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #58881 → skypeforlinux: 8.34.0.78 -> 8.42.76.54 → https://git.io/fjIaj
<{^_^}> [nixpkgs] @ryantm pushed 3 commits to master: https://git.io/fjIrq
brejoc has quit [Client Quit]
teej has joined #nixos
cfricke has joined #nixos
sgronblo has joined #nixos
sgronblo has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @bjornfor merged pull request #58827 → python37Packages.pyodbc: 4.0.25 -> 4.0.26 → https://git.io/fjIBq
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « python37Packages.pyodbc: 4.0.25 -> 4.0.26 »: https://git.io/fjIr8
jackdk has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58904 → tpm2-tss: 2.2.1 -> 2.2.2 → https://git.io/fjIr4
Myhlamaeus has quit [Ping timeout: 250 seconds]
InFlames has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @luispedro opened pull request #58905 → eggnog-mapper: init at 1.0.3 → https://git.io/fjIr2
<glenndavy> quick question.. building has been working fine all day, but now I’m getting permission denied errors from github. Yes, I’ve checked my key is in the agent and i can otherwise interact with gh - like git ls-remote… etc.. I tried to fix some problems using nix-env —rollback.. is there something i might have previously had installed that i’ve perhaps removed from the environment?
sochan has joined #nixos
glenndavy has quit [Quit: glenndavy]
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58906 → traverso: 0.49.5 -> 0.49.6 → https://git.io/fjIrX
dave_uy has quit [Quit: The Lounge - https://thelounge.github.io]
cfricke has quit [Ping timeout: 250 seconds]
dave_uy has joined #nixos
wfranzini has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
Serus has quit [Ping timeout: 245 seconds]
sigmundv_ has quit [Remote host closed the connection]
dnlkrgr has joined #nixos
vk3wtf has quit [Quit: WeeChat 2.4]
vk3wtf has joined #nixos
Tucky has joined #nixos
Serus has joined #nixos
aneeshusa has joined #nixos
aneeshusa has left #nixos [#nixos]
tomberek has quit [Read error: No route to host]
zupo has joined #nixos
<siraben> I'm trying to build a package that needs to fetch a shell script from curl, but this isn't working: https://dpaste.de/ixDc/raw
<siraben> I couldn't find docs on this
<srhb> siraben: Look up fixed-output derivations. You are not normally allowed network access for arbitrary fetches.
sochan has quit [Quit: WeeChat 2.3]
bemeurer has quit [Ping timeout: 257 seconds]
<srhb> siraben: (If you just need to fetch a certain file though, I doubt you _need_ curl)
bemeurer has joined #nixos
<srhb> Just use a regular fetcher.
palo has quit [Quit: WeeChat 2.2]
linarcx has joined #nixos
palo has joined #nixos
<siraben> I see
johanot has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58908 → unbound: 1.9.0 -> 1.9.1 → https://git.io/fjIoC
linarcx has quit [Client Quit]
ilya-fedin has quit [Quit: Connection closed for inactivity]
linarcx has joined #nixos
thc202 has joined #nixos
<siraben> srhb: but isn't fetchURL for URLs that give a link to .tar.gz files?
<srhb> siraben: fetchurl will fetch any file.
m0rphism has joined #nixos
<siraben> srhb: this is what I have so far http://ix.io/1FcH/nix but it warns me about missing packages
<siraben> adding them to buildInputs doesn't fix it
<srhb> siraben: Please pastebin the actaul error message.
gal_bolle has joined #nixos
<nyanloutre[m]> hello, does anyone have experience with connecting an Active Directory to nscd ?
<nyanloutre[m]> I managed have users connecting but the groups are not imported
<nyanloutre[m]> And I didn't find how to tell it to use the memberOf attribute
Jackneilll has quit [Ping timeout: 245 seconds]
linarcx has quit [Ping timeout: 268 seconds]
linarcx has joined #nixos
knupfer has joined #nixos
Jackneilll has joined #nixos
knupfer has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58909 → vault: 1.0.3 -> 1.1.0 → https://git.io/fjIoX
Ariakenom has joined #nixos
goibhniu1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58910 → vapoursynth-mvtools: 20 -> 21 → https://git.io/fjIoD
linarcx has quit [Ping timeout: 250 seconds]
linarcx has joined #nixos
Jetien_ has quit [Remote host closed the connection]
Jetien_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58911 → linuxPackages.vhba: 20170610 -> 20190302 → https://git.io/fjIo7
nefix has joined #nixos
<nefix> Hey! I'm trying to use go-libvirt, but I can't install it. Could someone please help me out? I've both libvirt and pkg-config installed, but when I try to go-get the package, this happens:
tboston_ has joined #nixos
<srhb> ,libraries nefix ?
<{^_^}> nefix ?: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
ng0 has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
linarcx has quit [Ping timeout: 268 seconds]
tboston_ has joined #nixos
<nefix> srhb: but Golang needs the code in a specific path in order to work
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2019/06 »: https://git.io/fjIKJ
buffet_ is now known as buffet
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1d36ad6d16d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
arjen-jonathan has joined #nixos
linarcx has joined #nixos
kvda has joined #nixos
<buffet> srhb: im not a go person, but in case youre referring to GOPATH, `nix-shell -p goPackages.whatever` should work and set GOPATH to somewhere in the nix store
<linarcx> Anyone here setup rls with neovim?
<buffet> if you need a package thats not present theres buildGoPackage
<{^_^}> #6119 (by lethalman, 4 years ago, merged): Go packages, buildGoPackage
<mabel> hey, should I add "dev" package dependencies as buildInputs or nativeBuildInputs or propagatedNativeBuildInputs?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58912 → verilator: 4.010 -> 4.012 → https://git.io/fjIKL
<mabel> I'm leaning towards propagatedNativeBuildInputs based on my cursory understanding, since anyone building a package which depends on my package will need those dev derivations
<mabel> but I am still rather wet behind the ears
freeman42y has quit [Ping timeout: 258 seconds]
<mabel> (considering I learned about "dev" packages approximately 1 minute ago)
tboston_ has quit [Ping timeout: 246 seconds]
<symphorien> linarcx: I have
cfricke has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #58866 → rdma-core: 22.1 -> 23 → https://git.io/fjI2L
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjIKs
<jluttine> some really weird problems with systemd+cgroups+nix-build/shell.. https://github.com/NixOS/nixpkgs/issues/58913
sigmundv has joined #nixos
<{^_^}> #58913 (by jluttine, 24 seconds ago, open): nix-shell or nix-build in systemd puts processes in wrong cgroup
Dr8128 has joined #nixos
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58914 → vitetris: 0.57.2 -> 0.58.0 → https://git.io/fjIKu
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjIKK
<{^_^}> [nixpkgs] @markuskowa merged pull request #58875 → safeeyes: 2.0.8.1 -> 2.0.9 → https://git.io/fjIal
civodul has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar pushed to master « typos »: https://git.io/fjIKX
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #52396 → ps2client: init at 2018-10-18 → https://git.io/fpNDx
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/fjIKD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58915 → vte: 0.54.3 -> 0.56.0 → https://git.io/fjIKy
delan has quit [Ping timeout: 245 seconds]
<{^_^}> [nixos-weekly] @domenkozar pushed to master « typos »: https://git.io/fjIK7
rauno has quit [Remote host closed the connection]
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
Jackneilll has quit [Ping timeout: 255 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
lassulus has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1d36ad6d16d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixos-weekly] @domenkozar merged pull request #88 → Call for Content: 2019/06 → https://git.io/fjefR
<{^_^}> [nixos-weekly] @domenkozar pushed 4 commits to production: https://git.io/fjI6k
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Call for Content: 2019/07 »: https://git.io/fjI6L
<{^_^}> [nixos-weekly] @domenkozar opened pull request #90 → Call for Content: 2019/07 → https://git.io/fjI6t
Jackneill has joined #nixos
<domenkozar> NixOS Weekly #06 - Lorri, tree parser and formatter, patchelf 0.10, NixML
<etu> domenkozar++
<{^_^}> domenkozar's karma got increased to 20
lassulus has joined #nixos
sgronblo has joined #nixos
drakonis_ has joined #nixos
pie__ has joined #nixos
__monty__ has joined #nixos
cfricke has quit [Ping timeout: 255 seconds]
ubert has joined #nixos
dnlkrgr has quit [Ping timeout: 255 seconds]
Makaveli7 has joined #nixos
<siraben> srhb: http://ix.io/1FcO/text
knupfer has joined #nixos
<siraben> So, do build scripts downloaded via fetchURL not see any buildInput packages? http://ix.io/1FcP/nix
<musicmatze> domenkozar++
<{^_^}> domenkozar's karma got increased to 21
<siraben> fetchurl*
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/57de25b3193 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
glebiuskv has joined #nixos
oida has quit [Remote host closed the connection]
Glebiuskv_ has joined #nixos
Glebiuskv_ has quit [Remote host closed the connection]
oida has joined #nixos
Anton-Latukha has joined #nixos
<glebiuskv> Hi is there any easy way to run random Appimage on nixos
<glebiuskv> random = not specially prepared
MightyJoe has joined #nixos
cyraxjoe has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #58771 → python37Packages.black: 18.9b0 -> 19.3b0 → https://git.io/fjI3c
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjI69
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Remote host closed the connection]
<jasongrossman> Glebiuskv: Yes. You just need the package appimage-run.
<siraben> I have a derivation that fetches a shell script from a URL, but when that shell script executes, the dependencies as specified in buildInputs can't be found
<glebiuskv> Thanks. I`l try it/
<{^_^}> [nixpkgs] @cmacrae opened pull request #58916 → nixos/nzbget: cfg.configFile should be owned by cfg.user/cfg.group → https://git.io/fjI6N
glebiuskv has quit [Quit: Leaving]
<pie__> clever, so i tried cleaning the plugin stuff up a bit, fixed a bug, but now im stuck trying to get callPackage to work
<pie__> clever, I cant figure out how to pass the initial callpackage into the plugin set
zgrep has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @WilliButz opened pull request #58917 → grafana: 6.0.2 -> 6.1.0 → https://git.io/fjI6A
hodapp has quit [Ping timeout: 250 seconds]
<siraben> Anyone know how to get buildInputs to be visible to a curl'd script?
zgrep has joined #nixos
<betaboon> siraben: how does your current expression look ?
<siraben> betaboon: http://ix.io/1FcP/nix
<siraben> betaboon: this is what I get http://ix.io/1FcV/text
<siraben> oops remove the /text
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58918 → wesnoth: 1.14.5 -> 1.14.6 → https://git.io/fjIiv
<pie__> clever, I pushed a commit to the overrides branch
rauno has joined #nixos
ThatDocsLady_ has joined #nixos
dhkl has quit [Quit: WeeChat 2.4]
<betaboon> siraben: i dont think this will work as you would expect. as that install-sdk script tries to use git to fetch other source and tries to install using pip during build. i guess you will have to create nix-packages for the individual components and pass them as dependencies to where they are needed
linarcx has quit [Ping timeout: 268 seconds]
<betaboon> siraben: makes sense ?
<siraben> betaboon: I see.
linarcx has joined #nixos
<pie__> does anyone know how to make this work? https://bpaste.net/show/8f92a7f1c7f1 all-plugins.nix: https://bpaste.net/show/ea9b755ce233
<pie__> i cant figure out the right way to pass "plugins", and i need the callpackages to work
knupfer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58919 → wings: 2.2.1 -> 2.2.3 → https://git.io/fjIiZ
<siraben> Is there a auto formatter for Nix?
knupfer has quit [Remote host closed the connection]
<manveru> siraben: there's https://github.com/justinwoo/format-nix but it's still buggy
<pie__> the only thing i can get close to working runs into infinite recursion
knupfer has joined #nixos
hodapp has joined #nixos
thetet has joined #nixos
thetet has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58920 → workrave: 1.10.23 -> 1.10.31 → https://git.io/fjIia
sgronblo has quit [Ping timeout: 244 seconds]
<pie__> shouldnt I be able to call super.callPackage in an overlay?
<siraben> Is there a ImageMagick wand library? http://ix.io/1Fd9
linarcx has quit [Ping timeout: 255 seconds]
<betaboon> pie__: here is an example for overlay usage: https://gist.github.com/betaboon/89e82c1cc477c5601a0bfa81a1c26c5a
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58921 → wolfssl: 3.15.7 -> 4.0.0 → https://git.io/fjIi1
mariel__ has joined #nixos
linarcx has joined #nixos
ThatDocsLady_ has quit [Read error: Connection reset by peer]
<betaboon> siraben: https://nixos.org/nixos/packages.html#wand like that ?
<pie__> if I try to use super.callPackage it says missing attribue
<pie__> attribute
<siraben> betaboon: none of them provide the C libraries
<betaboon> siraben: didnt you explicitly ask for wand, thus the ctypes-based python-binding for imagemagick ? oO
<betaboon> pie__: how do you call it ?
<pie__> hold on ill make a new paste
fendor_ has quit [Ping timeout: 240 seconds]
<pie__> betaboon, I've tried various things and I'm on this one right now: https://bpaste.net/show/d444485d80b9
<pie__> betaboon, that gets called through another file via: "with import <nixpkgs> {}; (callPackage ./default.nix {}).withPlugins (p: with p; [ ghidra-scala-loader ])"
<pie__> and the error is: error: attribute 'callPackage' missing, at /home/nixos/stuff/nixapps/ghdr/plugins.nix:74:109
<betaboon> pie__: ah that stuff your working on, looks like a mess to me. not enough time on my hands to think myself into that
<pie__> yeah sorry :(
<betaboon> pie__: i didnt realy understand what you're trying to achieve. didnt read up on that discussion ;)
<pie__> plugin system
<pie__> but i guess its basically just another package set
<betaboon> pie__: for what exactly ?
<pie__> for ghidra
<betaboon> pie__: might i suggest using githubs gist, as it supports versioning and syntax-highlighting ? :)
<pie__> if i use super it tells me theres no callpackage, if I use self then I get infinite recursion
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<pie__> thats a good idea
<betaboon> woop nsa on github :/
<pie__> I put up a repo actually but its private right now
linarcx has quit [Ping timeout: 255 seconds]
linarcx has joined #nixos
<betaboon> pie__: can you point me to some documentation on how the pluginsystem of ghidra works ?
<pie__> betaboon, I cant think of any place that really makes it clear, basically you dump a file tree into a subdirectory and it just works
<pie__> so its actually very simple to use
<pie__> I'm trying to make an overrideable plugin set so theres a nice user facing nix interface for this :/
<pie__> yeah but that doesnt actually say "lol u can just dump the files here"
<pie__> "To install an extension in these cases, simply extract the desired Ghidra extension archive file(s) to the <GhidraInstallDir>/Ghidra/Extensions directory. For example, on Linux or macOS:"
<pie__> well that seems pretty clear in hindsight, so I'm not sure what I was thinking of
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58922 → xawtv: 3.105 -> 3.106 → https://git.io/fjIPf
fendor_ has joined #nixos
<betaboon> pie__: looking at the expression in nixpkgs that builds ghidra, cant you just provide `plugins ? []` and dump them to `${pkg_path}` during installPhase ?
<pie__> thats what i do
<pie__> thats not where the problem is
knupfer has quit [Remote host closed the connection]
<pie__> the problem is with me trying to figure out how to make the plugin set overrideable and to be able to use .withPlugins with that
<siraben> betaboon: error: Package ‘imagemagick-7.0.8-22’ in /nix/store/ls24s2c1yx74c6ns5mxxdl3j2xn9bk2q-nixos/nixos/pkgs/applications/graphics/ImageMagick/7.0.nix:84 is marked as broken, refusing to evaluate.
<betaboon> pie__: ah you want syntax similar to `python.withPackages` ?
<pie__> yeah basically
<siraben> How do I deal with Makefiles like this one that have /usr paths built in? https://github.com/KnightOS/sass/blob/master/Makefile
<siraben> betaboon: I get http://ix.io/1Fde when I try to build my derivation
<betaboon> siraben: for the DESTDIR and PREFIX in that makefile, patch it during patchPhase
cfricke has joined #nixos
<siraben> betaboon: how so?
<siraben> Is there a section in the manual on this?
<siraben> betaboon: I'm not sure how to patch DESTDIR in the makefile
<siraben> Is it prePatch = ''substituteInPlace Makefile --replace 'foo' bar'' ?
alex`` has joined #nixos
<siraben> betaboon: got it: http://ix.io/1Fdg but this derivation fails to run because it generates a shell script: http://ix.io/1Fdh
<siraben> Which calls mono
fendor_ has quit [Ping timeout: 246 seconds]
linarcx has quit [Ping timeout: 255 seconds]
linarcx has joined #nixos
womfoo` has joined #nixos
<siraben> betaboon: thanks! That works
<siraben> I'm trying to patch a python shebang from #!/usr/bin/env python3 to ....? what do I change it to?
<betaboon> siraben: there is `patchShebangs`
linarcx has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
<siraben> betaboon: is it recommened to install the python packages declaratively or allow pip to install them/
<siraben> ?
nefix has quit [Quit: Page closed]
<azazel> hello, I'm trying o compile a go package using what advised in nixpkgs' manual "Go" section... but after running for a while and compiling most of it the compilation stops with "builder for '/nix/store/axzjwjs2wyk3yvm9537hz42mlak2q00g-fluxctl.drv' failed with exit code 28" is there a way to get the builder to output the error details?
<azazel> siraben: You can choose the way you like, see the python section in the nixpkgs manual
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58924 → xtermcontrol: 3.6 -> 3.7 → https://git.io/fjIXY
<mkaito> azazel: no further log output than that?
<azazel> mkaito: error: build of '/nix/store/axzjwjs2wyk3yvm9537hz42mlak2q00g-fluxctl.drv' failed
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58925 → xtitle: 0.4.3 -> 0.4.4 → https://git.io/fjIX3
<mkaito> yeah, anything else?
<betaboon> siraben: everything has to be declarative
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
silver has joined #nixos
<{^_^}> [rfcs] @grahamc closed pull request #34 → [RFC 0034] Expression Integrity → https://git.io/fxfE7
<azazel> mkaito: no, hence my surprise... it's my first go compilation....
linarcx has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58926 → yandex-disk: 0.1.5.978 -> 0.1.5.1010 → https://git.io/fjIXW
<mkaito> azazel: sounds weird, could you put the entire output in a gist?
linarcx has joined #nixos
iyzsong has joined #nixos
<siraben> betaboon: I'm trying http://ix.io/1Fds but it fails with http://ix.io/1Fdt
<siraben> Missing git, hm.
<siraben> Adding git to buildInputs doesn't seem to help.
lostman has joined #nixos
alex`` has quit [Quit: WeeChat 2.4]
womfoo` has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @cmacrae closed pull request #58916 → nixos/nzbget: cfg.configFile should be owned by cfg.user/cfg.group → https://git.io/fjI6N
<betaboon> siraben: the way they try to determine the version (by trying to call git) is quite dirty. that will not work when nix cloned the repo, as we throw away history and do some other git-magic to create a deterministic hash.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58927 → yed: 3.18.2 -> 3.19 → https://git.io/fjIXu
<siraben> What can I do about the missing imagemagick libraries, by the way?
<avn> folks, do we have more-or-less up to date manual about preparing AMI images with nixos?
<siraben> betaboon: Ah, so would a patch work?
sumTimes has joined #nixos
<srhb> siraben: A common approach is to write a fake git script that just answers with whatever the build expects.
alex`` has joined #nixos
<{^_^}> [nixpkgs] @cmacrae opened pull request #58928 → nixos/nzbget: cfg.configFile/cfg.dataDir owned by cfg.user/cfg.group → https://git.io/fjIXw
symphorien has quit [Quit: -restart]
symphorien has joined #nixos
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
<rnhmjoj> now that we have a static overlay in nixpkgs, how does one compile a static binary? i have a small tool (only depends on libc) that would be perfect statically linked.
<linarcx> symphorien: How you setup the environment?
<rnhmjoj> pkgsStatic.gcc doesn't build, it seems
<symphorien> linarcx: can you be more precise ?
<linarcx> symphorien: Yes. i use neovim + coc.nvim (as Intellisense engine and language server client) + rls. When i was in arch, everything was ok. in nixos, i can't set them up correctly.
domogled has quit [Quit: domogled]
<linarcx> symphorien: Look at this: https://github.com/neoclide/coc-rls/issues/15
<{^_^}> neoclide/coc-rls#15 (by LinArcX, 4 days ago, open): [coc.nvim] source rust-client timeout after 1000ms
<linarcx> symphorien: And i follow these instructions to setup whole things: https://github.com/LinArcX/Blogit/blob/master/Languages/Rust/Rust.md
zupo has joined #nixos
Qubasa has joined #nixos
zupo_ has joined #nixos
<azazel> mkaito: https://termbin.com/t8ey
<{^_^}> [nixpkgs] @markuskowa merged pull request #58927 → yed: 3.18.2 -> 3.19 → https://git.io/fjIXu
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjIXN
<mkaito> azazel: there's an error that repeats itself a couple dozen times, and a couple packages it says it cannot find.
<mkaito> I don't really do Go, maybe these are irrelevant.
zupo has quit [Ping timeout: 250 seconds]
fendor_ has joined #nixos
kreisys has joined #nixos
<symphorien> linarcx: I am not using coc
<linarcx> symphorien: What tools you are using now?
<symphorien> I have let g:LanguageClient_serverCommands.rust = ['${"${rls}/bin/rls"}']
<symphorien> I am using languageclient
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58929 → znc: 1.7.2 -> 1.7.3 → https://git.io/fjI1e
<symphorien> also, are you in a nix-shell ?
<linarcx> symphorien: No, should i?
<symphorien> yes
<linarcx> Why?
<symphorien> compilers never work outside a nix-shell on NixOS
<linarcx> Ah, i see. for other languages i should enter nix-shell too, for example for pythong programming or c/c++ development?
<linarcx> This is nix-way. right?
<symphorien> for c, c++ dev, yes
<symphorien> for python development without dependencies, it might work without
<linarcx> Haskell and go. What about them?
<symphorien> I don't know
<linarcx> Ok, thank you.
Makaveli7 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58930 → zynaddsubfx: 3.0.3 -> 3.0.4 → https://git.io/fjI1J
<linarcx> symphorien: For nix-shell, i should follow this: https://nixos.wiki/wiki/Development_environment_with_nix-shell, right?
<symphorien> yes that's the spirit
<pie__> is there any good way to debug infinite recursion?
<linarcx> symphorien: For exmaple to c++ development, i must add `pkgs.gcc` to `buildInputs`. yes?
<symphorien> as an exception, no
<symphorien> because it is already in stdenv
<symphorien> same for glibc
<linarcx> Aha.
<symphorien> but if your project depends on say zlib, you must add zlib to buildInputs
<linarcx> I'v got the point.
<linarcx> Thank you sooo much.
<symphorien> note that installing zlib with nix-env will have no effect
<symphorien> nix-shell is the only way
<linarcx> I must put zlib in configuraion.nix?
<linarcx> and rebuild it?
<symphorien> it won't have any effect either
<symphorien> only nix-shell will have an effect
<linarcx> Aha.
cfricke has quit [Ping timeout: 255 seconds]
<symphorien> ,libraries
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<{^_^}> [nixpkgs] @dotlambda merged pull request #58746 → pythonPackages.pyogg: 0.6.6a1 -> 0.6.9a1 → https://git.io/fjIqg
<{^_^}> [nixpkgs] @dotlambda pushed commit from @pmiddend to master « pythonPackages.pyogg: 0.6.6a1 -> 0.6.9a1 (#58746) »: https://git.io/fjI1t
<linarcx> symphorien: Awesome tip. :)
<symphorien> the shortcut is: if there is a compiler (or linker...) involved, use a nix-shell
<sumTimes> morning all
<sumTimes> quick question: anybody know why, as commented on on line 84 of this diff: https://gist.github.com/mwilsoninsight/fc7cf38e017b1751f08263375d03e48c, the value of self.associate_public_ip_address would be a truthy <unicode> value of u'0' rather than the expected falsy <int> or <bool> value of 0 or False?
<sumTimes> I end up wrapping it in an int() to get the behavior I want, but definitely not an ideal solution
linarcx has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #58849 → python37Packages.twilio: 6.24.0 -> 6.26.0 → https://git.io/fjIuG
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjI1W
linarcx has joined #nixos
domogled has joined #nixos
reinhardt has quit [Ping timeout: 244 seconds]
sgronblo has joined #nixos
<sumTimes> as a matter of clarification: I'm hacking on NixOps and this portion of the diff deals with <nixops>/nixops/backends/gce.py
reinhardt has joined #nixos
<lostman> Hi folks. What's an idiomatic way to add `preBuild` hook to an existing derivation? What if the derivation already uses that hook. Do I have to worry about overriding it?
johanot has quit [Quit: WeeChat 2.4]
linarcx has quit [Ping timeout: 246 seconds]
<lostman> I want to add a specific message to be printed when derivation builds
<immae> lostman: yourDerivation.overrideAttrs(old: { preBuild = old.preBuild + ''your own part''; })
<immae> put it before or after depending on when you want to do it :)
linarcx has joined #nixos
<immae> and if you don’t know whether preBuild is already there, replace `old.preBuild` with `(old.preBuild or "")`
<{^_^}> [nixpkgs] @dotlambda pushed to master « appdaemon: 3.0.2 -> 3.0.3 »: https://git.io/fjI1o
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @bzizou opened pull request #58931 → migrate: init at 3.7.2 → https://git.io/fjI16
<lostman> immae: thanks, I'll try it out
<{^_^}> [nixpkgs] @vbgl opened pull request #58932 → ocamlPackages.zarith: 1.7 -> 1.8 → https://git.io/fjI1P
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #58538 → stacks: init at 2.3e → https://git.io/fjT9t
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjI1M
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @bzizou closed pull request #34484 → charliecloud: init at 0.2.2 → https://git.io/vNdV1
emacsomancer has quit [Remote host closed the connection]
linarcx has quit [Quit: WeeChat 2.4]
knupfer has joined #nixos
linarcx has joined #nixos
emacsomancer has joined #nixos
mconstant has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7fe4543108c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<sumTimes> nvm my previous statement- taking down the gist shortly as aminechikhaoui has once again brought me to sanity (turns out I missed a type specification in the attr_property method =P oops..)
<{^_^}> [nixpkgs] @dotlambda pushed to master « abcmidi: 2019.02.08 -> 2019.03.30 »: https://git.io/fjIMU
logzet has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.devpi-common: update checkInputs »: https://git.io/fjIMm
<{^_^}> [nixpkgs] @dotlambda pushed to release-19.03 « python.pkgs.devpi-common: update checkInputs »: https://git.io/fjIMB
regulus_ has joined #nixos
Makaveli7 has quit [Quit: Leaving]
ng0 has quit [Quit: Alexa, when is the end of world?]
linarcx has quit [Ping timeout: 244 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #58933 → eduke32: 20150420 -> 20190330 → https://git.io/fjIMH
linarcx has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #57337 → nixos: better support for logitech devices and update relevant packages → https://git.io/fhjTu
<{^_^}> [nixpkgs] @peterhoeg pushed 6 commits to master: https://git.io/fjIMb
humanoyd has joined #nixos
humanoyd is now known as Guest16839
npmccallum has joined #nixos
linarcx has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #58901 → tixati: 2.58 -> 2.59 → https://git.io/fjIwy
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjIDG
hexagoxel has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
zupo has joined #nixos
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @aanderse opened pull request #58935 → perlPackages.CGIMinimal: init at 1.29 → https://git.io/fjIDn
linarcx has joined #nixos
hexagoxel has joined #nixos
jtojnar has joined #nixos
zupo has quit [Client Quit]
logzet has quit [Ping timeout: 250 seconds]
logzet has joined #nixos
over7head has joined #nixos
<over7head> can i install kernel in the tyraditional way?
wfranzini has quit [Read error: Connection reset by peer]
<over7head> compile, copy image to /boot, and run make modules_install
<over7head> will this work ?
<{^_^}> [nixpkgs] @markuskowa merged pull request #58860 → quantum-espresso: 6.3 -> 6.4 → https://git.io/fjIgt
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fjIDr
<over7head> and sure, change furb entry with new kernel path
<over7head> that should probably work but im not sure about make modules_install ?
<{^_^}> [nixpkgs] @bzizou opened pull request #58936 → charliecloud: init at 0.9.8 → https://git.io/fjID6
wfranzini has joined #nixos
<over7head> grub entry*
<gchristensen> over7head: that will very likely not work
<over7head> why ?
<gchristensen> NixOS doesn't use arbitrary paths like /boot/..., to find its code and modules, it uses Nix store paths
<gchristensen> you might be able to fudge it some, but the module loading would be all messed up
<{^_^}> [nixpkgs] @markuskowa merged pull request #56891 → arpack: 3.6.3 -> 3.7.0 → https://git.io/fhxNR
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fjID9
<over7head> yes i saw that... i can try put kernel image in this path
<over7head> but im not sure about modules
<gchristensen> why do you want to do this?
wfranzini1 has joined #nixos
<over7head> if it will install them in /lib/modules... new kernel may be able to load them
wfranzini has quit [Ping timeout: 255 seconds]
wfranzini1 is now known as wfranzini
<over7head> because i dont like the way the kernel can be compiled in nix...
<gchristensen> why not?
<over7head> i need to manually change Makefile, init/Kconfig and some other source files
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> you can override the source location to point to your custom linux sources
<gchristensen> you can also set custom configuration options
npmccallum has quit [Ping timeout: 245 seconds]
<over7head> ok, will try this way
<over7head> thank U
<gchristensen> https://gist.github.com/grahamc/2bf3417769da9cd1f86e0f3b0a48ed93 here is an overlay which overrides the kernel's sources
kreisys has joined #nixos
<linarcx> symphorien: Another question. imagine i'm developing a java application in eclipse. I know that i'm using nix-shell for development. but how can i tell the eclipse(or other ides) to use this shell? for example for run the programm, adding dependencies in eclipse and ...?
<over7head> gchristenen that will help
<over7head> thanks
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
nurelin_ has joined #nixos
rauno has quit [Remote host closed the connection]
<__monty__> linarcx: Easiest answer. Run the tool from inside the shell.
sumTimes has quit [Ping timeout: 256 seconds]
<__monty__> A good alternative to this is direnv and lorri aims to make that workflow even easier.
<{^_^}> [nixpkgs] @markuskowa opened pull request #58937 → pythonPackages.pyls-black: 0.3.0 -> 0.4.4 → https://git.io/fjIDh
kleisli has joined #nixos
<linarcx> __monty__: Yes, i read about direnv, it'w aweome. Automatically load environment variables when enter into your dev directory. what is lorri?
i1nfusion has quit [Remote host closed the connection]
<linarcx> __monty__: Awesome :)))))
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fjIyt
kyren has quit [Ping timeout: 246 seconds]
<gchristensen> that domain seems to mention casinos, though I don't read korean
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-19.03: https://git.io/fjIyG
kyren has joined #nixos
<symphorien> linarcx: the easy way is "start eclipse in the nix-shell". This goes against the spirit of some editors, like eclipse and emacs. I don't know about eclipse, but emacs users have plugins to work around this.
i1nfusion has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
drakonis has joined #nixos
<manveru> gchristensen: very much spam
<{^_^}> [nixpkgs] @timokau pushed to revert-58308-auto-update/libtermkey « Revert "libtermkey: 0.20 -> 0.22 (#58308)" »: https://git.io/fjIy8
<{^_^}> [nixpkgs] @timokau opened pull request #58938 → Revert "libtermkey: 0.20 -> 0.22" → https://git.io/fjIy4
drakonis_ has quit [Ping timeout: 244 seconds]
endformationage has joined #nixos
drakonis_ has joined #nixos
dwdr has joined #nixos
over7head has quit [Quit: Page closed]
lebastr has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
fendor_ is now known as fendor
linarcx has quit [Ping timeout: 250 seconds]
anonkuntun has joined #nixos
linarcx has joined #nixos
doop has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #57845 → minicom: wrap required binaries → https://git.io/fjvVg
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjIyK
<linarcx> symphorien: Thank you man. it seems that direnv has a feature that load environment variables when you go into specific dirctory. and unload those when you left. anyway.. what about neovim? Should i open neovim exactly in that directory or exists some plugin for it?
over7head has joined #nixos
<symphorien> I open vim in the nix-shell
<gchristensen> linarcx: does neovim support vim plugins?
<betaboon> direnv is great :) with some hackery you can even provide bash functions with a direnv
<over7head> as i can see, configuration syntax is different
<symphorien> vim is much more forgiving to workflows where you open and close the editor often
<betaboon> gchristensen: yes it does
<over7head> will this work ?
<gchristensen> direnv's vim integration works in neovim: https://github.com/direnv/direnv.vim#limitations
<betaboon> gchristensen: as far as i know
<{^_^}> [nixpkgs] @timokau merged pull request #58938 → Revert "libtermkey: 0.20 -> 0.22" → https://git.io/fjIy4
<{^_^}> [nixpkgs] @timokau pushed to master « Revert "libtermkey: 0.20 -> 0.22 (#58308)" (#58938) »: https://git.io/fjIyP
<{^_^}> [nixpkgs] @timokau pushed 0 commits to revert-58308-auto-update/libtermkey: https://git.io/fjIyX
<linarcx> gchristensen: Which plugins?
sumTimes has joined #nixos
knupfer has quit [Remote host closed the connection]
<gchristensen> linarcx: this onehttps://github.com/direnv/direnv.vim
knupfer has joined #nixos
aanderse-work has joined #nixos
<linarcx> gchristensen: Yes, i know about direnv. i have to test it for c/c++/java/python/haskell + neovim. and see how can i manage workflow properly in nixos finally.
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/1d36ad6d16d (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<gchristensen> sorry, you seemed to be asking about how to use neovim with direnv
<anonkuntun> gchristensen: I think neovim guarantees (at least as of now) that everything that runs in vim will run in neovim. There is no guarantee the other way.
<gchristensen> and I thought I was helping by linking you to how to do that
<gchristensen> gotcha
<aanderse-work> i have a prePatch like so: prePatch = ''
<aanderse-work> echo "s|''${rel_sysconfdir}/''${progname}.conf|/etc/httpd/httpd.conf|"
<aanderse-work> '';
<pie__> does anyone have any recommendations on how to learn to understand nixpkgs use of fixpoints? I think fixpoints by themselves arent necessarily complicated but I run into all kinds of problems with the stuff in nixpkgs
<aanderse-work> the output is this: s|/.conf|/etc/httpd/httpd.conf|
Guest16839 is now known as dm9
<aanderse-work> i thought ''$ was going to escape the ${ instance?
<aanderse-work> anyone notice something obvious i'm doing wrong?
<gchristensen> > ''echo "s|''${rel_sysconfdir}/''${progname}.conf|/etc/httpd/httpd.conf|"''
<{^_^}> "echo \"s|${rel_sysconfdir}/${progname}.conf|/etc/httpd/httpd.conf|\""
<gchristensen> looks like it should work :X
<linarcx> gchristensen: Thank you. i'll try it.
* aanderse-work scratches head
<ajs124> what's a good tool to count the lines of code in a nix project?
<betaboon> ajs124: how about `sloc` ?
<over7head> if i have xorg, why i need to install it withg user if i want manually startx without login manager ?
regulus_ has quit [Ping timeout: 245 seconds]
<over7head> also, my mouse and keyboard works when im using login manager, but not when i use startx
<over7head> i installed libinput, evdev, input-keyboard and input-mouse with user
<over7head> if xorg and mouse drivers are globally there, theres no sense to install it per user just to startx
<over7head> how this works
<over7head> i dont get the point
<ajs124> betaboon, that mostly works, yes. Although I would like something like loc, which shows you the different languages etc.
<gchristensen> well how about you use loc, then?
<gchristensen> I must be missing something :D
<betaboon> ajs124: i guess `cloc` might serve you well if you want the stats deparated by file-type
<betaboon> ajs124: or loc as suggested by gchristensen :D
linarcx has quit [Ping timeout: 268 seconds]
<ajs124> gchristensen, loc doesn't recognise nix
<gchristensen> aah
hyper_ch2 has quit [Quit: Page closed]
<gchristensen> I wonder if any of them do
<betaboon> sloc does
<betaboon> it's just a little slow
linarcx has joined #nixos
sam has joined #nixos
i1nfusion has quit [Remote host closed the connection]
<gchristensen> nice
sam is now known as Guest73279
over7head has quit [Quit: Page closed]
lockshaw has joined #nixos
<betaboon> ehm i mean `cloc` does. not sloc
<betaboon> damn I'm confused
i1nfusion has joined #nixos
<{^_^}> [nixpkgs] @Lucus16 opened pull request #58939 → Add latexrun package → https://git.io/fjISk
dm9 has quit [Quit: WeeChat 2.4]
<ajs124> nice. not on 18.09, though.
Guest73279 has quit [Remote host closed the connection]
<gchristensen> cloc was first introduced in 2013
<gchristensen> so it should work okay?
<ajs124> the version of cloc in 18.09 does not recognise nix
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c46fdacb93f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Ariakenom has quit [Ping timeout: 250 seconds]
<gchristensen> gotcha, that is a bummer
<gchristensen> 19.03 will be out soon :X
<slabity> Wouldn't it be 19.04 at this point?
<ajs124> sure, and until then I can just `nix run -f channel:nixos-unstable cloc`
<gchristensen> slabity: there is a "tradition" of releasing slightly in to the next month
linarcx has quit [Ping timeout: 246 seconds]
hackeryarn[m] has joined #nixos
linarcx has joined #nixos
<sumTimes> so I'm in a training for turbonomics
<gchristensen> Boston?
<sumTimes> from a cursory glance, looks like a direct competitor to hashistack but takes VM cost into account when provisioning resources
lebastr has quit [Ping timeout: 255 seconds]
<sumTimes> gchristensen: Columbus
<gchristensen> right on
i1nfusion has quit [Remote host closed the connection]
gal_bolle has quit [Ping timeout: 246 seconds]
<sumTimes> I'm wondering if it leverages libcloud to do its assessments- if so, does the nix community at large think it would be beneficial, feasible, or even possible to hack some of these features into Disnix or Dydisnix ?
<Peter_Storm_> Hi! I downloaded the VirtualBox appliance, and I was wondering if I can use that, or do I need to install NixOS another way?
<{^_^}> [nixpkgs] @erictapen opened pull request #58940 → ruby-modules/gem: fix path to git checkout → https://git.io/fjIS8
<gchristensen> Peter_Storm_: you should be all set to just use it!
<sumTimes> I know Sander has primarily been doing disnix stuff, but I'm eager to get into that ring once I get the current private IP usage for VMs on GCE out of the way
<gchristensen> sumTimes: nice, it seems to me it'd be an interesting feature to add -- but I would recommend collaborating with Sander!
<Peter_Storm_> gchristensen: Awesome, thank you. Is nixOS intalled on top of the KDE instance?
<Peter_Storm_> I'm a newb
<Peter_Storm_> I don't know how it all works
<gchristensen> sorry, I'm not sure I understand what that question is asking :)
<Peter_Storm_> I downloaded it from here
<gchristensen> the VirtualBox image we have comes with KDE's Plasma installed
<samueldr> Peter_Storm_: that image was built from nixpkgs, it's a NixOS install, everything "installed" through nix
leat has quit [Quit: WeeChat 2.3]
<Peter_Storm_> Ah ok, so NixOS has to have some kind of parent system installed or? Sorry, again I'm a complete noob. I thought it would have its own minimal UI and all that
<gchristensen> NixOS is a Linux system which can be minimal or not minimal
<gchristensen> the VirtualBox image we distribute happens to come with Plasma, but you could turn it off
<Peter_Storm_> No it's cool, I was just trying to understand. I'm trying to start to learn how to develop haskell with nix
<Peter_Storm_> But thank you for the answers, I will soldier on in the tutorial :)
<gchristensen> nice, cool
<sumTimes> so turbonomics (at least in the Azure space) gets the rate card through an API call- in AWS they create an S3 bucket and then look at the associated bill to get billing info
<gchristensen> good luck, we're happy to help you sort things out, Peter_Storm_! :)
<Peter_Storm_> Thank you :)
<anonkuntun> On the issue of image- I saw a question on reddit (I don't know if the sub is an official sub) about grub entry for .iso. Is such a thing possible with NixOS? Boot directly from ISO?
linarcx has quit [Ping timeout: 255 seconds]
<sumTimes> GCE will have some custom-ish version in the future likely, so I think it would at least be feasible to take cost info into account <- I think this will be a focus of mine in the coming months
symphorien has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos
symphorien has joined #nixos
linarcx has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
grischeg has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #58937 → pythonPackages.pyls-black: 0.3.0 -> 0.4.4 → https://git.io/fjIDh
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjISr
<grischeg> Hey. I am very new to NixOS and I would like to modify the following file to test if it helps with my current problem: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/filesystems/zfs.nix
<grischeg> How would I do this for a quick&dirty test?
<{^_^}> [nixpkgs] @cyounkins opened pull request #58941 → rdesktop: enable darwin support without libgssglue and credssp → https://git.io/fjISK
over7head has joined #nixos
<over7head> systemctl mask ...service
leat has joined #nixos
<over7head> Failed to mask unit: ...service: Read-only file system
<over7head> ???
<gchristensen> mask with --runtime
i1nfusion has joined #nixos
<over7head> hm
<over7head> that worked
<over7head> thx
<over7head> login manager is slow as hell
<over7head> it take 10 sec to load
linarcx has quit [Ping timeout: 246 seconds]
InFlames has joined #nixos
<jluttine> is there some cgroup manipulation involved in nix-shell or nix-build results somehow..? i'm trying to track a really weird issue and i don't quite know where to look.. i have a systemd service which spawns new processes but these processes get to a different cgroup if the process is launched with nix-shell (or building first with nix-build) instead of just using the command in nixpkgs directly.. :S
<gchristensen> I think nix-shell might do cgroup stuff, but nix-build's build products don't do magic cgroup things, no
drakonis_ has joined #nixos
<jluttine> gchristensen: ok, thanks. that's what i thought that nix-build at least shouldn't do anything like that. so this is even weirder.. :/
drakonis has quit [Ping timeout: 240 seconds]
<gchristensen> if you're using nix-shell in your service, then I wouldn't be entirely surprised if it did do something funny
tboston_ has joined #nixos
grizwako has joined #nixos
<jluttine> not using nix-shell. i build with nix-build and just run an executable in that built product
lostman has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @pmiddend opened pull request #58942 → python3Packages.black: add missing aiohttp-cors dependency → https://git.io/fjI9T
<gchristensen> ah
over7head has quit [Ping timeout: 256 seconds]
tboston_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #58848 → android-studio: add "unwrapped" passthru attr → https://git.io/fjIuO
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjI9t
sigmundv has quit [Ping timeout: 255 seconds]
Ariakenom has joined #nixos
InFlames has quit [Ping timeout: 250 seconds]
glenndavy has joined #nixos
grizwako has quit [Remote host closed the connection]
over7head has joined #nixos
<over7head> where is "make" package ??
grizwako has joined #nixos
<over7head> when i try install it i got: error: selector 'make' matches no derivations
<over7head> ..gnumake
<over7head> it must be different
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli closed pull request #56587 → bazel: 0.22.0 -> 0.23.0 → https://git.io/fhA0C
<aanderse-work> if anyone has a moment to check review my change and see why ''${ is not properly escaping would appreciate: https://github.com/aanderse/nixpkgs/commit/06528af92197381d498b9e1598c0fab421f1dd53
drakonis has joined #nixos
arjen-jonathan has quit [Ping timeout: 245 seconds]
Neo-- has quit [Ping timeout: 240 seconds]
arjen-jonathan has joined #nixos
<betaboon> aanderse-work: i guess you want to replace every occurence of `${rel_sysconfdir}` in that file ?
<aanderse-work> i want to replace "${rel_sysconfdir}/${progname}.conf" with "/etc/httpd/httpd.conf"
drakonis_ has quit [Ping timeout: 250 seconds]
<betaboon> aanderse-work: but as this is evaluated in bash that variable will be expanded. thus, as those variables are not set, the expression ends up being the way it is.
<aanderse-work> i don't know much about autoconf, i just want to set the SERVER_CONFIG_FILE variable
<aanderse-work> ** s/variable/define :)
<{^_^}> [nixpkgs] @dotlambda merged pull request #58942 → python3Packages.black: add missing aiohttp-cors dependency → https://git.io/fjI9T
<{^_^}> [nixpkgs] @dotlambda pushed commit from @pmiddend to master « python3Packages.black: add missing aiohttp-cors dependency (#58942) »: https://git.io/fjI9z
<betaboon> andersk: try using single-quotes to escape your regular expression, as that will make bash not expand the variables
<betaboon> aanderse-work: ^
arjen-jonathan has quit [Ping timeout: 250 seconds]
<betaboon> aanderse-work: and just now i see, that wont work as you are already using single quotes to escape for nix
<betaboon> hm
<aanderse-work> yeah... :\
<aanderse-work> i thought maybe i'm missing something obvious
<over7head> is there any meta devel package ?
<over7head> now i need libc-dev
<over7head> glibc-dev
<over7head> or whatever nix call it
<over7head> that two doesnt exist
<betaboon> aanderse-work: i guess you could do `"s|\''${rel_sysconfdir}....`
<betaboon> aanderse-work: ''$ escapes for nix and the \ escapes for bash
kleisli has quit [Ping timeout: 245 seconds]
<over7head> nix-env -i stdenv doesnt find stdenv package?
<over7head> i dont want use configuration.nix
<over7head> everytime it mess up my grub
<over7head> i add custom entries and it delates them
<over7head> i add custom image and custom resolution, it overrides it with defaults
CcxWrk has quit [Ping timeout: 255 seconds]
<over7head> cant it just overwrite grub entry, not whole grub?
CcxWrk has joined #nixos
drakonis_ has joined #nixos
<over7head> this distro is not made to be customizable
<over7head> cant see and contol deps
drakonis has quit [Ping timeout: 244 seconds]
CcxWrk has quit [Ping timeout: 268 seconds]
<over7head> im go to try compile kernel in gfentoo and copy directory here and just run modules_install , if this will work
<over7head> building it here not have sense
over7head has quit [Quit: Page closed]
<qyliss^work> okay then
CcxWrk has joined #nixos
anonkuntun has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #58943 → cryptol: fix, rework cryptol 2.6.0 builds → https://git.io/fjIHJ
drakonis_ has quit [Ping timeout: 245 seconds]
ddellacosta has joined #nixos
<betaboon> there is so much documentation and yet it seems hard to find `boot.loader.grub.extraEntries`
linarcx has joined #nixos
dnlkrgr has joined #nixos
rauno has joined #nixos
<clever> betaboon: did you try a search for grub on https://nixos.org/nixos/options.html#grub ?
<pie__> is symlinkjoin likely to break if something uses realpath?
lebastr has joined #nixos
<betaboon> clever: that was just a retorical statement ;)
xok has joined #nixos
<xok> hello all...
<xok> I use nixops to manage the machines...
<xok> I saw there's a great tool called "nixops mount"...
<betaboon> clever: I'm not even using grub. that was just a semi-rant regarding our friend from ten minutes ago
<clever> ah
<xok> but if I try to run the command almost always I get "read: Connection reset by peer"
<pie__> clever, btw lassulus helped me hack together a plugin system that works well enough to work with right now, I want to clean it up later though when I ahve some more time
hlolli has joined #nixos
<xok> anyone have any idea what could cause it?...
<clever> xok: all it does is run sshfs with the right params
<xok> also, I want to synchronize directories on the machine from the nixops host...
<clever> xok: so if your router has a tendency to kill idle ssh connections, that will be a problem
<xok> how do I do it, what's the best option for us?..
<xok> clever: thanks, how about my second question?..
<xok> actually, running rsync would be enough for me...
<clever> xok: youll want to look into something like the ssh keep-alives and tcp keep-alive options
<xok> but I don't know how to do that using the "nixops' command...
<clever> xok: it should work in your normal ~/.ssh/config file
rcshm has joined #nixos
<xok> clever: the problem is that I don't get that error everytime I try to mount directory...
i1nfusion has quit [Remote host closed the connection]
<xok> for example some servers are mounted without problems...
<xok> but some of them are refusing to do so...
kleisli has joined #nixos
i1nfusion has joined #nixos
Tucky has quit [Quit: WeeChat 2.2]
ubert has quit [Quit: Leaving]
judson has joined #nixos
<xok> anyone please?...
<xok> how do I run rsync against machines from nixops?..
<judson> erictapen, I'm looking at #58940 - I think (and please correct me if I'm wrong) that instead of passing "." you want to use ${out}?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58940 (by erictapen, 1 hour ago, open): ruby-modules/gem: fix path to git checkout
<betaboon> xok: on the sshfs issues it is realy hard to say, as there might be so many network components in between that might be responsible
<xok> betaboon: ok, let's forget about it...
<judson> I have to admit, I need the build phase variables seldom enough I'm not sure where to reference them.
<xok> the only real reason for using it is to sync certain directories..
<xok> any way to run rsync?...
<betaboon> xok: i have no immediate answer for that, have never needed it. all i needed is scp
<xok> betaboon: yeah, I am using scp too...
<xok> but all I want is to sync directory, not to fully download everything...
<aanderse-work> betaboon: found my problem, and it was silly... typo >_<
<aanderse-work> thanks for looking though :D
<betaboon> aanderse-work: congrats :)
kleisli has quit [Remote host closed the connection]
<glenndavy> hi all, question re building ruby package… the resulting stub ($out/result/bin/myscript) calles `<path to ruby>/ruby env-vars “$@“‘ - does anyone know where the file ‘env-vars’ is or how it comes about?
kleisli has joined #nixos
<betaboon> xok: maybe this works for you: https://github.com/NixOS/nixops/issues/467 ?
<{^_^}> nixops#467 (by moretea, 2 years ago, open): Add nixops rsync
<linarcx> Gyus, i set this option: `xterm.enable = false;`, but i have still xterm in my system. why?
<xok> betaboon: Thanks, I am trying...
<clever> linarcx: xterm will always be installed when enabling graphics, xterm.enable=false; just removes it from the list of display/window managers
<linarcx> clever: I don't want it at all :(
<clever> linarcx: why do you want it gone?
fendor has quit [Ping timeout: 245 seconds]
<xok> betaboon: how do I tell it to copy directory?...
<xok> do you have an idea how to do "to" / "from" copying with it?..
<linarcx> clever: Because there is no reason to keep it in my system. I have kitty and it's enough for me.
hlolli has quit [Remote host closed the connection]
kumikumi has joined #nixos
Thra11 has joined #nixos
hlolli has joined #nixos
Myhlamaeus has joined #nixos
wolfman154 has joined #nixos
<clever> linarcx: the xterm package is only 1.2mb in size, why bother?
<xok> betaboon: Thank you I've found the way...
<xok> betaboon: it's like this: rsync --rsh="nixops ssh -d DEPLOYMENT" -avz machine:/directory destination/
<linarcx> clever: I come from arch land and always keep my eyes to all packages reside in my system and remove unneeded ones.
<wolfman154> rycee: good morning, are you there I’m going to need your help in 15 minutes with what you were helping me with yesterday?
<clever> linarcx: you might be able to remove it by making a package override to set xterm = null;
<betaboon> xok: nice. :)
<linarcx> clever: Thank you. i'll try it.
<kumikumi> How to enable pantheon desktop environment? It's defined here https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/desktop-managers/pantheon.nix but setting services.xserver.desktopManager.pantheon.enable = true; doesn't work
<kumikumi> says it doesn't exist
<betaboon> kumikumi: i guess you are on nixos-18.09. pantheon is only available on unstable atm and will be included in nixos-19.03
<clever> ls ~/.nix-defexpr/channels_root/nixos/nixos/modules/services/x11/desktop-managers/
<clever> kumikumi: is it listed in this directory?
<kumikumi> alright, thanks, I'll try unstable
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e4d2143802a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Dr8128 has quit [Ping timeout: 258 seconds]
<kumikumi> even better, when is 19.03 getting released? and can I upgrade to it right now?
<{^_^}> #56826 (by lheckemann, 4 weeks ago, open): Zero Hydra Failures: 19.03 edition
<therealwaphire[m> <kumikumi "even better, when is 19.03 getti"> been using it for a month now
<therealwaphire[m> no major problems
Glider_IRC_ has joined #nixos
ninjin has quit [Quit: WeeChat 2.2]
<clever> therealwaphire[m: note that its technically not a stable channnel yet, so its basically the same as nixos-unstable
ninjin has joined #nixos
Glider_IRC__ has quit [Ping timeout: 250 seconds]
<kumikumi> clever: it's the same as unstable until 19.03 gets released, right? and after that it becomes the new stable
<kumikumi> if I'm not mistaken
<clever> kumikumi: somewhat, its will be receiving backports to fix failures, until its deemed stable
<genesis> i'd be curious if it solves libqt-fm segfault :)
<clever> kumikumi: but it wont be getting new updates
msko has joined #nixos
temp has joined #nixos
over7head has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<over7head> why is login manager slow ?
<over7head> i just timed it
temp has quit [Client Quit]
<over7head> it takes 23 second to load login manager after system finished boot
<over7head> can i decresae this load time?
<over7head> it is minimal installation with just xorg and xmonad
<clever> over7head: which login manager are you using?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e18a58228bc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<over7head> clever, i didnt set it
<over7head> so its default one
<over7head> i think slim
<clever> over7head: slim is pretty slim, it should be near instant
<clever> over7head: could be the gpu drivers and/or xorg
<over7head> also i cant install modules, it sasys /sbin/kmod must be installed, i have it... but theres no /sbin directory
<over7head> i sucesfully boot my kernel with changing it to /boot/kernel and setting root
<over7head> but no modules load
<clever> over7head: nixos expects all modules to be in /run/booted-system/kernel-modules
MichaelRaskin has joined #nixos
<over7head> hm, will try compy modules dir there
<ryantm> over7head: boot.kernelModules is one of the options for installing kernel modules.
<over7head> copy*
<clever> over7head: that directory will be read-only
rizary has quit [Quit: Connection closed for inactivity]
<over7head> i hate this read only stuffs
<slabity> You should have the modules included in your configuration
<ryantm> It also will be destroyed every time you reboot, since it is /run/ right?
<betaboon> clever ryantm i think over7head is trying what he mentioned earlier: compile the kernel manually on gentoo and then just putting it somewhere
<over7head> i compiled kernel in traditional way
<over7head> yes
<slabity> Oh, yea you can't do that with nixos
<betaboon> and doesnt want to use configuration.nix
<over7head> betaboon i did it
<clever> betaboon: you would need a custom package, that contains the kernel and modules, and then jam that into boot.kernelModules
<betaboon> clever: i know.
<betaboon> clever: just trying to give context at what over7head is currently trying to do
<ryantm> betaboon: Thanks.
<over7head> but it works, it boots kernel and system works.... only modules missing
<clever> over7head: since your building your own kernel, you could just bake in the things you need, and just not use modules
<over7head> and i have only one module, non-free wifi usb adapter
<over7head> most important one
<slabity> Yea. Trying to do it manually is like a dirty hack in nix-land
<rycee> wolfman154: Just paste the link to your configs and put my nick in the line to notify me. I'll have a look as soon as I have time.
<over7head> it needs to be built as module....
<{^_^}> [nixpkgs] @worldofpeace closed pull request #58915 → vte: 0.54.3 -> 0.56.0 → https://git.io/fjIKy
<slabity> Not that. I mean you shouldn't be building your kernel and modules manually. It should be in your configuration
<clever> over7head: you could just do the ugly thing, and run insmod on the module
<gchristensen> compiling your kernel outside of Nix isn't supported
<gchristensen> (you can do it as you've demonstrated, but it isn't supported ;))
<over7head> read only ?
<over7head> maybe not if its mounted from other distro ??
<over7head> hm
<over7head> i should try
<clever> over7head: if you modify anything in /nix/store, nix will treat it as corrupt and want to repair it
<over7head> oh noo
<slabity> Yea... It's a big change from other distro's methods of customization
<clever> over7head: any changes you want to do, must be defined in a nix file, and then built normally
<clever> which is why you need a custom package that contains the kernel+modules, and jam it into boot.kernelModules
<over7head> but it owerrides my grub everytime
<over7head> thats why im trying to avoid conf.nix
knupfer has quit [Ping timeout: 268 seconds]
<slabity> You can't avoid configuration.nix on nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ng0 has joined #nixos
pie__ has quit [Ping timeout: 255 seconds]
npmccallum has joined #nixos
over7head has quit [Ping timeout: 256 seconds]
dnlkrgr has quit [Quit: WeeChat 1.4]
over7head has joined #nixos
hlolli has quit [Ping timeout: 246 seconds]
<over7head> ahahahaha
<gchristensen> nice
hyper_ch has quit [Quit: ZNC 1.7.2 - https://znc.in]
wolfman154 has joined #nixos
<over7head> i just copied mod dir to /nix/storage/....whatever/lib/modules
<gchristensen> oh dear
<gchristensen> that'll get erased eventually, once nix realizes corruption has occurred
<simpson> over7head: Hm. Why bother using Nix if you don't want to use it as intended?
wolfman154 has quit [Client Quit]
kleisli has quit [Ping timeout: 250 seconds]
<judson> Where is the reference for the standard builder environment variables?
ggp0647 has quit [Quit: ZNC - https://znc.in]
ggp0647 has joined #nixos
<over7head> hm... seems login manager isnt problem
shabius_ has joined #nixos
<over7head> dhcpcd service takes 30 sec
<over7head> if i mask it, i wont be able to manually start it, right?
hyper_ch has joined #nixos
slack1256 has joined #nixos
<over7head> but when i try just to disable it, it says read-only system
<gchristensen> I'm having a hard time finding it worthwhile to help, because I feel you don't actually want Nix, over7head -- so I'm confused why you're using it if you don't want to use it
shabius has quit [Ping timeout: 258 seconds]
<over7head> will "mask --runtime" disable service for manually starting ?
<clever> over7head: systemd.services.dhcpcd.wantedBy = lib.mkForce []; in configuration.nix will stop it from running on bootup i believe
<gchristensen> whats more is you've gone ahead and broken Nix's understanding about itself, setting yourself up for failure when it realises it and deletes your kernel.
<over7head> yes i want to use it but i need to avoid changing confi.nix as much i can
<gchristensen> why?
<slabity> over7head: Then don't use Nix
<over7head> if it deletes it, then i will need to backup my grub and use nix configuration to build kernel..
<gchristensen> if you don't want to use configuration.nix, you don't want NixOS
<slabity> over7head: What is this project for?
<over7head> because os prober dont find my all oses and everytime grub changes, I must manually add them in .config
<gchristensen> has somebody tried to help you fix that?
<clever> over7head: you can define the other OS's in configuration.nix
<over7head> hm
<over7head> will try that
<clever> over7head: https://gist.github.com/cleverca22/d378ea064720f059e742730d2296b2da lines 17-24 add winblows to my grub config
<samueldr> or through args.efiSysMountPoint it might be possible to output the grub config elsewhere, disable NixOS's management of EFI boot entries and include the NixOS grub entries in your manually managed grub?
<clever> so i can dual-boot once in a blue moon
<over7head> im just new here and its easier to me do it in standard way than use configuration.nix... it confusing me...
<over7head> when i become more confortable with it, i will use nix as it is
<samueldr> boot.loader.efi.canTouchEfiVariables = false; # to ensure NixOS doesn't touch EFI boot options
<samueldr> boot.loader.efi.efiSysMountPoint = "/boot/nixos-fakeout-or-whatever"; # so the generated files are installed not at the root of the ESP
<samueldr> though I'm not sure how it'd be done for legacy boot, if it isn't EFI boot
<over7head> no it isnt efi
<clever> samueldr: when i did similiar years ago, i just made nixos's /boot/ not the real boot
<samueldr> clever: oh, simpler
<clever> samueldr: gentoo had its own /boot/, and it would source the nixos grub.cfg from the nixos /boot/
<clever> if you set boot.loader.grub.device = "nodev"; then grub wont update the MBR
<clever> so nixos's /boot/ never becomes the "real /boot"
<over7head> and i have windows, macos, haiku, bsd and a couple of linux distros in grub...that can be confusing to set in configuration.nix for me as a new nix user
<eyJhb> Trying to get Golang 1.12... But I get this error - "failed to initialize build cache at /homeless-shelter/.cache/go-build: mkdir /homeless-shelter: permission denied"
<clever> over7head: thats just a single string in configuration.nix
<eyJhb> Why would it try to do that?
<clever> eyjhb: its trying to create a cache in $HOME, but nix doesnt allow $HOME access
<worldofpeace> kumikumi: If you're going to be using Pantheon I reccomend that you disable their greeter with `services.xserver.displayManager.lightdm.greeters.pantheon.enable = false;` and just use lightdm normally
<eyJhb> clever: what is the best fix for this?
<eyJhb> And please don't say I need to make a PR
<clever> eyjhb: are you building something custom, or something already in nixpkgs?
<slabity> eyjhb: Which package is causing this?
<eyJhb> `nixpkgs/pkgs/development/compilers/go`, 1.12
<eyJhb> And it uses $HOME I guess.......
xkapastel has joined #nixos
<eyJhb> Why did that get added in the first place then, shouldn't it have to pass builds?
<slabity> I'm not getting that at all... `nix-shell -p go_1_12` works fine on unstable
<eyJhb> Running from - `https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz` and that seems to not have the fix I guess then?
<slabity> Does it happen if you run `nix-shell -p go_1_12 -I https://nixos.org/channels/nixos-unstable`
over7head has quit [Ping timeout: 256 seconds]
<eyJhb> slabity: error: undefined variable 'go_1_12' at (string):1:94
<eyJhb> Is it possible that it is caching a old .tar.gz?
<slabity> `sudo nix-channel --update && nix-channel --update` and see if that changes anything
<eyJhb> Isn't in a channel, so it shouldn't do anything, but I all give it a show
<eyJhb> shot*
lebastr has quit [Ping timeout: 245 seconds]
<eyJhb> Where would it store the tar.gz?
<slabity> It's... Not in a channel? Are you using an overlay or something?
<eyJhb> Maaaybe :p
ambro718 has joined #nixos
<glenndavy> anyone know what bunix means when it aborts with “Cannot convert to nix: nil”
<eyJhb> But basically it isn't getting the new tar.gz
<eyJhb> And also, I would love a idea, where I can use that `overlay` with a channel --list
<slabity> Looks like your `unstablePkgs` variable is only being used for betterlockscreen and weechat.
<eyJhb> slabity: haven't pushed the newest changes, but I have added go at the bottom, and there I get the homeless shelter
<eyJhb> slabity: ` go = unstablePkgs.go;`
<slabity> Ah. Okay
over7head has joined #nixos
<eyJhb> Sorry for not clarifying that
<{^_^}> [nixpkgs] @d10n opened pull request #58944 → postman: 7.0.6 -> 7.0.7 → https://git.io/fjI7O
<over7head> where is /usr/share ?
<slabity> over7head: Doesn't exist in NixOS
<slabity> Only `/bin/sh` and `/usr/bin/env` are kept for POSIX-compatibility
<over7head> so how i should change icewm config in NixOS?
<clever> over7head: configuration.nix
<over7head> lol
<eyJhb> slabity: just seems weird, that it doesn't work.. And that is isn't defined in the one from nix-shell
<over7head> even for changing wallpaper i need to change configuration.nix
<MichaelRaskin> over7head: by the way, maybe you secretely want just to use Nix on non-NixOS?
<slabity> eyjhb: That is weird. I'm not sure since that should work identically on all Nix systems
<eyJhb> over7head: Just use the one in ~ ? https://wiki.archlinux.org/index.php/IceWM#Configuration
hlolli has joined #nixos
<slabity> over7head: ALL system changes go into configuration.nix
<eyJhb> slabity: verifying my store now... But yeah, really weird. AND I NEED THIS ONE FUNCTION!
<over7head> eyjhb i see this, but its empty for me
<over7head> end thers no /usr/share/icewm or/etc/icwm to copy from
<MichaelRaskin> And then some people use home-manager so that user-specific changes go to _another_ .nix
<slabity> eyjhb: If you're interested in overlays, you can check out how I set it up here: https://gitlab.com/slabity/nixos-config/tree/master/nixpkgs
<betaboon> over7head: what made you try nixos? what led you towards trying it? what are your expected benefits of using it?
thetet has joined #nixos
metasyntactic[m] has joined #nixos
<eyJhb> slabity: I need a couple of minutes to cry on the floor currently, but I am bookmarking it!
<slabity> eyjhb: The only thing you'd need to look at is `default.nix`, `overlays.nix`, and the custom folder
<eyJhb> But I just don't get, why the shell wouldn't work..
<eyJhb> Btw. this was the command i ran - sudo nix-store --repair --verify --check-contents
<eyJhb> ... Not that one
<slabity> eyjhb: Maybe try the same except with just `go` instead of `go_1_12`
<eyJhb> THen I get 11.5
<infinisil> over7head: It seems that icewm is configured to use /etc/icewm for Nix
<eyJhb> slabity: 1.11.5**
<slabity> eyjhb: What does `env | grep NIX_PATH` return?
<infinisil> Oh hmm or maybe not
<over7head> i dont have /etc/icewm
<over7head> i dont know from where it use config
<eyJhb> slabity: NIX_PATH=/home/eyjhb/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<slabity> Okay that looks normal...
<slabity> How about setting your nixos channel to `https://nixos.org/channels/nixos-unstable` instead of github?
rauno has quit [Ping timeout: 240 seconds]
<eyJhb> slabity: that isn't valid, since it needs to be tar.gz? 2 sec
freeman42x has joined #nixos
<clever> eyjhb: nix-channel will add /nixexprs.tar.xz to the url automatically
<eyJhb> Running `nix-shell -p go -I https://nixos.org/channels/nixos-unstable` gives tar error
<clever> -I does need a .tar.xz file, nix-channel doesnt
<eyJhb> But seeing as my overlay needs tar.gz, and I cannot hotswap everything to unstable, hence cannot use channels, then I would guess no?
<eyJhb> Or am I being stupid?
<clever> eyjhb: why does the overlay need a tar.gz?
<slabity> I dunno, but `sudo nix-channel --list` -> `nixos https://nixos.org/channels/nixos-unstable` for me
<betaboon> clever: i am using `nix-shell -I nixpkgs=/home/....` no problem
<eyJhb> slabity: I cannot use unstable currently as my main channel
<eyJhb> clever: because it uses fetchtar in my configuration.nix
<clever> betaboon: -I can also accept paths to local directories
<clever> eyjhb: you may be better off adding a 2nd channel for unstable, and then using that in the nix file
<eyJhb> Running nix-shell from a local directory works fine to get go to work
<eyJhb> clever: how would I do that?
<clever> eyjhb: `nix-channel --add https://nixos.org/channels/nixos-unstable unstable`
<eyJhb> That is mostly my problem
<clever> eyjhb: --add takes both a url and a name
<eyJhb> And then how to reference it?
<clever> <unstable>
<eyJhb> clever: don't follow the last part
<slabity> eyjhb: Then use `https://nixos.org/channels/nixos-19.03` for the stable channel
<clever> you can refer to every channel by its name, in any nix file
ym555 has joined #nixos
<eyJhb> clever: so.. unstable.pkgs.??
<clever> eyjhb: `(import <unstable> {}).hello`
<slabity> Or `with (import <unstable> {}); betterlockscreen` for your overlay for example
linarcx has quit [Ping timeout: 250 seconds]
over7head has quit [Ping timeout: 256 seconds]
<eyJhb> Well.. GG. Still get that error after using the unstable channel
fendor has joined #nixos
thetet has quit [Quit: Leaving.]
linarcx has joined #nixos
<slabity> Well you set `go` in your `systemPackages`... Maybe there's a conflict?
<eyJhb> No clue, it works using nix-shell for my local dir, but using either unstable OR my localpkgs yields the same error.. :/
<eyJhb> Guess I just have to use `Replace` instead of `ReplaceAll` in go for now..
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #58754 → tbb: 2018_U5 -> 2019_U5 → https://git.io/fjIYI
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @markuskowa to master « tbb: 2018_U5 -> 2019_U5 »: https://git.io/fjI7P
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #58912 → verilator: 4.010 -> 4.012 → https://git.io/fjIKL
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @r-ryantm to master « verilator: 4.010 -> 4.012 »: https://git.io/fjI71
grischeg has quit [Remote host closed the connection]
cfricke has joined #nixos
<linarcx> Anyone here to help me to create a package for this repo: https://github.com/cylgom/ly
xok has quit [Quit: Leaving.]
knupfer has joined #nixos
<aanderse-work> linarcx: any specific problems you're experiencing?
<tilpner> > li.meta.description
<{^_^}> undefined variable 'li' at (string):243:1
<tilpner> > ly.meta.description
<{^_^}> "TUI display manager"
mariel__ has quit [Ping timeout: 250 seconds]
<gchristensen> that is cute
_deepfire has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #58925 → xtitle: 0.4.3 -> 0.4.4 → https://git.io/fjIX3
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjI5I
<glenndavy> if i can successfully, inside nix-shell do `git ls-remote git@github…`, its fair to assume that the same repo as a git source would work. Esp when that same source was working yesterday? - full disclosure.. i had to do some nix-env —rollbacks.. so im conjecturing something necessary for git source to work properly is gone.. any ideas?
npmccallum has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #58924 → xtermcontrol: 3.6 -> 3.7 → https://git.io/fjIXY
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjI5O
erasmas has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #58904 → tpm2-tss: 2.2.1 -> 2.2.2 → https://git.io/fjIr4
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjI5G
erasmus has joined #nixos
goibhniu1 has quit [Ping timeout: 245 seconds]
goibhniu1 has joined #nixos
mekeor has joined #nixos
fenedor has joined #nixos
JosW has joined #nixos
cfricke has quit [Ping timeout: 255 seconds]
lebastr has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
blackout2837 has joined #nixos
<o1lo01ol1o> I'm running nix on darwin, can I install the development version of nixops? The default version seems to be broken on mac.
npmccallum has joined #nixos
goibhniu1 has quit [Ping timeout: 246 seconds]
<slack1256> Does anyone know the ration between darwin vs linux users of nix?
goibhniu1 has joined #nixos
<{^_^}> [nixpkgs] @ryantm closed pull request #58845 → python37Packages.speedtest-cli: 2.0.2 -> 2.1.1 → https://git.io/fjIEa
xorkle has joined #nixos
msko has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> slack1256: No stats, but considering NixOS is Linux too, my estimate is about 1:50
<infinisil> Hmm, maybe 1:40 rather
<slack1256> Cool
o1lo01ol1o has joined #nixos
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
o1lo01ol1o has quit [Ping timeout: 255 seconds]
o1lo01ol1o has joined #nixos
ym555 has quit [Ping timeout: 245 seconds]
goibhniu1 has quit [Ping timeout: 255 seconds]
goibhniu1 has joined #nixos
lebastr has quit [Ping timeout: 244 seconds]
Dr8128 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<kalbasit> can `nix-env -iA` set the priority as it's installing?
<slack1256> kalbasit: you can change the priority after install as `nix-env --set-flag priority <value> binutils` for example
<slack1256> see `man nix-env` for more info.
<{^_^}> [nixpkgs] @hedning closed pull request #57027 → Gnome 3.32 → https://git.io/fhpDb
<{^_^}> [nixpkgs] @hedning reopened pull request #57027 → Gnome 3.32 → https://git.io/fhpDb
<kalbasit> slack1256: that does not work in my case. I'm trying to pragmatically install some dependencies globally through a setup script at work, but since these dependencies are installed by my home-manager it's failing
<kalbasit> slack1256: it's alright though, I ended up wraping the install with an if condition so I can disable it for myself
<kalbasit> thx
knupfer has quit [Ping timeout: 268 seconds]
leat has quit [Quit: WeeChat 2.3]
drakonis_ has joined #nixos
ym555 has joined #nixos
sigmundv has joined #nixos
fenedor is now known as fendor
wolfman154 has joined #nixos
kleisli has joined #nixos
drakonis has joined #nixos
Ariakenom has quit [Quit: Leaving]
drakonis_ has quit [Ping timeout: 259 seconds]
erasmas has quit [Quit: leaving]
<wolfman154> Hello guys, yesterday i removed gnome3 and gdm, which caused my system to crash, if you guys could help me install xmonad on home-manager correctly, attached is three links to all my nix configuration files: https://hastebin.com/vevokoqeju.bash https://hastebin.com/cihasinuto.xml https://hastebin.com/holovogobe.bash
<wolfman154> rycee: hello, here’s the three links
<rycee> wolfman154: Did you have any xmonad configuration in your /home/tjg/.config/nixpkgs/home.nix file?
<{^_^}> [nixpkgs] @xeji merged pull request #58917 → grafana: 6.0.2 -> 6.1.0 → https://git.io/fjI6A
<{^_^}> [nixpkgs] @xeji pushed commit from @WilliButz to master « grafana: 6.0.2 -> 6.1.0 (#58917) »: https://git.io/fjIdl
<{^_^}> [nixpkgs] @worldofpeace pushed to staging « packagekit: make vala nativeBuildInputs »: https://git.io/fjIdR
<{^_^}> [nixpkgs] @xeji merged pull request #58935 → perlPackages.CGIMinimal: init at 1.29 → https://git.io/fjIDn
<{^_^}> [nixpkgs] @xeji pushed commit from @aanderse to master « perlPackages.CGIMinimal: init at 1.29 (#58935) »: https://git.io/fjIdE
<rycee> wolfman154: But something along the lines of https://hastebin.com/lilecoyake.rb ought to work.
<wolfman154> I reinstalled nixos this morning from scratch(usb) because my system was broken beyond recovery, I haven’t tried to install xmonad yet because I don’t want my system to crash again, I just wanted to know how you would install it on home-manager without it crashing since you are the creator of home-manager
sumTimes has quit [Quit: Page closed]
<rycee> wolfman154: The link I gave above should work, but you'll have to change, e.g., /home/tjg/.config/nixpkgs/dotfiles/xmonad.hs to be the actual path to your xmonad.hs
<rycee> And add any extra haskell packages you need.
<{^_^}> [nixpkgs] @xeji closed pull request #58502 → postman: 6.7.3 -> 7.0.6 → https://git.io/fjTaX
kai_w has joined #nixos
<Peter_Storm_> Hello again! So I installed nixos on a virtualbox, doing all the 'parted' stuff, and before I reboot it says I should enable booting by turning on some flags, but the `etc/nixos/config`file is read-only - is it the right one i'm trying to update?
goibhniu2 has joined #nixos
fusion809 has quit [Remote host closed the connection]
hlolli has quit [Ping timeout: 255 seconds]
goibhniu1 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to gnome-3.32: https://git.io/fjId2
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @xeji merged pull request #58944 → postman: 6.7.3 -> 7.0.7 → https://git.io/fjI7O
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fjIdr
<gchristensen> Peter_Storm_: /etc/nixos/configuration.nix probably should not be read-only, and it is safe to make it writable
<Peter_Storm_> should i genereate a new nix config? because it only has some kind of import, and not the usual stuff I have seen other places
<lassulus> Peter_Storm_: it's /mnt/etc/nixos/configuration.nix from the installer
lebastr has joined #nixos
<Peter_Storm_> Oh, should I change that one?
<Peter_Storm_> After I have installed nixos?
<lassulus> not sure what exactly you did, did you install from the iso or downloaded the virtualbox image?
<Peter_Storm_> from iso
fendor has quit [Read error: Connection reset by peer]
<wolfman154> rycee: https://rycee.gitlab.io/home-manager/options.html Scrolling all the way down towards the bottom to the xsession.windowManager.cmonad.config Section you have an example there to do it in home-manager with pkgs.writeText , is this better or would creating an xmonad file in a different directory and linking to that be better, I still don’t understand the difference between these two op
<wolfman154> tions, if you could give me a simple explanation, thanks
<lassulus> ok, you should format the disk, mount it to /mnt, run nixos-generate-config --root /mnt and then edit /mnt/etc/nixos/configuration.nix and then run nixos-install
<Peter_Storm_> yeah I did all that :)
<Peter_Storm_> so I can just reboot now?
<lassulus> did nixos-install, succeed?
<Peter_Storm_> yes, I made a password
<rycee> wolfman154: I would recommend having it in a separate file unless it is extremely small. I just put the writeText there to make the example complete. And a few people do have such short configurations.
<lassulus> ok then it should probably work
<Peter_Storm_> cool, thanks
<kalbasit> what's the best way to detect nix installed in multi-user mode?
<gchristensen> `nix-info -m` has a check for it, do you want to do it automatically or diagnostically?
<kalbasit> gchristensen: automatically
<kalbasit> part of a migration script that should delete /nix for them but not for single user mode ones
<gchristensen> maybe read the source of nix-info :)
<kalbasit> :)
<kalbasit> gchristensen: that reminds me, did you find the oxygen derivation? :)
<wolfman154> rycee: ok, yesterday when I removed gnome3 and gdm and enabled xsession it crashed, I’ll try out your solution to see if it works
<dsx> Is it possible to install and run nix on old ppc-based macos?
<swerlk> srhb: I got xpra to run as per your suggestion but then have a problem connecting to the server instance because the wrapper around xpra has some parsing error related to the PATH environmental variable. I was thinking of trying this on the master package which uses a different fixup procedure.
<{^_^}> [nixpkgs] @matthewbauer opened pull request #58945 → ghc8.6.4: use targetPackages for getting libffi → https://git.io/fjIdH
<{^_^}> [nixpkgs] @marzipankaiser opened pull request #58946 → grisbi: 1.0.4 -> 1.2.1 → https://git.io/fjIdQ
<wolfman154> rycee: how much longer will you be on irc today just in case I need your help?
<rycee> I'll be going to sleep in a little while. Have to work at the office tomorrow so need to get up early :-(
<srhb> swerlk: Just checking in quickly. The master package is broken for a number of reasons; chiefly that it uses python3 with a version of xpra that doesn't support it at all. Upgrading to a newer version of xpra will fix that (I tried yesterday) but the build process has changed significantly.
<srhb> swerlk: The steps I went through were mostly to diagnose what's going on with xpra -- again, I had zero experience with it -- and highlight what issues might be relevant to take care of in a "real" solution.
<srhb> swerlk: I would say it needs quite a bit of love, but it's definitely doable!
<wolfman154> rycee: ok I’ll hurry
wfranzini has joined #nixos
Thra11 has quit [Ping timeout: 255 seconds]
npmccallum has quit [Quit: npmccallum]
<srhb> swerlk: Out of curiosity, what timezone are you in? I'm rarely available this late (CEST) -- but I think I have a rough idea of what needs to be done, so I could assist sometime in earlier than this some other day.
<srhb> swerlk: I don't care enough about the package to do it myself to be frank, but I'd certainly be willing to help out :)
npmccallum has joined #nixos
drakonis1 has joined #nixos
<Peter_Storm_> my bootup now hangs after this, I have no idea what to do after trying to google it :D https://usercontent.irccloud-cdn.com/file/BgrDEQzi/image.png
<simpson> dsx: I think that OSX is required, but I have no idea whether OSX on PPC would work.
<aanderse-work> uh oh... critical apache vulnerability notification
* aanderse-work checks github issue list
lebastr has quit [Ping timeout: 250 seconds]
<srhb> Peter_Storm_: The only thing scary there is probably the weird character corruption during swap mounting...
<swerlk> srhb: Pacific. Ya it seems like it may take a bunch of work
<srhb> swerlk: Afraid so, yeah. But at least it seems "straight-forward"
<Peter_Storm_> srhb: alright, but how do I move forward then?
<srhb> swerlk: Like, most of it is wrapping up configuration files with the right module paths etc.
kai_w has quit [Quit: Konversation terminated!]
<srhb> swerlk: (and fixing the newer build process)
<srhb> swerlk: Spoilers: It needs node packages for some reason.
<dsx> simpson: thanks!
<rycee> srhb: I guess it's some kind of fancy French UUID?
<aanderse-work> unfortunately i don't have time to do anything about it, but https://github.com/NixOS/nixpkgs/issues/58947
<{^_^}> #58947 (by aanderse, 19 seconds ago, open): apacheHttpd: CVE-2019-0211
<srhb> rycee: What? :D
<aanderse-work> didn't see any other issues open for that
<rycee> srhb: The È
<srhb> rycee: Oh! Yeah!
<srhb> rycee: Notice that it renders differently in the next line though :-P
<swerlk> srhb: Huh the node dependency is interesting
<swerlk> srhb: Well I'll play with it in my free time.
<swerlk> srhb: Thanks for the help/hints!
<srhb> swerlk: I think it's just uglifyjs but I still was a bit scared.. :P At any rate, I think it warrants a new issue to detail where we go.
<srhb> swerlk: That might at least help guide further work.
<srhb> where we got to*
<srhb> rycee: It's like it renders b633 as a single character suddenly :P
<Peter_Storm_> But how do I fix it :D
<srhb> Peter_Storm_: Sorry, that was just random fascination. I don't think that's actually a real issue.
<Peter_Storm_> Ah ok, but how do I make the boot move forward then?
<Peter_Storm_> It's stuck there
wfranzini has quit [Remote host closed the connection]
<srhb> Peter_Storm_: I'd probably try to cut down on the configuration; disable vbox stuff etc. and see when things start working. Otherwise there's not much to do except start in single user mode and try to bring things up one at a time.
lilly_ has joined #nixos
<srhb> Nothing in that log looks scary in itself.
<Peter_Storm_> it's a clean install without any vbox stuff in the config though :(
<wolfman154> rycee: so if I upgraded to nixos 19 in a when it comes out do I just need to change the homeStateVersion in home-manager and everything will work fine?
<Peter_Storm_> all I enabled was booting from /dev/sda
<srhb> Peter_Storm_: Ah, it's just a virtualbox guest?
<Peter_Storm_> yeah
<rycee> wolfman154: Should work fine with home.stateVersion being 18.09 but if you are starting from scratch then I'd recommend using 19.03 from the beginning.
<Peter_Storm_> oh should I have made a user in the config?
wfranzini has joined #nixos
<srhb> Peter_Storm_: As long as you have a root password set, you don't really need that. I would suspect some virtualization driver missing, but I don't know.
<srhb> Peter_Storm_: Stepping through the boot process might help.
<Peter_Storm_> alright, i'll dig at it, thank you - I am a complete noob at all this though, coming from MacOSX :D
zach` has joined #nixos
<srhb> Peter_Storm_: That's one serious jump. :) Sorry I don't have much else to go on. Here's some boot options that might be helpful https://github.com/NixOS/nixos/blob/master/modules/system/boot/stage-1-init.sh#L95
* srhb heads to bed
<{^_^}> [nixpkgs] @ryantm closed pull request #58683 → intel-gmmlib: 18.4.1 -> 19.1.1 → https://git.io/fjkNY
<wolfman154> rycee: so after I set home-manager as a configuration.nix module I don’t have to do home-manager switch any more just nixos-rebuild switch ?
<Peter_Storm_> haha yeah, well you gotta start somewhere ^^ I do haskell, so I wanted to try and be cool like the other haskellers and see if I could figure out nixos, but I might give up haha
<{^_^}> [nixpkgs] @ryantm reopened pull request #58683 → intel-gmmlib: 18.4.1 -> 19.1.1 → https://git.io/fjkNY
<rycee> wolfman154: Correct.
<lilly_> Hello all! I hope this is okay to post here, I'm at my wit's end. I'm trying to get a displaylink monitor to work in NixOS. The only starting point seems to be to set services.xserver.videodrivers = [ "displaylink"], but nothing is happening, and going through the relevent .nix files, no systemd process has started.
<wolfman154> rycee: thanks for all the help, I’m almost ready to do a rebuild, I’ll let you know if it works or not
<rycee> wolfman154: Good luck :-)
<wolfman154> rycee++
<{^_^}> rycee's karma got increased to 7
<srhb> lilly_: I tried a few weeks ago, and as far as I can surmise, Displaylink is utterly broken. I would not waste time on it unless you intend to spend some serious time fixing it.
<lilly_> srhb: I see. I'll see if I can spend some time fixing it...
<lilly_> srhb++
<{^_^}> srhb's karma got increased to 48
<srhb> lilly_: (Otherwise, if you have usb3 anyway, usb3->hdmi works out of the box -- that's what I did)
<srhb> I got as far as random kernel crashes with the newest version. It was a bit frustrating :)
leat has joined #nixos
<lilly_> I am using usb3. What do you mean by usb3->hdmi?
<{^_^}> [nixpkgs] @ajs124 opened pull request #58948 → coyim: 0.3.7_1 -> 0.3.11 → https://git.io/fjIFc
<srhb> lilly_: There are adapters that are straight usb3 to hdmi that you can drive external monitors via.
<samueldr> srhb: type-c != usb3, just in case
<srhb> I mean the bus speed, mainly, whichever that is of the two :-P
__monty__ has quit [Quit: leaving]
<samueldr> when you plug a type-c cable to HDMI, it generally is an alternate mode, DP or HDMI, usb isn't involved except for the connector :/
<srhb> samueldr: Thanks!
<samueldr> (it is an annoying spec :()
<lilly_> Thanks!
<samueldr> also of note: it is entirely valid to have a type-c connector on a USB 2 connection
<ajs124> srhb, you mean USB 3.2 Gen 1?
<srhb> Frankly, I had no idea how it worked, I just concluded that things immediately showed up in xrandr without going through some closed source bs that performed poorly and/or crashed.
<ajs124> Or maybe USB 3.2 Gen 2x2. How about USB4 (note, no space)
<srhb> :-P
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58642 → [19.03] gnome3.geary: make geary-attach executable → https://git.io/fjkM5
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-19.03: https://git.io/fjIF4
npmccallum has quit [Ping timeout: 244 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
ng0 has quit [Quit: Alexa, when is the end of world?]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dr8128 has quit [Ping timeout: 245 seconds]
lilly_ has quit [Quit: Page closed]
<srhb> ajs124: Oh god, I just checked the wikipedia article, it's complete chaos..
orivej has quit [Ping timeout: 245 seconds]
ambro718 has quit [Quit: Konversation terminated!]
<samueldr> srhb: you realised that USB-PD exists also?
<ajs124> then again, considering some of the stuff it replaced. I guess it could be worse.
<srhb> samueldr: :(
<samueldr> my main issue with the whole thing is how you cannot know whether a cable will be compatible from the device only
mconstant has quit [Ping timeout: 250 seconds]
<srhb> So I guess what I was enamoured by was an "alternate mode"
<srhb> Which is great when it works, and shitty when it doesn't.
<samueldr> look at the USB-C plug on your cellphone, usb 2 or 3 (not really important, backwards compatible); then, DOES it have alternate modes? which? audio through direct connections? can it support those USB-C to headphones with DACs? does it have video out using HDMI or DP alternate modes?
<srhb> Blegh.
<clever> samueldr: ive heard horror stories about how the apple lightning port doesnt have enough pins to properly do hdmi, so they have to h264 encode the screen, and stream it over usb, to what is basically a raspberry pi in dongle form
<samueldr> yeah :/ even specs listing from top tier (let's assume here) businesses will not list the supported alternate modes, sometimes lacking info about PD
<clever> samueldr: then hardware-decode it and spit it out hdmi
rcshm has quit []
<clever> so now you get to enjoy h264 compression artifacts on your website text, and your paying battery life to both encode and decode the entire screen as h264
<ajs124> that's kind of insane, considering my nexus 5 could/can do hdmi over micro-usb
<samueldr> MHL
<clever> ajs124: MHL is just putting more pins into the connector
<ajs124> yes, right. I forgot the name of that particual spec.
<clever> its basically hdmi + usb, in the same connector
<samueldr> clever: [citation needed]
<clever> i thought, the wiki diagram implies otherwise
<clever> and thats only one twisted pair, hdmi needs 4?
<samueldr> it's misleading
<samueldr> most MHL cables do the active part
lilly_ has joined #nixos
<samueldr> >> MHL requires that the HDMI socket be MHL-enabled, otherwise an active adapter (or dongle) is required to convert the signal to HDMI
<clever> ahh
<clever> so the adapter expands the 1 pair to 4 pairs
<clever> and MHL compatible TV's would do that for you
<clever> and apple didnt bother with that, despite having a pair for usb
<lilly_> Well, using the base config, I was able to start the DisplayLink Manager. It's dlm.service
<lilly_> Showing up in xrandr --listproviders too
<wolfman154> rycee: windowManager.default = “xmonad”; Seems like it does not work in home-manager , do I need to put this in configuration.nix ?
<clever> wolfman154: all window manager stuff has to be done in configuration.nix
<lilly_> 'xrandr --setprovideroutputsource 1 0' gets it to work immediately
<clever> samueldr: so the biggest question, if MHL can do hdmi over a single pair, why couldnt apple do it over a single pair? lol
<wolfman154> clever: so yes?
<clever> wolfman154: yep
<samueldr> clever: it just works™^W^W^W I'm no engineer, maybe DRM?
<wolfman154> clever++
<{^_^}> clever's karma got increased to 120
shabius_ has quit [Quit: Leaving]
<rycee> wolfman154: The services.xserver.windowManager.default NixOS option is effectively ignored when you have `xsession.enable = true` in your Home Manager configuration.
<rycee> I don't bother setting it on my systems :-)
<samueldr> clever: ah, later in the article they describe how there are also 11-pin connectors (samsung) for MHL
rprije has joined #nixos
<samueldr> and it looks like there's a Type-C alternate mode for MHL *adds to list*
<wolfman154> rycee: does xserver still need to be enabled in configuration.nix?
<clever> samueldr: ah, that explains why i could see extra pins on my galaxy s3
<rycee> wolfman154: Yes.
invokesus has quit [Ping timeout: 256 seconds]
<clever> samueldr: so we where both right!
blackout2837 has quit [Quit: Konversation terminated!]
<wolfman154> rycee++
<{^_^}> rycee's karma got increased to 8
sam has joined #nixos
sam is now known as Guest56575
dwdr has quit [Remote host closed the connection]
<wolfman154> rycee: double checking pkgs.writeText is done by config? And will xmonad —recompile still work the same way like if I still had a separate xmonad.hs file? So where does writeText generate and store the xmonad.hs file?
shabius has joined #nixos
<rycee> writeText will produce a file in the Nix store. When your Home Manager profile is activated this file will be symlinked to ~/.xmonad/xmonad.hs.
<rycee> wolfman154: And yes, you can still run `xmonad --recompile`.
<rycee> It should be done automatically but it is still possible to do manually.
<rycee> I will go to sleep now. Good luck!
<wolfman154> rycee: oh ok, sorry for asking so many questions, thanks for your help and later
<wolfman154> rycee++
<{^_^}> rycee's karma got increased to 9
<wolfman154> Can someone post today’s recent log as a link, I’m on my phone so I can’t go to the logs
lilly_ has quit [Quit: Page closed]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<wolfman154> 16:21 wolfman154: Can someone post today’s recent log as a link, I’m on my phone so I can’t go to the logs
mekeor has quit [Read error: Connection reset by peer]
freeman42x has quit [Read error: Connection reset by peer]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
freeman42x has joined #nixos
<wolfman154> 16:26 wolfman154: 16:21 wolfman154: Can someone post today’s recent log as a link, I’m on my phone so I can’t go to the logs
<wolfman154> ajs124: thanks
<wolfman154> ajs124++
<{^_^}> ajs124's karma got increased to 1
SyrupThinker has quit [Ping timeout: 264 seconds]
SyrupThinker has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
tobiasBora has quit [Quit: WeeChat 1.6]
kleisli has quit [Ping timeout: 250 seconds]
tobiasBora has joined #nixos
lmarks has joined #nixos
Anton-Latukha has quit [Remote host closed the connection]
m0rphism has quit [Ping timeout: 255 seconds]
Guest56575 has quit [Remote host closed the connection]
<o1lo01ol1o> I'm trying to deploy a build-agent to an ec2 nixos build machine from nix/nixops in darwin; is this possible?
ym555 has quit [Ping timeout: 246 seconds]
ym555 has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
ddellacosta has quit [Ping timeout: 245 seconds]
aanderse-work has quit []
kleisli has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
jtojnar has quit [Quit: jtojnar]
<ldlework> If I want to add an additional go package to a local override of the Terraform package can someone remind me how to do that? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/cluster/terraform/default.nix#L88
<ldlework> is it just overrideAttrs?
<ldlework> On this line: plugins = oldAttrs.plugins ++ [ godaddy ];
<ldlework> I'm getting: attribute 'plugins' missing
erictapen has quit [Ping timeout: 255 seconds]
<ldlework> I also tried: passthru = oldAttrs.passthru // { plugins = [ godaddy ]; };
<ldlework> which actually didn't have any errors but said no changes reusing old generation
kleisli has quit [Ping timeout: 246 seconds]
erictapen has joined #nixos
<ldlework> this also just used an old revision: passthru = { plugins = [ godaddy ] ++ oldAttrs.passthru.plugins; };
mconstant has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
jackdk has joined #nixos
bemeurer has quit [Quit: WeeChat 2.4]
lovesegfault has joined #nixos
lovesegfault has quit [Client Quit]
lovesegfault has joined #nixos
lovesegfault has quit [Client Quit]
lovesegfault has joined #nixos
zach` has quit [Ping timeout: 246 seconds]
lovesegfault has quit [Client Quit]
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fjINZ
kvda has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-18.09: https://git.io/fjINn
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.03: https://git.io/fjINC
<tdeo> anyone here free to review my PR? #58859
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58859 (by tadeokondrak, 1 day ago, open): vapoursynth: split python module out
ax has joined #nixos
ax has left #nixos [#nixos]
lovesegfault has quit [Ping timeout: 250 seconds]
lovesegfault has joined #nixos
lovesegfault has quit [Client Quit]
lovesegfault has joined #nixos
lovesegfault has quit [Client Quit]
lovesegfault has joined #nixos
sigmundv has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @tg-x opened pull request #58951 → opam: put the whole /run/current-system/sw as well in OPAM_USER_PATH_RO → https://git.io/fjINg
<{^_^}> [nixpkgs] @worldofpeace pushed to master « pantheon.wingpanel-indicator-datetime: launch elementary-calendar when in PATH »: https://git.io/fjIN2
lovesegfault has quit [Client Quit]
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.03 « pantheon.wingpanel-indicator-datetime: launch elementary-calendar when in PATH »: https://git.io/fjINr
i1nfusion has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58641 → gnome3.mutter328: use gnome-3-28 branch → https://git.io/fjkMK
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fjINK
i1nfusion has joined #nixos