aux-search/default.nix

26 lines
373 B
Nix
Raw Normal View History

2020-03-28 04:09:01 +00:00
{ 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
'';
}