<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)]
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?
<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 )
<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
<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>
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>
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
<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)?
<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!
<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)
<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";
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
<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.
<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>
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
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
<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>
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
<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.
<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 ?
<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