Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Copilot Setup Steps

on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml

jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v19
- name: Verify Nix
run: nix --version
18 changes: 9 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,28 @@
pkgs = import nixpkgs { inherit system; };
sources = {
"x86_64-linux" = {
url = "https://github.com/can1357/oh-my-pi/releases/download/v15.3.2/omp-linux-x64";
sha256 = "sha256-xhApp+07G4Cy5fe//A8Hp1GiSOWxV07RuWLH9acx8Hw=";
url = "https://github.com/can1357/oh-my-pi/releases/download/v15.5.12/omp-linux-x64";
sha256 = "sha256-feKqv68rm7G8TQCngBUYUbqZgkXJnsS2AcRRGsHqsr0=";
};
"aarch64-linux" = {
url = "https://github.com/can1357/oh-my-pi/releases/download/v15.3.2/omp-linux-arm64";
sha256 = "sha256-lOuk67VqzLG0kSoi6tAIslbFtHgFNyhRgV3x1bEoh3E=";
url = "https://github.com/can1357/oh-my-pi/releases/download/v15.5.12/omp-linux-arm64";
sha256 = "sha256-a+i0EWKu9bEm7ogKsLeoGS4YCdTVMVV/ybD3gCHR5ok=";
};
"x86_64-darwin" = {
url = "https://github.com/can1357/oh-my-pi/releases/download/v15.3.2/omp-darwin-x64";
sha256 = "sha256-UBEdtlgKkzZ/aan+Or6STVryY8itATsVzzEd7eA1e0A=";
url = "https://github.com/can1357/oh-my-pi/releases/download/v15.5.12/omp-darwin-x64";
sha256 = "sha256-7BAlLx+mjnVE2VxW04S/Oy5ckZZLsh8Q4RxI0oEIQ0E=";
};
"aarch64-darwin" = {
url = "https://github.com/can1357/oh-my-pi/releases/download/v15.3.2/omp-darwin-arm64";
sha256 = "sha256-1SdwKay64jhWm/9GVQlVD1qmx4LF+J+WT/Bkr3Wmylo=";
url = "https://github.com/can1357/oh-my-pi/releases/download/v15.5.12/omp-darwin-arm64";
sha256 = "sha256-BZHsn+Wp0qVnVShean/1T+xGsVXWdZsFpPLYtFLq+zw=";
};
};
srcInfo = sources.${system} or (throw "Unsupported system: ${system}");
in
{
default = pkgs.stdenv.mkDerivation {
pname = "oh-my-pi";
version = "15.3.2";
version = "15.5.12";

src = pkgs.fetchurl {
inherit (srcInfo) url sha256;
Expand Down
Loading