<seanparsons> I have "docker" listed in my extraGroups for my user, but when I use the `groups` command that group isn't listed and I'm unable to access the docker socket.
<seanparsons> Am I missing something?
<gchristensen> seanparsons: you may need to log out and log back in (or restart to be thorough)?
<seanparsons> I've had this for months, just not actually used Docker until now.
filterfish has joined #nixos
<seanparsons> Well, I've not used it at the minimum since I upgraded to 16:09, I suspect I used it maybe once or twice a year ago.
stepcut has quit [(Remote host closed the connection)]
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
jophish has joined #nixos
eacamero_ has joined #nixos
thalll has quit [(Ping timeout: 252 seconds)]
<seanparsons> Using nix-repl I can see docker is in config.users.extraGroups as it must've been for however long.
deepwater has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
justanotheruser has quit [(Ping timeout: 264 seconds)]
markus1199 has joined #nixos
acowley is now known as acowley_away
markus1189 has quit [(Ping timeout: 250 seconds)]
Shou has quit [(Ping timeout: 256 seconds)]
<Dezgeg> nathan7: did you ever succeed building grub for aarch64?
eacamero_ has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21384: shotwell: 0.23.5 -> 0.25.2 (master...update/shotwell-0.25.2) https://git.io/vMv4S
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vMvuF
<NixOS_GitHub> nixpkgs/master 5bb75ae mimadrid: parallel: 20161122 -> 20161222
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21383: parallel: 20161122 -> 20161222 (master...update/parallel-20161222) https://git.io/vMvlH
eacameron has joined #nixos
stepcut has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vMvuj
<NixOS_GitHub> nixpkgs/master 25c984f mimadrid: htslib: 1.3.1 -> 1.3.2
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21381: htslib: 1.3.1 -> 1.3.2 (master...update/htslib-1.3.2) https://git.io/vMvCR
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
eacamero_ has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
hotfuzz_ has quit [(Ping timeout: 258 seconds)]
filterfish has quit [(Remote host closed the connection)]
thc202 has quit [(Ping timeout: 268 seconds)]
filterfish has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vMvzI
<NixOS_GitHub> nixpkgs/master 29cb10c mimadrid: igv: 2.3.77 -> 2.3.89
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21379: igv: 2.3.77 -> 2.3.89 (master...update/igv-2.3.89) https://git.io/vMvco
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vMvzq
<NixOS_GitHub> nixpkgs/master c4f4694 mimadrid: sudo: 1.8.18p1 -> 1.8.19p1
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21378: sudo: 1.8.18p1 -> 1.8.19p1 (master...update/sudo-1.8.19p1) https://git.io/vMvZ0
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
<manveru> seanparsons: i have users.extraGroups.docker.members = ["manveru"]
spacekitteh has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
abcrawf has quit [(Remote host closed the connection)]
sdothum has joined #nixos
filterfish_ has joined #nixos
filterfish has quit [(Remote host closed the connection)]
mudri has quit [(Quit: WeeChat 1.6)]
<Profpatsch> I sketched up an auto-update framework.
<Profpatsch> Complete with working proof of concept.
ejr has joined #nixos
<ejr> Hey everyone. I just wanna say that NixOS is super cool.
eacamero_ has quit [(Remote host closed the connection)]
deepwater has quit [(Remote host closed the connection)]
mizu_no_oto has joined #nixos
<Profpatsch> Okay, going to bed. Just mention me if there are any comments on this. :)
<manveru> Profpatsch: looking nice
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
sdothum has joined #nixos
[0x4A6F] has quit [(Ping timeout: 258 seconds)]
[0x4A6F] has joined #nixos
eacameron has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
nh2_ has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub> [nixpkgs] non-Jedi opened pull request #21386: pythonPackages.markdown: 2.6.4 -> 2.6.7 (master...pythonPackages.markdown) https://git.io/vMv2m
AllanEspinosa has joined #nixos
[0x4A6F]1 has joined #nixos
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
eacameron has quit [(Remote host closed the connection)]
mbrgm has quit [(Ping timeout: 252 seconds)]
herzmeister has quit [(Quit: Leaving)]
stepcut has joined #nixos
mbrgm has joined #nixos
herzmeister has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
eacameron has joined #nixos
stepcut has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 250 seconds)]
eacameron has joined #nixos
stepcut has joined #nixos
mizu_no_oto has joined #nixos
stepcut has quit [(Ping timeout: 248 seconds)]
sellout- has joined #nixos
filterfish_ has quit [(Ping timeout: 256 seconds)]
eacameron has quit [(Remote host closed the connection)]
nckx has quit [(Read error: Connection reset by peer)]
nckx has joined #nixos
eacameron has joined #nixos
<nathan7> Dezgeg: certainly
<nathan7> Dezgeg: like, out of the box
<Dezgeg> ok, I remembered incorrectly then
<Dezgeg> does it accept Image.gz out-of-the box as well? the grub that comes with debian on hikey didn't like a compressed Image
PragCyphr has joined #nixos
filterfish has joined #nixos
PragCyph1 has quit [(Ping timeout: 268 seconds)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
eacameron has quit [(Remote host closed the connection)]
hexagoxel has quit [(Ping timeout: 240 seconds)]
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
hexagoxel has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
eacameron has quit [(Ping timeout: 260 seconds)]
mguentner2 has quit [(Quit: WeeChat 1.6)]
eacameron has joined #nixos
mguentner has joined #nixos
roconnor_ has quit [(Ping timeout: 260 seconds)]
sboo has joined #nixos
sboo has quit [(Ping timeout: 258 seconds)]
filterfish has quit [(Ping timeout: 252 seconds)]
c74d has quit [(Ping timeout: 268 seconds)]
uralbash has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
roconnor_ has joined #nixos
mguentner2 has joined #nixos
mguentner has quit [(Ping timeout: 250 seconds)]
uralbash has quit [(Ping timeout: 246 seconds)]
sellout- has quit [(Quit: Leaving.)]
uralbash has joined #nixos
dmi3y has joined #nixos
justanotheruser has joined #nixos
ebzzry has joined #nixos
eacameron has quit [(Remote host closed the connection)]
dmi3y has quit [(Quit: dmi3y)]
<NixOS_GitHub> [nixpkgs] DavidEGrayson opened pull request #21388: Make cross-compiling with the crossSystem argument work (v2) (master...pr_make_cross_compiling_great_again_v2) https://git.io/vMvoZ
<NixOS_GitHub> [nixpkgs] DavidEGrayson closed pull request #18386: Make cross-compiling with the crossSystem argument work (master...pr_make_cross_compiling_great_again) https://git.io/vicvt
<DavidEGrayson> Ooh look the bot is tracking my activity.
<DavidEGrayson> Sonarpulse: Sorry man, it will conflict with some of your WIP. At least two files I modified were modified by you too.
<DavidEGrayson> I don't know if I'm actually going to use nixpkgs's crossSystem feature to do cross-compiling after all this work. It does seem a bit hacky. If I just want to compile a standalone application that has a few dependencies, maybe I should write my own recipes for it, and such recipes would be much easier to understand than the stuff that nixpkgs gives us.
<DavidEGrayson> Like, I could write recipes to build the cross-compile and build the libraries I need.
Sonarpulse has quit [(Ping timeout: 250 seconds)]
uralbash has quit [(Ping timeout: 260 seconds)]
jgrasser has quit [(Remote host closed the connection)]
jgrasser has joined #nixos
<spacekitteh> how can i run a command inside a container if i have to pass a file from the host?
uralbash has joined #nixos
uralbash has quit [(Ping timeout: 250 seconds)]
uralbash has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
mahe2 has joined #nixos
jophish has quit [(Ping timeout: 252 seconds)]
bluebell_ has joined #nixos
Samvh has joined #nixos
roconnor_ has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21386: pythonPackages.markdown: 2.6.4 -> 2.6.7 (master...pythonPackages.markdown) https://git.io/vMv2m
uralbash has quit [(Ping timeout: 256 seconds)]
ebzzry has quit [(Ping timeout: 250 seconds)]
systemfault has quit [(Quit: Bye!)]
moet has joined #nixos
moet has quit [(Client Quit)]
AllanEspinosa has quit [(Ping timeout: 264 seconds)]
uralbash has joined #nixos
mudri has joined #nixos
moet has joined #nixos
<moet> i build some of my haskell projects using the technique here: http://nixos.org/nixpkgs/manual/#how-to-build-projects-that-depend-on-each-other .. meaning, my ~/nixpkgs/config.nix has a list of the packages that i work on..
<moet> now imagine if you have package A depending on B .. when you're working on A and you make a change in B, you'd expect it to be rebuilt
<moet> i've found that sometise nix spends time rebuilding B, but still gives A the old version!
<moet> i can correct it by closing my shells and doing nix-collect-garbage, but that requires many things to be rebuilt on my system ... :(
<moet> is there an easy way to purge just one thing from the store?
uralbash has quit [(Ping timeout: 252 seconds)]
<Profpatsch> moet: What you want is not to use a stateful config, but a project-based shell.
<Profpatsch> I don’t understand people that put state back in the system.
<Profpatsch> moet: cabal2nix . > projectname.cabal
<Profpatsch> default.nix: let hp = haskellPackages.override { overrides = self: super: { myPkg = self.callPackage ./projectname.nix {};
<Profpatsch> overriddenPackage = haskell.lib.overrideCabal super.overriddenPackage (old: { … });
<Profpatsch> otherOverriddenPackage = …;
<Profpatsch> };}; in hp.myPkg
<Profpatsch> shell.nix: (import ./.).env
thalll has joined #nixos
<Profpatsch> Actually, don’t override the cabal file, put it in a .nix instead. :P
<moet> i'm not sure i'm following..
bluebell_ has left #nixos []
<moet> cabal2nix doesn't output cabal syntax; it outputs nix..
<moet> ah, gotcha.. that's meant to be projectname.nix
<moet> Profpatsch: does this scheme allow me to link projects which depend on eachother during development?
<moet> i have libraries whose interfaces are still in flux..
uralbash has joined #nixos
xadi has joined #nixos
derjohn_mobi has joined #nixos
<toogley> mpickering: asked yesterday, if an pdf build of the nixos manual exists - i'm also interested in this question therefore the repetition.
uralbash has quit [(Ping timeout: 250 seconds)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vMv1W
<NixOS_GitHub> nixpkgs/staging 0e2f1af Vladimír Čunát: switch packages back to boost-1.60...
mkoenig has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vMv1R
<NixOS_GitHub> nixpkgs/master 324a115 Sophie Taylor: libssh2: 1.7.0 -> 1.8.0
<NixOS_GitHub> nixpkgs/master c655399 Vladimír Čunát: Merge branch 'staging'
zagy has quit [(Quit: Leaving.)]
zagy has joined #nixos
mkoenig has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #21389: sonarr: 2.0.0.4409 -> 2.0.0.4427 (master...sonarr) https://git.io/vMv1g
zagy1 has joined #nixos
ebzzry has joined #nixos
zagy has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub> [nixpkgs] lsix opened pull request #21390: unifont: 9.0.04 -> 9.0.06 (master...update_unifont) https://git.io/vMv1K
<Profpatsch> moet: Yeah, just callPackage your multiple packages.
<Profpatsch> It’s a fixpoint, and self is the packageset after your current overwrites.
<Profpatsch> super is the one before your overwrites (the one that came in)
<Profpatsch> Luckily, nix will notice infinite recursions, as opposed to e.g. Haskell.
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vMv1N
<NixOS_GitHub> nixpkgs/master c4236f6 Alex Ivanov: qmmp: 1.1.2 -> 1.1.5
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #21380: qmmp: 1.1.2 -> 1.1.5 (master...master3) https://git.io/vMvCs
<moet> Profpatsch: thanks. i'll try that!
pi3r has joined #nixos
Samvh has quit [(Ping timeout: 246 seconds)]
<Profpatsch> Everything I do with nixpkgs stops at the strictness of mkDerivation at some point.
<Profpatsch> It’s like a bad curse.
<LnL> toogley: mpickering: apparently not, or I can't find it. we do have an epub
<LnL> toogley: mpickering: nix-store -r /nix/store/mjnbdiz1knahapqkkwnnr8n4kiabgh9j-nixos-manual-epub
moet has quit [(Quit: brain explosions)]
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #20352: apple-sdk: Include system cups libraries (master...darwin-cups) https://git.io/vXKvc
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21177: darwin.libunwind: fix source (master...darwin-libunwind) https://git.io/v1SsD
<kmicu> State of the art Nix user experience ( ͡~ ͜ʖ ͡°) allows you to execute ‘xdg-open $(nix-build '<nixos/release.nix>' -A manualEpub.x86_64-linux)/share/doc/nixos/nixos-manual.epub’ if you are not happy with ‘nixos-help’ command. ʕノ•ᴥ•ʔノ ︵ λ𝛌𝚲𝝀
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
zagy1 has quit [(Ping timeout: 250 seconds)]
<oleks> hi, I'm trying to set up a custom nix environment in my /etc/nixos/configuration.nix
<oleks> and I get the error "cannot coerce a function to a string, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/strings.nix:442:44"
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vMvDM
<NixOS_GitHub> nixpkgs/staging d917dbc Frederik Rietdijk: pythonPackages.sphinx: use NOSE_EXCLUDE instead of patch
<oleks> when just pasting the given combine example in my environment.systemPackages
phreedom has joined #nixos
<oleks> I mean, custom TeX environment :-)
<clever> oleks: wrap what you pasted in ( and )
<mpickering> I read the whole of the nixos and nixpkgs manuals and still could not find out where <nixpkgs> is explained. Could someone point me to the right bit please
xadi has quit [(Quit: Leaving.)]
<oleks> clever: thanks!
<MichaelRaskin> There is also Nix manual
<MichaelRaskin> <nixpkgs> is about NIX_PATH
<kmicu> There is not much to explain ‘nix-instantiate --find-file nixpkgs’.
<LnL> kmicu: oh I've never seen --find-file before
<kmicu> oleks: probably you need to put your expression in ( parens )
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMvDd
<NixOS_GitHub> nixpkgs/master 8ba53ff Vladimír Čunát: switch more packages back to boost-1.60...
pi3r has quit [(Ping timeout: 268 seconds)]
<kmicu> Or even more clear example ‘NIX_PATH=haha=/tmp nix-instantiate --find-file haha’ → /tmp
<kmicu> ‘NIX_PATH=haha=/tmp nix-instantiate '<haha>'’ → error: opening file ‘/tmp/default.nix’: No such file or directory.
<mpickering> Thanks but that still doesn't explain the <> syntax which is used everywhere
<kmicu> From Nix manual “NIX_PATH A colon-separated list of directories used to look up Nix expressions enclosed in angle brackets (i.e., <path>).”
<mpickering> Thanks, finally
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMvye
<NixOS_GitHub> nixpkgs/master 6583080 Vladimír Čunát: Revert "libssh2: 1.7.0 -> 1.8.0"...
<mpickering> What is the correct way to modify NIX_PATH?
<kmicu> Any way that modifies NIX_PATH.. e.g. https://nixos.org/nixos/manual/options.html#opt-nix.nixPath , or https://nixos.org/nixos/manual/options.html#opt-environment.variables , or -I flag or directly manipulating NIX_PATH env var. All of them are correct.
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vMvyt
<NixOS_GitHub> nixpkgs/staging fc3b866 Sophie Taylor: libssh2: 1.7.0 -> 1.8.0
<NixOS_GitHub> nixpkgs/staging 6cb2f76 Vladimír Čunát: Merge #21328: libssh2: 1.7.0 -> 1.8.0
<mpickering> Amazing thanks everyone
<mpickering> I guess I will now read the nix manual as well
<kmicu> That’s the oldest and the most important one. Highly recommended.
thc202 has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vMvyK
<NixOS_GitHub> nixpkgs/staging d4c7f58 Frederik Rietdijk: pythonPackages.numpy: 1.11.2 -> 1.11.3...
yegods has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-16.09: https://git.io/vMvSC
<NixOS_GitHub> nixpkgs/release-16.09 ce7e9cb Alex Ivanov: qmmp: 1.1.2 -> 1.1.5...
Shou has joined #nixos
evangeline has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
herzmeister has quit [(Quit: Leaving)]
jophish has joined #nixos
jophish is now known as Guest62894
<NixOS_GitHub> [nixpkgs] spacekitteh opened pull request #21392: jdk8: Allow selection of specific update+build (master...patch-24) https://git.io/vMvSb
<spacekitteh> i'd be real grateful if someone could tell me how to make #21392 nicer
yegods has quit [(Remote host closed the connection)]
yegods has joined #nixos
[0x4A6F]1 has quit [(Ping timeout: 265 seconds)]
yegods has quit [(Remote host closed the connection)]
sdothum has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vMv9D
<NixOS_GitHub> nixpkgs/master 7fda8db Bjørn Forsman: borgbackup: 1.0.8 -> 1.0.9 (security fixes)...
[0x4A6F] has quit [(Ping timeout: 250 seconds)]
[0x4A6F] has joined #nixos
herzmeister has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vMvHT
<NixOS_GitHub> nixpkgs/master c98f3ff Jörg Thalheim: wireguard: 0.0.20161218 -> 0.0.20161223
hiberno has quit [(Read error: Connection reset by peer)]
<evangeline> hi, does somebody know where writeScriptBin is defined, I would like to inspect the code: https://github.com/NixOS/nixpkgs/search?p=1&q=writeScriptBin&utf8=%E2%9C%93 ?
evangeline has joined #nixos
<ambro718> How to reach the unwrapped gcc package?
k2s has joined #nixos
k2s has quit [(Client Quit)]
[0x4A6F]1 has joined #nixos
ebzzry has quit [(Ping timeout: 260 seconds)]
ebzzry has joined #nixos
<domenkozar> mpickering: that was only recently documented: https://github.com/NixOS/nix/pull/1153/files
thalll_ has joined #nixos
xcursor has joined #nixos
<xcursor> I am packaging some X cursor themes, but there are some themes that I would like to package that are only available through deviantart, which does not seem to support direct downloads. What is the best approach in these kind of situations?
thalll has quit [(Ping timeout: 268 seconds)]
<sphalerite> xcursor: if the licence is okay with it, just mirror it yourself I guess
<sphalerite> Then it can probably also go on hydra or something. I don't really understand that stuff yet though
<ToxicFrog> hrm
<ToxicFrog> nixos-16.09 channel has hledger-0.27 and hledger-lib-0.27
[0x4A6F] has quit [(Read error: Connection reset by peer)]
[0x4A6F]1 is now known as [0x4A6F]
<ToxicFrog> But hledger-ui and hledger-web 1.x, which can't be installed because they require hledger 1.x as well
<ToxicFrog> (a) Why (and how) did -ui and -web get a version bump in this channel that breaks them?
<ToxicFrog> (b) even if they did, shouldn't they depend on the 1.x versions of hledger and hledger-lib, meaning that building them results in hledger 0.27 and 1.0 being installed simultaneously, rather than the build failing?
<ToxicFrog> On further investigation it looks like haskell dependencies don't work right in general :/
<evangeline> gchristensen: thank you, I've found it
<ToxicFrog> If I try to nix-shell -p hledger_1_0_1, it doesn't realize it needs hledger-lib_1_0_1 as well, and the build fails
thalll_ has quit [(Ping timeout: 256 seconds)]
[0x4A6F]_ has joined #nixos
<Profpatsch> mpickering: Once you start contributing stuff, you will definitely want a local checkout.
<ToxicFrog> If I try to nix-shell them both, it tries to build them in parallel, so the hledger build still fails because hledger-lib isn't done building yet
<evangeline> I have another request: the article: https://lethalman.blogspot.si/2014/11/nix-pill-16-nixpkgs-parameters.html talks about "The all-packages.nix expression accepts the config parameter. If it's null, then it reads the NIXPKGS_CONFIG environment variable." I've taken a look in the all-packages.nix: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix , but I don't see the config the
<evangeline> article talks about. Can somebody point it out for me?
<ToxicFrog> I worry that the same thing would happen if I put them in systemPackages
<Profpatsch> And you will probably want to try to change some stuff, doing it directly is often by far easier than trying to override.
ryanartecona has joined #nixos
<evangeline> I mean I know where it accepts the parameter, but I would like to determine where it is checked if it is null and overriden with the default?
<xcursor> evangeline: do you mean impure.nix? There it does the checks for the config
ryanartecona has quit [(Ping timeout: 260 seconds)]
hotfuzz has joined #nixos
<ToxicFrog> argh. I just can't get this to install no matter what
<evangeline> xcursor: found it, thanks for pointing it out. One more thing: if I install the package from my normal user, where the ~/.nixpkgs/config.nix is present, it will evaluate and use it (for example to override some package installed by the user, not system-wide). However, how does the config get set when running "nixos-rebuild switch"; I'm guessing the "inherit system config" has to do something with it, but where
<evangeline> is the config taken from; I'm assuming global configuration.nix?
mkoenig has quit [(Read error: Connection reset by peer)]
<xcursor> evangeline: If I am not mistaken, that is determined by nixpkgs.config in your configuration.nix. I always define that as follows: nixpkgs.config = { pkgs }: import nixConfig { inherit pkgs; }; where nixConfig is a variable containing the path to my global nixpkgs file that I also use in: nix.nixPath = [ "nixos-config=${nixosConfig}" ];
<xcursor> Hmm, nevermind that last bit, I use nixosConfig there, not nixConfig, my bad
<xcursor> evangeline: I copied the wrong bit, I also use nixConfig in: environment.etc."nix/nixpkgs-config.nix".source = nixConfig;
mkoenig has joined #nixos
<xcursor> evangeline: and since NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix" by default, that way it knows how to find my global nixpkgs that way too
sigmundv has joined #nixos
m3tti has joined #nixos
tg has quit [(Quit: Leaving)]
<m3tti> hi there how could i switch my gtk themes with lxappearance?
<xcursor> m3tti: I have only been able to change the GTK theme using the right env variables, if I change it in lxappearance it will only change it for lxappearance, but not others
Sonarpulse has joined #nixos
<m3tti> xcursor: and how do i do this
tg has joined #nixos
<xcursor> m3tti: I will give you my config, let me first strip out the irrelevant parts
<evangeline> xcursor: can you tell me where are you writing the global nixpkgs file to which the symlink them points?
<evangeline> s/them/then
<xcursor> evangeline: wherever you want, in my case it is in /my/dev/proj/nixcfg/nixpkgs/config.nix
<evangeline> xcursor: yes, but are you calling writeText function to write the file on that path?
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<xcursor> evangeline: I do not write it using writeText, it just a regular .nix file
<evangeline> xcursor: ah, so it's just a normal file, which you've manually copied there, I get it.
<Sonarpulse> DavidEGrayson: taking a look!
<evangeline> xcursor: you've mentioned that nixConfig contains the path to the global nixpkgs file, but I fail to see that logic in " import nixConfig { inherit pkgs; };": can you explain this a little more?
<xcursor> evangeline: I have not copied it, but yes it is just a regular file.
<xcursor> > readlink /etc/nix/nixpkgs-config.nix /etc/static/nix/nixpkgs-config.nix > readlink /etc/static/nix/nixpkgs-config.nix /my/dev/proj/nixcfg/nixpkgs/config.nix
sdothum has joined #nixos
<xcursor> evangeline: basically import evaluates the nix contents of the given file, and since the file contains a function expecting a set containing pkgs, I give it { inherit pkgs; }, which is equivalent to just { pkgs = pkgs; }
sdothum has quit [(Client Quit)]
sdothum has joined #nixos
<evangeline> xcursor: got it, thank you for all your help.
<xcursor> evangeline: that is also what I use to get access to the unstable channel in my nixpkgs config: unstable = import <nixpkgs-unstable> {}; where <nixpkgs-unstable> will look for nixpkgs-unstable in the NIX_PATH, that way I can do unstable.lxqt.pavucontrol-qt to get packages that are not yet on the latest stable release
makefu has quit [(Quit: WeeChat 1.5)]
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vMv5h
<NixOS_GitHub> nixpkgs/master 591eda8 Frederik Rietdijk: python27: 2.7.12 -> 2.7.13
<NixOS_GitHub> nixpkgs/master b09000e Frederik Rietdijk: python36: 3.6.0rc1 -> 3.6.0
makefu has joined #nixos
eacameron has joined #nixos
<evangeline> xcursor: I'm not exactly sure what to set the nixpkgs.config to - I have this now: http://dpaste.com/02WX7X9 , which is wrong obviously :)
zagy has joined #nixos
zagy has quit [(Client Quit)]
<xcursor> evangeline: why is it wrong? That is exactly how I have it with the edition of the etc file.
<evangeline> xcursor: error: attempt to call something which is not a function but a set, at /etc/nixos/configuration.nix:370:30
<LnL> I think you can also set NIX_CONFIG
<evangeline> 370th line is the nixpkgs line
<xcursor> m3tti: Here is my config for theming http://dpaste.com/1JZ40AD
<LnL> nvm, the nixos module probably also overrides that
<xcursor> evangeline: what is you nixpkgs content? Maybe that is the problem, it not being a function
<evangeline> xcursor: you're right, I've changed it now and everything works, thank you
<xcursor> evangeline: here is a simple example: { pkgs }: with pkgs.lib; { allowUnfree = true; }
<xcursor> ah, ok, great to hear :)
<evangeline> xcursor: thanks for all your help, I'll have a modular configuration in no time, the old one was getting too big.
<evangeline> xcursor: btw, why can't we use only " nixpkgs.config = import nixConfig { inherit pkgs; };" without the {pkgs}: bit?
zml has quit [(Ping timeout: 265 seconds)]
<NixOS_GitHub> [nixpkgs] peti pushed 4 new commits to master: https://git.io/vMvdu
<NixOS_GitHub> nixpkgs/master b87a59b Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master 19e2e72 Daiderd Jordan: haskell: workaround for bug with dynamic libraries on darwin
<NixOS_GitHub> nixpkgs/master 943f434 Peter Simons: configuration-hackage2nix.yaml: update list of broken builds
zml has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to release-16.09: https://git.io/vMvd2
<NixOS_GitHub> nixpkgs/release-16.09 06fcb0c Frederik Rietdijk: python27: 2.7.12 -> 2.7.13...
sigmundv has quit [(Ping timeout: 268 seconds)]
<xcursor> evangeline: you are right, however it should then be just import nixConfig, otherwise you are not supplying it a function that expects pkgs
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
sdothum has joined #nixos
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
mudri has quit [(Ping timeout: 258 seconds)]
makefu has quit [(Quit: WeeChat 1.5)]
<LnL> peti: did all of the packages for osx build yet? I had the impression that the haskell-updates job only builds for linux
makefu has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
MoreTea has joined #nixos
eacameron has joined #nixos
takle has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
tv has quit [(Ping timeout: 265 seconds)]
pi3r has joined #nixos
tv has joined #nixos
mkoenig has joined #nixos
latk has quit [(Ping timeout: 260 seconds)]
m3tti has quit [(Ping timeout: 252 seconds)]
tv has quit [(Ping timeout: 256 seconds)]
mudri has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vMvFu
<NixOS_GitHub> nixpkgs/master c38b4da zimbatm: strongswan: 5.5.0 -> 5.5.1
<peti> LnL: I don't know ... I trusted that you did test that. :-)
<peti> LnL: If they don't build, then we'll soon know.
mkoenig has joined #nixos
<LnL> allright, I'll keep an eye on it then
<LnL> I only tested rocksdb
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
mudri` has joined #nixos
xadi has joined #nixos
mudri has quit [(Ping timeout: 248 seconds)]
sdothum has joined #nixos
alx741_ has joined #nixos
xadi has quit [(Client Quit)]
alx741 has quit [(Ping timeout: 268 seconds)]
alx741_ has quit [(Client Quit)]
<ronny> hmm
<ronny> anyon awae of a way to install samsung printer drivers on nixos?
ryanartecona has joined #nixos
<MoreTea> @ronny, which printer exactly? I it supported by CUPS directly, or do you need a custom filter?
Samvh has joined #nixos
ryanartecona has quit [(Ping timeout: 250 seconds)]
alx741 has joined #nixos
<ronny> MoreTea: i need a custom driver, the cups driver download tool is completely broken and fails hard
<ronny> MoreTea: its one of those samsung laser printer
<eacameron> LnL: peti: anyone: Is there a way to use the "options" framework in NixOS for packages that aren't installed as system services (i.e. complex build templates)?
mudri`` has joined #nixos
sellout- has joined #nixos
<MoreTea> ronny, There is some work on canon printers in nixpkgs, see https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/cups/drivers/canon/default.nix
<MoreTea> eacameron, are you referring to the module system?
yegods has joined #nixos
<ronny> MoreTea: huh? but i need samsung ones
mudri` has quit [(Ping timeout: 260 seconds)]
<eacameron> MoreTea: Hmm...perhaps...is that the thing that defines all the options metadata and helps packages configure themselves based on that ?
<ronny> oh wow the canon stiff looks like an utter pain
<LnL> eacameron: not in a straightforward way, you can look at nixos or my nix-darein project to see how the modules are evaluated
<eacameron> MoreTea: Thank you ... I had no idea it was called the module system.
<eacameron> LnL: Bummer...It likely isn't worth any crazy shenanigans at this point
<MoreTea> @eacameron, I only know the name, I should take a deep dive in those things some day ;)
<ronny> MoreTea: thanks for the pointer, im already running a rebuild wit those added
<MoreTea> ronny, np! ping the channel when you got it working, or when you get stuck on something ;)
<MoreTea> The next thing you should do is to add that to services.printing.drivers in your /etc/nixos/configuration.nix file.
<eacameron> LnL: Wow...I saw this...but it's awesome. You using this on macOS?
<eacameron> (i.e. it actually works??)
<ronny> MoreTea: cups is still broken, it tries to download the driver even after adding the samsung unified one
<MoreTea> ronny, I'm sorry, I don't understand what you're saying.
<MoreTea> Which printer do you have exactly?
pi3r has quit [(Ping timeout: 268 seconds)]
<ronny> MoreTea: a C480
<ronny> MoreTea: whne i add the printer via gnome, a tool opens to dwnload ppd files, thne all goes to hell
<avn> LnL: does it intended to run over osx, or for independed pure darwin build?
hotfuzz_ has joined #nixos
eacameron has quit [(Remote host closed the connection)]
hotfuzz has quit [(Ping timeout: 240 seconds)]
tv has joined #nixos
<LnL> eacameron: yes, it comes with it's own darinw-rebuild command so you can manage some parts of the system just like nixos
<LnL> avn: not sure what you mean, it's system configuration
<LnL> it won't nuke your system if that's what you are asking
<avn> LnL: is attempt to build standalone darwin based system, or is just helper for osx+nixpkgs using?
<LnL> right, just whatever you want it to manage
<LnL> it has some modules that are basically the same as for nixos (/etc files)
<LnL> and some that are specific to osx (defaults, launchd)
Samvh has quit [(Remote host closed the connection)]
kuznero has joined #nixos
<kuznero> Hi All!
<MoreTea> @ronny, according to http://www.bchemnet.com/suldr/supported.html, you need at least version 1.00.36 of the unified drivers. NixOs ships with version 4.00.39, so you should be OK
<MoreTea> No need to modify nixpkgs.
<kuznero> How can I configure two of my laptops that are running on the same home network such that I can ssh/ping one another by name? Should I install name server somehow? I am completely lost here... Please help!
eacameron has joined #nixos
<MoreTea> @ronny, have you followed the instructions in the comments on the top of this file? https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/cups/drivers/samsung/4.00.39/default.nix
<MoreTea> @kuznero, it's probably the firewall that blocks pings. See https://nixos.org/nixos/manual/#sec-firewall
<MoreTea> Basically you should set networking.firewall.allowPing = true; in your /etc/nixos/configuration.nix
<MoreTea> @ronny, furthermore, I don't know if adding printers via Gnome's dialog is going to work. I know that it works via the local cups HTTP interface (see http://localhost:631)
xadi has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
<kuznero> @MoreTea: I have allow ping thingy in my config and also opened port 22. Here is my config: http://lpaste.net/1108964219434303488
<MoreTea> and you have rebuild your machine configuration with nixos-rebuild ?
<MoreTea> @kuznero, can you ping the IP of the other machine?
<kuznero> @MoreTea: I can easily ping with IP, but not with the name
<kuznero> and yes, I have rebuilt
yegods has quit [(Remote host closed the connection)]
<MoreTea> Ah, so it's not an IP level problem.
<kuznero> no-no, it has probably something to do with name server
<kuznero> I even started to search for something like dnsmasq service, except that I have no idea how it works
<MoreTea> Then I must have misunderstood what you said before.
<MoreTea> Did it work before switching nixos?
<MoreTea> I must admit that in my networks, I usually do everything by IP
<kuznero> I don't remember trying to do this before. With IPs there is always a chance that it will change...
<ronny> MoreTea: looks like the 4.x version doesnt work and the older wones no longer install
yegods has joined #nixos
<MoreTea> @kuznero, I have pinned the IP's for my devices in my router (pinned the MAC address of the devices)
<MoreTea> ronny, hmm. You could send an email to that project
<ronny> MoreTea: i wont be able to test anything about that for the next few months
<kuznero> @MoreTea, I see. That might be an option. But otherwise I guess is to establish proper domain with domain server that will also resolve domain requests...?
<MoreTea> @ronny, sure. If you run into trouble and this channel is not responsive, just send an email to the mailing list.
<toogley> is there a way to declaratively say `run "systemctl --user import-environment" before running service X`
mudri`` has quit [(Ping timeout: 264 seconds)]
<MoreTea> @kuznero, your router should do that. But I must admit that I don't know how the name of a NixOS machine is pushed to a local DNS server. Or if it is pulled somehow.
Itkovian has joined #nixos
<toogley> basically, my service works if i run systemctl --user import-environment before, but otherwise doesn't. so how can i make that happen in nixOS?
<ronny> MoreTea: main problem is that the printer is at my parents place, im only over for stuff like christmas or birthdays
<ronny> (its an about 500 km ride)
ebzzry has quit [(Ping timeout: 256 seconds)]
<MoreTea> toogley, There is work on a `nixuser` thing that is for user sessions what nixos-rebuild is for nixos (https://github.com/NixOS/nixpkgs/pull/9250) Maybe there is some code in there that you can use?
Samvh has joined #nixos
<MoreTea> @ronny, I see ;) Might be easier to just let your parents print a .pdf then :)?
<MoreTea> I do the same with a horrible brother laser printer that my mother owns
<ronny> MoreTea: its what im doing now (secretly on their computer because its the voucher for their christmas present, yay last minute)
nh2_ has joined #nixos
<Samvh> I'm having some trouble with stack-building a haskell package that depends on zlib
<Samvh> I found some references online but their solutions don't seem to be working
<Samvh> and I'm not so at home with library issues :/
<Samvh> I added zlib in my configuration.nix
<kuznero> @Samvh, I was going through this recently. I can point you to an example github repo
<Samvh> and online I see that someone executed 'pkg-config --libs zlib' and then gets a hit
<Samvh> but for me it says it's not installed
<Samvh> kuznero: that might be helpful
JagaJaga has joined #nixos
<kuznero> Samvh: here it is https://github.com/kuznero/ghcli Look inside stack.yaml, there is special nix section in the end there. It should work. Otherwise, I did `stack setup --nix` when I was pulling initial snapshot with GHC for the very first time.
<Samvh> does that mean you let stack install ghc?
<Samvh> thanks I will have a look
<Samvh> that seems to work, the packages: [zlib] line
<Samvh> awesome, that was easy :)
<kuznero> :)
<kuznero> no problem
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
xadi has quit [(Quit: Leaving.)]
xadi has joined #nixos
<mpickering> It seems that fetchgit defaults to pulling in submodules but nix-prefetch-git does not
nh2_ has quit [(Ping timeout: 246 seconds)]
xadi has quit [(Ping timeout: 258 seconds)]
JagaJaga has quit [(Ping timeout: 258 seconds)]
yegods has quit [(Remote host closed the connection)]
eacameron has joined #nixos
xadi has joined #nixos
mizu_no_oto has joined #nixos
yegods has joined #nixos
eacameron has quit [(Ping timeout: 252 seconds)]
<LnL> mpickering: what about nix-prefetch-url -A foo.src
eacameron has joined #nixos
<mpickering> I'm not sure what you mean sorry
<mpickering> Can you use prefetch-url to get the hash for git commits as well?
<LnL> no but it works with nix expressions so if you give it the attribute to the fetchgit src it should work as expected
<LnL> fox example nix-prefetch-url '<nixpkgs>' -A hello.src
<toogley> MoreTea: hm, thanks - but i haven't found sth successful.
JagaJaga has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
yegods has quit [(Remote host closed the connection)]
<mpickering> LnL: No: "attribute does not contain a urls attribute"
<toogley> i know that systemd.services.<name>.environment can be used to set environment variables of a service - but is it also possible to just "transfer" the envinroment variable? that means, i don't want to define the value of a particular environment variable, just import it.
<toogley> basically, what systemctl --user import-environment does for all environment variables.
<mpickering> It seems to me that nix-prefetch-git should default to the same as fetchgit
<mpickering> should I open a ticket or am I missing something
<LnL> mpickering: I guess not, anyway I personally don't use the prefetch scripts because of that sort of behavour
<toogley> (i also can't execute systemctl --user import-environment as ExecStartPre, because i think the scope of the service is already limited, so it doesn't import what i need.
<LnL> mpickering: fetchpatch also does not work with any of the scripts for example
<mpickering> How do you get the hashes?
<LnL> nix-build
<LnL> just use sha256 = "0000000000000000000000000000000000000000000000000000";
sellout- has quit [(Quit: Leaving.)]
<NixOS_GitHub> [nixpkgs] jerith666 closed pull request #21276: Plex: update, open ports (master...plex-133) https://git.io/v1dcD
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
sdothum has joined #nixos
Itkovian has joined #nixos
Samvh has quit [(Quit: leaving)]
derjohn_mobi has quit [(Ping timeout: 260 seconds)]
xadi has quit [(Quit: Leaving.)]
xadi has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
ryanartecona has joined #nixos
ryanartecona has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] mpickering opened pull request #21393: Small improvements to development GHC derivations (master...master) https://git.io/vMvpt
yegods has joined #nixos
Guest62894 has quit [(Ping timeout: 252 seconds)]
reardencode has joined #nixos
zagy has joined #nixos
samueldr has quit [()]
samueldr has joined #nixos
<> changed the topic of #nixos to: Topic for #nixos is "https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || Swag: http://www.cafepress.co.uk/NixOS || Darwin: ##nix-darwin"
<> changed the topic of #nixos to: Topic set by gchristensen!~ident@unaffiliated/grahamc on 2016-12-04 22:01:50 UTC
<> changed the topic of #nixos to: Channel #nixos created on 2008-04-25 12:32:07 UTC
<joepie91> I'm seeing this in my logs after enabling bluetooth support, and it's leading to the dbus-org.bluez service failing to start: https://gist.githubusercontent.com/joepie91/2c921a52e4ce9450295070738010b07c/raw/408ee845bfd6105918012e722ac4fde5ac2384a8/gistfile1.txt
<joepie91> how would I resolve this?
zagy has quit [(Client Quit)]
yegods has quit [(Remote host closed the connection)]
xadi has quit [(Quit: Leaving.)]
yegods has joined #nixos
<joepie91> "I wonder what happens if I restart dbus"
<joepie91> answer: Xorg crashes
<joepie91> lesson learned...
<joepie91> on the bright side, I now know what the problem is
systemfault has joined #nixos
<hodapp> hmm, if https://github.com/turtl/desktop depends on https://github.com/turtl/js (both npm packages), should I perhaps just make a separate package for the js components and make the desktop package depend on it?
Shou has quit [(Ping timeout: 245 seconds)]
<hodapp> I would guess the only reason they separated out the js part is that something else depends on it
<hodapp> though that could be completely-irrelevant-to-NixOS things, like the Android app
Xackle has quit [(Quit: C-x C-c)]
stepcut has joined #nixos
yegods has quit [(Remote host closed the connection)]
eacameron has joined #nixos
Shou has joined #nixos
Fare has joined #nixos
ambro718 has quit [(Quit: Konversation terminated!)]
<hodapp> hmm, node2nix has produced some .nix files but I have no idea what it's named the package...
eacameron has quit [(Remote host closed the connection)]
<Fare> is this an OS named in honor of the Greatest President of All, Richard Nixon?
<hodapp> uhh, no.
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
bradediger has joined #nixos
Matrixiumn has joined #nixos
<bradediger> You ever come into IRC to ask a question, then to discover that the process of formulating your question reveals the typo in your code? Thanks for the rubber-duck debugging, all. :-)
<bradediger> Protip: infinite loops become markedly less infinite when you refer to the parent attrset being overridden, not the result of the fixpoint.
<Fare> bradediger, :-)
viric has quit [(Remote host closed the connection)]
bradediger has quit [(Quit: Page closed)]
eacameron has joined #nixos
RchrdB has joined #nixos
ambro718 has joined #nixos
mudri`` has joined #nixos
yegods has joined #nixos
eacameron has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
Matrixiumn is now known as Xackle
eacameron has joined #nixos
<hodapp> ugh. trying to use node2nix and still just completely lost as to what to do with the resultant .nix files
<hodapp> trying to use them as a dependency for another npm project
c74d has joined #nixos
zarel has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
<MoreTea> @hodapp, not sure if that specific use case is possible with node2nix. Could you not just add a dependency in packages.json in "another npm project" and then use node2nix?
<hodapp> MoreTea: as far as I understand it, it's a repo I need to check out locally.
stepcut has quit [(Ping timeout: 248 seconds)]
<hodapp> https://github.com/turtl/desktop - it's for that, and I'm not really sure of the right way of handling it
stepcut has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vMff2
<NixOS_GitHub> nixpkgs/master 30074dd Tuomas Tynkkynen: coreutils: Fix cross build...
<MoreTea> @hodapp, for development you probably need to check out the git repo, but if for example you would like to add this to nixpkgs, you would only need to add the files generated by node2nix, maybe also packages.json
<hodapp> MoreTea: yeah, I'm trying to get turtl/desktop into nixpkgs
<hodapp> which involves somehow invoking turtl/js as a dependency
<MoreTea> how much do you know about npm packaging :)?
<hodapp> not much
<MoreTea> (I only know some small bits here and there)
<MoreTea> From what I can see in pacakges.json in turtle/desktop, is that there is *no* dependency specifie
<MoreTea> *d
<hodapp> it's not necessarily an npm dependency
<hodapp> but look at the build instructions
<NixOS_GitHub> [nixpkgs] jerith666 opened pull request #21395: plex: add config option to open recommended network ports (master...plex-firewall) https://git.io/vMffX
<MoreTea> I see what you mean. It's a weird setup..
<hodapp> how I'd envisioned this working is that I'd run node2nix on turtl/desktop and on turtl/js, and somehow import both of those and add them as buildInputs
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vMffM
<NixOS_GitHub> nixpkgs/master 0e3b56c Tuomas Tynkkynen: alsa-lib: Remove unnecessary crossAttrs...
mahe2 has quit [(Quit: Lost terminal)]
<hodapp> and have a 3rd package (I guess) which is responsible for running that same process to build and to run it
<MoreTea> I think that that's not going to work. They use a Makefile to actually build the program
<MoreTea> Ah, yes, we're on the same page.
<hodapp> hence the 3rd package to build and run
<hodapp> I have been looking around in nixpkgs for examples of anything using a node2nix package as a dependency and just don't really know where to start
<hodapp> "nix-env -f . -qaP -A nodePackages" shows me some but I'm confused as to how to even refer to the nix files node2nix has provided
<MoreTea> That's something else entirely
<hodapp> what is?
yegods has quit [(Remote host closed the connection)]
<MoreTea> nodePackges and node2nix
<MoreTea> node2nix is a nice tool that generates a stand alone instruction of how to install javascript dependencies
<hodapp> I was looking there because I didn't know where else to find examples of Node packages
<MoreTea> I'm giving it a go right now :)
<hodapp> and probably I need to learn the language a bit better, but usually I have problems doing that without something I'm actually trying to apply it to
<MoreTea> Checkout this webpage: https://nixcloud.io/tour/
<MoreTea> It's an awesome way to learn more about nix
<hodapp> yeah, I'll check that out again... I did most of it last year but I don't remember it really having anything to explain in practical terms how to do things in nixpkgs
<MoreTea> yes, that is something that is missing!
<MoreTea> I would like to see some guides to take new users through some steps
<MoreTea> Like packaging a node application from A to Z and create a PR for nixpkgs to add it.
<hodapp> yeah... I took a look at node2nix at the recommendation of others here
<MoreTea> The documentation is good as a reference manual, but as someone who is new to Nix it is probably incomprehensible.
<MoreTea> It took me some time as well to understand how it all works.
kuznero has quit [(Quit: Leaving)]
<hodapp> yeah; I was trying to add Turtl because most everything else I needed was already in nixpkgs
<MoreTea> I'm working on packaging it now
<MoreTea> We could do a screenshare if you'd like to see me stumbling around :)?
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
zarel has quit [(Ping timeout: 258 seconds)]
<hodapp> perhaps just point me to the results and I'll take a look
<hodapp> understanding how it's done and why would be helpful
Sonarpulse has quit [(Ping timeout: 265 seconds)]
yegods has joined #nixos
Shou has quit [(Ping timeout: 258 seconds)]
m3tti has joined #nixos
JagaJaga has quit [(Ping timeout: 268 seconds)]
Shou has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/bc4a6719809f8965c71e2375e5760ef3bc04a0d3
<NixOS_GitHub> nixpkgs/master bc4a671 Lancelot SIX: unifont: 9.0.04 -> 9.0.06...
<NixOS_GitHub> [nixpkgs] rycee closed pull request #21390: unifont: 9.0.04 -> 9.0.06 (master...update_unifont) https://git.io/vMv1K
<MoreTea> @hodapp, i'm giving up. it's a imperative mess.
<hodapp> :(
<MoreTea> I could probably fix it with a few more hours, but I'm not really motivated to do that at the moment.
<hodapp> what sort of imperative mess stuff did you run into?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pikarudolph has quit [(Quit: Quit)]
<MoreTea> make scripts that generate bash scripts that thing that is makes sense that /usr/bin/bash exists etc
pikajude has joined #nixos
pikajude is now known as pikarudolph
<m3tti> damn i love that os
<m3tti> !
<m3tti> and package manager
hiratara has quit [(Ping timeout: 245 seconds)]
<hodapp> that OS or this OS? :P
<m3tti> i've never felt so confortable since debian
<m3tti> Nix OS :-D
<m3tti> but i've to figure out how to set gtk themes
hiratara has joined #nixos
yegods has quit [(Remote host closed the connection)]
<hodapp> MoreTea: and it's at the makefiles that things become a train-wreck?
<MoreTea> jep.
<MoreTea> well, it's probably fixable, but it will take a few hours
<hodapp> bleah.
<MoreTea> -- which i'm not willing to spend on this
<hodapp> well, thanks for putting your work so far online at least
yegods has joined #nixos
<MoreTea> no worries ;) You could open a package request in the issue tracker
<NixOS_GitHub> [nixpkgs] the-kenny pushed 1 new commit to master: https://git.io/vMfTO
<NixOS_GitHub> nixpkgs/master bdc880e Moritz Ulrich: flightgear: 3.4.0 -> 2016.4.3.
<hodapp> I was hoping to make it a pull request of actual working code :P
<hodapp> are there any other good nixpkgs I might refer to that cope with train-wreck builds?
<MichaelRaskin> Well, train-wreck builds are all different…
<NixOS_GitHub> [nixpkgs] laMudri opened pull request #21396: [don't merge yet] AgdaStdlib: v0.12 -> v0.13 (master...stdlib-v0.13) https://git.io/vMfTs
mudri`` is now known as mudri
FRidh has joined #nixos
systemfault has quit [(Quit: Bye!)]
roconnor_ has joined #nixos
yegods has quit [(Remote host closed the connection)]
<hodapp> MichaelRaskin: I'd venture that some mechanisms for handling train-wrecks are still applicable in various situations though.
<MichaelRaskin> Well, the mechanism is mostly «write postconfigure phase to clean up the makefiles»
<hodapp> to clean up the Makefiles themselves, or to clean up their results?
<MichaelRaskin> It depends; will the build even finish with the original makefiles?
<hodapp> dunno, would have to try out MoreTea's package
<MichaelRaskin> Often it is simpler to edit the Makefile after configure — with a patch or maybe using sed
<MichaelRaskin> (again, it depends on details)
johnsonav has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21339: crystal: init at 0.20.3 (master...add/crystal-lang) https://git.io/vMfTx
<NixOS_GitHub> [nixpkgs] LnL7 pushed 3 new commits to master: https://git.io/vMfTp
<NixOS_GitHub> nixpkgs/master 7908185 mingchuan: crystal: init at 0.20.3...
<NixOS_GitHub> nixpkgs/master 6db2c98 mingchuan: shards: init at 0.7.1...
<NixOS_GitHub> nixpkgs/master 481569e Daiderd Jordan: Merge pull request #21339 from sifmelcara/add/crystal-lang...
yegods has joined #nixos
yegods has quit [(Remote host closed the connection)]
sellout- has joined #nixos
<MoreTea> MichaelRaskin, hodapp, the Makefile generates some .js script and then calls that script. That script contains hard coded references
<hodapp> ugh
<hodapp> hard-coded references to what sort of stuff?
Wizek__ has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21351: haskell: workaround for bug with dynamic libraries on darwin (master...darwin-haskell-dyld) https://git.io/vMfkW
Wizek has quit [(Ping timeout: 268 seconds)]
<sheenobu> eh cyanogen is dead. I need to get on nixos on android ASAP
<sheenobu> Any work torward that? I know nixos can run on ARM
<simpson> sheenobu: Well, how much of Android do you want to support? There's kernel patches, driver patches, the Android libc, the app platform, etc.
mbbx6spp has joined #nixos
mbbx6spp has quit [(Client Quit)]
<sheenobu> simpson, I know KDE plasma uses a stripped down version of cyanogenmod and then boots up lightdm. I'd prefer to start as low as possible... literally boot into linux and ssh into the phone
<sheenobu> so kernel patches and driver patches and /maybe/ the android libc if needed
hiratara has quit [(Quit: ZNC - http://znc.in)]
<simpson> Exciting. Good luck.
hiratara has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21395: plex: add config option to open recommended network ports (master...plex-firewall) https://git.io/vMffX
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vMfkK
<NixOS_GitHub> nixpkgs/master b64214f Matt McHenry: plex: add config option to open recommended network ports...
<NixOS_GitHub> nixpkgs/master f4e58c2 Jörg Thalheim: Merge pull request #21395 from jerith666/plex-firewall...
<sheenobu> simpson, eh. I don't have the hard drive space to build an android kernel T_T
<hodapp> NixOS on Android? o_O
<sheenobu> /maybe/ a stripped down version, if I cut it close.
<sheenobu> hodapp, yeah I have ideas. bad ideas.
<hodapp> whatever the case, my derpy Android tablet probably won't run it
<hodapp> it's an Amazon Fire Whatever
<Dezgeg> the kernel won't take that much space, I have a 3.5G kernel repo for one device
<sheenobu> Dezgeg, gotcha. How to just build and test the kernel?
<Dezgeg> well, depends on the device
<sheenobu> I know b2b (the boot to gecko base product of the now dead firefoxos) is like 'you need 200gb to build this'
<Dezgeg> yes, the whole android tree I have is 62 gb (and it's only sources, no build products)
<hodapp> O_O
<sheenobu> I wouldn't mind just booting a demo system in an emulator but I have a galaxy s5, a nexus 5, and a nexus 6
<MoreTea> This issue is about building Android on Nixos: https://github.com/NixOS/nixpkgs/issues/21222
<Dezgeg> ok, for nexus 5 at least you can follow the aosp instructions
<sheenobu> MoreTea, ah new posts since the last time i looked at that
<sheenobu> I just found out cyanogen is going under and the cyanogenmod people are forking. who knows how that will go
<MoreTea> a build system that uses nix?
<MoreTea> I hate the fact that the whole android world is about downloading binary blobs
<sheenobu> MoreTea, /yes/.
<sheenobu> it's why i'm interested in starting as simple as possible. Just build a bootable kernel, no video or call drivers, and be able to run it on a phone or tablet
<simpson> Whatever. All software is terrible.
<sheenobu> granted ^
<hodapp> Nah.
<simpson> sheenobu: No video drivers means no screen.
<sheenobu> simpson, that's fine.
<Dezgeg> does it really need to run on a phone then? you could buy a sensible development board instead
<simpson> I guess if ADB works, then sure. I normally don't recommend that people work in environments where video drivers aren't available.
<MichaelRaskin> Dezgeg: I guess the operating word is «start» in the sense that ADB to a no-video-driver phone is a measurable unit of progress
<sheenobu> Dezgeg, if the plan is to eventually get a phone-based environment then running on a phone is a decent goal
<sheenobu> https://community.kde.org/Plasma/Mobile/CyanogenModBase mentiones a stripped down cyanogenmod
<sheenobu> but i'd prefer to figure out how to build that stripped down cyanogenmod myself
<Dezgeg> to me it sounds like a multiple-month project at least and doing that on a production device sounds like major pain
<sheenobu> Dezgeg, my galaxy s5 is my main device. My nexus 5 is unused and my nexus 6 is a loaner
<sheenobu> Dezgeg, sadly enough i have multiple months as long as I work enough hours to pay my bills
<Dezgeg> but anyway, getting aosp on nexus 5 isn't particularly difficult except for getting the build system to work
<sheenobu> I already work in telephony (VOIP, asterisk and kamailio)
seku has joined #nixos
<sheenobu> Dezgeg, thanks. I think i'll setup my currently unused laptop to do nothing but build. I'll probably install ubuntu since that's the standard dev distro for android
<sheenobu> I have a lot of damn unused hardware -_-
<Dezgeg> yes, I once tried to make an aosp build on arch linux... completely hopeless
m3tti has quit [(Ping timeout: 248 seconds)]
<sheenobu> archlinux itself is a pain
<sheenobu> 10 years ago archlinux was a super simple install
<sheenobu> it's the kids who are wrong
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<MoreTea> @sheenobu, it would be pretty awesome if you would be able to build a basic android system.
<MoreTea> I'd try to build a custom rom for my S5 phone and Galaxy Note Pro tablet in that case
<sheenobu> MoreTea, I'll work on it =)
mkoenig has quit [(Read error: Connection reset by peer)]
<sheenobu> MoreTea, galaxy s5? That's my main phone so I'll work on that after getting the nexus5 working
<MoreTea> good to hear ;)
<sheenobu> my nexus 5 looks like twoface, which is why I don't use it anymore
<MoreTea> I'm playing with WASM + clang, with the goal of getting QEMU to compile after that.
<sheenobu> WASM?
FRidh has quit [(Remote host closed the connection)]
<MoreTea> web assembly
<sheenobu> ahhh
<sheenobu> qemu running in a web browser?
<MoreTea> jep
yorick has quit [(Remote host closed the connection)]
<MoreTea> So that we'd be able to demo nixos from your browser
<sheenobu> awesome!
<MoreTea> it's a long shot
<sheenobu> PM me if you want to keep discussing that or andriod
<MoreTea> but I found some instructions on how to make LLVM emit wasm
<sheenobu> nice
stepcut has quit [(Ping timeout: 252 seconds)]
<sheenobu> I would eventually love to go unhosted. All phone communication goes through my VPS. No apps, just unhosted HTML5 apps that write to my personal storage
<simpson> Sounds hard.
<sheenobu> simpson, very. The whole unhosted writeup is an exercise in philosophy over practicality.
<simpson> I'm gonna just keep offering https://matador.cloud/ until it gets popular or I can't afford to run it.
mkoenig has joined #nixos
<sheenobu> interesting!
<MichaelRaskin> From ToS list of unwelcome content: «Content which is copyrighted and was not uploaded without permission of a copyright holder»
<MichaelRaskin> I sense a typo here…
<avn> MichaelRaskin: only uploaded w/o permission allowed? ;)
<simpson> MichaelRaskin: TY.
<MichaelRaskin> avn: unfortunately, this means I cannot upload anything containing a script that I have written…
* simpson $ tahoe-vim matador.cloud:tos.html
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vMfI9
<NixOS_GitHub> nixpkgs/master 585c642 Jörg Thalheim: docker: use upstream service file from package
<simpson> Yeah, turns out that writing copy at 4AM is not good for proof quality.
<MichaelRaskin> There is a simple trick to writing OK copy at 4AM: going to sleep at 10PM or earlier
<avn> MichaelRaskin: btw, ty for super fast wine PR approval ;)
<MoreTea> ARgh, just CTRL+C'd a LLVM build halfway
<MichaelRaskin> avn: there are many random variables in the process
<avn> MichaelRaskin: taken 7min last time ;)
<simpson> MichaelRaskin: BTW, it's not like I can *enumerate* uploaded files. I just can't leave them up if people point me at them and they violate the ToS.
ryanartecona has joined #nixos
<MichaelRaskin> simpson: I do understand
eacameron has joined #nixos
yorick has joined #nixos
yorick has quit [(Changing host)]
yorick has joined #nixos
<MichaelRaskin> It's also funny that you say «we don't store any payment information, Stripe maybe does» when there is no way to do payment anyway
<sheenobu> ubuntu install in progress
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-16.09: https://git.io/vMfLG
<NixOS_GitHub> nixpkgs/release-16.09 0aa9365 Bjørn Forsman: borgbackup: 1.0.8 -> 1.0.9 (security fixes)...
<simpson> Well, https://helpers.matador.cloud/payment takes payment information, but it's currently not using live Stripe keys 'cause it's not like anybody actually pays me.
ryanartecona has quit [(Ping timeout: 245 seconds)]
<sheenobu> no porn simpson ? T_T
<simpson> sheenobu: It's on my list to figure out how to allow porn.
<sheenobu> gotcha
<sheenobu> one of my pet projects in my head is to figure out the decentrilazotion of porn consumption and production. Websites like chaturbate help but take too much overhead. It's not like publishing your own RTMP stream is /hard/, if you have the bandwidth.
<sphalerite> simpson: never fail to avoid the use of double negatives if you have no idea what you're doing with them
<sphalerite> :D
<sheenobu> and when I say chaturbate helps I mean chaturbate has weird and arbitrary rules.
<sphalerite> Also, I would say I'm fairly well-versed with technology and I'm studying CS, in 3rd year, and don't know how to publish my own RTMP stream. My first guess would be VLC, but I don't actually know how.
<sheenobu> yeah maybe 'easy
<sheenobu> wasn't the right word.
<simpson> sheenobu: Interesting. Matador's not decentralized, it's just designed so that I can't see my users' files.
<sphalerite> like jeaye 's pastebin thing
<jeaye> Yo
yegods has joined #nixos
<sheenobu> simpson, right. decentralization is more about choice, I guess. For selling movies via Tahoe, I guess you would encrypt the file and then sell the decryption key.
Sonarpulse has joined #nixos
Sonarpulse has quit [(Remote host closed the connection)]
<sheenobu> sphalerite, yeah VLC can publish RTMP streams I think. I think obs is popular on twitch. It basically creates an RTMP stream out of arbitrary inputs like your camera, your desktop windows and you send that stream to twitch's RTMP server
Sonarpulse has joined #nixos
<sphalerite> Has there been a mass rebuild on 16.09 recently? I seem to be running out of disk space during a system rebuild :/
<sphalerite> ooft, finished with 650MiB left over
<sphalerite> Can I somehow get it to overflow onto another partition?
<Sonarpulse> that would be nice...
<Sonarpulse> don't know of a way
<Sonarpulse> anybody have any experience with top-level/release-cross.nix ?
<simpson> sheenobu: Wouldn't be an improvement over selling the readcap, in the sense that a person could make one purchase and then share the key.
<sphalerite> or even some sort of sharding, hashes [0-9a-e].* go to place A, hashes [f-z].* go to place B
<sheenobu> simpson, I did mean the readcap when i said 'decryption key', really.
<sheenobu> and you could expire the readcaps. so per-purchase readcap/files vs per-user. but then you run into size issues
<sheenobu> my ideas aren't all homeruns. in fact most are duds
<sphalerite> Oooh or a lazy nix store. That would be fun.
<sphalerite> sheenobu: I think most people's are :)
<sphalerite> (also that mixed metaphor)
<sheenobu> haha
<sphalerite> oh dear, potato quality
<MoreTea> sphalerite, i'm quite happy with my nix store on a ZFS filesystem
eacameron has quit [(Ping timeout: 256 seconds)]
<sheenobu> 90GB free so far for this android build...
<simpson> sheenobu: Ah, sure. Note that Tahoe doesn't deduplicate, so somebody could always regenerate a new readcap by reuploading.
<simpson> That's why you gotta be careful. Data once exfiltrated is forever exfiltrated.
<sheenobu> yes
<sheenobu> that's an issue with 'the scene' in general. A live show on day 1 ends up on xvideos on day 2
<sheenobu> I only really see it happen to a camgirl I hate so I don't report it LOL
<sphalerite> Is that really specific to 'the scene' rather than being a natural consequence of how digital information works?
yegods has quit [(Remote host closed the connection)]
<sphalerite> I mean, TPB
<sheenobu> TPB?
<sphalerite> the pirate bay
<sheenobu> Oh, right
yegods has joined #nixos
<sphalerite> movie industry
<sphalerite> MPAA and RIAA and other related unpleasant organisations fighting the inevitable
<sphalerite> MoreTea: does ZFS help at all with the issue of running out of space?
<sheenobu> sphalerite, it's not specific to any 'scene' but I think the economics works a little different live streamers vs big movie production
<sphalerite> I mean, I know it does all kinds of fancy stuff, but it does so much fancy stuff that I don't even know what it does and doesn't do and what may be helpful for my space problems
<sphalerite> sheenobu: ¯\_(ツ)_/¯
<sheenobu> By the time a movie gets on TBP all the people have gotten paid but live streaming is more similar to gig and tip economies I think
<sheenobu> then again we are all operating under capitalist assumptions of the will and need to work for a living.
<sphalerite> I guess. But recording a live show turns it into just another video really
eacameron has joined #nixos
<sheenobu> that'
<sheenobu> that's true
mkoenig has quit [(Remote host closed the connection)]
<sphalerite> There's something special about watching something live as it happens
<sphalerite> I mean, who watches news recordings from last week? :p
<sheenobu> Hah
<sheenobu> 120G available...
eacameron has quit [(Ping timeout: 252 seconds)]
<sphalerite> I feel like I spend far too much time pruning my nix store
<sphalerite> I guess a simple solution would be to fix my partitioning.