Updated website builder and formatting workflow
This commit is contained in:
@@ -6,8 +6,6 @@ on:
|
||||
branches: [main, release**]
|
||||
pull_request:
|
||||
branches: [main, release**]
|
||||
# Don't run on draft PR's, see: https://github.com/orgs/community/discussions/25722#discussioncomment-3248917
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
# Allows us to run the workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
Generated
+9
-9
@@ -2,11 +2,11 @@
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1736657626,
|
||||
"narHash": "sha256-FWlPMUzp0lkQBdhKlPqtQdqmp+/C+1MBiEytaYfrCTY=",
|
||||
"lastModified": 1741402956,
|
||||
"narHash": "sha256-y2hByvBM03s9T2fpeLjW6iprbxnhV9mJMmSwCHc41ZQ=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2f9e2f85cb14a46410a1399aa9ea7ecf433e422e",
|
||||
"rev": "ed0b1881565c1ffef490c10d663d4f542031dad3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -42,11 +42,11 @@
|
||||
},
|
||||
"vpnconfinement": {
|
||||
"locked": {
|
||||
"lastModified": 1731209328,
|
||||
"narHash": "sha256-b3jggBHZh20jUfBxoaIvew23czsw82zBc0aKxtkF3g8=",
|
||||
"lastModified": 1740921534,
|
||||
"narHash": "sha256-orXe3m04DLTW3I19VVanClzpqeq7adnDTqKAD7aPbA8=",
|
||||
"owner": "Maroka-chan",
|
||||
"repo": "VPN-Confinement",
|
||||
"rev": "74e6fd47804b5ca69187200efbb14cf1ecb9ea07",
|
||||
"rev": "5eb7dc3e901f4dbb085eb37f5785473a9ae78bc4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -62,11 +62,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1737502356,
|
||||
"narHash": "sha256-IF8rpMs63pPu+EvLRQ1mfyc1EZHP7BNeK3dN048tf1U=",
|
||||
"lastModified": 1741594814,
|
||||
"narHash": "sha256-YPAIywsWZVhQuy/cPJLi3PiWgoWDrqvQCBytXeSQYCk=",
|
||||
"owner": "rasmus-kirk",
|
||||
"repo": "website-builder",
|
||||
"rev": "d9fc8c15f297fa7a588b3ca251ef77e1f0c6ebb5",
|
||||
"rev": "e0239195b33103a4923011d8e96ef39a3397631b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
website = website-builder.lib {
|
||||
pkgs = pkgs;
|
||||
src = "${self}";
|
||||
timestamp = self.lastModified;
|
||||
headerTitle = "Nixarr";
|
||||
standalonePages = [
|
||||
{
|
||||
@@ -99,6 +100,31 @@
|
||||
in {
|
||||
default = website.package;
|
||||
debug = website.loop;
|
||||
testPkg = pkgs.stdenv.mkDerivation {
|
||||
name = "test-pkg";
|
||||
src = ./.;
|
||||
buildInputs = [(
|
||||
pkgs.writeShellApplication {
|
||||
name = "test-pkg-builder";
|
||||
|
||||
runtimeInputs = with pkgs; [
|
||||
pandoc
|
||||
coreutils
|
||||
findutils
|
||||
gnused
|
||||
rsync
|
||||
git
|
||||
];
|
||||
|
||||
text = ''
|
||||
echo "${self.lastModified}"
|
||||
'';
|
||||
}
|
||||
)];
|
||||
phases = ["unpackPhase" "buildPhase"];
|
||||
buildPhase = "test-pkg-builder";
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
formatter = forAllSystems ({pkgs}: pkgs.alejandra);
|
||||
|
||||
Reference in New Issue
Block a user