fix custom installer ISO workflow

This commit is contained in:
Gabriel Arazas 2022-06-17 12:00:47 +08:00
parent fbda6c94ff
commit 2b6b451c39
3 changed files with 57 additions and 1 deletions

View File

@ -18,7 +18,7 @@ jobs:
run: |
nix run github:nix-community/nixos-generators/296067b9c7a172d294831dec89d86847f30a7cfc -- --flake .#bootstrap --format iso --out-link result
- name: Create release
if: ${{ github.ref == "refs/heads/master" }}
if: github.ref == 'refs/heads/master'
id: create-release
uses: marvinpinto/action-automatic-releases@v1.2.1
with:

36
pkgs/onagre/default.nix Normal file
View File

@ -0,0 +1,36 @@
{ stdenv, lib, rustPlatform, fetchFromGitHub, cmake, pkg-config, freetype, expat, wayland, libX11 }:
rustPlatform.buildRustPackage rec {
pname = "onagre";
version = "1.0.0-alpha.0";
src = fetchFromGitHub {
owner = "oknozor";
repo = "onagre";
rev = version;
sha256 = "sha256-hP+slfCWgsTgR2ZUjAmqx9f7+DBu3MpSLvaiZhqNK1Q=";
};
cargoSha256 = "sha256-IOhAGrAiT2mnScNP7k7XK9CETUr6BjGdQVdEUvTYQT4=";
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
freetype
expat
];
propagatedBuildInputs = [
wayland
libX11
];
meta = with lib; {
homepage = "https://github.com/oknozor/onagre";
description = "General application launcher for X/Wayland";
license = licenses.mit;
};
}

20
pkgs/watc/default.nix Normal file
View File

@ -0,0 +1,20 @@
{ stdenv, lib, fetchhg, buildGoModule }:
buildGoModule rec {
pname = "watc";
version = "0.1.2";
src = fetchhg {
url = "https://humungus.tedunangst.com/r/watc";
rev = "b0dc3d9fcecd";
sha256 = "";
};
vendorSha256 = "";
meta = with lib; {
homepage = "https://humungus.tedunangst.com/r/watc";
description = "Prints a succinct status for a codebase";
license = licenses.publicDomain;
};
}