Replaced flake.nix with shell.nix.
Also, removed the dependency on unstable nixpkgs in order to get rustc 0.8.0. Instead, we're now pinned to nixos-24.11, which includes rustc 0.8.1.
OMOJDH5ZGYK5HDVRITOCUKZAI6SUMC33ZXXKCTM3I2Z4INM5AKKQC {inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";outputs =}:letsystem = "x86_64-linux";pkgs = import nixpkgs { inherit system; };in{formatter.${system} = nixpkgs.legacyPackages.${system}.nixpkgs-fmt;packages.${system}.default =pkgs.stdenv.mkDerivation rec{src = ./.;name = "last_pilots";inherit system;nativeBuildInputs = [pkgs.pkg-config];buildInputs = [pkgs.udev pkgs.alsa-lib pkgs.vulkan-loader# xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr # To use the x11 featurepkgs.libxkbcommon pkgs.wayland # To use the wayland feature];LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;buildPhase = ''cargo build --release'';installPhase = ''mkdir -p $out/bincp target/release/last_pilots $out/binchmod +x $out'';};};}upkgs.cargoupkgs.rust-analyzerupkgs.rustcupkgs.rustfmtupkgs.clippyupkgs = import unstable {inherit system; };{ self,nixpkgs,unstableinputs.unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
{"nodes": {"nixpkgs": {"locked": {"owner": "NixOS","repo": "nixpkgs","type": "github"},"original": {"owner": "NixOS","ref": "nixos-24.05","repo": "nixpkgs","type": "github"}},"root": {"inputs": {}}},"root": "root","version": 7}"nixpkgs": "nixpkgs","unstable": "unstable"}},"unstable": {"locked": {"lastModified": 1730200266,"narHash": "sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU=","owner": "NixOS","repo": "nixpkgs","rev": "807e9154dcb16384b1b765ebe9cd2bba2ac287fd","type": "github"},"original": {"owner": "NixOS","ref": "nixos-unstable","repo": "nixpkgs","type": "github""rev": "c0d0be00d4ecc4b51d2d6948e37466194c1e6c51","lastModified": 1720110830,"narHash": "sha256-E5dN9GDV4LwMEduhBLSkyEz51zM17XkWZ3/9luvNOPs=",
{ pkgs ? import (fetchTarball {url = "https://github.com/NixOS/nixpkgs/archive/nixos-24.11.tar.gz";sha256 = "1fj41pdp0lkrk4f7svkvfr32p0p0cr9icfbgml2hzayvi6iydqg7";}) {} }:with pkgs;mkShell rec {nativeBuildInputs = [pkg-configcargoclippyrust-analyzerrustfmt];buildInputs = [udev alsa-lib vulkan-loader# xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr # To use the x11 featurelibxkbcommon wayland # To use the wayland feature];LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;}