Compare commits
37
Commits
7d0154e227
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49a7431945 | ||
|
|
99fccdc256
|
||
|
|
47f9558533
|
||
|
|
ac949bcb77
|
||
|
|
1500f50bd5 | ||
|
|
a4d6749411 | ||
|
|
c59dc1252a
|
||
|
|
e1620950b6
|
||
|
|
479ef575d8 | ||
|
|
21037dae06 | ||
|
|
4f5ecae56b | ||
|
|
ff8dcd1587
|
||
|
|
a65b09f6cb
|
||
|
|
887845a8f7
|
||
|
|
1b5df8dea8 | ||
|
|
2fc67cffe3 | ||
|
|
c16695f5f4
|
||
|
|
2f16b8c56a | ||
|
|
ecd0ec0c95
|
||
|
|
91c5fd7944
|
||
|
|
7dad6a62f0
|
||
|
|
c736d31570 | ||
|
|
563be1867c | ||
|
|
9b1238eb39
|
||
|
|
b7c6087115
|
||
|
|
52e8bf19e0 | ||
|
|
af2ded56a4
|
||
|
|
aa4d5e60bb
|
||
|
|
d9ad2edcb6 | ||
|
|
af5b631490
|
||
|
|
cafc818f5d | ||
|
|
fab444b00e
|
||
|
|
b7c830d887
|
||
|
|
760ff1b1a4
|
||
|
|
cb05f0550b
|
||
|
|
d53fdf0d45
|
||
|
|
d76f1d6453
|
@@ -4,6 +4,11 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
workflow_run:
|
||||||
|
workflows:
|
||||||
|
- Update flake lock
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -62,12 +67,20 @@ jobs:
|
|||||||
|
|
||||||
system="$(nix eval --impure --raw --expr builtins.currentSystem)"
|
system="$(nix eval --impure --raw --expr builtins.currentSystem)"
|
||||||
|
|
||||||
NIXPKGS_ALLOW_UNFREE=1 nix build --impure --accept-flake-config --no-link --print-out-paths -L \
|
NIXPKGS_ALLOW_UNFREE=1 nix build --impure --sandbox --no-sandbox-fallback --accept-flake-config --no-link --print-out-paths -L \
|
||||||
|
".#packages.${system}.atuinLatest" \
|
||||||
|
".#packages.${system}.cliampLatest" \
|
||||||
|
".#packages.${system}.lazygitLatest" \
|
||||||
|
".#packages.${system}.ghDashLatest" \
|
||||||
|
".#packages.${system}.diffNavLatest" \
|
||||||
|
".#packages.${system}.k9sLatest" \
|
||||||
|
".#packages.${system}.sable-web" \
|
||||||
".#packages.${system}.musicpresence" \
|
".#packages.${system}.musicpresence" \
|
||||||
".#packages.${system}.vintage-story" \
|
".#packages.${system}.vintage-story" \
|
||||||
".#packages.${system}.swaytreesave" \
|
".#packages.${system}.swaytreesave" \
|
||||||
".#packages.${system}.archon" \
|
".#packages.${system}.archon" \
|
||||||
".#packages.${system}.ani-cli-rs" \
|
".#packages.${system}.ani-cli-rs" \
|
||||||
|
".#packages.${system}.opengoal" \
|
||||||
| tee built-paths.txt
|
| tee built-paths.txt
|
||||||
|
|
||||||
- name: Push packages to Attic
|
- name: Push packages to Attic
|
||||||
|
|||||||
Generated
+162
-62
@@ -3,15 +3,17 @@
|
|||||||
"caitsith": {
|
"caitsith": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-schemas": "flake-schemas",
|
"flake-schemas": "flake-schemas",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1787710235,
|
"lastModified": 1788133146,
|
||||||
"narHash": "sha256-uWDHHB5Z9m3cXQNjfdWWqp2S/SwosukkJv57ORljCvQ=",
|
"narHash": "sha256-rjxs1D9duSUWf/lnJV6JZXqdpTEbJ1ntX1hZyYHOuK4=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "4afabd4956611ec9213dd8392755dece81688b67",
|
"rev": "427757654f013e316b3e267dd345c3ab780da7b6",
|
||||||
"revCount": 20,
|
"revCount": 22,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://scm.wyattjmiller.com/wymiller/caitsith.git"
|
"url": "https://scm.wyattjmiller.com/wymiller/caitsith.git"
|
||||||
},
|
},
|
||||||
@@ -40,6 +42,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-compat": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1767039857,
|
||||||
|
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-schemas": {
|
"flake-schemas": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761577921,
|
"lastModified": 1761577921,
|
||||||
@@ -68,18 +86,105 @@
|
|||||||
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%2A"
|
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%2A"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-utils": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533236,
|
||||||
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"git-hooks": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": "flake-compat",
|
||||||
|
"gitignore": "gitignore",
|
||||||
|
"nixpkgs": [
|
||||||
|
"go-overlay",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1778507602,
|
||||||
|
"narHash": "sha256-kTwur1wV+01SdqskVMSo6JMEpg71ps3HpbFY2GsflKs=",
|
||||||
|
"owner": "cachix",
|
||||||
|
"repo": "git-hooks.nix",
|
||||||
|
"rev": "61ab0e80d9c7ab14c256b5b453d8b3fb0189ba0a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "cachix",
|
||||||
|
"repo": "git-hooks.nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gitignore": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"go-overlay",
|
||||||
|
"git-hooks",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1709087332,
|
||||||
|
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "gitignore.nix",
|
||||||
|
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "gitignore.nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"go-overlay": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
|
"git-hooks": "git-hooks",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1788301927,
|
||||||
|
"narHash": "sha256-Zmcvt5yW//YLT3HYe3bWN1Sf2txYrnBpa5jLULVokc0=",
|
||||||
|
"owner": "purpleclay",
|
||||||
|
"repo": "go-overlay",
|
||||||
|
"rev": "fe48ae4f56981f9f7c2bf03d4951fb0aa6e2095b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "purpleclay",
|
||||||
|
"repo": "go-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"hildibrand": {
|
"hildibrand": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-schemas": "flake-schemas_2",
|
"flake-schemas": "flake-schemas_2",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
"rust-overlay": "rust-overlay_2"
|
"rust-overlay": "rust-overlay_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1785717646,
|
"lastModified": 1788130254,
|
||||||
"narHash": "sha256-j6MlkwaYOLa3bogK4SbOnVI5eMZ9j2GdExSiKMaELPo=",
|
"narHash": "sha256-LR+73+2a51LOUKVTkEsP/XMVSZXm2P4hlgb7/KxdQ30=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "9588520925513ed0e47711a5798c6e9958143a0a",
|
"rev": "f2049db9c29bf3ab0beff7cf0a990735d5571446",
|
||||||
"revCount": 5,
|
"revCount": 6,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://scm.wyattjmiller.com/wymiller/hildibrand.git"
|
"url": "https://scm.wyattjmiller.com/wymiller/hildibrand.git"
|
||||||
},
|
},
|
||||||
@@ -90,14 +195,16 @@
|
|||||||
},
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1787750582,
|
"lastModified": 1788651960,
|
||||||
"narHash": "sha256-FfIAV44k33i+IjC1+new2KyjyVGUzGtV89VHVP4eK1U=",
|
"narHash": "sha256-v9wJd32eZ2bvhBzVOd7TIjLQd011P7nwOhjKtWlci5I=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "0a364342a66bcecfc8a00d2fc38c6c29eee7bc5e",
|
"rev": "2c0350c759688177331b8f5242311fae8877bdb3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -108,55 +215,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771574726,
|
"lastModified": 1788584326,
|
||||||
"narHash": "sha256-D1PA3xQv/s4W3lnR9yJFSld8UOLr0a/cBWMQMXS+1Qg=",
|
"narHash": "sha256-Fd3OB8J9JhgliQwOKcqx4M672CInxi1I5VnwsaXeSQo=",
|
||||||
"rev": "c217913993d6c6f6805c3b1a3bda5e639adfde6d",
|
|
||||||
"revCount": 908154,
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2511.908154%2Brev-c217913993d6c6f6805c3b1a3bda5e639adfde6d/019c7ebe-d61d-7168-89bc-a2b6e142b1cd/source.tar.gz"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://flakehub.com/f/NixOS/nixpkgs/%2A"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1784280462,
|
|
||||||
"narHash": "sha256-DtoqIqM7VkR6NxAkcLpMwmi02USwWb3JdmNGLyhthc0=",
|
|
||||||
"rev": "293d6abedf0478e681a4dfcfcb35b30fc796a32f",
|
|
||||||
"revCount": 1009740,
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2605.1009740%2Brev-293d6abedf0478e681a4dfcfcb35b30fc796a32f/019f73de-20f7-7ec2-98c8-65726640dbf9/source.tar.gz"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://flakehub.com/f/NixOS/nixpkgs/%2A"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1787209939,
|
|
||||||
"narHash": "sha256-WvvHR4kSQLAbtouMC/ruZ5UpLwlUcY3K4FAllMN+yGk=",
|
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "391b592eb44808b3bd0cb80bb71b63a5a118b8bb",
|
"rev": "6713828a351efa628b025a1adf7f43cbf8597513",
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixpkgs-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_4": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1787640266,
|
|
||||||
"narHash": "sha256-MrkfE5hF5xx4L/0h5NyJ3xQkKVftwSuKSkFSrvlTxGY=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "f4f698677b11021a8f84f452e23ae9ef2427bec3",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -170,9 +233,11 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"caitsith": "caitsith",
|
"caitsith": "caitsith",
|
||||||
"darwin": "darwin",
|
"darwin": "darwin",
|
||||||
|
"go-overlay": "go-overlay",
|
||||||
"hildibrand": "hildibrand",
|
"hildibrand": "hildibrand",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs",
|
||||||
|
"rust-overlay": "rust-overlay_3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
@@ -216,6 +281,41 @@
|
|||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"rust-overlay_3": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1788678114,
|
||||||
|
"narHash": "sha256-pcqbpV4ZI79al6KAlr+WJjaEo/PYfgctRlG43D5BSJM=",
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"rev": "4748ec2f5ed4a881474ed4c98aa71a5308cdac8d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@@ -4,13 +4,25 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
darwin.url = "github:LnL7/nix-darwin";
|
darwin.url = "github:LnL7/nix-darwin";
|
||||||
darwin.inputs.nixpkgs.follows = "nixpkgs";
|
darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
rust-overlay = {
|
||||||
|
url = "github:oxalica/rust-overlay";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
go-overlay = {
|
||||||
|
url = "github:purpleclay/go-overlay";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
hildibrand.url = "git+https://scm.wyattjmiller.com/wymiller/hildibrand.git";
|
hildibrand.url = "git+https://scm.wyattjmiller.com/wymiller/hildibrand.git";
|
||||||
|
hildibrand.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
caitsith.url = "git+https://scm.wyattjmiller.com/wymiller/caitsith.git";
|
caitsith.url = "git+https://scm.wyattjmiller.com/wymiller/caitsith.git";
|
||||||
|
caitsith.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self, nixpkgs, home-manager, darwin, ... }:
|
outputs = inputs@{ self, nixpkgs, home-manager, darwin, rust-overlay, go-overlay, ... }:
|
||||||
let
|
let
|
||||||
supportedSystems = [
|
supportedSystems = [
|
||||||
"x86_64-linux"
|
"x86_64-linux"
|
||||||
@@ -20,7 +32,8 @@
|
|||||||
forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems f;
|
forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems f;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
packages = forAllSystems (system:
|
packages = forAllSystems (
|
||||||
|
system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
@@ -36,18 +49,25 @@
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
devShells = forAllSystems (system:
|
devShells = forAllSystems (
|
||||||
let pkgs = import nixpkgs { inherit system; }; in
|
system:
|
||||||
|
let
|
||||||
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
in
|
||||||
{
|
{
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
overlays.default = import ./overlays;
|
overlays.default = nixpkgs.lib.composeManyExtensions [
|
||||||
|
rust-overlay.overlays.default
|
||||||
|
go-overlay.overlays.default
|
||||||
|
(import ./overlays)
|
||||||
|
];
|
||||||
homeManagerModules = import ./modules/home-manager self;
|
homeManagerModules = import ./modules/home-manager self;
|
||||||
nixosModules.default = import ./modules/nixos;
|
nixosModules.default = import ./modules/nixos;
|
||||||
darwinModules.default = import ./modules/darwin;
|
darwinModules.default = import ./modules/darwin;
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
final: prev:
|
||||||
|
let
|
||||||
|
rustLatest = prev.rust-bin.stable.latest.default;
|
||||||
|
rustPlatform = prev.makeRustPlatform {
|
||||||
|
cargo = rustLatest;
|
||||||
|
rustc = rustLatest;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
atuinLatest = (prev.atuin.override { inherit rustPlatform; }).overrideAttrs (oldAttrs: rec {
|
||||||
|
version = "18.19.0";
|
||||||
|
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "atuinsh";
|
||||||
|
repo = "atuin";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-yAw+ty6FUnFbiRTdAe2QQHzj6uU24fZ/bEIXcHl/thg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||||
|
inherit src;
|
||||||
|
hash = "sha256-jirVe0+N5+UHZWioj8AipUhawMBameqEJJpa8HPTnfw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoBuildFeatures = [
|
||||||
|
"ai"
|
||||||
|
"client"
|
||||||
|
"clipboard"
|
||||||
|
"daemon"
|
||||||
|
"hex"
|
||||||
|
"sync"
|
||||||
|
];
|
||||||
|
cargoCheckFeatures = cargoBuildFeatures;
|
||||||
|
|
||||||
|
preCheck = (oldAttrs.preCheck or "") + ''
|
||||||
|
export HOME="$TMPDIR"
|
||||||
|
export XDG_CONFIG_HOME="$TMPDIR/.config"
|
||||||
|
export XDG_DATA_HOME="$TMPDIR/.local/share"
|
||||||
|
export XDG_STATE_HOME="$TMPDIR/.local/state"
|
||||||
|
mkdir -p "$XDG_CONFIG_HOME" "$XDG_DATA_HOME" "$XDG_STATE_HOME"
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
final: prev: {
|
||||||
|
cliampLatest = prev.cliamp.overrideAttrs (oldAttrs: rec {
|
||||||
|
version = "2.0.1";
|
||||||
|
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "bjarneo";
|
||||||
|
repo = "cliamp";
|
||||||
|
tag = "v${version}";
|
||||||
|
sha256 = "sha256-r7MrrcVt+/f+iPozn9jaczJmpPv431wAoW8LvHKBtB8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-rtwUWbft5XGEbuBCn0OMCn4TS5Ul+UXJNIqNOzXfU+M=";
|
||||||
|
|
||||||
|
buildInputs = with prev; [
|
||||||
|
libogg
|
||||||
|
libvorbis
|
||||||
|
flac
|
||||||
|
mpg123
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
|
alsa-lib
|
||||||
|
];
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
final: prev: {
|
||||||
|
containerLatest = prev.container.overrideAttrs (oldAttrs: rec {
|
||||||
|
version = "1.3.1";
|
||||||
|
|
||||||
|
src = prev.fetchurl {
|
||||||
|
url = "https://github.com/apple/container/releases/download/${version}/container-${version}-installer-signed.pkg";
|
||||||
|
hash = "sha256-p8G515J9MIdfL2x70dDLBsLapspXzp6QpRROiY/fVKg=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
+10
-1
@@ -1 +1,10 @@
|
|||||||
final: prev: { }
|
final: prev:
|
||||||
|
prev.lib.composeManyExtensions [
|
||||||
|
(import ./atuin.nix)
|
||||||
|
(import ./container.nix)
|
||||||
|
(import ./cliamp.nix)
|
||||||
|
(import ./diffnav.nix)
|
||||||
|
(import ./gh-dash.nix)
|
||||||
|
(import ./lazygit.nix)
|
||||||
|
(import ./k9s.nix)
|
||||||
|
] final prev
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
final: prev: let
|
||||||
|
golang_latest = prev.go-bin.latestStable;
|
||||||
|
buildGoModuleLatest = prev.buildGoModule.override {
|
||||||
|
go = golang_latest;
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
diffNavLatest = (prev.diffnav.override {
|
||||||
|
buildGoModule = buildGoModuleLatest;
|
||||||
|
}).overrideAttrs (_: rec {
|
||||||
|
version = "0.12.0";
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "dlvhdr";
|
||||||
|
repo = "diffnav";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-DrEbo9YYg4FCXQXuIkbPxO5Z3ZOPZJYeGoLoP/vT0Y0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-2OzHyBPsylQVXhPlqk2owEhiibFi3H1UENvGGDdzGss";
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
];
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
final: prev: let
|
||||||
|
golang_latest = prev.go-bin.latestStable;
|
||||||
|
buildGoModuleLatest = prev.buildGoModule.override {
|
||||||
|
go = golang_latest;
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
ghDashLatest = (prev.gh-dash.override {
|
||||||
|
buildGoModule = buildGoModuleLatest;
|
||||||
|
}).overrideAttrs (oldAttrs: rec {
|
||||||
|
version = "4.25.2";
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "dlvhdr";
|
||||||
|
repo = "gh-dash";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-3iUBuMvA2Xh7UjTiFNEs3tuZMCnSt/bIhTSEDD92yCU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-Teu+8jiZE2gZ+0ErKsunhotY9W4Hjg6PAeFkFLgESIk=";
|
||||||
|
doCheck = false;
|
||||||
|
checkFlags = [
|
||||||
|
"-skip=TestFullOutput"
|
||||||
|
];
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
"-X github.com/dlvhdr/gh-dash/v4/cmd.Version=${version}"
|
||||||
|
];
|
||||||
|
|
||||||
|
passthru = (oldAttrs.passthru or {}) // {
|
||||||
|
tests = {
|
||||||
|
version = oldAttrs.testers.testVersion { package = final.ghDashLatest; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
final: prev: {
|
||||||
|
k9sLatest = prev.k9s.overrideAttrs (oldAttrs: rec {
|
||||||
|
version = "0.51.0";
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "derailed";
|
||||||
|
repo = "k9s";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-70Rfu1BVd/QnwWXRRpwIeZ2UJNWIGixpdiOHo4v7adA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-PkYDJK2oGl+siCG9p4R8shC0e5BhGFdJsc+ksL9J5zw=";
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-X github.com/derailed/k9s/version.Version=${version}"
|
||||||
|
"-X github.com/derailed/k9s/version.BuildSource=nix"
|
||||||
|
];
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
final: prev: {
|
||||||
|
lazygitLatest = prev.lazygit.overrideAttrs (_: rec {
|
||||||
|
version = "0.65.0";
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "jesseduffield";
|
||||||
|
repo = "lazygit";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-W/Z/BnA5L8tXYrKn3bnekNnx7bEaaJRoHSGAeygcK0E=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = null;
|
||||||
|
subPackages = [ "." ];
|
||||||
|
ldflags = [
|
||||||
|
"-X main.version=${version}"
|
||||||
|
"-X main.buildSource=nix"
|
||||||
|
];
|
||||||
|
});
|
||||||
|
}
|
||||||
+73
-46
@@ -7,54 +7,81 @@
|
|||||||
nodejs_24,
|
nodejs_24,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
}:
|
}:
|
||||||
buildNpmPackage (finalAttrs:
|
buildNpmPackage (
|
||||||
let
|
finalAttrs:
|
||||||
pnpm = pnpm_10.override {
|
let
|
||||||
|
pnpm = pnpm_10.override {
|
||||||
|
nodejs = nodejs_24;
|
||||||
|
};
|
||||||
|
matrixrtcSrc = fetchFromGitHub {
|
||||||
|
owner = "SableClient";
|
||||||
|
repo = "matrix-rtc";
|
||||||
|
rev = "519fe6b863cfac78700f4e2b1748649103bb8a8d";
|
||||||
|
hash = "sha256-n5f7529RdRxY8/a43Xkgrhg4yRz5aNgfoZqWrB7kvak=";
|
||||||
|
};
|
||||||
|
livekitMobileSrc = fetchFromGitHub {
|
||||||
|
owner = "SableClient";
|
||||||
|
repo = "tauri-plugin-livekit-mobile";
|
||||||
|
rev = "c6f0d02ab3da1174535bc1dc8e598a2e6873f977";
|
||||||
|
hash = "sha256-ZPx6Ic+Gkvzg9LXYP9BaQALzOrvLCcQHOms8U3VfnU0=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
pname = "sable-unwrapped";
|
||||||
|
version = "1.21.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "SableClient";
|
||||||
|
repo = "Sable";
|
||||||
|
tag = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-vYoKNflV4vdJpgYVxYCxAQhvqDh1Qf+7qgIFHxriTTU=";
|
||||||
|
};
|
||||||
|
|
||||||
nodejs = nodejs_24;
|
nodejs = nodejs_24;
|
||||||
};
|
|
||||||
in {
|
|
||||||
pname = "sable-unwrapped";
|
|
||||||
version = "1.14.0";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
nativeBuildInputs = [ pnpm ];
|
||||||
owner = "SableClient";
|
npmConfigHook = pnpmConfigHook;
|
||||||
repo = "Sable";
|
|
||||||
tag = "v${finalAttrs.version}";
|
|
||||||
hash = "sha256-zoGKs0pm9m42JrTNAdU33LP139JlVz3RZnkTyY0aiqY=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nodejs = nodejs_24;
|
npmDeps = finalAttrs.pnpmDeps;
|
||||||
|
pnpmDeps = fetchPnpmDeps {
|
||||||
|
inherit (finalAttrs) pname version src;
|
||||||
|
inherit pnpm;
|
||||||
|
fetcherVersion = 3;
|
||||||
|
hash = "sha256-tzIU/5DQ4SpLABKOt6/Z2aD2d6nVt+MJvY7vHHnO4No=";
|
||||||
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pnpm ];
|
npmInstallFlags = [
|
||||||
npmConfigHook = pnpmConfigHook;
|
"--ignore-scripts"
|
||||||
|
|
||||||
npmDeps = finalAttrs.pnpmDeps;
|
|
||||||
pnpmDeps = fetchPnpmDeps {
|
|
||||||
inherit (finalAttrs) pname version src;
|
|
||||||
inherit pnpm;
|
|
||||||
fetcherVersion = 3;
|
|
||||||
hash = "sha256-2GwUz0jsuVKQZyeidM0F4rDzijm9AFcAxN7x/m/b3Is=";
|
|
||||||
};
|
|
||||||
|
|
||||||
npmInstallFlags = [
|
|
||||||
"--ignore-scripts"
|
|
||||||
];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
runHook preInstall
|
|
||||||
|
|
||||||
cp -r dist $out
|
|
||||||
|
|
||||||
runHook postInstall
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "An almost stable Matrix client";
|
|
||||||
homepage = "https://app.sable.moe/";
|
|
||||||
maintainers = with lib.maintainers; [
|
|
||||||
wymillerlinux
|
|
||||||
];
|
];
|
||||||
license = lib.licenses.agpl3Only;
|
|
||||||
platforms = lib.platforms.all;
|
preBuild = ''
|
||||||
};
|
cp -r --no-preserve=mode ${matrixrtcSrc}/. node_modules/@sableclient/matrixrtc/
|
||||||
})
|
pnpm exec tsc -p node_modules/@sableclient/matrixrtc/tsconfig.build.json
|
||||||
|
cp -r --no-preserve=mode ${livekitMobileSrc}/. node_modules/@sableclient/tauri-plugin-livekit-mobile/
|
||||||
|
pnpm exec tsc \
|
||||||
|
-p node_modules/@sableclient/tauri-plugin-livekit-mobile/tsconfig.json \
|
||||||
|
--noEmit false \
|
||||||
|
--declaration \
|
||||||
|
--rootDir node_modules/@sableclient/tauri-plugin-livekit-mobile/guest-js \
|
||||||
|
--outDir node_modules/@sableclient/tauri-plugin-livekit-mobile/dist-js
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
cp -r dist $out
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "An almost stable Matrix client";
|
||||||
|
homepage = "https://app.sable.moe/";
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
|
wymillerlinux
|
||||||
|
];
|
||||||
|
license = lib.licenses.agpl3Only;
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|||||||
+17
-7
@@ -1,19 +1,29 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
hildibrand ? null,
|
hildibrand ? null,
|
||||||
caitsith ? null
|
caitsith ? null,
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
# any overlays we define here
|
||||||
|
atuinLatest = pkgs.atuinLatest;
|
||||||
|
containerLatest = pkgs.containerLatest;
|
||||||
|
cliampLatest = pkgs.cliampLatest;
|
||||||
|
lazygitLatest = pkgs.lazygitLatest;
|
||||||
|
ghDashLatest = pkgs.ghDashLatest;
|
||||||
|
diffNavLatest = pkgs.diffNavLatest;
|
||||||
|
k9sLatest = pkgs.k9sLatest;
|
||||||
|
|
||||||
# any packages that are added to pkgs and are inputs, we inherit them here
|
# any packages that are added to pkgs and are inputs, we inherit them here
|
||||||
inherit hildibrand;
|
inherit hildibrand;
|
||||||
inherit caitsith;
|
inherit caitsith;
|
||||||
|
|
||||||
# any packages that build instructions are in this repo, they go here
|
# any packages that build instructions are in this repo, they go here
|
||||||
# sable-web = pkgs.callPackage ./common/sable.nix {};
|
sable-web = pkgs.callPackage ./common/sable.nix { };
|
||||||
swaytreesave = pkgs.callPackage ./linux/swaytreesave.nix {};
|
swaytreesave = pkgs.callPackage ./linux/swaytreesave.nix { };
|
||||||
musicpresence = pkgs.callPackage ./linux/musicpresence.nix {};
|
musicpresence = pkgs.callPackage ./linux/musicpresence.nix { };
|
||||||
vintage-story = pkgs.callPackage ./linux/vintage-story.nix {};
|
vintage-story = pkgs.callPackage ./linux/vintage-story.nix { };
|
||||||
archon = pkgs.callPackage ./linux/archon.nix {};
|
archon = pkgs.callPackage ./linux/archon.nix { };
|
||||||
yubilock = pkgs.callPackage ./linux/yubilock/default.nix { };
|
yubilock = pkgs.callPackage ./linux/yubilock/default.nix { };
|
||||||
ani-cli-rs = pkgs.callPackage ./linux/ani-cli-rs.nix { };
|
ani-cli-rs = pkgs.callPackage ./linux/ani-cli-rs.nix { };
|
||||||
|
opengoal = pkgs.callPackage ./linux/opengoal.nix { };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ let
|
|||||||
owner = "vorlie";
|
owner = "vorlie";
|
||||||
repo = "ani-cli-rs";
|
repo = "ani-cli-rs";
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
sha256 = "sha256-4JjCe9dCggLtETmH8yWYyn1tkHimPYtTp0BLQML3NKY=";
|
sha256 = "sha256-19U/p583B5d/Kd0O1raYhREz6zYMeudyTH7dh9bi/jU=";
|
||||||
};
|
};
|
||||||
in pkgs.rustPlatform.buildRustPackage {
|
in pkgs.rustPlatform.buildRustPackage {
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
|
|||||||
@@ -0,0 +1,49 @@
|
|||||||
|
{ pkgs }:
|
||||||
|
let
|
||||||
|
pname = "OpenGOAL-Launcher";
|
||||||
|
version = "2.10.4";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://github.com/open-goal/launcher/releases/download/v${version}/${pname}_${version}_amd64.AppImage";
|
||||||
|
hash = "sha256-eikzjdOYNdJM9FM3O/HuCFDzf97Fm1nhbRedDyKZ1/s=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
pkgs.stdenvNoCC.mkDerivation {
|
||||||
|
inherit pname version src;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
dontPatchELF = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
cp "$src" "${pname}.AppImage"
|
||||||
|
chmod +x "${pname}.AppImage"
|
||||||
|
./"${pname}.AppImage" --appimage-extract
|
||||||
|
|
||||||
|
mkdir -p "$out/opt"
|
||||||
|
cp -a AppDir "$out/opt/opengoal-launcher"
|
||||||
|
rm -f "$out/opt/opengoal-launcher/share/icons/hicolor/scalable/apps/byobu.svg"
|
||||||
|
|
||||||
|
makeWrapper "$out/opt/opengoal-launcher/AppRun" "$out/bin/${pname}"
|
||||||
|
install -Dm444 "AppDir/${pname}.desktop" \
|
||||||
|
"$out/share/applications/${pname}.desktop"
|
||||||
|
install -Dm444 "AppDir/${pname}.png" \
|
||||||
|
"$out/share/icons/hicolor/256x256/apps/${pname}.png"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = pkgs.nix-update-script { };
|
||||||
|
|
||||||
|
meta = with pkgs.lib; {
|
||||||
|
description = "Launcher for the OpenGOAL project";
|
||||||
|
homepage = "https://github.com/open-goal/launcher";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||||
|
mainProgram = pname;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user