about summary refs log tree commit diff stats
path: root/pkgs/by-name/fu/fupdate/flake.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-14 13:32:15 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-14 13:32:15 +0200
commit5e1362e4f73328ecbace995c2892f01b9a62e0b9 (patch)
tree8e7362893d22ac95e431ec66d2ed9fa6094a5d34 /pkgs/by-name/fu/fupdate/flake.nix
parentpkgs/fupdate: Split into `fupdate-flake` and `fupdate` (diff)
downloadnixos-config-5e1362e4f73328ecbace995c2892f01b9a62e0b9.zip
pkgs/fupdate: Rewrite in rust
Diffstat (limited to 'pkgs/by-name/fu/fupdate/flake.nix')
-rw-r--r--pkgs/by-name/fu/fupdate/flake.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/by-name/fu/fupdate/flake.nix b/pkgs/by-name/fu/fupdate/flake.nix
new file mode 100644
index 00000000..4777c1e5
--- /dev/null
+++ b/pkgs/by-name/fu/fupdate/flake.nix
@@ -0,0 +1,25 @@
+{
+  description = "This is a Nix flake update manager.";
+
+  inputs = {
+    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+  };
+
+  outputs = {nixpkgs, ...}: let
+    system = "x86_64-linux";
+    pkgs = nixpkgs.legacyPackages."${system}";
+  in {
+    devShells."${system}".default = pkgs.mkShell {
+      packages = with pkgs; [
+        cargo
+        clippy
+        rustc
+        rustfmt
+
+        cargo-edit
+      ];
+    };
+  };
+}
+# vim: ts=2
+