File tree 3 files changed +20
-1
lines changed
3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
watch_file flake.nix
6
6
watch_file flake.lock
7
- if ! use flake . --no-pure-eval
7
+ if ! use flake . --no-pure-eval --accept-flake-config
8
8
then
9
9
echo " devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
10
10
fi
Original file line number Diff line number Diff line change
1
+ # This workflow tests the Nix build of pulse. We run it only for PRs (not
2
+ # on every push) and we use Github hosted runners.
3
+
4
+ name : Nix Build
5
+
6
+ on :
7
+ pull_request :
8
+
9
+ jobs :
10
+ nix-build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - uses : DeterminateSystems/nix-installer-action@main
15
+ - uses : DeterminateSystems/magic-nix-cache-action@main
16
+ - name : Build
17
+ run : nix build -L
Original file line number Diff line number Diff line change 133
133
} ;
134
134
135
135
packages = {
136
+ default = config . packages . pulse ;
137
+
136
138
devenv-up = self . devShells . ${ system } . default . config . procfileScript ;
137
139
devenv-test = self . devShells . ${ system } . default . config . test ;
138
140
You can’t perform that action at this time.
0 commit comments