From f0aa256785240c9f28fd7ffdf91a4473b388738f Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 18 Feb 2026 20:53:02 +0300 Subject: [PATCH] nix: remove unused package for now Signed-off-by: NotAShelf Change-Id: Ic24d8689844743de534913993a45b3236a6a6964 --- flake.nix | 3 --- nix/package.nix | 29 ----------------------------- 2 files changed, 32 deletions(-) delete mode 100644 nix/package.nix diff --git a/flake.nix b/flake.nix index 0f9bf25..74e6224 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,4 @@ { - description = "Rust Project Template"; inputs.nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable"; outputs = { @@ -17,7 +16,5 @@ devShells = forEachSystem (system: { default = pkgsForEach.${system}.callPackage ./nix/shell.nix {}; }); - - hydraJobs = self.packages; }; } diff --git a/nix/package.nix b/nix/package.nix deleted file mode 100644 index 0966fb5..0000000 --- a/nix/package.nix +++ /dev/null @@ -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]; - }; -})