Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Bob
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Bob
Commits
d3e7b5c7
Verified
Commit
d3e7b5c7
authored
1 year ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
chore: change flake.nix
parent
07ddaf7e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#23609
passed
1 year ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
flake.lock
+4
-4
4 additions, 4 deletions
flake.lock
flake.nix
+1
-9
1 addition, 9 deletions
flake.nix
with
5 additions
and
13 deletions
flake.lock
+
4
−
4
View file @
d3e7b5c7
...
...
@@ -2,16 +2,16 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 16
886790
45,
"narHash": "sha256-
t3xGEfYIwhaLTPU8FLtN/pLPytNeDwbLI6a7XFFBlGo
=",
"lastModified": 16
90558
45
9
,
"narHash": "sha256-
5W7y1l2cLYPkpJGNlAja7XW2X2o9rjf0O1mo9nxS9jQ
=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "
3c7487575d9445185249a159046cc02ff364bff8
",
"rev": "
48e82fe1b1c863ee26a33ce9bd39621d2ada0a33
",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-
unstable
",
"ref": "nixos-
23.05
",
"type": "indirect"
}
},
...
...
This diff is collapsed.
Click to expand it.
flake.nix
+
1
−
9
View file @
d3e7b5c7
...
...
@@ -2,7 +2,7 @@
description
=
"Bob: The HTML and HTML fragment builder"
;
# Nixpkgs / NixOS version to use.
inputs
.
nixpkgs
.
url
=
"nixpkgs/nixos-
unstable
"
;
inputs
.
nixpkgs
.
url
=
"nixpkgs/nixos-
23.05
"
;
outputs
=
{
self
,
nixpkgs
}:
let
...
...
@@ -10,14 +10,7 @@
# to work with older version of flakes
lastModifiedDate
=
self
.
lastModifiedDate
or
self
.
lastModified
or
"19700101"
;
# Generate a user-friendly version number.
#version = builtins.substring 0 8 lastModifiedDate;
rootPath
=
./.
;
releaseJson
=
builtins
.
fromJSON
(
builtins
.
readFile
"
${
rootPath
}
/release.json"
);
version
=
releaseJson
.
version
;
# System types to support.
supportedSystems
=
[
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
];
...
...
@@ -39,7 +32,6 @@
{
bob
=
pkgs
.
buildGoModule
{
pname
=
"bob"
;
inherit
version
;
# In 'nix develop', we don't need a copy of the source tree
# in the Nix store.
src
=
././source
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment