mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-22 15:15: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: ./.github/actions/nix
|
||||
|
||||
- name: Install nix-eval-jobs
|
||||
run: |
|
||||
nix profile install '.#nix-eval-jobs'
|
||||
|
||||
# with:
|
||||
# attic_token: ${{ secrets.ATTIC_TOKEN }}
|
||||
#
|
||||
# need ssh access for `oizys cache --service store`
|
||||
|
||||
# TODO: use this in actions/nix?
|
||||
- name: Setup SSH
|
||||
uses: MrSquaare/ssh-setup-action@v3
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
lib,
|
||||
openssl,
|
||||
buildNimblePackage,
|
||||
|
||||
nix-eval-jobs,
|
||||
makeWrapper,
|
||||
}:
|
||||
|
||||
buildNimblePackage {
|
||||
|
@ -12,19 +9,10 @@ buildNimblePackage {
|
|||
name = "oizys";
|
||||
version = "unstable";
|
||||
src = lib.cleanSource ./.;
|
||||
nativeBuildInputs = [ openssl makeWrapper ];
|
||||
nativeBuildInputs = [ openssl];
|
||||
nimbleDepsHash = "sha256-bthmRlUO6IOYRiwVic0TPOvo0gsfD/49J2GzoIQqlF0=";
|
||||
meta = {
|
||||
description = "nix begat oizys";
|
||||
};
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/oizys \
|
||||
--set PATH ${
|
||||
lib.makeBinPath [
|
||||
nix-eval-jobs
|
||||
]
|
||||
}
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue