nix: remove unused package for now
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ic24d8689844743de534913993a45b3236a6a6964
This commit is contained in:
parent
033e253259
commit
f0aa256785
2 changed files with 0 additions and 32 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
description = "Rust Project Template";
|
|
||||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|
@ -17,7 +16,5 @@
|
||||||
devShells = forEachSystem (system: {
|
devShells = forEachSystem (system: {
|
||||||
default = pkgsForEach.${system}.callPackage ./nix/shell.nix {};
|
default = pkgsForEach.${system}.callPackage ./nix/shell.nix {};
|
||||||
});
|
});
|
||||||
|
|
||||||
hydraJobs = self.packages;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
rustPlatform,
|
|
||||||
}:
|
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
|
||||||
pname = "sample-rust";
|
|
||||||
version = "0.1.0";
|
|
||||||
|
|
||||||
src = let
|
|
||||||
fs = lib.fileset;
|
|
||||||
s = ../.;
|
|
||||||
in
|
|
||||||
fs.toSource {
|
|
||||||
root = s;
|
|
||||||
fileset = fs.unions [
|
|
||||||
(fs.fileFilter (file: builtins.any file.hasExt ["rs"]) (s + /src))
|
|
||||||
(s + /Cargo.lock)
|
|
||||||
(s + /Cargo.toml)
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
cargoLock.lockFile = "${finalAttrs.src}/Cargo.lock";
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Sample Rust project";
|
|
||||||
maintainers = with lib.maintainers; [NotAShelf];
|
|
||||||
};
|
|
||||||
})
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue