added arch to devShell

This commit is contained in:
twoneis 2023-10-30 16:14:34 +01:00
parent f9a94125db
commit 94f6cc9b43

View file

@ -3,20 +3,16 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
utils = {
url = "github:numtide/flake-utils";
};
}; };
outputs = { self, nixpkgs, utils, ... }: outputs = { self, nixpkgs, ... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
}; };
in { in {
devShell = pkgs.mkShell rec { devShell.x86_64-linux = pkgs.mkShell rec {
name = "gcc-devel"; name = "gcc-devel";
packages = with pkgs; [ packages = with pkgs; [
cmake cmake