Last active
June 19, 2022 17:47
-
-
Save r17x/e377546583de268213fa687c7bc9a6da to your computer and use it in GitHub Desktop.
per project flakes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use flake |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
description = "description"; | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs"; | |
utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { self, nixpkgs, utils, ... }: | |
utils.lib.eachDefaultSystem (system: | |
let | |
inherit (lib) attrValues; | |
pkgs = nixpkgs.legacyPackages.${system}; | |
lib = nixpkgs.lib; | |
in | |
rec { | |
devShell = with pkgs; mkShell { | |
buildInputs = [ | |
nodejs-14_x | |
nodePackages.yarn | |
postgresql | |
]; | |
}; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment