Skip to content

Commit

Permalink
Interpolate repo url and remove update for nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
oscar-izval committed Jan 9, 2025
1 parent 2591867 commit b16ebe3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: main
ref: oi/fix-update-ci
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-24.11-small
nix_path: nixpkgs=channel:nixos-24.05-small
- name: Install devenv
run: |
nix profile install --accept-flake-config nixpkgs#devenv
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/updateVersions.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func withReleases(token string, f func(release *github.RepositoryRelease) error)
func computeHash(nurlPath string, tagName string) (string, error) {
hash, err := runNurl(
nurlPath,
"https://github.com/hashicorp/terraform",
fmt.Sprintf("https://github.com/%s/%s", owner,
tagName,
"--hash")
if err != nil {
Expand Down
34 changes: 25 additions & 9 deletions cli/devenv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1736426010,
"lastModified": 1732585607,
"owner": "cachix",
"repo": "devenv",
"rev": "1c384bc4be3ee571511fbbc6fdc94fe47d60f6cf",
"rev": "a520f05c40ebecaf5e17064b27e28ba8e70c49fb",
"type": "github"
},
"original": {
Expand All @@ -19,10 +19,10 @@
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1733328505,
"lastModified": 1732722421,
"owner": "edolstra",
"repo": "flake-compat",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"rev": "9ed2ac151eada2306ca8c418ebd97807bb08f6ac",
"type": "github"
},
"original": {
Expand Down Expand Up @@ -53,10 +53,10 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1733477122,
"lastModified": 1716977621,
"owner": "cachix",
"repo": "devenv-nixpkgs",
"rev": "7bd9e84d0452f6d2e63b6e6da29fe73fac951857",
"rev": "4267e705586473d3e5c8d50299e71503f16a6fb6",
"type": "github"
},
"original": {
Expand All @@ -66,19 +66,35 @@
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1732632634,
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6f6076c37180ea3a916f84928cf3a714c5207a30",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
]
],
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1735882644,
"lastModified": 1732021966,
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "a5a961387e75ae44cc20f0a57ae463da5e959656",
"rev": "3308484d1a443fc5bc92012435d79e80458fe43c",
"type": "github"
},
"original": {
Expand Down

0 comments on commit b16ebe3

Please sign in to comment.