This commit is contained in:
Robin Appelman 2026-05-31 14:16:18 +02:00
commit d33a09f8e5
4 changed files with 23 additions and 23 deletions

34
flake.lock generated
View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"crane": { "crane": {
"locked": { "locked": {
"lastModified": 1748970125, "lastModified": 1774313767,
"narHash": "sha256-UDyigbDGv8fvs9aS95yzFfOKkEjx1LO3PL3DsKopohA=", "narHash": "sha256-hy0XTQND6avzGEUFrJtYBBpFa/POiiaGBr2vpU6Y9tY=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "323b5746d89e04b22554b061522dfce9e4c49b18", "rev": "3d9df76e29656c679c744968b17fbaf28f0e923d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,11 +22,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1750683087, "lastModified": 1779722240,
"narHash": "sha256-CkmobghX9K9soC4DoorFo/vlWXxpf8xuZyoCsOnWzqM=", "narHash": "sha256-cX1d9V5JHTytsSdH8RrgyU4fFdm4oooRuKBcJuiyI4U=",
"owner": "nix-community", "owner": "nix-community",
"repo": "flakelight", "repo": "flakelight",
"rev": "aa93e0e1ecdccc70c7a185f60c562effbfe3c8d9", "rev": "6908ac68dd682d1cb22fdb9391b890798f083a48",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -44,11 +44,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1751058017, "lastModified": 1776692281,
"narHash": "sha256-Pa6Nnkp9sW7ufONQE9jvIDb1rUQUjVsAVZRGU9R3xp0=", "narHash": "sha256-DCCSbpTUDqRiHsTS/sIgCTwa1r4gsJlWSFE6difdWxk=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "8907224f8770afd89894b4c927d86c9c249d5593", "rev": "d1d0e0bb5b0acebed06ccced9cc27f82aafab058",
"revCount": 54, "revCount": 71,
"type": "git", "type": "git",
"url": "https://codeberg.org/icewind/mill-scale.git" "url": "https://codeberg.org/icewind/mill-scale.git"
}, },
@ -59,16 +59,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1750838302, "lastModified": 1780051219,
"narHash": "sha256-aVkL3/yu50oQzi2YuKo0ceiCypVZpZXYd2P2p1FMJM4=", "narHash": "sha256-WnxzG4x47uCgjz+uD+vOzbF+Qid+hKyYdJWbduA9w7g=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7284e2decc982b81a296ab35aa46e804baaa1cfe", "rev": "e8e446a361172fe838243958325845d0b845c5e5",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "id": "nixpkgs",
"ref": "nixos-25.05", "ref": "nixos-26.05",
"type": "indirect" "type": "indirect"
} }
}, },
@ -88,11 +88,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1750214276, "lastModified": 1774535687,
"narHash": "sha256-1kniuhH70q4TAC/xIvjFYH46aHiLrbIlcr6fdrRwO1A=", "narHash": "sha256-dpKS/8+uB0EoI4mCrpio+xs8Xxry6ZhLLwV8VIbbfrs=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "f9b2b2b1327ff6beab4662b8ea41689e0a57b8d4", "rev": "75900435aa883f84b038316864b3f60956681523",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,6 +1,6 @@
{ {
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-25.05"; nixpkgs.url = "nixpkgs/nixos-26.05";
flakelight = { flakelight = {
url = "github:nix-community/flakelight"; url = "github:nix-community/flakelight";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -1,6 +1,6 @@
{ {
stdenv, stdenv,
nodejs_20, nodejs,
demo-inspector-node-modules, demo-inspector-node-modules,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
src = ../www; src = ../www;
nativeBuildInputs = [nodejs_20]; nativeBuildInputs = [nodejs];
buildPhase = '' buildPhase = ''
cp -r ${demo-inspector-node-modules}/node_modules ./node_modules cp -r ${demo-inspector-node-modules}/node_modules ./node_modules
npm run build npm run build

View file

@ -1,6 +1,6 @@
{ {
rustPlatform, rustPlatform,
nodejs_20, nodejs,
pkg-config, pkg-config,
openssl, openssl,
fetchCrate, fetchCrate,
@ -24,7 +24,7 @@
buildInputs = [openssl]; buildInputs = [openssl];
checkInputs = [nodejs_20]; checkInputs = [nodejs];
dontCargoCheck = true; dontCargoCheck = true;
}; };
@ -32,7 +32,7 @@
targets = ["wasm32-unknown-unknown"]; targets = ["wasm32-unknown-unknown"];
}; };
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage {
name = "demo-inspector-wasm"; name = "demo-inspector-wasm";
version = "0.1.0"; version = "0.1.0";