aux-search/default.nix
2020-03-28 05:09:01 +01:00

26 lines
373 B
Nix

{ pkgs ? import <nixpkgs> {}
}:
let
in pkgs.stdenv.mkDerivation {
name = "nixos-search";
src = pkgs.lib.cleanSource ./.;
buildInputs =
(with pkgs; [
nodejs
]) ++
(with pkgs.nodePackages; [
yarn
]) ++
(with pkgs.elmPackages; [
elm
elm-format
]);
shellHook = ''
export PATH=$PWD/node_modules/.bin:$PATH
'';
}