mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
Merge pull request #351 from nix-community/nix-build-uncached
Use nix-build-uncached in CI
This commit is contained in:
commit
22d8700153
2 changed files with 28 additions and 4 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -10,7 +10,9 @@ jobs:
|
||||||
nixpkgs-fmt:
|
nixpkgs-fmt:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: cachix/install-nix-action@v12
|
- uses: cachix/install-nix-action@v13
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Check format
|
- name: Check format
|
||||||
run: ./check-fmt
|
run: ./check-fmt
|
||||||
|
@ -22,10 +24,12 @@ jobs:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
# os: [ubuntu-latest, macos-latest]
|
# os: [ubuntu-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: cachix/install-nix-action@v12
|
- uses: cachix/install-nix-action@v13
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: cachix/cachix-action@v8
|
- uses: cachix/cachix-action@v8
|
||||||
with:
|
with:
|
||||||
name: poetry2nix
|
name: poetry2nix
|
||||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||||
- run: nix-build --keep-going --show-trace tests/default.nix
|
- run: nix-shell -p nix-build-uncached --run 'nix-build-uncached --keep-going --show-trace tests/default.nix'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs }:
|
{ pkgs }:
|
||||||
self: super: {
|
self: super: {
|
||||||
|
|
||||||
alembic = super.alembic.overrideAttrs (
|
alembic = super.alembic.overridePythonAttrs (
|
||||||
_: {
|
_: {
|
||||||
src = pkgs.fetchgit {
|
src = pkgs.fetchgit {
|
||||||
url = "https://github.com/sqlalchemy/alembic.git";
|
url = "https://github.com/sqlalchemy/alembic.git";
|
||||||
|
@ -11,4 +11,24 @@ self: super: {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
colorama = super.colorama.overridePythonAttrs (
|
||||||
|
_: {
|
||||||
|
src = pkgs.fetchgit {
|
||||||
|
url = "https://github.com/tartley/colorama.git";
|
||||||
|
rev = "4321bbfda9aa190acdad05eb901d3b59439f0ec9";
|
||||||
|
sha256 = "1z88yl4r4g6yv29rw0q7zwylgx9zss360n3s9v07macvv50cb452";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
s3transfer = super.s3transfer.overridePythonAttrs (
|
||||||
|
_: {
|
||||||
|
src = pkgs.fetchgit {
|
||||||
|
url = "https://github.com/boto/s3transfer.git";
|
||||||
|
rev = "b2b6c44cb283e134f6bf9fecad7ff5ee28df793d";
|
||||||
|
sha256 = "1dzjzfxp9rkrh1s6ic22kwmr00hqrgz0da330vydlfpmcqgyp1fy";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue