arrow image package derivation

This commit is contained in:
Noah Masur 2024-04-14 08:28:39 -04:00
parent 402d168304
commit 358206f6fb
No known key found for this signature in database
3 changed files with 21 additions and 20 deletions

View File

@ -65,7 +65,7 @@ jobs:
# Build the image # Build the image
- name: Build Image - name: Build Image
if: inputs.rebuild && inputs.action != 'destroy' if: inputs.rebuild && inputs.action != 'destroy'
run: nix build .#image.arrow run: nix build .#arrow
- name: Upload Image to S3 - name: Upload Image to S3
if: inputs.rebuild && inputs.action != 'destroy' if: inputs.rebuild && inputs.action != 'destroy'

View File

@ -341,13 +341,11 @@
in in
{ {
x86_64-linux.staff = staff "x86_64-linux"; x86_64-linux.staff = staff "x86_64-linux";
x86_64-linux.image = { x86_64-linux.arrow = inputs.nixos-generators.nixosGenerate {
arrow = inputs.nixos-generators.nixosGenerate {
system = "x86_64-linux"; system = "x86_64-linux";
format = "iso"; format = "iso";
modules = import ./hosts/arrow/modules.nix { inherit inputs globals overlays; }; modules = import ./hosts/arrow/modules.nix { inherit inputs globals overlays; };
}; };
};
# Package Neovim config into standalone package # Package Neovim config into standalone package
x86_64-linux.neovim = neovim "x86_64-linux"; x86_64-linux.neovim = neovim "x86_64-linux";

View File

@ -3,8 +3,11 @@ inputs: _final: prev: {
# Based on: # Based on:
# https://git.sr.ht/~rycee/nur-expressions/tree/master/item/pkgs/firefox-addons/default.nix#L34 # https://git.sr.ht/~rycee/nur-expressions/tree/master/item/pkgs/firefox-addons/default.nix#L34
bypass-paywalls-clean = let addonId = "magnolia@12.34"; bypass-paywalls-clean =
in prev.stdenv.mkDerivation rec { let
addonId = "magnolia@12.34";
in
prev.stdenv.mkDerivation rec {
pname = "bypass-paywalls-clean"; pname = "bypass-paywalls-clean";
version = "3.4.9.0"; version = "3.4.9.0";
src = inputs.bypass-paywalls-clean + "/bypass_paywalls_clean-3.6.3.0.xpi"; src = inputs.bypass-paywalls-clean + "/bypass_paywalls_clean-3.6.3.0.xpi";