Compare commits

...

3 commits

Author SHA1 Message Date
Bruno BELANYI 0757daf786 ci: fix path to build output 2021-08-08 20:05:11 +02:00
Bruno BELANYI ef68f8bd73 ci: add check step 2021-08-08 20:04:13 +02:00
Bruno BELANYI 008d69b4cc nix: use eachDefaultSystem
Due to the pre-commit check not having every system available...
2021-08-08 20:03:44 +02:00
2 changed files with 6 additions and 3 deletions

View file

@ -8,12 +8,15 @@ steps:
commands:
- nix develop -c make
- name: check
commands:
- nix flake check
- name: deploy
commands:
- nix run github:ambroisie/nix-config#drone-scp
environment:
SCP_SOURCE: /drone/src/*.pdf
SCP_STRIP_COMPONENTS: 2 # Make sure the tarball doesn't contain leading path
SCP_SOURCE: *.pdf
SCP_RM: true # Make sure only the newly generated files are left
SCP_HOST:
from_secret: ssh_host

View file

@ -7,7 +7,7 @@
};
outputs = { self, nixpkgs, futils } @ inputs:
futils.lib.eachSystem futils.lib.allSystems (system:
futils.lib.eachDefaultSystem (system:
let
inherit (nixpkgs) lib;
pkgs = nixpkgs.legacyPackages.${system};