소스 검색

Added a nix flake

pull/2646/head
Lilith Schier 2 년 전
부모
커밋
e323ab31d5
3개의 변경된 파일21개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      .envrc
  2. +1
    -0
      .gitignore
  3. +19
    -0
      flake.nix

+ 1
- 0
.envrc 파일 보기

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

+ 1
- 0
.gitignore 파일 보기

@@ -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 파일 보기

@@ -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";
};
};
}

불러오는 중...
취소
저장