fix: nix flake smithay lock issues

* flake: use allowBuiltInFetchGit to prevent narHash reproducibility issues

using the builtin fetcher allows fetching git dependencies with only the ref and without storing the narHash for the fixed-output-derivation

* gitignore: add nix result symlinks
This commit is contained in:
Matthew Croughan
2023-05-06 18:37:46 +01:00
committed by GitHub
parent f3dc632ffc
commit 9123153bf3
2 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View File

@@ -6,3 +6,6 @@
**/*.rs.bk
.vscode/
# Ignore build results from Nix
*result*

View File

@@ -34,9 +34,7 @@
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"smithay-0.3.0" = "sha256-meEbYmSGQbaSbP5t55R1C/c9KNKvk20wDhPBCsT7kOY=";
};
allowBuiltinFetchGit = true;
};
postPatch = ''