Create a sculpin dev shell

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-09-23 22:03:13 +01:00
parent ef6faa57ea
commit a98d4ff909
5 changed files with 13 additions and 45 deletions

1
nix/sculpin/.envrc Normal file
View file

@ -0,0 +1 @@
use flake ../..#sculpin

27
nix/sculpin/flake.lock generated
View file

@ -1,27 +0,0 @@
{
"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
}

View file

@ -1,17 +0,0 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs =
inputs:
let
system = "x86_64-linux";
pkgs = import inputs.nixpkgs { inherit system; };
inherit (pkgs) fetchFromGitHub php;
in
{
packages.${system}.default = (import ./package.nix {
inherit fetchFromGitHub php;
});
};
}

View file

@ -1,15 +0,0 @@
{ fetchFromGitHub, php }:
php.buildComposerProject2 {
pname = "sculpin";
version = "3.3.0-dev";
src = fetchFromGitHub {
owner = "sculpin";
repo = "sculpin";
rev = "03af6498c32663e3d307ebfe346bb8d48feddec5";
hash = "sha256-K3wyXRiOIlkfy8Kx8pvIzne+N2XNTxZYyDlunfpQsL8=";
};
vendorHash = "sha256-b5+Jj8YUy5QzZ/VG0YN58vkknFLYwn97pfrvUGmA+Dc=";
}