nix-shell -p yarn yarn2nix nodejs- copied the Nix skeleton files in place (./z/etc/lib/{version,nixpkgs}.nix ./z/etc/overlays/default.nix)
- generated
package.nixusingyarn2nix - add these Nix expressions in the root
# shell.nix
{ pkgs ? import ./z/etc/lib/nixpkgs.nix }:
let
pkg = import ./. {
inherit (pkgs) mkYarnPackage;
};
in pkgs.mkShell {
buildInputs = with pkgs; [
nodejs
yarn
yarn2nix
python
pkg
];
}# default.nix
{ mkYarnPackage }:
mkYarnPackage {
name = "dailykos-frontend";
src = ./.;
packageJson = ./package.json;
yarnLock = ./yarn.lock;
yarnNix = ./package.nix;
}- Edited
Gemfileto add gem to appropriate group bundix -l- You might need to add the group to the
groupsattribute of thebundlerEnv - Profit!