Ver código fonte

Merge pull request #2646 from Naalunth/nix-flake

Added a nix flake
pull/2648/head
Slavi Pantaleev 3 anos atrás
committed by GitHub
pai
commit
dbfc054304
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
3 arquivos alterados com 21 adições e 0 exclusões
  1. +1
    -0
      .envrc
  2. +1
    -0
      .gitignore
  3. +19
    -0
      flake.nix

+ 1
- 0
.envrc Ver arquivo

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

+ 1
- 0
.gitignore Ver arquivo

@@ -5,6 +5,7 @@
/roles/**/files/scratchpad
.DS_Store
.python-version
flake.lock

# ignore roles pulled by ansible-galaxy
/roles/galaxy/*


+ 19
- 0
flake.nix Ver arquivo

@@ -0,0 +1,19 @@
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";

outputs = { self, nixpkgs, ... }:
let
pkgs = import nixpkgs { system = "x86_64-linux"; };
in
{
devShell.x86_64-linux = pkgs.mkShell {
buildInputs = with pkgs; [
just
python311Packages.ansible-core
python311Packages.passlib
];
LC_ALL = "C.UTF-8";
LC_CTYPE = "C.UTF-8";
};
};
}

Carregando…
Cancelar
Salvar