static site generator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

nixify repo

pyu e7d1ead3 802d4d60

+107 -1
+2
.envrc
··· 1 + use flake 2 + watch_file default.nix
+3 -1
.gitignore
··· 1 - /target 1 + /target 2 + /.direnv 3 + /result
+8
default.nix
··· 1 + {rustPlatform}: 2 + rustPlatform.buildRustPackage { 3 + pname = "pagegen"; 4 + version = "0.1.0"; 5 + src = ./.; 6 + 7 + cargoLock.lockFile = ./Cargo.lock; 8 + }
+48
flake.lock
··· 1 + { 2 + "nodes": { 3 + "flake-parts": { 4 + "inputs": { 5 + "nixpkgs-lib": [ 6 + "nixpkgs" 7 + ] 8 + }, 9 + "locked": { 10 + "lastModified": 1772408722, 11 + "narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=", 12 + "owner": "hercules-ci", 13 + "repo": "flake-parts", 14 + "rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3", 15 + "type": "github" 16 + }, 17 + "original": { 18 + "owner": "hercules-ci", 19 + "repo": "flake-parts", 20 + "type": "github" 21 + } 22 + }, 23 + "nixpkgs": { 24 + "locked": { 25 + "lastModified": 1773628058, 26 + "narHash": "sha256-hpXH0z3K9xv0fHaje136KY872VT2T5uwxtezlAskQgY=", 27 + "owner": "nixos", 28 + "repo": "nixpkgs", 29 + "rev": "f8573b9c935cfaa162dd62cc9e75ae2db86f85df", 30 + "type": "github" 31 + }, 32 + "original": { 33 + "owner": "nixos", 34 + "ref": "nixpkgs-unstable", 35 + "repo": "nixpkgs", 36 + "type": "github" 37 + } 38 + }, 39 + "root": { 40 + "inputs": { 41 + "flake-parts": "flake-parts", 42 + "nixpkgs": "nixpkgs" 43 + } 44 + } 45 + }, 46 + "root": "root", 47 + "version": 7 48 + }
+46
flake.nix
··· 1 + { 2 + description = "rather empty flake"; 3 + 4 + inputs = { 5 + nixpkgs.url = "github:nixos/nixpkgs?ref=nixpkgs-unstable"; 6 + flake-parts = { 7 + url = "github:hercules-ci/flake-parts"; 8 + inputs.nixpkgs-lib.follows = "nixpkgs"; 9 + }; 10 + }; 11 + 12 + outputs = { 13 + self, 14 + flake-parts, 15 + ... 16 + } @ inputs: 17 + flake-parts.lib.mkFlake {inherit inputs;} { 18 + imports = []; 19 + 20 + systems = [ 21 + "x86_64-linux" 22 + ]; 23 + 24 + perSystem = { 25 + pkgs, 26 + system, 27 + ... 28 + }: { 29 + formatter = pkgs.alejandra; 30 + 31 + packages = rec { 32 + pagegen = pkgs.callPackage ./default.nix {}; 33 + default = pagegen; 34 + }; 35 + 36 + devShells.default = pkgs.mkShell { 37 + inputsFrom = [ 38 + (self.packages.${system}.default) 39 + ]; 40 + nativeBuildInputs = [ 41 + pkgs.rustup 42 + ]; 43 + }; 44 + }; 45 + }; 46 + }