aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix22
1 files changed, 0 insertions, 22 deletions
diff --git a/default.nix b/default.nix
deleted file mode 100644
index 41673a6..0000000
--- a/default.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-let
- niv-sources = import ./nix/sources.nix;
- pkgs = import niv-sources.nixpkgs { };
- src = pkgs.nix-gitignore.gitignoreSource [ "!.git" ] ./.;
- projectBuildInputs = with pkgs; [ gitMinimal shellcheck nixfmt terraform ];
-in {
- test = pkgs.stdenv.mkDerivation {
- inherit src;
- name = "vps-test";
- phases = [ "unpackPhase" "buildPhase" ];
- buildInputs = projectBuildInputs;
- buildPhase = ''
- patchShebangs .
- ./tests.sh
- touch $out
- '';
- };
- shell = pkgs.mkShell {
- name = "vps-shell";
- buildInputs = projectBuildInputs;
- };
-}