<clever>
ToxicFrog: for nix-shell, nix-build, and nix-env, it will obey ~/.config/nixpkgs/overlays and <nixpkgs-overlays>
<clever>
ToxicFrog: nix-shell will never read configuration.nix
<clever>
andrewrk: is /boot mounted?
<clever>
or /boot isnt even mounted
<clever>
andrewrk: what does /run/current-system point to, before and after a reboot?
<clever>
2017-09-05 13:23:42 < andrewrk> avn, when I boot, docker isn't even a command I can run. if I do rebuild switch without changing anything, then it becomes a command I can call
<clever>
or he re-ran nixos-rebuild after logging in
<clever>
setup-etc is the closest thing to what you want, but that only works in /etc
<clever>
Rotaerk: only thing i can think of is to read nix.conf and then try to curl each .narinfo in order
<clever>
fearlessKim[m]: your not supposed to install a package like foo-dev, but rather, create a shell.nix that gives you an environment suitable for building something
2017-09-04
<clever>
silver_hook: when does it complain that it cant find it?
<clever>
i tried adding xterm as a "game"
<clever>
oh, so thats how you do that, lol
<clever>
ls -ltrhd /tmp/nix-build*
<clever>
Rotaerk: ive seen it take upwards of 12 hours when no emulation is at play
<clever>
Rotaerk: peek into its /tmp/nix-build directory, and know the internals of how ghc builds
<clever>
Rotaerk: gcc is the same way
<clever>
Rotaerk: ghc always builds 2 or 3 phases
<clever>
Rotaerk: ah, ghc just always takes a long time to build
<clever>
i typicaly use ps -eH x
<clever>
Rotaerk: can you gist the process tree?
<clever>
Rotaerk: check cpu usage and the process tree
<clever>
pxc: there is also a runner script for nixos services, meant for testing
<clever>
i think it only needed chroot and maybe nsenter on the host, and then it uses everything from the store
<clever>
pxc: in my case, it needs root, and would be much simpler if systemd-nspawn is available on the host, but i think the start script was mostly working
<clever>
doesnt matter how loud you yell "shut up and take my money", they wont accept it :P
<clever>
yeah, kindle fire hd7
<clever>
a year later, they unlocked canada, and then the appstore worked fine
<clever>
but in amazon's defense, they refused to even ship to canada, i had to cheat the system to even get the device
<clever>
benley: and i'm in canada
<clever>
benley: i had to root my first android device on day 1, because the amazon app stored demanded an american billing address, for free apps
<clever>
and its pre-configured to behave as a container
<clever>
pxc: basicaly, its a bash script that uses nsenter to setup a container, and then runs nixos stage-2, which launches systemd
<clever>
though i think it still needs root
<clever>
pxc: this is a thing i had started ~2 months ago, similiar idea to JuNest, with the goal to make it even work under android
<clever>
Shados: nixops uses "ssh -i /tmp/foo" to load its own key, which breaks loading of the default in ~/.ssh/id_rsa, but the ssh-agent remains working
<clever>
Shados: both work, you can use an ssh-agent i believe to allow nixops to ssh in
<clever>
i need to get some sleep now, its 5am, lol
<clever>
hyper_ch: boom, i now auto-generated mountpoints for 3 nfs shares
<clever>
you can build your package against unstable while running the os on stable
<clever>
3.4.0 is the version in nixpkgs
<clever>
what is the version you need?
<clever>
and mesa is an alias left-over from the old days, you probably want to use mesa_noglu
<clever>
the mesa package is just generic libGL headers, and nixos will swap out the libGL.so at bootup
<clever>
nix goes out of its way to ensure the compile doesnt care what gpu you have
<clever>
is the project on github?
<clever>
and builds must always be done within nix-shell
<clever>
but everything else, just makes building harder
<clever>
gdb is one thing you could install system-wide
<clever>
what if you configure kdevelop to just run "gdb", and then run kdevelop under a nix-shell that provides gdb?
<clever>
aanderse-laptop: and for that 2nd question, run kdevelop under nix-shell
<clever>
pkgconfig wont work right in that shell, so you need to at least use "nix-shell -p mesa pkgconfig cmake", that should make it work faster
<clever>
what arguments did you give to nix-shell?
<clever>
cmake, gcc, and pkgconfig MUST NOT be in configuration.nix
<clever>
configuration.nix wont ever help with compiling things
<clever>
aanderse-laptop: did you use nix-shell?
<clever>
nope, bathurst is the one with the more complex schedules
<clever>
about a 1 hour drive from here, its a different truck each week, for either recyclables or garbage, and you need a cellphone app just to know when its coming next, lol
<clever>
in my area, its just one truck every week on monday, simple
<clever>
:D
<clever>
probably
<clever>
i'm in the middle of nowhere, all the major industries in town have closed up, and they are building a new seniors home every 2-3 years, lol
<clever>
yeah, NB Canada
<clever>
i'm also in Canada
2017-08-27
<clever>
bigvalen: while setting the Environment vars listed in the .service
<clever>
bigvalen: in the case of debugging serives, i usualy tell systemd to stop the service, then i read the /etc/systemd/system/foo.service file, drop to the right user with sudo, and then run the ExecStart under gdb
<clever>
either a container, or a broken system while in a rescue cd
<clever>
bigvalen: and with this, i can view the journals within something not mounted at / currently