Skip to content

Commit 35ad05a

Browse files
committed
NEXT-24538 - Update devenv 0.6
1 parent 573b2eb commit 35ad05a

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

.envrc

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
export NIXPKGS_ALLOW_UNFREE=1
1+
source_url "https://raw.githubusercontent.com/cachix/devenv/d1f7b48e35e6dee421cfd0f51481d17f77586997/direnvrc" "sha256-YBzqskFZxmNb3kYVoKD9ZixoPXJh1C9ZvTLGFRkauZ0="
22

3-
watch_file devenv.nix
4-
watch_file devenv.yaml
5-
watch_file devenv.lock
6-
eval "$(devenv print-dev-env)"
3+
use devenv

.github/workflows/01-cachix.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Cachix
22

33
on:
44
push:
5-
branches:
6-
- trunk
75
paths:
86
- devenv.nix
97
- devenv.yaml
@@ -24,7 +22,7 @@ jobs:
2422
uses: actions/checkout@v3
2523

2624
- name: Install Nix
27-
uses: cachix/install-nix-action@v18
25+
uses: cachix/install-nix-action@v20
2826
with:
2927
extra_nix_config: |
3028
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -41,7 +39,11 @@ jobs:
4139
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
4240

4341
- name: Install Devenv
44-
run: nix-env -if https://github.com/cachix/devenv/tarball/main
42+
run: nix-env -if https://github.com/cachix/devenv/tarball/latest
43+
44+
# Remove when Cachix 1.3 is released
45+
- name: Install Cachix Master
46+
run: nix-env -if https://github.com/cachix/cachix/tarball/master --substituters 'https://cache.nixos.org https://cachix.cachix.org' --trusted-public-keys 'cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY='
4547

4648
- name: Warmup cache
4749
run: cachix watch-exec shopware devenv shell php -v

devenv.lock

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"devenv": {
44
"locked": {
55
"dir": "src/modules",
6-
"lastModified": 1675875772,
7-
"narHash": "sha256-sYXHPZ4tsjdG+UXK0mYnABhiS/RuzHiV9uGOU9YakwE=",
6+
"lastModified": 1678184100,
7+
"narHash": "sha256-6R0LmBiS2E6CApdqqFpY2IBXDAg2RQ2JHBkJOLMxXsY=",
88
"owner": "cachix",
99
"repo": "devenv",
10-
"rev": "eac5eb12eb42765f5f252972dc876d1f96b03dfe",
10+
"rev": "b9e0ace80abd0ca5631ab5df7d6562ba9d8af50c",
1111
"type": "github"
1212
},
1313
"original": {
@@ -71,11 +71,11 @@
7171
},
7272
"nixpkgs": {
7373
"locked": {
74-
"lastModified": 1675698036,
75-
"narHash": "sha256-BgsQkQewdlQi8gapJN4phpxkI/FCE/2sORBaFcYbp/A=",
74+
"lastModified": 1678086707,
75+
"narHash": "sha256-y1uXdxzinIne4FW3TF7DCtxEB9gAbQ4qnbpYzhvkFm8=",
7676
"owner": "NixOS",
7777
"repo": "nixpkgs",
78-
"rev": "1046c7b92e908a1202c0f1ba3fc21d19e1cf1b62",
78+
"rev": "21eda9bc80bef824a037582b1e5a43ba74e92daa",
7979
"type": "github"
8080
},
8181
"original": {
@@ -112,11 +112,11 @@
112112
"nixpkgs-stable": "nixpkgs-stable"
113113
},
114114
"locked": {
115-
"lastModified": 1675688762,
116-
"narHash": "sha256-oit/SxMk0B380ASuztBGQLe8TttO1GJiXF8aZY9AYEc=",
115+
"lastModified": 1677832802,
116+
"narHash": "sha256-XQf+k6mBYTiQUjWRf/0fozy5InAs03O1b30adCpWeXs=",
117117
"owner": "cachix",
118118
"repo": "pre-commit-hooks.nix",
119-
"rev": "ab608394886fb04b8a5df3cb0bab2598400e3634",
119+
"rev": "382bee738397ca005206eefa36922cc10df8a21c",
120120
"type": "github"
121121
},
122122
"original": {

devenv.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
allowUnfree: true
12
inputs:
23
nixpkgs:
3-
url: github:NixOS/nixpkgs/nixpkgs-unstable
4+
url: github:NixOS/nixpkgs/nixpkgs-unstable

0 commit comments

Comments
 (0)