This commit is contained in:
Fabian Montero 2025-08-26 00:34:31 -06:00
parent 8df0b79311
commit 02529ca146
Signed by untrusted user: fabian
GPG key ID: 1FFAC35E1798174F
3 changed files with 45 additions and 55 deletions

60
flake.lock generated
View file

@ -233,22 +233,19 @@
"homepage": { "homepage": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs" "nixpkgs": [
"nixpkgs"
]
}, },
"locked": { "locked": {
"lastModified": 1737639979, "path": "./homepage",
"narHash": "sha256-GP4bOkJMWSp55OpkBmP4VP1S2MUxmXF36fBX6/qxyOw=", "type": "path"
"ref": "master",
"rev": "a07048bb01ee5fb12f683366315fd3fde4f15412",
"revCount": 24,
"type": "git",
"url": "https://git.posixlycorrect.com/fabian/homepage.git"
}, },
"original": { "original": {
"ref": "master", "path": "./homepage",
"type": "git", "type": "path"
"url": "https://git.posixlycorrect.com/fabian/homepage.git" },
} "parent": []
}, },
"impermanence": { "impermanence": {
"locked": { "locked": {
@ -311,7 +308,7 @@
"nixGL": { "nixGL": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_4", "flake-utils": "flake-utils_4",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1752054764, "lastModified": 1752054764,
@ -329,15 +326,17 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1719426051, "lastModified": 1746378225,
"narHash": "sha256-yJL9VYQhaRM7xs0M867ZFxwaONB9T2Q4LnGo1WovuR4=", "narHash": "sha256-OeRSuL8PUjIfL3Q0fTbNJD/fmv1R+K2JAOqWJd3Oceg=",
"path": "/nix/store/f0ddmw6s86y567yg06h5019z72szbzch-source", "owner": "nixos",
"rev": "89c49874fb15f4124bf71ca5f42a04f2ee5825fd", "repo": "nixpkgs",
"type": "path" "rev": "93e8cdce7afc64297cfec447c311470788131cd9",
"type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "nixos",
"type": "indirect" "repo": "nixpkgs",
"type": "github"
} }
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
@ -356,21 +355,6 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1746378225,
"narHash": "sha256-OeRSuL8PUjIfL3Q0fTbNJD/fmv1R+K2JAOqWJd3Oceg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "93e8cdce7afc64297cfec447c311470788131cd9",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1754563854, "lastModified": 1754563854,
"narHash": "sha256-YzNTExe3kMY9lYs23mZR7jsVHe5TWnpwNrsPOpFs/b8=", "narHash": "sha256-YzNTExe3kMY9lYs23mZR7jsVHe5TWnpwNrsPOpFs/b8=",
@ -386,7 +370,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1754498491, "lastModified": 1754498491,
"narHash": "sha256-erbiH2agUTD0Z30xcVSFcDHzkRvkRXOQ3lb887bcVrs=", "narHash": "sha256-erbiH2agUTD0Z30xcVSFcDHzkRvkRXOQ3lb887bcVrs=",
@ -405,7 +389,7 @@
"nur": { "nur": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1754684884, "lastModified": 1754684884,
@ -481,7 +465,7 @@
"impermanence": "impermanence", "impermanence": "impermanence",
"mediawikiSkinCitizen": "mediawikiSkinCitizen", "mediawikiSkinCitizen": "mediawikiSkinCitizen",
"nixGL": "nixGL", "nixGL": "nixGL",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_2",
"nur": "nur", "nur": "nur",
"trivionomicon": "trivionomicon", "trivionomicon": "trivionomicon",
"unstable": "unstable", "unstable": "unstable",

View file

@ -1,14 +1,17 @@
{ stdenv, zola, lib, ... }: {
stdenv,
zola,
lib,
...
}:
with lib; with lib;
stdenv.mkDerivation {
pname = "posixlycorrect.com";
version = "0.0.1";
stdenv.mkDerivation { src = ./posixlycorrect;
pname = "posixlycorrect.com";
version = "0.0.1";
src = ./posixlycorrect;
buildPhase = ''
${getExe zola} build --output-dir $out
'';
}
buildPhase = ''
${getExe zola} build --output-dir $out
'';
}

View file

@ -3,16 +3,19 @@
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
}; };
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: outputs = {
let self,
pkgs = import nixpkgs { inherit system; }; nixpkgs,
in flake-utils,
{ }:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
in {
formatter = pkgs.alejandra; formatter = pkgs.alejandra;
packages = rec { packages = rec {
default = posixlycorrect; default = posixlycorrect;
posixlycorrect = pkgs.callPackage ./. { }; posixlycorrect = pkgs.callPackage ./. {};
}; };
}); });
} }