1
0
Fork 0
forked from wry/wry

nix: create package output and editor-friendly devshell

This commit is contained in:
atagen 2026-04-05 22:42:03 +10:00 committed by kossLAN
parent 1edc497dde
commit 23ad546a39
No known key found for this signature in database

View file

@ -47,7 +47,30 @@
] ]
); );
}; };
dev = pkgs.mkShell {
inputsFrom = [ self.devShells.${system}.default ];
nativeBuildInputs = with pkgs; [
rust-analyzer
rustfmt
clippy
];
};
} }
); );
packages = forEachSystem (
system: pkgs: {
default = pkgs.jay.overrideAttrs (_: {
pname = "wry";
version = "unstable-${toString self.lastModified}";
src = ./.;
cargoDeps = pkgs.rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
};
});
}
);
}; };
} }