diff --git a/nix/sculpin/.gitignore b/nix/sculpin/.gitignore new file mode 100644 index 0000000..f23e66d --- /dev/null +++ b/nix/sculpin/.gitignore @@ -0,0 +1,2 @@ +/output_*/ +/result diff --git a/nix/sculpin/flake.lock b/nix/sculpin/flake.lock new file mode 100644 index 0000000..f418c37 --- /dev/null +++ b/nix/sculpin/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1755615617, + "narHash": "sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs+StOp19xNsbqdOg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "20075955deac2583bb12f07151c2df830ef346b4", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/nix/sculpin/flake.nix b/nix/sculpin/flake.nix new file mode 100644 index 0000000..e464c63 --- /dev/null +++ b/nix/sculpin/flake.nix @@ -0,0 +1,24 @@ +{ + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + + outputs = inputs: + let + system = "x86_64-linux"; + pkgs = import inputs.nixpkgs { inherit system; }; + in + { + packages.${system}.default = pkgs.php.buildComposerProject2 { + pname = "sculpin"; + version = "3.3.0-dev"; + + src = pkgs.fetchFromGitHub { + owner = "sculpin"; + repo = "sculpin"; + rev = "03af6498c32663e3d307ebfe346bb8d48feddec5"; + hash = "sha256-K3wyXRiOIlkfy8Kx8pvIzne+N2XNTxZYyDlunfpQsL8="; + }; + + vendorHash = "sha256-b5+Jj8YUy5QzZ/VG0YN58vkknFLYwn97pfrvUGmA+Dc="; + }; + }; +} diff --git a/nix/sculpin/notes.txt b/nix/sculpin/notes.txt new file mode 100644 index 0000000..dc26f75 --- /dev/null +++ b/nix/sculpin/notes.txt @@ -0,0 +1,3 @@ +nix build . + +./result/bin/sculpin generate diff --git a/nix/sculpin/source/index.md b/nix/sculpin/source/index.md new file mode 100644 index 0000000..2b697fe --- /dev/null +++ b/nix/sculpin/source/index.md @@ -0,0 +1,4 @@ +--- +--- + +Hello, World!