<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>
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?
<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.
<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.
<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.```
<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
<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`
<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>
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
<{^_^}>
[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?
<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:
<{^_^}>
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
<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
<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)
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
<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
<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
<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` ?
<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
<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.
<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.
<{^_^}>
[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
<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
<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..)
<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.
<linarcx>
__monty__: Yes, i read about direnv, it'w aweome. Automatically load environment variables when enter into your dev directory. what is lorri?
<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]
<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
<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.
<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 = ''
<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?
<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 :)
<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
<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]
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.
<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?...
<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?
<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>
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
<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.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?
<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?
<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
<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.
<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
<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
<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 :)
<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
<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
<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?
<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)
<{^_^}>
[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
<{^_^}>
[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]