Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump cachix/install-nix-action from 18 to 22 #1096

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/basic-eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- uses: cachix/cachix-action@v12
with:
# This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-maintainers-sorted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
# pull_request_target checks out the base branch by default
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
with:
# explicitly enable sandbox
extra_nix_config: sandbox = true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
# pull_request_target checks out the base branch by default
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
with:
# nixpkgs commit is pinned so that it doesn't break
# editorconfig-checker 2.4.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-nixos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
# pull_request_target checks out the base branch by default
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
with:
# explicitly enable sandbox
extra_nix_config: sandbox = true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-nixpkgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
# pull_request_target checks out the base branch by default
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
with:
# explicitly enable sandbox
extra_nix_config: sandbox = true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-rendering.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
with:
# explicitly enable sandbox
extra_nix_config: sandbox = true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-terraform-providers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: setup
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/security/pam.nix
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ let
] ++ optional cfg.ttyAudit.openOnly "open_only"
++ optional (cfg.ttyAudit.enablePattern != null) "enable=${cfg.ttyAudit.enablePattern}"
++ optional (cfg.ttyAudit.disablePattern != null) "disable=${cfg.ttyAudit.disablePattern}"
)) +
) + "\n") +
optionalString config.services.homed.enable ''
session required ${config.systemd.package}/lib/security/pam_systemd_home.so
'' +
Expand Down
12 changes: 10 additions & 2 deletions nixos/modules/services/misc/gitlab.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let
prometheus_listen_addr = "localhost:9236"

[git]
bin_path = "${pkgs.git}/bin/git"
bin_path = "${cfg.packages.git}/bin/git"

[gitlab-shell]
dir = "${cfg.packages.gitlab-shell}"
Expand Down Expand Up @@ -257,6 +257,14 @@ in {
'';
};

packages.git = mkOption {
type = types.package;
default = pkgs.git;
defaultText = literalExpression "pkgs.git";
description = lib.mdDoc "Reference to the git package";
example = literalExpression "pkgs.git";
};

packages.gitlab = mkOption {
type = types.package;
default = pkgs.gitlab;
Expand Down Expand Up @@ -1124,7 +1132,7 @@ in {
}
];

environment.systemPackages = [ pkgs.git gitlab-rake gitlab-rails cfg.packages.gitlab-shell ];
environment.systemPackages = [ cfg.packages.git gitlab-rake gitlab-rails cfg.packages.gitlab-shell ];

systemd.targets.gitlab = {
description = "Common target for all GitLab services.";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/pyslurm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

buildPythonPackage rec {
pname = "pyslurm";
version = "22.5.1";
version = "23.2.0";
format = "setuptools";

disabled = pythonOlder "3.6";
Expand All @@ -17,7 +17,7 @@ buildPythonPackage rec {
repo = "pyslurm";
owner = "PySlurm";
rev = "refs/tags/v${version}";
hash = "sha256-sPZELCxe2e7/gUmRxvP2aOwqsbaR/x+0grHwuDdx0Dg=";
hash = "sha256-HIidm53pV8A7pwrl6k6/B3GpzXaIxKQiB3L4s7/dqHY=";
};

buildInputs = [ cython slurm ];
Expand Down