summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2024-05-22 08:49:29 +0200
committerMike Vink <mike@pionative.com>2024-05-22 08:49:29 +0200
commit51169f5f9ab178a4ddfe9dac461405a71c9c0f94 (patch)
tree0b6bb0c6c31ee27361b28e2c5993f362c1cc95e2 /flake.nix
parent77f19e4a89d8dec97930c5e237139734c5fb3365 (diff)
organise
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..814564c
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,40 @@
+{
+ inputs = {
+ nixpkgs.url = "nixpkgs";
+ nix-filter.url = "github:numtide/nix-filter";
+ flake-utils.url = "github:numtide/flake-utils";
+ nixpkgs-terraform-providers-bin.url = "github:nix-community/nixpkgs-terraform-providers-bin";
+ nixpkgs-terraform-providers-bin.inputs.nixpkgs.follows = "nixpkgs";
+ poetry2nix = {
+ url = "github:nix-community/poetry2nix";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+ };
+ outputs = {
+ self,
+ flake-utils,
+ ...
+ } @ inputs:
+ flake-utils.lib.eachDefaultSystem (system: let
+ pkgs =
+ import inputs.nixpkgs
+ {
+ # config.replaceStdenv = { pkgs, ... }: pkgs.gccMultiStdenv;
+ inherit system;
+ };
+ in {
+ # devShells.default = pkgs.mkShell {
+ # name = "multi-stdenv-gcc";
+ # nativeBuildInputs = with pkgs; [pkgsi686Linux.glibc];
+ # };
+ # devShells.default = pkgs.gccMultiStdenv {
+ # name = "gcc-test";
+ # };
+ devShells.default = pkgs.mkShell {
+ name = "dev";
+ buildInputs = with pkgs; [
+ bashInteractive
+ ];
+ };
+ });
+}