Created
June 16, 2020 19:38
-
-
Save ingenieroariel/2e42ec6f92188b1dad4ffd8efde8ddd4 to your computer and use it in GitHub Desktop.
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
| let | |
| # use -I nixpkgs=channel:nixos-20.03 when invoking this. | |
| pkgs = import <nixpkgs> {}; | |
| fix = pkgs.writeShellScriptBin "fix" '' | |
| nix --experimental-features 'nix-command flakes' $@ | |
| ''; | |
| in pkgs.stdenv.mkDerivation rec { | |
| name = "database"; | |
| buildInputs = [ | |
| pkgs.nixFlakes | |
| fix | |
| ]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment