Browse Source

Revert "Flake devShell (#1549)"

This reverts commit 7ef9761b10.
pull/1554/head
o2sh 9 months ago
parent
commit
446cf50f31
No known key found for this signature in database
GPG Key ID: D099D76E63AD9E67
  1. 4
      .editorconfig
  2. 1
      .envrc
  3. 1
      .gitignore
  4. 36
      flake.nix

4
.editorconfig

@ -18,10 +18,6 @@ indent_style = tab @@ -18,10 +18,6 @@ indent_style = tab
indent_style = space
indent_size = 2
[*.nix]
indent_style = space
indent_size = 2
[*.rb]
indent_style = space
indent_size = 2

1
.envrc

@ -1 +0,0 @@ @@ -1 +0,0 @@
use flake

1
.gitignore vendored

@ -3,7 +3,6 @@ @@ -3,7 +3,6 @@
/stage
/parts
/prime
.direnv
.gitignore.swp
.DS_Store
result

36
flake.nix

@ -1,36 +0,0 @@ @@ -1,36 +0,0 @@
{
description = "onefetch";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = {
self,
nixpkgs,
...
}: let
forAllSystems = fn: nixpkgs.lib.genAttrs [
"aarch64-darwin"
"aarch64-linux"
"i686-linux"
"x86_64-linux"
"x86_64-darwin"
] (system: fn nixpkgs.legacyPackages.${system});
in {
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
name = "onefetch";
packages = with pkgs; [
cargo
rustc
clippy
rustfmt
rust-analyzer
cmake
];
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
};
});
};
}
Loading…
Cancel
Save