feat: add a nix flake

nix flake init --template github:nixos/templates#rust
This commit is contained in:
John Rinehart
2022-06-14 22:47:06 +01:00
committed by Lucas
parent 4d04942a5e
commit 0e5d25b019
6 changed files with 129 additions and 0 deletions

13
.github/workflows/build_nix.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
name: "Build legacy Nix package on Ubuntu"
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12
- name: Building package
run: nix-build . -A defaultPackage.x86_64-linux