This commit is contained in:
Fabian Montero 2025-08-26 00:34:31 -06:00
parent 8df0b79311
commit 02529ca146
Signed by: 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": {
"inputs": {
"flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs"
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1737639979,
"narHash": "sha256-GP4bOkJMWSp55OpkBmP4VP1S2MUxmXF36fBX6/qxyOw=",
"ref": "master",
"rev": "a07048bb01ee5fb12f683366315fd3fde4f15412",
"revCount": 24,
"type": "git",
"url": "https://git.posixlycorrect.com/fabian/homepage.git"
"path": "./homepage",
"type": "path"
},
"original": {
"ref": "master",
"type": "git",
"url": "https://git.posixlycorrect.com/fabian/homepage.git"
}
"path": "./homepage",
"type": "path"
},
"parent": []
},
"impermanence": {
"locked": {
@ -311,7 +308,7 @@
"nixGL": {
"inputs": {
"flake-utils": "flake-utils_4",
"nixpkgs": "nixpkgs_2"
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1752054764,
@ -329,15 +326,17 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1719426051,
"narHash": "sha256-yJL9VYQhaRM7xs0M867ZFxwaONB9T2Q4LnGo1WovuR4=",
"path": "/nix/store/f0ddmw6s86y567yg06h5019z72szbzch-source",
"rev": "89c49874fb15f4124bf71ca5f42a04f2ee5825fd",
"type": "path"
"lastModified": 1746378225,
"narHash": "sha256-OeRSuL8PUjIfL3Q0fTbNJD/fmv1R+K2JAOqWJd3Oceg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "93e8cdce7afc64297cfec447c311470788131cd9",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
"owner": "nixos",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
@ -356,21 +355,6 @@
}
},
"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": {
"lastModified": 1754563854,
"narHash": "sha256-YzNTExe3kMY9lYs23mZR7jsVHe5TWnpwNrsPOpFs/b8=",
@ -386,7 +370,7 @@
"type": "github"
}
},
"nixpkgs_4": {
"nixpkgs_3": {
"locked": {
"lastModified": 1754498491,
"narHash": "sha256-erbiH2agUTD0Z30xcVSFcDHzkRvkRXOQ3lb887bcVrs=",
@ -405,7 +389,7 @@
"nur": {
"inputs": {
"flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_4"
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1754684884,
@ -481,7 +465,7 @@
"impermanence": "impermanence",
"mediawikiSkinCitizen": "mediawikiSkinCitizen",
"nixGL": "nixGL",
"nixpkgs": "nixpkgs_3",
"nixpkgs": "nixpkgs_2",
"nur": "nur",
"trivionomicon": "trivionomicon",
"unstable": "unstable",

View file

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

View file

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