matrix-appservice-slack: nixpkgs-fmt

This commit is contained in:
Christian Kampka 2019-10-08 15:26:19 +02:00
parent 6473d9ffb5
commit 0edddb8e11
No known key found for this signature in database
GPG Key ID: B88E140DB4FE1AA5

View File

@ -1,14 +1,15 @@
{ pkgs, nodejs, stdenv, lib, ...}: { pkgs, nodejs, stdenv, lib, ... }:
let let
packageName = with lib; concatStrings (map (entry: (concatStrings (mapAttrsToList (key: value: "${key}-${value}") entry))) (importJSON ./package.json)) ; packageName = with lib; concatStrings (map (entry: (concatStrings (mapAttrsToList (key: value: "${key}-${value}") entry))) (importJSON ./package.json));
nodePackages = import ./node-composition.nix { nodePackages = import ./node-composition.nix {
inherit pkgs nodejs; inherit pkgs nodejs;
inherit (stdenv.hostPlatform) system; inherit (stdenv.hostPlatform) system;
}; };
in nodePackages."${packageName}".override { in
nodePackages."${packageName}".override {
nativeBuildInputs = [ pkgs.makeWrapper ]; nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = '' postInstall = ''