X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=default.nix;h=bc8ecc99c8250283f53a095c0f460ff9fd95b13f;hp=c2776023bf5627eb12a4cab6bdd2afd1dff180a8;hb=a7f7fdae99f7617fb7fdabe1e65423e02a4982b1;hpb=6f0d92b429069069e6d914f25bb30a549526f9d8 diff --git a/default.nix b/default.nix index c277602..bc8ecc9 100644 --- a/default.nix +++ b/default.nix @@ -252,25 +252,6 @@ let buildInputs = old.buildInputs ++ [ tokyocabinet bzip2 ]; }); - mastodon = stdenv.mkDerivation (fetchedGithub ./fetched/mastodon.json // rec { - buildPhase = '' - export GIT_SSL_CAINFO=${cacert}/etc/ssl/certs/ca-bundle.crt - export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt - - bundle install --deployment --without development test - yarn install --pure-lockfile - ''; - installPhase = '' - cp -a . $out - ''; - propagatedBuildInputs = [ - zlib icu libchardet git bundler yarn - protobuf protobufc libidn libpqxx nodejs - imagemagick ffmpeg libxml2 libxslt pkgconfig - autoconf bison libyaml readline ncurses libffi gdbm - jemalloc which postgresql python3 cacert - ]; - }); # https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks in @@ -311,7 +292,6 @@ in inherit mtr; inherit nixops; stgit = gitAndTools.stgit; - #inherit mastodon; # todo: lx* ?, unrar, unzip, zeromq? #inherit nextcloud-client; #inherit nixos; @@ -330,4 +310,5 @@ in inherit strace; inherit notmuch; stgit = gitAndTools.stgit; + inherit bundix; })