mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-23 03:45:50 -06:00
don't actually depend on nix-eval-jobs
This commit is contained in:
parent
0ff51ae6c5
commit
9f178c0de0
2 changed files with 6 additions and 13 deletions
5
.github/workflows/update.yml
vendored
5
.github/workflows/update.yml
vendored
|
@ -43,10 +43,15 @@ jobs:
|
||||||
- uses: daylin-bot/actions/setup@main
|
- uses: daylin-bot/actions/setup@main
|
||||||
- uses: ./.github/actions/nix
|
- uses: ./.github/actions/nix
|
||||||
|
|
||||||
|
- name: Install nix-eval-jobs
|
||||||
|
run: |
|
||||||
|
nix profile install '.#nix-eval-jobs'
|
||||||
|
|
||||||
# with:
|
# with:
|
||||||
# attic_token: ${{ secrets.ATTIC_TOKEN }}
|
# attic_token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
#
|
#
|
||||||
# need ssh access for `oizys cache --service store`
|
# need ssh access for `oizys cache --service store`
|
||||||
|
|
||||||
# TODO: use this in actions/nix?
|
# TODO: use this in actions/nix?
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
uses: MrSquaare/ssh-setup-action@v3
|
uses: MrSquaare/ssh-setup-action@v3
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
lib,
|
lib,
|
||||||
openssl,
|
openssl,
|
||||||
buildNimblePackage,
|
buildNimblePackage,
|
||||||
|
|
||||||
nix-eval-jobs,
|
|
||||||
makeWrapper,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildNimblePackage {
|
buildNimblePackage {
|
||||||
|
@ -12,19 +9,10 @@ buildNimblePackage {
|
||||||
name = "oizys";
|
name = "oizys";
|
||||||
version = "unstable";
|
version = "unstable";
|
||||||
src = lib.cleanSource ./.;
|
src = lib.cleanSource ./.;
|
||||||
nativeBuildInputs = [ openssl makeWrapper ];
|
nativeBuildInputs = [ openssl];
|
||||||
nimbleDepsHash = "sha256-bthmRlUO6IOYRiwVic0TPOvo0gsfD/49J2GzoIQqlF0=";
|
nimbleDepsHash = "sha256-bthmRlUO6IOYRiwVic0TPOvo0gsfD/49J2GzoIQqlF0=";
|
||||||
meta = {
|
meta = {
|
||||||
description = "nix begat oizys";
|
description = "nix begat oizys";
|
||||||
};
|
};
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
wrapProgram $out/bin/oizys \
|
|
||||||
--set PATH ${
|
|
||||||
lib.makeBinPath [
|
|
||||||
nix-eval-jobs
|
|
||||||
]
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue